]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/msw/core_wrap.cpp
corrected Unicode conversion when replacing shared library extension with ".rsrc"
[wxWidgets.git] / wxPython / src / msw / 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 #define SWIG_PackData SWIG_Python_PackData
49 #define SWIG_UnpackData SWIG_Python_UnpackData
50
51 /***********************************************************************
52 * common.swg for wxPython
53 *
54 * Include only the function prototypes and such from SWIG's common.swg,
55 * but not the runtime functions themselves. This helps keep the
56 * wrapper files clean of unnecessary stuff that is in the libpy.c file
57 * anyway.
58 *
59 ************************************************************************/
60
61 #include <string.h>
62
63 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
64 # if defined(_MSC_VER) || defined(__GNUC__)
65 # if defined(STATIC_LINKED)
66 # define SWIGEXPORT(a) a
67 # define SWIGIMPORT(a) extern a
68 # else
69 # define SWIGEXPORT(a) __declspec(dllexport) a
70 # define SWIGIMPORT(a) extern a
71 # endif
72 # else
73 # if defined(__BORLANDC__)
74 # define SWIGEXPORT(a) a _export
75 # define SWIGIMPORT(a) a _export
76 # else
77 # define SWIGEXPORT(a) a
78 # define SWIGIMPORT(a) a
79 # endif
80 # endif
81 #else
82 # define SWIGEXPORT(a) a
83 # define SWIGIMPORT(a) a
84 #endif
85
86 #ifdef SWIG_GLOBAL
87 # define SWIGRUNTIME(a) SWIGEXPORT(a)
88 #else
89 # define SWIGRUNTIME(a) static a
90 #endif
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 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
118 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
119
120
121 #ifdef __cplusplus
122 }
123
124 #endif
125
126
127 /***********************************************************************
128 * pyrun.swg for wxPython
129 *
130 * Include only the function prototypes and such from SWIG's pyrun.swg,
131 * but not the runtime functions themselves. This helps keep the
132 * wrapper files clean of unnecessary stuff that is in the libpy.c file
133 * anyway.
134 *
135 ************************************************************************/
136
137 #include "Python.h"
138
139 #ifdef __cplusplus
140 extern "C" {
141 #endif
142
143 #define SWIG_PY_INT 1
144 #define SWIG_PY_FLOAT 2
145 #define SWIG_PY_STRING 3
146 #define SWIG_PY_POINTER 4
147 #define SWIG_PY_BINARY 5
148
149 /* Flags for pointer conversion */
150
151 #define SWIG_POINTER_EXCEPTION 0x1
152 #define SWIG_POINTER_DISOWN 0x2
153
154 /* Exception handling in wrappers */
155 #define SWIG_fail goto fail
156
157 /* Constant information structure */
158 typedef struct swig_const_info {
159 int type;
160 char *name;
161 long lvalue;
162 double dvalue;
163 void *pvalue;
164 swig_type_info **ptype;
165 } swig_const_info;
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_NewPackedObj(ptr, sz, type) \
183 SWIG_Python_NewPackedObj(ptr, sz, type)
184 #define SWIG_InstallConstants(d, constants) \
185 SWIG_Python_InstallConstants(d, constants)
186
187
188 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject *, void **, swig_type_info *, int);
189 SWIGIMPORT(PyObject *) SWIG_Python_NewPointerObj(void *, swig_type_info *,int own);
190 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject *, swig_type_info *, int, int);
191 SWIGIMPORT(PyObject *) SWIG_Python_newvarlink(void);
192 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
193 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject *, void *, int sz, swig_type_info *, int);
194 SWIGIMPORT(PyObject *) SWIG_Python_NewPackedObj(void *, int sz, swig_type_info *);
195 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]);
196
197
198
199 /* Contract support */
200
201 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
202
203 #ifdef __cplusplus
204 }
205 #endif
206
207
208
209 /* -------- TYPES TABLE (BEGIN) -------- */
210
211 #define SWIGTYPE_p_wxLayoutConstraints swig_types[0]
212 #define SWIGTYPE_p_wxRealPoint swig_types[1]
213 #define SWIGTYPE_p_wxSizerItem swig_types[2]
214 #define SWIGTYPE_p_wxGBSizerItem swig_types[3]
215 #define SWIGTYPE_p_wxScrollEvent swig_types[4]
216 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[5]
217 #define SWIGTYPE_p_wxSizer swig_types[6]
218 #define SWIGTYPE_p_wxBoxSizer swig_types[7]
219 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[8]
220 #define SWIGTYPE_p_wxGridBagSizer swig_types[9]
221 #define SWIGTYPE_p_wxAcceleratorEntry swig_types[10]
222 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[11]
223 #define SWIGTYPE_p_wxMenu swig_types[12]
224 #define SWIGTYPE_p_wxEvent swig_types[13]
225 #define SWIGTYPE_p_wxGridSizer swig_types[14]
226 #define SWIGTYPE_p_wxFlexGridSizer swig_types[15]
227 #define SWIGTYPE_p_wxInitDialogEvent swig_types[16]
228 #define SWIGTYPE_p_wxItemContainer swig_types[17]
229 #define SWIGTYPE_p_wxNcPaintEvent swig_types[18]
230 #define SWIGTYPE_p_wxPaintEvent swig_types[19]
231 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[20]
232 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[21]
233 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[22]
234 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[23]
235 #define SWIGTYPE_p_wxControl swig_types[24]
236 #define SWIGTYPE_p_wxFont swig_types[25]
237 #define SWIGTYPE_p_wxMenuBarBase swig_types[26]
238 #define SWIGTYPE_p_wxSetCursorEvent swig_types[27]
239 #define SWIGTYPE_p_wxFSFile swig_types[28]
240 #define SWIGTYPE_p_wxCaret swig_types[29]
241 #define SWIGTYPE_p_wxRegion swig_types[30]
242 #define SWIGTYPE_p_wxPoint2D swig_types[31]
243 #define SWIGTYPE_p_int swig_types[32]
244 #define SWIGTYPE_p_wxSize swig_types[33]
245 #define SWIGTYPE_p_wxDC swig_types[34]
246 #define SWIGTYPE_p_wxPySizer swig_types[35]
247 #define SWIGTYPE_p_wxNotifyEvent swig_types[36]
248 #define SWIGTYPE_p_wxPyEvent swig_types[37]
249 #define SWIGTYPE_p_wxPropagationDisabler swig_types[38]
250 #define SWIGTYPE_p_wxAppTraits swig_types[39]
251 #define SWIGTYPE_p_wxArrayString swig_types[40]
252 #define SWIGTYPE_p_wxShowEvent swig_types[41]
253 #define SWIGTYPE_p_wxToolTip swig_types[42]
254 #define SWIGTYPE_p_wxMaximizeEvent swig_types[43]
255 #define SWIGTYPE_p_wxIconizeEvent swig_types[44]
256 #define SWIGTYPE_p_wxActivateEvent swig_types[45]
257 #define SWIGTYPE_p_wxMoveEvent swig_types[46]
258 #define SWIGTYPE_p_wxSizeEvent swig_types[47]
259 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[48]
260 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[49]
261 #define SWIGTYPE_p_wxIdleEvent swig_types[50]
262 #define SWIGTYPE_p_wxMenuItem swig_types[51]
263 #define SWIGTYPE_p_wxStaticBox swig_types[52]
264 #define SWIGTYPE_p_long swig_types[53]
265 #define SWIGTYPE_p_wxTIFFHandler swig_types[54]
266 #define SWIGTYPE_p_wxXPMHandler swig_types[55]
267 #define SWIGTYPE_p_wxPNMHandler swig_types[56]
268 #define SWIGTYPE_p_wxJPEGHandler swig_types[57]
269 #define SWIGTYPE_p_wxPCXHandler swig_types[58]
270 #define SWIGTYPE_p_wxGIFHandler swig_types[59]
271 #define SWIGTYPE_p_wxPNGHandler swig_types[60]
272 #define SWIGTYPE_p_wxANIHandler swig_types[61]
273 #define SWIGTYPE_p_wxMemoryFSHandler swig_types[62]
274 #define SWIGTYPE_p_wxEvtHandler swig_types[63]
275 #define SWIGTYPE_p_wxCURHandler swig_types[64]
276 #define SWIGTYPE_p_wxICOHandler swig_types[65]
277 #define SWIGTYPE_p_wxBMPHandler swig_types[66]
278 #define SWIGTYPE_p_wxImageHandler swig_types[67]
279 #define SWIGTYPE_p_wxFileSystemHandler swig_types[68]
280 #define SWIGTYPE_p_wxPyFileSystemHandler swig_types[69]
281 #define SWIGTYPE_p_wxInternetFSHandler swig_types[70]
282 #define SWIGTYPE_p_wxZipFSHandler swig_types[71]
283 #define SWIGTYPE_p_wxRect swig_types[72]
284 #define SWIGTYPE_p_wxGBSpan swig_types[73]
285 #define SWIGTYPE_p_wxPropagateOnce swig_types[74]
286 #define SWIGTYPE_p_wxAcceleratorTable swig_types[75]
287 #define SWIGTYPE_p_wxGBPosition swig_types[76]
288 #define SWIGTYPE_p_wxImage swig_types[77]
289 #define SWIGTYPE_p_wxFrame swig_types[78]
290 #define SWIGTYPE_p_wxScrollWinEvent swig_types[79]
291 #define SWIGTYPE_p_wxImageHistogram swig_types[80]
292 #define SWIGTYPE_p_byte swig_types[81]
293 #define SWIGTYPE_p_wxPoint swig_types[82]
294 #define SWIGTYPE_p_wxCursor swig_types[83]
295 #define SWIGTYPE_p_wxObject swig_types[84]
296 #define SWIGTYPE_p_wxPyInputStream swig_types[85]
297 #define SWIGTYPE_p_wxOutputStream swig_types[86]
298 #define SWIGTYPE_p_wxInputStream swig_types[87]
299 #define SWIGTYPE_p_wxDateTime swig_types[88]
300 #define SWIGTYPE_p_wxKeyEvent swig_types[89]
301 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[90]
302 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[91]
303 #define SWIGTYPE_p_wxWindow swig_types[92]
304 #define SWIGTYPE_p_wxMenuBar swig_types[93]
305 #define SWIGTYPE_p_wxString swig_types[94]
306 #define SWIGTYPE_p_wxFileSystem swig_types[95]
307 #define SWIGTYPE_p_wxBitmap swig_types[96]
308 #define SWIGTYPE_p_wxMenuEvent swig_types[97]
309 #define SWIGTYPE_p_wxContextMenuEvent swig_types[98]
310 #define SWIGTYPE_p_unsigned_char swig_types[99]
311 #define SWIGTYPE_p_wxCloseEvent swig_types[100]
312 #define SWIGTYPE_p_wxEraseEvent swig_types[101]
313 #define SWIGTYPE_p_wxMouseEvent swig_types[102]
314 #define SWIGTYPE_p_wxPyApp swig_types[103]
315 #define SWIGTYPE_p_wxCommandEvent swig_types[104]
316 #define SWIGTYPE_p_wxPyCommandEvent swig_types[105]
317 #define SWIGTYPE_p_wxPyDropTarget swig_types[106]
318 #define SWIGTYPE_p_wxChildFocusEvent swig_types[107]
319 #define SWIGTYPE_p_wxFocusEvent swig_types[108]
320 #define SWIGTYPE_p_wxDropFilesEvent swig_types[109]
321 #define SWIGTYPE_p_wxControlWithItems swig_types[110]
322 #define SWIGTYPE_p_wxColour swig_types[111]
323 #define SWIGTYPE_p_wxValidator swig_types[112]
324 #define SWIGTYPE_p_wxPyValidator swig_types[113]
325 static swig_type_info *swig_types[115];
326
327 /* -------- TYPES TABLE (END) -------- */
328
329
330 /*-----------------------------------------------
331 @(target):= _core.so
332 ------------------------------------------------*/
333 #define SWIG_init init_core
334
335 #define SWIG_name "_core"
336
337 #include "wx/wxPython/wxPython_int.h"
338 #include "wx/wxPython/pyclasses.h"
339
340
341 #ifndef wxPyUSE_EXPORT
342 // Helper functions for dealing with SWIG objects and such. These are
343 // located here so they know about the SWIG types and functions declared
344 // in the wrapper code.
345
346 #include <wx/hashmap.h>
347 WX_DECLARE_STRING_HASH_MAP( swig_type_info*, wxPyTypeInfoHashMap );
348
349
350 // Maintains a hashmap of className to swig_type_info pointers. Given the
351 // name of a class either looks up the type info in the cache, or scans the
352 // SWIG tables for it.
353 extern PyObject* wxPyPtrTypeMap;
354 static
355 swig_type_info* wxPyFindSwigType(const wxChar* className) {
356
357 static wxPyTypeInfoHashMap* typeInfoCache = NULL;
358
359 if (typeInfoCache == NULL)
360 typeInfoCache = new wxPyTypeInfoHashMap;
361
362 wxString name(className);
363 swig_type_info* swigType = (*typeInfoCache)[name];
364
365 if (! swigType) {
366 // it wasn't in the cache, so look it up from SWIG
367 name.Append(wxT(" *"));
368 swigType = SWIG_Python_TypeQuery(name.mb_str());
369
370 // if it still wasn't found, try looking for a mapped name
371 if (!swigType) {
372 PyObject* item;
373 name = className;
374
375 if ((item = PyDict_GetItemString(wxPyPtrTypeMap,
376 (char*)(const char*)name.mbc_str())) != NULL) {
377 name = wxString(PyString_AsString(item), *wxConvCurrent);
378 name.Append(wxT(" *"));
379 swigType = SWIG_Python_TypeQuery(name.mb_str());
380 }
381 }
382 if (swigType) {
383 // and add it to the map if found
384 (*typeInfoCache)[className] = swigType;
385 }
386 }
387 return swigType;
388 }
389
390
391 // Check if a class name is a type known to SWIG
392 bool wxPyCheckSwigType(const wxChar* className) {
393
394 swig_type_info* swigType = wxPyFindSwigType(className);
395 return swigType != NULL;
396 }
397
398
399 // Given a pointer to a C++ object and a class name, construct a Python proxy
400 // object for it.
401 PyObject* wxPyConstructObject(void* ptr,
402 const wxChar* className,
403 int setThisOwn) {
404
405 swig_type_info* swigType = wxPyFindSwigType(className);
406 wxCHECK_MSG(swigType != NULL, NULL, wxT("Unknown type in wxPyConstructObject"));
407
408 return SWIG_Python_NewPointerObj(ptr, swigType, setThisOwn);
409 }
410
411
412 // Extract a pointer to the wrapped C++ object from a Python proxy object.
413 // Ensures that the proxy object is of the specified (or derived) type. If
414 // not able to perform the conversion then a Python exception is set and the
415 // error should be handled properly in the caller. Returns True on success.
416 bool wxPyConvertSwigPtr(PyObject* obj, void **ptr,
417 const wxChar* className) {
418
419 swig_type_info* swigType = wxPyFindSwigType(className);
420 wxCHECK_MSG(swigType != NULL, False, wxT("Unknown type in wxPyConvertSwigPtr"));
421
422 return SWIG_Python_ConvertPtr(obj, ptr, swigType, SWIG_POINTER_EXCEPTION) != -1;
423 }
424
425
426 // Make a SWIGified pointer object suitable for a .this attribute
427 PyObject* wxPyMakeSwigPtr(void* ptr, const wxChar* className) {
428
429 PyObject* robj = NULL;
430
431 swig_type_info* swigType = wxPyFindSwigType(className);
432 wxCHECK_MSG(swigType != NULL, NULL, wxT("Unknown type in wxPyConvertSwigPtr"));
433
434 #ifdef SWIG_COBJECT_TYPES
435 robj = PyCObject_FromVoidPtrAndDesc((void *) ptr, (char *) swigType->name, NULL);
436 #else
437 {
438 char result[1024];
439 char *r = result;
440 *(r++) = '_';
441 r = SWIG_Python_PackData(r, &ptr, sizeof(void *));
442 strcpy(r, swigType->name);
443 robj = PyString_FromString(result);
444 }
445 #endif
446
447 return robj;
448 }
449
450
451
452
453 // Export a C API in a struct. Other modules will be able to load this from
454 // the wx.core module and will then have safe access to these functions, even if
455 // they are located in another shared library.
456 static wxPyCoreAPI API = {
457
458 (p_SWIG_Python_TypeRegister_t)SWIG_Python_TypeRegister,
459 (p_SWIG_Python_TypeCheck_t)SWIG_Python_TypeCheck,
460 (p_SWIG_Python_TypeCast_t)SWIG_Python_TypeCast,
461 (p_SWIG_Python_TypeDynamicCast_t)SWIG_Python_TypeDynamicCast,
462 (p_SWIG_Python_TypeName_t)SWIG_Python_TypeName,
463 (p_SWIG_Python_TypeQuery_t)SWIG_Python_TypeQuery,
464 (p_SWIG_Python_TypeClientData_t)SWIG_Python_TypeClientData,
465 (p_SWIG_Python_newvarlink_t)SWIG_Python_newvarlink,
466 (p_SWIG_Python_addvarlink_t)SWIG_Python_addvarlink,
467 (p_SWIG_Python_ConvertPtr_t)SWIG_Python_ConvertPtr,
468 (p_SWIG_Python_ConvertPacked_t)SWIG_Python_ConvertPacked,
469 (p_SWIG_Python_PackData_t)SWIG_Python_PackData,
470 (p_SWIG_Python_UnpackData_t)SWIG_Python_UnpackData,
471 (p_SWIG_Python_NewPointerObj_t)SWIG_Python_NewPointerObj,
472 (p_SWIG_Python_NewPackedObj_t)SWIG_Python_NewPackedObj,
473 (p_SWIG_Python_InstallConstants_t)SWIG_Python_InstallConstants,
474 (p_SWIG_Python_MustGetPtr_t)SWIG_Python_MustGetPtr,
475
476 wxPyCheckSwigType,
477 wxPyConstructObject,
478 wxPyConvertSwigPtr,
479 wxPyMakeSwigPtr,
480
481 wxPyBeginAllowThreads,
482 wxPyEndAllowThreads,
483 wxPyBeginBlockThreads,
484 wxPyEndBlockThreads,
485
486 wxPy_ConvertList,
487
488 wxString_in_helper,
489 Py2wxString,
490 wx2PyString,
491
492 byte_LIST_helper,
493 int_LIST_helper,
494 long_LIST_helper,
495 string_LIST_helper,
496 wxPoint_LIST_helper,
497 wxBitmap_LIST_helper,
498 wxString_LIST_helper,
499 wxAcceleratorEntry_LIST_helper,
500
501 wxSize_helper,
502 wxPoint_helper,
503 wxRealPoint_helper,
504 wxRect_helper,
505 wxColour_helper,
506 wxPoint2D_helper,
507
508 wxPySimple_typecheck,
509 wxColour_typecheck,
510
511 wxPyCBH_setCallbackInfo,
512 wxPyCBH_findCallback,
513 wxPyCBH_callCallback,
514 wxPyCBH_callCallbackObj,
515 wxPyCBH_delete,
516
517 wxPyMake_wxObject,
518 wxPyMake_wxSizer,
519 wxPyPtrTypeMap_Add,
520 wxPy2int_seq_helper,
521 wxPy4int_seq_helper,
522 wxArrayString2PyList_helper,
523 wxArrayInt2PyList_helper,
524
525 wxPyClientData_dtor,
526 wxPyUserData_dtor,
527 wxPyOORClientData_dtor,
528
529 wxPyCBInputStream_create,
530
531 wxPyInstance_Check,
532 wxPySwigInstance_Check
533
534 };
535
536 #endif
537
538
539 DECLARE_DEF_STRING(EmptyString);
540 // DECLARE_DEF_STRING(PanelNameStr);
541
542
543 #if ! wxUSE_HOTKEY
544 enum wxHotkeyModifier
545 {
546 wxMOD_NONE = 0,
547 wxMOD_ALT = 1,
548 wxMOD_CONTROL = 2,
549 wxMOD_SHIFT = 4,
550 wxMOD_WIN = 8
551 };
552 #define wxEVT_HOTKEY 9999
553 #endif
554
555 wxString wxObject_GetClassName(wxObject *self){
556 return self->GetClassInfo()->GetClassName();
557 }
558 void wxObject_Destroy(wxObject *self){
559 delete self;
560 }
561
562 #ifndef __WXMAC__
563 #define wxCURSOR_COPY_ARROW wxCURSOR_ARROW
564 #endif
565
566 PyObject *wxSize_Get(wxSize *self){
567 wxPyBeginBlockThreads();
568 PyObject* tup = PyTuple_New(2);
569 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(self->x));
570 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(self->y));
571 wxPyEndBlockThreads();
572 return tup;
573 }
574 void wxRealPoint_Set(wxRealPoint *self,double x,double y){
575 self->x = x;
576 self->y = y;
577 }
578 PyObject *wxRealPoint_Get(wxRealPoint *self){
579 wxPyBeginBlockThreads();
580 PyObject* tup = PyTuple_New(2);
581 PyTuple_SET_ITEM(tup, 0, PyFloat_FromDouble(self->x));
582 PyTuple_SET_ITEM(tup, 1, PyFloat_FromDouble(self->y));
583 wxPyEndBlockThreads();
584 return tup;
585 }
586 void wxPoint_Set(wxPoint *self,long x,long y){
587 self->x = x;
588 self->y = y;
589 }
590 PyObject *wxPoint_Get(wxPoint *self){
591 wxPyBeginBlockThreads();
592 PyObject* tup = PyTuple_New(2);
593 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(self->x));
594 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(self->y));
595 wxPyEndBlockThreads();
596 return tup;
597 }
598 void wxRect_Set(wxRect *self,int x,int y,int width,int height){
599 self->x = x;
600 self->y = y;
601 self->width = width;
602 self->height = height;
603 }
604 PyObject *wxRect_Get(wxRect *self){
605 wxPyBeginBlockThreads();
606 PyObject* tup = PyTuple_New(4);
607 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(self->x));
608 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(self->y));
609 PyTuple_SET_ITEM(tup, 2, PyInt_FromLong(self->width));
610 PyTuple_SET_ITEM(tup, 3, PyInt_FromLong(self->height));
611 wxPyEndBlockThreads();
612 return tup;
613 }
614
615 PyObject* wxIntersectRect(wxRect* r1, wxRect* r2) {
616 wxRegion reg1(*r1);
617 wxRegion reg2(*r2);
618 wxRect dest(0,0,0,0);
619 PyObject* obj;
620
621 reg1.Intersect(reg2);
622 dest = reg1.GetBox();
623
624 if (dest != wxRect(0,0,0,0)) {
625 wxPyBeginBlockThreads();
626 wxRect* newRect = new wxRect(dest);
627 obj = wxPyConstructObject((void*)newRect, wxT("wxRect"), True);
628 wxPyEndBlockThreads();
629 return obj;
630 }
631 Py_INCREF(Py_None);
632 return Py_None;
633 }
634
635
636 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
637 PyObject* o2;
638 PyObject* o3;
639
640 if (!target) {
641 target = o;
642 } else if (target == Py_None) {
643 Py_DECREF(Py_None);
644 target = o;
645 } else {
646 if (!PyTuple_Check(target)) {
647 o2 = target;
648 target = PyTuple_New(1);
649 PyTuple_SetItem(target, 0, o2);
650 }
651 o3 = PyTuple_New(1);
652 PyTuple_SetItem(o3, 0, o);
653
654 o2 = target;
655 target = PySequence_Concat(o2, o3);
656 Py_DECREF(o2);
657 Py_DECREF(o3);
658 }
659 return target;
660 }
661
662 void wxPoint2D_Set(wxPoint2D *self,double x,double y){
663 self->m_x = x;
664 self->m_y = y;
665 }
666 PyObject *wxPoint2D_Get(wxPoint2D *self){
667 wxPyBeginBlockThreads();
668 PyObject* tup = PyTuple_New(2);
669 PyTuple_SET_ITEM(tup, 0, PyFloat_FromDouble(self->m_x));
670 PyTuple_SET_ITEM(tup, 1, PyFloat_FromDouble(self->m_y));
671 wxPyEndBlockThreads();
672 return tup;
673 }
674
675 #include "wx/wxPython/pyistream.h"
676
677 wxPyInputStream *new_wxPyInputStream(PyObject *p){
678 wxInputStream* wxis = wxPyCBInputStream::create(p);
679 if (wxis)
680 return new wxPyInputStream(wxis);
681 else
682 return NULL;
683 }
684 void wxOutputStream_write(wxOutputStream *self,PyObject *obj){
685 // We use only strings for the streams, not unicode
686 PyObject* str = PyObject_Str(obj);
687 if (! str) {
688 PyErr_SetString(PyExc_TypeError, "Unable to convert to string");
689 return;
690 }
691 self->Write(PyString_AS_STRING(str),
692 PyString_GET_SIZE(str));
693 Py_DECREF(str);
694 }
695
696 #include "wx/wxPython/pyistream.h"
697
698
699 class wxPyFileSystemHandler : public wxFileSystemHandler
700 {
701 public:
702 wxPyFileSystemHandler() : wxFileSystemHandler() {}
703
704 DEC_PYCALLBACK_BOOL_STRING_pure(CanOpen);
705 DEC_PYCALLBACK_FSF_FSSTRING_pure(OpenFile);
706 DEC_PYCALLBACK_STRING_STRINGINT_pure(FindFirst);
707 DEC_PYCALLBACK_STRING__pure(FindNext);
708
709 wxString GetProtocol(const wxString& location) {
710 return wxFileSystemHandler::GetProtocol(location);
711 }
712
713 wxString GetLeftLocation(const wxString& location) {
714 return wxFileSystemHandler::GetLeftLocation(location);
715 }
716
717 wxString GetAnchor(const wxString& location) {
718 return wxFileSystemHandler::GetAnchor(location);
719 }
720
721 wxString GetRightLocation(const wxString& location) {
722 return wxFileSystemHandler::GetRightLocation(location);
723 }
724
725 wxString GetMimeTypeFromExt(const wxString& location) {
726 return wxFileSystemHandler::GetMimeTypeFromExt(location);
727 }
728
729 PYPRIVATE;
730 };
731
732
733 IMP_PYCALLBACK_BOOL_STRING_pure(wxPyFileSystemHandler, wxFileSystemHandler, CanOpen);
734 IMP_PYCALLBACK_FSF_FSSTRING_pure(wxPyFileSystemHandler, wxFileSystemHandler, OpenFile);
735 IMP_PYCALLBACK_STRING_STRINGINT_pure(wxPyFileSystemHandler, wxFileSystemHandler, FindFirst);
736 IMP_PYCALLBACK_STRING__pure(wxPyFileSystemHandler, wxFileSystemHandler, FindNext);
737
738
739 wxString wxFileSystem_URLToFileName(const wxString& url) {
740 wxFileName fname = wxFileSystem::URLToFileName(url);
741 return fname.GetFullPath();
742 }
743
744
745 void __wxMemoryFSHandler_AddFile_wxImage(const wxString& filename,
746 wxImage& image,
747 long type) {
748 wxMemoryFSHandler::AddFile(filename, image, type);
749 }
750
751 void __wxMemoryFSHandler_AddFile_wxBitmap(const wxString& filename,
752 const wxBitmap& bitmap,
753 long type) {
754 wxMemoryFSHandler::AddFile(filename, bitmap, type);
755 }
756
757 void __wxMemoryFSHandler_AddFile_Data(const wxString& filename,
758 PyObject* data) {
759 wxMemoryFSHandler::AddFile(filename,
760 // TODO: Verify data type
761 (void*)PyString_AsString(data),
762 (size_t)PyString_Size(data));
763 }
764
765
766 #include "wx/wxPython/pyistream.h"
767
768 wxImage *new_wxImage(int width,int height,bool clear){
769 if (width > 0 && height > 0)
770 return new wxImage(width, height, clear);
771 else
772 return new wxImage;
773 }
774 wxImage *new_wxImage(wxBitmap const &bitmap){
775 return new wxImage(bitmap.ConvertToImage());
776 }
777 wxImage *new_wxImage(int width,int height,unsigned char *data){
778 // Copy the source data so the wxImage can clean it up later
779 unsigned char* copy = (unsigned char*)malloc(width*height*3);
780 if (copy == NULL) {
781 PyErr_NoMemory();
782 return NULL;
783 }
784 memcpy(copy, data, width*height*3);
785 return new wxImage(width, height, copy, False);
786 }
787 PyObject *wxImage_GetData(wxImage *self){
788 unsigned char* data = self->GetData();
789 int len = self->GetWidth() * self->GetHeight() * 3;
790 PyObject* rv;
791 wxPyBLOCK_THREADS( rv = PyString_FromStringAndSize((char*)data, len));
792 return rv;
793 }
794 void wxImage_SetData(wxImage *self,PyObject *data){
795 unsigned char* dataPtr;
796
797 if (! PyString_Check(data)) {
798 PyErr_SetString(PyExc_TypeError, "Expected string object");
799 return /* NULL */ ;
800 }
801
802 size_t len = self->GetWidth() * self->GetHeight() * 3;
803 dataPtr = (unsigned char*) malloc(len);
804 wxPyBLOCK_THREADS( memcpy(dataPtr, PyString_AsString(data), len) );
805 self->SetData(dataPtr);
806 // wxImage takes ownership of dataPtr...
807 }
808 PyObject *wxImage_GetDataBuffer(wxImage *self){
809 unsigned char* data = self->GetData();
810 int len = self->GetWidth() * self->GetHeight() * 3;
811 PyObject* rv;
812 wxPyBLOCK_THREADS( rv = PyBuffer_FromReadWriteMemory(data, len) );
813 return rv;
814 }
815 void wxImage_SetDataBuffer(wxImage *self,PyObject *data){
816 unsigned char* buffer;
817 int size;
818
819 wxPyBeginBlockThreads();
820 if (!PyArg_Parse(data, "t#", &buffer, &size))
821 goto done;
822
823 if (size != self->GetWidth() * self->GetHeight() * 3) {
824 PyErr_SetString(PyExc_TypeError, "Incorrect buffer size");
825 goto done;
826 }
827 self->SetData(buffer);
828 done:
829 wxPyEndBlockThreads();
830 }
831 PyObject *wxImage_GetAlphaData(wxImage *self){
832 unsigned char* data = self->GetAlpha();
833 if (! data) {
834 RETURN_NONE();
835 } else {
836 int len = self->GetWidth() * self->GetHeight();
837 PyObject* rv;
838 wxPyBLOCK_THREADS( rv = PyString_FromStringAndSize((char*)data, len) );
839 return rv;
840 }
841 }
842 void wxImage_SetAlphaData(wxImage *self,PyObject *data){
843 unsigned char* dataPtr;
844
845 if (! PyString_Check(data)) {
846 PyErr_SetString(PyExc_TypeError, "Expected string object");
847 return /* NULL */ ;
848 }
849
850 size_t len = self->GetWidth() * self->GetHeight();
851 dataPtr = (unsigned char*) malloc(len);
852 wxPyBLOCK_THREADS( memcpy(dataPtr, PyString_AsString(data), len) );
853 self->SetAlpha(dataPtr);
854 // wxImage takes ownership of dataPtr...
855 }
856 PyObject *wxImage_GetAlphaBuffer(wxImage *self){
857 unsigned char* data = self->GetAlpha();
858 int len = self->GetWidth() * self->GetHeight();
859 PyObject* rv;
860 wxPyBLOCK_THREADS( rv = PyBuffer_FromReadWriteMemory(data, len) );
861 return rv;
862 }
863 void wxImage_SetAlphaBuffer(wxImage *self,PyObject *data){
864 unsigned char* buffer;
865 int size;
866
867 wxPyBeginBlockThreads();
868 if (!PyArg_Parse(data, "t#", &buffer, &size))
869 goto done;
870
871 if (size != self->GetWidth() * self->GetHeight()) {
872 PyErr_SetString(PyExc_TypeError, "Incorrect buffer size");
873 goto done;
874 }
875 self->SetAlpha(buffer);
876 done:
877 wxPyEndBlockThreads();
878 }
879 wxBitmap wxImage_ConvertToBitmap(wxImage *self){
880 wxBitmap bitmap(*self);
881 return bitmap;
882 }
883 wxBitmap wxImage_ConvertToMonoBitmap(wxImage *self,unsigned char red,unsigned char green,unsigned char blue){
884 wxImage mono = self->ConvertToMono( red, green, blue );
885 wxBitmap bitmap( mono, 1 );
886 return bitmap;
887 }
888 static const wxString wxPyIMAGE_OPTION_BMP_FORMAT(wxIMAGE_OPTION_BMP_FORMAT);
889 static const wxString wxPyIMAGE_OPTION_CUR_HOTSPOT_X(wxIMAGE_OPTION_CUR_HOTSPOT_X);
890 static const wxString wxPyIMAGE_OPTION_CUR_HOTSPOT_Y(wxIMAGE_OPTION_CUR_HOTSPOT_Y);
891 static const wxString wxPyIMAGE_OPTION_RESOLUTION(wxIMAGE_OPTION_RESOLUTION);
892 static const wxString wxPyIMAGE_OPTION_RESOLUTIONUNIT(wxIMAGE_OPTION_RESOLUTIONUNIT);
893 void wxEvtHandler_Connect(wxEvtHandler *self,int id,int lastId,int eventType,PyObject *func){
894 if (PyCallable_Check(func)) {
895 self->Connect(id, lastId, eventType,
896 (wxObjectEventFunction) &wxPyCallback::EventThunker,
897 new wxPyCallback(func));
898 }
899 else if (func == Py_None) {
900 self->Disconnect(id, lastId, eventType,
901 (wxObjectEventFunction)
902 &wxPyCallback::EventThunker);
903 }
904 else {
905 PyErr_SetString(PyExc_TypeError, "Expected callable object or None.");
906 }
907 }
908 bool wxEvtHandler_Disconnect(wxEvtHandler *self,int id,int lastId,wxEventType eventType){
909 return self->Disconnect(id, lastId, eventType,
910 (wxObjectEventFunction)
911 &wxPyCallback::EventThunker);
912 }
913 void wxEvtHandler__setOORInfo(wxEvtHandler *self,PyObject *_self){
914 if (_self && _self != Py_None) {
915 self->SetClientObject(new wxPyOORClientData(_self));
916 }
917 else {
918 wxPyOORClientData* data = (wxPyOORClientData*)self->GetClientObject();
919 if (data) {
920 self->SetClientObject(NULL); // This will delete it too
921 }
922 }
923 }
924 int wxKeyEvent_GetUniChar(wxKeyEvent *self){
925 #if wxUSE_UNICODE
926 return self->m_uniChar;
927 #else
928 return 0;
929 #endif
930 }
931 void wxSizeEvent_SetSize(wxSizeEvent *self,wxSize size){
932 self->m_size = size;
933 }
934 void wxMoveEvent_SetPosition(wxMoveEvent *self,wxPoint pos){
935 self->m_pos = pos;
936 }
937 PyObject *wxDropFilesEvent_GetFiles(wxDropFilesEvent *self){
938 int count = self->GetNumberOfFiles();
939 wxString* files = self->GetFiles();
940 PyObject* list = PyList_New(count);
941
942 if (!list) {
943 PyErr_SetString(PyExc_MemoryError, "Can't allocate list of files!");
944 return NULL;
945 }
946
947 for (int i=0; i<count; i++) {
948 PyList_SetItem(list, i, wx2PyString(files[i]));
949 }
950 return list;
951 }
952
953
954 wxPyApp *new_wxPyApp(){
955 wxPythonApp = new wxPyApp();
956 return wxPythonApp;
957 }
958
959 void wxApp_CleanUp() {
960 __wxPyCleanup();
961 }
962
963
964 wxPyApp* wxGetApp() {
965 return (wxPyApp*)wxTheApp;
966 }
967
968
969
970 static const wxString wxPyPanelNameStr(wxPanelNameStr);
971 PyObject *wxWindow_GetChildren(wxWindow *self){
972 wxWindowList& list = self->GetChildren();
973 return wxPy_ConvertList(&list);
974 }
975 bool wxWindow_RegisterHotKey(wxWindow *self,int hotkeyId,int modifiers,int keycode){
976
977
978
979 return False;
980
981 }
982 bool wxWindow_UnregisterHotKey(wxWindow *self,int hotkeyId){
983
984
985
986 return False;
987
988 }
989 long wxWindow_GetHandle(wxWindow *self){
990 return wxPyGetWinHandle(self);
991 }
992
993 wxWindow* wxFindWindowById( long id, const wxWindow *parent = NULL ) {
994 return wxWindow::FindWindowById(id, parent);
995 }
996
997 wxWindow* wxFindWindowByName( const wxString& name,
998 const wxWindow *parent = NULL ) {
999 return wxWindow::FindWindowByName(name, parent);
1000 }
1001
1002 wxWindow* wxFindWindowByLabel( const wxString& label,
1003 const wxWindow *parent = NULL ) {
1004 return wxWindow::FindWindowByLabel(label, parent);
1005 }
1006
1007
1008 wxWindow* wxWindow_FromHWND(unsigned long hWnd) {
1009 #ifdef __WXMSW__
1010 wxWindow* win = new wxWindow;
1011 win->SetHWND(hWnd);
1012 win->SubclassWin(hWnd);
1013 return win;
1014 #else
1015 PyErr_SetNone(PyExc_NotImplementedError);
1016 return NULL;
1017 #endif
1018 }
1019
1020
1021 IMP_PYCALLBACK_BOOL_WXWIN(wxPyValidator, wxValidator, Validate);
1022 IMP_PYCALLBACK_BOOL_(wxPyValidator, wxValidator, TransferToWindow);
1023 IMP_PYCALLBACK_BOOL_(wxPyValidator, wxValidator, TransferFromWindow);
1024
1025 IMPLEMENT_DYNAMIC_CLASS(wxPyValidator, wxValidator);
1026
1027 void wxMenu_Destroy(wxMenu *self){ delete self; }
1028 PyObject *wxMenu_GetMenuItems(wxMenu *self){
1029 wxMenuItemList& list = self->GetMenuItems();
1030 return wxPy_ConvertList(&list);
1031 }
1032
1033 DECLARE_DEF_STRING(ControlNameStr);
1034
1035 int wxItemContainer_Append(wxItemContainer *self,wxString const &item,PyObject *clientData){
1036 if (clientData) {
1037 wxPyClientData* data = new wxPyClientData(clientData);
1038 return self->Append(item, data);
1039 } else
1040 return self->Append(item);
1041 }
1042 int wxItemContainer_Insert(wxItemContainer *self,wxString const &item,int pos,PyObject *clientData){
1043 if (clientData) {
1044 wxPyClientData* data = new wxPyClientData(clientData);
1045 return self->Insert(item, pos, data);
1046 } else
1047 return self->Insert(item, pos);
1048 }
1049 PyObject *wxItemContainer_GetClientData(wxItemContainer *self,int n){
1050 wxPyClientData* data = (wxPyClientData*)self->GetClientObject(n);
1051 if (data) {
1052 Py_INCREF(data->m_obj);
1053 return data->m_obj;
1054 } else {
1055 Py_INCREF(Py_None);
1056 return Py_None;
1057 }
1058 }
1059 void wxItemContainer_SetClientData(wxItemContainer *self,int n,PyObject *clientData){
1060 wxPyClientData* data = new wxPyClientData(clientData);
1061 self->SetClientObject(n, data);
1062 }
1063
1064
1065 PyObject *wxSizerItem_GetUserData(wxSizerItem *self){
1066 wxPyUserData* data = (wxPyUserData*)self->GetUserData();
1067 if (data) {
1068 Py_INCREF(data->m_obj);
1069 return data->m_obj;
1070 } else {
1071 Py_INCREF(Py_None);
1072 return Py_None;
1073 }
1074 }
1075
1076 // Figure out the type of the sizer item
1077
1078 struct wxPySizerItemInfo {
1079 wxPySizerItemInfo()
1080 : window(NULL), sizer(NULL), gotSize(False),
1081 size(wxDefaultSize), gotPos(False), pos(-1)
1082 {}
1083
1084 wxWindow* window;
1085 wxSizer* sizer;
1086 bool gotSize;
1087 wxSize size;
1088 bool gotPos;
1089 int pos;
1090 };
1091
1092 static wxPySizerItemInfo wxPySizerItemTypeHelper(PyObject* item, bool checkSize, bool checkIdx ) {
1093
1094 wxPySizerItemInfo info;
1095 wxSize size;
1096 wxSize* sizePtr = &size;
1097
1098 // Find out what the type of the item is
1099 // try wxWindow
1100 if ( ! wxPyConvertSwigPtr(item, (void**)&info.window, wxT("wxWindow")) ) {
1101 PyErr_Clear();
1102 info.window = NULL;
1103
1104 // try wxSizer
1105 if ( ! wxPyConvertSwigPtr(item, (void**)&info.sizer, wxT("wxSizer")) ) {
1106 PyErr_Clear();
1107 info.sizer = NULL;
1108
1109 // try wxSize or (w,h)
1110 if ( checkSize && wxSize_helper(item, &sizePtr)) {
1111 info.size = *sizePtr;
1112 info.gotSize = True;
1113 }
1114
1115 // or a single int
1116 if (checkIdx && PyInt_Check(item)) {
1117 info.pos = PyInt_AsLong(item);
1118 info.gotPos = True;
1119 }
1120 }
1121 }
1122
1123 if ( !(info.window || info.sizer || (checkSize && info.gotSize) || (checkIdx && info.gotPos)) ) {
1124 // no expected type, figure out what kind of error message to generate
1125 if ( !checkSize && !checkIdx )
1126 PyErr_SetString(PyExc_TypeError, "wxWindow or wxSizer expected for item");
1127 else if ( checkSize && !checkIdx )
1128 PyErr_SetString(PyExc_TypeError, "wxWindow, wxSizer, wxSize, or (w,h) expected for item");
1129 else if ( !checkSize && checkIdx)
1130 PyErr_SetString(PyExc_TypeError, "wxWindow, wxSizer or int (position) expected for item");
1131 else
1132 // can this one happen?
1133 PyErr_SetString(PyExc_TypeError, "wxWindow, wxSizer, wxSize, or (w,h) or int (position) expected for item");
1134 }
1135
1136 return info;
1137 }
1138
1139 void wxSizer__setOORInfo(wxSizer *self,PyObject *_self){
1140 self->SetClientObject(new wxPyOORClientData(_self));
1141 }
1142 void wxSizer_Add(wxSizer *self,PyObject *item,int proportion,int flag,int border,PyObject *userData){
1143
1144 wxPyUserData* data = NULL;
1145 wxPyBeginBlockThreads();
1146 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, True, False);
1147 if ( userData && (info.window || info.sizer || info.gotSize) )
1148 data = new wxPyUserData(userData);
1149 wxPyEndBlockThreads();
1150
1151 // Now call the real Add method if a valid item type was found
1152 if ( info.window )
1153 self->Add(info.window, proportion, flag, border, data);
1154 else if ( info.sizer )
1155 self->Add(info.sizer, proportion, flag, border, data);
1156 else if (info.gotSize)
1157 self->Add(info.size.GetWidth(), info.size.GetHeight(),
1158 proportion, flag, border, data);
1159 }
1160 void wxSizer_Insert(wxSizer *self,int before,PyObject *item,int proportion,int flag,int border,PyObject *userData){
1161
1162 wxPyUserData* data = NULL;
1163 wxPyBeginBlockThreads();
1164 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, True, False);
1165 if ( userData && (info.window || info.sizer || info.gotSize) )
1166 data = new wxPyUserData(userData);
1167 wxPyEndBlockThreads();
1168
1169 // Now call the real Insert method if a valid item type was found
1170 if ( info.window )
1171 self->Insert(before, info.window, proportion, flag, border, data);
1172 else if ( info.sizer )
1173 self->Insert(before, info.sizer, proportion, flag, border, data);
1174 else if (info.gotSize)
1175 self->Insert(before, info.size.GetWidth(), info.size.GetHeight(),
1176 proportion, flag, border, data);
1177 }
1178 void wxSizer_Prepend(wxSizer *self,PyObject *item,int proportion,int flag,int border,PyObject *userData){
1179
1180 wxPyUserData* data = NULL;
1181 wxPyBeginBlockThreads();
1182 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, True, False);
1183 if ( userData && (info.window || info.sizer || info.gotSize) )
1184 data = new wxPyUserData(userData);
1185 wxPyEndBlockThreads();
1186
1187 // Now call the real Prepend method if a valid item type was found
1188 if ( info.window )
1189 self->Prepend(info.window, proportion, flag, border, data);
1190 else if ( info.sizer )
1191 self->Prepend(info.sizer, proportion, flag, border, data);
1192 else if (info.gotSize)
1193 self->Prepend(info.size.GetWidth(), info.size.GetHeight(),
1194 proportion, flag, border, data);
1195 }
1196 bool wxSizer_Remove(wxSizer *self,PyObject *item){
1197 wxPyBeginBlockThreads();
1198 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, False, True);
1199 wxPyEndBlockThreads();
1200 if ( info.window )
1201 return self->Remove(info.window);
1202 else if ( info.sizer )
1203 return self->Remove(info.sizer);
1204 else if ( info.gotPos )
1205 return self->Remove(info.pos);
1206 else
1207 return False;
1208 }
1209 void wxSizer__SetItemMinSize(wxSizer *self,PyObject *item,wxSize const &size){
1210 wxPyBeginBlockThreads();
1211 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, False, True);
1212 wxPyEndBlockThreads();
1213 if ( info.window )
1214 self->SetItemMinSize(info.window, size);
1215 else if ( info.sizer )
1216 self->SetItemMinSize(info.sizer, size);
1217 else if ( info.gotPos )
1218 self->SetItemMinSize(info.pos, size);
1219 }
1220 PyObject *wxSizer_GetChildren(wxSizer *self){
1221 wxSizerItemList& list = self->GetChildren();
1222 return wxPy_ConvertList(&list);
1223 }
1224 void wxSizer_Show(wxSizer *self,PyObject *item,bool show){
1225 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, False, False);
1226 if ( info.window )
1227 self->Show(info.window, show);
1228 else if ( info.sizer )
1229 self->Show(info.sizer, show);
1230 }
1231 void wxSizer_Hide(wxSizer *self,PyObject *item){
1232 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, False, False);
1233 if ( info.window )
1234 self->Hide(info.window);
1235 else if ( info.sizer )
1236 self->Hide(info.sizer);
1237 }
1238 bool wxSizer_IsShown(wxSizer *self,PyObject *item){
1239 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, False, False);
1240 if ( info.window )
1241 return self->IsShown(info.window);
1242 else if ( info.sizer )
1243 return self->IsShown(info.sizer);
1244 else
1245 return False;
1246 }
1247
1248 // See pyclasses.h
1249 IMP_PYCALLBACK___pure(wxPySizer, wxSizer, RecalcSizes);
1250 IMP_PYCALLBACK_wxSize__pure(wxPySizer, wxSizer, CalcMin);
1251 IMPLEMENT_DYNAMIC_CLASS(wxPySizer, wxSizer);
1252
1253
1254
1255
1256 bool wxGBPosition_helper(PyObject* source, wxGBPosition** obj)
1257 {
1258 return wxPyTwoIntItem_helper(source, obj, wxT("wxGBPosition"));
1259 }
1260
1261 bool wxGBSpan_helper(PyObject* source, wxGBSpan** obj)
1262 {
1263 return wxPyTwoIntItem_helper(source, obj, wxT("wxGBSpan"));
1264 }
1265
1266
1267 void wxGBPosition_Set(wxGBPosition *self,int row,int col){
1268 self->SetRow(row);
1269 self->SetCol(col);
1270 }
1271 PyObject *wxGBPosition_Get(wxGBPosition *self){
1272 wxPyBeginBlockThreads();
1273 PyObject* tup = PyTuple_New(2);
1274 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(self->GetRow()));
1275 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(self->GetCol()));
1276 wxPyEndBlockThreads();
1277 return tup;
1278 }
1279 void wxGBSpan_Set(wxGBSpan *self,int rowspan,int colspan){
1280 self->SetRowspan(rowspan);
1281 self->SetColspan(colspan);
1282 }
1283 PyObject *wxGBSpan_Get(wxGBSpan *self){
1284 wxPyBeginBlockThreads();
1285 PyObject* tup = PyTuple_New(2);
1286 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(self->GetRowspan()));
1287 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(self->GetColspan()));
1288 wxPyEndBlockThreads();
1289 return tup;
1290 }
1291 bool wxGridBagSizer_Add(wxGridBagSizer *self,PyObject *item,wxGBPosition const &pos,wxGBSpan const &span,int flag,int border,PyObject *userData){
1292
1293 wxPyUserData* data = NULL;
1294 wxPyBeginBlockThreads();
1295 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, True, False);
1296 if ( userData && (info.window || info.sizer || info.gotSize) )
1297 data = new wxPyUserData(userData);
1298 wxPyEndBlockThreads();
1299
1300 // Now call the real Add method if a valid item type was found
1301 if ( info.window )
1302 return self->Add(info.window, pos, span, flag, border, data);
1303 else if ( info.sizer )
1304 return self->Add(info.sizer, pos, span, flag, border, data);
1305 else if (info.gotSize)
1306 return self->Add(info.size.GetWidth(), info.size.GetHeight(),
1307 pos, span, flag, border, data);
1308 return False;
1309 }
1310
1311
1312 #ifdef __cplusplus
1313 extern "C" {
1314 #endif
1315 static PyObject *_wrap_Object_GetClassName(PyObject *self, PyObject *args, PyObject *kwargs) {
1316 PyObject *resultobj;
1317 wxObject *arg1 = (wxObject *) 0 ;
1318 wxString result;
1319 PyObject * obj0 = 0 ;
1320 char *kwnames[] = {
1321 (char *) "self", NULL
1322 };
1323
1324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Object_GetClassName",kwnames,&obj0)) goto fail;
1325 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1326 {
1327 PyThreadState* __tstate = wxPyBeginAllowThreads();
1328 result = wxObject_GetClassName(arg1);
1329
1330 wxPyEndAllowThreads(__tstate);
1331 if (PyErr_Occurred()) SWIG_fail;
1332 }
1333 {
1334 #if wxUSE_UNICODE
1335 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
1336 #else
1337 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
1338 #endif
1339 }
1340 return resultobj;
1341 fail:
1342 return NULL;
1343 }
1344
1345
1346 static PyObject *_wrap_Object_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
1347 PyObject *resultobj;
1348 wxObject *arg1 = (wxObject *) 0 ;
1349 PyObject * obj0 = 0 ;
1350 char *kwnames[] = {
1351 (char *) "self", NULL
1352 };
1353
1354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Object_Destroy",kwnames,&obj0)) goto fail;
1355 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1356 {
1357 PyThreadState* __tstate = wxPyBeginAllowThreads();
1358 wxObject_Destroy(arg1);
1359
1360 wxPyEndAllowThreads(__tstate);
1361 if (PyErr_Occurred()) SWIG_fail;
1362 }
1363 Py_INCREF(Py_None); resultobj = Py_None;
1364 return resultobj;
1365 fail:
1366 return NULL;
1367 }
1368
1369
1370 static PyObject * Object_swigregister(PyObject *self, PyObject *args) {
1371 PyObject *obj;
1372 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1373 SWIG_TypeClientData(SWIGTYPE_p_wxObject, obj);
1374 Py_INCREF(obj);
1375 return Py_BuildValue((char *)"");
1376 }
1377 static PyObject *_wrap_Size_width_set(PyObject *self, PyObject *args, PyObject *kwargs) {
1378 PyObject *resultobj;
1379 wxSize *arg1 = (wxSize *) 0 ;
1380 int arg2 ;
1381 PyObject * obj0 = 0 ;
1382 char *kwnames[] = {
1383 (char *) "self",(char *) "x", NULL
1384 };
1385
1386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Size_width_set",kwnames,&obj0,&arg2)) goto fail;
1387 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSize,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1388 if (arg1) (arg1)->x = arg2;
1389
1390 Py_INCREF(Py_None); resultobj = Py_None;
1391 return resultobj;
1392 fail:
1393 return NULL;
1394 }
1395
1396
1397 static PyObject *_wrap_Size_width_get(PyObject *self, PyObject *args, PyObject *kwargs) {
1398 PyObject *resultobj;
1399 wxSize *arg1 = (wxSize *) 0 ;
1400 int result;
1401 PyObject * obj0 = 0 ;
1402 char *kwnames[] = {
1403 (char *) "self", NULL
1404 };
1405
1406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Size_width_get",kwnames,&obj0)) goto fail;
1407 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSize,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1408 result = (int) ((arg1)->x);
1409
1410 resultobj = PyInt_FromLong((long)result);
1411 return resultobj;
1412 fail:
1413 return NULL;
1414 }
1415
1416
1417 static PyObject *_wrap_Size_height_set(PyObject *self, PyObject *args, PyObject *kwargs) {
1418 PyObject *resultobj;
1419 wxSize *arg1 = (wxSize *) 0 ;
1420 int arg2 ;
1421 PyObject * obj0 = 0 ;
1422 char *kwnames[] = {
1423 (char *) "self",(char *) "y", NULL
1424 };
1425
1426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Size_height_set",kwnames,&obj0,&arg2)) goto fail;
1427 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSize,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1428 if (arg1) (arg1)->y = arg2;
1429
1430 Py_INCREF(Py_None); resultobj = Py_None;
1431 return resultobj;
1432 fail:
1433 return NULL;
1434 }
1435
1436
1437 static PyObject *_wrap_Size_height_get(PyObject *self, PyObject *args, PyObject *kwargs) {
1438 PyObject *resultobj;
1439 wxSize *arg1 = (wxSize *) 0 ;
1440 int result;
1441 PyObject * obj0 = 0 ;
1442 char *kwnames[] = {
1443 (char *) "self", NULL
1444 };
1445
1446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Size_height_get",kwnames,&obj0)) goto fail;
1447 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSize,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1448 result = (int) ((arg1)->y);
1449
1450 resultobj = PyInt_FromLong((long)result);
1451 return resultobj;
1452 fail:
1453 return NULL;
1454 }
1455
1456
1457 static PyObject *_wrap_new_Size(PyObject *self, PyObject *args, PyObject *kwargs) {
1458 PyObject *resultobj;
1459 int arg1 = (int) 0 ;
1460 int arg2 = (int) 0 ;
1461 wxSize *result;
1462 char *kwnames[] = {
1463 (char *) "w",(char *) "h", NULL
1464 };
1465
1466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_Size",kwnames,&arg1,&arg2)) goto fail;
1467 {
1468 PyThreadState* __tstate = wxPyBeginAllowThreads();
1469 result = (wxSize *)new wxSize(arg1,arg2);
1470
1471 wxPyEndAllowThreads(__tstate);
1472 if (PyErr_Occurred()) SWIG_fail;
1473 }
1474 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSize, 1);
1475 return resultobj;
1476 fail:
1477 return NULL;
1478 }
1479
1480
1481 static PyObject *_wrap_delete_Size(PyObject *self, PyObject *args, PyObject *kwargs) {
1482 PyObject *resultobj;
1483 wxSize *arg1 = (wxSize *) 0 ;
1484 PyObject * obj0 = 0 ;
1485 char *kwnames[] = {
1486 (char *) "self", NULL
1487 };
1488
1489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Size",kwnames,&obj0)) goto fail;
1490 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSize,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1491 {
1492 PyThreadState* __tstate = wxPyBeginAllowThreads();
1493 delete arg1;
1494
1495 wxPyEndAllowThreads(__tstate);
1496 if (PyErr_Occurred()) SWIG_fail;
1497 }
1498 Py_INCREF(Py_None); resultobj = Py_None;
1499 return resultobj;
1500 fail:
1501 return NULL;
1502 }
1503
1504
1505 static PyObject *_wrap_Size___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
1506 PyObject *resultobj;
1507 wxSize *arg1 = (wxSize *) 0 ;
1508 wxSize *arg2 = 0 ;
1509 bool result;
1510 wxSize temp2 ;
1511 PyObject * obj0 = 0 ;
1512 PyObject * obj1 = 0 ;
1513 char *kwnames[] = {
1514 (char *) "self",(char *) "sz", NULL
1515 };
1516
1517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size___eq__",kwnames,&obj0,&obj1)) goto fail;
1518 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSize,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1519 {
1520 arg2 = &temp2;
1521 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
1522 }
1523 {
1524 PyThreadState* __tstate = wxPyBeginAllowThreads();
1525 result = (bool)(arg1)->operator ==((wxSize const &)*arg2);
1526
1527 wxPyEndAllowThreads(__tstate);
1528 if (PyErr_Occurred()) SWIG_fail;
1529 }
1530 resultobj = PyInt_FromLong((long)result);
1531 return resultobj;
1532 fail:
1533 return NULL;
1534 }
1535
1536
1537 static PyObject *_wrap_Size___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
1538 PyObject *resultobj;
1539 wxSize *arg1 = (wxSize *) 0 ;
1540 wxSize *arg2 = 0 ;
1541 bool result;
1542 wxSize temp2 ;
1543 PyObject * obj0 = 0 ;
1544 PyObject * obj1 = 0 ;
1545 char *kwnames[] = {
1546 (char *) "self",(char *) "sz", NULL
1547 };
1548
1549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size___ne__",kwnames,&obj0,&obj1)) goto fail;
1550 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSize,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1551 {
1552 arg2 = &temp2;
1553 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
1554 }
1555 {
1556 PyThreadState* __tstate = wxPyBeginAllowThreads();
1557 result = (bool)(arg1)->operator !=((wxSize const &)*arg2);
1558
1559 wxPyEndAllowThreads(__tstate);
1560 if (PyErr_Occurred()) SWIG_fail;
1561 }
1562 resultobj = PyInt_FromLong((long)result);
1563 return resultobj;
1564 fail:
1565 return NULL;
1566 }
1567
1568
1569 static PyObject *_wrap_Size___add__(PyObject *self, PyObject *args, PyObject *kwargs) {
1570 PyObject *resultobj;
1571 wxSize *arg1 = (wxSize *) 0 ;
1572 wxSize *arg2 = 0 ;
1573 wxSize result;
1574 wxSize temp2 ;
1575 PyObject * obj0 = 0 ;
1576 PyObject * obj1 = 0 ;
1577 char *kwnames[] = {
1578 (char *) "self",(char *) "sz", NULL
1579 };
1580
1581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size___add__",kwnames,&obj0,&obj1)) goto fail;
1582 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSize,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1583 {
1584 arg2 = &temp2;
1585 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
1586 }
1587 {
1588 PyThreadState* __tstate = wxPyBeginAllowThreads();
1589 result = (arg1)->operator +((wxSize const &)*arg2);
1590
1591 wxPyEndAllowThreads(__tstate);
1592 if (PyErr_Occurred()) SWIG_fail;
1593 }
1594 {
1595 wxSize * resultptr;
1596 resultptr = new wxSize((wxSize &) result);
1597 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
1598 }
1599 return resultobj;
1600 fail:
1601 return NULL;
1602 }
1603
1604
1605 static PyObject *_wrap_Size___sub__(PyObject *self, PyObject *args, PyObject *kwargs) {
1606 PyObject *resultobj;
1607 wxSize *arg1 = (wxSize *) 0 ;
1608 wxSize *arg2 = 0 ;
1609 wxSize result;
1610 wxSize temp2 ;
1611 PyObject * obj0 = 0 ;
1612 PyObject * obj1 = 0 ;
1613 char *kwnames[] = {
1614 (char *) "self",(char *) "sz", NULL
1615 };
1616
1617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size___sub__",kwnames,&obj0,&obj1)) goto fail;
1618 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSize,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1619 {
1620 arg2 = &temp2;
1621 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
1622 }
1623 {
1624 PyThreadState* __tstate = wxPyBeginAllowThreads();
1625 result = (arg1)->operator -((wxSize const &)*arg2);
1626
1627 wxPyEndAllowThreads(__tstate);
1628 if (PyErr_Occurred()) SWIG_fail;
1629 }
1630 {
1631 wxSize * resultptr;
1632 resultptr = new wxSize((wxSize &) result);
1633 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
1634 }
1635 return resultobj;
1636 fail:
1637 return NULL;
1638 }
1639
1640
1641 static PyObject *_wrap_Size_IncTo(PyObject *self, PyObject *args, PyObject *kwargs) {
1642 PyObject *resultobj;
1643 wxSize *arg1 = (wxSize *) 0 ;
1644 wxSize *arg2 = 0 ;
1645 wxSize temp2 ;
1646 PyObject * obj0 = 0 ;
1647 PyObject * obj1 = 0 ;
1648 char *kwnames[] = {
1649 (char *) "self",(char *) "sz", NULL
1650 };
1651
1652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size_IncTo",kwnames,&obj0,&obj1)) goto fail;
1653 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSize,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1654 {
1655 arg2 = &temp2;
1656 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
1657 }
1658 {
1659 PyThreadState* __tstate = wxPyBeginAllowThreads();
1660 (arg1)->IncTo((wxSize const &)*arg2);
1661
1662 wxPyEndAllowThreads(__tstate);
1663 if (PyErr_Occurred()) SWIG_fail;
1664 }
1665 Py_INCREF(Py_None); resultobj = Py_None;
1666 return resultobj;
1667 fail:
1668 return NULL;
1669 }
1670
1671
1672 static PyObject *_wrap_Size_DecTo(PyObject *self, PyObject *args, PyObject *kwargs) {
1673 PyObject *resultobj;
1674 wxSize *arg1 = (wxSize *) 0 ;
1675 wxSize *arg2 = 0 ;
1676 wxSize temp2 ;
1677 PyObject * obj0 = 0 ;
1678 PyObject * obj1 = 0 ;
1679 char *kwnames[] = {
1680 (char *) "self",(char *) "sz", NULL
1681 };
1682
1683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size_DecTo",kwnames,&obj0,&obj1)) goto fail;
1684 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSize,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1685 {
1686 arg2 = &temp2;
1687 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
1688 }
1689 {
1690 PyThreadState* __tstate = wxPyBeginAllowThreads();
1691 (arg1)->DecTo((wxSize const &)*arg2);
1692
1693 wxPyEndAllowThreads(__tstate);
1694 if (PyErr_Occurred()) SWIG_fail;
1695 }
1696 Py_INCREF(Py_None); resultobj = Py_None;
1697 return resultobj;
1698 fail:
1699 return NULL;
1700 }
1701
1702
1703 static PyObject *_wrap_Size_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
1704 PyObject *resultobj;
1705 wxSize *arg1 = (wxSize *) 0 ;
1706 int arg2 ;
1707 int arg3 ;
1708 PyObject * obj0 = 0 ;
1709 char *kwnames[] = {
1710 (char *) "self",(char *) "w",(char *) "h", NULL
1711 };
1712
1713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Size_Set",kwnames,&obj0,&arg2,&arg3)) goto fail;
1714 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSize,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1715 {
1716 PyThreadState* __tstate = wxPyBeginAllowThreads();
1717 (arg1)->Set(arg2,arg3);
1718
1719 wxPyEndAllowThreads(__tstate);
1720 if (PyErr_Occurred()) SWIG_fail;
1721 }
1722 Py_INCREF(Py_None); resultobj = Py_None;
1723 return resultobj;
1724 fail:
1725 return NULL;
1726 }
1727
1728
1729 static PyObject *_wrap_Size_SetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
1730 PyObject *resultobj;
1731 wxSize *arg1 = (wxSize *) 0 ;
1732 int arg2 ;
1733 PyObject * obj0 = 0 ;
1734 char *kwnames[] = {
1735 (char *) "self",(char *) "w", NULL
1736 };
1737
1738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Size_SetWidth",kwnames,&obj0,&arg2)) goto fail;
1739 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSize,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1740 {
1741 PyThreadState* __tstate = wxPyBeginAllowThreads();
1742 (arg1)->SetWidth(arg2);
1743
1744 wxPyEndAllowThreads(__tstate);
1745 if (PyErr_Occurred()) SWIG_fail;
1746 }
1747 Py_INCREF(Py_None); resultobj = Py_None;
1748 return resultobj;
1749 fail:
1750 return NULL;
1751 }
1752
1753
1754 static PyObject *_wrap_Size_SetHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
1755 PyObject *resultobj;
1756 wxSize *arg1 = (wxSize *) 0 ;
1757 int arg2 ;
1758 PyObject * obj0 = 0 ;
1759 char *kwnames[] = {
1760 (char *) "self",(char *) "h", NULL
1761 };
1762
1763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Size_SetHeight",kwnames,&obj0,&arg2)) goto fail;
1764 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSize,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1765 {
1766 PyThreadState* __tstate = wxPyBeginAllowThreads();
1767 (arg1)->SetHeight(arg2);
1768
1769 wxPyEndAllowThreads(__tstate);
1770 if (PyErr_Occurred()) SWIG_fail;
1771 }
1772 Py_INCREF(Py_None); resultobj = Py_None;
1773 return resultobj;
1774 fail:
1775 return NULL;
1776 }
1777
1778
1779 static PyObject *_wrap_Size_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
1780 PyObject *resultobj;
1781 wxSize *arg1 = (wxSize *) 0 ;
1782 int result;
1783 PyObject * obj0 = 0 ;
1784 char *kwnames[] = {
1785 (char *) "self", NULL
1786 };
1787
1788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Size_GetWidth",kwnames,&obj0)) goto fail;
1789 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSize,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1790 {
1791 PyThreadState* __tstate = wxPyBeginAllowThreads();
1792 result = (int)((wxSize const *)arg1)->GetWidth();
1793
1794 wxPyEndAllowThreads(__tstate);
1795 if (PyErr_Occurred()) SWIG_fail;
1796 }
1797 resultobj = PyInt_FromLong((long)result);
1798 return resultobj;
1799 fail:
1800 return NULL;
1801 }
1802
1803
1804 static PyObject *_wrap_Size_GetHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
1805 PyObject *resultobj;
1806 wxSize *arg1 = (wxSize *) 0 ;
1807 int result;
1808 PyObject * obj0 = 0 ;
1809 char *kwnames[] = {
1810 (char *) "self", NULL
1811 };
1812
1813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Size_GetHeight",kwnames,&obj0)) goto fail;
1814 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSize,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1815 {
1816 PyThreadState* __tstate = wxPyBeginAllowThreads();
1817 result = (int)((wxSize const *)arg1)->GetHeight();
1818
1819 wxPyEndAllowThreads(__tstate);
1820 if (PyErr_Occurred()) SWIG_fail;
1821 }
1822 resultobj = PyInt_FromLong((long)result);
1823 return resultobj;
1824 fail:
1825 return NULL;
1826 }
1827
1828
1829 static PyObject *_wrap_Size_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
1830 PyObject *resultobj;
1831 wxSize *arg1 = (wxSize *) 0 ;
1832 PyObject *result;
1833 PyObject * obj0 = 0 ;
1834 char *kwnames[] = {
1835 (char *) "self", NULL
1836 };
1837
1838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Size_Get",kwnames,&obj0)) goto fail;
1839 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSize,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1840 {
1841 PyThreadState* __tstate = wxPyBeginAllowThreads();
1842 result = (PyObject *)wxSize_Get(arg1);
1843
1844 wxPyEndAllowThreads(__tstate);
1845 if (PyErr_Occurred()) SWIG_fail;
1846 }
1847 resultobj = result;
1848 return resultobj;
1849 fail:
1850 return NULL;
1851 }
1852
1853
1854 static PyObject * Size_swigregister(PyObject *self, PyObject *args) {
1855 PyObject *obj;
1856 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1857 SWIG_TypeClientData(SWIGTYPE_p_wxSize, obj);
1858 Py_INCREF(obj);
1859 return Py_BuildValue((char *)"");
1860 }
1861 static PyObject *_wrap_RealPoint_x_set(PyObject *self, PyObject *args, PyObject *kwargs) {
1862 PyObject *resultobj;
1863 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
1864 double arg2 ;
1865 PyObject * obj0 = 0 ;
1866 char *kwnames[] = {
1867 (char *) "self",(char *) "x", NULL
1868 };
1869
1870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Od:RealPoint_x_set",kwnames,&obj0,&arg2)) goto fail;
1871 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRealPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1872 if (arg1) (arg1)->x = arg2;
1873
1874 Py_INCREF(Py_None); resultobj = Py_None;
1875 return resultobj;
1876 fail:
1877 return NULL;
1878 }
1879
1880
1881 static PyObject *_wrap_RealPoint_x_get(PyObject *self, PyObject *args, PyObject *kwargs) {
1882 PyObject *resultobj;
1883 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
1884 double result;
1885 PyObject * obj0 = 0 ;
1886 char *kwnames[] = {
1887 (char *) "self", NULL
1888 };
1889
1890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RealPoint_x_get",kwnames,&obj0)) goto fail;
1891 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRealPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1892 result = (double) ((arg1)->x);
1893
1894 resultobj = PyFloat_FromDouble(result);
1895 return resultobj;
1896 fail:
1897 return NULL;
1898 }
1899
1900
1901 static PyObject *_wrap_RealPoint_y_set(PyObject *self, PyObject *args, PyObject *kwargs) {
1902 PyObject *resultobj;
1903 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
1904 double arg2 ;
1905 PyObject * obj0 = 0 ;
1906 char *kwnames[] = {
1907 (char *) "self",(char *) "y", NULL
1908 };
1909
1910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Od:RealPoint_y_set",kwnames,&obj0,&arg2)) goto fail;
1911 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRealPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1912 if (arg1) (arg1)->y = arg2;
1913
1914 Py_INCREF(Py_None); resultobj = Py_None;
1915 return resultobj;
1916 fail:
1917 return NULL;
1918 }
1919
1920
1921 static PyObject *_wrap_RealPoint_y_get(PyObject *self, PyObject *args, PyObject *kwargs) {
1922 PyObject *resultobj;
1923 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
1924 double result;
1925 PyObject * obj0 = 0 ;
1926 char *kwnames[] = {
1927 (char *) "self", NULL
1928 };
1929
1930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RealPoint_y_get",kwnames,&obj0)) goto fail;
1931 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRealPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1932 result = (double) ((arg1)->y);
1933
1934 resultobj = PyFloat_FromDouble(result);
1935 return resultobj;
1936 fail:
1937 return NULL;
1938 }
1939
1940
1941 static PyObject *_wrap_new_RealPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
1942 PyObject *resultobj;
1943 double arg1 = (double) 0.0 ;
1944 double arg2 = (double) 0.0 ;
1945 wxRealPoint *result;
1946 char *kwnames[] = {
1947 (char *) "x",(char *) "y", NULL
1948 };
1949
1950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|dd:new_RealPoint",kwnames,&arg1,&arg2)) goto fail;
1951 {
1952 PyThreadState* __tstate = wxPyBeginAllowThreads();
1953 result = (wxRealPoint *)new wxRealPoint(arg1,arg2);
1954
1955 wxPyEndAllowThreads(__tstate);
1956 if (PyErr_Occurred()) SWIG_fail;
1957 }
1958 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRealPoint, 1);
1959 return resultobj;
1960 fail:
1961 return NULL;
1962 }
1963
1964
1965 static PyObject *_wrap_delete_RealPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
1966 PyObject *resultobj;
1967 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
1968 PyObject * obj0 = 0 ;
1969 char *kwnames[] = {
1970 (char *) "self", NULL
1971 };
1972
1973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_RealPoint",kwnames,&obj0)) goto fail;
1974 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRealPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1975 {
1976 PyThreadState* __tstate = wxPyBeginAllowThreads();
1977 delete arg1;
1978
1979 wxPyEndAllowThreads(__tstate);
1980 if (PyErr_Occurred()) SWIG_fail;
1981 }
1982 Py_INCREF(Py_None); resultobj = Py_None;
1983 return resultobj;
1984 fail:
1985 return NULL;
1986 }
1987
1988
1989 static PyObject *_wrap_RealPoint___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
1990 PyObject *resultobj;
1991 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
1992 wxRealPoint *arg2 = 0 ;
1993 bool result;
1994 wxRealPoint temp2 ;
1995 PyObject * obj0 = 0 ;
1996 PyObject * obj1 = 0 ;
1997 char *kwnames[] = {
1998 (char *) "self",(char *) "pt", NULL
1999 };
2000
2001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RealPoint___eq__",kwnames,&obj0,&obj1)) goto fail;
2002 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRealPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2003 {
2004 arg2 = &temp2;
2005 if ( ! wxRealPoint_helper(obj1, &arg2)) SWIG_fail;
2006 }
2007 {
2008 PyThreadState* __tstate = wxPyBeginAllowThreads();
2009 result = (bool)(arg1)->operator ==((wxRealPoint const &)*arg2);
2010
2011 wxPyEndAllowThreads(__tstate);
2012 if (PyErr_Occurred()) SWIG_fail;
2013 }
2014 resultobj = PyInt_FromLong((long)result);
2015 return resultobj;
2016 fail:
2017 return NULL;
2018 }
2019
2020
2021 static PyObject *_wrap_RealPoint___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
2022 PyObject *resultobj;
2023 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
2024 wxRealPoint *arg2 = 0 ;
2025 bool result;
2026 wxRealPoint temp2 ;
2027 PyObject * obj0 = 0 ;
2028 PyObject * obj1 = 0 ;
2029 char *kwnames[] = {
2030 (char *) "self",(char *) "pt", NULL
2031 };
2032
2033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RealPoint___ne__",kwnames,&obj0,&obj1)) goto fail;
2034 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRealPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2035 {
2036 arg2 = &temp2;
2037 if ( ! wxRealPoint_helper(obj1, &arg2)) SWIG_fail;
2038 }
2039 {
2040 PyThreadState* __tstate = wxPyBeginAllowThreads();
2041 result = (bool)(arg1)->operator !=((wxRealPoint const &)*arg2);
2042
2043 wxPyEndAllowThreads(__tstate);
2044 if (PyErr_Occurred()) SWIG_fail;
2045 }
2046 resultobj = PyInt_FromLong((long)result);
2047 return resultobj;
2048 fail:
2049 return NULL;
2050 }
2051
2052
2053 static PyObject *_wrap_RealPoint___add__(PyObject *self, PyObject *args, PyObject *kwargs) {
2054 PyObject *resultobj;
2055 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
2056 wxRealPoint *arg2 = 0 ;
2057 wxRealPoint result;
2058 wxRealPoint temp2 ;
2059 PyObject * obj0 = 0 ;
2060 PyObject * obj1 = 0 ;
2061 char *kwnames[] = {
2062 (char *) "self",(char *) "pt", NULL
2063 };
2064
2065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RealPoint___add__",kwnames,&obj0,&obj1)) goto fail;
2066 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRealPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2067 {
2068 arg2 = &temp2;
2069 if ( ! wxRealPoint_helper(obj1, &arg2)) SWIG_fail;
2070 }
2071 {
2072 PyThreadState* __tstate = wxPyBeginAllowThreads();
2073 result = (arg1)->operator +((wxRealPoint const &)*arg2);
2074
2075 wxPyEndAllowThreads(__tstate);
2076 if (PyErr_Occurred()) SWIG_fail;
2077 }
2078 {
2079 wxRealPoint * resultptr;
2080 resultptr = new wxRealPoint((wxRealPoint &) result);
2081 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRealPoint, 1);
2082 }
2083 return resultobj;
2084 fail:
2085 return NULL;
2086 }
2087
2088
2089 static PyObject *_wrap_RealPoint___sub__(PyObject *self, PyObject *args, PyObject *kwargs) {
2090 PyObject *resultobj;
2091 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
2092 wxRealPoint *arg2 = 0 ;
2093 wxRealPoint result;
2094 wxRealPoint temp2 ;
2095 PyObject * obj0 = 0 ;
2096 PyObject * obj1 = 0 ;
2097 char *kwnames[] = {
2098 (char *) "self",(char *) "pt", NULL
2099 };
2100
2101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RealPoint___sub__",kwnames,&obj0,&obj1)) goto fail;
2102 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRealPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2103 {
2104 arg2 = &temp2;
2105 if ( ! wxRealPoint_helper(obj1, &arg2)) SWIG_fail;
2106 }
2107 {
2108 PyThreadState* __tstate = wxPyBeginAllowThreads();
2109 result = (arg1)->operator -((wxRealPoint const &)*arg2);
2110
2111 wxPyEndAllowThreads(__tstate);
2112 if (PyErr_Occurred()) SWIG_fail;
2113 }
2114 {
2115 wxRealPoint * resultptr;
2116 resultptr = new wxRealPoint((wxRealPoint &) result);
2117 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRealPoint, 1);
2118 }
2119 return resultobj;
2120 fail:
2121 return NULL;
2122 }
2123
2124
2125 static PyObject *_wrap_RealPoint_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
2126 PyObject *resultobj;
2127 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
2128 double arg2 ;
2129 double arg3 ;
2130 PyObject * obj0 = 0 ;
2131 char *kwnames[] = {
2132 (char *) "self",(char *) "x",(char *) "y", NULL
2133 };
2134
2135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:RealPoint_Set",kwnames,&obj0,&arg2,&arg3)) goto fail;
2136 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRealPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2137 {
2138 PyThreadState* __tstate = wxPyBeginAllowThreads();
2139 wxRealPoint_Set(arg1,arg2,arg3);
2140
2141 wxPyEndAllowThreads(__tstate);
2142 if (PyErr_Occurred()) SWIG_fail;
2143 }
2144 Py_INCREF(Py_None); resultobj = Py_None;
2145 return resultobj;
2146 fail:
2147 return NULL;
2148 }
2149
2150
2151 static PyObject *_wrap_RealPoint_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
2152 PyObject *resultobj;
2153 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
2154 PyObject *result;
2155 PyObject * obj0 = 0 ;
2156 char *kwnames[] = {
2157 (char *) "self", NULL
2158 };
2159
2160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RealPoint_Get",kwnames,&obj0)) goto fail;
2161 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRealPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2162 {
2163 PyThreadState* __tstate = wxPyBeginAllowThreads();
2164 result = (PyObject *)wxRealPoint_Get(arg1);
2165
2166 wxPyEndAllowThreads(__tstate);
2167 if (PyErr_Occurred()) SWIG_fail;
2168 }
2169 resultobj = result;
2170 return resultobj;
2171 fail:
2172 return NULL;
2173 }
2174
2175
2176 static PyObject * RealPoint_swigregister(PyObject *self, PyObject *args) {
2177 PyObject *obj;
2178 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2179 SWIG_TypeClientData(SWIGTYPE_p_wxRealPoint, obj);
2180 Py_INCREF(obj);
2181 return Py_BuildValue((char *)"");
2182 }
2183 static PyObject *_wrap_Point_x_set(PyObject *self, PyObject *args, PyObject *kwargs) {
2184 PyObject *resultobj;
2185 wxPoint *arg1 = (wxPoint *) 0 ;
2186 int arg2 ;
2187 PyObject * obj0 = 0 ;
2188 char *kwnames[] = {
2189 (char *) "self",(char *) "x", NULL
2190 };
2191
2192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Point_x_set",kwnames,&obj0,&arg2)) goto fail;
2193 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2194 if (arg1) (arg1)->x = arg2;
2195
2196 Py_INCREF(Py_None); resultobj = Py_None;
2197 return resultobj;
2198 fail:
2199 return NULL;
2200 }
2201
2202
2203 static PyObject *_wrap_Point_x_get(PyObject *self, PyObject *args, PyObject *kwargs) {
2204 PyObject *resultobj;
2205 wxPoint *arg1 = (wxPoint *) 0 ;
2206 int result;
2207 PyObject * obj0 = 0 ;
2208 char *kwnames[] = {
2209 (char *) "self", NULL
2210 };
2211
2212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point_x_get",kwnames,&obj0)) goto fail;
2213 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2214 result = (int) ((arg1)->x);
2215
2216 resultobj = PyInt_FromLong((long)result);
2217 return resultobj;
2218 fail:
2219 return NULL;
2220 }
2221
2222
2223 static PyObject *_wrap_Point_y_set(PyObject *self, PyObject *args, PyObject *kwargs) {
2224 PyObject *resultobj;
2225 wxPoint *arg1 = (wxPoint *) 0 ;
2226 int arg2 ;
2227 PyObject * obj0 = 0 ;
2228 char *kwnames[] = {
2229 (char *) "self",(char *) "y", NULL
2230 };
2231
2232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Point_y_set",kwnames,&obj0,&arg2)) goto fail;
2233 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2234 if (arg1) (arg1)->y = arg2;
2235
2236 Py_INCREF(Py_None); resultobj = Py_None;
2237 return resultobj;
2238 fail:
2239 return NULL;
2240 }
2241
2242
2243 static PyObject *_wrap_Point_y_get(PyObject *self, PyObject *args, PyObject *kwargs) {
2244 PyObject *resultobj;
2245 wxPoint *arg1 = (wxPoint *) 0 ;
2246 int result;
2247 PyObject * obj0 = 0 ;
2248 char *kwnames[] = {
2249 (char *) "self", NULL
2250 };
2251
2252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point_y_get",kwnames,&obj0)) goto fail;
2253 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2254 result = (int) ((arg1)->y);
2255
2256 resultobj = PyInt_FromLong((long)result);
2257 return resultobj;
2258 fail:
2259 return NULL;
2260 }
2261
2262
2263 static PyObject *_wrap_new_Point(PyObject *self, PyObject *args, PyObject *kwargs) {
2264 PyObject *resultobj;
2265 int arg1 = (int) 0 ;
2266 int arg2 = (int) 0 ;
2267 wxPoint *result;
2268 char *kwnames[] = {
2269 (char *) "x",(char *) "y", NULL
2270 };
2271
2272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_Point",kwnames,&arg1,&arg2)) goto fail;
2273 {
2274 PyThreadState* __tstate = wxPyBeginAllowThreads();
2275 result = (wxPoint *)new wxPoint(arg1,arg2);
2276
2277 wxPyEndAllowThreads(__tstate);
2278 if (PyErr_Occurred()) SWIG_fail;
2279 }
2280 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint, 1);
2281 return resultobj;
2282 fail:
2283 return NULL;
2284 }
2285
2286
2287 static PyObject *_wrap_delete_Point(PyObject *self, PyObject *args, PyObject *kwargs) {
2288 PyObject *resultobj;
2289 wxPoint *arg1 = (wxPoint *) 0 ;
2290 PyObject * obj0 = 0 ;
2291 char *kwnames[] = {
2292 (char *) "self", NULL
2293 };
2294
2295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Point",kwnames,&obj0)) goto fail;
2296 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2297 {
2298 PyThreadState* __tstate = wxPyBeginAllowThreads();
2299 delete arg1;
2300
2301 wxPyEndAllowThreads(__tstate);
2302 if (PyErr_Occurred()) SWIG_fail;
2303 }
2304 Py_INCREF(Py_None); resultobj = Py_None;
2305 return resultobj;
2306 fail:
2307 return NULL;
2308 }
2309
2310
2311 static PyObject *_wrap_Point___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
2312 PyObject *resultobj;
2313 wxPoint *arg1 = (wxPoint *) 0 ;
2314 wxPoint *arg2 = 0 ;
2315 bool result;
2316 wxPoint temp2 ;
2317 PyObject * obj0 = 0 ;
2318 PyObject * obj1 = 0 ;
2319 char *kwnames[] = {
2320 (char *) "self",(char *) "pt", NULL
2321 };
2322
2323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point___eq__",kwnames,&obj0,&obj1)) goto fail;
2324 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2325 {
2326 arg2 = &temp2;
2327 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
2328 }
2329 {
2330 PyThreadState* __tstate = wxPyBeginAllowThreads();
2331 result = (bool)(arg1)->operator ==((wxPoint const &)*arg2);
2332
2333 wxPyEndAllowThreads(__tstate);
2334 if (PyErr_Occurred()) SWIG_fail;
2335 }
2336 resultobj = PyInt_FromLong((long)result);
2337 return resultobj;
2338 fail:
2339 return NULL;
2340 }
2341
2342
2343 static PyObject *_wrap_Point___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
2344 PyObject *resultobj;
2345 wxPoint *arg1 = (wxPoint *) 0 ;
2346 wxPoint *arg2 = 0 ;
2347 bool result;
2348 wxPoint temp2 ;
2349 PyObject * obj0 = 0 ;
2350 PyObject * obj1 = 0 ;
2351 char *kwnames[] = {
2352 (char *) "self",(char *) "pt", NULL
2353 };
2354
2355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point___ne__",kwnames,&obj0,&obj1)) goto fail;
2356 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2357 {
2358 arg2 = &temp2;
2359 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
2360 }
2361 {
2362 PyThreadState* __tstate = wxPyBeginAllowThreads();
2363 result = (bool)(arg1)->operator !=((wxPoint const &)*arg2);
2364
2365 wxPyEndAllowThreads(__tstate);
2366 if (PyErr_Occurred()) SWIG_fail;
2367 }
2368 resultobj = PyInt_FromLong((long)result);
2369 return resultobj;
2370 fail:
2371 return NULL;
2372 }
2373
2374
2375 static PyObject *_wrap_Point___add__(PyObject *self, PyObject *args, PyObject *kwargs) {
2376 PyObject *resultobj;
2377 wxPoint *arg1 = (wxPoint *) 0 ;
2378 wxPoint *arg2 = 0 ;
2379 wxPoint result;
2380 wxPoint temp2 ;
2381 PyObject * obj0 = 0 ;
2382 PyObject * obj1 = 0 ;
2383 char *kwnames[] = {
2384 (char *) "self",(char *) "pt", NULL
2385 };
2386
2387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point___add__",kwnames,&obj0,&obj1)) goto fail;
2388 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2389 {
2390 arg2 = &temp2;
2391 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
2392 }
2393 {
2394 PyThreadState* __tstate = wxPyBeginAllowThreads();
2395 result = (arg1)->operator +((wxPoint const &)*arg2);
2396
2397 wxPyEndAllowThreads(__tstate);
2398 if (PyErr_Occurred()) SWIG_fail;
2399 }
2400 {
2401 wxPoint * resultptr;
2402 resultptr = new wxPoint((wxPoint &) result);
2403 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
2404 }
2405 return resultobj;
2406 fail:
2407 return NULL;
2408 }
2409
2410
2411 static PyObject *_wrap_Point___sub__(PyObject *self, PyObject *args, PyObject *kwargs) {
2412 PyObject *resultobj;
2413 wxPoint *arg1 = (wxPoint *) 0 ;
2414 wxPoint *arg2 = 0 ;
2415 wxPoint result;
2416 wxPoint temp2 ;
2417 PyObject * obj0 = 0 ;
2418 PyObject * obj1 = 0 ;
2419 char *kwnames[] = {
2420 (char *) "self",(char *) "pt", NULL
2421 };
2422
2423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point___sub__",kwnames,&obj0,&obj1)) goto fail;
2424 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2425 {
2426 arg2 = &temp2;
2427 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
2428 }
2429 {
2430 PyThreadState* __tstate = wxPyBeginAllowThreads();
2431 result = (arg1)->operator -((wxPoint const &)*arg2);
2432
2433 wxPyEndAllowThreads(__tstate);
2434 if (PyErr_Occurred()) SWIG_fail;
2435 }
2436 {
2437 wxPoint * resultptr;
2438 resultptr = new wxPoint((wxPoint &) result);
2439 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
2440 }
2441 return resultobj;
2442 fail:
2443 return NULL;
2444 }
2445
2446
2447 static PyObject *_wrap_Point___iadd__(PyObject *self, PyObject *args, PyObject *kwargs) {
2448 PyObject *resultobj;
2449 wxPoint *arg1 = (wxPoint *) 0 ;
2450 wxPoint *arg2 = 0 ;
2451 wxPoint *result;
2452 wxPoint temp2 ;
2453 PyObject * obj0 = 0 ;
2454 PyObject * obj1 = 0 ;
2455 char *kwnames[] = {
2456 (char *) "self",(char *) "pt", NULL
2457 };
2458
2459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point___iadd__",kwnames,&obj0,&obj1)) goto fail;
2460 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2461 {
2462 arg2 = &temp2;
2463 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
2464 }
2465 {
2466 PyThreadState* __tstate = wxPyBeginAllowThreads();
2467 {
2468 wxPoint &_result_ref = (arg1)->operator +=((wxPoint const &)*arg2);
2469 result = (wxPoint *) &_result_ref;
2470 }
2471
2472 wxPyEndAllowThreads(__tstate);
2473 if (PyErr_Occurred()) SWIG_fail;
2474 }
2475 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint, 0);
2476 return resultobj;
2477 fail:
2478 return NULL;
2479 }
2480
2481
2482 static PyObject *_wrap_Point___isub__(PyObject *self, PyObject *args, PyObject *kwargs) {
2483 PyObject *resultobj;
2484 wxPoint *arg1 = (wxPoint *) 0 ;
2485 wxPoint *arg2 = 0 ;
2486 wxPoint *result;
2487 wxPoint temp2 ;
2488 PyObject * obj0 = 0 ;
2489 PyObject * obj1 = 0 ;
2490 char *kwnames[] = {
2491 (char *) "self",(char *) "pt", NULL
2492 };
2493
2494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point___isub__",kwnames,&obj0,&obj1)) goto fail;
2495 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2496 {
2497 arg2 = &temp2;
2498 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
2499 }
2500 {
2501 PyThreadState* __tstate = wxPyBeginAllowThreads();
2502 {
2503 wxPoint &_result_ref = (arg1)->operator -=((wxPoint const &)*arg2);
2504 result = (wxPoint *) &_result_ref;
2505 }
2506
2507 wxPyEndAllowThreads(__tstate);
2508 if (PyErr_Occurred()) SWIG_fail;
2509 }
2510 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint, 0);
2511 return resultobj;
2512 fail:
2513 return NULL;
2514 }
2515
2516
2517 static PyObject *_wrap_Point_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
2518 PyObject *resultobj;
2519 wxPoint *arg1 = (wxPoint *) 0 ;
2520 long arg2 ;
2521 long arg3 ;
2522 PyObject * obj0 = 0 ;
2523 char *kwnames[] = {
2524 (char *) "self",(char *) "x",(char *) "y", NULL
2525 };
2526
2527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:Point_Set",kwnames,&obj0,&arg2,&arg3)) goto fail;
2528 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2529 {
2530 PyThreadState* __tstate = wxPyBeginAllowThreads();
2531 wxPoint_Set(arg1,arg2,arg3);
2532
2533 wxPyEndAllowThreads(__tstate);
2534 if (PyErr_Occurred()) SWIG_fail;
2535 }
2536 Py_INCREF(Py_None); resultobj = Py_None;
2537 return resultobj;
2538 fail:
2539 return NULL;
2540 }
2541
2542
2543 static PyObject *_wrap_Point_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
2544 PyObject *resultobj;
2545 wxPoint *arg1 = (wxPoint *) 0 ;
2546 PyObject *result;
2547 PyObject * obj0 = 0 ;
2548 char *kwnames[] = {
2549 (char *) "self", NULL
2550 };
2551
2552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point_Get",kwnames,&obj0)) goto fail;
2553 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2554 {
2555 PyThreadState* __tstate = wxPyBeginAllowThreads();
2556 result = (PyObject *)wxPoint_Get(arg1);
2557
2558 wxPyEndAllowThreads(__tstate);
2559 if (PyErr_Occurred()) SWIG_fail;
2560 }
2561 resultobj = result;
2562 return resultobj;
2563 fail:
2564 return NULL;
2565 }
2566
2567
2568 static PyObject * Point_swigregister(PyObject *self, PyObject *args) {
2569 PyObject *obj;
2570 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2571 SWIG_TypeClientData(SWIGTYPE_p_wxPoint, obj);
2572 Py_INCREF(obj);
2573 return Py_BuildValue((char *)"");
2574 }
2575 static PyObject *_wrap_new_Rect(PyObject *self, PyObject *args, PyObject *kwargs) {
2576 PyObject *resultobj;
2577 int arg1 = (int) 0 ;
2578 int arg2 = (int) 0 ;
2579 int arg3 = (int) 0 ;
2580 int arg4 = (int) 0 ;
2581 wxRect *result;
2582 char *kwnames[] = {
2583 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
2584 };
2585
2586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iiii:new_Rect",kwnames,&arg1,&arg2,&arg3,&arg4)) goto fail;
2587 {
2588 PyThreadState* __tstate = wxPyBeginAllowThreads();
2589 result = (wxRect *)new wxRect(arg1,arg2,arg3,arg4);
2590
2591 wxPyEndAllowThreads(__tstate);
2592 if (PyErr_Occurred()) SWIG_fail;
2593 }
2594 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRect, 1);
2595 return resultobj;
2596 fail:
2597 return NULL;
2598 }
2599
2600
2601 static PyObject *_wrap_new_RectPP(PyObject *self, PyObject *args, PyObject *kwargs) {
2602 PyObject *resultobj;
2603 wxPoint *arg1 = 0 ;
2604 wxPoint *arg2 = 0 ;
2605 wxRect *result;
2606 wxPoint temp1 ;
2607 wxPoint temp2 ;
2608 PyObject * obj0 = 0 ;
2609 PyObject * obj1 = 0 ;
2610 char *kwnames[] = {
2611 (char *) "topLeft",(char *) "bottomRight", NULL
2612 };
2613
2614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_RectPP",kwnames,&obj0,&obj1)) goto fail;
2615 {
2616 arg1 = &temp1;
2617 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
2618 }
2619 {
2620 arg2 = &temp2;
2621 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
2622 }
2623 {
2624 PyThreadState* __tstate = wxPyBeginAllowThreads();
2625 result = (wxRect *)new wxRect((wxPoint const &)*arg1,(wxPoint const &)*arg2);
2626
2627 wxPyEndAllowThreads(__tstate);
2628 if (PyErr_Occurred()) SWIG_fail;
2629 }
2630 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRect, 1);
2631 return resultobj;
2632 fail:
2633 return NULL;
2634 }
2635
2636
2637 static PyObject *_wrap_new_RectPS(PyObject *self, PyObject *args, PyObject *kwargs) {
2638 PyObject *resultobj;
2639 wxPoint *arg1 = 0 ;
2640 wxSize *arg2 = 0 ;
2641 wxRect *result;
2642 wxPoint temp1 ;
2643 wxSize temp2 ;
2644 PyObject * obj0 = 0 ;
2645 PyObject * obj1 = 0 ;
2646 char *kwnames[] = {
2647 (char *) "pos",(char *) "size", NULL
2648 };
2649
2650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_RectPS",kwnames,&obj0,&obj1)) goto fail;
2651 {
2652 arg1 = &temp1;
2653 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
2654 }
2655 {
2656 arg2 = &temp2;
2657 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
2658 }
2659 {
2660 PyThreadState* __tstate = wxPyBeginAllowThreads();
2661 result = (wxRect *)new wxRect((wxPoint const &)*arg1,(wxSize const &)*arg2);
2662
2663 wxPyEndAllowThreads(__tstate);
2664 if (PyErr_Occurred()) SWIG_fail;
2665 }
2666 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRect, 1);
2667 return resultobj;
2668 fail:
2669 return NULL;
2670 }
2671
2672
2673 static PyObject *_wrap_delete_Rect(PyObject *self, PyObject *args, PyObject *kwargs) {
2674 PyObject *resultobj;
2675 wxRect *arg1 = (wxRect *) 0 ;
2676 PyObject * obj0 = 0 ;
2677 char *kwnames[] = {
2678 (char *) "self", NULL
2679 };
2680
2681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Rect",kwnames,&obj0)) goto fail;
2682 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2683 {
2684 PyThreadState* __tstate = wxPyBeginAllowThreads();
2685 delete arg1;
2686
2687 wxPyEndAllowThreads(__tstate);
2688 if (PyErr_Occurred()) SWIG_fail;
2689 }
2690 Py_INCREF(Py_None); resultobj = Py_None;
2691 return resultobj;
2692 fail:
2693 return NULL;
2694 }
2695
2696
2697 static PyObject *_wrap_Rect_GetX(PyObject *self, PyObject *args, PyObject *kwargs) {
2698 PyObject *resultobj;
2699 wxRect *arg1 = (wxRect *) 0 ;
2700 int result;
2701 PyObject * obj0 = 0 ;
2702 char *kwnames[] = {
2703 (char *) "self", NULL
2704 };
2705
2706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetX",kwnames,&obj0)) goto fail;
2707 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2708 {
2709 PyThreadState* __tstate = wxPyBeginAllowThreads();
2710 result = (int)((wxRect const *)arg1)->GetX();
2711
2712 wxPyEndAllowThreads(__tstate);
2713 if (PyErr_Occurred()) SWIG_fail;
2714 }
2715 resultobj = PyInt_FromLong((long)result);
2716 return resultobj;
2717 fail:
2718 return NULL;
2719 }
2720
2721
2722 static PyObject *_wrap_Rect_SetX(PyObject *self, PyObject *args, PyObject *kwargs) {
2723 PyObject *resultobj;
2724 wxRect *arg1 = (wxRect *) 0 ;
2725 int arg2 ;
2726 PyObject * obj0 = 0 ;
2727 char *kwnames[] = {
2728 (char *) "self",(char *) "x", NULL
2729 };
2730
2731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Rect_SetX",kwnames,&obj0,&arg2)) goto fail;
2732 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2733 {
2734 PyThreadState* __tstate = wxPyBeginAllowThreads();
2735 (arg1)->SetX(arg2);
2736
2737 wxPyEndAllowThreads(__tstate);
2738 if (PyErr_Occurred()) SWIG_fail;
2739 }
2740 Py_INCREF(Py_None); resultobj = Py_None;
2741 return resultobj;
2742 fail:
2743 return NULL;
2744 }
2745
2746
2747 static PyObject *_wrap_Rect_GetY(PyObject *self, PyObject *args, PyObject *kwargs) {
2748 PyObject *resultobj;
2749 wxRect *arg1 = (wxRect *) 0 ;
2750 int result;
2751 PyObject * obj0 = 0 ;
2752 char *kwnames[] = {
2753 (char *) "self", NULL
2754 };
2755
2756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetY",kwnames,&obj0)) goto fail;
2757 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2758 {
2759 PyThreadState* __tstate = wxPyBeginAllowThreads();
2760 result = (int)(arg1)->GetY();
2761
2762 wxPyEndAllowThreads(__tstate);
2763 if (PyErr_Occurred()) SWIG_fail;
2764 }
2765 resultobj = PyInt_FromLong((long)result);
2766 return resultobj;
2767 fail:
2768 return NULL;
2769 }
2770
2771
2772 static PyObject *_wrap_Rect_SetY(PyObject *self, PyObject *args, PyObject *kwargs) {
2773 PyObject *resultobj;
2774 wxRect *arg1 = (wxRect *) 0 ;
2775 int arg2 ;
2776 PyObject * obj0 = 0 ;
2777 char *kwnames[] = {
2778 (char *) "self",(char *) "y", NULL
2779 };
2780
2781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Rect_SetY",kwnames,&obj0,&arg2)) goto fail;
2782 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2783 {
2784 PyThreadState* __tstate = wxPyBeginAllowThreads();
2785 (arg1)->SetY(arg2);
2786
2787 wxPyEndAllowThreads(__tstate);
2788 if (PyErr_Occurred()) SWIG_fail;
2789 }
2790 Py_INCREF(Py_None); resultobj = Py_None;
2791 return resultobj;
2792 fail:
2793 return NULL;
2794 }
2795
2796
2797 static PyObject *_wrap_Rect_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
2798 PyObject *resultobj;
2799 wxRect *arg1 = (wxRect *) 0 ;
2800 int result;
2801 PyObject * obj0 = 0 ;
2802 char *kwnames[] = {
2803 (char *) "self", NULL
2804 };
2805
2806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetWidth",kwnames,&obj0)) goto fail;
2807 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2808 {
2809 PyThreadState* __tstate = wxPyBeginAllowThreads();
2810 result = (int)((wxRect const *)arg1)->GetWidth();
2811
2812 wxPyEndAllowThreads(__tstate);
2813 if (PyErr_Occurred()) SWIG_fail;
2814 }
2815 resultobj = PyInt_FromLong((long)result);
2816 return resultobj;
2817 fail:
2818 return NULL;
2819 }
2820
2821
2822 static PyObject *_wrap_Rect_SetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
2823 PyObject *resultobj;
2824 wxRect *arg1 = (wxRect *) 0 ;
2825 int arg2 ;
2826 PyObject * obj0 = 0 ;
2827 char *kwnames[] = {
2828 (char *) "self",(char *) "w", NULL
2829 };
2830
2831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Rect_SetWidth",kwnames,&obj0,&arg2)) goto fail;
2832 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2833 {
2834 PyThreadState* __tstate = wxPyBeginAllowThreads();
2835 (arg1)->SetWidth(arg2);
2836
2837 wxPyEndAllowThreads(__tstate);
2838 if (PyErr_Occurred()) SWIG_fail;
2839 }
2840 Py_INCREF(Py_None); resultobj = Py_None;
2841 return resultobj;
2842 fail:
2843 return NULL;
2844 }
2845
2846
2847 static PyObject *_wrap_Rect_GetHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
2848 PyObject *resultobj;
2849 wxRect *arg1 = (wxRect *) 0 ;
2850 int result;
2851 PyObject * obj0 = 0 ;
2852 char *kwnames[] = {
2853 (char *) "self", NULL
2854 };
2855
2856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetHeight",kwnames,&obj0)) goto fail;
2857 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2858 {
2859 PyThreadState* __tstate = wxPyBeginAllowThreads();
2860 result = (int)((wxRect const *)arg1)->GetHeight();
2861
2862 wxPyEndAllowThreads(__tstate);
2863 if (PyErr_Occurred()) SWIG_fail;
2864 }
2865 resultobj = PyInt_FromLong((long)result);
2866 return resultobj;
2867 fail:
2868 return NULL;
2869 }
2870
2871
2872 static PyObject *_wrap_Rect_SetHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
2873 PyObject *resultobj;
2874 wxRect *arg1 = (wxRect *) 0 ;
2875 int arg2 ;
2876 PyObject * obj0 = 0 ;
2877 char *kwnames[] = {
2878 (char *) "self",(char *) "h", NULL
2879 };
2880
2881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Rect_SetHeight",kwnames,&obj0,&arg2)) goto fail;
2882 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2883 {
2884 PyThreadState* __tstate = wxPyBeginAllowThreads();
2885 (arg1)->SetHeight(arg2);
2886
2887 wxPyEndAllowThreads(__tstate);
2888 if (PyErr_Occurred()) SWIG_fail;
2889 }
2890 Py_INCREF(Py_None); resultobj = Py_None;
2891 return resultobj;
2892 fail:
2893 return NULL;
2894 }
2895
2896
2897 static PyObject *_wrap_Rect_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
2898 PyObject *resultobj;
2899 wxRect *arg1 = (wxRect *) 0 ;
2900 wxPoint result;
2901 PyObject * obj0 = 0 ;
2902 char *kwnames[] = {
2903 (char *) "self", NULL
2904 };
2905
2906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetPosition",kwnames,&obj0)) goto fail;
2907 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2908 {
2909 PyThreadState* __tstate = wxPyBeginAllowThreads();
2910 result = ((wxRect const *)arg1)->GetPosition();
2911
2912 wxPyEndAllowThreads(__tstate);
2913 if (PyErr_Occurred()) SWIG_fail;
2914 }
2915 {
2916 wxPoint * resultptr;
2917 resultptr = new wxPoint((wxPoint &) result);
2918 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
2919 }
2920 return resultobj;
2921 fail:
2922 return NULL;
2923 }
2924
2925
2926 static PyObject *_wrap_Rect_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
2927 PyObject *resultobj;
2928 wxRect *arg1 = (wxRect *) 0 ;
2929 wxPoint *arg2 = 0 ;
2930 wxPoint temp2 ;
2931 PyObject * obj0 = 0 ;
2932 PyObject * obj1 = 0 ;
2933 char *kwnames[] = {
2934 (char *) "self",(char *) "p", NULL
2935 };
2936
2937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetPosition",kwnames,&obj0,&obj1)) goto fail;
2938 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2939 {
2940 arg2 = &temp2;
2941 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
2942 }
2943 {
2944 PyThreadState* __tstate = wxPyBeginAllowThreads();
2945 (arg1)->SetPosition((wxPoint const &)*arg2);
2946
2947 wxPyEndAllowThreads(__tstate);
2948 if (PyErr_Occurred()) SWIG_fail;
2949 }
2950 Py_INCREF(Py_None); resultobj = Py_None;
2951 return resultobj;
2952 fail:
2953 return NULL;
2954 }
2955
2956
2957 static PyObject *_wrap_Rect_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
2958 PyObject *resultobj;
2959 wxRect *arg1 = (wxRect *) 0 ;
2960 wxSize result;
2961 PyObject * obj0 = 0 ;
2962 char *kwnames[] = {
2963 (char *) "self", NULL
2964 };
2965
2966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetSize",kwnames,&obj0)) goto fail;
2967 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2968 {
2969 PyThreadState* __tstate = wxPyBeginAllowThreads();
2970 result = ((wxRect const *)arg1)->GetSize();
2971
2972 wxPyEndAllowThreads(__tstate);
2973 if (PyErr_Occurred()) SWIG_fail;
2974 }
2975 {
2976 wxSize * resultptr;
2977 resultptr = new wxSize((wxSize &) result);
2978 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
2979 }
2980 return resultobj;
2981 fail:
2982 return NULL;
2983 }
2984
2985
2986 static PyObject *_wrap_Rect_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
2987 PyObject *resultobj;
2988 wxRect *arg1 = (wxRect *) 0 ;
2989 wxSize *arg2 = 0 ;
2990 wxSize temp2 ;
2991 PyObject * obj0 = 0 ;
2992 PyObject * obj1 = 0 ;
2993 char *kwnames[] = {
2994 (char *) "self",(char *) "s", NULL
2995 };
2996
2997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetSize",kwnames,&obj0,&obj1)) goto fail;
2998 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2999 {
3000 arg2 = &temp2;
3001 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
3002 }
3003 {
3004 PyThreadState* __tstate = wxPyBeginAllowThreads();
3005 (arg1)->SetSize((wxSize const &)*arg2);
3006
3007 wxPyEndAllowThreads(__tstate);
3008 if (PyErr_Occurred()) SWIG_fail;
3009 }
3010 Py_INCREF(Py_None); resultobj = Py_None;
3011 return resultobj;
3012 fail:
3013 return NULL;
3014 }
3015
3016
3017 static PyObject *_wrap_Rect_GetLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
3018 PyObject *resultobj;
3019 wxRect *arg1 = (wxRect *) 0 ;
3020 int result;
3021 PyObject * obj0 = 0 ;
3022 char *kwnames[] = {
3023 (char *) "self", NULL
3024 };
3025
3026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetLeft",kwnames,&obj0)) goto fail;
3027 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3028 {
3029 PyThreadState* __tstate = wxPyBeginAllowThreads();
3030 result = (int)((wxRect const *)arg1)->GetLeft();
3031
3032 wxPyEndAllowThreads(__tstate);
3033 if (PyErr_Occurred()) SWIG_fail;
3034 }
3035 resultobj = PyInt_FromLong((long)result);
3036 return resultobj;
3037 fail:
3038 return NULL;
3039 }
3040
3041
3042 static PyObject *_wrap_Rect_GetTop(PyObject *self, PyObject *args, PyObject *kwargs) {
3043 PyObject *resultobj;
3044 wxRect *arg1 = (wxRect *) 0 ;
3045 int result;
3046 PyObject * obj0 = 0 ;
3047 char *kwnames[] = {
3048 (char *) "self", NULL
3049 };
3050
3051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetTop",kwnames,&obj0)) goto fail;
3052 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3053 {
3054 PyThreadState* __tstate = wxPyBeginAllowThreads();
3055 result = (int)((wxRect const *)arg1)->GetTop();
3056
3057 wxPyEndAllowThreads(__tstate);
3058 if (PyErr_Occurred()) SWIG_fail;
3059 }
3060 resultobj = PyInt_FromLong((long)result);
3061 return resultobj;
3062 fail:
3063 return NULL;
3064 }
3065
3066
3067 static PyObject *_wrap_Rect_GetBottom(PyObject *self, PyObject *args, PyObject *kwargs) {
3068 PyObject *resultobj;
3069 wxRect *arg1 = (wxRect *) 0 ;
3070 int result;
3071 PyObject * obj0 = 0 ;
3072 char *kwnames[] = {
3073 (char *) "self", NULL
3074 };
3075
3076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetBottom",kwnames,&obj0)) goto fail;
3077 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3078 {
3079 PyThreadState* __tstate = wxPyBeginAllowThreads();
3080 result = (int)((wxRect const *)arg1)->GetBottom();
3081
3082 wxPyEndAllowThreads(__tstate);
3083 if (PyErr_Occurred()) SWIG_fail;
3084 }
3085 resultobj = PyInt_FromLong((long)result);
3086 return resultobj;
3087 fail:
3088 return NULL;
3089 }
3090
3091
3092 static PyObject *_wrap_Rect_GetRight(PyObject *self, PyObject *args, PyObject *kwargs) {
3093 PyObject *resultobj;
3094 wxRect *arg1 = (wxRect *) 0 ;
3095 int result;
3096 PyObject * obj0 = 0 ;
3097 char *kwnames[] = {
3098 (char *) "self", NULL
3099 };
3100
3101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetRight",kwnames,&obj0)) goto fail;
3102 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3103 {
3104 PyThreadState* __tstate = wxPyBeginAllowThreads();
3105 result = (int)((wxRect const *)arg1)->GetRight();
3106
3107 wxPyEndAllowThreads(__tstate);
3108 if (PyErr_Occurred()) SWIG_fail;
3109 }
3110 resultobj = PyInt_FromLong((long)result);
3111 return resultobj;
3112 fail:
3113 return NULL;
3114 }
3115
3116
3117 static PyObject *_wrap_Rect_SetLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
3118 PyObject *resultobj;
3119 wxRect *arg1 = (wxRect *) 0 ;
3120 int arg2 ;
3121 PyObject * obj0 = 0 ;
3122 char *kwnames[] = {
3123 (char *) "self",(char *) "left", NULL
3124 };
3125
3126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Rect_SetLeft",kwnames,&obj0,&arg2)) goto fail;
3127 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3128 {
3129 PyThreadState* __tstate = wxPyBeginAllowThreads();
3130 (arg1)->SetLeft(arg2);
3131
3132 wxPyEndAllowThreads(__tstate);
3133 if (PyErr_Occurred()) SWIG_fail;
3134 }
3135 Py_INCREF(Py_None); resultobj = Py_None;
3136 return resultobj;
3137 fail:
3138 return NULL;
3139 }
3140
3141
3142 static PyObject *_wrap_Rect_SetRight(PyObject *self, PyObject *args, PyObject *kwargs) {
3143 PyObject *resultobj;
3144 wxRect *arg1 = (wxRect *) 0 ;
3145 int arg2 ;
3146 PyObject * obj0 = 0 ;
3147 char *kwnames[] = {
3148 (char *) "self",(char *) "right", NULL
3149 };
3150
3151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Rect_SetRight",kwnames,&obj0,&arg2)) goto fail;
3152 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3153 {
3154 PyThreadState* __tstate = wxPyBeginAllowThreads();
3155 (arg1)->SetRight(arg2);
3156
3157 wxPyEndAllowThreads(__tstate);
3158 if (PyErr_Occurred()) SWIG_fail;
3159 }
3160 Py_INCREF(Py_None); resultobj = Py_None;
3161 return resultobj;
3162 fail:
3163 return NULL;
3164 }
3165
3166
3167 static PyObject *_wrap_Rect_SetTop(PyObject *self, PyObject *args, PyObject *kwargs) {
3168 PyObject *resultobj;
3169 wxRect *arg1 = (wxRect *) 0 ;
3170 int arg2 ;
3171 PyObject * obj0 = 0 ;
3172 char *kwnames[] = {
3173 (char *) "self",(char *) "top", NULL
3174 };
3175
3176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Rect_SetTop",kwnames,&obj0,&arg2)) goto fail;
3177 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3178 {
3179 PyThreadState* __tstate = wxPyBeginAllowThreads();
3180 (arg1)->SetTop(arg2);
3181
3182 wxPyEndAllowThreads(__tstate);
3183 if (PyErr_Occurred()) SWIG_fail;
3184 }
3185 Py_INCREF(Py_None); resultobj = Py_None;
3186 return resultobj;
3187 fail:
3188 return NULL;
3189 }
3190
3191
3192 static PyObject *_wrap_Rect_SetBottom(PyObject *self, PyObject *args, PyObject *kwargs) {
3193 PyObject *resultobj;
3194 wxRect *arg1 = (wxRect *) 0 ;
3195 int arg2 ;
3196 PyObject * obj0 = 0 ;
3197 char *kwnames[] = {
3198 (char *) "self",(char *) "bottom", NULL
3199 };
3200
3201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Rect_SetBottom",kwnames,&obj0,&arg2)) goto fail;
3202 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3203 {
3204 PyThreadState* __tstate = wxPyBeginAllowThreads();
3205 (arg1)->SetBottom(arg2);
3206
3207 wxPyEndAllowThreads(__tstate);
3208 if (PyErr_Occurred()) SWIG_fail;
3209 }
3210 Py_INCREF(Py_None); resultobj = Py_None;
3211 return resultobj;
3212 fail:
3213 return NULL;
3214 }
3215
3216
3217 static PyObject *_wrap_Rect_Inflate(PyObject *self, PyObject *args, PyObject *kwargs) {
3218 PyObject *resultobj;
3219 wxRect *arg1 = (wxRect *) 0 ;
3220 int arg2 ;
3221 int arg3 ;
3222 wxRect *result;
3223 PyObject * obj0 = 0 ;
3224 char *kwnames[] = {
3225 (char *) "self",(char *) "dx",(char *) "dy", NULL
3226 };
3227
3228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Rect_Inflate",kwnames,&obj0,&arg2,&arg3)) goto fail;
3229 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3230 {
3231 PyThreadState* __tstate = wxPyBeginAllowThreads();
3232 {
3233 wxRect &_result_ref = (arg1)->Inflate(arg2,arg3);
3234 result = (wxRect *) &_result_ref;
3235 }
3236
3237 wxPyEndAllowThreads(__tstate);
3238 if (PyErr_Occurred()) SWIG_fail;
3239 }
3240 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRect, 0);
3241 return resultobj;
3242 fail:
3243 return NULL;
3244 }
3245
3246
3247 static PyObject *_wrap_Rect_Deflate(PyObject *self, PyObject *args, PyObject *kwargs) {
3248 PyObject *resultobj;
3249 wxRect *arg1 = (wxRect *) 0 ;
3250 int arg2 ;
3251 int arg3 ;
3252 wxRect *result;
3253 PyObject * obj0 = 0 ;
3254 char *kwnames[] = {
3255 (char *) "self",(char *) "dx",(char *) "dy", NULL
3256 };
3257
3258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Rect_Deflate",kwnames,&obj0,&arg2,&arg3)) goto fail;
3259 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3260 {
3261 PyThreadState* __tstate = wxPyBeginAllowThreads();
3262 {
3263 wxRect &_result_ref = (arg1)->Deflate(arg2,arg3);
3264 result = (wxRect *) &_result_ref;
3265 }
3266
3267 wxPyEndAllowThreads(__tstate);
3268 if (PyErr_Occurred()) SWIG_fail;
3269 }
3270 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRect, 0);
3271 return resultobj;
3272 fail:
3273 return NULL;
3274 }
3275
3276
3277 static PyObject *_wrap_Rect_OffsetXY(PyObject *self, PyObject *args, PyObject *kwargs) {
3278 PyObject *resultobj;
3279 wxRect *arg1 = (wxRect *) 0 ;
3280 int arg2 ;
3281 int arg3 ;
3282 PyObject * obj0 = 0 ;
3283 char *kwnames[] = {
3284 (char *) "self",(char *) "dx",(char *) "dy", NULL
3285 };
3286
3287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Rect_OffsetXY",kwnames,&obj0,&arg2,&arg3)) goto fail;
3288 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3289 {
3290 PyThreadState* __tstate = wxPyBeginAllowThreads();
3291 (arg1)->Offset(arg2,arg3);
3292
3293 wxPyEndAllowThreads(__tstate);
3294 if (PyErr_Occurred()) SWIG_fail;
3295 }
3296 Py_INCREF(Py_None); resultobj = Py_None;
3297 return resultobj;
3298 fail:
3299 return NULL;
3300 }
3301
3302
3303 static PyObject *_wrap_Rect_Offset(PyObject *self, PyObject *args, PyObject *kwargs) {
3304 PyObject *resultobj;
3305 wxRect *arg1 = (wxRect *) 0 ;
3306 wxPoint *arg2 = 0 ;
3307 wxPoint temp2 ;
3308 PyObject * obj0 = 0 ;
3309 PyObject * obj1 = 0 ;
3310 char *kwnames[] = {
3311 (char *) "self",(char *) "pt", NULL
3312 };
3313
3314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_Offset",kwnames,&obj0,&obj1)) goto fail;
3315 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3316 {
3317 arg2 = &temp2;
3318 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3319 }
3320 {
3321 PyThreadState* __tstate = wxPyBeginAllowThreads();
3322 (arg1)->Offset((wxPoint const &)*arg2);
3323
3324 wxPyEndAllowThreads(__tstate);
3325 if (PyErr_Occurred()) SWIG_fail;
3326 }
3327 Py_INCREF(Py_None); resultobj = Py_None;
3328 return resultobj;
3329 fail:
3330 return NULL;
3331 }
3332
3333
3334 static PyObject *_wrap_Rect_Intersect(PyObject *self, PyObject *args, PyObject *kwargs) {
3335 PyObject *resultobj;
3336 wxRect *arg1 = (wxRect *) 0 ;
3337 wxRect *arg2 = 0 ;
3338 wxRect *result;
3339 wxRect temp2 ;
3340 PyObject * obj0 = 0 ;
3341 PyObject * obj1 = 0 ;
3342 char *kwnames[] = {
3343 (char *) "self",(char *) "rect", NULL
3344 };
3345
3346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_Intersect",kwnames,&obj0,&obj1)) goto fail;
3347 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3348 {
3349 arg2 = &temp2;
3350 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
3351 }
3352 {
3353 PyThreadState* __tstate = wxPyBeginAllowThreads();
3354 {
3355 wxRect &_result_ref = (arg1)->Intersect((wxRect const &)*arg2);
3356 result = (wxRect *) &_result_ref;
3357 }
3358
3359 wxPyEndAllowThreads(__tstate);
3360 if (PyErr_Occurred()) SWIG_fail;
3361 }
3362 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRect, 0);
3363 return resultobj;
3364 fail:
3365 return NULL;
3366 }
3367
3368
3369 static PyObject *_wrap_Rect___add__(PyObject *self, PyObject *args, PyObject *kwargs) {
3370 PyObject *resultobj;
3371 wxRect *arg1 = (wxRect *) 0 ;
3372 wxRect *arg2 = 0 ;
3373 wxRect result;
3374 wxRect temp2 ;
3375 PyObject * obj0 = 0 ;
3376 PyObject * obj1 = 0 ;
3377 char *kwnames[] = {
3378 (char *) "self",(char *) "rect", NULL
3379 };
3380
3381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect___add__",kwnames,&obj0,&obj1)) goto fail;
3382 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3383 {
3384 arg2 = &temp2;
3385 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
3386 }
3387 {
3388 PyThreadState* __tstate = wxPyBeginAllowThreads();
3389 result = ((wxRect const *)arg1)->operator +((wxRect const &)*arg2);
3390
3391 wxPyEndAllowThreads(__tstate);
3392 if (PyErr_Occurred()) SWIG_fail;
3393 }
3394 {
3395 wxRect * resultptr;
3396 resultptr = new wxRect((wxRect &) result);
3397 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
3398 }
3399 return resultobj;
3400 fail:
3401 return NULL;
3402 }
3403
3404
3405 static PyObject *_wrap_Rect___iadd__(PyObject *self, PyObject *args, PyObject *kwargs) {
3406 PyObject *resultobj;
3407 wxRect *arg1 = (wxRect *) 0 ;
3408 wxRect *arg2 = 0 ;
3409 wxRect *result;
3410 wxRect temp2 ;
3411 PyObject * obj0 = 0 ;
3412 PyObject * obj1 = 0 ;
3413 char *kwnames[] = {
3414 (char *) "self",(char *) "rect", NULL
3415 };
3416
3417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect___iadd__",kwnames,&obj0,&obj1)) goto fail;
3418 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3419 {
3420 arg2 = &temp2;
3421 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
3422 }
3423 {
3424 PyThreadState* __tstate = wxPyBeginAllowThreads();
3425 {
3426 wxRect &_result_ref = (arg1)->operator +=((wxRect const &)*arg2);
3427 result = (wxRect *) &_result_ref;
3428 }
3429
3430 wxPyEndAllowThreads(__tstate);
3431 if (PyErr_Occurred()) SWIG_fail;
3432 }
3433 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRect, 0);
3434 return resultobj;
3435 fail:
3436 return NULL;
3437 }
3438
3439
3440 static PyObject *_wrap_Rect___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
3441 PyObject *resultobj;
3442 wxRect *arg1 = (wxRect *) 0 ;
3443 wxRect *arg2 = 0 ;
3444 bool result;
3445 wxRect temp2 ;
3446 PyObject * obj0 = 0 ;
3447 PyObject * obj1 = 0 ;
3448 char *kwnames[] = {
3449 (char *) "self",(char *) "rect", NULL
3450 };
3451
3452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect___eq__",kwnames,&obj0,&obj1)) goto fail;
3453 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3454 {
3455 arg2 = &temp2;
3456 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
3457 }
3458 {
3459 PyThreadState* __tstate = wxPyBeginAllowThreads();
3460 result = (bool)((wxRect const *)arg1)->operator ==((wxRect const &)*arg2);
3461
3462 wxPyEndAllowThreads(__tstate);
3463 if (PyErr_Occurred()) SWIG_fail;
3464 }
3465 resultobj = PyInt_FromLong((long)result);
3466 return resultobj;
3467 fail:
3468 return NULL;
3469 }
3470
3471
3472 static PyObject *_wrap_Rect___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
3473 PyObject *resultobj;
3474 wxRect *arg1 = (wxRect *) 0 ;
3475 wxRect *arg2 = 0 ;
3476 bool result;
3477 wxRect temp2 ;
3478 PyObject * obj0 = 0 ;
3479 PyObject * obj1 = 0 ;
3480 char *kwnames[] = {
3481 (char *) "self",(char *) "rect", NULL
3482 };
3483
3484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect___ne__",kwnames,&obj0,&obj1)) goto fail;
3485 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3486 {
3487 arg2 = &temp2;
3488 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
3489 }
3490 {
3491 PyThreadState* __tstate = wxPyBeginAllowThreads();
3492 result = (bool)((wxRect const *)arg1)->operator !=((wxRect const &)*arg2);
3493
3494 wxPyEndAllowThreads(__tstate);
3495 if (PyErr_Occurred()) SWIG_fail;
3496 }
3497 resultobj = PyInt_FromLong((long)result);
3498 return resultobj;
3499 fail:
3500 return NULL;
3501 }
3502
3503
3504 static PyObject *_wrap_Rect_InsideXY(PyObject *self, PyObject *args, PyObject *kwargs) {
3505 PyObject *resultobj;
3506 wxRect *arg1 = (wxRect *) 0 ;
3507 int arg2 ;
3508 int arg3 ;
3509 bool result;
3510 PyObject * obj0 = 0 ;
3511 char *kwnames[] = {
3512 (char *) "self",(char *) "x",(char *) "y", NULL
3513 };
3514
3515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Rect_InsideXY",kwnames,&obj0,&arg2,&arg3)) goto fail;
3516 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3517 {
3518 PyThreadState* __tstate = wxPyBeginAllowThreads();
3519 result = (bool)((wxRect const *)arg1)->Inside(arg2,arg3);
3520
3521 wxPyEndAllowThreads(__tstate);
3522 if (PyErr_Occurred()) SWIG_fail;
3523 }
3524 resultobj = PyInt_FromLong((long)result);
3525 return resultobj;
3526 fail:
3527 return NULL;
3528 }
3529
3530
3531 static PyObject *_wrap_Rect_Inside(PyObject *self, PyObject *args, PyObject *kwargs) {
3532 PyObject *resultobj;
3533 wxRect *arg1 = (wxRect *) 0 ;
3534 wxPoint *arg2 = 0 ;
3535 bool result;
3536 wxPoint temp2 ;
3537 PyObject * obj0 = 0 ;
3538 PyObject * obj1 = 0 ;
3539 char *kwnames[] = {
3540 (char *) "self",(char *) "pt", NULL
3541 };
3542
3543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_Inside",kwnames,&obj0,&obj1)) goto fail;
3544 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3545 {
3546 arg2 = &temp2;
3547 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3548 }
3549 {
3550 PyThreadState* __tstate = wxPyBeginAllowThreads();
3551 result = (bool)((wxRect const *)arg1)->Inside((wxPoint const &)*arg2);
3552
3553 wxPyEndAllowThreads(__tstate);
3554 if (PyErr_Occurred()) SWIG_fail;
3555 }
3556 resultobj = PyInt_FromLong((long)result);
3557 return resultobj;
3558 fail:
3559 return NULL;
3560 }
3561
3562
3563 static PyObject *_wrap_Rect_Intersects(PyObject *self, PyObject *args, PyObject *kwargs) {
3564 PyObject *resultobj;
3565 wxRect *arg1 = (wxRect *) 0 ;
3566 wxRect *arg2 = 0 ;
3567 bool result;
3568 wxRect temp2 ;
3569 PyObject * obj0 = 0 ;
3570 PyObject * obj1 = 0 ;
3571 char *kwnames[] = {
3572 (char *) "self",(char *) "rect", NULL
3573 };
3574
3575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_Intersects",kwnames,&obj0,&obj1)) goto fail;
3576 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3577 {
3578 arg2 = &temp2;
3579 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
3580 }
3581 {
3582 PyThreadState* __tstate = wxPyBeginAllowThreads();
3583 result = (bool)((wxRect const *)arg1)->Intersects((wxRect const &)*arg2);
3584
3585 wxPyEndAllowThreads(__tstate);
3586 if (PyErr_Occurred()) SWIG_fail;
3587 }
3588 resultobj = PyInt_FromLong((long)result);
3589 return resultobj;
3590 fail:
3591 return NULL;
3592 }
3593
3594
3595 static PyObject *_wrap_Rect_x_set(PyObject *self, PyObject *args, PyObject *kwargs) {
3596 PyObject *resultobj;
3597 wxRect *arg1 = (wxRect *) 0 ;
3598 int arg2 ;
3599 PyObject * obj0 = 0 ;
3600 char *kwnames[] = {
3601 (char *) "self",(char *) "x", NULL
3602 };
3603
3604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Rect_x_set",kwnames,&obj0,&arg2)) goto fail;
3605 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3606 if (arg1) (arg1)->x = arg2;
3607
3608 Py_INCREF(Py_None); resultobj = Py_None;
3609 return resultobj;
3610 fail:
3611 return NULL;
3612 }
3613
3614
3615 static PyObject *_wrap_Rect_x_get(PyObject *self, PyObject *args, PyObject *kwargs) {
3616 PyObject *resultobj;
3617 wxRect *arg1 = (wxRect *) 0 ;
3618 int result;
3619 PyObject * obj0 = 0 ;
3620 char *kwnames[] = {
3621 (char *) "self", NULL
3622 };
3623
3624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_x_get",kwnames,&obj0)) goto fail;
3625 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3626 result = (int) ((arg1)->x);
3627
3628 resultobj = PyInt_FromLong((long)result);
3629 return resultobj;
3630 fail:
3631 return NULL;
3632 }
3633
3634
3635 static PyObject *_wrap_Rect_y_set(PyObject *self, PyObject *args, PyObject *kwargs) {
3636 PyObject *resultobj;
3637 wxRect *arg1 = (wxRect *) 0 ;
3638 int arg2 ;
3639 PyObject * obj0 = 0 ;
3640 char *kwnames[] = {
3641 (char *) "self",(char *) "y", NULL
3642 };
3643
3644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Rect_y_set",kwnames,&obj0,&arg2)) goto fail;
3645 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3646 if (arg1) (arg1)->y = arg2;
3647
3648 Py_INCREF(Py_None); resultobj = Py_None;
3649 return resultobj;
3650 fail:
3651 return NULL;
3652 }
3653
3654
3655 static PyObject *_wrap_Rect_y_get(PyObject *self, PyObject *args, PyObject *kwargs) {
3656 PyObject *resultobj;
3657 wxRect *arg1 = (wxRect *) 0 ;
3658 int result;
3659 PyObject * obj0 = 0 ;
3660 char *kwnames[] = {
3661 (char *) "self", NULL
3662 };
3663
3664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_y_get",kwnames,&obj0)) goto fail;
3665 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3666 result = (int) ((arg1)->y);
3667
3668 resultobj = PyInt_FromLong((long)result);
3669 return resultobj;
3670 fail:
3671 return NULL;
3672 }
3673
3674
3675 static PyObject *_wrap_Rect_width_set(PyObject *self, PyObject *args, PyObject *kwargs) {
3676 PyObject *resultobj;
3677 wxRect *arg1 = (wxRect *) 0 ;
3678 int arg2 ;
3679 PyObject * obj0 = 0 ;
3680 char *kwnames[] = {
3681 (char *) "self",(char *) "width", NULL
3682 };
3683
3684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Rect_width_set",kwnames,&obj0,&arg2)) goto fail;
3685 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3686 if (arg1) (arg1)->width = arg2;
3687
3688 Py_INCREF(Py_None); resultobj = Py_None;
3689 return resultobj;
3690 fail:
3691 return NULL;
3692 }
3693
3694
3695 static PyObject *_wrap_Rect_width_get(PyObject *self, PyObject *args, PyObject *kwargs) {
3696 PyObject *resultobj;
3697 wxRect *arg1 = (wxRect *) 0 ;
3698 int result;
3699 PyObject * obj0 = 0 ;
3700 char *kwnames[] = {
3701 (char *) "self", NULL
3702 };
3703
3704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_width_get",kwnames,&obj0)) goto fail;
3705 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3706 result = (int) ((arg1)->width);
3707
3708 resultobj = PyInt_FromLong((long)result);
3709 return resultobj;
3710 fail:
3711 return NULL;
3712 }
3713
3714
3715 static PyObject *_wrap_Rect_height_set(PyObject *self, PyObject *args, PyObject *kwargs) {
3716 PyObject *resultobj;
3717 wxRect *arg1 = (wxRect *) 0 ;
3718 int arg2 ;
3719 PyObject * obj0 = 0 ;
3720 char *kwnames[] = {
3721 (char *) "self",(char *) "height", NULL
3722 };
3723
3724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Rect_height_set",kwnames,&obj0,&arg2)) goto fail;
3725 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3726 if (arg1) (arg1)->height = arg2;
3727
3728 Py_INCREF(Py_None); resultobj = Py_None;
3729 return resultobj;
3730 fail:
3731 return NULL;
3732 }
3733
3734
3735 static PyObject *_wrap_Rect_height_get(PyObject *self, PyObject *args, PyObject *kwargs) {
3736 PyObject *resultobj;
3737 wxRect *arg1 = (wxRect *) 0 ;
3738 int result;
3739 PyObject * obj0 = 0 ;
3740 char *kwnames[] = {
3741 (char *) "self", NULL
3742 };
3743
3744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_height_get",kwnames,&obj0)) goto fail;
3745 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3746 result = (int) ((arg1)->height);
3747
3748 resultobj = PyInt_FromLong((long)result);
3749 return resultobj;
3750 fail:
3751 return NULL;
3752 }
3753
3754
3755 static PyObject *_wrap_Rect_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
3756 PyObject *resultobj;
3757 wxRect *arg1 = (wxRect *) 0 ;
3758 int arg2 = (int) 0 ;
3759 int arg3 = (int) 0 ;
3760 int arg4 = (int) 0 ;
3761 int arg5 = (int) 0 ;
3762 PyObject * obj0 = 0 ;
3763 char *kwnames[] = {
3764 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
3765 };
3766
3767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iiii:Rect_Set",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
3768 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3769 {
3770 PyThreadState* __tstate = wxPyBeginAllowThreads();
3771 wxRect_Set(arg1,arg2,arg3,arg4,arg5);
3772
3773 wxPyEndAllowThreads(__tstate);
3774 if (PyErr_Occurred()) SWIG_fail;
3775 }
3776 Py_INCREF(Py_None); resultobj = Py_None;
3777 return resultobj;
3778 fail:
3779 return NULL;
3780 }
3781
3782
3783 static PyObject *_wrap_Rect_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
3784 PyObject *resultobj;
3785 wxRect *arg1 = (wxRect *) 0 ;
3786 PyObject *result;
3787 PyObject * obj0 = 0 ;
3788 char *kwnames[] = {
3789 (char *) "self", NULL
3790 };
3791
3792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_Get",kwnames,&obj0)) goto fail;
3793 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3794 {
3795 PyThreadState* __tstate = wxPyBeginAllowThreads();
3796 result = (PyObject *)wxRect_Get(arg1);
3797
3798 wxPyEndAllowThreads(__tstate);
3799 if (PyErr_Occurred()) SWIG_fail;
3800 }
3801 resultobj = result;
3802 return resultobj;
3803 fail:
3804 return NULL;
3805 }
3806
3807
3808 static PyObject * Rect_swigregister(PyObject *self, PyObject *args) {
3809 PyObject *obj;
3810 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3811 SWIG_TypeClientData(SWIGTYPE_p_wxRect, obj);
3812 Py_INCREF(obj);
3813 return Py_BuildValue((char *)"");
3814 }
3815 static PyObject *_wrap_IntersectRect(PyObject *self, PyObject *args, PyObject *kwargs) {
3816 PyObject *resultobj;
3817 wxRect *arg1 = (wxRect *) 0 ;
3818 wxRect *arg2 = (wxRect *) 0 ;
3819 PyObject *result;
3820 PyObject * obj0 = 0 ;
3821 PyObject * obj1 = 0 ;
3822 char *kwnames[] = {
3823 (char *) "r1",(char *) "r2", NULL
3824 };
3825
3826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IntersectRect",kwnames,&obj0,&obj1)) goto fail;
3827 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3828 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3829 {
3830 PyThreadState* __tstate = wxPyBeginAllowThreads();
3831 result = (PyObject *)wxIntersectRect(arg1,arg2);
3832
3833 wxPyEndAllowThreads(__tstate);
3834 if (PyErr_Occurred()) SWIG_fail;
3835 }
3836 resultobj = result;
3837 return resultobj;
3838 fail:
3839 return NULL;
3840 }
3841
3842
3843 static PyObject *_wrap_new_Point2D(PyObject *self, PyObject *args, PyObject *kwargs) {
3844 PyObject *resultobj;
3845 double arg1 = (double) 0.0 ;
3846 double arg2 = (double) 0.0 ;
3847 wxPoint2D *result;
3848 char *kwnames[] = {
3849 (char *) "x",(char *) "y", NULL
3850 };
3851
3852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|dd:new_Point2D",kwnames,&arg1,&arg2)) goto fail;
3853 {
3854 PyThreadState* __tstate = wxPyBeginAllowThreads();
3855 result = (wxPoint2D *)new wxPoint2D(arg1,arg2);
3856
3857 wxPyEndAllowThreads(__tstate);
3858 if (PyErr_Occurred()) SWIG_fail;
3859 }
3860 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint2D, 1);
3861 return resultobj;
3862 fail:
3863 return NULL;
3864 }
3865
3866
3867 static PyObject *_wrap_new_Point2DCopy(PyObject *self, PyObject *args, PyObject *kwargs) {
3868 PyObject *resultobj;
3869 wxPoint2D *arg1 = 0 ;
3870 wxPoint2D *result;
3871 wxPoint2D temp1 ;
3872 PyObject * obj0 = 0 ;
3873 char *kwnames[] = {
3874 (char *) "pt", NULL
3875 };
3876
3877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_Point2DCopy",kwnames,&obj0)) goto fail;
3878 {
3879 arg1 = &temp1;
3880 if ( ! wxPoint2D_helper(obj0, &arg1)) SWIG_fail;
3881 }
3882 {
3883 PyThreadState* __tstate = wxPyBeginAllowThreads();
3884 result = (wxPoint2D *)new wxPoint2D((wxPoint2D const &)*arg1);
3885
3886 wxPyEndAllowThreads(__tstate);
3887 if (PyErr_Occurred()) SWIG_fail;
3888 }
3889 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint2D, 1);
3890 return resultobj;
3891 fail:
3892 return NULL;
3893 }
3894
3895
3896 static PyObject *_wrap_new_Point2DFromPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
3897 PyObject *resultobj;
3898 wxPoint *arg1 = 0 ;
3899 wxPoint2D *result;
3900 wxPoint temp1 ;
3901 PyObject * obj0 = 0 ;
3902 char *kwnames[] = {
3903 (char *) "pt", NULL
3904 };
3905
3906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_Point2DFromPoint",kwnames,&obj0)) goto fail;
3907 {
3908 arg1 = &temp1;
3909 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
3910 }
3911 {
3912 PyThreadState* __tstate = wxPyBeginAllowThreads();
3913 result = (wxPoint2D *)new wxPoint2D((wxPoint const &)*arg1);
3914
3915 wxPyEndAllowThreads(__tstate);
3916 if (PyErr_Occurred()) SWIG_fail;
3917 }
3918 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint2D, 1);
3919 return resultobj;
3920 fail:
3921 return NULL;
3922 }
3923
3924
3925 static PyObject *_wrap_Point2D_GetFloor(PyObject *self, PyObject *args, PyObject *kwargs) {
3926 PyObject *resultobj;
3927 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
3928 int *arg2 = (int *) 0 ;
3929 int *arg3 = (int *) 0 ;
3930 int temp2 ;
3931 int temp3 ;
3932 PyObject * obj0 = 0 ;
3933 char *kwnames[] = {
3934 (char *) "self", NULL
3935 };
3936
3937 arg2 = &temp2;
3938 arg3 = &temp3;
3939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D_GetFloor",kwnames,&obj0)) goto fail;
3940 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint2D,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3941 {
3942 PyThreadState* __tstate = wxPyBeginAllowThreads();
3943 ((wxPoint2D const *)arg1)->GetFloor(arg2,arg3);
3944
3945 wxPyEndAllowThreads(__tstate);
3946 if (PyErr_Occurred()) SWIG_fail;
3947 }
3948 Py_INCREF(Py_None); resultobj = Py_None;
3949 {
3950 PyObject *o = PyInt_FromLong((long) (*arg2));
3951 resultobj = t_output_helper(resultobj,o);
3952 }
3953 {
3954 PyObject *o = PyInt_FromLong((long) (*arg3));
3955 resultobj = t_output_helper(resultobj,o);
3956 }
3957 return resultobj;
3958 fail:
3959 return NULL;
3960 }
3961
3962
3963 static PyObject *_wrap_Point2D_GetRounded(PyObject *self, PyObject *args, PyObject *kwargs) {
3964 PyObject *resultobj;
3965 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
3966 int *arg2 = (int *) 0 ;
3967 int *arg3 = (int *) 0 ;
3968 int temp2 ;
3969 int temp3 ;
3970 PyObject * obj0 = 0 ;
3971 char *kwnames[] = {
3972 (char *) "self", NULL
3973 };
3974
3975 arg2 = &temp2;
3976 arg3 = &temp3;
3977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D_GetRounded",kwnames,&obj0)) goto fail;
3978 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint2D,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3979 {
3980 PyThreadState* __tstate = wxPyBeginAllowThreads();
3981 ((wxPoint2D const *)arg1)->GetRounded(arg2,arg3);
3982
3983 wxPyEndAllowThreads(__tstate);
3984 if (PyErr_Occurred()) SWIG_fail;
3985 }
3986 Py_INCREF(Py_None); resultobj = Py_None;
3987 {
3988 PyObject *o = PyInt_FromLong((long) (*arg2));
3989 resultobj = t_output_helper(resultobj,o);
3990 }
3991 {
3992 PyObject *o = PyInt_FromLong((long) (*arg3));
3993 resultobj = t_output_helper(resultobj,o);
3994 }
3995 return resultobj;
3996 fail:
3997 return NULL;
3998 }
3999
4000
4001 static PyObject *_wrap_Point2D_GetVectorLength(PyObject *self, PyObject *args, PyObject *kwargs) {
4002 PyObject *resultobj;
4003 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4004 double result;
4005 PyObject * obj0 = 0 ;
4006 char *kwnames[] = {
4007 (char *) "self", NULL
4008 };
4009
4010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D_GetVectorLength",kwnames,&obj0)) goto fail;
4011 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint2D,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4012 {
4013 PyThreadState* __tstate = wxPyBeginAllowThreads();
4014 result = (double)((wxPoint2D const *)arg1)->GetVectorLength();
4015
4016 wxPyEndAllowThreads(__tstate);
4017 if (PyErr_Occurred()) SWIG_fail;
4018 }
4019 resultobj = PyFloat_FromDouble(result);
4020 return resultobj;
4021 fail:
4022 return NULL;
4023 }
4024
4025
4026 static PyObject *_wrap_Point2D_GetVectorAngle(PyObject *self, PyObject *args, PyObject *kwargs) {
4027 PyObject *resultobj;
4028 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4029 double result;
4030 PyObject * obj0 = 0 ;
4031 char *kwnames[] = {
4032 (char *) "self", NULL
4033 };
4034
4035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D_GetVectorAngle",kwnames,&obj0)) goto fail;
4036 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint2D,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4037 {
4038 PyThreadState* __tstate = wxPyBeginAllowThreads();
4039 result = (double)((wxPoint2D const *)arg1)->GetVectorAngle();
4040
4041 wxPyEndAllowThreads(__tstate);
4042 if (PyErr_Occurred()) SWIG_fail;
4043 }
4044 resultobj = PyFloat_FromDouble(result);
4045 return resultobj;
4046 fail:
4047 return NULL;
4048 }
4049
4050
4051 static PyObject *_wrap_Point2D_SetVectorLength(PyObject *self, PyObject *args, PyObject *kwargs) {
4052 PyObject *resultobj;
4053 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4054 double arg2 ;
4055 PyObject * obj0 = 0 ;
4056 char *kwnames[] = {
4057 (char *) "self",(char *) "length", NULL
4058 };
4059
4060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Od:Point2D_SetVectorLength",kwnames,&obj0,&arg2)) goto fail;
4061 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint2D,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4062 {
4063 PyThreadState* __tstate = wxPyBeginAllowThreads();
4064 (arg1)->SetVectorLength(arg2);
4065
4066 wxPyEndAllowThreads(__tstate);
4067 if (PyErr_Occurred()) SWIG_fail;
4068 }
4069 Py_INCREF(Py_None); resultobj = Py_None;
4070 return resultobj;
4071 fail:
4072 return NULL;
4073 }
4074
4075
4076 static PyObject *_wrap_Point2D_SetVectorAngle(PyObject *self, PyObject *args, PyObject *kwargs) {
4077 PyObject *resultobj;
4078 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4079 double arg2 ;
4080 PyObject * obj0 = 0 ;
4081 char *kwnames[] = {
4082 (char *) "self",(char *) "degrees", NULL
4083 };
4084
4085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Od:Point2D_SetVectorAngle",kwnames,&obj0,&arg2)) goto fail;
4086 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint2D,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4087 {
4088 PyThreadState* __tstate = wxPyBeginAllowThreads();
4089 (arg1)->SetVectorAngle(arg2);
4090
4091 wxPyEndAllowThreads(__tstate);
4092 if (PyErr_Occurred()) SWIG_fail;
4093 }
4094 Py_INCREF(Py_None); resultobj = Py_None;
4095 return resultobj;
4096 fail:
4097 return NULL;
4098 }
4099
4100
4101 static PyObject *_wrap_Point2D_GetDistance(PyObject *self, PyObject *args, PyObject *kwargs) {
4102 PyObject *resultobj;
4103 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4104 wxPoint2D *arg2 = 0 ;
4105 double result;
4106 wxPoint2D temp2 ;
4107 PyObject * obj0 = 0 ;
4108 PyObject * obj1 = 0 ;
4109 char *kwnames[] = {
4110 (char *) "self",(char *) "pt", NULL
4111 };
4112
4113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D_GetDistance",kwnames,&obj0,&obj1)) goto fail;
4114 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint2D,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4115 {
4116 arg2 = &temp2;
4117 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
4118 }
4119 {
4120 PyThreadState* __tstate = wxPyBeginAllowThreads();
4121 result = (double)((wxPoint2D const *)arg1)->GetDistance((wxPoint2D const &)*arg2);
4122
4123 wxPyEndAllowThreads(__tstate);
4124 if (PyErr_Occurred()) SWIG_fail;
4125 }
4126 resultobj = PyFloat_FromDouble(result);
4127 return resultobj;
4128 fail:
4129 return NULL;
4130 }
4131
4132
4133 static PyObject *_wrap_Point2D_GetDistanceSquare(PyObject *self, PyObject *args, PyObject *kwargs) {
4134 PyObject *resultobj;
4135 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4136 wxPoint2D *arg2 = 0 ;
4137 double result;
4138 wxPoint2D temp2 ;
4139 PyObject * obj0 = 0 ;
4140 PyObject * obj1 = 0 ;
4141 char *kwnames[] = {
4142 (char *) "self",(char *) "pt", NULL
4143 };
4144
4145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D_GetDistanceSquare",kwnames,&obj0,&obj1)) goto fail;
4146 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint2D,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4147 {
4148 arg2 = &temp2;
4149 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
4150 }
4151 {
4152 PyThreadState* __tstate = wxPyBeginAllowThreads();
4153 result = (double)((wxPoint2D const *)arg1)->GetDistanceSquare((wxPoint2D const &)*arg2);
4154
4155 wxPyEndAllowThreads(__tstate);
4156 if (PyErr_Occurred()) SWIG_fail;
4157 }
4158 resultobj = PyFloat_FromDouble(result);
4159 return resultobj;
4160 fail:
4161 return NULL;
4162 }
4163
4164
4165 static PyObject *_wrap_Point2D_GetDotProduct(PyObject *self, PyObject *args, PyObject *kwargs) {
4166 PyObject *resultobj;
4167 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4168 wxPoint2D *arg2 = 0 ;
4169 double result;
4170 wxPoint2D temp2 ;
4171 PyObject * obj0 = 0 ;
4172 PyObject * obj1 = 0 ;
4173 char *kwnames[] = {
4174 (char *) "self",(char *) "vec", NULL
4175 };
4176
4177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D_GetDotProduct",kwnames,&obj0,&obj1)) goto fail;
4178 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint2D,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4179 {
4180 arg2 = &temp2;
4181 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
4182 }
4183 {
4184 PyThreadState* __tstate = wxPyBeginAllowThreads();
4185 result = (double)((wxPoint2D const *)arg1)->GetDotProduct((wxPoint2D const &)*arg2);
4186
4187 wxPyEndAllowThreads(__tstate);
4188 if (PyErr_Occurred()) SWIG_fail;
4189 }
4190 resultobj = PyFloat_FromDouble(result);
4191 return resultobj;
4192 fail:
4193 return NULL;
4194 }
4195
4196
4197 static PyObject *_wrap_Point2D_GetCrossProduct(PyObject *self, PyObject *args, PyObject *kwargs) {
4198 PyObject *resultobj;
4199 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4200 wxPoint2D *arg2 = 0 ;
4201 double result;
4202 wxPoint2D temp2 ;
4203 PyObject * obj0 = 0 ;
4204 PyObject * obj1 = 0 ;
4205 char *kwnames[] = {
4206 (char *) "self",(char *) "vec", NULL
4207 };
4208
4209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D_GetCrossProduct",kwnames,&obj0,&obj1)) goto fail;
4210 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint2D,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4211 {
4212 arg2 = &temp2;
4213 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
4214 }
4215 {
4216 PyThreadState* __tstate = wxPyBeginAllowThreads();
4217 result = (double)((wxPoint2D const *)arg1)->GetCrossProduct((wxPoint2D const &)*arg2);
4218
4219 wxPyEndAllowThreads(__tstate);
4220 if (PyErr_Occurred()) SWIG_fail;
4221 }
4222 resultobj = PyFloat_FromDouble(result);
4223 return resultobj;
4224 fail:
4225 return NULL;
4226 }
4227
4228
4229 static PyObject *_wrap_Point2D___neg__(PyObject *self, PyObject *args, PyObject *kwargs) {
4230 PyObject *resultobj;
4231 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4232 wxPoint2D result;
4233 PyObject * obj0 = 0 ;
4234 char *kwnames[] = {
4235 (char *) "self", NULL
4236 };
4237
4238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D___neg__",kwnames,&obj0)) goto fail;
4239 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint2D,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4240 {
4241 PyThreadState* __tstate = wxPyBeginAllowThreads();
4242 result = (arg1)->operator -();
4243
4244 wxPyEndAllowThreads(__tstate);
4245 if (PyErr_Occurred()) SWIG_fail;
4246 }
4247 {
4248 wxPoint2D * resultptr;
4249 resultptr = new wxPoint2D((wxPoint2D &) result);
4250 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint2D, 1);
4251 }
4252 return resultobj;
4253 fail:
4254 return NULL;
4255 }
4256
4257
4258 static PyObject *_wrap_Point2D___iadd__(PyObject *self, PyObject *args, PyObject *kwargs) {
4259 PyObject *resultobj;
4260 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4261 wxPoint2D *arg2 = 0 ;
4262 wxPoint2D *result;
4263 wxPoint2D temp2 ;
4264 PyObject * obj0 = 0 ;
4265 PyObject * obj1 = 0 ;
4266 char *kwnames[] = {
4267 (char *) "self",(char *) "pt", NULL
4268 };
4269
4270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D___iadd__",kwnames,&obj0,&obj1)) goto fail;
4271 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint2D,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4272 {
4273 arg2 = &temp2;
4274 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
4275 }
4276 {
4277 PyThreadState* __tstate = wxPyBeginAllowThreads();
4278 {
4279 wxPoint2D &_result_ref = (arg1)->operator +=((wxPoint2D const &)*arg2);
4280 result = (wxPoint2D *) &_result_ref;
4281 }
4282
4283 wxPyEndAllowThreads(__tstate);
4284 if (PyErr_Occurred()) SWIG_fail;
4285 }
4286 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint2D, 0);
4287 return resultobj;
4288 fail:
4289 return NULL;
4290 }
4291
4292
4293 static PyObject *_wrap_Point2D___isub__(PyObject *self, PyObject *args, PyObject *kwargs) {
4294 PyObject *resultobj;
4295 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4296 wxPoint2D *arg2 = 0 ;
4297 wxPoint2D *result;
4298 wxPoint2D temp2 ;
4299 PyObject * obj0 = 0 ;
4300 PyObject * obj1 = 0 ;
4301 char *kwnames[] = {
4302 (char *) "self",(char *) "pt", NULL
4303 };
4304
4305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D___isub__",kwnames,&obj0,&obj1)) goto fail;
4306 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint2D,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4307 {
4308 arg2 = &temp2;
4309 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
4310 }
4311 {
4312 PyThreadState* __tstate = wxPyBeginAllowThreads();
4313 {
4314 wxPoint2D &_result_ref = (arg1)->operator -=((wxPoint2D const &)*arg2);
4315 result = (wxPoint2D *) &_result_ref;
4316 }
4317
4318 wxPyEndAllowThreads(__tstate);
4319 if (PyErr_Occurred()) SWIG_fail;
4320 }
4321 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint2D, 0);
4322 return resultobj;
4323 fail:
4324 return NULL;
4325 }
4326
4327
4328 static PyObject *_wrap_Point2D___imul__(PyObject *self, PyObject *args, PyObject *kwargs) {
4329 PyObject *resultobj;
4330 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4331 wxPoint2D *arg2 = 0 ;
4332 wxPoint2D *result;
4333 wxPoint2D temp2 ;
4334 PyObject * obj0 = 0 ;
4335 PyObject * obj1 = 0 ;
4336 char *kwnames[] = {
4337 (char *) "self",(char *) "pt", NULL
4338 };
4339
4340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D___imul__",kwnames,&obj0,&obj1)) goto fail;
4341 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint2D,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4342 {
4343 arg2 = &temp2;
4344 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
4345 }
4346 {
4347 PyThreadState* __tstate = wxPyBeginAllowThreads();
4348 {
4349 wxPoint2D &_result_ref = (arg1)->operator *=((wxPoint2D const &)*arg2);
4350 result = (wxPoint2D *) &_result_ref;
4351 }
4352
4353 wxPyEndAllowThreads(__tstate);
4354 if (PyErr_Occurred()) SWIG_fail;
4355 }
4356 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint2D, 0);
4357 return resultobj;
4358 fail:
4359 return NULL;
4360 }
4361
4362
4363 static PyObject *_wrap_Point2D___idiv__(PyObject *self, PyObject *args, PyObject *kwargs) {
4364 PyObject *resultobj;
4365 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4366 wxPoint2D *arg2 = 0 ;
4367 wxPoint2D *result;
4368 wxPoint2D temp2 ;
4369 PyObject * obj0 = 0 ;
4370 PyObject * obj1 = 0 ;
4371 char *kwnames[] = {
4372 (char *) "self",(char *) "pt", NULL
4373 };
4374
4375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D___idiv__",kwnames,&obj0,&obj1)) goto fail;
4376 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint2D,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4377 {
4378 arg2 = &temp2;
4379 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
4380 }
4381 {
4382 PyThreadState* __tstate = wxPyBeginAllowThreads();
4383 {
4384 wxPoint2D &_result_ref = (arg1)->operator /=((wxPoint2D const &)*arg2);
4385 result = (wxPoint2D *) &_result_ref;
4386 }
4387
4388 wxPyEndAllowThreads(__tstate);
4389 if (PyErr_Occurred()) SWIG_fail;
4390 }
4391 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint2D, 0);
4392 return resultobj;
4393 fail:
4394 return NULL;
4395 }
4396
4397
4398 static PyObject *_wrap_Point2D___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
4399 PyObject *resultobj;
4400 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4401 wxPoint2D *arg2 = 0 ;
4402 bool result;
4403 wxPoint2D temp2 ;
4404 PyObject * obj0 = 0 ;
4405 PyObject * obj1 = 0 ;
4406 char *kwnames[] = {
4407 (char *) "self",(char *) "pt", NULL
4408 };
4409
4410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D___eq__",kwnames,&obj0,&obj1)) goto fail;
4411 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint2D,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4412 {
4413 arg2 = &temp2;
4414 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
4415 }
4416 {
4417 PyThreadState* __tstate = wxPyBeginAllowThreads();
4418 result = (bool)((wxPoint2D const *)arg1)->operator ==((wxPoint2D const &)*arg2);
4419
4420 wxPyEndAllowThreads(__tstate);
4421 if (PyErr_Occurred()) SWIG_fail;
4422 }
4423 resultobj = PyInt_FromLong((long)result);
4424 return resultobj;
4425 fail:
4426 return NULL;
4427 }
4428
4429
4430 static PyObject *_wrap_Point2D___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
4431 PyObject *resultobj;
4432 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4433 wxPoint2D *arg2 = 0 ;
4434 bool result;
4435 wxPoint2D temp2 ;
4436 PyObject * obj0 = 0 ;
4437 PyObject * obj1 = 0 ;
4438 char *kwnames[] = {
4439 (char *) "self",(char *) "pt", NULL
4440 };
4441
4442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D___ne__",kwnames,&obj0,&obj1)) goto fail;
4443 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint2D,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4444 {
4445 arg2 = &temp2;
4446 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
4447 }
4448 {
4449 PyThreadState* __tstate = wxPyBeginAllowThreads();
4450 result = (bool)((wxPoint2D const *)arg1)->operator !=((wxPoint2D const &)*arg2);
4451
4452 wxPyEndAllowThreads(__tstate);
4453 if (PyErr_Occurred()) SWIG_fail;
4454 }
4455 resultobj = PyInt_FromLong((long)result);
4456 return resultobj;
4457 fail:
4458 return NULL;
4459 }
4460
4461
4462 static PyObject *_wrap_Point2D_x_set(PyObject *self, PyObject *args, PyObject *kwargs) {
4463 PyObject *resultobj;
4464 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4465 double arg2 ;
4466 PyObject * obj0 = 0 ;
4467 char *kwnames[] = {
4468 (char *) "self",(char *) "m_x", NULL
4469 };
4470
4471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Od:Point2D_x_set",kwnames,&obj0,&arg2)) goto fail;
4472 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint2D,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4473 if (arg1) (arg1)->m_x = arg2;
4474
4475 Py_INCREF(Py_None); resultobj = Py_None;
4476 return resultobj;
4477 fail:
4478 return NULL;
4479 }
4480
4481
4482 static PyObject *_wrap_Point2D_x_get(PyObject *self, PyObject *args, PyObject *kwargs) {
4483 PyObject *resultobj;
4484 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4485 double result;
4486 PyObject * obj0 = 0 ;
4487 char *kwnames[] = {
4488 (char *) "self", NULL
4489 };
4490
4491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D_x_get",kwnames,&obj0)) goto fail;
4492 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint2D,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4493 result = (double) ((arg1)->m_x);
4494
4495 resultobj = PyFloat_FromDouble(result);
4496 return resultobj;
4497 fail:
4498 return NULL;
4499 }
4500
4501
4502 static PyObject *_wrap_Point2D_y_set(PyObject *self, PyObject *args, PyObject *kwargs) {
4503 PyObject *resultobj;
4504 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4505 double arg2 ;
4506 PyObject * obj0 = 0 ;
4507 char *kwnames[] = {
4508 (char *) "self",(char *) "m_y", NULL
4509 };
4510
4511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Od:Point2D_y_set",kwnames,&obj0,&arg2)) goto fail;
4512 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint2D,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4513 if (arg1) (arg1)->m_y = arg2;
4514
4515 Py_INCREF(Py_None); resultobj = Py_None;
4516 return resultobj;
4517 fail:
4518 return NULL;
4519 }
4520
4521
4522 static PyObject *_wrap_Point2D_y_get(PyObject *self, PyObject *args, PyObject *kwargs) {
4523 PyObject *resultobj;
4524 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4525 double result;
4526 PyObject * obj0 = 0 ;
4527 char *kwnames[] = {
4528 (char *) "self", NULL
4529 };
4530
4531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D_y_get",kwnames,&obj0)) goto fail;
4532 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint2D,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4533 result = (double) ((arg1)->m_y);
4534
4535 resultobj = PyFloat_FromDouble(result);
4536 return resultobj;
4537 fail:
4538 return NULL;
4539 }
4540
4541
4542 static PyObject *_wrap_Point2D_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
4543 PyObject *resultobj;
4544 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4545 double arg2 = (double) 0 ;
4546 double arg3 = (double) 0 ;
4547 PyObject * obj0 = 0 ;
4548 char *kwnames[] = {
4549 (char *) "self",(char *) "x",(char *) "y", NULL
4550 };
4551
4552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|dd:Point2D_Set",kwnames,&obj0,&arg2,&arg3)) goto fail;
4553 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint2D,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4554 {
4555 PyThreadState* __tstate = wxPyBeginAllowThreads();
4556 wxPoint2D_Set(arg1,arg2,arg3);
4557
4558 wxPyEndAllowThreads(__tstate);
4559 if (PyErr_Occurred()) SWIG_fail;
4560 }
4561 Py_INCREF(Py_None); resultobj = Py_None;
4562 return resultobj;
4563 fail:
4564 return NULL;
4565 }
4566
4567
4568 static PyObject *_wrap_Point2D_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
4569 PyObject *resultobj;
4570 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4571 PyObject *result;
4572 PyObject * obj0 = 0 ;
4573 char *kwnames[] = {
4574 (char *) "self", NULL
4575 };
4576
4577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D_Get",kwnames,&obj0)) goto fail;
4578 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint2D,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4579 {
4580 PyThreadState* __tstate = wxPyBeginAllowThreads();
4581 result = (PyObject *)wxPoint2D_Get(arg1);
4582
4583 wxPyEndAllowThreads(__tstate);
4584 if (PyErr_Occurred()) SWIG_fail;
4585 }
4586 resultobj = result;
4587 return resultobj;
4588 fail:
4589 return NULL;
4590 }
4591
4592
4593 static PyObject * Point2D_swigregister(PyObject *self, PyObject *args) {
4594 PyObject *obj;
4595 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4596 SWIG_TypeClientData(SWIGTYPE_p_wxPoint2D, obj);
4597 Py_INCREF(obj);
4598 return Py_BuildValue((char *)"");
4599 }
4600 static int _wrap_DefaultPosition_set(PyObject *_val) {
4601 PyErr_SetString(PyExc_TypeError,"Variable DefaultPosition is read-only.");
4602 return 1;
4603 }
4604
4605
4606 static PyObject *_wrap_DefaultPosition_get() {
4607 PyObject *pyobj;
4608
4609 pyobj = SWIG_NewPointerObj((void *) &wxDefaultPosition, SWIGTYPE_p_wxPoint, 0);
4610 return pyobj;
4611 }
4612
4613
4614 static int _wrap_DefaultSize_set(PyObject *_val) {
4615 PyErr_SetString(PyExc_TypeError,"Variable DefaultSize is read-only.");
4616 return 1;
4617 }
4618
4619
4620 static PyObject *_wrap_DefaultSize_get() {
4621 PyObject *pyobj;
4622
4623 pyobj = SWIG_NewPointerObj((void *) &wxDefaultSize, SWIGTYPE_p_wxSize, 0);
4624 return pyobj;
4625 }
4626
4627
4628 static PyObject *_wrap_new_InputStream(PyObject *self, PyObject *args, PyObject *kwargs) {
4629 PyObject *resultobj;
4630 PyObject *arg1 = (PyObject *) 0 ;
4631 wxPyInputStream *result;
4632 PyObject * obj0 = 0 ;
4633 char *kwnames[] = {
4634 (char *) "p", NULL
4635 };
4636
4637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_InputStream",kwnames,&obj0)) goto fail;
4638 arg1 = obj0;
4639 {
4640 PyThreadState* __tstate = wxPyBeginAllowThreads();
4641 result = (wxPyInputStream *)new_wxPyInputStream(arg1);
4642
4643 wxPyEndAllowThreads(__tstate);
4644 if (PyErr_Occurred()) SWIG_fail;
4645 }
4646 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyInputStream, 1);
4647 return resultobj;
4648 fail:
4649 return NULL;
4650 }
4651
4652
4653 static PyObject *_wrap_InputStream_close(PyObject *self, PyObject *args, PyObject *kwargs) {
4654 PyObject *resultobj;
4655 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
4656 PyObject * obj0 = 0 ;
4657 char *kwnames[] = {
4658 (char *) "self", NULL
4659 };
4660
4661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_close",kwnames,&obj0)) goto fail;
4662 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyInputStream,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4663 {
4664 PyThreadState* __tstate = wxPyBeginAllowThreads();
4665 (arg1)->close();
4666
4667 wxPyEndAllowThreads(__tstate);
4668 if (PyErr_Occurred()) SWIG_fail;
4669 }
4670 Py_INCREF(Py_None); resultobj = Py_None;
4671 return resultobj;
4672 fail:
4673 return NULL;
4674 }
4675
4676
4677 static PyObject *_wrap_InputStream_flush(PyObject *self, PyObject *args, PyObject *kwargs) {
4678 PyObject *resultobj;
4679 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
4680 PyObject * obj0 = 0 ;
4681 char *kwnames[] = {
4682 (char *) "self", NULL
4683 };
4684
4685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_flush",kwnames,&obj0)) goto fail;
4686 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyInputStream,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4687 {
4688 PyThreadState* __tstate = wxPyBeginAllowThreads();
4689 (arg1)->flush();
4690
4691 wxPyEndAllowThreads(__tstate);
4692 if (PyErr_Occurred()) SWIG_fail;
4693 }
4694 Py_INCREF(Py_None); resultobj = Py_None;
4695 return resultobj;
4696 fail:
4697 return NULL;
4698 }
4699
4700
4701 static PyObject *_wrap_InputStream_eof(PyObject *self, PyObject *args, PyObject *kwargs) {
4702 PyObject *resultobj;
4703 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
4704 bool result;
4705 PyObject * obj0 = 0 ;
4706 char *kwnames[] = {
4707 (char *) "self", NULL
4708 };
4709
4710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_eof",kwnames,&obj0)) goto fail;
4711 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyInputStream,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4712 {
4713 PyThreadState* __tstate = wxPyBeginAllowThreads();
4714 result = (bool)(arg1)->eof();
4715
4716 wxPyEndAllowThreads(__tstate);
4717 if (PyErr_Occurred()) SWIG_fail;
4718 }
4719 resultobj = PyInt_FromLong((long)result);
4720 return resultobj;
4721 fail:
4722 return NULL;
4723 }
4724
4725
4726 static PyObject *_wrap_InputStream_read(PyObject *self, PyObject *args, PyObject *kwargs) {
4727 PyObject *resultobj;
4728 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
4729 int arg2 = (int) -1 ;
4730 PyObject *result;
4731 PyObject * obj0 = 0 ;
4732 char *kwnames[] = {
4733 (char *) "self",(char *) "size", NULL
4734 };
4735
4736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:InputStream_read",kwnames,&obj0,&arg2)) goto fail;
4737 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyInputStream,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4738 {
4739 PyThreadState* __tstate = wxPyBeginAllowThreads();
4740 result = (PyObject *)(arg1)->read(arg2);
4741
4742 wxPyEndAllowThreads(__tstate);
4743 if (PyErr_Occurred()) SWIG_fail;
4744 }
4745 resultobj = result;
4746 return resultobj;
4747 fail:
4748 return NULL;
4749 }
4750
4751
4752 static PyObject *_wrap_InputStream_readline(PyObject *self, PyObject *args, PyObject *kwargs) {
4753 PyObject *resultobj;
4754 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
4755 int arg2 = (int) -1 ;
4756 PyObject *result;
4757 PyObject * obj0 = 0 ;
4758 char *kwnames[] = {
4759 (char *) "self",(char *) "size", NULL
4760 };
4761
4762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:InputStream_readline",kwnames,&obj0,&arg2)) goto fail;
4763 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyInputStream,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4764 {
4765 PyThreadState* __tstate = wxPyBeginAllowThreads();
4766 result = (PyObject *)(arg1)->readline(arg2);
4767
4768 wxPyEndAllowThreads(__tstate);
4769 if (PyErr_Occurred()) SWIG_fail;
4770 }
4771 resultobj = result;
4772 return resultobj;
4773 fail:
4774 return NULL;
4775 }
4776
4777
4778 static PyObject *_wrap_InputStream_readlines(PyObject *self, PyObject *args, PyObject *kwargs) {
4779 PyObject *resultobj;
4780 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
4781 int arg2 = (int) -1 ;
4782 PyObject *result;
4783 PyObject * obj0 = 0 ;
4784 char *kwnames[] = {
4785 (char *) "self",(char *) "sizehint", NULL
4786 };
4787
4788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:InputStream_readlines",kwnames,&obj0,&arg2)) goto fail;
4789 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyInputStream,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4790 {
4791 PyThreadState* __tstate = wxPyBeginAllowThreads();
4792 result = (PyObject *)(arg1)->readlines(arg2);
4793
4794 wxPyEndAllowThreads(__tstate);
4795 if (PyErr_Occurred()) SWIG_fail;
4796 }
4797 resultobj = result;
4798 return resultobj;
4799 fail:
4800 return NULL;
4801 }
4802
4803
4804 static PyObject *_wrap_InputStream_seek(PyObject *self, PyObject *args, PyObject *kwargs) {
4805 PyObject *resultobj;
4806 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
4807 int arg2 ;
4808 int arg3 = (int) 0 ;
4809 PyObject * obj0 = 0 ;
4810 char *kwnames[] = {
4811 (char *) "self",(char *) "offset",(char *) "whence", NULL
4812 };
4813
4814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|i:InputStream_seek",kwnames,&obj0,&arg2,&arg3)) goto fail;
4815 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyInputStream,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4816 {
4817 PyThreadState* __tstate = wxPyBeginAllowThreads();
4818 (arg1)->seek(arg2,arg3);
4819
4820 wxPyEndAllowThreads(__tstate);
4821 if (PyErr_Occurred()) SWIG_fail;
4822 }
4823 Py_INCREF(Py_None); resultobj = Py_None;
4824 return resultobj;
4825 fail:
4826 return NULL;
4827 }
4828
4829
4830 static PyObject *_wrap_InputStream_tell(PyObject *self, PyObject *args, PyObject *kwargs) {
4831 PyObject *resultobj;
4832 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
4833 int result;
4834 PyObject * obj0 = 0 ;
4835 char *kwnames[] = {
4836 (char *) "self", NULL
4837 };
4838
4839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_tell",kwnames,&obj0)) goto fail;
4840 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyInputStream,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4841 {
4842 PyThreadState* __tstate = wxPyBeginAllowThreads();
4843 result = (int)(arg1)->tell();
4844
4845 wxPyEndAllowThreads(__tstate);
4846 if (PyErr_Occurred()) SWIG_fail;
4847 }
4848 resultobj = PyInt_FromLong((long)result);
4849 return resultobj;
4850 fail:
4851 return NULL;
4852 }
4853
4854
4855 static PyObject *_wrap_InputStream_Peek(PyObject *self, PyObject *args, PyObject *kwargs) {
4856 PyObject *resultobj;
4857 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
4858 char result;
4859 PyObject * obj0 = 0 ;
4860 char *kwnames[] = {
4861 (char *) "self", NULL
4862 };
4863
4864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_Peek",kwnames,&obj0)) goto fail;
4865 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyInputStream,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4866 {
4867 PyThreadState* __tstate = wxPyBeginAllowThreads();
4868 result = (char)(arg1)->Peek();
4869
4870 wxPyEndAllowThreads(__tstate);
4871 if (PyErr_Occurred()) SWIG_fail;
4872 }
4873 resultobj = Py_BuildValue((char*)"c",result);
4874 return resultobj;
4875 fail:
4876 return NULL;
4877 }
4878
4879
4880 static PyObject *_wrap_InputStream_GetC(PyObject *self, PyObject *args, PyObject *kwargs) {
4881 PyObject *resultobj;
4882 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
4883 char result;
4884 PyObject * obj0 = 0 ;
4885 char *kwnames[] = {
4886 (char *) "self", NULL
4887 };
4888
4889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_GetC",kwnames,&obj0)) goto fail;
4890 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyInputStream,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4891 {
4892 PyThreadState* __tstate = wxPyBeginAllowThreads();
4893 result = (char)(arg1)->GetC();
4894
4895 wxPyEndAllowThreads(__tstate);
4896 if (PyErr_Occurred()) SWIG_fail;
4897 }
4898 resultobj = Py_BuildValue((char*)"c",result);
4899 return resultobj;
4900 fail:
4901 return NULL;
4902 }
4903
4904
4905 static PyObject *_wrap_InputStream_LastRead(PyObject *self, PyObject *args, PyObject *kwargs) {
4906 PyObject *resultobj;
4907 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
4908 size_t result;
4909 PyObject * obj0 = 0 ;
4910 char *kwnames[] = {
4911 (char *) "self", NULL
4912 };
4913
4914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_LastRead",kwnames,&obj0)) goto fail;
4915 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyInputStream,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4916 {
4917 PyThreadState* __tstate = wxPyBeginAllowThreads();
4918 result = (size_t)(arg1)->LastRead();
4919
4920 wxPyEndAllowThreads(__tstate);
4921 if (PyErr_Occurred()) SWIG_fail;
4922 }
4923 resultobj = PyInt_FromLong((long)result);
4924 return resultobj;
4925 fail:
4926 return NULL;
4927 }
4928
4929
4930 static PyObject *_wrap_InputStream_CanRead(PyObject *self, PyObject *args, PyObject *kwargs) {
4931 PyObject *resultobj;
4932 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
4933 bool result;
4934 PyObject * obj0 = 0 ;
4935 char *kwnames[] = {
4936 (char *) "self", NULL
4937 };
4938
4939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_CanRead",kwnames,&obj0)) goto fail;
4940 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyInputStream,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4941 {
4942 PyThreadState* __tstate = wxPyBeginAllowThreads();
4943 result = (bool)(arg1)->CanRead();
4944
4945 wxPyEndAllowThreads(__tstate);
4946 if (PyErr_Occurred()) SWIG_fail;
4947 }
4948 resultobj = PyInt_FromLong((long)result);
4949 return resultobj;
4950 fail:
4951 return NULL;
4952 }
4953
4954
4955 static PyObject *_wrap_InputStream_Eof(PyObject *self, PyObject *args, PyObject *kwargs) {
4956 PyObject *resultobj;
4957 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
4958 bool result;
4959 PyObject * obj0 = 0 ;
4960 char *kwnames[] = {
4961 (char *) "self", NULL
4962 };
4963
4964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_Eof",kwnames,&obj0)) goto fail;
4965 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyInputStream,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4966 {
4967 PyThreadState* __tstate = wxPyBeginAllowThreads();
4968 result = (bool)(arg1)->Eof();
4969
4970 wxPyEndAllowThreads(__tstate);
4971 if (PyErr_Occurred()) SWIG_fail;
4972 }
4973 resultobj = PyInt_FromLong((long)result);
4974 return resultobj;
4975 fail:
4976 return NULL;
4977 }
4978
4979
4980 static PyObject *_wrap_InputStream_Ungetch(PyObject *self, PyObject *args, PyObject *kwargs) {
4981 PyObject *resultobj;
4982 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
4983 char arg2 ;
4984 bool result;
4985 PyObject * obj0 = 0 ;
4986 char *kwnames[] = {
4987 (char *) "self",(char *) "c", NULL
4988 };
4989
4990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oc:InputStream_Ungetch",kwnames,&obj0,&arg2)) goto fail;
4991 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyInputStream,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4992 {
4993 PyThreadState* __tstate = wxPyBeginAllowThreads();
4994 result = (bool)(arg1)->Ungetch(arg2);
4995
4996 wxPyEndAllowThreads(__tstate);
4997 if (PyErr_Occurred()) SWIG_fail;
4998 }
4999 resultobj = PyInt_FromLong((long)result);
5000 return resultobj;
5001 fail:
5002 return NULL;
5003 }
5004
5005
5006 static PyObject *_wrap_InputStream_SeekI(PyObject *self, PyObject *args, PyObject *kwargs) {
5007 PyObject *resultobj;
5008 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
5009 long arg2 ;
5010 int arg3 = (int) wxFromStart ;
5011 long result;
5012 PyObject * obj0 = 0 ;
5013 char *kwnames[] = {
5014 (char *) "self",(char *) "pos",(char *) "mode", NULL
5015 };
5016
5017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol|i:InputStream_SeekI",kwnames,&obj0,&arg2,&arg3)) goto fail;
5018 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyInputStream,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5019 {
5020 PyThreadState* __tstate = wxPyBeginAllowThreads();
5021 result = (long)(arg1)->SeekI(arg2,(wxSeekMode )arg3);
5022
5023 wxPyEndAllowThreads(__tstate);
5024 if (PyErr_Occurred()) SWIG_fail;
5025 }
5026 resultobj = PyInt_FromLong((long)result);
5027 return resultobj;
5028 fail:
5029 return NULL;
5030 }
5031
5032
5033 static PyObject *_wrap_InputStream_TellI(PyObject *self, PyObject *args, PyObject *kwargs) {
5034 PyObject *resultobj;
5035 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
5036 long result;
5037 PyObject * obj0 = 0 ;
5038 char *kwnames[] = {
5039 (char *) "self", NULL
5040 };
5041
5042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_TellI",kwnames,&obj0)) goto fail;
5043 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyInputStream,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5044 {
5045 PyThreadState* __tstate = wxPyBeginAllowThreads();
5046 result = (long)(arg1)->TellI();
5047
5048 wxPyEndAllowThreads(__tstate);
5049 if (PyErr_Occurred()) SWIG_fail;
5050 }
5051 resultobj = PyInt_FromLong((long)result);
5052 return resultobj;
5053 fail:
5054 return NULL;
5055 }
5056
5057
5058 static PyObject * InputStream_swigregister(PyObject *self, PyObject *args) {
5059 PyObject *obj;
5060 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5061 SWIG_TypeClientData(SWIGTYPE_p_wxPyInputStream, obj);
5062 Py_INCREF(obj);
5063 return Py_BuildValue((char *)"");
5064 }
5065 static PyObject *_wrap_OutputStream_write(PyObject *self, PyObject *args, PyObject *kwargs) {
5066 PyObject *resultobj;
5067 wxOutputStream *arg1 = (wxOutputStream *) 0 ;
5068 PyObject *arg2 = (PyObject *) 0 ;
5069 PyObject * obj0 = 0 ;
5070 PyObject * obj1 = 0 ;
5071 char *kwnames[] = {
5072 (char *) "self",(char *) "obj", NULL
5073 };
5074
5075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:OutputStream_write",kwnames,&obj0,&obj1)) goto fail;
5076 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxOutputStream,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5077 arg2 = obj1;
5078 {
5079 PyThreadState* __tstate = wxPyBeginAllowThreads();
5080 wxOutputStream_write(arg1,arg2);
5081
5082 wxPyEndAllowThreads(__tstate);
5083 if (PyErr_Occurred()) SWIG_fail;
5084 }
5085 Py_INCREF(Py_None); resultobj = Py_None;
5086 return resultobj;
5087 fail:
5088 return NULL;
5089 }
5090
5091
5092 static PyObject * OutputStream_swigregister(PyObject *self, PyObject *args) {
5093 PyObject *obj;
5094 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5095 SWIG_TypeClientData(SWIGTYPE_p_wxOutputStream, obj);
5096 Py_INCREF(obj);
5097 return Py_BuildValue((char *)"");
5098 }
5099 static PyObject *_wrap_new_FSFile(PyObject *self, PyObject *args, PyObject *kwargs) {
5100 PyObject *resultobj;
5101 wxInputStream *arg1 = (wxInputStream *) 0 ;
5102 wxString *arg2 = 0 ;
5103 wxString *arg3 = 0 ;
5104 wxString *arg4 = 0 ;
5105 wxDateTime arg5 ;
5106 wxFSFile *result;
5107 wxPyInputStream *temp1 ;
5108 bool created1 ;
5109 bool temp2 = False ;
5110 bool temp3 = False ;
5111 bool temp4 = False ;
5112 wxDateTime *argp5 ;
5113 PyObject * obj0 = 0 ;
5114 PyObject * obj1 = 0 ;
5115 PyObject * obj2 = 0 ;
5116 PyObject * obj3 = 0 ;
5117 PyObject * obj4 = 0 ;
5118 char *kwnames[] = {
5119 (char *) "stream",(char *) "loc",(char *) "mimetype",(char *) "anchor",(char *) "modif", NULL
5120 };
5121
5122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:new_FSFile",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
5123 {
5124 if (wxPyConvertSwigPtr(obj0, (void **)&temp1, wxT("wxPyInputStream"))) {
5125 arg1 = temp1->m_wxis;
5126 created1 = False;
5127 } else {
5128 PyErr_Clear(); // clear the failure of the wxPyConvert above
5129 arg1 = wxPyCBInputStream_create(obj0, False);
5130 if (arg1 == NULL) {
5131 PyErr_SetString(PyExc_TypeError, "Expected wxInputStream or Python file-like object.");
5132 SWIG_fail;
5133 }
5134 created1 = True;
5135 }
5136 }
5137 {
5138 arg2 = wxString_in_helper(obj1);
5139 if (arg2 == NULL) SWIG_fail;
5140 temp2 = True;
5141 }
5142 {
5143 arg3 = wxString_in_helper(obj2);
5144 if (arg3 == NULL) SWIG_fail;
5145 temp3 = True;
5146 }
5147 {
5148 arg4 = wxString_in_helper(obj3);
5149 if (arg4 == NULL) SWIG_fail;
5150 temp4 = True;
5151 }
5152 if ((SWIG_ConvertPtr(obj4,(void **) &argp5, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
5153 arg5 = *argp5;
5154 {
5155 PyThreadState* __tstate = wxPyBeginAllowThreads();
5156 result = (wxFSFile *)new wxFSFile(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5);
5157
5158 wxPyEndAllowThreads(__tstate);
5159 if (PyErr_Occurred()) SWIG_fail;
5160 }
5161 {
5162 resultobj = wxPyMake_wxObject(result);
5163 }
5164 {
5165 if (created1)
5166 delete arg1;
5167 }
5168 {
5169 if (temp2)
5170 delete arg2;
5171 }
5172 {
5173 if (temp3)
5174 delete arg3;
5175 }
5176 {
5177 if (temp4)
5178 delete arg4;
5179 }
5180 return resultobj;
5181 fail:
5182 {
5183 if (created1)
5184 delete arg1;
5185 }
5186 {
5187 if (temp2)
5188 delete arg2;
5189 }
5190 {
5191 if (temp3)
5192 delete arg3;
5193 }
5194 {
5195 if (temp4)
5196 delete arg4;
5197 }
5198 return NULL;
5199 }
5200
5201
5202 static PyObject *_wrap_delete_FSFile(PyObject *self, PyObject *args, PyObject *kwargs) {
5203 PyObject *resultobj;
5204 wxFSFile *arg1 = (wxFSFile *) 0 ;
5205 PyObject * obj0 = 0 ;
5206 char *kwnames[] = {
5207 (char *) "self", NULL
5208 };
5209
5210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FSFile",kwnames,&obj0)) goto fail;
5211 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFSFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5212 {
5213 PyThreadState* __tstate = wxPyBeginAllowThreads();
5214 delete arg1;
5215
5216 wxPyEndAllowThreads(__tstate);
5217 if (PyErr_Occurred()) SWIG_fail;
5218 }
5219 Py_INCREF(Py_None); resultobj = Py_None;
5220 return resultobj;
5221 fail:
5222 return NULL;
5223 }
5224
5225
5226 static PyObject *_wrap_FSFile_GetStream(PyObject *self, PyObject *args, PyObject *kwargs) {
5227 PyObject *resultobj;
5228 wxFSFile *arg1 = (wxFSFile *) 0 ;
5229 wxInputStream *result;
5230 PyObject * obj0 = 0 ;
5231 char *kwnames[] = {
5232 (char *) "self", NULL
5233 };
5234
5235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FSFile_GetStream",kwnames,&obj0)) goto fail;
5236 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFSFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5237 {
5238 PyThreadState* __tstate = wxPyBeginAllowThreads();
5239 result = (wxInputStream *)(arg1)->GetStream();
5240
5241 wxPyEndAllowThreads(__tstate);
5242 if (PyErr_Occurred()) SWIG_fail;
5243 }
5244 {
5245 wxPyInputStream * _ptr = NULL;
5246
5247 if (result) {
5248 _ptr = new wxPyInputStream(result);
5249 }
5250 resultobj = wxPyConstructObject(_ptr, wxT("wxPyInputStream"), True);
5251 }
5252 return resultobj;
5253 fail:
5254 return NULL;
5255 }
5256
5257
5258 static PyObject *_wrap_FSFile_GetMimeType(PyObject *self, PyObject *args, PyObject *kwargs) {
5259 PyObject *resultobj;
5260 wxFSFile *arg1 = (wxFSFile *) 0 ;
5261 wxString *result;
5262 PyObject * obj0 = 0 ;
5263 char *kwnames[] = {
5264 (char *) "self", NULL
5265 };
5266
5267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FSFile_GetMimeType",kwnames,&obj0)) goto fail;
5268 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFSFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5269 {
5270 PyThreadState* __tstate = wxPyBeginAllowThreads();
5271 {
5272 wxString const &_result_ref = (arg1)->GetMimeType();
5273 result = (wxString *) &_result_ref;
5274 }
5275
5276 wxPyEndAllowThreads(__tstate);
5277 if (PyErr_Occurred()) SWIG_fail;
5278 }
5279 {
5280 #if wxUSE_UNICODE
5281 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
5282 #else
5283 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
5284 #endif
5285 }
5286 return resultobj;
5287 fail:
5288 return NULL;
5289 }
5290
5291
5292 static PyObject *_wrap_FSFile_GetLocation(PyObject *self, PyObject *args, PyObject *kwargs) {
5293 PyObject *resultobj;
5294 wxFSFile *arg1 = (wxFSFile *) 0 ;
5295 wxString *result;
5296 PyObject * obj0 = 0 ;
5297 char *kwnames[] = {
5298 (char *) "self", NULL
5299 };
5300
5301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FSFile_GetLocation",kwnames,&obj0)) goto fail;
5302 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFSFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5303 {
5304 PyThreadState* __tstate = wxPyBeginAllowThreads();
5305 {
5306 wxString const &_result_ref = (arg1)->GetLocation();
5307 result = (wxString *) &_result_ref;
5308 }
5309
5310 wxPyEndAllowThreads(__tstate);
5311 if (PyErr_Occurred()) SWIG_fail;
5312 }
5313 {
5314 #if wxUSE_UNICODE
5315 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
5316 #else
5317 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
5318 #endif
5319 }
5320 return resultobj;
5321 fail:
5322 return NULL;
5323 }
5324
5325
5326 static PyObject *_wrap_FSFile_GetAnchor(PyObject *self, PyObject *args, PyObject *kwargs) {
5327 PyObject *resultobj;
5328 wxFSFile *arg1 = (wxFSFile *) 0 ;
5329 wxString *result;
5330 PyObject * obj0 = 0 ;
5331 char *kwnames[] = {
5332 (char *) "self", NULL
5333 };
5334
5335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FSFile_GetAnchor",kwnames,&obj0)) goto fail;
5336 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFSFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5337 {
5338 PyThreadState* __tstate = wxPyBeginAllowThreads();
5339 {
5340 wxString const &_result_ref = (arg1)->GetAnchor();
5341 result = (wxString *) &_result_ref;
5342 }
5343
5344 wxPyEndAllowThreads(__tstate);
5345 if (PyErr_Occurred()) SWIG_fail;
5346 }
5347 {
5348 #if wxUSE_UNICODE
5349 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
5350 #else
5351 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
5352 #endif
5353 }
5354 return resultobj;
5355 fail:
5356 return NULL;
5357 }
5358
5359
5360 static PyObject *_wrap_FSFile_GetModificationTime(PyObject *self, PyObject *args, PyObject *kwargs) {
5361 PyObject *resultobj;
5362 wxFSFile *arg1 = (wxFSFile *) 0 ;
5363 wxDateTime result;
5364 PyObject * obj0 = 0 ;
5365 char *kwnames[] = {
5366 (char *) "self", NULL
5367 };
5368
5369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FSFile_GetModificationTime",kwnames,&obj0)) goto fail;
5370 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFSFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5371 {
5372 PyThreadState* __tstate = wxPyBeginAllowThreads();
5373 result = (arg1)->GetModificationTime();
5374
5375 wxPyEndAllowThreads(__tstate);
5376 if (PyErr_Occurred()) SWIG_fail;
5377 }
5378 {
5379 wxDateTime * resultptr;
5380 resultptr = new wxDateTime((wxDateTime &) result);
5381 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
5382 }
5383 return resultobj;
5384 fail:
5385 return NULL;
5386 }
5387
5388
5389 static PyObject * FSFile_swigregister(PyObject *self, PyObject *args) {
5390 PyObject *obj;
5391 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5392 SWIG_TypeClientData(SWIGTYPE_p_wxFSFile, obj);
5393 Py_INCREF(obj);
5394 return Py_BuildValue((char *)"");
5395 }
5396 static PyObject * CPPFileSystemHandler_swigregister(PyObject *self, PyObject *args) {
5397 PyObject *obj;
5398 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5399 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystemHandler, obj);
5400 Py_INCREF(obj);
5401 return Py_BuildValue((char *)"");
5402 }
5403 static PyObject *_wrap_new_FileSystemHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
5404 PyObject *resultobj;
5405 wxPyFileSystemHandler *result;
5406 char *kwnames[] = {
5407 NULL
5408 };
5409
5410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FileSystemHandler",kwnames)) goto fail;
5411 {
5412 PyThreadState* __tstate = wxPyBeginAllowThreads();
5413 result = (wxPyFileSystemHandler *)new wxPyFileSystemHandler();
5414
5415 wxPyEndAllowThreads(__tstate);
5416 if (PyErr_Occurred()) SWIG_fail;
5417 }
5418 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyFileSystemHandler, 1);
5419 return resultobj;
5420 fail:
5421 return NULL;
5422 }
5423
5424
5425 static PyObject *_wrap_FileSystemHandler__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
5426 PyObject *resultobj;
5427 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
5428 PyObject *arg2 = (PyObject *) 0 ;
5429 PyObject *arg3 = (PyObject *) 0 ;
5430 PyObject * obj0 = 0 ;
5431 PyObject * obj1 = 0 ;
5432 PyObject * obj2 = 0 ;
5433 char *kwnames[] = {
5434 (char *) "self",(char *) "self",(char *) "_class", NULL
5435 };
5436
5437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FileSystemHandler__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
5438 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyFileSystemHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5439 arg2 = obj1;
5440 arg3 = obj2;
5441 {
5442 PyThreadState* __tstate = wxPyBeginAllowThreads();
5443 (arg1)->_setCallbackInfo(arg2,arg3);
5444
5445 wxPyEndAllowThreads(__tstate);
5446 if (PyErr_Occurred()) SWIG_fail;
5447 }
5448 Py_INCREF(Py_None); resultobj = Py_None;
5449 return resultobj;
5450 fail:
5451 return NULL;
5452 }
5453
5454
5455 static PyObject *_wrap_FileSystemHandler_CanOpen(PyObject *self, PyObject *args, PyObject *kwargs) {
5456 PyObject *resultobj;
5457 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
5458 wxString *arg2 = 0 ;
5459 bool result;
5460 bool temp2 = False ;
5461 PyObject * obj0 = 0 ;
5462 PyObject * obj1 = 0 ;
5463 char *kwnames[] = {
5464 (char *) "self",(char *) "location", NULL
5465 };
5466
5467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileSystemHandler_CanOpen",kwnames,&obj0,&obj1)) goto fail;
5468 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyFileSystemHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5469 {
5470 arg2 = wxString_in_helper(obj1);
5471 if (arg2 == NULL) SWIG_fail;
5472 temp2 = True;
5473 }
5474 {
5475 PyThreadState* __tstate = wxPyBeginAllowThreads();
5476 result = (bool)(arg1)->CanOpen((wxString const &)*arg2);
5477
5478 wxPyEndAllowThreads(__tstate);
5479 if (PyErr_Occurred()) SWIG_fail;
5480 }
5481 resultobj = PyInt_FromLong((long)result);
5482 {
5483 if (temp2)
5484 delete arg2;
5485 }
5486 return resultobj;
5487 fail:
5488 {
5489 if (temp2)
5490 delete arg2;
5491 }
5492 return NULL;
5493 }
5494
5495
5496 static PyObject *_wrap_FileSystemHandler_OpenFile(PyObject *self, PyObject *args, PyObject *kwargs) {
5497 PyObject *resultobj;
5498 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
5499 wxFileSystem *arg2 = 0 ;
5500 wxString *arg3 = 0 ;
5501 wxFSFile *result;
5502 bool temp3 = False ;
5503 PyObject * obj0 = 0 ;
5504 PyObject * obj1 = 0 ;
5505 PyObject * obj2 = 0 ;
5506 char *kwnames[] = {
5507 (char *) "self",(char *) "fs",(char *) "location", NULL
5508 };
5509
5510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FileSystemHandler_OpenFile",kwnames,&obj0,&obj1,&obj2)) goto fail;
5511 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyFileSystemHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5512 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFileSystem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5513 if (arg2 == NULL) {
5514 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5515 }
5516 {
5517 arg3 = wxString_in_helper(obj2);
5518 if (arg3 == NULL) SWIG_fail;
5519 temp3 = True;
5520 }
5521 {
5522 PyThreadState* __tstate = wxPyBeginAllowThreads();
5523 result = (wxFSFile *)(arg1)->OpenFile(*arg2,(wxString const &)*arg3);
5524
5525 wxPyEndAllowThreads(__tstate);
5526 if (PyErr_Occurred()) SWIG_fail;
5527 }
5528 {
5529 resultobj = wxPyMake_wxObject(result);
5530 }
5531 {
5532 if (temp3)
5533 delete arg3;
5534 }
5535 return resultobj;
5536 fail:
5537 {
5538 if (temp3)
5539 delete arg3;
5540 }
5541 return NULL;
5542 }
5543
5544
5545 static PyObject *_wrap_FileSystemHandler_FindFirst(PyObject *self, PyObject *args, PyObject *kwargs) {
5546 PyObject *resultobj;
5547 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
5548 wxString *arg2 = 0 ;
5549 int arg3 = (int) 0 ;
5550 wxString result;
5551 bool temp2 = False ;
5552 PyObject * obj0 = 0 ;
5553 PyObject * obj1 = 0 ;
5554 char *kwnames[] = {
5555 (char *) "self",(char *) "spec",(char *) "flags", NULL
5556 };
5557
5558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:FileSystemHandler_FindFirst",kwnames,&obj0,&obj1,&arg3)) goto fail;
5559 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyFileSystemHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5560 {
5561 arg2 = wxString_in_helper(obj1);
5562 if (arg2 == NULL) SWIG_fail;
5563 temp2 = True;
5564 }
5565 {
5566 PyThreadState* __tstate = wxPyBeginAllowThreads();
5567 result = (arg1)->FindFirst((wxString const &)*arg2,arg3);
5568
5569 wxPyEndAllowThreads(__tstate);
5570 if (PyErr_Occurred()) SWIG_fail;
5571 }
5572 {
5573 #if wxUSE_UNICODE
5574 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5575 #else
5576 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5577 #endif
5578 }
5579 {
5580 if (temp2)
5581 delete arg2;
5582 }
5583 return resultobj;
5584 fail:
5585 {
5586 if (temp2)
5587 delete arg2;
5588 }
5589 return NULL;
5590 }
5591
5592
5593 static PyObject *_wrap_FileSystemHandler_FindNext(PyObject *self, PyObject *args, PyObject *kwargs) {
5594 PyObject *resultobj;
5595 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
5596 wxString result;
5597 PyObject * obj0 = 0 ;
5598 char *kwnames[] = {
5599 (char *) "self", NULL
5600 };
5601
5602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileSystemHandler_FindNext",kwnames,&obj0)) goto fail;
5603 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyFileSystemHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5604 {
5605 PyThreadState* __tstate = wxPyBeginAllowThreads();
5606 result = (arg1)->FindNext();
5607
5608 wxPyEndAllowThreads(__tstate);
5609 if (PyErr_Occurred()) SWIG_fail;
5610 }
5611 {
5612 #if wxUSE_UNICODE
5613 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5614 #else
5615 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5616 #endif
5617 }
5618 return resultobj;
5619 fail:
5620 return NULL;
5621 }
5622
5623
5624 static PyObject *_wrap_FileSystemHandler_GetProtocol(PyObject *self, PyObject *args, PyObject *kwargs) {
5625 PyObject *resultobj;
5626 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
5627 wxString *arg2 = 0 ;
5628 wxString result;
5629 bool temp2 = False ;
5630 PyObject * obj0 = 0 ;
5631 PyObject * obj1 = 0 ;
5632 char *kwnames[] = {
5633 (char *) "self",(char *) "location", NULL
5634 };
5635
5636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileSystemHandler_GetProtocol",kwnames,&obj0,&obj1)) goto fail;
5637 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyFileSystemHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5638 {
5639 arg2 = wxString_in_helper(obj1);
5640 if (arg2 == NULL) SWIG_fail;
5641 temp2 = True;
5642 }
5643 {
5644 PyThreadState* __tstate = wxPyBeginAllowThreads();
5645 result = (arg1)->GetProtocol((wxString const &)*arg2);
5646
5647 wxPyEndAllowThreads(__tstate);
5648 if (PyErr_Occurred()) SWIG_fail;
5649 }
5650 {
5651 #if wxUSE_UNICODE
5652 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5653 #else
5654 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5655 #endif
5656 }
5657 {
5658 if (temp2)
5659 delete arg2;
5660 }
5661 return resultobj;
5662 fail:
5663 {
5664 if (temp2)
5665 delete arg2;
5666 }
5667 return NULL;
5668 }
5669
5670
5671 static PyObject *_wrap_FileSystemHandler_GetLeftLocation(PyObject *self, PyObject *args, PyObject *kwargs) {
5672 PyObject *resultobj;
5673 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
5674 wxString *arg2 = 0 ;
5675 wxString result;
5676 bool temp2 = False ;
5677 PyObject * obj0 = 0 ;
5678 PyObject * obj1 = 0 ;
5679 char *kwnames[] = {
5680 (char *) "self",(char *) "location", NULL
5681 };
5682
5683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileSystemHandler_GetLeftLocation",kwnames,&obj0,&obj1)) goto fail;
5684 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyFileSystemHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5685 {
5686 arg2 = wxString_in_helper(obj1);
5687 if (arg2 == NULL) SWIG_fail;
5688 temp2 = True;
5689 }
5690 {
5691 PyThreadState* __tstate = wxPyBeginAllowThreads();
5692 result = (arg1)->GetLeftLocation((wxString const &)*arg2);
5693
5694 wxPyEndAllowThreads(__tstate);
5695 if (PyErr_Occurred()) SWIG_fail;
5696 }
5697 {
5698 #if wxUSE_UNICODE
5699 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5700 #else
5701 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5702 #endif
5703 }
5704 {
5705 if (temp2)
5706 delete arg2;
5707 }
5708 return resultobj;
5709 fail:
5710 {
5711 if (temp2)
5712 delete arg2;
5713 }
5714 return NULL;
5715 }
5716
5717
5718 static PyObject *_wrap_FileSystemHandler_GetAnchor(PyObject *self, PyObject *args, PyObject *kwargs) {
5719 PyObject *resultobj;
5720 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
5721 wxString *arg2 = 0 ;
5722 wxString result;
5723 bool temp2 = False ;
5724 PyObject * obj0 = 0 ;
5725 PyObject * obj1 = 0 ;
5726 char *kwnames[] = {
5727 (char *) "self",(char *) "location", NULL
5728 };
5729
5730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileSystemHandler_GetAnchor",kwnames,&obj0,&obj1)) goto fail;
5731 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyFileSystemHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5732 {
5733 arg2 = wxString_in_helper(obj1);
5734 if (arg2 == NULL) SWIG_fail;
5735 temp2 = True;
5736 }
5737 {
5738 PyThreadState* __tstate = wxPyBeginAllowThreads();
5739 result = (arg1)->GetAnchor((wxString const &)*arg2);
5740
5741 wxPyEndAllowThreads(__tstate);
5742 if (PyErr_Occurred()) SWIG_fail;
5743 }
5744 {
5745 #if wxUSE_UNICODE
5746 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5747 #else
5748 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5749 #endif
5750 }
5751 {
5752 if (temp2)
5753 delete arg2;
5754 }
5755 return resultobj;
5756 fail:
5757 {
5758 if (temp2)
5759 delete arg2;
5760 }
5761 return NULL;
5762 }
5763
5764
5765 static PyObject *_wrap_FileSystemHandler_GetRightLocation(PyObject *self, PyObject *args, PyObject *kwargs) {
5766 PyObject *resultobj;
5767 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
5768 wxString *arg2 = 0 ;
5769 wxString result;
5770 bool temp2 = False ;
5771 PyObject * obj0 = 0 ;
5772 PyObject * obj1 = 0 ;
5773 char *kwnames[] = {
5774 (char *) "self",(char *) "location", NULL
5775 };
5776
5777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileSystemHandler_GetRightLocation",kwnames,&obj0,&obj1)) goto fail;
5778 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyFileSystemHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5779 {
5780 arg2 = wxString_in_helper(obj1);
5781 if (arg2 == NULL) SWIG_fail;
5782 temp2 = True;
5783 }
5784 {
5785 PyThreadState* __tstate = wxPyBeginAllowThreads();
5786 result = (arg1)->GetRightLocation((wxString const &)*arg2);
5787
5788 wxPyEndAllowThreads(__tstate);
5789 if (PyErr_Occurred()) SWIG_fail;
5790 }
5791 {
5792 #if wxUSE_UNICODE
5793 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5794 #else
5795 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5796 #endif
5797 }
5798 {
5799 if (temp2)
5800 delete arg2;
5801 }
5802 return resultobj;
5803 fail:
5804 {
5805 if (temp2)
5806 delete arg2;
5807 }
5808 return NULL;
5809 }
5810
5811
5812 static PyObject *_wrap_FileSystemHandler_GetMimeTypeFromExt(PyObject *self, PyObject *args, PyObject *kwargs) {
5813 PyObject *resultobj;
5814 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
5815 wxString *arg2 = 0 ;
5816 wxString result;
5817 bool temp2 = False ;
5818 PyObject * obj0 = 0 ;
5819 PyObject * obj1 = 0 ;
5820 char *kwnames[] = {
5821 (char *) "self",(char *) "location", NULL
5822 };
5823
5824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileSystemHandler_GetMimeTypeFromExt",kwnames,&obj0,&obj1)) goto fail;
5825 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyFileSystemHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5826 {
5827 arg2 = wxString_in_helper(obj1);
5828 if (arg2 == NULL) SWIG_fail;
5829 temp2 = True;
5830 }
5831 {
5832 PyThreadState* __tstate = wxPyBeginAllowThreads();
5833 result = (arg1)->GetMimeTypeFromExt((wxString const &)*arg2);
5834
5835 wxPyEndAllowThreads(__tstate);
5836 if (PyErr_Occurred()) SWIG_fail;
5837 }
5838 {
5839 #if wxUSE_UNICODE
5840 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5841 #else
5842 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5843 #endif
5844 }
5845 {
5846 if (temp2)
5847 delete arg2;
5848 }
5849 return resultobj;
5850 fail:
5851 {
5852 if (temp2)
5853 delete arg2;
5854 }
5855 return NULL;
5856 }
5857
5858
5859 static PyObject * FileSystemHandler_swigregister(PyObject *self, PyObject *args) {
5860 PyObject *obj;
5861 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5862 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileSystemHandler, obj);
5863 Py_INCREF(obj);
5864 return Py_BuildValue((char *)"");
5865 }
5866 static PyObject *_wrap_new_FileSystem(PyObject *self, PyObject *args, PyObject *kwargs) {
5867 PyObject *resultobj;
5868 wxFileSystem *result;
5869 char *kwnames[] = {
5870 NULL
5871 };
5872
5873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FileSystem",kwnames)) goto fail;
5874 {
5875 PyThreadState* __tstate = wxPyBeginAllowThreads();
5876 result = (wxFileSystem *)new wxFileSystem();
5877
5878 wxPyEndAllowThreads(__tstate);
5879 if (PyErr_Occurred()) SWIG_fail;
5880 }
5881 {
5882 resultobj = wxPyMake_wxObject(result);
5883 }
5884 return resultobj;
5885 fail:
5886 return NULL;
5887 }
5888
5889
5890 static PyObject *_wrap_delete_FileSystem(PyObject *self, PyObject *args, PyObject *kwargs) {
5891 PyObject *resultobj;
5892 wxFileSystem *arg1 = (wxFileSystem *) 0 ;
5893 PyObject * obj0 = 0 ;
5894 char *kwnames[] = {
5895 (char *) "self", NULL
5896 };
5897
5898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FileSystem",kwnames,&obj0)) goto fail;
5899 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileSystem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5900 {
5901 PyThreadState* __tstate = wxPyBeginAllowThreads();
5902 delete arg1;
5903
5904 wxPyEndAllowThreads(__tstate);
5905 if (PyErr_Occurred()) SWIG_fail;
5906 }
5907 Py_INCREF(Py_None); resultobj = Py_None;
5908 return resultobj;
5909 fail:
5910 return NULL;
5911 }
5912
5913
5914 static PyObject *_wrap_FileSystem_ChangePathTo(PyObject *self, PyObject *args, PyObject *kwargs) {
5915 PyObject *resultobj;
5916 wxFileSystem *arg1 = (wxFileSystem *) 0 ;
5917 wxString *arg2 = 0 ;
5918 bool arg3 = (bool) False ;
5919 bool temp2 = False ;
5920 PyObject * obj0 = 0 ;
5921 PyObject * obj1 = 0 ;
5922 PyObject * obj2 = 0 ;
5923 char *kwnames[] = {
5924 (char *) "self",(char *) "location",(char *) "is_dir", NULL
5925 };
5926
5927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileSystem_ChangePathTo",kwnames,&obj0,&obj1,&obj2)) goto fail;
5928 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileSystem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5929 {
5930 arg2 = wxString_in_helper(obj1);
5931 if (arg2 == NULL) SWIG_fail;
5932 temp2 = True;
5933 }
5934 if (obj2) {
5935 arg3 = PyInt_AsLong(obj2) ? true : false;
5936 if (PyErr_Occurred()) SWIG_fail;
5937 }
5938 {
5939 PyThreadState* __tstate = wxPyBeginAllowThreads();
5940 (arg1)->ChangePathTo((wxString const &)*arg2,arg3);
5941
5942 wxPyEndAllowThreads(__tstate);
5943 if (PyErr_Occurred()) SWIG_fail;
5944 }
5945 Py_INCREF(Py_None); resultobj = Py_None;
5946 {
5947 if (temp2)
5948 delete arg2;
5949 }
5950 return resultobj;
5951 fail:
5952 {
5953 if (temp2)
5954 delete arg2;
5955 }
5956 return NULL;
5957 }
5958
5959
5960 static PyObject *_wrap_FileSystem_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
5961 PyObject *resultobj;
5962 wxFileSystem *arg1 = (wxFileSystem *) 0 ;
5963 wxString result;
5964 PyObject * obj0 = 0 ;
5965 char *kwnames[] = {
5966 (char *) "self", NULL
5967 };
5968
5969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileSystem_GetPath",kwnames,&obj0)) goto fail;
5970 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileSystem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5971 {
5972 PyThreadState* __tstate = wxPyBeginAllowThreads();
5973 result = (arg1)->GetPath();
5974
5975 wxPyEndAllowThreads(__tstate);
5976 if (PyErr_Occurred()) SWIG_fail;
5977 }
5978 {
5979 #if wxUSE_UNICODE
5980 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5981 #else
5982 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5983 #endif
5984 }
5985 return resultobj;
5986 fail:
5987 return NULL;
5988 }
5989
5990
5991 static PyObject *_wrap_FileSystem_OpenFile(PyObject *self, PyObject *args, PyObject *kwargs) {
5992 PyObject *resultobj;
5993 wxFileSystem *arg1 = (wxFileSystem *) 0 ;
5994 wxString *arg2 = 0 ;
5995 wxFSFile *result;
5996 bool temp2 = False ;
5997 PyObject * obj0 = 0 ;
5998 PyObject * obj1 = 0 ;
5999 char *kwnames[] = {
6000 (char *) "self",(char *) "location", NULL
6001 };
6002
6003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileSystem_OpenFile",kwnames,&obj0,&obj1)) goto fail;
6004 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileSystem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6005 {
6006 arg2 = wxString_in_helper(obj1);
6007 if (arg2 == NULL) SWIG_fail;
6008 temp2 = True;
6009 }
6010 {
6011 PyThreadState* __tstate = wxPyBeginAllowThreads();
6012 result = (wxFSFile *)(arg1)->OpenFile((wxString const &)*arg2);
6013
6014 wxPyEndAllowThreads(__tstate);
6015 if (PyErr_Occurred()) SWIG_fail;
6016 }
6017 {
6018 resultobj = wxPyMake_wxObject(result);
6019 }
6020 {
6021 if (temp2)
6022 delete arg2;
6023 }
6024 return resultobj;
6025 fail:
6026 {
6027 if (temp2)
6028 delete arg2;
6029 }
6030 return NULL;
6031 }
6032
6033
6034 static PyObject *_wrap_FileSystem_FindFirst(PyObject *self, PyObject *args, PyObject *kwargs) {
6035 PyObject *resultobj;
6036 wxFileSystem *arg1 = (wxFileSystem *) 0 ;
6037 wxString *arg2 = 0 ;
6038 int arg3 = (int) 0 ;
6039 wxString result;
6040 bool temp2 = False ;
6041 PyObject * obj0 = 0 ;
6042 PyObject * obj1 = 0 ;
6043 char *kwnames[] = {
6044 (char *) "self",(char *) "spec",(char *) "flags", NULL
6045 };
6046
6047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:FileSystem_FindFirst",kwnames,&obj0,&obj1,&arg3)) goto fail;
6048 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileSystem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6049 {
6050 arg2 = wxString_in_helper(obj1);
6051 if (arg2 == NULL) SWIG_fail;
6052 temp2 = True;
6053 }
6054 {
6055 PyThreadState* __tstate = wxPyBeginAllowThreads();
6056 result = (arg1)->FindFirst((wxString const &)*arg2,arg3);
6057
6058 wxPyEndAllowThreads(__tstate);
6059 if (PyErr_Occurred()) SWIG_fail;
6060 }
6061 {
6062 #if wxUSE_UNICODE
6063 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6064 #else
6065 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6066 #endif
6067 }
6068 {
6069 if (temp2)
6070 delete arg2;
6071 }
6072 return resultobj;
6073 fail:
6074 {
6075 if (temp2)
6076 delete arg2;
6077 }
6078 return NULL;
6079 }
6080
6081
6082 static PyObject *_wrap_FileSystem_FindNext(PyObject *self, PyObject *args, PyObject *kwargs) {
6083 PyObject *resultobj;
6084 wxFileSystem *arg1 = (wxFileSystem *) 0 ;
6085 wxString result;
6086 PyObject * obj0 = 0 ;
6087 char *kwnames[] = {
6088 (char *) "self", NULL
6089 };
6090
6091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileSystem_FindNext",kwnames,&obj0)) goto fail;
6092 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileSystem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6093 {
6094 PyThreadState* __tstate = wxPyBeginAllowThreads();
6095 result = (arg1)->FindNext();
6096
6097 wxPyEndAllowThreads(__tstate);
6098 if (PyErr_Occurred()) SWIG_fail;
6099 }
6100 {
6101 #if wxUSE_UNICODE
6102 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6103 #else
6104 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6105 #endif
6106 }
6107 return resultobj;
6108 fail:
6109 return NULL;
6110 }
6111
6112
6113 static PyObject *_wrap_FileSystem_AddHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
6114 PyObject *resultobj;
6115 wxFileSystemHandler *arg1 = (wxFileSystemHandler *) 0 ;
6116 PyObject * obj0 = 0 ;
6117 char *kwnames[] = {
6118 (char *) "handler", NULL
6119 };
6120
6121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileSystem_AddHandler",kwnames,&obj0)) goto fail;
6122 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileSystemHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6123 {
6124 PyThreadState* __tstate = wxPyBeginAllowThreads();
6125 wxFileSystem::AddHandler(arg1);
6126
6127 wxPyEndAllowThreads(__tstate);
6128 if (PyErr_Occurred()) SWIG_fail;
6129 }
6130 Py_INCREF(Py_None); resultobj = Py_None;
6131 return resultobj;
6132 fail:
6133 return NULL;
6134 }
6135
6136
6137 static PyObject *_wrap_FileSystem_CleanUpHandlers(PyObject *self, PyObject *args, PyObject *kwargs) {
6138 PyObject *resultobj;
6139 char *kwnames[] = {
6140 NULL
6141 };
6142
6143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":FileSystem_CleanUpHandlers",kwnames)) goto fail;
6144 {
6145 PyThreadState* __tstate = wxPyBeginAllowThreads();
6146 wxFileSystem::CleanUpHandlers();
6147
6148 wxPyEndAllowThreads(__tstate);
6149 if (PyErr_Occurred()) SWIG_fail;
6150 }
6151 Py_INCREF(Py_None); resultobj = Py_None;
6152 return resultobj;
6153 fail:
6154 return NULL;
6155 }
6156
6157
6158 static PyObject *_wrap_FileSystem_FileNameToURL(PyObject *self, PyObject *args, PyObject *kwargs) {
6159 PyObject *resultobj;
6160 wxString *arg1 = 0 ;
6161 wxString result;
6162 bool temp1 = False ;
6163 PyObject * obj0 = 0 ;
6164 char *kwnames[] = {
6165 (char *) "filename", NULL
6166 };
6167
6168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileSystem_FileNameToURL",kwnames,&obj0)) goto fail;
6169 {
6170 arg1 = wxString_in_helper(obj0);
6171 if (arg1 == NULL) SWIG_fail;
6172 temp1 = True;
6173 }
6174 {
6175 PyThreadState* __tstate = wxPyBeginAllowThreads();
6176 result = wxFileSystem::FileNameToURL((wxString const &)*arg1);
6177
6178 wxPyEndAllowThreads(__tstate);
6179 if (PyErr_Occurred()) SWIG_fail;
6180 }
6181 {
6182 #if wxUSE_UNICODE
6183 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6184 #else
6185 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6186 #endif
6187 }
6188 {
6189 if (temp1)
6190 delete arg1;
6191 }
6192 return resultobj;
6193 fail:
6194 {
6195 if (temp1)
6196 delete arg1;
6197 }
6198 return NULL;
6199 }
6200
6201
6202 static PyObject * FileSystem_swigregister(PyObject *self, PyObject *args) {
6203 PyObject *obj;
6204 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6205 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystem, obj);
6206 Py_INCREF(obj);
6207 return Py_BuildValue((char *)"");
6208 }
6209 static PyObject *_wrap_FileSystem_URLToFileName(PyObject *self, PyObject *args, PyObject *kwargs) {
6210 PyObject *resultobj;
6211 wxString *arg1 = 0 ;
6212 wxString result;
6213 bool temp1 = False ;
6214 PyObject * obj0 = 0 ;
6215 char *kwnames[] = {
6216 (char *) "url", NULL
6217 };
6218
6219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileSystem_URLToFileName",kwnames,&obj0)) goto fail;
6220 {
6221 arg1 = wxString_in_helper(obj0);
6222 if (arg1 == NULL) SWIG_fail;
6223 temp1 = True;
6224 }
6225 {
6226 PyThreadState* __tstate = wxPyBeginAllowThreads();
6227 result = wxFileSystem_URLToFileName((wxString const &)*arg1);
6228
6229 wxPyEndAllowThreads(__tstate);
6230 if (PyErr_Occurred()) SWIG_fail;
6231 }
6232 {
6233 #if wxUSE_UNICODE
6234 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6235 #else
6236 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6237 #endif
6238 }
6239 {
6240 if (temp1)
6241 delete arg1;
6242 }
6243 return resultobj;
6244 fail:
6245 {
6246 if (temp1)
6247 delete arg1;
6248 }
6249 return NULL;
6250 }
6251
6252
6253 static PyObject *_wrap_new_InternetFSHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
6254 PyObject *resultobj;
6255 wxInternetFSHandler *result;
6256 char *kwnames[] = {
6257 NULL
6258 };
6259
6260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_InternetFSHandler",kwnames)) goto fail;
6261 {
6262 PyThreadState* __tstate = wxPyBeginAllowThreads();
6263 result = (wxInternetFSHandler *)new wxInternetFSHandler();
6264
6265 wxPyEndAllowThreads(__tstate);
6266 if (PyErr_Occurred()) SWIG_fail;
6267 }
6268 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxInternetFSHandler, 1);
6269 return resultobj;
6270 fail:
6271 return NULL;
6272 }
6273
6274
6275 static PyObject *_wrap_InternetFSHandler_CanOpen(PyObject *self, PyObject *args, PyObject *kwargs) {
6276 PyObject *resultobj;
6277 wxInternetFSHandler *arg1 = (wxInternetFSHandler *) 0 ;
6278 wxString *arg2 = 0 ;
6279 bool result;
6280 bool temp2 = False ;
6281 PyObject * obj0 = 0 ;
6282 PyObject * obj1 = 0 ;
6283 char *kwnames[] = {
6284 (char *) "self",(char *) "location", NULL
6285 };
6286
6287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:InternetFSHandler_CanOpen",kwnames,&obj0,&obj1)) goto fail;
6288 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxInternetFSHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6289 {
6290 arg2 = wxString_in_helper(obj1);
6291 if (arg2 == NULL) SWIG_fail;
6292 temp2 = True;
6293 }
6294 {
6295 PyThreadState* __tstate = wxPyBeginAllowThreads();
6296 result = (bool)(arg1)->CanOpen((wxString const &)*arg2);
6297
6298 wxPyEndAllowThreads(__tstate);
6299 if (PyErr_Occurred()) SWIG_fail;
6300 }
6301 resultobj = PyInt_FromLong((long)result);
6302 {
6303 if (temp2)
6304 delete arg2;
6305 }
6306 return resultobj;
6307 fail:
6308 {
6309 if (temp2)
6310 delete arg2;
6311 }
6312 return NULL;
6313 }
6314
6315
6316 static PyObject *_wrap_InternetFSHandler_OpenFile(PyObject *self, PyObject *args, PyObject *kwargs) {
6317 PyObject *resultobj;
6318 wxInternetFSHandler *arg1 = (wxInternetFSHandler *) 0 ;
6319 wxFileSystem *arg2 = 0 ;
6320 wxString *arg3 = 0 ;
6321 wxFSFile *result;
6322 bool temp3 = False ;
6323 PyObject * obj0 = 0 ;
6324 PyObject * obj1 = 0 ;
6325 PyObject * obj2 = 0 ;
6326 char *kwnames[] = {
6327 (char *) "self",(char *) "fs",(char *) "location", NULL
6328 };
6329
6330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:InternetFSHandler_OpenFile",kwnames,&obj0,&obj1,&obj2)) goto fail;
6331 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxInternetFSHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6332 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFileSystem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6333 if (arg2 == NULL) {
6334 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6335 }
6336 {
6337 arg3 = wxString_in_helper(obj2);
6338 if (arg3 == NULL) SWIG_fail;
6339 temp3 = True;
6340 }
6341 {
6342 PyThreadState* __tstate = wxPyBeginAllowThreads();
6343 result = (wxFSFile *)(arg1)->OpenFile(*arg2,(wxString const &)*arg3);
6344
6345 wxPyEndAllowThreads(__tstate);
6346 if (PyErr_Occurred()) SWIG_fail;
6347 }
6348 {
6349 resultobj = wxPyMake_wxObject(result);
6350 }
6351 {
6352 if (temp3)
6353 delete arg3;
6354 }
6355 return resultobj;
6356 fail:
6357 {
6358 if (temp3)
6359 delete arg3;
6360 }
6361 return NULL;
6362 }
6363
6364
6365 static PyObject * InternetFSHandler_swigregister(PyObject *self, PyObject *args) {
6366 PyObject *obj;
6367 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6368 SWIG_TypeClientData(SWIGTYPE_p_wxInternetFSHandler, obj);
6369 Py_INCREF(obj);
6370 return Py_BuildValue((char *)"");
6371 }
6372 static PyObject *_wrap_new_ZipFSHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
6373 PyObject *resultobj;
6374 wxZipFSHandler *result;
6375 char *kwnames[] = {
6376 NULL
6377 };
6378
6379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ZipFSHandler",kwnames)) goto fail;
6380 {
6381 PyThreadState* __tstate = wxPyBeginAllowThreads();
6382 result = (wxZipFSHandler *)new wxZipFSHandler();
6383
6384 wxPyEndAllowThreads(__tstate);
6385 if (PyErr_Occurred()) SWIG_fail;
6386 }
6387 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxZipFSHandler, 1);
6388 return resultobj;
6389 fail:
6390 return NULL;
6391 }
6392
6393
6394 static PyObject *_wrap_ZipFSHandler_CanOpen(PyObject *self, PyObject *args, PyObject *kwargs) {
6395 PyObject *resultobj;
6396 wxZipFSHandler *arg1 = (wxZipFSHandler *) 0 ;
6397 wxString *arg2 = 0 ;
6398 bool result;
6399 bool temp2 = False ;
6400 PyObject * obj0 = 0 ;
6401 PyObject * obj1 = 0 ;
6402 char *kwnames[] = {
6403 (char *) "self",(char *) "location", NULL
6404 };
6405
6406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ZipFSHandler_CanOpen",kwnames,&obj0,&obj1)) goto fail;
6407 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxZipFSHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6408 {
6409 arg2 = wxString_in_helper(obj1);
6410 if (arg2 == NULL) SWIG_fail;
6411 temp2 = True;
6412 }
6413 {
6414 PyThreadState* __tstate = wxPyBeginAllowThreads();
6415 result = (bool)(arg1)->CanOpen((wxString const &)*arg2);
6416
6417 wxPyEndAllowThreads(__tstate);
6418 if (PyErr_Occurred()) SWIG_fail;
6419 }
6420 resultobj = PyInt_FromLong((long)result);
6421 {
6422 if (temp2)
6423 delete arg2;
6424 }
6425 return resultobj;
6426 fail:
6427 {
6428 if (temp2)
6429 delete arg2;
6430 }
6431 return NULL;
6432 }
6433
6434
6435 static PyObject *_wrap_ZipFSHandler_OpenFile(PyObject *self, PyObject *args, PyObject *kwargs) {
6436 PyObject *resultobj;
6437 wxZipFSHandler *arg1 = (wxZipFSHandler *) 0 ;
6438 wxFileSystem *arg2 = 0 ;
6439 wxString *arg3 = 0 ;
6440 wxFSFile *result;
6441 bool temp3 = False ;
6442 PyObject * obj0 = 0 ;
6443 PyObject * obj1 = 0 ;
6444 PyObject * obj2 = 0 ;
6445 char *kwnames[] = {
6446 (char *) "self",(char *) "fs",(char *) "location", NULL
6447 };
6448
6449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ZipFSHandler_OpenFile",kwnames,&obj0,&obj1,&obj2)) goto fail;
6450 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxZipFSHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6451 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFileSystem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6452 if (arg2 == NULL) {
6453 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6454 }
6455 {
6456 arg3 = wxString_in_helper(obj2);
6457 if (arg3 == NULL) SWIG_fail;
6458 temp3 = True;
6459 }
6460 {
6461 PyThreadState* __tstate = wxPyBeginAllowThreads();
6462 result = (wxFSFile *)(arg1)->OpenFile(*arg2,(wxString const &)*arg3);
6463
6464 wxPyEndAllowThreads(__tstate);
6465 if (PyErr_Occurred()) SWIG_fail;
6466 }
6467 {
6468 resultobj = wxPyMake_wxObject(result);
6469 }
6470 {
6471 if (temp3)
6472 delete arg3;
6473 }
6474 return resultobj;
6475 fail:
6476 {
6477 if (temp3)
6478 delete arg3;
6479 }
6480 return NULL;
6481 }
6482
6483
6484 static PyObject *_wrap_ZipFSHandler_FindFirst(PyObject *self, PyObject *args, PyObject *kwargs) {
6485 PyObject *resultobj;
6486 wxZipFSHandler *arg1 = (wxZipFSHandler *) 0 ;
6487 wxString *arg2 = 0 ;
6488 int arg3 = (int) 0 ;
6489 wxString result;
6490 bool temp2 = False ;
6491 PyObject * obj0 = 0 ;
6492 PyObject * obj1 = 0 ;
6493 char *kwnames[] = {
6494 (char *) "self",(char *) "spec",(char *) "flags", NULL
6495 };
6496
6497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:ZipFSHandler_FindFirst",kwnames,&obj0,&obj1,&arg3)) goto fail;
6498 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxZipFSHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6499 {
6500 arg2 = wxString_in_helper(obj1);
6501 if (arg2 == NULL) SWIG_fail;
6502 temp2 = True;
6503 }
6504 {
6505 PyThreadState* __tstate = wxPyBeginAllowThreads();
6506 result = (arg1)->FindFirst((wxString const &)*arg2,arg3);
6507
6508 wxPyEndAllowThreads(__tstate);
6509 if (PyErr_Occurred()) SWIG_fail;
6510 }
6511 {
6512 #if wxUSE_UNICODE
6513 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6514 #else
6515 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6516 #endif
6517 }
6518 {
6519 if (temp2)
6520 delete arg2;
6521 }
6522 return resultobj;
6523 fail:
6524 {
6525 if (temp2)
6526 delete arg2;
6527 }
6528 return NULL;
6529 }
6530
6531
6532 static PyObject *_wrap_ZipFSHandler_FindNext(PyObject *self, PyObject *args, PyObject *kwargs) {
6533 PyObject *resultobj;
6534 wxZipFSHandler *arg1 = (wxZipFSHandler *) 0 ;
6535 wxString result;
6536 PyObject * obj0 = 0 ;
6537 char *kwnames[] = {
6538 (char *) "self", NULL
6539 };
6540
6541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ZipFSHandler_FindNext",kwnames,&obj0)) goto fail;
6542 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxZipFSHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6543 {
6544 PyThreadState* __tstate = wxPyBeginAllowThreads();
6545 result = (arg1)->FindNext();
6546
6547 wxPyEndAllowThreads(__tstate);
6548 if (PyErr_Occurred()) SWIG_fail;
6549 }
6550 {
6551 #if wxUSE_UNICODE
6552 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6553 #else
6554 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6555 #endif
6556 }
6557 return resultobj;
6558 fail:
6559 return NULL;
6560 }
6561
6562
6563 static PyObject * ZipFSHandler_swigregister(PyObject *self, PyObject *args) {
6564 PyObject *obj;
6565 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6566 SWIG_TypeClientData(SWIGTYPE_p_wxZipFSHandler, obj);
6567 Py_INCREF(obj);
6568 return Py_BuildValue((char *)"");
6569 }
6570 static PyObject *_wrap___wxMemoryFSHandler_AddFile_wxImage(PyObject *self, PyObject *args, PyObject *kwargs) {
6571 PyObject *resultobj;
6572 wxString *arg1 = 0 ;
6573 wxImage *arg2 = 0 ;
6574 long arg3 ;
6575 bool temp1 = False ;
6576 PyObject * obj0 = 0 ;
6577 PyObject * obj1 = 0 ;
6578 char *kwnames[] = {
6579 (char *) "filename",(char *) "image",(char *) "type", NULL
6580 };
6581
6582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOl:__wxMemoryFSHandler_AddFile_wxImage",kwnames,&obj0,&obj1,&arg3)) goto fail;
6583 {
6584 arg1 = wxString_in_helper(obj0);
6585 if (arg1 == NULL) SWIG_fail;
6586 temp1 = True;
6587 }
6588 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6589 if (arg2 == NULL) {
6590 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6591 }
6592 {
6593 PyThreadState* __tstate = wxPyBeginAllowThreads();
6594 __wxMemoryFSHandler_AddFile_wxImage((wxString const &)*arg1,*arg2,arg3);
6595
6596 wxPyEndAllowThreads(__tstate);
6597 if (PyErr_Occurred()) SWIG_fail;
6598 }
6599 Py_INCREF(Py_None); resultobj = Py_None;
6600 {
6601 if (temp1)
6602 delete arg1;
6603 }
6604 return resultobj;
6605 fail:
6606 {
6607 if (temp1)
6608 delete arg1;
6609 }
6610 return NULL;
6611 }
6612
6613
6614 static PyObject *_wrap___wxMemoryFSHandler_AddFile_wxBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
6615 PyObject *resultobj;
6616 wxString *arg1 = 0 ;
6617 wxBitmap *arg2 = 0 ;
6618 long arg3 ;
6619 bool temp1 = False ;
6620 PyObject * obj0 = 0 ;
6621 PyObject * obj1 = 0 ;
6622 char *kwnames[] = {
6623 (char *) "filename",(char *) "bitmap",(char *) "type", NULL
6624 };
6625
6626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOl:__wxMemoryFSHandler_AddFile_wxBitmap",kwnames,&obj0,&obj1,&arg3)) goto fail;
6627 {
6628 arg1 = wxString_in_helper(obj0);
6629 if (arg1 == NULL) SWIG_fail;
6630 temp1 = True;
6631 }
6632 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6633 if (arg2 == NULL) {
6634 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6635 }
6636 {
6637 PyThreadState* __tstate = wxPyBeginAllowThreads();
6638 __wxMemoryFSHandler_AddFile_wxBitmap((wxString const &)*arg1,(wxBitmap const &)*arg2,arg3);
6639
6640 wxPyEndAllowThreads(__tstate);
6641 if (PyErr_Occurred()) SWIG_fail;
6642 }
6643 Py_INCREF(Py_None); resultobj = Py_None;
6644 {
6645 if (temp1)
6646 delete arg1;
6647 }
6648 return resultobj;
6649 fail:
6650 {
6651 if (temp1)
6652 delete arg1;
6653 }
6654 return NULL;
6655 }
6656
6657
6658 static PyObject *_wrap___wxMemoryFSHandler_AddFile_Data(PyObject *self, PyObject *args, PyObject *kwargs) {
6659 PyObject *resultobj;
6660 wxString *arg1 = 0 ;
6661 PyObject *arg2 = (PyObject *) 0 ;
6662 bool temp1 = False ;
6663 PyObject * obj0 = 0 ;
6664 PyObject * obj1 = 0 ;
6665 char *kwnames[] = {
6666 (char *) "filename",(char *) "data", NULL
6667 };
6668
6669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:__wxMemoryFSHandler_AddFile_Data",kwnames,&obj0,&obj1)) goto fail;
6670 {
6671 arg1 = wxString_in_helper(obj0);
6672 if (arg1 == NULL) SWIG_fail;
6673 temp1 = True;
6674 }
6675 arg2 = obj1;
6676 {
6677 PyThreadState* __tstate = wxPyBeginAllowThreads();
6678 __wxMemoryFSHandler_AddFile_Data((wxString const &)*arg1,arg2);
6679
6680 wxPyEndAllowThreads(__tstate);
6681 if (PyErr_Occurred()) SWIG_fail;
6682 }
6683 Py_INCREF(Py_None); resultobj = Py_None;
6684 {
6685 if (temp1)
6686 delete arg1;
6687 }
6688 return resultobj;
6689 fail:
6690 {
6691 if (temp1)
6692 delete arg1;
6693 }
6694 return NULL;
6695 }
6696
6697
6698 static PyObject *_wrap_new_MemoryFSHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
6699 PyObject *resultobj;
6700 wxMemoryFSHandler *result;
6701 char *kwnames[] = {
6702 NULL
6703 };
6704
6705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_MemoryFSHandler",kwnames)) goto fail;
6706 {
6707 PyThreadState* __tstate = wxPyBeginAllowThreads();
6708 result = (wxMemoryFSHandler *)new wxMemoryFSHandler();
6709
6710 wxPyEndAllowThreads(__tstate);
6711 if (PyErr_Occurred()) SWIG_fail;
6712 }
6713 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMemoryFSHandler, 1);
6714 return resultobj;
6715 fail:
6716 return NULL;
6717 }
6718
6719
6720 static PyObject *_wrap_MemoryFSHandler_RemoveFile(PyObject *self, PyObject *args, PyObject *kwargs) {
6721 PyObject *resultobj;
6722 wxString *arg1 = 0 ;
6723 bool temp1 = False ;
6724 PyObject * obj0 = 0 ;
6725 char *kwnames[] = {
6726 (char *) "filename", NULL
6727 };
6728
6729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MemoryFSHandler_RemoveFile",kwnames,&obj0)) goto fail;
6730 {
6731 arg1 = wxString_in_helper(obj0);
6732 if (arg1 == NULL) SWIG_fail;
6733 temp1 = True;
6734 }
6735 {
6736 PyThreadState* __tstate = wxPyBeginAllowThreads();
6737 wxMemoryFSHandler::RemoveFile((wxString const &)*arg1);
6738
6739 wxPyEndAllowThreads(__tstate);
6740 if (PyErr_Occurred()) SWIG_fail;
6741 }
6742 Py_INCREF(Py_None); resultobj = Py_None;
6743 {
6744 if (temp1)
6745 delete arg1;
6746 }
6747 return resultobj;
6748 fail:
6749 {
6750 if (temp1)
6751 delete arg1;
6752 }
6753 return NULL;
6754 }
6755
6756
6757 static PyObject *_wrap_MemoryFSHandler_CanOpen(PyObject *self, PyObject *args, PyObject *kwargs) {
6758 PyObject *resultobj;
6759 wxMemoryFSHandler *arg1 = (wxMemoryFSHandler *) 0 ;
6760 wxString *arg2 = 0 ;
6761 bool result;
6762 bool temp2 = False ;
6763 PyObject * obj0 = 0 ;
6764 PyObject * obj1 = 0 ;
6765 char *kwnames[] = {
6766 (char *) "self",(char *) "location", NULL
6767 };
6768
6769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MemoryFSHandler_CanOpen",kwnames,&obj0,&obj1)) goto fail;
6770 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMemoryFSHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6771 {
6772 arg2 = wxString_in_helper(obj1);
6773 if (arg2 == NULL) SWIG_fail;
6774 temp2 = True;
6775 }
6776 {
6777 PyThreadState* __tstate = wxPyBeginAllowThreads();
6778 result = (bool)(arg1)->CanOpen((wxString const &)*arg2);
6779
6780 wxPyEndAllowThreads(__tstate);
6781 if (PyErr_Occurred()) SWIG_fail;
6782 }
6783 resultobj = PyInt_FromLong((long)result);
6784 {
6785 if (temp2)
6786 delete arg2;
6787 }
6788 return resultobj;
6789 fail:
6790 {
6791 if (temp2)
6792 delete arg2;
6793 }
6794 return NULL;
6795 }
6796
6797
6798 static PyObject *_wrap_MemoryFSHandler_OpenFile(PyObject *self, PyObject *args, PyObject *kwargs) {
6799 PyObject *resultobj;
6800 wxMemoryFSHandler *arg1 = (wxMemoryFSHandler *) 0 ;
6801 wxFileSystem *arg2 = 0 ;
6802 wxString *arg3 = 0 ;
6803 wxFSFile *result;
6804 bool temp3 = False ;
6805 PyObject * obj0 = 0 ;
6806 PyObject * obj1 = 0 ;
6807 PyObject * obj2 = 0 ;
6808 char *kwnames[] = {
6809 (char *) "self",(char *) "fs",(char *) "location", NULL
6810 };
6811
6812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MemoryFSHandler_OpenFile",kwnames,&obj0,&obj1,&obj2)) goto fail;
6813 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMemoryFSHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6814 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFileSystem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6815 if (arg2 == NULL) {
6816 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6817 }
6818 {
6819 arg3 = wxString_in_helper(obj2);
6820 if (arg3 == NULL) SWIG_fail;
6821 temp3 = True;
6822 }
6823 {
6824 PyThreadState* __tstate = wxPyBeginAllowThreads();
6825 result = (wxFSFile *)(arg1)->OpenFile(*arg2,(wxString const &)*arg3);
6826
6827 wxPyEndAllowThreads(__tstate);
6828 if (PyErr_Occurred()) SWIG_fail;
6829 }
6830 {
6831 resultobj = wxPyMake_wxObject(result);
6832 }
6833 {
6834 if (temp3)
6835 delete arg3;
6836 }
6837 return resultobj;
6838 fail:
6839 {
6840 if (temp3)
6841 delete arg3;
6842 }
6843 return NULL;
6844 }
6845
6846
6847 static PyObject *_wrap_MemoryFSHandler_FindFirst(PyObject *self, PyObject *args, PyObject *kwargs) {
6848 PyObject *resultobj;
6849 wxMemoryFSHandler *arg1 = (wxMemoryFSHandler *) 0 ;
6850 wxString *arg2 = 0 ;
6851 int arg3 = (int) 0 ;
6852 wxString result;
6853 bool temp2 = False ;
6854 PyObject * obj0 = 0 ;
6855 PyObject * obj1 = 0 ;
6856 char *kwnames[] = {
6857 (char *) "self",(char *) "spec",(char *) "flags", NULL
6858 };
6859
6860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:MemoryFSHandler_FindFirst",kwnames,&obj0,&obj1,&arg3)) goto fail;
6861 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMemoryFSHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6862 {
6863 arg2 = wxString_in_helper(obj1);
6864 if (arg2 == NULL) SWIG_fail;
6865 temp2 = True;
6866 }
6867 {
6868 PyThreadState* __tstate = wxPyBeginAllowThreads();
6869 result = (arg1)->FindFirst((wxString const &)*arg2,arg3);
6870
6871 wxPyEndAllowThreads(__tstate);
6872 if (PyErr_Occurred()) SWIG_fail;
6873 }
6874 {
6875 #if wxUSE_UNICODE
6876 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6877 #else
6878 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6879 #endif
6880 }
6881 {
6882 if (temp2)
6883 delete arg2;
6884 }
6885 return resultobj;
6886 fail:
6887 {
6888 if (temp2)
6889 delete arg2;
6890 }
6891 return NULL;
6892 }
6893
6894
6895 static PyObject *_wrap_MemoryFSHandler_FindNext(PyObject *self, PyObject *args, PyObject *kwargs) {
6896 PyObject *resultobj;
6897 wxMemoryFSHandler *arg1 = (wxMemoryFSHandler *) 0 ;
6898 wxString result;
6899 PyObject * obj0 = 0 ;
6900 char *kwnames[] = {
6901 (char *) "self", NULL
6902 };
6903
6904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MemoryFSHandler_FindNext",kwnames,&obj0)) goto fail;
6905 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMemoryFSHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6906 {
6907 PyThreadState* __tstate = wxPyBeginAllowThreads();
6908 result = (arg1)->FindNext();
6909
6910 wxPyEndAllowThreads(__tstate);
6911 if (PyErr_Occurred()) SWIG_fail;
6912 }
6913 {
6914 #if wxUSE_UNICODE
6915 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6916 #else
6917 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6918 #endif
6919 }
6920 return resultobj;
6921 fail:
6922 return NULL;
6923 }
6924
6925
6926 static PyObject * MemoryFSHandler_swigregister(PyObject *self, PyObject *args) {
6927 PyObject *obj;
6928 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6929 SWIG_TypeClientData(SWIGTYPE_p_wxMemoryFSHandler, obj);
6930 Py_INCREF(obj);
6931 return Py_BuildValue((char *)"");
6932 }
6933 static PyObject *_wrap_ImageHandler_GetName(PyObject *self, PyObject *args, PyObject *kwargs) {
6934 PyObject *resultobj;
6935 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
6936 wxString result;
6937 PyObject * obj0 = 0 ;
6938 char *kwnames[] = {
6939 (char *) "self", NULL
6940 };
6941
6942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ImageHandler_GetName",kwnames,&obj0)) goto fail;
6943 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImageHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6944 {
6945 PyThreadState* __tstate = wxPyBeginAllowThreads();
6946 result = (arg1)->GetName();
6947
6948 wxPyEndAllowThreads(__tstate);
6949 if (PyErr_Occurred()) SWIG_fail;
6950 }
6951 {
6952 #if wxUSE_UNICODE
6953 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6954 #else
6955 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6956 #endif
6957 }
6958 return resultobj;
6959 fail:
6960 return NULL;
6961 }
6962
6963
6964 static PyObject *_wrap_ImageHandler_GetExtension(PyObject *self, PyObject *args, PyObject *kwargs) {
6965 PyObject *resultobj;
6966 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
6967 wxString result;
6968 PyObject * obj0 = 0 ;
6969 char *kwnames[] = {
6970 (char *) "self", NULL
6971 };
6972
6973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ImageHandler_GetExtension",kwnames,&obj0)) goto fail;
6974 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImageHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6975 {
6976 PyThreadState* __tstate = wxPyBeginAllowThreads();
6977 result = (arg1)->GetExtension();
6978
6979 wxPyEndAllowThreads(__tstate);
6980 if (PyErr_Occurred()) SWIG_fail;
6981 }
6982 {
6983 #if wxUSE_UNICODE
6984 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6985 #else
6986 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6987 #endif
6988 }
6989 return resultobj;
6990 fail:
6991 return NULL;
6992 }
6993
6994
6995 static PyObject *_wrap_ImageHandler_GetType(PyObject *self, PyObject *args, PyObject *kwargs) {
6996 PyObject *resultobj;
6997 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
6998 long result;
6999 PyObject * obj0 = 0 ;
7000 char *kwnames[] = {
7001 (char *) "self", NULL
7002 };
7003
7004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ImageHandler_GetType",kwnames,&obj0)) goto fail;
7005 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImageHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7006 {
7007 PyThreadState* __tstate = wxPyBeginAllowThreads();
7008 result = (long)(arg1)->GetType();
7009
7010 wxPyEndAllowThreads(__tstate);
7011 if (PyErr_Occurred()) SWIG_fail;
7012 }
7013 resultobj = PyInt_FromLong((long)result);
7014 return resultobj;
7015 fail:
7016 return NULL;
7017 }
7018
7019
7020 static PyObject *_wrap_ImageHandler_GetMimeType(PyObject *self, PyObject *args, PyObject *kwargs) {
7021 PyObject *resultobj;
7022 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
7023 wxString result;
7024 PyObject * obj0 = 0 ;
7025 char *kwnames[] = {
7026 (char *) "self", NULL
7027 };
7028
7029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ImageHandler_GetMimeType",kwnames,&obj0)) goto fail;
7030 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImageHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7031 {
7032 PyThreadState* __tstate = wxPyBeginAllowThreads();
7033 result = (arg1)->GetMimeType();
7034
7035 wxPyEndAllowThreads(__tstate);
7036 if (PyErr_Occurred()) SWIG_fail;
7037 }
7038 {
7039 #if wxUSE_UNICODE
7040 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7041 #else
7042 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7043 #endif
7044 }
7045 return resultobj;
7046 fail:
7047 return NULL;
7048 }
7049
7050
7051 static PyObject *_wrap_ImageHandler_CanRead(PyObject *self, PyObject *args, PyObject *kwargs) {
7052 PyObject *resultobj;
7053 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
7054 wxString *arg2 = 0 ;
7055 bool result;
7056 bool temp2 = False ;
7057 PyObject * obj0 = 0 ;
7058 PyObject * obj1 = 0 ;
7059 char *kwnames[] = {
7060 (char *) "self",(char *) "name", NULL
7061 };
7062
7063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ImageHandler_CanRead",kwnames,&obj0,&obj1)) goto fail;
7064 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImageHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7065 {
7066 arg2 = wxString_in_helper(obj1);
7067 if (arg2 == NULL) SWIG_fail;
7068 temp2 = True;
7069 }
7070 {
7071 PyThreadState* __tstate = wxPyBeginAllowThreads();
7072 result = (bool)(arg1)->CanRead((wxString const &)*arg2);
7073
7074 wxPyEndAllowThreads(__tstate);
7075 if (PyErr_Occurred()) SWIG_fail;
7076 }
7077 resultobj = PyInt_FromLong((long)result);
7078 {
7079 if (temp2)
7080 delete arg2;
7081 }
7082 return resultobj;
7083 fail:
7084 {
7085 if (temp2)
7086 delete arg2;
7087 }
7088 return NULL;
7089 }
7090
7091
7092 static PyObject *_wrap_ImageHandler_SetName(PyObject *self, PyObject *args, PyObject *kwargs) {
7093 PyObject *resultobj;
7094 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
7095 wxString *arg2 = 0 ;
7096 bool temp2 = False ;
7097 PyObject * obj0 = 0 ;
7098 PyObject * obj1 = 0 ;
7099 char *kwnames[] = {
7100 (char *) "self",(char *) "name", NULL
7101 };
7102
7103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ImageHandler_SetName",kwnames,&obj0,&obj1)) goto fail;
7104 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImageHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7105 {
7106 arg2 = wxString_in_helper(obj1);
7107 if (arg2 == NULL) SWIG_fail;
7108 temp2 = True;
7109 }
7110 {
7111 PyThreadState* __tstate = wxPyBeginAllowThreads();
7112 (arg1)->SetName((wxString const &)*arg2);
7113
7114 wxPyEndAllowThreads(__tstate);
7115 if (PyErr_Occurred()) SWIG_fail;
7116 }
7117 Py_INCREF(Py_None); resultobj = Py_None;
7118 {
7119 if (temp2)
7120 delete arg2;
7121 }
7122 return resultobj;
7123 fail:
7124 {
7125 if (temp2)
7126 delete arg2;
7127 }
7128 return NULL;
7129 }
7130
7131
7132 static PyObject *_wrap_ImageHandler_SetExtension(PyObject *self, PyObject *args, PyObject *kwargs) {
7133 PyObject *resultobj;
7134 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
7135 wxString *arg2 = 0 ;
7136 bool temp2 = False ;
7137 PyObject * obj0 = 0 ;
7138 PyObject * obj1 = 0 ;
7139 char *kwnames[] = {
7140 (char *) "self",(char *) "extension", NULL
7141 };
7142
7143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ImageHandler_SetExtension",kwnames,&obj0,&obj1)) goto fail;
7144 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImageHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7145 {
7146 arg2 = wxString_in_helper(obj1);
7147 if (arg2 == NULL) SWIG_fail;
7148 temp2 = True;
7149 }
7150 {
7151 PyThreadState* __tstate = wxPyBeginAllowThreads();
7152 (arg1)->SetExtension((wxString const &)*arg2);
7153
7154 wxPyEndAllowThreads(__tstate);
7155 if (PyErr_Occurred()) SWIG_fail;
7156 }
7157 Py_INCREF(Py_None); resultobj = Py_None;
7158 {
7159 if (temp2)
7160 delete arg2;
7161 }
7162 return resultobj;
7163 fail:
7164 {
7165 if (temp2)
7166 delete arg2;
7167 }
7168 return NULL;
7169 }
7170
7171
7172 static PyObject *_wrap_ImageHandler_SetType(PyObject *self, PyObject *args, PyObject *kwargs) {
7173 PyObject *resultobj;
7174 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
7175 long arg2 ;
7176 PyObject * obj0 = 0 ;
7177 char *kwnames[] = {
7178 (char *) "self",(char *) "type", NULL
7179 };
7180
7181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ImageHandler_SetType",kwnames,&obj0,&arg2)) goto fail;
7182 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImageHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7183 {
7184 PyThreadState* __tstate = wxPyBeginAllowThreads();
7185 (arg1)->SetType(arg2);
7186
7187 wxPyEndAllowThreads(__tstate);
7188 if (PyErr_Occurred()) SWIG_fail;
7189 }
7190 Py_INCREF(Py_None); resultobj = Py_None;
7191 return resultobj;
7192 fail:
7193 return NULL;
7194 }
7195
7196
7197 static PyObject *_wrap_ImageHandler_SetMimeType(PyObject *self, PyObject *args, PyObject *kwargs) {
7198 PyObject *resultobj;
7199 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
7200 wxString *arg2 = 0 ;
7201 bool temp2 = False ;
7202 PyObject * obj0 = 0 ;
7203 PyObject * obj1 = 0 ;
7204 char *kwnames[] = {
7205 (char *) "self",(char *) "mimetype", NULL
7206 };
7207
7208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ImageHandler_SetMimeType",kwnames,&obj0,&obj1)) goto fail;
7209 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImageHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7210 {
7211 arg2 = wxString_in_helper(obj1);
7212 if (arg2 == NULL) SWIG_fail;
7213 temp2 = True;
7214 }
7215 {
7216 PyThreadState* __tstate = wxPyBeginAllowThreads();
7217 (arg1)->SetMimeType((wxString const &)*arg2);
7218
7219 wxPyEndAllowThreads(__tstate);
7220 if (PyErr_Occurred()) SWIG_fail;
7221 }
7222 Py_INCREF(Py_None); resultobj = Py_None;
7223 {
7224 if (temp2)
7225 delete arg2;
7226 }
7227 return resultobj;
7228 fail:
7229 {
7230 if (temp2)
7231 delete arg2;
7232 }
7233 return NULL;
7234 }
7235
7236
7237 static PyObject * ImageHandler_swigregister(PyObject *self, PyObject *args) {
7238 PyObject *obj;
7239 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7240 SWIG_TypeClientData(SWIGTYPE_p_wxImageHandler, obj);
7241 Py_INCREF(obj);
7242 return Py_BuildValue((char *)"");
7243 }
7244 static PyObject *_wrap_new_ImageHistogram(PyObject *self, PyObject *args, PyObject *kwargs) {
7245 PyObject *resultobj;
7246 wxImageHistogram *result;
7247 char *kwnames[] = {
7248 NULL
7249 };
7250
7251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ImageHistogram",kwnames)) goto fail;
7252 {
7253 PyThreadState* __tstate = wxPyBeginAllowThreads();
7254 result = (wxImageHistogram *)new wxImageHistogram();
7255
7256 wxPyEndAllowThreads(__tstate);
7257 if (PyErr_Occurred()) SWIG_fail;
7258 }
7259 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxImageHistogram, 1);
7260 return resultobj;
7261 fail:
7262 return NULL;
7263 }
7264
7265
7266 static PyObject *_wrap_ImageHistogram_MakeKey(PyObject *self, PyObject *args, PyObject *kwargs) {
7267 PyObject *resultobj;
7268 unsigned char arg1 ;
7269 unsigned char arg2 ;
7270 unsigned char arg3 ;
7271 unsigned long result;
7272 PyObject * obj0 = 0 ;
7273 PyObject * obj1 = 0 ;
7274 PyObject * obj2 = 0 ;
7275 char *kwnames[] = {
7276 (char *) "r",(char *) "g",(char *) "b", NULL
7277 };
7278
7279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ImageHistogram_MakeKey",kwnames,&obj0,&obj1,&obj2)) goto fail;
7280 arg1 = (unsigned char) PyInt_AsLong(obj0);
7281 if (PyErr_Occurred()) SWIG_fail;
7282 arg2 = (unsigned char) PyInt_AsLong(obj1);
7283 if (PyErr_Occurred()) SWIG_fail;
7284 arg3 = (unsigned char) PyInt_AsLong(obj2);
7285 if (PyErr_Occurred()) SWIG_fail;
7286 {
7287 PyThreadState* __tstate = wxPyBeginAllowThreads();
7288 result = (unsigned long)wxImageHistogram::MakeKey(arg1,arg2,arg3);
7289
7290 wxPyEndAllowThreads(__tstate);
7291 if (PyErr_Occurred()) SWIG_fail;
7292 }
7293 resultobj = PyInt_FromLong((long)result);
7294 return resultobj;
7295 fail:
7296 return NULL;
7297 }
7298
7299
7300 static PyObject *_wrap_ImageHistogram_FindFirstUnusedColour(PyObject *self, PyObject *args, PyObject *kwargs) {
7301 PyObject *resultobj;
7302 wxImageHistogram *arg1 = (wxImageHistogram *) 0 ;
7303 unsigned char *arg2 = (unsigned char *) 0 ;
7304 unsigned char *arg3 = (unsigned char *) 0 ;
7305 unsigned char *arg4 = (unsigned char *) 0 ;
7306 unsigned char arg5 = (unsigned char) 1 ;
7307 unsigned char arg6 = (unsigned char) 0 ;
7308 unsigned char arg7 = (unsigned char) 0 ;
7309 bool result;
7310 unsigned char temp2 ;
7311 unsigned char temp3 ;
7312 unsigned char temp4 ;
7313 PyObject * obj0 = 0 ;
7314 PyObject * obj1 = 0 ;
7315 PyObject * obj2 = 0 ;
7316 PyObject * obj3 = 0 ;
7317 char *kwnames[] = {
7318 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
7319 };
7320
7321 arg2 = &temp2;
7322 arg3 = &temp3;
7323 arg4 = &temp4;
7324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:ImageHistogram_FindFirstUnusedColour",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
7325 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImageHistogram,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7326 if (obj1) {
7327 arg5 = (unsigned char) PyInt_AsLong(obj1);
7328 if (PyErr_Occurred()) SWIG_fail;
7329 }
7330 if (obj2) {
7331 arg6 = (unsigned char) PyInt_AsLong(obj2);
7332 if (PyErr_Occurred()) SWIG_fail;
7333 }
7334 if (obj3) {
7335 arg7 = (unsigned char) PyInt_AsLong(obj3);
7336 if (PyErr_Occurred()) SWIG_fail;
7337 }
7338 {
7339 PyThreadState* __tstate = wxPyBeginAllowThreads();
7340 result = (bool)((wxImageHistogram const *)arg1)->FindFirstUnusedColour(arg2,arg3,arg4,arg5,arg6,arg7);
7341
7342 wxPyEndAllowThreads(__tstate);
7343 if (PyErr_Occurred()) SWIG_fail;
7344 }
7345 resultobj = PyInt_FromLong((long)result);
7346 {
7347 PyObject *o = PyInt_FromLong((long) (*arg2));
7348 resultobj = t_output_helper(resultobj,o);
7349 }
7350 {
7351 PyObject *o = PyInt_FromLong((long) (*arg3));
7352 resultobj = t_output_helper(resultobj,o);
7353 }
7354 {
7355 PyObject *o = PyInt_FromLong((long) (*arg4));
7356 resultobj = t_output_helper(resultobj,o);
7357 }
7358 return resultobj;
7359 fail:
7360 return NULL;
7361 }
7362
7363
7364 static PyObject * ImageHistogram_swigregister(PyObject *self, PyObject *args) {
7365 PyObject *obj;
7366 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7367 SWIG_TypeClientData(SWIGTYPE_p_wxImageHistogram, obj);
7368 Py_INCREF(obj);
7369 return Py_BuildValue((char *)"");
7370 }
7371 static PyObject *_wrap_new_Image(PyObject *self, PyObject *args, PyObject *kwargs) {
7372 PyObject *resultobj;
7373 wxString *arg1 = 0 ;
7374 long arg2 = (long) wxBITMAP_TYPE_ANY ;
7375 int arg3 = (int) -1 ;
7376 wxImage *result;
7377 bool temp1 = False ;
7378 PyObject * obj0 = 0 ;
7379 char *kwnames[] = {
7380 (char *) "name",(char *) "type",(char *) "index", NULL
7381 };
7382
7383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|li:new_Image",kwnames,&obj0,&arg2,&arg3)) goto fail;
7384 {
7385 arg1 = wxString_in_helper(obj0);
7386 if (arg1 == NULL) SWIG_fail;
7387 temp1 = True;
7388 }
7389 {
7390 PyThreadState* __tstate = wxPyBeginAllowThreads();
7391 result = (wxImage *)new wxImage((wxString const &)*arg1,arg2,arg3);
7392
7393 wxPyEndAllowThreads(__tstate);
7394 if (PyErr_Occurred()) SWIG_fail;
7395 }
7396 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxImage, 1);
7397 {
7398 if (temp1)
7399 delete arg1;
7400 }
7401 return resultobj;
7402 fail:
7403 {
7404 if (temp1)
7405 delete arg1;
7406 }
7407 return NULL;
7408 }
7409
7410
7411 static PyObject *_wrap_delete_Image(PyObject *self, PyObject *args, PyObject *kwargs) {
7412 PyObject *resultobj;
7413 wxImage *arg1 = (wxImage *) 0 ;
7414 PyObject * obj0 = 0 ;
7415 char *kwnames[] = {
7416 (char *) "self", NULL
7417 };
7418
7419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Image",kwnames,&obj0)) goto fail;
7420 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7421 {
7422 PyThreadState* __tstate = wxPyBeginAllowThreads();
7423 delete arg1;
7424
7425 wxPyEndAllowThreads(__tstate);
7426 if (PyErr_Occurred()) SWIG_fail;
7427 }
7428 Py_INCREF(Py_None); resultobj = Py_None;
7429 return resultobj;
7430 fail:
7431 return NULL;
7432 }
7433
7434
7435 static PyObject *_wrap_new_ImageFromMime(PyObject *self, PyObject *args, PyObject *kwargs) {
7436 PyObject *resultobj;
7437 wxString *arg1 = 0 ;
7438 wxString *arg2 = 0 ;
7439 int arg3 = (int) -1 ;
7440 wxImage *result;
7441 bool temp1 = False ;
7442 bool temp2 = False ;
7443 PyObject * obj0 = 0 ;
7444 PyObject * obj1 = 0 ;
7445 char *kwnames[] = {
7446 (char *) "name",(char *) "mimetype",(char *) "index", NULL
7447 };
7448
7449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:new_ImageFromMime",kwnames,&obj0,&obj1,&arg3)) goto fail;
7450 {
7451 arg1 = wxString_in_helper(obj0);
7452 if (arg1 == NULL) SWIG_fail;
7453 temp1 = True;
7454 }
7455 {
7456 arg2 = wxString_in_helper(obj1);
7457 if (arg2 == NULL) SWIG_fail;
7458 temp2 = True;
7459 }
7460 {
7461 PyThreadState* __tstate = wxPyBeginAllowThreads();
7462 result = (wxImage *)new wxImage((wxString const &)*arg1,(wxString const &)*arg2,arg3);
7463
7464 wxPyEndAllowThreads(__tstate);
7465 if (PyErr_Occurred()) SWIG_fail;
7466 }
7467 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxImage, 1);
7468 {
7469 if (temp1)
7470 delete arg1;
7471 }
7472 {
7473 if (temp2)
7474 delete arg2;
7475 }
7476 return resultobj;
7477 fail:
7478 {
7479 if (temp1)
7480 delete arg1;
7481 }
7482 {
7483 if (temp2)
7484 delete arg2;
7485 }
7486 return NULL;
7487 }
7488
7489
7490 static PyObject *_wrap_new_ImageFromStream(PyObject *self, PyObject *args, PyObject *kwargs) {
7491 PyObject *resultobj;
7492 wxInputStream *arg1 = 0 ;
7493 long arg2 = (long) wxBITMAP_TYPE_ANY ;
7494 int arg3 = (int) -1 ;
7495 wxImage *result;
7496 wxPyInputStream *temp1 ;
7497 bool created1 ;
7498 PyObject * obj0 = 0 ;
7499 char *kwnames[] = {
7500 (char *) "stream",(char *) "type",(char *) "index", NULL
7501 };
7502
7503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|li:new_ImageFromStream",kwnames,&obj0,&arg2,&arg3)) goto fail;
7504 {
7505 if (wxPyConvertSwigPtr(obj0, (void **)&temp1, wxT("wxPyInputStream"))) {
7506 arg1 = temp1->m_wxis;
7507 created1 = False;
7508 } else {
7509 PyErr_Clear(); // clear the failure of the wxPyConvert above
7510 arg1 = wxPyCBInputStream_create(obj0, False);
7511 if (arg1 == NULL) {
7512 PyErr_SetString(PyExc_TypeError, "Expected wxInputStream or Python file-like object.");
7513 SWIG_fail;
7514 }
7515 created1 = True;
7516 }
7517 }
7518 {
7519 PyThreadState* __tstate = wxPyBeginAllowThreads();
7520 result = (wxImage *)new wxImage(*arg1,arg2,arg3);
7521
7522 wxPyEndAllowThreads(__tstate);
7523 if (PyErr_Occurred()) SWIG_fail;
7524 }
7525 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxImage, 1);
7526 {
7527 if (created1)
7528 delete arg1;
7529 }
7530 return resultobj;
7531 fail:
7532 {
7533 if (created1)
7534 delete arg1;
7535 }
7536 return NULL;
7537 }
7538
7539
7540 static PyObject *_wrap_new_ImageFromStreamMime(PyObject *self, PyObject *args, PyObject *kwargs) {
7541 PyObject *resultobj;
7542 wxInputStream *arg1 = 0 ;
7543 wxString *arg2 = 0 ;
7544 int arg3 = (int) -1 ;
7545 wxImage *result;
7546 wxPyInputStream *temp1 ;
7547 bool created1 ;
7548 bool temp2 = False ;
7549 PyObject * obj0 = 0 ;
7550 PyObject * obj1 = 0 ;
7551 char *kwnames[] = {
7552 (char *) "stream",(char *) "mimetype",(char *) "index", NULL
7553 };
7554
7555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:new_ImageFromStreamMime",kwnames,&obj0,&obj1,&arg3)) goto fail;
7556 {
7557 if (wxPyConvertSwigPtr(obj0, (void **)&temp1, wxT("wxPyInputStream"))) {
7558 arg1 = temp1->m_wxis;
7559 created1 = False;
7560 } else {
7561 PyErr_Clear(); // clear the failure of the wxPyConvert above
7562 arg1 = wxPyCBInputStream_create(obj0, False);
7563 if (arg1 == NULL) {
7564 PyErr_SetString(PyExc_TypeError, "Expected wxInputStream or Python file-like object.");
7565 SWIG_fail;
7566 }
7567 created1 = True;
7568 }
7569 }
7570 {
7571 arg2 = wxString_in_helper(obj1);
7572 if (arg2 == NULL) SWIG_fail;
7573 temp2 = True;
7574 }
7575 {
7576 PyThreadState* __tstate = wxPyBeginAllowThreads();
7577 result = (wxImage *)new wxImage(*arg1,(wxString const &)*arg2,arg3);
7578
7579 wxPyEndAllowThreads(__tstate);
7580 if (PyErr_Occurred()) SWIG_fail;
7581 }
7582 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxImage, 1);
7583 {
7584 if (created1)
7585 delete arg1;
7586 }
7587 {
7588 if (temp2)
7589 delete arg2;
7590 }
7591 return resultobj;
7592 fail:
7593 {
7594 if (created1)
7595 delete arg1;
7596 }
7597 {
7598 if (temp2)
7599 delete arg2;
7600 }
7601 return NULL;
7602 }
7603
7604
7605 static PyObject *_wrap_new_EmptyImage(PyObject *self, PyObject *args, PyObject *kwargs) {
7606 PyObject *resultobj;
7607 int arg1 = (int) 0 ;
7608 int arg2 = (int) 0 ;
7609 bool arg3 = (bool) True ;
7610 wxImage *result;
7611 PyObject * obj2 = 0 ;
7612 char *kwnames[] = {
7613 (char *) "width",(char *) "height",(char *) "clear", NULL
7614 };
7615
7616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iiO:new_EmptyImage",kwnames,&arg1,&arg2,&obj2)) goto fail;
7617 if (obj2) {
7618 arg3 = PyInt_AsLong(obj2) ? true : false;
7619 if (PyErr_Occurred()) SWIG_fail;
7620 }
7621 {
7622 PyThreadState* __tstate = wxPyBeginAllowThreads();
7623 result = (wxImage *)new_wxImage(arg1,arg2,arg3);
7624
7625 wxPyEndAllowThreads(__tstate);
7626 if (PyErr_Occurred()) SWIG_fail;
7627 }
7628 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxImage, 1);
7629 return resultobj;
7630 fail:
7631 return NULL;
7632 }
7633
7634
7635 static PyObject *_wrap_new_ImageFromBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
7636 PyObject *resultobj;
7637 wxBitmap *arg1 = 0 ;
7638 wxImage *result;
7639 PyObject * obj0 = 0 ;
7640 char *kwnames[] = {
7641 (char *) "bitmap", NULL
7642 };
7643
7644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_ImageFromBitmap",kwnames,&obj0)) goto fail;
7645 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7646 if (arg1 == NULL) {
7647 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7648 }
7649 {
7650 PyThreadState* __tstate = wxPyBeginAllowThreads();
7651 result = (wxImage *)new_wxImage((wxBitmap const &)*arg1);
7652
7653 wxPyEndAllowThreads(__tstate);
7654 if (PyErr_Occurred()) SWIG_fail;
7655 }
7656 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxImage, 1);
7657 return resultobj;
7658 fail:
7659 return NULL;
7660 }
7661
7662
7663 static PyObject *_wrap_new_ImageFromData(PyObject *self, PyObject *args, PyObject *kwargs) {
7664 PyObject *resultobj;
7665 int arg1 ;
7666 int arg2 ;
7667 unsigned char *arg3 = (unsigned char *) 0 ;
7668 wxImage *result;
7669 PyObject * obj2 = 0 ;
7670 char *kwnames[] = {
7671 (char *) "width",(char *) "height",(char *) "data", NULL
7672 };
7673
7674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"iiO:new_ImageFromData",kwnames,&arg1,&arg2,&obj2)) goto fail;
7675 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_unsigned_char,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7676 {
7677 PyThreadState* __tstate = wxPyBeginAllowThreads();
7678 result = (wxImage *)new_wxImage(arg1,arg2,arg3);
7679
7680 wxPyEndAllowThreads(__tstate);
7681 if (PyErr_Occurred()) SWIG_fail;
7682 }
7683 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxImage, 1);
7684 return resultobj;
7685 fail:
7686 return NULL;
7687 }
7688
7689
7690 static PyObject *_wrap_Image_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
7691 PyObject *resultobj;
7692 wxImage *arg1 = (wxImage *) 0 ;
7693 int arg2 ;
7694 int arg3 ;
7695 PyObject * obj0 = 0 ;
7696 char *kwnames[] = {
7697 (char *) "self",(char *) "width",(char *) "height", NULL
7698 };
7699
7700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Image_Create",kwnames,&obj0,&arg2,&arg3)) goto fail;
7701 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7702 {
7703 PyThreadState* __tstate = wxPyBeginAllowThreads();
7704 (arg1)->Create(arg2,arg3);
7705
7706 wxPyEndAllowThreads(__tstate);
7707 if (PyErr_Occurred()) SWIG_fail;
7708 }
7709 Py_INCREF(Py_None); resultobj = Py_None;
7710 return resultobj;
7711 fail:
7712 return NULL;
7713 }
7714
7715
7716 static PyObject *_wrap_Image_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
7717 PyObject *resultobj;
7718 wxImage *arg1 = (wxImage *) 0 ;
7719 PyObject * obj0 = 0 ;
7720 char *kwnames[] = {
7721 (char *) "self", NULL
7722 };
7723
7724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_Destroy",kwnames,&obj0)) goto fail;
7725 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7726 {
7727 PyThreadState* __tstate = wxPyBeginAllowThreads();
7728 (arg1)->Destroy();
7729
7730 wxPyEndAllowThreads(__tstate);
7731 if (PyErr_Occurred()) SWIG_fail;
7732 }
7733 Py_INCREF(Py_None); resultobj = Py_None;
7734 return resultobj;
7735 fail:
7736 return NULL;
7737 }
7738
7739
7740 static PyObject *_wrap_Image_Scale(PyObject *self, PyObject *args, PyObject *kwargs) {
7741 PyObject *resultobj;
7742 wxImage *arg1 = (wxImage *) 0 ;
7743 int arg2 ;
7744 int arg3 ;
7745 SwigValueWrapper< wxImage > result;
7746 PyObject * obj0 = 0 ;
7747 char *kwnames[] = {
7748 (char *) "self",(char *) "width",(char *) "height", NULL
7749 };
7750
7751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Image_Scale",kwnames,&obj0,&arg2,&arg3)) goto fail;
7752 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7753 {
7754 PyThreadState* __tstate = wxPyBeginAllowThreads();
7755 result = (arg1)->Scale(arg2,arg3);
7756
7757 wxPyEndAllowThreads(__tstate);
7758 if (PyErr_Occurred()) SWIG_fail;
7759 }
7760 {
7761 wxImage * resultptr;
7762 resultptr = new wxImage((wxImage &) result);
7763 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxImage, 1);
7764 }
7765 return resultobj;
7766 fail:
7767 return NULL;
7768 }
7769
7770
7771 static PyObject *_wrap_Image_ShrinkBy(PyObject *self, PyObject *args, PyObject *kwargs) {
7772 PyObject *resultobj;
7773 wxImage *arg1 = (wxImage *) 0 ;
7774 int arg2 ;
7775 int arg3 ;
7776 SwigValueWrapper< wxImage > result;
7777 PyObject * obj0 = 0 ;
7778 char *kwnames[] = {
7779 (char *) "self",(char *) "xFactor",(char *) "yFactor", NULL
7780 };
7781
7782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Image_ShrinkBy",kwnames,&obj0,&arg2,&arg3)) goto fail;
7783 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7784 {
7785 PyThreadState* __tstate = wxPyBeginAllowThreads();
7786 result = ((wxImage const *)arg1)->ShrinkBy(arg2,arg3);
7787
7788 wxPyEndAllowThreads(__tstate);
7789 if (PyErr_Occurred()) SWIG_fail;
7790 }
7791 {
7792 wxImage * resultptr;
7793 resultptr = new wxImage((wxImage &) result);
7794 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxImage, 1);
7795 }
7796 return resultobj;
7797 fail:
7798 return NULL;
7799 }
7800
7801
7802 static PyObject *_wrap_Image_Rescale(PyObject *self, PyObject *args, PyObject *kwargs) {
7803 PyObject *resultobj;
7804 wxImage *arg1 = (wxImage *) 0 ;
7805 int arg2 ;
7806 int arg3 ;
7807 wxImage *result;
7808 PyObject * obj0 = 0 ;
7809 char *kwnames[] = {
7810 (char *) "self",(char *) "width",(char *) "height", NULL
7811 };
7812
7813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Image_Rescale",kwnames,&obj0,&arg2,&arg3)) goto fail;
7814 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7815 {
7816 PyThreadState* __tstate = wxPyBeginAllowThreads();
7817 {
7818 wxImage &_result_ref = (arg1)->Rescale(arg2,arg3);
7819 result = (wxImage *) &_result_ref;
7820 }
7821
7822 wxPyEndAllowThreads(__tstate);
7823 if (PyErr_Occurred()) SWIG_fail;
7824 }
7825 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxImage, 0);
7826 return resultobj;
7827 fail:
7828 return NULL;
7829 }
7830
7831
7832 static PyObject *_wrap_Image_SetRGB(PyObject *self, PyObject *args, PyObject *kwargs) {
7833 PyObject *resultobj;
7834 wxImage *arg1 = (wxImage *) 0 ;
7835 int arg2 ;
7836 int arg3 ;
7837 unsigned char arg4 ;
7838 unsigned char arg5 ;
7839 unsigned char arg6 ;
7840 PyObject * obj0 = 0 ;
7841 PyObject * obj3 = 0 ;
7842 PyObject * obj4 = 0 ;
7843 PyObject * obj5 = 0 ;
7844 char *kwnames[] = {
7845 (char *) "self",(char *) "x",(char *) "y",(char *) "r",(char *) "g",(char *) "b", NULL
7846 };
7847
7848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiiOOO:Image_SetRGB",kwnames,&obj0,&arg2,&arg3,&obj3,&obj4,&obj5)) goto fail;
7849 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7850 arg4 = (unsigned char) PyInt_AsLong(obj3);
7851 if (PyErr_Occurred()) SWIG_fail;
7852 arg5 = (unsigned char) PyInt_AsLong(obj4);
7853 if (PyErr_Occurred()) SWIG_fail;
7854 arg6 = (unsigned char) PyInt_AsLong(obj5);
7855 if (PyErr_Occurred()) SWIG_fail;
7856 {
7857 PyThreadState* __tstate = wxPyBeginAllowThreads();
7858 (arg1)->SetRGB(arg2,arg3,arg4,arg5,arg6);
7859
7860 wxPyEndAllowThreads(__tstate);
7861 if (PyErr_Occurred()) SWIG_fail;
7862 }
7863 Py_INCREF(Py_None); resultobj = Py_None;
7864 return resultobj;
7865 fail:
7866 return NULL;
7867 }
7868
7869
7870 static PyObject *_wrap_Image_GetRed(PyObject *self, PyObject *args, PyObject *kwargs) {
7871 PyObject *resultobj;
7872 wxImage *arg1 = (wxImage *) 0 ;
7873 int arg2 ;
7874 int arg3 ;
7875 unsigned char result;
7876 PyObject * obj0 = 0 ;
7877 char *kwnames[] = {
7878 (char *) "self",(char *) "x",(char *) "y", NULL
7879 };
7880
7881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Image_GetRed",kwnames,&obj0,&arg2,&arg3)) goto fail;
7882 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7883 {
7884 PyThreadState* __tstate = wxPyBeginAllowThreads();
7885 result = (unsigned char)(arg1)->GetRed(arg2,arg3);
7886
7887 wxPyEndAllowThreads(__tstate);
7888 if (PyErr_Occurred()) SWIG_fail;
7889 }
7890 resultobj = PyInt_FromLong((long)result);
7891 return resultobj;
7892 fail:
7893 return NULL;
7894 }
7895
7896
7897 static PyObject *_wrap_Image_GetGreen(PyObject *self, PyObject *args, PyObject *kwargs) {
7898 PyObject *resultobj;
7899 wxImage *arg1 = (wxImage *) 0 ;
7900 int arg2 ;
7901 int arg3 ;
7902 unsigned char result;
7903 PyObject * obj0 = 0 ;
7904 char *kwnames[] = {
7905 (char *) "self",(char *) "x",(char *) "y", NULL
7906 };
7907
7908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Image_GetGreen",kwnames,&obj0,&arg2,&arg3)) goto fail;
7909 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7910 {
7911 PyThreadState* __tstate = wxPyBeginAllowThreads();
7912 result = (unsigned char)(arg1)->GetGreen(arg2,arg3);
7913
7914 wxPyEndAllowThreads(__tstate);
7915 if (PyErr_Occurred()) SWIG_fail;
7916 }
7917 resultobj = PyInt_FromLong((long)result);
7918 return resultobj;
7919 fail:
7920 return NULL;
7921 }
7922
7923
7924 static PyObject *_wrap_Image_GetBlue(PyObject *self, PyObject *args, PyObject *kwargs) {
7925 PyObject *resultobj;
7926 wxImage *arg1 = (wxImage *) 0 ;
7927 int arg2 ;
7928 int arg3 ;
7929 unsigned char result;
7930 PyObject * obj0 = 0 ;
7931 char *kwnames[] = {
7932 (char *) "self",(char *) "x",(char *) "y", NULL
7933 };
7934
7935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Image_GetBlue",kwnames,&obj0,&arg2,&arg3)) goto fail;
7936 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7937 {
7938 PyThreadState* __tstate = wxPyBeginAllowThreads();
7939 result = (unsigned char)(arg1)->GetBlue(arg2,arg3);
7940
7941 wxPyEndAllowThreads(__tstate);
7942 if (PyErr_Occurred()) SWIG_fail;
7943 }
7944 resultobj = PyInt_FromLong((long)result);
7945 return resultobj;
7946 fail:
7947 return NULL;
7948 }
7949
7950
7951 static PyObject *_wrap_Image_SetAlpha(PyObject *self, PyObject *args, PyObject *kwargs) {
7952 PyObject *resultobj;
7953 wxImage *arg1 = (wxImage *) 0 ;
7954 int arg2 ;
7955 int arg3 ;
7956 unsigned char arg4 ;
7957 PyObject * obj0 = 0 ;
7958 PyObject * obj3 = 0 ;
7959 char *kwnames[] = {
7960 (char *) "self",(char *) "x",(char *) "y",(char *) "alpha", NULL
7961 };
7962
7963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiiO:Image_SetAlpha",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail;
7964 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7965 arg4 = (unsigned char) PyInt_AsLong(obj3);
7966 if (PyErr_Occurred()) SWIG_fail;
7967 {
7968 PyThreadState* __tstate = wxPyBeginAllowThreads();
7969 (arg1)->SetAlpha(arg2,arg3,arg4);
7970
7971 wxPyEndAllowThreads(__tstate);
7972 if (PyErr_Occurred()) SWIG_fail;
7973 }
7974 Py_INCREF(Py_None); resultobj = Py_None;
7975 return resultobj;
7976 fail:
7977 return NULL;
7978 }
7979
7980
7981 static PyObject *_wrap_Image_GetAlpha(PyObject *self, PyObject *args, PyObject *kwargs) {
7982 PyObject *resultobj;
7983 wxImage *arg1 = (wxImage *) 0 ;
7984 int arg2 ;
7985 int arg3 ;
7986 unsigned char result;
7987 PyObject * obj0 = 0 ;
7988 char *kwnames[] = {
7989 (char *) "self",(char *) "x",(char *) "y", NULL
7990 };
7991
7992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Image_GetAlpha",kwnames,&obj0,&arg2,&arg3)) goto fail;
7993 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7994 {
7995 PyThreadState* __tstate = wxPyBeginAllowThreads();
7996 result = (unsigned char)(arg1)->GetAlpha(arg2,arg3);
7997
7998 wxPyEndAllowThreads(__tstate);
7999 if (PyErr_Occurred()) SWIG_fail;
8000 }
8001 resultobj = PyInt_FromLong((long)result);
8002 return resultobj;
8003 fail:
8004 return NULL;
8005 }
8006
8007
8008 static PyObject *_wrap_Image_HasAlpha(PyObject *self, PyObject *args, PyObject *kwargs) {
8009 PyObject *resultobj;
8010 wxImage *arg1 = (wxImage *) 0 ;
8011 bool result;
8012 PyObject * obj0 = 0 ;
8013 char *kwnames[] = {
8014 (char *) "self", NULL
8015 };
8016
8017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_HasAlpha",kwnames,&obj0)) goto fail;
8018 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8019 {
8020 PyThreadState* __tstate = wxPyBeginAllowThreads();
8021 result = (bool)(arg1)->HasAlpha();
8022
8023 wxPyEndAllowThreads(__tstate);
8024 if (PyErr_Occurred()) SWIG_fail;
8025 }
8026 resultobj = PyInt_FromLong((long)result);
8027 return resultobj;
8028 fail:
8029 return NULL;
8030 }
8031
8032
8033 static PyObject *_wrap_Image_FindFirstUnusedColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8034 PyObject *resultobj;
8035 wxImage *arg1 = (wxImage *) 0 ;
8036 byte *arg2 = (byte *) 0 ;
8037 byte *arg3 = (byte *) 0 ;
8038 byte *arg4 = (byte *) 0 ;
8039 byte arg5 = (byte) 0 ;
8040 byte arg6 = (byte) 0 ;
8041 byte arg7 = (byte) 0 ;
8042 bool result;
8043 byte temp2 ;
8044 byte temp3 ;
8045 byte temp4 ;
8046 PyObject * obj0 = 0 ;
8047 PyObject * obj1 = 0 ;
8048 PyObject * obj2 = 0 ;
8049 PyObject * obj3 = 0 ;
8050 char *kwnames[] = {
8051 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
8052 };
8053
8054 arg2 = &temp2;
8055 arg3 = &temp3;
8056 arg4 = &temp4;
8057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Image_FindFirstUnusedColour",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
8058 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8059 if (obj1) {
8060 arg5 = (byte) PyInt_AsLong(obj1);
8061 if (PyErr_Occurred()) SWIG_fail;
8062 }
8063 if (obj2) {
8064 arg6 = (byte) PyInt_AsLong(obj2);
8065 if (PyErr_Occurred()) SWIG_fail;
8066 }
8067 if (obj3) {
8068 arg7 = (byte) PyInt_AsLong(obj3);
8069 if (PyErr_Occurred()) SWIG_fail;
8070 }
8071 {
8072 PyThreadState* __tstate = wxPyBeginAllowThreads();
8073 result = (bool)((wxImage const *)arg1)->FindFirstUnusedColour(arg2,arg3,arg4,arg5,arg6,arg7);
8074
8075 wxPyEndAllowThreads(__tstate);
8076 if (PyErr_Occurred()) SWIG_fail;
8077 }
8078 resultobj = PyInt_FromLong((long)result);
8079 {
8080 PyObject *o = PyInt_FromLong((long) (*arg2));
8081 resultobj = t_output_helper(resultobj,o);
8082 }
8083 {
8084 PyObject *o = PyInt_FromLong((long) (*arg3));
8085 resultobj = t_output_helper(resultobj,o);
8086 }
8087 {
8088 PyObject *o = PyInt_FromLong((long) (*arg4));
8089 resultobj = t_output_helper(resultobj,o);
8090 }
8091 return resultobj;
8092 fail:
8093 return NULL;
8094 }
8095
8096
8097 static PyObject *_wrap_Image_SetMaskFromImage(PyObject *self, PyObject *args, PyObject *kwargs) {
8098 PyObject *resultobj;
8099 wxImage *arg1 = (wxImage *) 0 ;
8100 wxImage *arg2 = 0 ;
8101 byte arg3 ;
8102 byte arg4 ;
8103 byte arg5 ;
8104 bool result;
8105 PyObject * obj0 = 0 ;
8106 PyObject * obj1 = 0 ;
8107 PyObject * obj2 = 0 ;
8108 PyObject * obj3 = 0 ;
8109 PyObject * obj4 = 0 ;
8110 char *kwnames[] = {
8111 (char *) "self",(char *) "mask",(char *) "mr",(char *) "mg",(char *) "mb", NULL
8112 };
8113
8114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:Image_SetMaskFromImage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
8115 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8116 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8117 if (arg2 == NULL) {
8118 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8119 }
8120 arg3 = (byte) PyInt_AsLong(obj2);
8121 if (PyErr_Occurred()) SWIG_fail;
8122 arg4 = (byte) PyInt_AsLong(obj3);
8123 if (PyErr_Occurred()) SWIG_fail;
8124 arg5 = (byte) PyInt_AsLong(obj4);
8125 if (PyErr_Occurred()) SWIG_fail;
8126 {
8127 PyThreadState* __tstate = wxPyBeginAllowThreads();
8128 result = (bool)(arg1)->SetMaskFromImage((wxImage const &)*arg2,arg3,arg4,arg5);
8129
8130 wxPyEndAllowThreads(__tstate);
8131 if (PyErr_Occurred()) SWIG_fail;
8132 }
8133 resultobj = PyInt_FromLong((long)result);
8134 return resultobj;
8135 fail:
8136 return NULL;
8137 }
8138
8139
8140 static PyObject *_wrap_Image_CanRead(PyObject *self, PyObject *args, PyObject *kwargs) {
8141 PyObject *resultobj;
8142 wxString *arg1 = 0 ;
8143 bool result;
8144 bool temp1 = False ;
8145 PyObject * obj0 = 0 ;
8146 char *kwnames[] = {
8147 (char *) "name", NULL
8148 };
8149
8150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_CanRead",kwnames,&obj0)) goto fail;
8151 {
8152 arg1 = wxString_in_helper(obj0);
8153 if (arg1 == NULL) SWIG_fail;
8154 temp1 = True;
8155 }
8156 {
8157 PyThreadState* __tstate = wxPyBeginAllowThreads();
8158 result = (bool)wxImage::CanRead((wxString const &)*arg1);
8159
8160 wxPyEndAllowThreads(__tstate);
8161 if (PyErr_Occurred()) SWIG_fail;
8162 }
8163 resultobj = PyInt_FromLong((long)result);
8164 {
8165 if (temp1)
8166 delete arg1;
8167 }
8168 return resultobj;
8169 fail:
8170 {
8171 if (temp1)
8172 delete arg1;
8173 }
8174 return NULL;
8175 }
8176
8177
8178 static PyObject *_wrap_Image_GetImageCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8179 PyObject *resultobj;
8180 wxString *arg1 = 0 ;
8181 long arg2 = (long) wxBITMAP_TYPE_ANY ;
8182 int result;
8183 bool temp1 = False ;
8184 PyObject * obj0 = 0 ;
8185 char *kwnames[] = {
8186 (char *) "name",(char *) "type", NULL
8187 };
8188
8189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|l:Image_GetImageCount",kwnames,&obj0,&arg2)) goto fail;
8190 {
8191 arg1 = wxString_in_helper(obj0);
8192 if (arg1 == NULL) SWIG_fail;
8193 temp1 = True;
8194 }
8195 {
8196 PyThreadState* __tstate = wxPyBeginAllowThreads();
8197 result = (int)wxImage::GetImageCount((wxString const &)*arg1,arg2);
8198
8199 wxPyEndAllowThreads(__tstate);
8200 if (PyErr_Occurred()) SWIG_fail;
8201 }
8202 resultobj = PyInt_FromLong((long)result);
8203 {
8204 if (temp1)
8205 delete arg1;
8206 }
8207 return resultobj;
8208 fail:
8209 {
8210 if (temp1)
8211 delete arg1;
8212 }
8213 return NULL;
8214 }
8215
8216
8217 static PyObject *_wrap_Image_LoadFile(PyObject *self, PyObject *args, PyObject *kwargs) {
8218 PyObject *resultobj;
8219 wxImage *arg1 = (wxImage *) 0 ;
8220 wxString *arg2 = 0 ;
8221 long arg3 = (long) wxBITMAP_TYPE_ANY ;
8222 int arg4 = (int) -1 ;
8223 bool result;
8224 bool temp2 = False ;
8225 PyObject * obj0 = 0 ;
8226 PyObject * obj1 = 0 ;
8227 char *kwnames[] = {
8228 (char *) "self",(char *) "name",(char *) "type",(char *) "index", NULL
8229 };
8230
8231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|li:Image_LoadFile",kwnames,&obj0,&obj1,&arg3,&arg4)) goto fail;
8232 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8233 {
8234 arg2 = wxString_in_helper(obj1);
8235 if (arg2 == NULL) SWIG_fail;
8236 temp2 = True;
8237 }
8238 {
8239 PyThreadState* __tstate = wxPyBeginAllowThreads();
8240 result = (bool)(arg1)->LoadFile((wxString const &)*arg2,arg3,arg4);
8241
8242 wxPyEndAllowThreads(__tstate);
8243 if (PyErr_Occurred()) SWIG_fail;
8244 }
8245 resultobj = PyInt_FromLong((long)result);
8246 {
8247 if (temp2)
8248 delete arg2;
8249 }
8250 return resultobj;
8251 fail:
8252 {
8253 if (temp2)
8254 delete arg2;
8255 }
8256 return NULL;
8257 }
8258
8259
8260 static PyObject *_wrap_Image_LoadMimeFile(PyObject *self, PyObject *args, PyObject *kwargs) {
8261 PyObject *resultobj;
8262 wxImage *arg1 = (wxImage *) 0 ;
8263 wxString *arg2 = 0 ;
8264 wxString *arg3 = 0 ;
8265 int arg4 = (int) -1 ;
8266 bool result;
8267 bool temp2 = False ;
8268 bool temp3 = False ;
8269 PyObject * obj0 = 0 ;
8270 PyObject * obj1 = 0 ;
8271 PyObject * obj2 = 0 ;
8272 char *kwnames[] = {
8273 (char *) "self",(char *) "name",(char *) "mimetype",(char *) "index", NULL
8274 };
8275
8276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|i:Image_LoadMimeFile",kwnames,&obj0,&obj1,&obj2,&arg4)) goto fail;
8277 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8278 {
8279 arg2 = wxString_in_helper(obj1);
8280 if (arg2 == NULL) SWIG_fail;
8281 temp2 = True;
8282 }
8283 {
8284 arg3 = wxString_in_helper(obj2);
8285 if (arg3 == NULL) SWIG_fail;
8286 temp3 = True;
8287 }
8288 {
8289 PyThreadState* __tstate = wxPyBeginAllowThreads();
8290 result = (bool)(arg1)->LoadFile((wxString const &)*arg2,(wxString const &)*arg3,arg4);
8291
8292 wxPyEndAllowThreads(__tstate);
8293 if (PyErr_Occurred()) SWIG_fail;
8294 }
8295 resultobj = PyInt_FromLong((long)result);
8296 {
8297 if (temp2)
8298 delete arg2;
8299 }
8300 {
8301 if (temp3)
8302 delete arg3;
8303 }
8304 return resultobj;
8305 fail:
8306 {
8307 if (temp2)
8308 delete arg2;
8309 }
8310 {
8311 if (temp3)
8312 delete arg3;
8313 }
8314 return NULL;
8315 }
8316
8317
8318 static PyObject *_wrap_Image_SaveFile(PyObject *self, PyObject *args, PyObject *kwargs) {
8319 PyObject *resultobj;
8320 wxImage *arg1 = (wxImage *) 0 ;
8321 wxString *arg2 = 0 ;
8322 int arg3 ;
8323 bool result;
8324 bool temp2 = False ;
8325 PyObject * obj0 = 0 ;
8326 PyObject * obj1 = 0 ;
8327 char *kwnames[] = {
8328 (char *) "self",(char *) "name",(char *) "type", NULL
8329 };
8330
8331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi:Image_SaveFile",kwnames,&obj0,&obj1,&arg3)) goto fail;
8332 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8333 {
8334 arg2 = wxString_in_helper(obj1);
8335 if (arg2 == NULL) SWIG_fail;
8336 temp2 = True;
8337 }
8338 {
8339 PyThreadState* __tstate = wxPyBeginAllowThreads();
8340 result = (bool)(arg1)->SaveFile((wxString const &)*arg2,arg3);
8341
8342 wxPyEndAllowThreads(__tstate);
8343 if (PyErr_Occurred()) SWIG_fail;
8344 }
8345 resultobj = PyInt_FromLong((long)result);
8346 {
8347 if (temp2)
8348 delete arg2;
8349 }
8350 return resultobj;
8351 fail:
8352 {
8353 if (temp2)
8354 delete arg2;
8355 }
8356 return NULL;
8357 }
8358
8359
8360 static PyObject *_wrap_Image_SaveMimeFile(PyObject *self, PyObject *args, PyObject *kwargs) {
8361 PyObject *resultobj;
8362 wxImage *arg1 = (wxImage *) 0 ;
8363 wxString *arg2 = 0 ;
8364 wxString *arg3 = 0 ;
8365 bool result;
8366 bool temp2 = False ;
8367 bool temp3 = False ;
8368 PyObject * obj0 = 0 ;
8369 PyObject * obj1 = 0 ;
8370 PyObject * obj2 = 0 ;
8371 char *kwnames[] = {
8372 (char *) "self",(char *) "name",(char *) "mimetype", NULL
8373 };
8374
8375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_SaveMimeFile",kwnames,&obj0,&obj1,&obj2)) goto fail;
8376 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8377 {
8378 arg2 = wxString_in_helper(obj1);
8379 if (arg2 == NULL) SWIG_fail;
8380 temp2 = True;
8381 }
8382 {
8383 arg3 = wxString_in_helper(obj2);
8384 if (arg3 == NULL) SWIG_fail;
8385 temp3 = True;
8386 }
8387 {
8388 PyThreadState* __tstate = wxPyBeginAllowThreads();
8389 result = (bool)(arg1)->SaveFile((wxString const &)*arg2,(wxString const &)*arg3);
8390
8391 wxPyEndAllowThreads(__tstate);
8392 if (PyErr_Occurred()) SWIG_fail;
8393 }
8394 resultobj = PyInt_FromLong((long)result);
8395 {
8396 if (temp2)
8397 delete arg2;
8398 }
8399 {
8400 if (temp3)
8401 delete arg3;
8402 }
8403 return resultobj;
8404 fail:
8405 {
8406 if (temp2)
8407 delete arg2;
8408 }
8409 {
8410 if (temp3)
8411 delete arg3;
8412 }
8413 return NULL;
8414 }
8415
8416
8417 static PyObject *_wrap_Image_CanReadStream(PyObject *self, PyObject *args, PyObject *kwargs) {
8418 PyObject *resultobj;
8419 wxInputStream *arg1 = 0 ;
8420 bool result;
8421 wxPyInputStream *temp1 ;
8422 bool created1 ;
8423 PyObject * obj0 = 0 ;
8424 char *kwnames[] = {
8425 (char *) "stream", NULL
8426 };
8427
8428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_CanReadStream",kwnames,&obj0)) goto fail;
8429 {
8430 if (wxPyConvertSwigPtr(obj0, (void **)&temp1, wxT("wxPyInputStream"))) {
8431 arg1 = temp1->m_wxis;
8432 created1 = False;
8433 } else {
8434 PyErr_Clear(); // clear the failure of the wxPyConvert above
8435 arg1 = wxPyCBInputStream_create(obj0, False);
8436 if (arg1 == NULL) {
8437 PyErr_SetString(PyExc_TypeError, "Expected wxInputStream or Python file-like object.");
8438 SWIG_fail;
8439 }
8440 created1 = True;
8441 }
8442 }
8443 {
8444 PyThreadState* __tstate = wxPyBeginAllowThreads();
8445 result = (bool)wxImage::CanRead(*arg1);
8446
8447 wxPyEndAllowThreads(__tstate);
8448 if (PyErr_Occurred()) SWIG_fail;
8449 }
8450 resultobj = PyInt_FromLong((long)result);
8451 {
8452 if (created1)
8453 delete arg1;
8454 }
8455 return resultobj;
8456 fail:
8457 {
8458 if (created1)
8459 delete arg1;
8460 }
8461 return NULL;
8462 }
8463
8464
8465 static PyObject *_wrap_Image_LoadStream(PyObject *self, PyObject *args, PyObject *kwargs) {
8466 PyObject *resultobj;
8467 wxImage *arg1 = (wxImage *) 0 ;
8468 wxInputStream *arg2 = 0 ;
8469 long arg3 = (long) wxBITMAP_TYPE_ANY ;
8470 int arg4 = (int) -1 ;
8471 bool result;
8472 wxPyInputStream *temp2 ;
8473 bool created2 ;
8474 PyObject * obj0 = 0 ;
8475 PyObject * obj1 = 0 ;
8476 char *kwnames[] = {
8477 (char *) "self",(char *) "stream",(char *) "type",(char *) "index", NULL
8478 };
8479
8480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|li:Image_LoadStream",kwnames,&obj0,&obj1,&arg3,&arg4)) goto fail;
8481 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8482 {
8483 if (wxPyConvertSwigPtr(obj1, (void **)&temp2, wxT("wxPyInputStream"))) {
8484 arg2 = temp2->m_wxis;
8485 created2 = False;
8486 } else {
8487 PyErr_Clear(); // clear the failure of the wxPyConvert above
8488 arg2 = wxPyCBInputStream_create(obj1, False);
8489 if (arg2 == NULL) {
8490 PyErr_SetString(PyExc_TypeError, "Expected wxInputStream or Python file-like object.");
8491 SWIG_fail;
8492 }
8493 created2 = True;
8494 }
8495 }
8496 {
8497 PyThreadState* __tstate = wxPyBeginAllowThreads();
8498 result = (bool)(arg1)->LoadFile(*arg2,arg3,arg4);
8499
8500 wxPyEndAllowThreads(__tstate);
8501 if (PyErr_Occurred()) SWIG_fail;
8502 }
8503 resultobj = PyInt_FromLong((long)result);
8504 {
8505 if (created2)
8506 delete arg2;
8507 }
8508 return resultobj;
8509 fail:
8510 {
8511 if (created2)
8512 delete arg2;
8513 }
8514 return NULL;
8515 }
8516
8517
8518 static PyObject *_wrap_Image_LoadMimeStream(PyObject *self, PyObject *args, PyObject *kwargs) {
8519 PyObject *resultobj;
8520 wxImage *arg1 = (wxImage *) 0 ;
8521 wxInputStream *arg2 = 0 ;
8522 wxString *arg3 = 0 ;
8523 int arg4 = (int) -1 ;
8524 bool result;
8525 wxPyInputStream *temp2 ;
8526 bool created2 ;
8527 bool temp3 = False ;
8528 PyObject * obj0 = 0 ;
8529 PyObject * obj1 = 0 ;
8530 PyObject * obj2 = 0 ;
8531 char *kwnames[] = {
8532 (char *) "self",(char *) "stream",(char *) "mimetype",(char *) "index", NULL
8533 };
8534
8535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|i:Image_LoadMimeStream",kwnames,&obj0,&obj1,&obj2,&arg4)) goto fail;
8536 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8537 {
8538 if (wxPyConvertSwigPtr(obj1, (void **)&temp2, wxT("wxPyInputStream"))) {
8539 arg2 = temp2->m_wxis;
8540 created2 = False;
8541 } else {
8542 PyErr_Clear(); // clear the failure of the wxPyConvert above
8543 arg2 = wxPyCBInputStream_create(obj1, False);
8544 if (arg2 == NULL) {
8545 PyErr_SetString(PyExc_TypeError, "Expected wxInputStream or Python file-like object.");
8546 SWIG_fail;
8547 }
8548 created2 = True;
8549 }
8550 }
8551 {
8552 arg3 = wxString_in_helper(obj2);
8553 if (arg3 == NULL) SWIG_fail;
8554 temp3 = True;
8555 }
8556 {
8557 PyThreadState* __tstate = wxPyBeginAllowThreads();
8558 result = (bool)(arg1)->LoadFile(*arg2,(wxString const &)*arg3,arg4);
8559
8560 wxPyEndAllowThreads(__tstate);
8561 if (PyErr_Occurred()) SWIG_fail;
8562 }
8563 resultobj = PyInt_FromLong((long)result);
8564 {
8565 if (created2)
8566 delete arg2;
8567 }
8568 {
8569 if (temp3)
8570 delete arg3;
8571 }
8572 return resultobj;
8573 fail:
8574 {
8575 if (created2)
8576 delete arg2;
8577 }
8578 {
8579 if (temp3)
8580 delete arg3;
8581 }
8582 return NULL;
8583 }
8584
8585
8586 static PyObject *_wrap_Image_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
8587 PyObject *resultobj;
8588 wxImage *arg1 = (wxImage *) 0 ;
8589 bool result;
8590 PyObject * obj0 = 0 ;
8591 char *kwnames[] = {
8592 (char *) "self", NULL
8593 };
8594
8595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_Ok",kwnames,&obj0)) goto fail;
8596 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8597 {
8598 PyThreadState* __tstate = wxPyBeginAllowThreads();
8599 result = (bool)(arg1)->Ok();
8600
8601 wxPyEndAllowThreads(__tstate);
8602 if (PyErr_Occurred()) SWIG_fail;
8603 }
8604 resultobj = PyInt_FromLong((long)result);
8605 return resultobj;
8606 fail:
8607 return NULL;
8608 }
8609
8610
8611 static PyObject *_wrap_Image_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
8612 PyObject *resultobj;
8613 wxImage *arg1 = (wxImage *) 0 ;
8614 int result;
8615 PyObject * obj0 = 0 ;
8616 char *kwnames[] = {
8617 (char *) "self", NULL
8618 };
8619
8620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetWidth",kwnames,&obj0)) goto fail;
8621 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8622 {
8623 PyThreadState* __tstate = wxPyBeginAllowThreads();
8624 result = (int)(arg1)->GetWidth();
8625
8626 wxPyEndAllowThreads(__tstate);
8627 if (PyErr_Occurred()) SWIG_fail;
8628 }
8629 resultobj = PyInt_FromLong((long)result);
8630 return resultobj;
8631 fail:
8632 return NULL;
8633 }
8634
8635
8636 static PyObject *_wrap_Image_GetHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
8637 PyObject *resultobj;
8638 wxImage *arg1 = (wxImage *) 0 ;
8639 int result;
8640 PyObject * obj0 = 0 ;
8641 char *kwnames[] = {
8642 (char *) "self", NULL
8643 };
8644
8645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetHeight",kwnames,&obj0)) goto fail;
8646 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8647 {
8648 PyThreadState* __tstate = wxPyBeginAllowThreads();
8649 result = (int)(arg1)->GetHeight();
8650
8651 wxPyEndAllowThreads(__tstate);
8652 if (PyErr_Occurred()) SWIG_fail;
8653 }
8654 resultobj = PyInt_FromLong((long)result);
8655 return resultobj;
8656 fail:
8657 return NULL;
8658 }
8659
8660
8661 static PyObject *_wrap_Image_GetSubImage(PyObject *self, PyObject *args, PyObject *kwargs) {
8662 PyObject *resultobj;
8663 wxImage *arg1 = (wxImage *) 0 ;
8664 wxRect *arg2 = 0 ;
8665 SwigValueWrapper< wxImage > result;
8666 wxRect temp2 ;
8667 PyObject * obj0 = 0 ;
8668 PyObject * obj1 = 0 ;
8669 char *kwnames[] = {
8670 (char *) "self",(char *) "rect", NULL
8671 };
8672
8673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_GetSubImage",kwnames,&obj0,&obj1)) goto fail;
8674 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8675 {
8676 arg2 = &temp2;
8677 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
8678 }
8679 {
8680 PyThreadState* __tstate = wxPyBeginAllowThreads();
8681 result = (arg1)->GetSubImage((wxRect const &)*arg2);
8682
8683 wxPyEndAllowThreads(__tstate);
8684 if (PyErr_Occurred()) SWIG_fail;
8685 }
8686 {
8687 wxImage * resultptr;
8688 resultptr = new wxImage((wxImage &) result);
8689 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxImage, 1);
8690 }
8691 return resultobj;
8692 fail:
8693 return NULL;
8694 }
8695
8696
8697 static PyObject *_wrap_Image_Copy(PyObject *self, PyObject *args, PyObject *kwargs) {
8698 PyObject *resultobj;
8699 wxImage *arg1 = (wxImage *) 0 ;
8700 SwigValueWrapper< wxImage > result;
8701 PyObject * obj0 = 0 ;
8702 char *kwnames[] = {
8703 (char *) "self", NULL
8704 };
8705
8706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_Copy",kwnames,&obj0)) goto fail;
8707 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8708 {
8709 PyThreadState* __tstate = wxPyBeginAllowThreads();
8710 result = (arg1)->Copy();
8711
8712 wxPyEndAllowThreads(__tstate);
8713 if (PyErr_Occurred()) SWIG_fail;
8714 }
8715 {
8716 wxImage * resultptr;
8717 resultptr = new wxImage((wxImage &) result);
8718 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxImage, 1);
8719 }
8720 return resultobj;
8721 fail:
8722 return NULL;
8723 }
8724
8725
8726 static PyObject *_wrap_Image_Paste(PyObject *self, PyObject *args, PyObject *kwargs) {
8727 PyObject *resultobj;
8728 wxImage *arg1 = (wxImage *) 0 ;
8729 wxImage *arg2 = 0 ;
8730 int arg3 ;
8731 int arg4 ;
8732 PyObject * obj0 = 0 ;
8733 PyObject * obj1 = 0 ;
8734 char *kwnames[] = {
8735 (char *) "self",(char *) "image",(char *) "x",(char *) "y", NULL
8736 };
8737
8738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOii:Image_Paste",kwnames,&obj0,&obj1,&arg3,&arg4)) goto fail;
8739 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8740 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8741 if (arg2 == NULL) {
8742 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8743 }
8744 {
8745 PyThreadState* __tstate = wxPyBeginAllowThreads();
8746 (arg1)->Paste((wxImage const &)*arg2,arg3,arg4);
8747
8748 wxPyEndAllowThreads(__tstate);
8749 if (PyErr_Occurred()) SWIG_fail;
8750 }
8751 Py_INCREF(Py_None); resultobj = Py_None;
8752 return resultobj;
8753 fail:
8754 return NULL;
8755 }
8756
8757
8758 static PyObject *_wrap_Image_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
8759 PyObject *resultobj;
8760 wxImage *arg1 = (wxImage *) 0 ;
8761 PyObject *result;
8762 PyObject * obj0 = 0 ;
8763 char *kwnames[] = {
8764 (char *) "self", NULL
8765 };
8766
8767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetData",kwnames,&obj0)) goto fail;
8768 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8769 {
8770 PyThreadState* __tstate = wxPyBeginAllowThreads();
8771 result = (PyObject *)wxImage_GetData(arg1);
8772
8773 wxPyEndAllowThreads(__tstate);
8774 if (PyErr_Occurred()) SWIG_fail;
8775 }
8776 resultobj = result;
8777 return resultobj;
8778 fail:
8779 return NULL;
8780 }
8781
8782
8783 static PyObject *_wrap_Image_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
8784 PyObject *resultobj;
8785 wxImage *arg1 = (wxImage *) 0 ;
8786 PyObject *arg2 = (PyObject *) 0 ;
8787 PyObject * obj0 = 0 ;
8788 PyObject * obj1 = 0 ;
8789 char *kwnames[] = {
8790 (char *) "self",(char *) "data", NULL
8791 };
8792
8793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_SetData",kwnames,&obj0,&obj1)) goto fail;
8794 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8795 arg2 = obj1;
8796 {
8797 PyThreadState* __tstate = wxPyBeginAllowThreads();
8798 wxImage_SetData(arg1,arg2);
8799
8800 wxPyEndAllowThreads(__tstate);
8801 if (PyErr_Occurred()) SWIG_fail;
8802 }
8803 Py_INCREF(Py_None); resultobj = Py_None;
8804 return resultobj;
8805 fail:
8806 return NULL;
8807 }
8808
8809
8810 static PyObject *_wrap_Image_GetDataBuffer(PyObject *self, PyObject *args, PyObject *kwargs) {
8811 PyObject *resultobj;
8812 wxImage *arg1 = (wxImage *) 0 ;
8813 PyObject *result;
8814 PyObject * obj0 = 0 ;
8815 char *kwnames[] = {
8816 (char *) "self", NULL
8817 };
8818
8819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetDataBuffer",kwnames,&obj0)) goto fail;
8820 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8821 {
8822 PyThreadState* __tstate = wxPyBeginAllowThreads();
8823 result = (PyObject *)wxImage_GetDataBuffer(arg1);
8824
8825 wxPyEndAllowThreads(__tstate);
8826 if (PyErr_Occurred()) SWIG_fail;
8827 }
8828 resultobj = result;
8829 return resultobj;
8830 fail:
8831 return NULL;
8832 }
8833
8834
8835 static PyObject *_wrap_Image_SetDataBuffer(PyObject *self, PyObject *args, PyObject *kwargs) {
8836 PyObject *resultobj;
8837 wxImage *arg1 = (wxImage *) 0 ;
8838 PyObject *arg2 = (PyObject *) 0 ;
8839 PyObject * obj0 = 0 ;
8840 PyObject * obj1 = 0 ;
8841 char *kwnames[] = {
8842 (char *) "self",(char *) "data", NULL
8843 };
8844
8845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_SetDataBuffer",kwnames,&obj0,&obj1)) goto fail;
8846 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8847 arg2 = obj1;
8848 {
8849 PyThreadState* __tstate = wxPyBeginAllowThreads();
8850 wxImage_SetDataBuffer(arg1,arg2);
8851
8852 wxPyEndAllowThreads(__tstate);
8853 if (PyErr_Occurred()) SWIG_fail;
8854 }
8855 Py_INCREF(Py_None); resultobj = Py_None;
8856 return resultobj;
8857 fail:
8858 return NULL;
8859 }
8860
8861
8862 static PyObject *_wrap_Image_GetAlphaData(PyObject *self, PyObject *args, PyObject *kwargs) {
8863 PyObject *resultobj;
8864 wxImage *arg1 = (wxImage *) 0 ;
8865 PyObject *result;
8866 PyObject * obj0 = 0 ;
8867 char *kwnames[] = {
8868 (char *) "self", NULL
8869 };
8870
8871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetAlphaData",kwnames,&obj0)) goto fail;
8872 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8873 {
8874 PyThreadState* __tstate = wxPyBeginAllowThreads();
8875 result = (PyObject *)wxImage_GetAlphaData(arg1);
8876
8877 wxPyEndAllowThreads(__tstate);
8878 if (PyErr_Occurred()) SWIG_fail;
8879 }
8880 resultobj = result;
8881 return resultobj;
8882 fail:
8883 return NULL;
8884 }
8885
8886
8887 static PyObject *_wrap_Image_SetAlphaData(PyObject *self, PyObject *args, PyObject *kwargs) {
8888 PyObject *resultobj;
8889 wxImage *arg1 = (wxImage *) 0 ;
8890 PyObject *arg2 = (PyObject *) 0 ;
8891 PyObject * obj0 = 0 ;
8892 PyObject * obj1 = 0 ;
8893 char *kwnames[] = {
8894 (char *) "self",(char *) "data", NULL
8895 };
8896
8897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_SetAlphaData",kwnames,&obj0,&obj1)) goto fail;
8898 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8899 arg2 = obj1;
8900 {
8901 PyThreadState* __tstate = wxPyBeginAllowThreads();
8902 wxImage_SetAlphaData(arg1,arg2);
8903
8904 wxPyEndAllowThreads(__tstate);
8905 if (PyErr_Occurred()) SWIG_fail;
8906 }
8907 Py_INCREF(Py_None); resultobj = Py_None;
8908 return resultobj;
8909 fail:
8910 return NULL;
8911 }
8912
8913
8914 static PyObject *_wrap_Image_GetAlphaBuffer(PyObject *self, PyObject *args, PyObject *kwargs) {
8915 PyObject *resultobj;
8916 wxImage *arg1 = (wxImage *) 0 ;
8917 PyObject *result;
8918 PyObject * obj0 = 0 ;
8919 char *kwnames[] = {
8920 (char *) "self", NULL
8921 };
8922
8923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetAlphaBuffer",kwnames,&obj0)) goto fail;
8924 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8925 {
8926 PyThreadState* __tstate = wxPyBeginAllowThreads();
8927 result = (PyObject *)wxImage_GetAlphaBuffer(arg1);
8928
8929 wxPyEndAllowThreads(__tstate);
8930 if (PyErr_Occurred()) SWIG_fail;
8931 }
8932 resultobj = result;
8933 return resultobj;
8934 fail:
8935 return NULL;
8936 }
8937
8938
8939 static PyObject *_wrap_Image_SetAlphaBuffer(PyObject *self, PyObject *args, PyObject *kwargs) {
8940 PyObject *resultobj;
8941 wxImage *arg1 = (wxImage *) 0 ;
8942 PyObject *arg2 = (PyObject *) 0 ;
8943 PyObject * obj0 = 0 ;
8944 PyObject * obj1 = 0 ;
8945 char *kwnames[] = {
8946 (char *) "self",(char *) "data", NULL
8947 };
8948
8949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_SetAlphaBuffer",kwnames,&obj0,&obj1)) goto fail;
8950 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8951 arg2 = obj1;
8952 {
8953 PyThreadState* __tstate = wxPyBeginAllowThreads();
8954 wxImage_SetAlphaBuffer(arg1,arg2);
8955
8956 wxPyEndAllowThreads(__tstate);
8957 if (PyErr_Occurred()) SWIG_fail;
8958 }
8959 Py_INCREF(Py_None); resultobj = Py_None;
8960 return resultobj;
8961 fail:
8962 return NULL;
8963 }
8964
8965
8966 static PyObject *_wrap_Image_SetMaskColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8967 PyObject *resultobj;
8968 wxImage *arg1 = (wxImage *) 0 ;
8969 unsigned char arg2 ;
8970 unsigned char arg3 ;
8971 unsigned char arg4 ;
8972 PyObject * obj0 = 0 ;
8973 PyObject * obj1 = 0 ;
8974 PyObject * obj2 = 0 ;
8975 PyObject * obj3 = 0 ;
8976 char *kwnames[] = {
8977 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
8978 };
8979
8980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Image_SetMaskColour",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
8981 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8982 arg2 = (unsigned char) PyInt_AsLong(obj1);
8983 if (PyErr_Occurred()) SWIG_fail;
8984 arg3 = (unsigned char) PyInt_AsLong(obj2);
8985 if (PyErr_Occurred()) SWIG_fail;
8986 arg4 = (unsigned char) PyInt_AsLong(obj3);
8987 if (PyErr_Occurred()) SWIG_fail;
8988 {
8989 PyThreadState* __tstate = wxPyBeginAllowThreads();
8990 (arg1)->SetMaskColour(arg2,arg3,arg4);
8991
8992 wxPyEndAllowThreads(__tstate);
8993 if (PyErr_Occurred()) SWIG_fail;
8994 }
8995 Py_INCREF(Py_None); resultobj = Py_None;
8996 return resultobj;
8997 fail:
8998 return NULL;
8999 }
9000
9001
9002 static PyObject *_wrap_Image_GetMaskRed(PyObject *self, PyObject *args, PyObject *kwargs) {
9003 PyObject *resultobj;
9004 wxImage *arg1 = (wxImage *) 0 ;
9005 unsigned char result;
9006 PyObject * obj0 = 0 ;
9007 char *kwnames[] = {
9008 (char *) "self", NULL
9009 };
9010
9011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetMaskRed",kwnames,&obj0)) goto fail;
9012 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9013 {
9014 PyThreadState* __tstate = wxPyBeginAllowThreads();
9015 result = (unsigned char)(arg1)->GetMaskRed();
9016
9017 wxPyEndAllowThreads(__tstate);
9018 if (PyErr_Occurred()) SWIG_fail;
9019 }
9020 resultobj = PyInt_FromLong((long)result);
9021 return resultobj;
9022 fail:
9023 return NULL;
9024 }
9025
9026
9027 static PyObject *_wrap_Image_GetMaskGreen(PyObject *self, PyObject *args, PyObject *kwargs) {
9028 PyObject *resultobj;
9029 wxImage *arg1 = (wxImage *) 0 ;
9030 unsigned char result;
9031 PyObject * obj0 = 0 ;
9032 char *kwnames[] = {
9033 (char *) "self", NULL
9034 };
9035
9036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetMaskGreen",kwnames,&obj0)) goto fail;
9037 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9038 {
9039 PyThreadState* __tstate = wxPyBeginAllowThreads();
9040 result = (unsigned char)(arg1)->GetMaskGreen();
9041
9042 wxPyEndAllowThreads(__tstate);
9043 if (PyErr_Occurred()) SWIG_fail;
9044 }
9045 resultobj = PyInt_FromLong((long)result);
9046 return resultobj;
9047 fail:
9048 return NULL;
9049 }
9050
9051
9052 static PyObject *_wrap_Image_GetMaskBlue(PyObject *self, PyObject *args, PyObject *kwargs) {
9053 PyObject *resultobj;
9054 wxImage *arg1 = (wxImage *) 0 ;
9055 unsigned char result;
9056 PyObject * obj0 = 0 ;
9057 char *kwnames[] = {
9058 (char *) "self", NULL
9059 };
9060
9061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetMaskBlue",kwnames,&obj0)) goto fail;
9062 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9063 {
9064 PyThreadState* __tstate = wxPyBeginAllowThreads();
9065 result = (unsigned char)(arg1)->GetMaskBlue();
9066
9067 wxPyEndAllowThreads(__tstate);
9068 if (PyErr_Occurred()) SWIG_fail;
9069 }
9070 resultobj = PyInt_FromLong((long)result);
9071 return resultobj;
9072 fail:
9073 return NULL;
9074 }
9075
9076
9077 static PyObject *_wrap_Image_SetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
9078 PyObject *resultobj;
9079 wxImage *arg1 = (wxImage *) 0 ;
9080 bool arg2 = (bool) True ;
9081 PyObject * obj0 = 0 ;
9082 PyObject * obj1 = 0 ;
9083 char *kwnames[] = {
9084 (char *) "self",(char *) "mask", NULL
9085 };
9086
9087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Image_SetMask",kwnames,&obj0,&obj1)) goto fail;
9088 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9089 if (obj1) {
9090 arg2 = PyInt_AsLong(obj1) ? true : false;
9091 if (PyErr_Occurred()) SWIG_fail;
9092 }
9093 {
9094 PyThreadState* __tstate = wxPyBeginAllowThreads();
9095 (arg1)->SetMask(arg2);
9096
9097 wxPyEndAllowThreads(__tstate);
9098 if (PyErr_Occurred()) SWIG_fail;
9099 }
9100 Py_INCREF(Py_None); resultobj = Py_None;
9101 return resultobj;
9102 fail:
9103 return NULL;
9104 }
9105
9106
9107 static PyObject *_wrap_Image_HasMask(PyObject *self, PyObject *args, PyObject *kwargs) {
9108 PyObject *resultobj;
9109 wxImage *arg1 = (wxImage *) 0 ;
9110 bool result;
9111 PyObject * obj0 = 0 ;
9112 char *kwnames[] = {
9113 (char *) "self", NULL
9114 };
9115
9116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_HasMask",kwnames,&obj0)) goto fail;
9117 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9118 {
9119 PyThreadState* __tstate = wxPyBeginAllowThreads();
9120 result = (bool)(arg1)->HasMask();
9121
9122 wxPyEndAllowThreads(__tstate);
9123 if (PyErr_Occurred()) SWIG_fail;
9124 }
9125 resultobj = PyInt_FromLong((long)result);
9126 return resultobj;
9127 fail:
9128 return NULL;
9129 }
9130
9131
9132 static PyObject *_wrap_Image_Rotate(PyObject *self, PyObject *args, PyObject *kwargs) {
9133 PyObject *resultobj;
9134 wxImage *arg1 = (wxImage *) 0 ;
9135 double arg2 ;
9136 wxPoint *arg3 = 0 ;
9137 bool arg4 = (bool) True ;
9138 wxPoint *arg5 = (wxPoint *) NULL ;
9139 SwigValueWrapper< wxImage > result;
9140 wxPoint temp3 ;
9141 PyObject * obj0 = 0 ;
9142 PyObject * obj2 = 0 ;
9143 PyObject * obj3 = 0 ;
9144 PyObject * obj4 = 0 ;
9145 char *kwnames[] = {
9146 (char *) "self",(char *) "angle",(char *) "centre_of_rotation",(char *) "interpolating",(char *) "offset_after_rotation", NULL
9147 };
9148
9149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OdO|OO:Image_Rotate",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4)) goto fail;
9150 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9151 {
9152 arg3 = &temp3;
9153 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9154 }
9155 if (obj3) {
9156 arg4 = PyInt_AsLong(obj3) ? true : false;
9157 if (PyErr_Occurred()) SWIG_fail;
9158 }
9159 if (obj4) {
9160 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9161 }
9162 {
9163 PyThreadState* __tstate = wxPyBeginAllowThreads();
9164 result = ((wxImage const *)arg1)->Rotate(arg2,(wxPoint const &)*arg3,arg4,arg5);
9165
9166 wxPyEndAllowThreads(__tstate);
9167 if (PyErr_Occurred()) SWIG_fail;
9168 }
9169 {
9170 wxImage * resultptr;
9171 resultptr = new wxImage((wxImage &) result);
9172 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxImage, 1);
9173 }
9174 return resultobj;
9175 fail:
9176 return NULL;
9177 }
9178
9179
9180 static PyObject *_wrap_Image_Rotate90(PyObject *self, PyObject *args, PyObject *kwargs) {
9181 PyObject *resultobj;
9182 wxImage *arg1 = (wxImage *) 0 ;
9183 bool arg2 = (bool) True ;
9184 SwigValueWrapper< wxImage > result;
9185 PyObject * obj0 = 0 ;
9186 PyObject * obj1 = 0 ;
9187 char *kwnames[] = {
9188 (char *) "self",(char *) "clockwise", NULL
9189 };
9190
9191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Image_Rotate90",kwnames,&obj0,&obj1)) goto fail;
9192 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9193 if (obj1) {
9194 arg2 = PyInt_AsLong(obj1) ? true : false;
9195 if (PyErr_Occurred()) SWIG_fail;
9196 }
9197 {
9198 PyThreadState* __tstate = wxPyBeginAllowThreads();
9199 result = (arg1)->Rotate90(arg2);
9200
9201 wxPyEndAllowThreads(__tstate);
9202 if (PyErr_Occurred()) SWIG_fail;
9203 }
9204 {
9205 wxImage * resultptr;
9206 resultptr = new wxImage((wxImage &) result);
9207 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxImage, 1);
9208 }
9209 return resultobj;
9210 fail:
9211 return NULL;
9212 }
9213
9214
9215 static PyObject *_wrap_Image_Mirror(PyObject *self, PyObject *args, PyObject *kwargs) {
9216 PyObject *resultobj;
9217 wxImage *arg1 = (wxImage *) 0 ;
9218 bool arg2 = (bool) True ;
9219 SwigValueWrapper< wxImage > result;
9220 PyObject * obj0 = 0 ;
9221 PyObject * obj1 = 0 ;
9222 char *kwnames[] = {
9223 (char *) "self",(char *) "horizontally", NULL
9224 };
9225
9226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Image_Mirror",kwnames,&obj0,&obj1)) goto fail;
9227 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9228 if (obj1) {
9229 arg2 = PyInt_AsLong(obj1) ? true : false;
9230 if (PyErr_Occurred()) SWIG_fail;
9231 }
9232 {
9233 PyThreadState* __tstate = wxPyBeginAllowThreads();
9234 result = (arg1)->Mirror(arg2);
9235
9236 wxPyEndAllowThreads(__tstate);
9237 if (PyErr_Occurred()) SWIG_fail;
9238 }
9239 {
9240 wxImage * resultptr;
9241 resultptr = new wxImage((wxImage &) result);
9242 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxImage, 1);
9243 }
9244 return resultobj;
9245 fail:
9246 return NULL;
9247 }
9248
9249
9250 static PyObject *_wrap_Image_Replace(PyObject *self, PyObject *args, PyObject *kwargs) {
9251 PyObject *resultobj;
9252 wxImage *arg1 = (wxImage *) 0 ;
9253 unsigned char arg2 ;
9254 unsigned char arg3 ;
9255 unsigned char arg4 ;
9256 unsigned char arg5 ;
9257 unsigned char arg6 ;
9258 unsigned char arg7 ;
9259 PyObject * obj0 = 0 ;
9260 PyObject * obj1 = 0 ;
9261 PyObject * obj2 = 0 ;
9262 PyObject * obj3 = 0 ;
9263 PyObject * obj4 = 0 ;
9264 PyObject * obj5 = 0 ;
9265 PyObject * obj6 = 0 ;
9266 char *kwnames[] = {
9267 (char *) "self",(char *) "r1",(char *) "g1",(char *) "b1",(char *) "r2",(char *) "g2",(char *) "b2", NULL
9268 };
9269
9270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOO:Image_Replace",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
9271 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9272 arg2 = (unsigned char) PyInt_AsLong(obj1);
9273 if (PyErr_Occurred()) SWIG_fail;
9274 arg3 = (unsigned char) PyInt_AsLong(obj2);
9275 if (PyErr_Occurred()) SWIG_fail;
9276 arg4 = (unsigned char) PyInt_AsLong(obj3);
9277 if (PyErr_Occurred()) SWIG_fail;
9278 arg5 = (unsigned char) PyInt_AsLong(obj4);
9279 if (PyErr_Occurred()) SWIG_fail;
9280 arg6 = (unsigned char) PyInt_AsLong(obj5);
9281 if (PyErr_Occurred()) SWIG_fail;
9282 arg7 = (unsigned char) PyInt_AsLong(obj6);
9283 if (PyErr_Occurred()) SWIG_fail;
9284 {
9285 PyThreadState* __tstate = wxPyBeginAllowThreads();
9286 (arg1)->Replace(arg2,arg3,arg4,arg5,arg6,arg7);
9287
9288 wxPyEndAllowThreads(__tstate);
9289 if (PyErr_Occurred()) SWIG_fail;
9290 }
9291 Py_INCREF(Py_None); resultobj = Py_None;
9292 return resultobj;
9293 fail:
9294 return NULL;
9295 }
9296
9297
9298 static PyObject *_wrap_Image_ConvertToMono(PyObject *self, PyObject *args, PyObject *kwargs) {
9299 PyObject *resultobj;
9300 wxImage *arg1 = (wxImage *) 0 ;
9301 unsigned char arg2 ;
9302 unsigned char arg3 ;
9303 unsigned char arg4 ;
9304 SwigValueWrapper< wxImage > result;
9305 PyObject * obj0 = 0 ;
9306 PyObject * obj1 = 0 ;
9307 PyObject * obj2 = 0 ;
9308 PyObject * obj3 = 0 ;
9309 char *kwnames[] = {
9310 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
9311 };
9312
9313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Image_ConvertToMono",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
9314 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9315 arg2 = (unsigned char) PyInt_AsLong(obj1);
9316 if (PyErr_Occurred()) SWIG_fail;
9317 arg3 = (unsigned char) PyInt_AsLong(obj2);
9318 if (PyErr_Occurred()) SWIG_fail;
9319 arg4 = (unsigned char) PyInt_AsLong(obj3);
9320 if (PyErr_Occurred()) SWIG_fail;
9321 {
9322 PyThreadState* __tstate = wxPyBeginAllowThreads();
9323 result = ((wxImage const *)arg1)->ConvertToMono(arg2,arg3,arg4);
9324
9325 wxPyEndAllowThreads(__tstate);
9326 if (PyErr_Occurred()) SWIG_fail;
9327 }
9328 {
9329 wxImage * resultptr;
9330 resultptr = new wxImage((wxImage &) result);
9331 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxImage, 1);
9332 }
9333 return resultobj;
9334 fail:
9335 return NULL;
9336 }
9337
9338
9339 static PyObject *_wrap_Image_SetOption(PyObject *self, PyObject *args, PyObject *kwargs) {
9340 PyObject *resultobj;
9341 wxImage *arg1 = (wxImage *) 0 ;
9342 wxString *arg2 = 0 ;
9343 wxString *arg3 = 0 ;
9344 bool temp2 = False ;
9345 bool temp3 = False ;
9346 PyObject * obj0 = 0 ;
9347 PyObject * obj1 = 0 ;
9348 PyObject * obj2 = 0 ;
9349 char *kwnames[] = {
9350 (char *) "self",(char *) "name",(char *) "value", NULL
9351 };
9352
9353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_SetOption",kwnames,&obj0,&obj1,&obj2)) goto fail;
9354 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9355 {
9356 arg2 = wxString_in_helper(obj1);
9357 if (arg2 == NULL) SWIG_fail;
9358 temp2 = True;
9359 }
9360 {
9361 arg3 = wxString_in_helper(obj2);
9362 if (arg3 == NULL) SWIG_fail;
9363 temp3 = True;
9364 }
9365 {
9366 PyThreadState* __tstate = wxPyBeginAllowThreads();
9367 (arg1)->SetOption((wxString const &)*arg2,(wxString const &)*arg3);
9368
9369 wxPyEndAllowThreads(__tstate);
9370 if (PyErr_Occurred()) SWIG_fail;
9371 }
9372 Py_INCREF(Py_None); resultobj = Py_None;
9373 {
9374 if (temp2)
9375 delete arg2;
9376 }
9377 {
9378 if (temp3)
9379 delete arg3;
9380 }
9381 return resultobj;
9382 fail:
9383 {
9384 if (temp2)
9385 delete arg2;
9386 }
9387 {
9388 if (temp3)
9389 delete arg3;
9390 }
9391 return NULL;
9392 }
9393
9394
9395 static PyObject *_wrap_Image_SetOptionInt(PyObject *self, PyObject *args, PyObject *kwargs) {
9396 PyObject *resultobj;
9397 wxImage *arg1 = (wxImage *) 0 ;
9398 wxString *arg2 = 0 ;
9399 int arg3 ;
9400 bool temp2 = False ;
9401 PyObject * obj0 = 0 ;
9402 PyObject * obj1 = 0 ;
9403 char *kwnames[] = {
9404 (char *) "self",(char *) "name",(char *) "value", NULL
9405 };
9406
9407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi:Image_SetOptionInt",kwnames,&obj0,&obj1,&arg3)) goto fail;
9408 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9409 {
9410 arg2 = wxString_in_helper(obj1);
9411 if (arg2 == NULL) SWIG_fail;
9412 temp2 = True;
9413 }
9414 {
9415 PyThreadState* __tstate = wxPyBeginAllowThreads();
9416 (arg1)->SetOption((wxString const &)*arg2,arg3);
9417
9418 wxPyEndAllowThreads(__tstate);
9419 if (PyErr_Occurred()) SWIG_fail;
9420 }
9421 Py_INCREF(Py_None); resultobj = Py_None;
9422 {
9423 if (temp2)
9424 delete arg2;
9425 }
9426 return resultobj;
9427 fail:
9428 {
9429 if (temp2)
9430 delete arg2;
9431 }
9432 return NULL;
9433 }
9434
9435
9436 static PyObject *_wrap_Image_GetOption(PyObject *self, PyObject *args, PyObject *kwargs) {
9437 PyObject *resultobj;
9438 wxImage *arg1 = (wxImage *) 0 ;
9439 wxString *arg2 = 0 ;
9440 wxString result;
9441 bool temp2 = False ;
9442 PyObject * obj0 = 0 ;
9443 PyObject * obj1 = 0 ;
9444 char *kwnames[] = {
9445 (char *) "self",(char *) "name", NULL
9446 };
9447
9448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_GetOption",kwnames,&obj0,&obj1)) goto fail;
9449 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9450 {
9451 arg2 = wxString_in_helper(obj1);
9452 if (arg2 == NULL) SWIG_fail;
9453 temp2 = True;
9454 }
9455 {
9456 PyThreadState* __tstate = wxPyBeginAllowThreads();
9457 result = ((wxImage const *)arg1)->GetOption((wxString const &)*arg2);
9458
9459 wxPyEndAllowThreads(__tstate);
9460 if (PyErr_Occurred()) SWIG_fail;
9461 }
9462 {
9463 #if wxUSE_UNICODE
9464 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9465 #else
9466 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9467 #endif
9468 }
9469 {
9470 if (temp2)
9471 delete arg2;
9472 }
9473 return resultobj;
9474 fail:
9475 {
9476 if (temp2)
9477 delete arg2;
9478 }
9479 return NULL;
9480 }
9481
9482
9483 static PyObject *_wrap_Image_GetOptionInt(PyObject *self, PyObject *args, PyObject *kwargs) {
9484 PyObject *resultobj;
9485 wxImage *arg1 = (wxImage *) 0 ;
9486 wxString *arg2 = 0 ;
9487 int result;
9488 bool temp2 = False ;
9489 PyObject * obj0 = 0 ;
9490 PyObject * obj1 = 0 ;
9491 char *kwnames[] = {
9492 (char *) "self",(char *) "name", NULL
9493 };
9494
9495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_GetOptionInt",kwnames,&obj0,&obj1)) goto fail;
9496 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9497 {
9498 arg2 = wxString_in_helper(obj1);
9499 if (arg2 == NULL) SWIG_fail;
9500 temp2 = True;
9501 }
9502 {
9503 PyThreadState* __tstate = wxPyBeginAllowThreads();
9504 result = (int)((wxImage const *)arg1)->GetOptionInt((wxString const &)*arg2);
9505
9506 wxPyEndAllowThreads(__tstate);
9507 if (PyErr_Occurred()) SWIG_fail;
9508 }
9509 resultobj = PyInt_FromLong((long)result);
9510 {
9511 if (temp2)
9512 delete arg2;
9513 }
9514 return resultobj;
9515 fail:
9516 {
9517 if (temp2)
9518 delete arg2;
9519 }
9520 return NULL;
9521 }
9522
9523
9524 static PyObject *_wrap_Image_HasOption(PyObject *self, PyObject *args, PyObject *kwargs) {
9525 PyObject *resultobj;
9526 wxImage *arg1 = (wxImage *) 0 ;
9527 wxString *arg2 = 0 ;
9528 bool result;
9529 bool temp2 = False ;
9530 PyObject * obj0 = 0 ;
9531 PyObject * obj1 = 0 ;
9532 char *kwnames[] = {
9533 (char *) "self",(char *) "name", NULL
9534 };
9535
9536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_HasOption",kwnames,&obj0,&obj1)) goto fail;
9537 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9538 {
9539 arg2 = wxString_in_helper(obj1);
9540 if (arg2 == NULL) SWIG_fail;
9541 temp2 = True;
9542 }
9543 {
9544 PyThreadState* __tstate = wxPyBeginAllowThreads();
9545 result = (bool)((wxImage const *)arg1)->HasOption((wxString const &)*arg2);
9546
9547 wxPyEndAllowThreads(__tstate);
9548 if (PyErr_Occurred()) SWIG_fail;
9549 }
9550 resultobj = PyInt_FromLong((long)result);
9551 {
9552 if (temp2)
9553 delete arg2;
9554 }
9555 return resultobj;
9556 fail:
9557 {
9558 if (temp2)
9559 delete arg2;
9560 }
9561 return NULL;
9562 }
9563
9564
9565 static PyObject *_wrap_Image_CountColours(PyObject *self, PyObject *args, PyObject *kwargs) {
9566 PyObject *resultobj;
9567 wxImage *arg1 = (wxImage *) 0 ;
9568 unsigned long arg2 = (unsigned long) (unsigned long) -1 ;
9569 unsigned long result;
9570 PyObject * obj0 = 0 ;
9571 PyObject * obj1 = 0 ;
9572 char *kwnames[] = {
9573 (char *) "self",(char *) "stopafter", NULL
9574 };
9575
9576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Image_CountColours",kwnames,&obj0,&obj1)) goto fail;
9577 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9578 if (obj1) {
9579 arg2 = (unsigned long) PyInt_AsLong(obj1);
9580 if (PyErr_Occurred()) SWIG_fail;
9581 }
9582 {
9583 PyThreadState* __tstate = wxPyBeginAllowThreads();
9584 result = (unsigned long)(arg1)->CountColours(arg2);
9585
9586 wxPyEndAllowThreads(__tstate);
9587 if (PyErr_Occurred()) SWIG_fail;
9588 }
9589 resultobj = PyInt_FromLong((long)result);
9590 return resultobj;
9591 fail:
9592 return NULL;
9593 }
9594
9595
9596 static PyObject *_wrap_Image_ComputeHistogram(PyObject *self, PyObject *args, PyObject *kwargs) {
9597 PyObject *resultobj;
9598 wxImage *arg1 = (wxImage *) 0 ;
9599 wxImageHistogram *arg2 = 0 ;
9600 unsigned long result;
9601 PyObject * obj0 = 0 ;
9602 PyObject * obj1 = 0 ;
9603 char *kwnames[] = {
9604 (char *) "self",(char *) "h", NULL
9605 };
9606
9607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_ComputeHistogram",kwnames,&obj0,&obj1)) goto fail;
9608 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9609 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageHistogram,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9610 if (arg2 == NULL) {
9611 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9612 }
9613 {
9614 PyThreadState* __tstate = wxPyBeginAllowThreads();
9615 result = (unsigned long)(arg1)->ComputeHistogram(*arg2);
9616
9617 wxPyEndAllowThreads(__tstate);
9618 if (PyErr_Occurred()) SWIG_fail;
9619 }
9620 resultobj = PyInt_FromLong((long)result);
9621 return resultobj;
9622 fail:
9623 return NULL;
9624 }
9625
9626
9627 static PyObject *_wrap_Image_AddHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
9628 PyObject *resultobj;
9629 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
9630 PyObject * obj0 = 0 ;
9631 char *kwnames[] = {
9632 (char *) "handler", NULL
9633 };
9634
9635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_AddHandler",kwnames,&obj0)) goto fail;
9636 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImageHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9637 {
9638 PyThreadState* __tstate = wxPyBeginAllowThreads();
9639 wxImage::AddHandler(arg1);
9640
9641 wxPyEndAllowThreads(__tstate);
9642 if (PyErr_Occurred()) SWIG_fail;
9643 }
9644 Py_INCREF(Py_None); resultobj = Py_None;
9645 return resultobj;
9646 fail:
9647 return NULL;
9648 }
9649
9650
9651 static PyObject *_wrap_Image_InsertHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
9652 PyObject *resultobj;
9653 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
9654 PyObject * obj0 = 0 ;
9655 char *kwnames[] = {
9656 (char *) "handler", NULL
9657 };
9658
9659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_InsertHandler",kwnames,&obj0)) goto fail;
9660 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImageHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9661 {
9662 PyThreadState* __tstate = wxPyBeginAllowThreads();
9663 wxImage::InsertHandler(arg1);
9664
9665 wxPyEndAllowThreads(__tstate);
9666 if (PyErr_Occurred()) SWIG_fail;
9667 }
9668 Py_INCREF(Py_None); resultobj = Py_None;
9669 return resultobj;
9670 fail:
9671 return NULL;
9672 }
9673
9674
9675 static PyObject *_wrap_Image_RemoveHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
9676 PyObject *resultobj;
9677 wxString *arg1 = 0 ;
9678 bool result;
9679 bool temp1 = False ;
9680 PyObject * obj0 = 0 ;
9681 char *kwnames[] = {
9682 (char *) "name", NULL
9683 };
9684
9685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_RemoveHandler",kwnames,&obj0)) goto fail;
9686 {
9687 arg1 = wxString_in_helper(obj0);
9688 if (arg1 == NULL) SWIG_fail;
9689 temp1 = True;
9690 }
9691 {
9692 PyThreadState* __tstate = wxPyBeginAllowThreads();
9693 result = (bool)wxImage::RemoveHandler((wxString const &)*arg1);
9694
9695 wxPyEndAllowThreads(__tstate);
9696 if (PyErr_Occurred()) SWIG_fail;
9697 }
9698 resultobj = PyInt_FromLong((long)result);
9699 {
9700 if (temp1)
9701 delete arg1;
9702 }
9703 return resultobj;
9704 fail:
9705 {
9706 if (temp1)
9707 delete arg1;
9708 }
9709 return NULL;
9710 }
9711
9712
9713 static PyObject *_wrap_Image_GetImageExtWildcard(PyObject *self, PyObject *args, PyObject *kwargs) {
9714 PyObject *resultobj;
9715 wxString result;
9716 char *kwnames[] = {
9717 NULL
9718 };
9719
9720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Image_GetImageExtWildcard",kwnames)) goto fail;
9721 {
9722 PyThreadState* __tstate = wxPyBeginAllowThreads();
9723 result = wxImage::GetImageExtWildcard();
9724
9725 wxPyEndAllowThreads(__tstate);
9726 if (PyErr_Occurred()) SWIG_fail;
9727 }
9728 {
9729 #if wxUSE_UNICODE
9730 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9731 #else
9732 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9733 #endif
9734 }
9735 return resultobj;
9736 fail:
9737 return NULL;
9738 }
9739
9740
9741 static PyObject *_wrap_Image_ConvertToBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
9742 PyObject *resultobj;
9743 wxImage *arg1 = (wxImage *) 0 ;
9744 wxBitmap result;
9745 PyObject * obj0 = 0 ;
9746 char *kwnames[] = {
9747 (char *) "self", NULL
9748 };
9749
9750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_ConvertToBitmap",kwnames,&obj0)) goto fail;
9751 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9752 {
9753 PyThreadState* __tstate = wxPyBeginAllowThreads();
9754 result = wxImage_ConvertToBitmap(arg1);
9755
9756 wxPyEndAllowThreads(__tstate);
9757 if (PyErr_Occurred()) SWIG_fail;
9758 }
9759 {
9760 wxBitmap * resultptr;
9761 resultptr = new wxBitmap((wxBitmap &) result);
9762 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
9763 }
9764 return resultobj;
9765 fail:
9766 return NULL;
9767 }
9768
9769
9770 static PyObject *_wrap_Image_ConvertToMonoBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
9771 PyObject *resultobj;
9772 wxImage *arg1 = (wxImage *) 0 ;
9773 unsigned char arg2 ;
9774 unsigned char arg3 ;
9775 unsigned char arg4 ;
9776 wxBitmap result;
9777 PyObject * obj0 = 0 ;
9778 PyObject * obj1 = 0 ;
9779 PyObject * obj2 = 0 ;
9780 PyObject * obj3 = 0 ;
9781 char *kwnames[] = {
9782 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
9783 };
9784
9785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Image_ConvertToMonoBitmap",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
9786 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9787 arg2 = (unsigned char) PyInt_AsLong(obj1);
9788 if (PyErr_Occurred()) SWIG_fail;
9789 arg3 = (unsigned char) PyInt_AsLong(obj2);
9790 if (PyErr_Occurred()) SWIG_fail;
9791 arg4 = (unsigned char) PyInt_AsLong(obj3);
9792 if (PyErr_Occurred()) SWIG_fail;
9793 {
9794 PyThreadState* __tstate = wxPyBeginAllowThreads();
9795 result = wxImage_ConvertToMonoBitmap(arg1,arg2,arg3,arg4);
9796
9797 wxPyEndAllowThreads(__tstate);
9798 if (PyErr_Occurred()) SWIG_fail;
9799 }
9800 {
9801 wxBitmap * resultptr;
9802 resultptr = new wxBitmap((wxBitmap &) result);
9803 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
9804 }
9805 return resultobj;
9806 fail:
9807 return NULL;
9808 }
9809
9810
9811 static PyObject * Image_swigregister(PyObject *self, PyObject *args) {
9812 PyObject *obj;
9813 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9814 SWIG_TypeClientData(SWIGTYPE_p_wxImage, obj);
9815 Py_INCREF(obj);
9816 return Py_BuildValue((char *)"");
9817 }
9818 static PyObject *_wrap_InitAllImageHandlers(PyObject *self, PyObject *args, PyObject *kwargs) {
9819 PyObject *resultobj;
9820 char *kwnames[] = {
9821 NULL
9822 };
9823
9824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":InitAllImageHandlers",kwnames)) goto fail;
9825 {
9826 PyThreadState* __tstate = wxPyBeginAllowThreads();
9827 wxInitAllImageHandlers();
9828
9829 wxPyEndAllowThreads(__tstate);
9830 if (PyErr_Occurred()) SWIG_fail;
9831 }
9832 Py_INCREF(Py_None); resultobj = Py_None;
9833 return resultobj;
9834 fail:
9835 return NULL;
9836 }
9837
9838
9839 static int _wrap_NullImage_set(PyObject *_val) {
9840 PyErr_SetString(PyExc_TypeError,"Variable NullImage is read-only.");
9841 return 1;
9842 }
9843
9844
9845 static PyObject *_wrap_NullImage_get() {
9846 PyObject *pyobj;
9847
9848 pyobj = SWIG_NewPointerObj((void *) &wxNullImage, SWIGTYPE_p_wxImage, 0);
9849 return pyobj;
9850 }
9851
9852
9853 static int _wrap_IMAGE_OPTION_BMP_FORMAT_set(PyObject *_val) {
9854 PyErr_SetString(PyExc_TypeError,"Variable IMAGE_OPTION_BMP_FORMAT is read-only.");
9855 return 1;
9856 }
9857
9858
9859 static PyObject *_wrap_IMAGE_OPTION_BMP_FORMAT_get() {
9860 PyObject *pyobj;
9861
9862 {
9863 #if wxUSE_UNICODE
9864 pyobj = PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_BMP_FORMAT)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT)->Len());
9865 #else
9866 pyobj = PyString_FromStringAndSize((&wxPyIMAGE_OPTION_BMP_FORMAT)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT)->Len());
9867 #endif
9868 }
9869 return pyobj;
9870 }
9871
9872
9873 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set(PyObject *_val) {
9874 PyErr_SetString(PyExc_TypeError,"Variable IMAGE_OPTION_CUR_HOTSPOT_X is read-only.");
9875 return 1;
9876 }
9877
9878
9879 static PyObject *_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get() {
9880 PyObject *pyobj;
9881
9882 {
9883 #if wxUSE_UNICODE
9884 pyobj = PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X)->Len());
9885 #else
9886 pyobj = PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X)->Len());
9887 #endif
9888 }
9889 return pyobj;
9890 }
9891
9892
9893 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set(PyObject *_val) {
9894 PyErr_SetString(PyExc_TypeError,"Variable IMAGE_OPTION_CUR_HOTSPOT_Y is read-only.");
9895 return 1;
9896 }
9897
9898
9899 static PyObject *_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get() {
9900 PyObject *pyobj;
9901
9902 {
9903 #if wxUSE_UNICODE
9904 pyobj = PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y)->Len());
9905 #else
9906 pyobj = PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y)->Len());
9907 #endif
9908 }
9909 return pyobj;
9910 }
9911
9912
9913 static int _wrap_IMAGE_OPTION_RESOLUTION_set(PyObject *_val) {
9914 PyErr_SetString(PyExc_TypeError,"Variable IMAGE_OPTION_RESOLUTION is read-only.");
9915 return 1;
9916 }
9917
9918
9919 static PyObject *_wrap_IMAGE_OPTION_RESOLUTION_get() {
9920 PyObject *pyobj;
9921
9922 {
9923 #if wxUSE_UNICODE
9924 pyobj = PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTION)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION)->Len());
9925 #else
9926 pyobj = PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTION)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION)->Len());
9927 #endif
9928 }
9929 return pyobj;
9930 }
9931
9932
9933 static int _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set(PyObject *_val) {
9934 PyErr_SetString(PyExc_TypeError,"Variable IMAGE_OPTION_RESOLUTIONUNIT is read-only.");
9935 return 1;
9936 }
9937
9938
9939 static PyObject *_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get() {
9940 PyObject *pyobj;
9941
9942 {
9943 #if wxUSE_UNICODE
9944 pyobj = PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONUNIT)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT)->Len());
9945 #else
9946 pyobj = PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONUNIT)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT)->Len());
9947 #endif
9948 }
9949 return pyobj;
9950 }
9951
9952
9953 static PyObject *_wrap_new_BMPHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
9954 PyObject *resultobj;
9955 wxBMPHandler *result;
9956 char *kwnames[] = {
9957 NULL
9958 };
9959
9960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_BMPHandler",kwnames)) goto fail;
9961 {
9962 PyThreadState* __tstate = wxPyBeginAllowThreads();
9963 result = (wxBMPHandler *)new wxBMPHandler();
9964
9965 wxPyEndAllowThreads(__tstate);
9966 if (PyErr_Occurred()) SWIG_fail;
9967 }
9968 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBMPHandler, 1);
9969 return resultobj;
9970 fail:
9971 return NULL;
9972 }
9973
9974
9975 static PyObject * BMPHandler_swigregister(PyObject *self, PyObject *args) {
9976 PyObject *obj;
9977 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9978 SWIG_TypeClientData(SWIGTYPE_p_wxBMPHandler, obj);
9979 Py_INCREF(obj);
9980 return Py_BuildValue((char *)"");
9981 }
9982 static PyObject *_wrap_new_ICOHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
9983 PyObject *resultobj;
9984 wxICOHandler *result;
9985 char *kwnames[] = {
9986 NULL
9987 };
9988
9989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ICOHandler",kwnames)) goto fail;
9990 {
9991 PyThreadState* __tstate = wxPyBeginAllowThreads();
9992 result = (wxICOHandler *)new wxICOHandler();
9993
9994 wxPyEndAllowThreads(__tstate);
9995 if (PyErr_Occurred()) SWIG_fail;
9996 }
9997 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxICOHandler, 1);
9998 return resultobj;
9999 fail:
10000 return NULL;
10001 }
10002
10003
10004 static PyObject * ICOHandler_swigregister(PyObject *self, PyObject *args) {
10005 PyObject *obj;
10006 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10007 SWIG_TypeClientData(SWIGTYPE_p_wxICOHandler, obj);
10008 Py_INCREF(obj);
10009 return Py_BuildValue((char *)"");
10010 }
10011 static PyObject *_wrap_new_CURHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
10012 PyObject *resultobj;
10013 wxCURHandler *result;
10014 char *kwnames[] = {
10015 NULL
10016 };
10017
10018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_CURHandler",kwnames)) goto fail;
10019 {
10020 PyThreadState* __tstate = wxPyBeginAllowThreads();
10021 result = (wxCURHandler *)new wxCURHandler();
10022
10023 wxPyEndAllowThreads(__tstate);
10024 if (PyErr_Occurred()) SWIG_fail;
10025 }
10026 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCURHandler, 1);
10027 return resultobj;
10028 fail:
10029 return NULL;
10030 }
10031
10032
10033 static PyObject * CURHandler_swigregister(PyObject *self, PyObject *args) {
10034 PyObject *obj;
10035 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10036 SWIG_TypeClientData(SWIGTYPE_p_wxCURHandler, obj);
10037 Py_INCREF(obj);
10038 return Py_BuildValue((char *)"");
10039 }
10040 static PyObject *_wrap_new_ANIHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
10041 PyObject *resultobj;
10042 wxANIHandler *result;
10043 char *kwnames[] = {
10044 NULL
10045 };
10046
10047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ANIHandler",kwnames)) goto fail;
10048 {
10049 PyThreadState* __tstate = wxPyBeginAllowThreads();
10050 result = (wxANIHandler *)new wxANIHandler();
10051
10052 wxPyEndAllowThreads(__tstate);
10053 if (PyErr_Occurred()) SWIG_fail;
10054 }
10055 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxANIHandler, 1);
10056 return resultobj;
10057 fail:
10058 return NULL;
10059 }
10060
10061
10062 static PyObject * ANIHandler_swigregister(PyObject *self, PyObject *args) {
10063 PyObject *obj;
10064 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10065 SWIG_TypeClientData(SWIGTYPE_p_wxANIHandler, obj);
10066 Py_INCREF(obj);
10067 return Py_BuildValue((char *)"");
10068 }
10069 static PyObject *_wrap_new_PNGHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
10070 PyObject *resultobj;
10071 wxPNGHandler *result;
10072 char *kwnames[] = {
10073 NULL
10074 };
10075
10076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PNGHandler",kwnames)) goto fail;
10077 {
10078 PyThreadState* __tstate = wxPyBeginAllowThreads();
10079 result = (wxPNGHandler *)new wxPNGHandler();
10080
10081 wxPyEndAllowThreads(__tstate);
10082 if (PyErr_Occurred()) SWIG_fail;
10083 }
10084 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPNGHandler, 1);
10085 return resultobj;
10086 fail:
10087 return NULL;
10088 }
10089
10090
10091 static PyObject * PNGHandler_swigregister(PyObject *self, PyObject *args) {
10092 PyObject *obj;
10093 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10094 SWIG_TypeClientData(SWIGTYPE_p_wxPNGHandler, obj);
10095 Py_INCREF(obj);
10096 return Py_BuildValue((char *)"");
10097 }
10098 static PyObject *_wrap_new_GIFHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
10099 PyObject *resultobj;
10100 wxGIFHandler *result;
10101 char *kwnames[] = {
10102 NULL
10103 };
10104
10105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_GIFHandler",kwnames)) goto fail;
10106 {
10107 PyThreadState* __tstate = wxPyBeginAllowThreads();
10108 result = (wxGIFHandler *)new wxGIFHandler();
10109
10110 wxPyEndAllowThreads(__tstate);
10111 if (PyErr_Occurred()) SWIG_fail;
10112 }
10113 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGIFHandler, 1);
10114 return resultobj;
10115 fail:
10116 return NULL;
10117 }
10118
10119
10120 static PyObject * GIFHandler_swigregister(PyObject *self, PyObject *args) {
10121 PyObject *obj;
10122 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10123 SWIG_TypeClientData(SWIGTYPE_p_wxGIFHandler, obj);
10124 Py_INCREF(obj);
10125 return Py_BuildValue((char *)"");
10126 }
10127 static PyObject *_wrap_new_PCXHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
10128 PyObject *resultobj;
10129 wxPCXHandler *result;
10130 char *kwnames[] = {
10131 NULL
10132 };
10133
10134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PCXHandler",kwnames)) goto fail;
10135 {
10136 PyThreadState* __tstate = wxPyBeginAllowThreads();
10137 result = (wxPCXHandler *)new wxPCXHandler();
10138
10139 wxPyEndAllowThreads(__tstate);
10140 if (PyErr_Occurred()) SWIG_fail;
10141 }
10142 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPCXHandler, 1);
10143 return resultobj;
10144 fail:
10145 return NULL;
10146 }
10147
10148
10149 static PyObject * PCXHandler_swigregister(PyObject *self, PyObject *args) {
10150 PyObject *obj;
10151 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10152 SWIG_TypeClientData(SWIGTYPE_p_wxPCXHandler, obj);
10153 Py_INCREF(obj);
10154 return Py_BuildValue((char *)"");
10155 }
10156 static PyObject *_wrap_new_JPEGHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
10157 PyObject *resultobj;
10158 wxJPEGHandler *result;
10159 char *kwnames[] = {
10160 NULL
10161 };
10162
10163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_JPEGHandler",kwnames)) goto fail;
10164 {
10165 PyThreadState* __tstate = wxPyBeginAllowThreads();
10166 result = (wxJPEGHandler *)new wxJPEGHandler();
10167
10168 wxPyEndAllowThreads(__tstate);
10169 if (PyErr_Occurred()) SWIG_fail;
10170 }
10171 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxJPEGHandler, 1);
10172 return resultobj;
10173 fail:
10174 return NULL;
10175 }
10176
10177
10178 static PyObject * JPEGHandler_swigregister(PyObject *self, PyObject *args) {
10179 PyObject *obj;
10180 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10181 SWIG_TypeClientData(SWIGTYPE_p_wxJPEGHandler, obj);
10182 Py_INCREF(obj);
10183 return Py_BuildValue((char *)"");
10184 }
10185 static PyObject *_wrap_new_PNMHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
10186 PyObject *resultobj;
10187 wxPNMHandler *result;
10188 char *kwnames[] = {
10189 NULL
10190 };
10191
10192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PNMHandler",kwnames)) goto fail;
10193 {
10194 PyThreadState* __tstate = wxPyBeginAllowThreads();
10195 result = (wxPNMHandler *)new wxPNMHandler();
10196
10197 wxPyEndAllowThreads(__tstate);
10198 if (PyErr_Occurred()) SWIG_fail;
10199 }
10200 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPNMHandler, 1);
10201 return resultobj;
10202 fail:
10203 return NULL;
10204 }
10205
10206
10207 static PyObject * PNMHandler_swigregister(PyObject *self, PyObject *args) {
10208 PyObject *obj;
10209 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10210 SWIG_TypeClientData(SWIGTYPE_p_wxPNMHandler, obj);
10211 Py_INCREF(obj);
10212 return Py_BuildValue((char *)"");
10213 }
10214 static PyObject *_wrap_new_XPMHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
10215 PyObject *resultobj;
10216 wxXPMHandler *result;
10217 char *kwnames[] = {
10218 NULL
10219 };
10220
10221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_XPMHandler",kwnames)) goto fail;
10222 {
10223 PyThreadState* __tstate = wxPyBeginAllowThreads();
10224 result = (wxXPMHandler *)new wxXPMHandler();
10225
10226 wxPyEndAllowThreads(__tstate);
10227 if (PyErr_Occurred()) SWIG_fail;
10228 }
10229 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxXPMHandler, 1);
10230 return resultobj;
10231 fail:
10232 return NULL;
10233 }
10234
10235
10236 static PyObject * XPMHandler_swigregister(PyObject *self, PyObject *args) {
10237 PyObject *obj;
10238 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10239 SWIG_TypeClientData(SWIGTYPE_p_wxXPMHandler, obj);
10240 Py_INCREF(obj);
10241 return Py_BuildValue((char *)"");
10242 }
10243 static PyObject *_wrap_new_TIFFHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
10244 PyObject *resultobj;
10245 wxTIFFHandler *result;
10246 char *kwnames[] = {
10247 NULL
10248 };
10249
10250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TIFFHandler",kwnames)) goto fail;
10251 {
10252 PyThreadState* __tstate = wxPyBeginAllowThreads();
10253 result = (wxTIFFHandler *)new wxTIFFHandler();
10254
10255 wxPyEndAllowThreads(__tstate);
10256 if (PyErr_Occurred()) SWIG_fail;
10257 }
10258 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTIFFHandler, 1);
10259 return resultobj;
10260 fail:
10261 return NULL;
10262 }
10263
10264
10265 static PyObject * TIFFHandler_swigregister(PyObject *self, PyObject *args) {
10266 PyObject *obj;
10267 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10268 SWIG_TypeClientData(SWIGTYPE_p_wxTIFFHandler, obj);
10269 Py_INCREF(obj);
10270 return Py_BuildValue((char *)"");
10271 }
10272 static PyObject *_wrap_new_EvtHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
10273 PyObject *resultobj;
10274 wxEvtHandler *result;
10275 char *kwnames[] = {
10276 NULL
10277 };
10278
10279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_EvtHandler",kwnames)) goto fail;
10280 {
10281 PyThreadState* __tstate = wxPyBeginAllowThreads();
10282 result = (wxEvtHandler *)new wxEvtHandler();
10283
10284 wxPyEndAllowThreads(__tstate);
10285 if (PyErr_Occurred()) SWIG_fail;
10286 }
10287 {
10288 resultobj = wxPyMake_wxObject(result);
10289 }
10290 return resultobj;
10291 fail:
10292 return NULL;
10293 }
10294
10295
10296 static PyObject *_wrap_EvtHandler_GetNextHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
10297 PyObject *resultobj;
10298 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
10299 wxEvtHandler *result;
10300 PyObject * obj0 = 0 ;
10301 char *kwnames[] = {
10302 (char *) "self", NULL
10303 };
10304
10305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EvtHandler_GetNextHandler",kwnames,&obj0)) goto fail;
10306 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10307 {
10308 PyThreadState* __tstate = wxPyBeginAllowThreads();
10309 result = (wxEvtHandler *)(arg1)->GetNextHandler();
10310
10311 wxPyEndAllowThreads(__tstate);
10312 if (PyErr_Occurred()) SWIG_fail;
10313 }
10314 {
10315 resultobj = wxPyMake_wxObject(result);
10316 }
10317 return resultobj;
10318 fail:
10319 return NULL;
10320 }
10321
10322
10323 static PyObject *_wrap_EvtHandler_GetPreviousHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
10324 PyObject *resultobj;
10325 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
10326 wxEvtHandler *result;
10327 PyObject * obj0 = 0 ;
10328 char *kwnames[] = {
10329 (char *) "self", NULL
10330 };
10331
10332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EvtHandler_GetPreviousHandler",kwnames,&obj0)) goto fail;
10333 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10334 {
10335 PyThreadState* __tstate = wxPyBeginAllowThreads();
10336 result = (wxEvtHandler *)(arg1)->GetPreviousHandler();
10337
10338 wxPyEndAllowThreads(__tstate);
10339 if (PyErr_Occurred()) SWIG_fail;
10340 }
10341 {
10342 resultobj = wxPyMake_wxObject(result);
10343 }
10344 return resultobj;
10345 fail:
10346 return NULL;
10347 }
10348
10349
10350 static PyObject *_wrap_EvtHandler_SetNextHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
10351 PyObject *resultobj;
10352 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
10353 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
10354 PyObject * obj0 = 0 ;
10355 PyObject * obj1 = 0 ;
10356 char *kwnames[] = {
10357 (char *) "self",(char *) "handler", NULL
10358 };
10359
10360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EvtHandler_SetNextHandler",kwnames,&obj0,&obj1)) goto fail;
10361 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10362 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10363 {
10364 PyThreadState* __tstate = wxPyBeginAllowThreads();
10365 (arg1)->SetNextHandler(arg2);
10366
10367 wxPyEndAllowThreads(__tstate);
10368 if (PyErr_Occurred()) SWIG_fail;
10369 }
10370 Py_INCREF(Py_None); resultobj = Py_None;
10371 return resultobj;
10372 fail:
10373 return NULL;
10374 }
10375
10376
10377 static PyObject *_wrap_EvtHandler_SetPreviousHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
10378 PyObject *resultobj;
10379 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
10380 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
10381 PyObject * obj0 = 0 ;
10382 PyObject * obj1 = 0 ;
10383 char *kwnames[] = {
10384 (char *) "self",(char *) "handler", NULL
10385 };
10386
10387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EvtHandler_SetPreviousHandler",kwnames,&obj0,&obj1)) goto fail;
10388 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10389 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10390 {
10391 PyThreadState* __tstate = wxPyBeginAllowThreads();
10392 (arg1)->SetPreviousHandler(arg2);
10393
10394 wxPyEndAllowThreads(__tstate);
10395 if (PyErr_Occurred()) SWIG_fail;
10396 }
10397 Py_INCREF(Py_None); resultobj = Py_None;
10398 return resultobj;
10399 fail:
10400 return NULL;
10401 }
10402
10403
10404 static PyObject *_wrap_EvtHandler_GetEvtHandlerEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
10405 PyObject *resultobj;
10406 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
10407 bool result;
10408 PyObject * obj0 = 0 ;
10409 char *kwnames[] = {
10410 (char *) "self", NULL
10411 };
10412
10413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EvtHandler_GetEvtHandlerEnabled",kwnames,&obj0)) goto fail;
10414 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10415 {
10416 PyThreadState* __tstate = wxPyBeginAllowThreads();
10417 result = (bool)(arg1)->GetEvtHandlerEnabled();
10418
10419 wxPyEndAllowThreads(__tstate);
10420 if (PyErr_Occurred()) SWIG_fail;
10421 }
10422 resultobj = PyInt_FromLong((long)result);
10423 return resultobj;
10424 fail:
10425 return NULL;
10426 }
10427
10428
10429 static PyObject *_wrap_EvtHandler_SetEvtHandlerEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
10430 PyObject *resultobj;
10431 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
10432 bool arg2 ;
10433 PyObject * obj0 = 0 ;
10434 PyObject * obj1 = 0 ;
10435 char *kwnames[] = {
10436 (char *) "self",(char *) "enabled", NULL
10437 };
10438
10439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EvtHandler_SetEvtHandlerEnabled",kwnames,&obj0,&obj1)) goto fail;
10440 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10441 arg2 = PyInt_AsLong(obj1) ? true : false;
10442 if (PyErr_Occurred()) SWIG_fail;
10443 {
10444 PyThreadState* __tstate = wxPyBeginAllowThreads();
10445 (arg1)->SetEvtHandlerEnabled(arg2);
10446
10447 wxPyEndAllowThreads(__tstate);
10448 if (PyErr_Occurred()) SWIG_fail;
10449 }
10450 Py_INCREF(Py_None); resultobj = Py_None;
10451 return resultobj;
10452 fail:
10453 return NULL;
10454 }
10455
10456
10457 static PyObject *_wrap_EvtHandler_ProcessEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
10458 PyObject *resultobj;
10459 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
10460 wxEvent *arg2 = 0 ;
10461 bool result;
10462 PyObject * obj0 = 0 ;
10463 PyObject * obj1 = 0 ;
10464 char *kwnames[] = {
10465 (char *) "self",(char *) "event", NULL
10466 };
10467
10468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EvtHandler_ProcessEvent",kwnames,&obj0,&obj1)) goto fail;
10469 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10470 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10471 if (arg2 == NULL) {
10472 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10473 }
10474 {
10475 PyThreadState* __tstate = wxPyBeginAllowThreads();
10476 result = (bool)(arg1)->ProcessEvent(*arg2);
10477
10478 wxPyEndAllowThreads(__tstate);
10479 if (PyErr_Occurred()) SWIG_fail;
10480 }
10481 resultobj = PyInt_FromLong((long)result);
10482 return resultobj;
10483 fail:
10484 return NULL;
10485 }
10486
10487
10488 static PyObject *_wrap_EvtHandler_AddPendingEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
10489 PyObject *resultobj;
10490 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
10491 wxEvent *arg2 = 0 ;
10492 PyObject * obj0 = 0 ;
10493 PyObject * obj1 = 0 ;
10494 char *kwnames[] = {
10495 (char *) "self",(char *) "event", NULL
10496 };
10497
10498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EvtHandler_AddPendingEvent",kwnames,&obj0,&obj1)) goto fail;
10499 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10500 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10501 if (arg2 == NULL) {
10502 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10503 }
10504 {
10505 PyThreadState* __tstate = wxPyBeginAllowThreads();
10506 (arg1)->AddPendingEvent(*arg2);
10507
10508 wxPyEndAllowThreads(__tstate);
10509 if (PyErr_Occurred()) SWIG_fail;
10510 }
10511 Py_INCREF(Py_None); resultobj = Py_None;
10512 return resultobj;
10513 fail:
10514 return NULL;
10515 }
10516
10517
10518 static PyObject *_wrap_EvtHandler_ProcessPendingEvents(PyObject *self, PyObject *args, PyObject *kwargs) {
10519 PyObject *resultobj;
10520 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
10521 PyObject * obj0 = 0 ;
10522 char *kwnames[] = {
10523 (char *) "self", NULL
10524 };
10525
10526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EvtHandler_ProcessPendingEvents",kwnames,&obj0)) goto fail;
10527 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10528 {
10529 PyThreadState* __tstate = wxPyBeginAllowThreads();
10530 (arg1)->ProcessPendingEvents();
10531
10532 wxPyEndAllowThreads(__tstate);
10533 if (PyErr_Occurred()) SWIG_fail;
10534 }
10535 Py_INCREF(Py_None); resultobj = Py_None;
10536 return resultobj;
10537 fail:
10538 return NULL;
10539 }
10540
10541
10542 static PyObject *_wrap_EvtHandler_Connect(PyObject *self, PyObject *args, PyObject *kwargs) {
10543 PyObject *resultobj;
10544 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
10545 int arg2 ;
10546 int arg3 ;
10547 int arg4 ;
10548 PyObject *arg5 = (PyObject *) 0 ;
10549 PyObject * obj0 = 0 ;
10550 PyObject * obj4 = 0 ;
10551 char *kwnames[] = {
10552 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType",(char *) "func", NULL
10553 };
10554
10555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiiiO:EvtHandler_Connect",kwnames,&obj0,&arg2,&arg3,&arg4,&obj4)) goto fail;
10556 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10557 arg5 = obj4;
10558 {
10559 PyThreadState* __tstate = wxPyBeginAllowThreads();
10560 wxEvtHandler_Connect(arg1,arg2,arg3,arg4,arg5);
10561
10562 wxPyEndAllowThreads(__tstate);
10563 if (PyErr_Occurred()) SWIG_fail;
10564 }
10565 Py_INCREF(Py_None); resultobj = Py_None;
10566 return resultobj;
10567 fail:
10568 return NULL;
10569 }
10570
10571
10572 static PyObject *_wrap_EvtHandler_Disconnect(PyObject *self, PyObject *args, PyObject *kwargs) {
10573 PyObject *resultobj;
10574 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
10575 int arg2 ;
10576 int arg3 = (int) -1 ;
10577 wxEventType arg4 = (wxEventType) wxEVT_NULL ;
10578 bool result;
10579 PyObject * obj0 = 0 ;
10580 char *kwnames[] = {
10581 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType", NULL
10582 };
10583
10584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|ii:EvtHandler_Disconnect",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
10585 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10586 {
10587 PyThreadState* __tstate = wxPyBeginAllowThreads();
10588 result = (bool)wxEvtHandler_Disconnect(arg1,arg2,arg3,arg4);
10589
10590 wxPyEndAllowThreads(__tstate);
10591 if (PyErr_Occurred()) SWIG_fail;
10592 }
10593 resultobj = PyInt_FromLong((long)result);
10594 return resultobj;
10595 fail:
10596 return NULL;
10597 }
10598
10599
10600 static PyObject *_wrap_EvtHandler__setOORInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
10601 PyObject *resultobj;
10602 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
10603 PyObject *arg2 = (PyObject *) 0 ;
10604 PyObject * obj0 = 0 ;
10605 PyObject * obj1 = 0 ;
10606 char *kwnames[] = {
10607 (char *) "self",(char *) "_self", NULL
10608 };
10609
10610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EvtHandler__setOORInfo",kwnames,&obj0,&obj1)) goto fail;
10611 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10612 arg2 = obj1;
10613 {
10614 PyThreadState* __tstate = wxPyBeginAllowThreads();
10615 wxEvtHandler__setOORInfo(arg1,arg2);
10616
10617 wxPyEndAllowThreads(__tstate);
10618 if (PyErr_Occurred()) SWIG_fail;
10619 }
10620 Py_INCREF(Py_None); resultobj = Py_None;
10621 return resultobj;
10622 fail:
10623 return NULL;
10624 }
10625
10626
10627 static PyObject * EvtHandler_swigregister(PyObject *self, PyObject *args) {
10628 PyObject *obj;
10629 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10630 SWIG_TypeClientData(SWIGTYPE_p_wxEvtHandler, obj);
10631 Py_INCREF(obj);
10632 return Py_BuildValue((char *)"");
10633 }
10634 static PyObject *_wrap_NewEventType(PyObject *self, PyObject *args, PyObject *kwargs) {
10635 PyObject *resultobj;
10636 wxEventType result;
10637 char *kwnames[] = {
10638 NULL
10639 };
10640
10641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":NewEventType",kwnames)) goto fail;
10642 {
10643 PyThreadState* __tstate = wxPyBeginAllowThreads();
10644 result = (wxEventType)wxNewEventType();
10645
10646 wxPyEndAllowThreads(__tstate);
10647 if (PyErr_Occurred()) SWIG_fail;
10648 }
10649 resultobj = PyInt_FromLong((long)result);
10650 return resultobj;
10651 fail:
10652 return NULL;
10653 }
10654
10655
10656 static PyObject *_wrap_delete_Event(PyObject *self, PyObject *args, PyObject *kwargs) {
10657 PyObject *resultobj;
10658 wxEvent *arg1 = (wxEvent *) 0 ;
10659 PyObject * obj0 = 0 ;
10660 char *kwnames[] = {
10661 (char *) "self", NULL
10662 };
10663
10664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Event",kwnames,&obj0)) goto fail;
10665 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10666 {
10667 PyThreadState* __tstate = wxPyBeginAllowThreads();
10668 delete arg1;
10669
10670 wxPyEndAllowThreads(__tstate);
10671 if (PyErr_Occurred()) SWIG_fail;
10672 }
10673 Py_INCREF(Py_None); resultobj = Py_None;
10674 return resultobj;
10675 fail:
10676 return NULL;
10677 }
10678
10679
10680 static PyObject *_wrap_Event_SetEventType(PyObject *self, PyObject *args, PyObject *kwargs) {
10681 PyObject *resultobj;
10682 wxEvent *arg1 = (wxEvent *) 0 ;
10683 wxEventType arg2 ;
10684 PyObject * obj0 = 0 ;
10685 char *kwnames[] = {
10686 (char *) "self",(char *) "typ", NULL
10687 };
10688
10689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Event_SetEventType",kwnames,&obj0,&arg2)) goto fail;
10690 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10691 {
10692 PyThreadState* __tstate = wxPyBeginAllowThreads();
10693 (arg1)->SetEventType(arg2);
10694
10695 wxPyEndAllowThreads(__tstate);
10696 if (PyErr_Occurred()) SWIG_fail;
10697 }
10698 Py_INCREF(Py_None); resultobj = Py_None;
10699 return resultobj;
10700 fail:
10701 return NULL;
10702 }
10703
10704
10705 static PyObject *_wrap_Event_GetEventType(PyObject *self, PyObject *args, PyObject *kwargs) {
10706 PyObject *resultobj;
10707 wxEvent *arg1 = (wxEvent *) 0 ;
10708 wxEventType result;
10709 PyObject * obj0 = 0 ;
10710 char *kwnames[] = {
10711 (char *) "self", NULL
10712 };
10713
10714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_GetEventType",kwnames,&obj0)) goto fail;
10715 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10716 {
10717 PyThreadState* __tstate = wxPyBeginAllowThreads();
10718 result = (wxEventType)((wxEvent const *)arg1)->GetEventType();
10719
10720 wxPyEndAllowThreads(__tstate);
10721 if (PyErr_Occurred()) SWIG_fail;
10722 }
10723 resultobj = PyInt_FromLong((long)result);
10724 return resultobj;
10725 fail:
10726 return NULL;
10727 }
10728
10729
10730 static PyObject *_wrap_Event_GetEventObject(PyObject *self, PyObject *args, PyObject *kwargs) {
10731 PyObject *resultobj;
10732 wxEvent *arg1 = (wxEvent *) 0 ;
10733 wxObject *result;
10734 PyObject * obj0 = 0 ;
10735 char *kwnames[] = {
10736 (char *) "self", NULL
10737 };
10738
10739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_GetEventObject",kwnames,&obj0)) goto fail;
10740 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10741 {
10742 PyThreadState* __tstate = wxPyBeginAllowThreads();
10743 result = (wxObject *)((wxEvent const *)arg1)->GetEventObject();
10744
10745 wxPyEndAllowThreads(__tstate);
10746 if (PyErr_Occurred()) SWIG_fail;
10747 }
10748 {
10749 resultobj = wxPyMake_wxObject(result);
10750 }
10751 return resultobj;
10752 fail:
10753 return NULL;
10754 }
10755
10756
10757 static PyObject *_wrap_Event_SetEventObject(PyObject *self, PyObject *args, PyObject *kwargs) {
10758 PyObject *resultobj;
10759 wxEvent *arg1 = (wxEvent *) 0 ;
10760 wxObject *arg2 = (wxObject *) 0 ;
10761 PyObject * obj0 = 0 ;
10762 PyObject * obj1 = 0 ;
10763 char *kwnames[] = {
10764 (char *) "self",(char *) "obj", NULL
10765 };
10766
10767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Event_SetEventObject",kwnames,&obj0,&obj1)) goto fail;
10768 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10769 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10770 {
10771 PyThreadState* __tstate = wxPyBeginAllowThreads();
10772 (arg1)->SetEventObject(arg2);
10773
10774 wxPyEndAllowThreads(__tstate);
10775 if (PyErr_Occurred()) SWIG_fail;
10776 }
10777 Py_INCREF(Py_None); resultobj = Py_None;
10778 return resultobj;
10779 fail:
10780 return NULL;
10781 }
10782
10783
10784 static PyObject *_wrap_Event_GetTimestamp(PyObject *self, PyObject *args, PyObject *kwargs) {
10785 PyObject *resultobj;
10786 wxEvent *arg1 = (wxEvent *) 0 ;
10787 long result;
10788 PyObject * obj0 = 0 ;
10789 char *kwnames[] = {
10790 (char *) "self", NULL
10791 };
10792
10793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_GetTimestamp",kwnames,&obj0)) goto fail;
10794 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10795 {
10796 PyThreadState* __tstate = wxPyBeginAllowThreads();
10797 result = (long)((wxEvent const *)arg1)->GetTimestamp();
10798
10799 wxPyEndAllowThreads(__tstate);
10800 if (PyErr_Occurred()) SWIG_fail;
10801 }
10802 resultobj = PyInt_FromLong((long)result);
10803 return resultobj;
10804 fail:
10805 return NULL;
10806 }
10807
10808
10809 static PyObject *_wrap_Event_SetTimestamp(PyObject *self, PyObject *args, PyObject *kwargs) {
10810 PyObject *resultobj;
10811 wxEvent *arg1 = (wxEvent *) 0 ;
10812 long arg2 = (long) 0 ;
10813 PyObject * obj0 = 0 ;
10814 char *kwnames[] = {
10815 (char *) "self",(char *) "ts", NULL
10816 };
10817
10818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|l:Event_SetTimestamp",kwnames,&obj0,&arg2)) goto fail;
10819 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10820 {
10821 PyThreadState* __tstate = wxPyBeginAllowThreads();
10822 (arg1)->SetTimestamp(arg2);
10823
10824 wxPyEndAllowThreads(__tstate);
10825 if (PyErr_Occurred()) SWIG_fail;
10826 }
10827 Py_INCREF(Py_None); resultobj = Py_None;
10828 return resultobj;
10829 fail:
10830 return NULL;
10831 }
10832
10833
10834 static PyObject *_wrap_Event_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
10835 PyObject *resultobj;
10836 wxEvent *arg1 = (wxEvent *) 0 ;
10837 int result;
10838 PyObject * obj0 = 0 ;
10839 char *kwnames[] = {
10840 (char *) "self", NULL
10841 };
10842
10843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_GetId",kwnames,&obj0)) goto fail;
10844 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10845 {
10846 PyThreadState* __tstate = wxPyBeginAllowThreads();
10847 result = (int)((wxEvent const *)arg1)->GetId();
10848
10849 wxPyEndAllowThreads(__tstate);
10850 if (PyErr_Occurred()) SWIG_fail;
10851 }
10852 resultobj = PyInt_FromLong((long)result);
10853 return resultobj;
10854 fail:
10855 return NULL;
10856 }
10857
10858
10859 static PyObject *_wrap_Event_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
10860 PyObject *resultobj;
10861 wxEvent *arg1 = (wxEvent *) 0 ;
10862 int arg2 ;
10863 PyObject * obj0 = 0 ;
10864 char *kwnames[] = {
10865 (char *) "self",(char *) "Id", NULL
10866 };
10867
10868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Event_SetId",kwnames,&obj0,&arg2)) goto fail;
10869 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10870 {
10871 PyThreadState* __tstate = wxPyBeginAllowThreads();
10872 (arg1)->SetId(arg2);
10873
10874 wxPyEndAllowThreads(__tstate);
10875 if (PyErr_Occurred()) SWIG_fail;
10876 }
10877 Py_INCREF(Py_None); resultobj = Py_None;
10878 return resultobj;
10879 fail:
10880 return NULL;
10881 }
10882
10883
10884 static PyObject *_wrap_Event_IsCommandEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
10885 PyObject *resultobj;
10886 wxEvent *arg1 = (wxEvent *) 0 ;
10887 bool result;
10888 PyObject * obj0 = 0 ;
10889 char *kwnames[] = {
10890 (char *) "self", NULL
10891 };
10892
10893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_IsCommandEvent",kwnames,&obj0)) goto fail;
10894 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10895 {
10896 PyThreadState* __tstate = wxPyBeginAllowThreads();
10897 result = (bool)((wxEvent const *)arg1)->IsCommandEvent();
10898
10899 wxPyEndAllowThreads(__tstate);
10900 if (PyErr_Occurred()) SWIG_fail;
10901 }
10902 resultobj = PyInt_FromLong((long)result);
10903 return resultobj;
10904 fail:
10905 return NULL;
10906 }
10907
10908
10909 static PyObject *_wrap_Event_Skip(PyObject *self, PyObject *args, PyObject *kwargs) {
10910 PyObject *resultobj;
10911 wxEvent *arg1 = (wxEvent *) 0 ;
10912 bool arg2 = (bool) True ;
10913 PyObject * obj0 = 0 ;
10914 PyObject * obj1 = 0 ;
10915 char *kwnames[] = {
10916 (char *) "self",(char *) "skip", NULL
10917 };
10918
10919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Event_Skip",kwnames,&obj0,&obj1)) goto fail;
10920 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10921 if (obj1) {
10922 arg2 = PyInt_AsLong(obj1) ? true : false;
10923 if (PyErr_Occurred()) SWIG_fail;
10924 }
10925 {
10926 PyThreadState* __tstate = wxPyBeginAllowThreads();
10927 (arg1)->Skip(arg2);
10928
10929 wxPyEndAllowThreads(__tstate);
10930 if (PyErr_Occurred()) SWIG_fail;
10931 }
10932 Py_INCREF(Py_None); resultobj = Py_None;
10933 return resultobj;
10934 fail:
10935 return NULL;
10936 }
10937
10938
10939 static PyObject *_wrap_Event_GetSkipped(PyObject *self, PyObject *args, PyObject *kwargs) {
10940 PyObject *resultobj;
10941 wxEvent *arg1 = (wxEvent *) 0 ;
10942 bool result;
10943 PyObject * obj0 = 0 ;
10944 char *kwnames[] = {
10945 (char *) "self", NULL
10946 };
10947
10948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_GetSkipped",kwnames,&obj0)) goto fail;
10949 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10950 {
10951 PyThreadState* __tstate = wxPyBeginAllowThreads();
10952 result = (bool)((wxEvent const *)arg1)->GetSkipped();
10953
10954 wxPyEndAllowThreads(__tstate);
10955 if (PyErr_Occurred()) SWIG_fail;
10956 }
10957 resultobj = PyInt_FromLong((long)result);
10958 return resultobj;
10959 fail:
10960 return NULL;
10961 }
10962
10963
10964 static PyObject *_wrap_Event_ShouldPropagate(PyObject *self, PyObject *args, PyObject *kwargs) {
10965 PyObject *resultobj;
10966 wxEvent *arg1 = (wxEvent *) 0 ;
10967 bool result;
10968 PyObject * obj0 = 0 ;
10969 char *kwnames[] = {
10970 (char *) "self", NULL
10971 };
10972
10973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_ShouldPropagate",kwnames,&obj0)) goto fail;
10974 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10975 {
10976 PyThreadState* __tstate = wxPyBeginAllowThreads();
10977 result = (bool)((wxEvent const *)arg1)->ShouldPropagate();
10978
10979 wxPyEndAllowThreads(__tstate);
10980 if (PyErr_Occurred()) SWIG_fail;
10981 }
10982 resultobj = PyInt_FromLong((long)result);
10983 return resultobj;
10984 fail:
10985 return NULL;
10986 }
10987
10988
10989 static PyObject *_wrap_Event_StopPropagation(PyObject *self, PyObject *args, PyObject *kwargs) {
10990 PyObject *resultobj;
10991 wxEvent *arg1 = (wxEvent *) 0 ;
10992 int result;
10993 PyObject * obj0 = 0 ;
10994 char *kwnames[] = {
10995 (char *) "self", NULL
10996 };
10997
10998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_StopPropagation",kwnames,&obj0)) goto fail;
10999 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11000 {
11001 PyThreadState* __tstate = wxPyBeginAllowThreads();
11002 result = (int)(arg1)->StopPropagation();
11003
11004 wxPyEndAllowThreads(__tstate);
11005 if (PyErr_Occurred()) SWIG_fail;
11006 }
11007 resultobj = PyInt_FromLong((long)result);
11008 return resultobj;
11009 fail:
11010 return NULL;
11011 }
11012
11013
11014 static PyObject *_wrap_Event_ResumePropagation(PyObject *self, PyObject *args, PyObject *kwargs) {
11015 PyObject *resultobj;
11016 wxEvent *arg1 = (wxEvent *) 0 ;
11017 int arg2 ;
11018 PyObject * obj0 = 0 ;
11019 char *kwnames[] = {
11020 (char *) "self",(char *) "propagationLevel", NULL
11021 };
11022
11023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Event_ResumePropagation",kwnames,&obj0,&arg2)) goto fail;
11024 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11025 {
11026 PyThreadState* __tstate = wxPyBeginAllowThreads();
11027 (arg1)->ResumePropagation(arg2);
11028
11029 wxPyEndAllowThreads(__tstate);
11030 if (PyErr_Occurred()) SWIG_fail;
11031 }
11032 Py_INCREF(Py_None); resultobj = Py_None;
11033 return resultobj;
11034 fail:
11035 return NULL;
11036 }
11037
11038
11039 static PyObject *_wrap_Event_Clone(PyObject *self, PyObject *args, PyObject *kwargs) {
11040 PyObject *resultobj;
11041 wxEvent *arg1 = (wxEvent *) 0 ;
11042 wxEvent *result;
11043 PyObject * obj0 = 0 ;
11044 char *kwnames[] = {
11045 (char *) "self", NULL
11046 };
11047
11048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_Clone",kwnames,&obj0)) goto fail;
11049 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11050 {
11051 PyThreadState* __tstate = wxPyBeginAllowThreads();
11052 result = (wxEvent *)(arg1)->Clone();
11053
11054 wxPyEndAllowThreads(__tstate);
11055 if (PyErr_Occurred()) SWIG_fail;
11056 }
11057 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxEvent, 0);
11058 return resultobj;
11059 fail:
11060 return NULL;
11061 }
11062
11063
11064 static PyObject * Event_swigregister(PyObject *self, PyObject *args) {
11065 PyObject *obj;
11066 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11067 SWIG_TypeClientData(SWIGTYPE_p_wxEvent, obj);
11068 Py_INCREF(obj);
11069 return Py_BuildValue((char *)"");
11070 }
11071 static PyObject *_wrap_new_PropagationDisabler(PyObject *self, PyObject *args, PyObject *kwargs) {
11072 PyObject *resultobj;
11073 wxEvent *arg1 = 0 ;
11074 wxPropagationDisabler *result;
11075 PyObject * obj0 = 0 ;
11076 char *kwnames[] = {
11077 (char *) "event", NULL
11078 };
11079
11080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_PropagationDisabler",kwnames,&obj0)) goto fail;
11081 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11082 if (arg1 == NULL) {
11083 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11084 }
11085 {
11086 PyThreadState* __tstate = wxPyBeginAllowThreads();
11087 result = (wxPropagationDisabler *)new wxPropagationDisabler(*arg1);
11088
11089 wxPyEndAllowThreads(__tstate);
11090 if (PyErr_Occurred()) SWIG_fail;
11091 }
11092 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPropagationDisabler, 1);
11093 return resultobj;
11094 fail:
11095 return NULL;
11096 }
11097
11098
11099 static PyObject *_wrap_delete_PropagationDisabler(PyObject *self, PyObject *args, PyObject *kwargs) {
11100 PyObject *resultobj;
11101 wxPropagationDisabler *arg1 = (wxPropagationDisabler *) 0 ;
11102 PyObject * obj0 = 0 ;
11103 char *kwnames[] = {
11104 (char *) "self", NULL
11105 };
11106
11107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PropagationDisabler",kwnames,&obj0)) goto fail;
11108 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPropagationDisabler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11109 {
11110 PyThreadState* __tstate = wxPyBeginAllowThreads();
11111 delete arg1;
11112
11113 wxPyEndAllowThreads(__tstate);
11114 if (PyErr_Occurred()) SWIG_fail;
11115 }
11116 Py_INCREF(Py_None); resultobj = Py_None;
11117 return resultobj;
11118 fail:
11119 return NULL;
11120 }
11121
11122
11123 static PyObject * PropagationDisabler_swigregister(PyObject *self, PyObject *args) {
11124 PyObject *obj;
11125 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11126 SWIG_TypeClientData(SWIGTYPE_p_wxPropagationDisabler, obj);
11127 Py_INCREF(obj);
11128 return Py_BuildValue((char *)"");
11129 }
11130 static PyObject *_wrap_new_PropagateOnce(PyObject *self, PyObject *args, PyObject *kwargs) {
11131 PyObject *resultobj;
11132 wxEvent *arg1 = 0 ;
11133 wxPropagateOnce *result;
11134 PyObject * obj0 = 0 ;
11135 char *kwnames[] = {
11136 (char *) "event", NULL
11137 };
11138
11139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_PropagateOnce",kwnames,&obj0)) goto fail;
11140 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11141 if (arg1 == NULL) {
11142 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11143 }
11144 {
11145 PyThreadState* __tstate = wxPyBeginAllowThreads();
11146 result = (wxPropagateOnce *)new wxPropagateOnce(*arg1);
11147
11148 wxPyEndAllowThreads(__tstate);
11149 if (PyErr_Occurred()) SWIG_fail;
11150 }
11151 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPropagateOnce, 1);
11152 return resultobj;
11153 fail:
11154 return NULL;
11155 }
11156
11157
11158 static PyObject *_wrap_delete_PropagateOnce(PyObject *self, PyObject *args, PyObject *kwargs) {
11159 PyObject *resultobj;
11160 wxPropagateOnce *arg1 = (wxPropagateOnce *) 0 ;
11161 PyObject * obj0 = 0 ;
11162 char *kwnames[] = {
11163 (char *) "self", NULL
11164 };
11165
11166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PropagateOnce",kwnames,&obj0)) goto fail;
11167 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPropagateOnce,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11168 {
11169 PyThreadState* __tstate = wxPyBeginAllowThreads();
11170 delete arg1;
11171
11172 wxPyEndAllowThreads(__tstate);
11173 if (PyErr_Occurred()) SWIG_fail;
11174 }
11175 Py_INCREF(Py_None); resultobj = Py_None;
11176 return resultobj;
11177 fail:
11178 return NULL;
11179 }
11180
11181
11182 static PyObject * PropagateOnce_swigregister(PyObject *self, PyObject *args) {
11183 PyObject *obj;
11184 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11185 SWIG_TypeClientData(SWIGTYPE_p_wxPropagateOnce, obj);
11186 Py_INCREF(obj);
11187 return Py_BuildValue((char *)"");
11188 }
11189 static PyObject *_wrap_new_CommandEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
11190 PyObject *resultobj;
11191 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
11192 int arg2 = (int) 0 ;
11193 wxCommandEvent *result;
11194 char *kwnames[] = {
11195 (char *) "commandType",(char *) "winid", NULL
11196 };
11197
11198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_CommandEvent",kwnames,&arg1,&arg2)) goto fail;
11199 {
11200 PyThreadState* __tstate = wxPyBeginAllowThreads();
11201 result = (wxCommandEvent *)new wxCommandEvent(arg1,arg2);
11202
11203 wxPyEndAllowThreads(__tstate);
11204 if (PyErr_Occurred()) SWIG_fail;
11205 }
11206 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCommandEvent, 1);
11207 return resultobj;
11208 fail:
11209 return NULL;
11210 }
11211
11212
11213 static PyObject *_wrap_CommandEvent_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11214 PyObject *resultobj;
11215 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
11216 int result;
11217 PyObject * obj0 = 0 ;
11218 char *kwnames[] = {
11219 (char *) "self", NULL
11220 };
11221
11222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CommandEvent_GetSelection",kwnames,&obj0)) goto fail;
11223 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCommandEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11224 {
11225 PyThreadState* __tstate = wxPyBeginAllowThreads();
11226 result = (int)((wxCommandEvent const *)arg1)->GetSelection();
11227
11228 wxPyEndAllowThreads(__tstate);
11229 if (PyErr_Occurred()) SWIG_fail;
11230 }
11231 resultobj = PyInt_FromLong((long)result);
11232 return resultobj;
11233 fail:
11234 return NULL;
11235 }
11236
11237
11238 static PyObject *_wrap_CommandEvent_SetString(PyObject *self, PyObject *args, PyObject *kwargs) {
11239 PyObject *resultobj;
11240 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
11241 wxString *arg2 = 0 ;
11242 bool temp2 = False ;
11243 PyObject * obj0 = 0 ;
11244 PyObject * obj1 = 0 ;
11245 char *kwnames[] = {
11246 (char *) "self",(char *) "s", NULL
11247 };
11248
11249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CommandEvent_SetString",kwnames,&obj0,&obj1)) goto fail;
11250 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCommandEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11251 {
11252 arg2 = wxString_in_helper(obj1);
11253 if (arg2 == NULL) SWIG_fail;
11254 temp2 = True;
11255 }
11256 {
11257 PyThreadState* __tstate = wxPyBeginAllowThreads();
11258 (arg1)->SetString((wxString const &)*arg2);
11259
11260 wxPyEndAllowThreads(__tstate);
11261 if (PyErr_Occurred()) SWIG_fail;
11262 }
11263 Py_INCREF(Py_None); resultobj = Py_None;
11264 {
11265 if (temp2)
11266 delete arg2;
11267 }
11268 return resultobj;
11269 fail:
11270 {
11271 if (temp2)
11272 delete arg2;
11273 }
11274 return NULL;
11275 }
11276
11277
11278 static PyObject *_wrap_CommandEvent_GetString(PyObject *self, PyObject *args, PyObject *kwargs) {
11279 PyObject *resultobj;
11280 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
11281 wxString result;
11282 PyObject * obj0 = 0 ;
11283 char *kwnames[] = {
11284 (char *) "self", NULL
11285 };
11286
11287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CommandEvent_GetString",kwnames,&obj0)) goto fail;
11288 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCommandEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11289 {
11290 PyThreadState* __tstate = wxPyBeginAllowThreads();
11291 result = ((wxCommandEvent const *)arg1)->GetString();
11292
11293 wxPyEndAllowThreads(__tstate);
11294 if (PyErr_Occurred()) SWIG_fail;
11295 }
11296 {
11297 #if wxUSE_UNICODE
11298 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11299 #else
11300 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11301 #endif
11302 }
11303 return resultobj;
11304 fail:
11305 return NULL;
11306 }
11307
11308
11309 static PyObject *_wrap_CommandEvent_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
11310 PyObject *resultobj;
11311 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
11312 bool result;
11313 PyObject * obj0 = 0 ;
11314 char *kwnames[] = {
11315 (char *) "self", NULL
11316 };
11317
11318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CommandEvent_IsChecked",kwnames,&obj0)) goto fail;
11319 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCommandEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11320 {
11321 PyThreadState* __tstate = wxPyBeginAllowThreads();
11322 result = (bool)((wxCommandEvent const *)arg1)->IsChecked();
11323
11324 wxPyEndAllowThreads(__tstate);
11325 if (PyErr_Occurred()) SWIG_fail;
11326 }
11327 resultobj = PyInt_FromLong((long)result);
11328 return resultobj;
11329 fail:
11330 return NULL;
11331 }
11332
11333
11334 static PyObject *_wrap_CommandEvent_IsSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11335 PyObject *resultobj;
11336 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
11337 bool result;
11338 PyObject * obj0 = 0 ;
11339 char *kwnames[] = {
11340 (char *) "self", NULL
11341 };
11342
11343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CommandEvent_IsSelection",kwnames,&obj0)) goto fail;
11344 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCommandEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11345 {
11346 PyThreadState* __tstate = wxPyBeginAllowThreads();
11347 result = (bool)((wxCommandEvent const *)arg1)->IsSelection();
11348
11349 wxPyEndAllowThreads(__tstate);
11350 if (PyErr_Occurred()) SWIG_fail;
11351 }
11352 resultobj = PyInt_FromLong((long)result);
11353 return resultobj;
11354 fail:
11355 return NULL;
11356 }
11357
11358
11359 static PyObject *_wrap_CommandEvent_SetExtraLong(PyObject *self, PyObject *args, PyObject *kwargs) {
11360 PyObject *resultobj;
11361 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
11362 long arg2 ;
11363 PyObject * obj0 = 0 ;
11364 char *kwnames[] = {
11365 (char *) "self",(char *) "extraLong", NULL
11366 };
11367
11368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:CommandEvent_SetExtraLong",kwnames,&obj0,&arg2)) goto fail;
11369 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCommandEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11370 {
11371 PyThreadState* __tstate = wxPyBeginAllowThreads();
11372 (arg1)->SetExtraLong(arg2);
11373
11374 wxPyEndAllowThreads(__tstate);
11375 if (PyErr_Occurred()) SWIG_fail;
11376 }
11377 Py_INCREF(Py_None); resultobj = Py_None;
11378 return resultobj;
11379 fail:
11380 return NULL;
11381 }
11382
11383
11384 static PyObject *_wrap_CommandEvent_GetExtraLong(PyObject *self, PyObject *args, PyObject *kwargs) {
11385 PyObject *resultobj;
11386 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
11387 long result;
11388 PyObject * obj0 = 0 ;
11389 char *kwnames[] = {
11390 (char *) "self", NULL
11391 };
11392
11393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CommandEvent_GetExtraLong",kwnames,&obj0)) goto fail;
11394 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCommandEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11395 {
11396 PyThreadState* __tstate = wxPyBeginAllowThreads();
11397 result = (long)((wxCommandEvent const *)arg1)->GetExtraLong();
11398
11399 wxPyEndAllowThreads(__tstate);
11400 if (PyErr_Occurred()) SWIG_fail;
11401 }
11402 resultobj = PyInt_FromLong((long)result);
11403 return resultobj;
11404 fail:
11405 return NULL;
11406 }
11407
11408
11409 static PyObject *_wrap_CommandEvent_SetInt(PyObject *self, PyObject *args, PyObject *kwargs) {
11410 PyObject *resultobj;
11411 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
11412 int arg2 ;
11413 PyObject * obj0 = 0 ;
11414 char *kwnames[] = {
11415 (char *) "self",(char *) "i", NULL
11416 };
11417
11418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:CommandEvent_SetInt",kwnames,&obj0,&arg2)) goto fail;
11419 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCommandEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11420 {
11421 PyThreadState* __tstate = wxPyBeginAllowThreads();
11422 (arg1)->SetInt(arg2);
11423
11424 wxPyEndAllowThreads(__tstate);
11425 if (PyErr_Occurred()) SWIG_fail;
11426 }
11427 Py_INCREF(Py_None); resultobj = Py_None;
11428 return resultobj;
11429 fail:
11430 return NULL;
11431 }
11432
11433
11434 static PyObject *_wrap_CommandEvent_GetInt(PyObject *self, PyObject *args, PyObject *kwargs) {
11435 PyObject *resultobj;
11436 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
11437 long result;
11438 PyObject * obj0 = 0 ;
11439 char *kwnames[] = {
11440 (char *) "self", NULL
11441 };
11442
11443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CommandEvent_GetInt",kwnames,&obj0)) goto fail;
11444 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCommandEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11445 {
11446 PyThreadState* __tstate = wxPyBeginAllowThreads();
11447 result = (long)((wxCommandEvent const *)arg1)->GetInt();
11448
11449 wxPyEndAllowThreads(__tstate);
11450 if (PyErr_Occurred()) SWIG_fail;
11451 }
11452 resultobj = PyInt_FromLong((long)result);
11453 return resultobj;
11454 fail:
11455 return NULL;
11456 }
11457
11458
11459 static PyObject *_wrap_CommandEvent_Clone(PyObject *self, PyObject *args, PyObject *kwargs) {
11460 PyObject *resultobj;
11461 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
11462 wxEvent *result;
11463 PyObject * obj0 = 0 ;
11464 char *kwnames[] = {
11465 (char *) "self", NULL
11466 };
11467
11468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CommandEvent_Clone",kwnames,&obj0)) goto fail;
11469 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCommandEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11470 {
11471 PyThreadState* __tstate = wxPyBeginAllowThreads();
11472 result = (wxEvent *)((wxCommandEvent const *)arg1)->Clone();
11473
11474 wxPyEndAllowThreads(__tstate);
11475 if (PyErr_Occurred()) SWIG_fail;
11476 }
11477 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxEvent, 0);
11478 return resultobj;
11479 fail:
11480 return NULL;
11481 }
11482
11483
11484 static PyObject * CommandEvent_swigregister(PyObject *self, PyObject *args) {
11485 PyObject *obj;
11486 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11487 SWIG_TypeClientData(SWIGTYPE_p_wxCommandEvent, obj);
11488 Py_INCREF(obj);
11489 return Py_BuildValue((char *)"");
11490 }
11491 static PyObject *_wrap_new_NotifyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
11492 PyObject *resultobj;
11493 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
11494 int arg2 = (int) 0 ;
11495 wxNotifyEvent *result;
11496 char *kwnames[] = {
11497 (char *) "commandType",(char *) "winid", NULL
11498 };
11499
11500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_NotifyEvent",kwnames,&arg1,&arg2)) goto fail;
11501 {
11502 PyThreadState* __tstate = wxPyBeginAllowThreads();
11503 result = (wxNotifyEvent *)new wxNotifyEvent(arg1,arg2);
11504
11505 wxPyEndAllowThreads(__tstate);
11506 if (PyErr_Occurred()) SWIG_fail;
11507 }
11508 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxNotifyEvent, 1);
11509 return resultobj;
11510 fail:
11511 return NULL;
11512 }
11513
11514
11515 static PyObject *_wrap_NotifyEvent_Veto(PyObject *self, PyObject *args, PyObject *kwargs) {
11516 PyObject *resultobj;
11517 wxNotifyEvent *arg1 = (wxNotifyEvent *) 0 ;
11518 PyObject * obj0 = 0 ;
11519 char *kwnames[] = {
11520 (char *) "self", NULL
11521 };
11522
11523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotifyEvent_Veto",kwnames,&obj0)) goto fail;
11524 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotifyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11525 {
11526 PyThreadState* __tstate = wxPyBeginAllowThreads();
11527 (arg1)->Veto();
11528
11529 wxPyEndAllowThreads(__tstate);
11530 if (PyErr_Occurred()) SWIG_fail;
11531 }
11532 Py_INCREF(Py_None); resultobj = Py_None;
11533 return resultobj;
11534 fail:
11535 return NULL;
11536 }
11537
11538
11539 static PyObject *_wrap_NotifyEvent_Allow(PyObject *self, PyObject *args, PyObject *kwargs) {
11540 PyObject *resultobj;
11541 wxNotifyEvent *arg1 = (wxNotifyEvent *) 0 ;
11542 PyObject * obj0 = 0 ;
11543 char *kwnames[] = {
11544 (char *) "self", NULL
11545 };
11546
11547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotifyEvent_Allow",kwnames,&obj0)) goto fail;
11548 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotifyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11549 {
11550 PyThreadState* __tstate = wxPyBeginAllowThreads();
11551 (arg1)->Allow();
11552
11553 wxPyEndAllowThreads(__tstate);
11554 if (PyErr_Occurred()) SWIG_fail;
11555 }
11556 Py_INCREF(Py_None); resultobj = Py_None;
11557 return resultobj;
11558 fail:
11559 return NULL;
11560 }
11561
11562
11563 static PyObject *_wrap_NotifyEvent_IsAllowed(PyObject *self, PyObject *args, PyObject *kwargs) {
11564 PyObject *resultobj;
11565 wxNotifyEvent *arg1 = (wxNotifyEvent *) 0 ;
11566 bool result;
11567 PyObject * obj0 = 0 ;
11568 char *kwnames[] = {
11569 (char *) "self", NULL
11570 };
11571
11572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotifyEvent_IsAllowed",kwnames,&obj0)) goto fail;
11573 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotifyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11574 {
11575 PyThreadState* __tstate = wxPyBeginAllowThreads();
11576 result = (bool)(arg1)->IsAllowed();
11577
11578 wxPyEndAllowThreads(__tstate);
11579 if (PyErr_Occurred()) SWIG_fail;
11580 }
11581 resultobj = PyInt_FromLong((long)result);
11582 return resultobj;
11583 fail:
11584 return NULL;
11585 }
11586
11587
11588 static PyObject * NotifyEvent_swigregister(PyObject *self, PyObject *args) {
11589 PyObject *obj;
11590 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11591 SWIG_TypeClientData(SWIGTYPE_p_wxNotifyEvent, obj);
11592 Py_INCREF(obj);
11593 return Py_BuildValue((char *)"");
11594 }
11595 static PyObject *_wrap_new_ScrollEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
11596 PyObject *resultobj;
11597 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
11598 int arg2 = (int) 0 ;
11599 int arg3 = (int) 0 ;
11600 int arg4 = (int) 0 ;
11601 wxScrollEvent *result;
11602 char *kwnames[] = {
11603 (char *) "commandType",(char *) "winid",(char *) "pos",(char *) "orient", NULL
11604 };
11605
11606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iiii:new_ScrollEvent",kwnames,&arg1,&arg2,&arg3,&arg4)) goto fail;
11607 {
11608 PyThreadState* __tstate = wxPyBeginAllowThreads();
11609 result = (wxScrollEvent *)new wxScrollEvent(arg1,arg2,arg3,arg4);
11610
11611 wxPyEndAllowThreads(__tstate);
11612 if (PyErr_Occurred()) SWIG_fail;
11613 }
11614 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxScrollEvent, 1);
11615 return resultobj;
11616 fail:
11617 return NULL;
11618 }
11619
11620
11621 static PyObject *_wrap_ScrollEvent_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
11622 PyObject *resultobj;
11623 wxScrollEvent *arg1 = (wxScrollEvent *) 0 ;
11624 int result;
11625 PyObject * obj0 = 0 ;
11626 char *kwnames[] = {
11627 (char *) "self", NULL
11628 };
11629
11630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollEvent_GetOrientation",kwnames,&obj0)) goto fail;
11631 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11632 {
11633 PyThreadState* __tstate = wxPyBeginAllowThreads();
11634 result = (int)((wxScrollEvent const *)arg1)->GetOrientation();
11635
11636 wxPyEndAllowThreads(__tstate);
11637 if (PyErr_Occurred()) SWIG_fail;
11638 }
11639 resultobj = PyInt_FromLong((long)result);
11640 return resultobj;
11641 fail:
11642 return NULL;
11643 }
11644
11645
11646 static PyObject *_wrap_ScrollEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
11647 PyObject *resultobj;
11648 wxScrollEvent *arg1 = (wxScrollEvent *) 0 ;
11649 int result;
11650 PyObject * obj0 = 0 ;
11651 char *kwnames[] = {
11652 (char *) "self", NULL
11653 };
11654
11655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollEvent_GetPosition",kwnames,&obj0)) goto fail;
11656 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11657 {
11658 PyThreadState* __tstate = wxPyBeginAllowThreads();
11659 result = (int)((wxScrollEvent const *)arg1)->GetPosition();
11660
11661 wxPyEndAllowThreads(__tstate);
11662 if (PyErr_Occurred()) SWIG_fail;
11663 }
11664 resultobj = PyInt_FromLong((long)result);
11665 return resultobj;
11666 fail:
11667 return NULL;
11668 }
11669
11670
11671 static PyObject *_wrap_ScrollEvent_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
11672 PyObject *resultobj;
11673 wxScrollEvent *arg1 = (wxScrollEvent *) 0 ;
11674 int arg2 ;
11675 PyObject * obj0 = 0 ;
11676 char *kwnames[] = {
11677 (char *) "self",(char *) "orient", NULL
11678 };
11679
11680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ScrollEvent_SetOrientation",kwnames,&obj0,&arg2)) goto fail;
11681 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11682 {
11683 PyThreadState* __tstate = wxPyBeginAllowThreads();
11684 (arg1)->SetOrientation(arg2);
11685
11686 wxPyEndAllowThreads(__tstate);
11687 if (PyErr_Occurred()) SWIG_fail;
11688 }
11689 Py_INCREF(Py_None); resultobj = Py_None;
11690 return resultobj;
11691 fail:
11692 return NULL;
11693 }
11694
11695
11696 static PyObject *_wrap_ScrollEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
11697 PyObject *resultobj;
11698 wxScrollEvent *arg1 = (wxScrollEvent *) 0 ;
11699 int arg2 ;
11700 PyObject * obj0 = 0 ;
11701 char *kwnames[] = {
11702 (char *) "self",(char *) "pos", NULL
11703 };
11704
11705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ScrollEvent_SetPosition",kwnames,&obj0,&arg2)) goto fail;
11706 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11707 {
11708 PyThreadState* __tstate = wxPyBeginAllowThreads();
11709 (arg1)->SetPosition(arg2);
11710
11711 wxPyEndAllowThreads(__tstate);
11712 if (PyErr_Occurred()) SWIG_fail;
11713 }
11714 Py_INCREF(Py_None); resultobj = Py_None;
11715 return resultobj;
11716 fail:
11717 return NULL;
11718 }
11719
11720
11721 static PyObject * ScrollEvent_swigregister(PyObject *self, PyObject *args) {
11722 PyObject *obj;
11723 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11724 SWIG_TypeClientData(SWIGTYPE_p_wxScrollEvent, obj);
11725 Py_INCREF(obj);
11726 return Py_BuildValue((char *)"");
11727 }
11728 static PyObject *_wrap_new_ScrollWinEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
11729 PyObject *resultobj;
11730 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
11731 int arg2 = (int) 0 ;
11732 int arg3 = (int) 0 ;
11733 wxScrollWinEvent *result;
11734 char *kwnames[] = {
11735 (char *) "commandType",(char *) "pos",(char *) "orient", NULL
11736 };
11737
11738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iii:new_ScrollWinEvent",kwnames,&arg1,&arg2,&arg3)) goto fail;
11739 {
11740 PyThreadState* __tstate = wxPyBeginAllowThreads();
11741 result = (wxScrollWinEvent *)new wxScrollWinEvent(arg1,arg2,arg3);
11742
11743 wxPyEndAllowThreads(__tstate);
11744 if (PyErr_Occurred()) SWIG_fail;
11745 }
11746 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxScrollWinEvent, 1);
11747 return resultobj;
11748 fail:
11749 return NULL;
11750 }
11751
11752
11753 static PyObject *_wrap_ScrollWinEvent_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
11754 PyObject *resultobj;
11755 wxScrollWinEvent *arg1 = (wxScrollWinEvent *) 0 ;
11756 int result;
11757 PyObject * obj0 = 0 ;
11758 char *kwnames[] = {
11759 (char *) "self", NULL
11760 };
11761
11762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollWinEvent_GetOrientation",kwnames,&obj0)) goto fail;
11763 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollWinEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11764 {
11765 PyThreadState* __tstate = wxPyBeginAllowThreads();
11766 result = (int)((wxScrollWinEvent const *)arg1)->GetOrientation();
11767
11768 wxPyEndAllowThreads(__tstate);
11769 if (PyErr_Occurred()) SWIG_fail;
11770 }
11771 resultobj = PyInt_FromLong((long)result);
11772 return resultobj;
11773 fail:
11774 return NULL;
11775 }
11776
11777
11778 static PyObject *_wrap_ScrollWinEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
11779 PyObject *resultobj;
11780 wxScrollWinEvent *arg1 = (wxScrollWinEvent *) 0 ;
11781 int result;
11782 PyObject * obj0 = 0 ;
11783 char *kwnames[] = {
11784 (char *) "self", NULL
11785 };
11786
11787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollWinEvent_GetPosition",kwnames,&obj0)) goto fail;
11788 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollWinEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11789 {
11790 PyThreadState* __tstate = wxPyBeginAllowThreads();
11791 result = (int)((wxScrollWinEvent const *)arg1)->GetPosition();
11792
11793 wxPyEndAllowThreads(__tstate);
11794 if (PyErr_Occurred()) SWIG_fail;
11795 }
11796 resultobj = PyInt_FromLong((long)result);
11797 return resultobj;
11798 fail:
11799 return NULL;
11800 }
11801
11802
11803 static PyObject *_wrap_ScrollWinEvent_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
11804 PyObject *resultobj;
11805 wxScrollWinEvent *arg1 = (wxScrollWinEvent *) 0 ;
11806 int arg2 ;
11807 PyObject * obj0 = 0 ;
11808 char *kwnames[] = {
11809 (char *) "self",(char *) "orient", NULL
11810 };
11811
11812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ScrollWinEvent_SetOrientation",kwnames,&obj0,&arg2)) goto fail;
11813 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollWinEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11814 {
11815 PyThreadState* __tstate = wxPyBeginAllowThreads();
11816 (arg1)->SetOrientation(arg2);
11817
11818 wxPyEndAllowThreads(__tstate);
11819 if (PyErr_Occurred()) SWIG_fail;
11820 }
11821 Py_INCREF(Py_None); resultobj = Py_None;
11822 return resultobj;
11823 fail:
11824 return NULL;
11825 }
11826
11827
11828 static PyObject *_wrap_ScrollWinEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
11829 PyObject *resultobj;
11830 wxScrollWinEvent *arg1 = (wxScrollWinEvent *) 0 ;
11831 int arg2 ;
11832 PyObject * obj0 = 0 ;
11833 char *kwnames[] = {
11834 (char *) "self",(char *) "pos", NULL
11835 };
11836
11837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ScrollWinEvent_SetPosition",kwnames,&obj0,&arg2)) goto fail;
11838 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollWinEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11839 {
11840 PyThreadState* __tstate = wxPyBeginAllowThreads();
11841 (arg1)->SetPosition(arg2);
11842
11843 wxPyEndAllowThreads(__tstate);
11844 if (PyErr_Occurred()) SWIG_fail;
11845 }
11846 Py_INCREF(Py_None); resultobj = Py_None;
11847 return resultobj;
11848 fail:
11849 return NULL;
11850 }
11851
11852
11853 static PyObject * ScrollWinEvent_swigregister(PyObject *self, PyObject *args) {
11854 PyObject *obj;
11855 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11856 SWIG_TypeClientData(SWIGTYPE_p_wxScrollWinEvent, obj);
11857 Py_INCREF(obj);
11858 return Py_BuildValue((char *)"");
11859 }
11860 static PyObject *_wrap_new_MouseEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
11861 PyObject *resultobj;
11862 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
11863 wxMouseEvent *result;
11864 char *kwnames[] = {
11865 (char *) "mouseType", NULL
11866 };
11867
11868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:new_MouseEvent",kwnames,&arg1)) goto fail;
11869 {
11870 PyThreadState* __tstate = wxPyBeginAllowThreads();
11871 result = (wxMouseEvent *)new wxMouseEvent(arg1);
11872
11873 wxPyEndAllowThreads(__tstate);
11874 if (PyErr_Occurred()) SWIG_fail;
11875 }
11876 {
11877 resultobj = wxPyMake_wxObject(result);
11878 }
11879 return resultobj;
11880 fail:
11881 return NULL;
11882 }
11883
11884
11885 static PyObject *_wrap_MouseEvent_IsButton(PyObject *self, PyObject *args, PyObject *kwargs) {
11886 PyObject *resultobj;
11887 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
11888 bool result;
11889 PyObject * obj0 = 0 ;
11890 char *kwnames[] = {
11891 (char *) "self", NULL
11892 };
11893
11894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_IsButton",kwnames,&obj0)) goto fail;
11895 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11896 {
11897 PyThreadState* __tstate = wxPyBeginAllowThreads();
11898 result = (bool)((wxMouseEvent const *)arg1)->IsButton();
11899
11900 wxPyEndAllowThreads(__tstate);
11901 if (PyErr_Occurred()) SWIG_fail;
11902 }
11903 resultobj = PyInt_FromLong((long)result);
11904 return resultobj;
11905 fail:
11906 return NULL;
11907 }
11908
11909
11910 static PyObject *_wrap_MouseEvent_ButtonDown(PyObject *self, PyObject *args, PyObject *kwargs) {
11911 PyObject *resultobj;
11912 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
11913 int arg2 = (int) wxMOUSE_BTN_ANY ;
11914 bool result;
11915 PyObject * obj0 = 0 ;
11916 char *kwnames[] = {
11917 (char *) "self",(char *) "but", NULL
11918 };
11919
11920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:MouseEvent_ButtonDown",kwnames,&obj0,&arg2)) goto fail;
11921 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11922 {
11923 PyThreadState* __tstate = wxPyBeginAllowThreads();
11924 result = (bool)((wxMouseEvent const *)arg1)->ButtonDown(arg2);
11925
11926 wxPyEndAllowThreads(__tstate);
11927 if (PyErr_Occurred()) SWIG_fail;
11928 }
11929 resultobj = PyInt_FromLong((long)result);
11930 return resultobj;
11931 fail:
11932 return NULL;
11933 }
11934
11935
11936 static PyObject *_wrap_MouseEvent_ButtonDClick(PyObject *self, PyObject *args, PyObject *kwargs) {
11937 PyObject *resultobj;
11938 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
11939 int arg2 = (int) wxMOUSE_BTN_ANY ;
11940 bool result;
11941 PyObject * obj0 = 0 ;
11942 char *kwnames[] = {
11943 (char *) "self",(char *) "but", NULL
11944 };
11945
11946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:MouseEvent_ButtonDClick",kwnames,&obj0,&arg2)) goto fail;
11947 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11948 {
11949 PyThreadState* __tstate = wxPyBeginAllowThreads();
11950 result = (bool)((wxMouseEvent const *)arg1)->ButtonDClick(arg2);
11951
11952 wxPyEndAllowThreads(__tstate);
11953 if (PyErr_Occurred()) SWIG_fail;
11954 }
11955 resultobj = PyInt_FromLong((long)result);
11956 return resultobj;
11957 fail:
11958 return NULL;
11959 }
11960
11961
11962 static PyObject *_wrap_MouseEvent_ButtonUp(PyObject *self, PyObject *args, PyObject *kwargs) {
11963 PyObject *resultobj;
11964 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
11965 int arg2 = (int) wxMOUSE_BTN_ANY ;
11966 bool result;
11967 PyObject * obj0 = 0 ;
11968 char *kwnames[] = {
11969 (char *) "self",(char *) "but", NULL
11970 };
11971
11972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:MouseEvent_ButtonUp",kwnames,&obj0,&arg2)) goto fail;
11973 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11974 {
11975 PyThreadState* __tstate = wxPyBeginAllowThreads();
11976 result = (bool)((wxMouseEvent const *)arg1)->ButtonUp(arg2);
11977
11978 wxPyEndAllowThreads(__tstate);
11979 if (PyErr_Occurred()) SWIG_fail;
11980 }
11981 resultobj = PyInt_FromLong((long)result);
11982 return resultobj;
11983 fail:
11984 return NULL;
11985 }
11986
11987
11988 static PyObject *_wrap_MouseEvent_Button(PyObject *self, PyObject *args, PyObject *kwargs) {
11989 PyObject *resultobj;
11990 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
11991 int arg2 ;
11992 bool result;
11993 PyObject * obj0 = 0 ;
11994 char *kwnames[] = {
11995 (char *) "self",(char *) "but", NULL
11996 };
11997
11998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:MouseEvent_Button",kwnames,&obj0,&arg2)) goto fail;
11999 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12000 {
12001 PyThreadState* __tstate = wxPyBeginAllowThreads();
12002 result = (bool)((wxMouseEvent const *)arg1)->Button(arg2);
12003
12004 wxPyEndAllowThreads(__tstate);
12005 if (PyErr_Occurred()) SWIG_fail;
12006 }
12007 resultobj = PyInt_FromLong((long)result);
12008 return resultobj;
12009 fail:
12010 return NULL;
12011 }
12012
12013
12014 static PyObject *_wrap_MouseEvent_ButtonIsDown(PyObject *self, PyObject *args, PyObject *kwargs) {
12015 PyObject *resultobj;
12016 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12017 int arg2 ;
12018 bool result;
12019 PyObject * obj0 = 0 ;
12020 char *kwnames[] = {
12021 (char *) "self",(char *) "but", NULL
12022 };
12023
12024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:MouseEvent_ButtonIsDown",kwnames,&obj0,&arg2)) goto fail;
12025 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12026 {
12027 PyThreadState* __tstate = wxPyBeginAllowThreads();
12028 result = (bool)((wxMouseEvent const *)arg1)->ButtonIsDown(arg2);
12029
12030 wxPyEndAllowThreads(__tstate);
12031 if (PyErr_Occurred()) SWIG_fail;
12032 }
12033 resultobj = PyInt_FromLong((long)result);
12034 return resultobj;
12035 fail:
12036 return NULL;
12037 }
12038
12039
12040 static PyObject *_wrap_MouseEvent_GetButton(PyObject *self, PyObject *args, PyObject *kwargs) {
12041 PyObject *resultobj;
12042 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12043 int result;
12044 PyObject * obj0 = 0 ;
12045 char *kwnames[] = {
12046 (char *) "self", NULL
12047 };
12048
12049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetButton",kwnames,&obj0)) goto fail;
12050 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12051 {
12052 PyThreadState* __tstate = wxPyBeginAllowThreads();
12053 result = (int)((wxMouseEvent const *)arg1)->GetButton();
12054
12055 wxPyEndAllowThreads(__tstate);
12056 if (PyErr_Occurred()) SWIG_fail;
12057 }
12058 resultobj = PyInt_FromLong((long)result);
12059 return resultobj;
12060 fail:
12061 return NULL;
12062 }
12063
12064
12065 static PyObject *_wrap_MouseEvent_ControlDown(PyObject *self, PyObject *args, PyObject *kwargs) {
12066 PyObject *resultobj;
12067 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12068 bool result;
12069 PyObject * obj0 = 0 ;
12070 char *kwnames[] = {
12071 (char *) "self", NULL
12072 };
12073
12074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_ControlDown",kwnames,&obj0)) goto fail;
12075 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12076 {
12077 PyThreadState* __tstate = wxPyBeginAllowThreads();
12078 result = (bool)((wxMouseEvent const *)arg1)->ControlDown();
12079
12080 wxPyEndAllowThreads(__tstate);
12081 if (PyErr_Occurred()) SWIG_fail;
12082 }
12083 resultobj = PyInt_FromLong((long)result);
12084 return resultobj;
12085 fail:
12086 return NULL;
12087 }
12088
12089
12090 static PyObject *_wrap_MouseEvent_MetaDown(PyObject *self, PyObject *args, PyObject *kwargs) {
12091 PyObject *resultobj;
12092 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12093 bool result;
12094 PyObject * obj0 = 0 ;
12095 char *kwnames[] = {
12096 (char *) "self", NULL
12097 };
12098
12099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_MetaDown",kwnames,&obj0)) goto fail;
12100 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12101 {
12102 PyThreadState* __tstate = wxPyBeginAllowThreads();
12103 result = (bool)((wxMouseEvent const *)arg1)->MetaDown();
12104
12105 wxPyEndAllowThreads(__tstate);
12106 if (PyErr_Occurred()) SWIG_fail;
12107 }
12108 resultobj = PyInt_FromLong((long)result);
12109 return resultobj;
12110 fail:
12111 return NULL;
12112 }
12113
12114
12115 static PyObject *_wrap_MouseEvent_AltDown(PyObject *self, PyObject *args, PyObject *kwargs) {
12116 PyObject *resultobj;
12117 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12118 bool result;
12119 PyObject * obj0 = 0 ;
12120 char *kwnames[] = {
12121 (char *) "self", NULL
12122 };
12123
12124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_AltDown",kwnames,&obj0)) goto fail;
12125 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12126 {
12127 PyThreadState* __tstate = wxPyBeginAllowThreads();
12128 result = (bool)((wxMouseEvent const *)arg1)->AltDown();
12129
12130 wxPyEndAllowThreads(__tstate);
12131 if (PyErr_Occurred()) SWIG_fail;
12132 }
12133 resultobj = PyInt_FromLong((long)result);
12134 return resultobj;
12135 fail:
12136 return NULL;
12137 }
12138
12139
12140 static PyObject *_wrap_MouseEvent_ShiftDown(PyObject *self, PyObject *args, PyObject *kwargs) {
12141 PyObject *resultobj;
12142 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12143 bool result;
12144 PyObject * obj0 = 0 ;
12145 char *kwnames[] = {
12146 (char *) "self", NULL
12147 };
12148
12149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_ShiftDown",kwnames,&obj0)) goto fail;
12150 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12151 {
12152 PyThreadState* __tstate = wxPyBeginAllowThreads();
12153 result = (bool)((wxMouseEvent const *)arg1)->ShiftDown();
12154
12155 wxPyEndAllowThreads(__tstate);
12156 if (PyErr_Occurred()) SWIG_fail;
12157 }
12158 resultobj = PyInt_FromLong((long)result);
12159 return resultobj;
12160 fail:
12161 return NULL;
12162 }
12163
12164
12165 static PyObject *_wrap_MouseEvent_LeftDown(PyObject *self, PyObject *args, PyObject *kwargs) {
12166 PyObject *resultobj;
12167 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12168 bool result;
12169 PyObject * obj0 = 0 ;
12170 char *kwnames[] = {
12171 (char *) "self", NULL
12172 };
12173
12174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_LeftDown",kwnames,&obj0)) goto fail;
12175 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12176 {
12177 PyThreadState* __tstate = wxPyBeginAllowThreads();
12178 result = (bool)((wxMouseEvent const *)arg1)->LeftDown();
12179
12180 wxPyEndAllowThreads(__tstate);
12181 if (PyErr_Occurred()) SWIG_fail;
12182 }
12183 resultobj = PyInt_FromLong((long)result);
12184 return resultobj;
12185 fail:
12186 return NULL;
12187 }
12188
12189
12190 static PyObject *_wrap_MouseEvent_MiddleDown(PyObject *self, PyObject *args, PyObject *kwargs) {
12191 PyObject *resultobj;
12192 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12193 bool result;
12194 PyObject * obj0 = 0 ;
12195 char *kwnames[] = {
12196 (char *) "self", NULL
12197 };
12198
12199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_MiddleDown",kwnames,&obj0)) goto fail;
12200 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12201 {
12202 PyThreadState* __tstate = wxPyBeginAllowThreads();
12203 result = (bool)((wxMouseEvent const *)arg1)->MiddleDown();
12204
12205 wxPyEndAllowThreads(__tstate);
12206 if (PyErr_Occurred()) SWIG_fail;
12207 }
12208 resultobj = PyInt_FromLong((long)result);
12209 return resultobj;
12210 fail:
12211 return NULL;
12212 }
12213
12214
12215 static PyObject *_wrap_MouseEvent_RightDown(PyObject *self, PyObject *args, PyObject *kwargs) {
12216 PyObject *resultobj;
12217 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12218 bool result;
12219 PyObject * obj0 = 0 ;
12220 char *kwnames[] = {
12221 (char *) "self", NULL
12222 };
12223
12224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_RightDown",kwnames,&obj0)) goto fail;
12225 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12226 {
12227 PyThreadState* __tstate = wxPyBeginAllowThreads();
12228 result = (bool)((wxMouseEvent const *)arg1)->RightDown();
12229
12230 wxPyEndAllowThreads(__tstate);
12231 if (PyErr_Occurred()) SWIG_fail;
12232 }
12233 resultobj = PyInt_FromLong((long)result);
12234 return resultobj;
12235 fail:
12236 return NULL;
12237 }
12238
12239
12240 static PyObject *_wrap_MouseEvent_LeftUp(PyObject *self, PyObject *args, PyObject *kwargs) {
12241 PyObject *resultobj;
12242 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12243 bool result;
12244 PyObject * obj0 = 0 ;
12245 char *kwnames[] = {
12246 (char *) "self", NULL
12247 };
12248
12249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_LeftUp",kwnames,&obj0)) goto fail;
12250 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12251 {
12252 PyThreadState* __tstate = wxPyBeginAllowThreads();
12253 result = (bool)((wxMouseEvent const *)arg1)->LeftUp();
12254
12255 wxPyEndAllowThreads(__tstate);
12256 if (PyErr_Occurred()) SWIG_fail;
12257 }
12258 resultobj = PyInt_FromLong((long)result);
12259 return resultobj;
12260 fail:
12261 return NULL;
12262 }
12263
12264
12265 static PyObject *_wrap_MouseEvent_MiddleUp(PyObject *self, PyObject *args, PyObject *kwargs) {
12266 PyObject *resultobj;
12267 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12268 bool result;
12269 PyObject * obj0 = 0 ;
12270 char *kwnames[] = {
12271 (char *) "self", NULL
12272 };
12273
12274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_MiddleUp",kwnames,&obj0)) goto fail;
12275 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12276 {
12277 PyThreadState* __tstate = wxPyBeginAllowThreads();
12278 result = (bool)((wxMouseEvent const *)arg1)->MiddleUp();
12279
12280 wxPyEndAllowThreads(__tstate);
12281 if (PyErr_Occurred()) SWIG_fail;
12282 }
12283 resultobj = PyInt_FromLong((long)result);
12284 return resultobj;
12285 fail:
12286 return NULL;
12287 }
12288
12289
12290 static PyObject *_wrap_MouseEvent_RightUp(PyObject *self, PyObject *args, PyObject *kwargs) {
12291 PyObject *resultobj;
12292 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12293 bool result;
12294 PyObject * obj0 = 0 ;
12295 char *kwnames[] = {
12296 (char *) "self", NULL
12297 };
12298
12299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_RightUp",kwnames,&obj0)) goto fail;
12300 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12301 {
12302 PyThreadState* __tstate = wxPyBeginAllowThreads();
12303 result = (bool)((wxMouseEvent const *)arg1)->RightUp();
12304
12305 wxPyEndAllowThreads(__tstate);
12306 if (PyErr_Occurred()) SWIG_fail;
12307 }
12308 resultobj = PyInt_FromLong((long)result);
12309 return resultobj;
12310 fail:
12311 return NULL;
12312 }
12313
12314
12315 static PyObject *_wrap_MouseEvent_LeftDClick(PyObject *self, PyObject *args, PyObject *kwargs) {
12316 PyObject *resultobj;
12317 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12318 bool result;
12319 PyObject * obj0 = 0 ;
12320 char *kwnames[] = {
12321 (char *) "self", NULL
12322 };
12323
12324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_LeftDClick",kwnames,&obj0)) goto fail;
12325 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12326 {
12327 PyThreadState* __tstate = wxPyBeginAllowThreads();
12328 result = (bool)((wxMouseEvent const *)arg1)->LeftDClick();
12329
12330 wxPyEndAllowThreads(__tstate);
12331 if (PyErr_Occurred()) SWIG_fail;
12332 }
12333 resultobj = PyInt_FromLong((long)result);
12334 return resultobj;
12335 fail:
12336 return NULL;
12337 }
12338
12339
12340 static PyObject *_wrap_MouseEvent_MiddleDClick(PyObject *self, PyObject *args, PyObject *kwargs) {
12341 PyObject *resultobj;
12342 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12343 bool result;
12344 PyObject * obj0 = 0 ;
12345 char *kwnames[] = {
12346 (char *) "self", NULL
12347 };
12348
12349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_MiddleDClick",kwnames,&obj0)) goto fail;
12350 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12351 {
12352 PyThreadState* __tstate = wxPyBeginAllowThreads();
12353 result = (bool)((wxMouseEvent const *)arg1)->MiddleDClick();
12354
12355 wxPyEndAllowThreads(__tstate);
12356 if (PyErr_Occurred()) SWIG_fail;
12357 }
12358 resultobj = PyInt_FromLong((long)result);
12359 return resultobj;
12360 fail:
12361 return NULL;
12362 }
12363
12364
12365 static PyObject *_wrap_MouseEvent_RightDClick(PyObject *self, PyObject *args, PyObject *kwargs) {
12366 PyObject *resultobj;
12367 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12368 bool result;
12369 PyObject * obj0 = 0 ;
12370 char *kwnames[] = {
12371 (char *) "self", NULL
12372 };
12373
12374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_RightDClick",kwnames,&obj0)) goto fail;
12375 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12376 {
12377 PyThreadState* __tstate = wxPyBeginAllowThreads();
12378 result = (bool)((wxMouseEvent const *)arg1)->RightDClick();
12379
12380 wxPyEndAllowThreads(__tstate);
12381 if (PyErr_Occurred()) SWIG_fail;
12382 }
12383 resultobj = PyInt_FromLong((long)result);
12384 return resultobj;
12385 fail:
12386 return NULL;
12387 }
12388
12389
12390 static PyObject *_wrap_MouseEvent_LeftIsDown(PyObject *self, PyObject *args, PyObject *kwargs) {
12391 PyObject *resultobj;
12392 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12393 bool result;
12394 PyObject * obj0 = 0 ;
12395 char *kwnames[] = {
12396 (char *) "self", NULL
12397 };
12398
12399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_LeftIsDown",kwnames,&obj0)) goto fail;
12400 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12401 {
12402 PyThreadState* __tstate = wxPyBeginAllowThreads();
12403 result = (bool)(arg1)->LeftIsDown();
12404
12405 wxPyEndAllowThreads(__tstate);
12406 if (PyErr_Occurred()) SWIG_fail;
12407 }
12408 resultobj = PyInt_FromLong((long)result);
12409 return resultobj;
12410 fail:
12411 return NULL;
12412 }
12413
12414
12415 static PyObject *_wrap_MouseEvent_MiddleIsDown(PyObject *self, PyObject *args, PyObject *kwargs) {
12416 PyObject *resultobj;
12417 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12418 bool result;
12419 PyObject * obj0 = 0 ;
12420 char *kwnames[] = {
12421 (char *) "self", NULL
12422 };
12423
12424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_MiddleIsDown",kwnames,&obj0)) goto fail;
12425 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12426 {
12427 PyThreadState* __tstate = wxPyBeginAllowThreads();
12428 result = (bool)(arg1)->MiddleIsDown();
12429
12430 wxPyEndAllowThreads(__tstate);
12431 if (PyErr_Occurred()) SWIG_fail;
12432 }
12433 resultobj = PyInt_FromLong((long)result);
12434 return resultobj;
12435 fail:
12436 return NULL;
12437 }
12438
12439
12440 static PyObject *_wrap_MouseEvent_RightIsDown(PyObject *self, PyObject *args, PyObject *kwargs) {
12441 PyObject *resultobj;
12442 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12443 bool result;
12444 PyObject * obj0 = 0 ;
12445 char *kwnames[] = {
12446 (char *) "self", NULL
12447 };
12448
12449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_RightIsDown",kwnames,&obj0)) goto fail;
12450 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12451 {
12452 PyThreadState* __tstate = wxPyBeginAllowThreads();
12453 result = (bool)(arg1)->RightIsDown();
12454
12455 wxPyEndAllowThreads(__tstate);
12456 if (PyErr_Occurred()) SWIG_fail;
12457 }
12458 resultobj = PyInt_FromLong((long)result);
12459 return resultobj;
12460 fail:
12461 return NULL;
12462 }
12463
12464
12465 static PyObject *_wrap_MouseEvent_Dragging(PyObject *self, PyObject *args, PyObject *kwargs) {
12466 PyObject *resultobj;
12467 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12468 bool result;
12469 PyObject * obj0 = 0 ;
12470 char *kwnames[] = {
12471 (char *) "self", NULL
12472 };
12473
12474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_Dragging",kwnames,&obj0)) goto fail;
12475 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12476 {
12477 PyThreadState* __tstate = wxPyBeginAllowThreads();
12478 result = (bool)((wxMouseEvent const *)arg1)->Dragging();
12479
12480 wxPyEndAllowThreads(__tstate);
12481 if (PyErr_Occurred()) SWIG_fail;
12482 }
12483 resultobj = PyInt_FromLong((long)result);
12484 return resultobj;
12485 fail:
12486 return NULL;
12487 }
12488
12489
12490 static PyObject *_wrap_MouseEvent_Moving(PyObject *self, PyObject *args, PyObject *kwargs) {
12491 PyObject *resultobj;
12492 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12493 bool result;
12494 PyObject * obj0 = 0 ;
12495 char *kwnames[] = {
12496 (char *) "self", NULL
12497 };
12498
12499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_Moving",kwnames,&obj0)) goto fail;
12500 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12501 {
12502 PyThreadState* __tstate = wxPyBeginAllowThreads();
12503 result = (bool)((wxMouseEvent const *)arg1)->Moving();
12504
12505 wxPyEndAllowThreads(__tstate);
12506 if (PyErr_Occurred()) SWIG_fail;
12507 }
12508 resultobj = PyInt_FromLong((long)result);
12509 return resultobj;
12510 fail:
12511 return NULL;
12512 }
12513
12514
12515 static PyObject *_wrap_MouseEvent_Entering(PyObject *self, PyObject *args, PyObject *kwargs) {
12516 PyObject *resultobj;
12517 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12518 bool result;
12519 PyObject * obj0 = 0 ;
12520 char *kwnames[] = {
12521 (char *) "self", NULL
12522 };
12523
12524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_Entering",kwnames,&obj0)) goto fail;
12525 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12526 {
12527 PyThreadState* __tstate = wxPyBeginAllowThreads();
12528 result = (bool)((wxMouseEvent const *)arg1)->Entering();
12529
12530 wxPyEndAllowThreads(__tstate);
12531 if (PyErr_Occurred()) SWIG_fail;
12532 }
12533 resultobj = PyInt_FromLong((long)result);
12534 return resultobj;
12535 fail:
12536 return NULL;
12537 }
12538
12539
12540 static PyObject *_wrap_MouseEvent_Leaving(PyObject *self, PyObject *args, PyObject *kwargs) {
12541 PyObject *resultobj;
12542 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12543 bool result;
12544 PyObject * obj0 = 0 ;
12545 char *kwnames[] = {
12546 (char *) "self", NULL
12547 };
12548
12549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_Leaving",kwnames,&obj0)) goto fail;
12550 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12551 {
12552 PyThreadState* __tstate = wxPyBeginAllowThreads();
12553 result = (bool)((wxMouseEvent const *)arg1)->Leaving();
12554
12555 wxPyEndAllowThreads(__tstate);
12556 if (PyErr_Occurred()) SWIG_fail;
12557 }
12558 resultobj = PyInt_FromLong((long)result);
12559 return resultobj;
12560 fail:
12561 return NULL;
12562 }
12563
12564
12565 static PyObject *_wrap_MouseEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
12566 PyObject *resultobj;
12567 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12568 wxPoint result;
12569 PyObject * obj0 = 0 ;
12570 char *kwnames[] = {
12571 (char *) "self", NULL
12572 };
12573
12574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetPosition",kwnames,&obj0)) goto fail;
12575 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12576 {
12577 PyThreadState* __tstate = wxPyBeginAllowThreads();
12578 result = (arg1)->GetPosition();
12579
12580 wxPyEndAllowThreads(__tstate);
12581 if (PyErr_Occurred()) SWIG_fail;
12582 }
12583 {
12584 wxPoint * resultptr;
12585 resultptr = new wxPoint((wxPoint &) result);
12586 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
12587 }
12588 return resultobj;
12589 fail:
12590 return NULL;
12591 }
12592
12593
12594 static PyObject *_wrap_MouseEvent_GetPositionTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
12595 PyObject *resultobj;
12596 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12597 long *arg2 = (long *) 0 ;
12598 long *arg3 = (long *) 0 ;
12599 long temp2 ;
12600 long temp3 ;
12601 PyObject * obj0 = 0 ;
12602 char *kwnames[] = {
12603 (char *) "self", NULL
12604 };
12605
12606 arg2 = &temp2;
12607 arg3 = &temp3;
12608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetPositionTuple",kwnames,&obj0)) goto fail;
12609 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12610 {
12611 PyThreadState* __tstate = wxPyBeginAllowThreads();
12612 (arg1)->GetPosition(arg2,arg3);
12613
12614 wxPyEndAllowThreads(__tstate);
12615 if (PyErr_Occurred()) SWIG_fail;
12616 }
12617 Py_INCREF(Py_None); resultobj = Py_None;
12618 {
12619 PyObject *o = PyInt_FromLong((long) (*arg2));
12620 resultobj = t_output_helper(resultobj,o);
12621 }
12622 {
12623 PyObject *o = PyInt_FromLong((long) (*arg3));
12624 resultobj = t_output_helper(resultobj,o);
12625 }
12626 return resultobj;
12627 fail:
12628 return NULL;
12629 }
12630
12631
12632 static PyObject *_wrap_MouseEvent_GetLogicalPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
12633 PyObject *resultobj;
12634 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12635 wxDC *arg2 = 0 ;
12636 wxPoint result;
12637 PyObject * obj0 = 0 ;
12638 PyObject * obj1 = 0 ;
12639 char *kwnames[] = {
12640 (char *) "self",(char *) "dc", NULL
12641 };
12642
12643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_GetLogicalPosition",kwnames,&obj0,&obj1)) goto fail;
12644 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12645 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12646 if (arg2 == NULL) {
12647 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
12648 }
12649 {
12650 PyThreadState* __tstate = wxPyBeginAllowThreads();
12651 result = ((wxMouseEvent const *)arg1)->GetLogicalPosition((wxDC const &)*arg2);
12652
12653 wxPyEndAllowThreads(__tstate);
12654 if (PyErr_Occurred()) SWIG_fail;
12655 }
12656 {
12657 wxPoint * resultptr;
12658 resultptr = new wxPoint((wxPoint &) result);
12659 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
12660 }
12661 return resultobj;
12662 fail:
12663 return NULL;
12664 }
12665
12666
12667 static PyObject *_wrap_MouseEvent_GetX(PyObject *self, PyObject *args, PyObject *kwargs) {
12668 PyObject *resultobj;
12669 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12670 int result;
12671 PyObject * obj0 = 0 ;
12672 char *kwnames[] = {
12673 (char *) "self", NULL
12674 };
12675
12676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetX",kwnames,&obj0)) goto fail;
12677 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12678 {
12679 PyThreadState* __tstate = wxPyBeginAllowThreads();
12680 result = (int)((wxMouseEvent const *)arg1)->GetX();
12681
12682 wxPyEndAllowThreads(__tstate);
12683 if (PyErr_Occurred()) SWIG_fail;
12684 }
12685 resultobj = PyInt_FromLong((long)result);
12686 return resultobj;
12687 fail:
12688 return NULL;
12689 }
12690
12691
12692 static PyObject *_wrap_MouseEvent_GetY(PyObject *self, PyObject *args, PyObject *kwargs) {
12693 PyObject *resultobj;
12694 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12695 int result;
12696 PyObject * obj0 = 0 ;
12697 char *kwnames[] = {
12698 (char *) "self", NULL
12699 };
12700
12701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetY",kwnames,&obj0)) goto fail;
12702 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12703 {
12704 PyThreadState* __tstate = wxPyBeginAllowThreads();
12705 result = (int)((wxMouseEvent const *)arg1)->GetY();
12706
12707 wxPyEndAllowThreads(__tstate);
12708 if (PyErr_Occurred()) SWIG_fail;
12709 }
12710 resultobj = PyInt_FromLong((long)result);
12711 return resultobj;
12712 fail:
12713 return NULL;
12714 }
12715
12716
12717 static PyObject *_wrap_MouseEvent_GetWheelRotation(PyObject *self, PyObject *args, PyObject *kwargs) {
12718 PyObject *resultobj;
12719 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12720 int result;
12721 PyObject * obj0 = 0 ;
12722 char *kwnames[] = {
12723 (char *) "self", NULL
12724 };
12725
12726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetWheelRotation",kwnames,&obj0)) goto fail;
12727 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12728 {
12729 PyThreadState* __tstate = wxPyBeginAllowThreads();
12730 result = (int)((wxMouseEvent const *)arg1)->GetWheelRotation();
12731
12732 wxPyEndAllowThreads(__tstate);
12733 if (PyErr_Occurred()) SWIG_fail;
12734 }
12735 resultobj = PyInt_FromLong((long)result);
12736 return resultobj;
12737 fail:
12738 return NULL;
12739 }
12740
12741
12742 static PyObject *_wrap_MouseEvent_GetWheelDelta(PyObject *self, PyObject *args, PyObject *kwargs) {
12743 PyObject *resultobj;
12744 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12745 int result;
12746 PyObject * obj0 = 0 ;
12747 char *kwnames[] = {
12748 (char *) "self", NULL
12749 };
12750
12751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetWheelDelta",kwnames,&obj0)) goto fail;
12752 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12753 {
12754 PyThreadState* __tstate = wxPyBeginAllowThreads();
12755 result = (int)((wxMouseEvent const *)arg1)->GetWheelDelta();
12756
12757 wxPyEndAllowThreads(__tstate);
12758 if (PyErr_Occurred()) SWIG_fail;
12759 }
12760 resultobj = PyInt_FromLong((long)result);
12761 return resultobj;
12762 fail:
12763 return NULL;
12764 }
12765
12766
12767 static PyObject *_wrap_MouseEvent_GetLinesPerAction(PyObject *self, PyObject *args, PyObject *kwargs) {
12768 PyObject *resultobj;
12769 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12770 int result;
12771 PyObject * obj0 = 0 ;
12772 char *kwnames[] = {
12773 (char *) "self", NULL
12774 };
12775
12776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetLinesPerAction",kwnames,&obj0)) goto fail;
12777 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12778 {
12779 PyThreadState* __tstate = wxPyBeginAllowThreads();
12780 result = (int)((wxMouseEvent const *)arg1)->GetLinesPerAction();
12781
12782 wxPyEndAllowThreads(__tstate);
12783 if (PyErr_Occurred()) SWIG_fail;
12784 }
12785 resultobj = PyInt_FromLong((long)result);
12786 return resultobj;
12787 fail:
12788 return NULL;
12789 }
12790
12791
12792 static PyObject *_wrap_MouseEvent_IsPageScroll(PyObject *self, PyObject *args, PyObject *kwargs) {
12793 PyObject *resultobj;
12794 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12795 bool result;
12796 PyObject * obj0 = 0 ;
12797 char *kwnames[] = {
12798 (char *) "self", NULL
12799 };
12800
12801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_IsPageScroll",kwnames,&obj0)) goto fail;
12802 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12803 {
12804 PyThreadState* __tstate = wxPyBeginAllowThreads();
12805 result = (bool)((wxMouseEvent const *)arg1)->IsPageScroll();
12806
12807 wxPyEndAllowThreads(__tstate);
12808 if (PyErr_Occurred()) SWIG_fail;
12809 }
12810 resultobj = PyInt_FromLong((long)result);
12811 return resultobj;
12812 fail:
12813 return NULL;
12814 }
12815
12816
12817 static PyObject *_wrap_MouseEvent_m_x_set(PyObject *self, PyObject *args, PyObject *kwargs) {
12818 PyObject *resultobj;
12819 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12820 int arg2 ;
12821 PyObject * obj0 = 0 ;
12822 char *kwnames[] = {
12823 (char *) "self",(char *) "m_x", NULL
12824 };
12825
12826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:MouseEvent_m_x_set",kwnames,&obj0,&arg2)) goto fail;
12827 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12828 if (arg1) (arg1)->m_x = arg2;
12829
12830 Py_INCREF(Py_None); resultobj = Py_None;
12831 return resultobj;
12832 fail:
12833 return NULL;
12834 }
12835
12836
12837 static PyObject *_wrap_MouseEvent_m_x_get(PyObject *self, PyObject *args, PyObject *kwargs) {
12838 PyObject *resultobj;
12839 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12840 int result;
12841 PyObject * obj0 = 0 ;
12842 char *kwnames[] = {
12843 (char *) "self", NULL
12844 };
12845
12846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_x_get",kwnames,&obj0)) goto fail;
12847 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12848 result = (int) ((arg1)->m_x);
12849
12850 resultobj = PyInt_FromLong((long)result);
12851 return resultobj;
12852 fail:
12853 return NULL;
12854 }
12855
12856
12857 static PyObject *_wrap_MouseEvent_m_y_set(PyObject *self, PyObject *args, PyObject *kwargs) {
12858 PyObject *resultobj;
12859 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12860 int arg2 ;
12861 PyObject * obj0 = 0 ;
12862 char *kwnames[] = {
12863 (char *) "self",(char *) "m_y", NULL
12864 };
12865
12866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:MouseEvent_m_y_set",kwnames,&obj0,&arg2)) goto fail;
12867 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12868 if (arg1) (arg1)->m_y = arg2;
12869
12870 Py_INCREF(Py_None); resultobj = Py_None;
12871 return resultobj;
12872 fail:
12873 return NULL;
12874 }
12875
12876
12877 static PyObject *_wrap_MouseEvent_m_y_get(PyObject *self, PyObject *args, PyObject *kwargs) {
12878 PyObject *resultobj;
12879 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12880 int result;
12881 PyObject * obj0 = 0 ;
12882 char *kwnames[] = {
12883 (char *) "self", NULL
12884 };
12885
12886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_y_get",kwnames,&obj0)) goto fail;
12887 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12888 result = (int) ((arg1)->m_y);
12889
12890 resultobj = PyInt_FromLong((long)result);
12891 return resultobj;
12892 fail:
12893 return NULL;
12894 }
12895
12896
12897 static PyObject *_wrap_MouseEvent_m_leftDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
12898 PyObject *resultobj;
12899 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12900 bool arg2 ;
12901 PyObject * obj0 = 0 ;
12902 PyObject * obj1 = 0 ;
12903 char *kwnames[] = {
12904 (char *) "self",(char *) "m_leftDown", NULL
12905 };
12906
12907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_leftDown_set",kwnames,&obj0,&obj1)) goto fail;
12908 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12909 arg2 = PyInt_AsLong(obj1) ? true : false;
12910 if (PyErr_Occurred()) SWIG_fail;
12911 if (arg1) (arg1)->m_leftDown = arg2;
12912
12913 Py_INCREF(Py_None); resultobj = Py_None;
12914 return resultobj;
12915 fail:
12916 return NULL;
12917 }
12918
12919
12920 static PyObject *_wrap_MouseEvent_m_leftDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
12921 PyObject *resultobj;
12922 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12923 bool result;
12924 PyObject * obj0 = 0 ;
12925 char *kwnames[] = {
12926 (char *) "self", NULL
12927 };
12928
12929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_leftDown_get",kwnames,&obj0)) goto fail;
12930 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12931 result = (bool) ((arg1)->m_leftDown);
12932
12933 resultobj = PyInt_FromLong((long)result);
12934 return resultobj;
12935 fail:
12936 return NULL;
12937 }
12938
12939
12940 static PyObject *_wrap_MouseEvent_m_middleDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
12941 PyObject *resultobj;
12942 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12943 bool arg2 ;
12944 PyObject * obj0 = 0 ;
12945 PyObject * obj1 = 0 ;
12946 char *kwnames[] = {
12947 (char *) "self",(char *) "m_middleDown", NULL
12948 };
12949
12950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_middleDown_set",kwnames,&obj0,&obj1)) goto fail;
12951 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12952 arg2 = PyInt_AsLong(obj1) ? true : false;
12953 if (PyErr_Occurred()) SWIG_fail;
12954 if (arg1) (arg1)->m_middleDown = arg2;
12955
12956 Py_INCREF(Py_None); resultobj = Py_None;
12957 return resultobj;
12958 fail:
12959 return NULL;
12960 }
12961
12962
12963 static PyObject *_wrap_MouseEvent_m_middleDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
12964 PyObject *resultobj;
12965 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12966 bool result;
12967 PyObject * obj0 = 0 ;
12968 char *kwnames[] = {
12969 (char *) "self", NULL
12970 };
12971
12972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_middleDown_get",kwnames,&obj0)) goto fail;
12973 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12974 result = (bool) ((arg1)->m_middleDown);
12975
12976 resultobj = PyInt_FromLong((long)result);
12977 return resultobj;
12978 fail:
12979 return NULL;
12980 }
12981
12982
12983 static PyObject *_wrap_MouseEvent_m_rightDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
12984 PyObject *resultobj;
12985 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12986 bool arg2 ;
12987 PyObject * obj0 = 0 ;
12988 PyObject * obj1 = 0 ;
12989 char *kwnames[] = {
12990 (char *) "self",(char *) "m_rightDown", NULL
12991 };
12992
12993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_rightDown_set",kwnames,&obj0,&obj1)) goto fail;
12994 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12995 arg2 = PyInt_AsLong(obj1) ? true : false;
12996 if (PyErr_Occurred()) SWIG_fail;
12997 if (arg1) (arg1)->m_rightDown = arg2;
12998
12999 Py_INCREF(Py_None); resultobj = Py_None;
13000 return resultobj;
13001 fail:
13002 return NULL;
13003 }
13004
13005
13006 static PyObject *_wrap_MouseEvent_m_rightDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
13007 PyObject *resultobj;
13008 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13009 bool result;
13010 PyObject * obj0 = 0 ;
13011 char *kwnames[] = {
13012 (char *) "self", NULL
13013 };
13014
13015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_rightDown_get",kwnames,&obj0)) goto fail;
13016 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13017 result = (bool) ((arg1)->m_rightDown);
13018
13019 resultobj = PyInt_FromLong((long)result);
13020 return resultobj;
13021 fail:
13022 return NULL;
13023 }
13024
13025
13026 static PyObject *_wrap_MouseEvent_m_controlDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
13027 PyObject *resultobj;
13028 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13029 bool arg2 ;
13030 PyObject * obj0 = 0 ;
13031 PyObject * obj1 = 0 ;
13032 char *kwnames[] = {
13033 (char *) "self",(char *) "m_controlDown", NULL
13034 };
13035
13036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_controlDown_set",kwnames,&obj0,&obj1)) goto fail;
13037 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13038 arg2 = PyInt_AsLong(obj1) ? true : false;
13039 if (PyErr_Occurred()) SWIG_fail;
13040 if (arg1) (arg1)->m_controlDown = arg2;
13041
13042 Py_INCREF(Py_None); resultobj = Py_None;
13043 return resultobj;
13044 fail:
13045 return NULL;
13046 }
13047
13048
13049 static PyObject *_wrap_MouseEvent_m_controlDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
13050 PyObject *resultobj;
13051 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13052 bool result;
13053 PyObject * obj0 = 0 ;
13054 char *kwnames[] = {
13055 (char *) "self", NULL
13056 };
13057
13058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_controlDown_get",kwnames,&obj0)) goto fail;
13059 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13060 result = (bool) ((arg1)->m_controlDown);
13061
13062 resultobj = PyInt_FromLong((long)result);
13063 return resultobj;
13064 fail:
13065 return NULL;
13066 }
13067
13068
13069 static PyObject *_wrap_MouseEvent_m_shiftDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
13070 PyObject *resultobj;
13071 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13072 bool arg2 ;
13073 PyObject * obj0 = 0 ;
13074 PyObject * obj1 = 0 ;
13075 char *kwnames[] = {
13076 (char *) "self",(char *) "m_shiftDown", NULL
13077 };
13078
13079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_shiftDown_set",kwnames,&obj0,&obj1)) goto fail;
13080 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13081 arg2 = PyInt_AsLong(obj1) ? true : false;
13082 if (PyErr_Occurred()) SWIG_fail;
13083 if (arg1) (arg1)->m_shiftDown = arg2;
13084
13085 Py_INCREF(Py_None); resultobj = Py_None;
13086 return resultobj;
13087 fail:
13088 return NULL;
13089 }
13090
13091
13092 static PyObject *_wrap_MouseEvent_m_shiftDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
13093 PyObject *resultobj;
13094 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13095 bool result;
13096 PyObject * obj0 = 0 ;
13097 char *kwnames[] = {
13098 (char *) "self", NULL
13099 };
13100
13101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_shiftDown_get",kwnames,&obj0)) goto fail;
13102 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13103 result = (bool) ((arg1)->m_shiftDown);
13104
13105 resultobj = PyInt_FromLong((long)result);
13106 return resultobj;
13107 fail:
13108 return NULL;
13109 }
13110
13111
13112 static PyObject *_wrap_MouseEvent_m_altDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
13113 PyObject *resultobj;
13114 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13115 bool arg2 ;
13116 PyObject * obj0 = 0 ;
13117 PyObject * obj1 = 0 ;
13118 char *kwnames[] = {
13119 (char *) "self",(char *) "m_altDown", NULL
13120 };
13121
13122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_altDown_set",kwnames,&obj0,&obj1)) goto fail;
13123 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13124 arg2 = PyInt_AsLong(obj1) ? true : false;
13125 if (PyErr_Occurred()) SWIG_fail;
13126 if (arg1) (arg1)->m_altDown = arg2;
13127
13128 Py_INCREF(Py_None); resultobj = Py_None;
13129 return resultobj;
13130 fail:
13131 return NULL;
13132 }
13133
13134
13135 static PyObject *_wrap_MouseEvent_m_altDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
13136 PyObject *resultobj;
13137 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13138 bool result;
13139 PyObject * obj0 = 0 ;
13140 char *kwnames[] = {
13141 (char *) "self", NULL
13142 };
13143
13144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_altDown_get",kwnames,&obj0)) goto fail;
13145 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13146 result = (bool) ((arg1)->m_altDown);
13147
13148 resultobj = PyInt_FromLong((long)result);
13149 return resultobj;
13150 fail:
13151 return NULL;
13152 }
13153
13154
13155 static PyObject *_wrap_MouseEvent_m_metaDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
13156 PyObject *resultobj;
13157 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13158 bool arg2 ;
13159 PyObject * obj0 = 0 ;
13160 PyObject * obj1 = 0 ;
13161 char *kwnames[] = {
13162 (char *) "self",(char *) "m_metaDown", NULL
13163 };
13164
13165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_metaDown_set",kwnames,&obj0,&obj1)) goto fail;
13166 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13167 arg2 = PyInt_AsLong(obj1) ? true : false;
13168 if (PyErr_Occurred()) SWIG_fail;
13169 if (arg1) (arg1)->m_metaDown = arg2;
13170
13171 Py_INCREF(Py_None); resultobj = Py_None;
13172 return resultobj;
13173 fail:
13174 return NULL;
13175 }
13176
13177
13178 static PyObject *_wrap_MouseEvent_m_metaDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
13179 PyObject *resultobj;
13180 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13181 bool result;
13182 PyObject * obj0 = 0 ;
13183 char *kwnames[] = {
13184 (char *) "self", NULL
13185 };
13186
13187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_metaDown_get",kwnames,&obj0)) goto fail;
13188 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13189 result = (bool) ((arg1)->m_metaDown);
13190
13191 resultobj = PyInt_FromLong((long)result);
13192 return resultobj;
13193 fail:
13194 return NULL;
13195 }
13196
13197
13198 static PyObject *_wrap_MouseEvent_m_wheelRotation_set(PyObject *self, PyObject *args, PyObject *kwargs) {
13199 PyObject *resultobj;
13200 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13201 int arg2 ;
13202 PyObject * obj0 = 0 ;
13203 char *kwnames[] = {
13204 (char *) "self",(char *) "m_wheelRotation", NULL
13205 };
13206
13207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:MouseEvent_m_wheelRotation_set",kwnames,&obj0,&arg2)) goto fail;
13208 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13209 if (arg1) (arg1)->m_wheelRotation = arg2;
13210
13211 Py_INCREF(Py_None); resultobj = Py_None;
13212 return resultobj;
13213 fail:
13214 return NULL;
13215 }
13216
13217
13218 static PyObject *_wrap_MouseEvent_m_wheelRotation_get(PyObject *self, PyObject *args, PyObject *kwargs) {
13219 PyObject *resultobj;
13220 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13221 int result;
13222 PyObject * obj0 = 0 ;
13223 char *kwnames[] = {
13224 (char *) "self", NULL
13225 };
13226
13227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_wheelRotation_get",kwnames,&obj0)) goto fail;
13228 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13229 result = (int) ((arg1)->m_wheelRotation);
13230
13231 resultobj = PyInt_FromLong((long)result);
13232 return resultobj;
13233 fail:
13234 return NULL;
13235 }
13236
13237
13238 static PyObject *_wrap_MouseEvent_m_wheelDelta_set(PyObject *self, PyObject *args, PyObject *kwargs) {
13239 PyObject *resultobj;
13240 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13241 int arg2 ;
13242 PyObject * obj0 = 0 ;
13243 char *kwnames[] = {
13244 (char *) "self",(char *) "m_wheelDelta", NULL
13245 };
13246
13247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:MouseEvent_m_wheelDelta_set",kwnames,&obj0,&arg2)) goto fail;
13248 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13249 if (arg1) (arg1)->m_wheelDelta = arg2;
13250
13251 Py_INCREF(Py_None); resultobj = Py_None;
13252 return resultobj;
13253 fail:
13254 return NULL;
13255 }
13256
13257
13258 static PyObject *_wrap_MouseEvent_m_wheelDelta_get(PyObject *self, PyObject *args, PyObject *kwargs) {
13259 PyObject *resultobj;
13260 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13261 int result;
13262 PyObject * obj0 = 0 ;
13263 char *kwnames[] = {
13264 (char *) "self", NULL
13265 };
13266
13267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_wheelDelta_get",kwnames,&obj0)) goto fail;
13268 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13269 result = (int) ((arg1)->m_wheelDelta);
13270
13271 resultobj = PyInt_FromLong((long)result);
13272 return resultobj;
13273 fail:
13274 return NULL;
13275 }
13276
13277
13278 static PyObject *_wrap_MouseEvent_m_linesPerAction_set(PyObject *self, PyObject *args, PyObject *kwargs) {
13279 PyObject *resultobj;
13280 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13281 int arg2 ;
13282 PyObject * obj0 = 0 ;
13283 char *kwnames[] = {
13284 (char *) "self",(char *) "m_linesPerAction", NULL
13285 };
13286
13287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:MouseEvent_m_linesPerAction_set",kwnames,&obj0,&arg2)) goto fail;
13288 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13289 if (arg1) (arg1)->m_linesPerAction = arg2;
13290
13291 Py_INCREF(Py_None); resultobj = Py_None;
13292 return resultobj;
13293 fail:
13294 return NULL;
13295 }
13296
13297
13298 static PyObject *_wrap_MouseEvent_m_linesPerAction_get(PyObject *self, PyObject *args, PyObject *kwargs) {
13299 PyObject *resultobj;
13300 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13301 int result;
13302 PyObject * obj0 = 0 ;
13303 char *kwnames[] = {
13304 (char *) "self", NULL
13305 };
13306
13307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_linesPerAction_get",kwnames,&obj0)) goto fail;
13308 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13309 result = (int) ((arg1)->m_linesPerAction);
13310
13311 resultobj = PyInt_FromLong((long)result);
13312 return resultobj;
13313 fail:
13314 return NULL;
13315 }
13316
13317
13318 static PyObject * MouseEvent_swigregister(PyObject *self, PyObject *args) {
13319 PyObject *obj;
13320 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13321 SWIG_TypeClientData(SWIGTYPE_p_wxMouseEvent, obj);
13322 Py_INCREF(obj);
13323 return Py_BuildValue((char *)"");
13324 }
13325 static PyObject *_wrap_new_SetCursorEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
13326 PyObject *resultobj;
13327 int arg1 = (int) 0 ;
13328 int arg2 = (int) 0 ;
13329 wxSetCursorEvent *result;
13330 char *kwnames[] = {
13331 (char *) "x",(char *) "y", NULL
13332 };
13333
13334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_SetCursorEvent",kwnames,&arg1,&arg2)) goto fail;
13335 {
13336 PyThreadState* __tstate = wxPyBeginAllowThreads();
13337 result = (wxSetCursorEvent *)new wxSetCursorEvent(arg1,arg2);
13338
13339 wxPyEndAllowThreads(__tstate);
13340 if (PyErr_Occurred()) SWIG_fail;
13341 }
13342 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSetCursorEvent, 1);
13343 return resultobj;
13344 fail:
13345 return NULL;
13346 }
13347
13348
13349 static PyObject *_wrap_SetCursorEvent_GetX(PyObject *self, PyObject *args, PyObject *kwargs) {
13350 PyObject *resultobj;
13351 wxSetCursorEvent *arg1 = (wxSetCursorEvent *) 0 ;
13352 int result;
13353 PyObject * obj0 = 0 ;
13354 char *kwnames[] = {
13355 (char *) "self", NULL
13356 };
13357
13358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SetCursorEvent_GetX",kwnames,&obj0)) goto fail;
13359 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSetCursorEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13360 {
13361 PyThreadState* __tstate = wxPyBeginAllowThreads();
13362 result = (int)((wxSetCursorEvent const *)arg1)->GetX();
13363
13364 wxPyEndAllowThreads(__tstate);
13365 if (PyErr_Occurred()) SWIG_fail;
13366 }
13367 resultobj = PyInt_FromLong((long)result);
13368 return resultobj;
13369 fail:
13370 return NULL;
13371 }
13372
13373
13374 static PyObject *_wrap_SetCursorEvent_GetY(PyObject *self, PyObject *args, PyObject *kwargs) {
13375 PyObject *resultobj;
13376 wxSetCursorEvent *arg1 = (wxSetCursorEvent *) 0 ;
13377 int result;
13378 PyObject * obj0 = 0 ;
13379 char *kwnames[] = {
13380 (char *) "self", NULL
13381 };
13382
13383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SetCursorEvent_GetY",kwnames,&obj0)) goto fail;
13384 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSetCursorEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13385 {
13386 PyThreadState* __tstate = wxPyBeginAllowThreads();
13387 result = (int)((wxSetCursorEvent const *)arg1)->GetY();
13388
13389 wxPyEndAllowThreads(__tstate);
13390 if (PyErr_Occurred()) SWIG_fail;
13391 }
13392 resultobj = PyInt_FromLong((long)result);
13393 return resultobj;
13394 fail:
13395 return NULL;
13396 }
13397
13398
13399 static PyObject *_wrap_SetCursorEvent_SetCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
13400 PyObject *resultobj;
13401 wxSetCursorEvent *arg1 = (wxSetCursorEvent *) 0 ;
13402 wxCursor *arg2 = 0 ;
13403 PyObject * obj0 = 0 ;
13404 PyObject * obj1 = 0 ;
13405 char *kwnames[] = {
13406 (char *) "self",(char *) "cursor", NULL
13407 };
13408
13409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SetCursorEvent_SetCursor",kwnames,&obj0,&obj1)) goto fail;
13410 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSetCursorEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13411 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13412 if (arg2 == NULL) {
13413 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13414 }
13415 {
13416 PyThreadState* __tstate = wxPyBeginAllowThreads();
13417 (arg1)->SetCursor((wxCursor const &)*arg2);
13418
13419 wxPyEndAllowThreads(__tstate);
13420 if (PyErr_Occurred()) SWIG_fail;
13421 }
13422 Py_INCREF(Py_None); resultobj = Py_None;
13423 return resultobj;
13424 fail:
13425 return NULL;
13426 }
13427
13428
13429 static PyObject *_wrap_SetCursorEvent_GetCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
13430 PyObject *resultobj;
13431 wxSetCursorEvent *arg1 = (wxSetCursorEvent *) 0 ;
13432 wxCursor *result;
13433 PyObject * obj0 = 0 ;
13434 char *kwnames[] = {
13435 (char *) "self", NULL
13436 };
13437
13438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SetCursorEvent_GetCursor",kwnames,&obj0)) goto fail;
13439 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSetCursorEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13440 {
13441 PyThreadState* __tstate = wxPyBeginAllowThreads();
13442 {
13443 wxCursor const &_result_ref = ((wxSetCursorEvent const *)arg1)->GetCursor();
13444 result = (wxCursor *) &_result_ref;
13445 }
13446
13447 wxPyEndAllowThreads(__tstate);
13448 if (PyErr_Occurred()) SWIG_fail;
13449 }
13450 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCursor, 0);
13451 return resultobj;
13452 fail:
13453 return NULL;
13454 }
13455
13456
13457 static PyObject *_wrap_SetCursorEvent_HasCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
13458 PyObject *resultobj;
13459 wxSetCursorEvent *arg1 = (wxSetCursorEvent *) 0 ;
13460 bool result;
13461 PyObject * obj0 = 0 ;
13462 char *kwnames[] = {
13463 (char *) "self", NULL
13464 };
13465
13466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SetCursorEvent_HasCursor",kwnames,&obj0)) goto fail;
13467 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSetCursorEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13468 {
13469 PyThreadState* __tstate = wxPyBeginAllowThreads();
13470 result = (bool)((wxSetCursorEvent const *)arg1)->HasCursor();
13471
13472 wxPyEndAllowThreads(__tstate);
13473 if (PyErr_Occurred()) SWIG_fail;
13474 }
13475 resultobj = PyInt_FromLong((long)result);
13476 return resultobj;
13477 fail:
13478 return NULL;
13479 }
13480
13481
13482 static PyObject * SetCursorEvent_swigregister(PyObject *self, PyObject *args) {
13483 PyObject *obj;
13484 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13485 SWIG_TypeClientData(SWIGTYPE_p_wxSetCursorEvent, obj);
13486 Py_INCREF(obj);
13487 return Py_BuildValue((char *)"");
13488 }
13489 static PyObject *_wrap_new_KeyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
13490 PyObject *resultobj;
13491 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
13492 wxKeyEvent *result;
13493 char *kwnames[] = {
13494 (char *) "keyType", NULL
13495 };
13496
13497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:new_KeyEvent",kwnames,&arg1)) goto fail;
13498 {
13499 PyThreadState* __tstate = wxPyBeginAllowThreads();
13500 result = (wxKeyEvent *)new wxKeyEvent(arg1);
13501
13502 wxPyEndAllowThreads(__tstate);
13503 if (PyErr_Occurred()) SWIG_fail;
13504 }
13505 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxKeyEvent, 1);
13506 return resultobj;
13507 fail:
13508 return NULL;
13509 }
13510
13511
13512 static PyObject *_wrap_KeyEvent_ControlDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13513 PyObject *resultobj;
13514 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
13515 bool result;
13516 PyObject * obj0 = 0 ;
13517 char *kwnames[] = {
13518 (char *) "self", NULL
13519 };
13520
13521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_ControlDown",kwnames,&obj0)) goto fail;
13522 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13523 {
13524 PyThreadState* __tstate = wxPyBeginAllowThreads();
13525 result = (bool)((wxKeyEvent const *)arg1)->ControlDown();
13526
13527 wxPyEndAllowThreads(__tstate);
13528 if (PyErr_Occurred()) SWIG_fail;
13529 }
13530 resultobj = PyInt_FromLong((long)result);
13531 return resultobj;
13532 fail:
13533 return NULL;
13534 }
13535
13536
13537 static PyObject *_wrap_KeyEvent_MetaDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13538 PyObject *resultobj;
13539 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
13540 bool result;
13541 PyObject * obj0 = 0 ;
13542 char *kwnames[] = {
13543 (char *) "self", NULL
13544 };
13545
13546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_MetaDown",kwnames,&obj0)) goto fail;
13547 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13548 {
13549 PyThreadState* __tstate = wxPyBeginAllowThreads();
13550 result = (bool)((wxKeyEvent const *)arg1)->MetaDown();
13551
13552 wxPyEndAllowThreads(__tstate);
13553 if (PyErr_Occurred()) SWIG_fail;
13554 }
13555 resultobj = PyInt_FromLong((long)result);
13556 return resultobj;
13557 fail:
13558 return NULL;
13559 }
13560
13561
13562 static PyObject *_wrap_KeyEvent_AltDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13563 PyObject *resultobj;
13564 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
13565 bool result;
13566 PyObject * obj0 = 0 ;
13567 char *kwnames[] = {
13568 (char *) "self", NULL
13569 };
13570
13571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_AltDown",kwnames,&obj0)) goto fail;
13572 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13573 {
13574 PyThreadState* __tstate = wxPyBeginAllowThreads();
13575 result = (bool)((wxKeyEvent const *)arg1)->AltDown();
13576
13577 wxPyEndAllowThreads(__tstate);
13578 if (PyErr_Occurred()) SWIG_fail;
13579 }
13580 resultobj = PyInt_FromLong((long)result);
13581 return resultobj;
13582 fail:
13583 return NULL;
13584 }
13585
13586
13587 static PyObject *_wrap_KeyEvent_ShiftDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13588 PyObject *resultobj;
13589 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
13590 bool result;
13591 PyObject * obj0 = 0 ;
13592 char *kwnames[] = {
13593 (char *) "self", NULL
13594 };
13595
13596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_ShiftDown",kwnames,&obj0)) goto fail;
13597 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13598 {
13599 PyThreadState* __tstate = wxPyBeginAllowThreads();
13600 result = (bool)((wxKeyEvent const *)arg1)->ShiftDown();
13601
13602 wxPyEndAllowThreads(__tstate);
13603 if (PyErr_Occurred()) SWIG_fail;
13604 }
13605 resultobj = PyInt_FromLong((long)result);
13606 return resultobj;
13607 fail:
13608 return NULL;
13609 }
13610
13611
13612 static PyObject *_wrap_KeyEvent_HasModifiers(PyObject *self, PyObject *args, PyObject *kwargs) {
13613 PyObject *resultobj;
13614 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
13615 bool result;
13616 PyObject * obj0 = 0 ;
13617 char *kwnames[] = {
13618 (char *) "self", NULL
13619 };
13620
13621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_HasModifiers",kwnames,&obj0)) goto fail;
13622 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13623 {
13624 PyThreadState* __tstate = wxPyBeginAllowThreads();
13625 result = (bool)((wxKeyEvent const *)arg1)->HasModifiers();
13626
13627 wxPyEndAllowThreads(__tstate);
13628 if (PyErr_Occurred()) SWIG_fail;
13629 }
13630 resultobj = PyInt_FromLong((long)result);
13631 return resultobj;
13632 fail:
13633 return NULL;
13634 }
13635
13636
13637 static PyObject *_wrap_KeyEvent_GetKeyCode(PyObject *self, PyObject *args, PyObject *kwargs) {
13638 PyObject *resultobj;
13639 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
13640 int result;
13641 PyObject * obj0 = 0 ;
13642 char *kwnames[] = {
13643 (char *) "self", NULL
13644 };
13645
13646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetKeyCode",kwnames,&obj0)) goto fail;
13647 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13648 {
13649 PyThreadState* __tstate = wxPyBeginAllowThreads();
13650 result = (int)((wxKeyEvent const *)arg1)->GetKeyCode();
13651
13652 wxPyEndAllowThreads(__tstate);
13653 if (PyErr_Occurred()) SWIG_fail;
13654 }
13655 resultobj = PyInt_FromLong((long)result);
13656 return resultobj;
13657 fail:
13658 return NULL;
13659 }
13660
13661
13662 static PyObject *_wrap_KeyEvent_GetUniChar(PyObject *self, PyObject *args, PyObject *kwargs) {
13663 PyObject *resultobj;
13664 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
13665 int result;
13666 PyObject * obj0 = 0 ;
13667 char *kwnames[] = {
13668 (char *) "self", NULL
13669 };
13670
13671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetUniChar",kwnames,&obj0)) goto fail;
13672 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13673 {
13674 PyThreadState* __tstate = wxPyBeginAllowThreads();
13675 result = (int)wxKeyEvent_GetUniChar(arg1);
13676
13677 wxPyEndAllowThreads(__tstate);
13678 if (PyErr_Occurred()) SWIG_fail;
13679 }
13680 resultobj = PyInt_FromLong((long)result);
13681 return resultobj;
13682 fail:
13683 return NULL;
13684 }
13685
13686
13687 static PyObject *_wrap_KeyEvent_GetRawKeyCode(PyObject *self, PyObject *args, PyObject *kwargs) {
13688 PyObject *resultobj;
13689 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
13690 unsigned int result;
13691 PyObject * obj0 = 0 ;
13692 char *kwnames[] = {
13693 (char *) "self", NULL
13694 };
13695
13696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetRawKeyCode",kwnames,&obj0)) goto fail;
13697 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13698 {
13699 PyThreadState* __tstate = wxPyBeginAllowThreads();
13700 result = (unsigned int)((wxKeyEvent const *)arg1)->GetRawKeyCode();
13701
13702 wxPyEndAllowThreads(__tstate);
13703 if (PyErr_Occurred()) SWIG_fail;
13704 }
13705 resultobj = PyInt_FromLong((long)result);
13706 return resultobj;
13707 fail:
13708 return NULL;
13709 }
13710
13711
13712 static PyObject *_wrap_KeyEvent_GetRawKeyFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
13713 PyObject *resultobj;
13714 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
13715 unsigned int result;
13716 PyObject * obj0 = 0 ;
13717 char *kwnames[] = {
13718 (char *) "self", NULL
13719 };
13720
13721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetRawKeyFlags",kwnames,&obj0)) goto fail;
13722 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13723 {
13724 PyThreadState* __tstate = wxPyBeginAllowThreads();
13725 result = (unsigned int)((wxKeyEvent const *)arg1)->GetRawKeyFlags();
13726
13727 wxPyEndAllowThreads(__tstate);
13728 if (PyErr_Occurred()) SWIG_fail;
13729 }
13730 resultobj = PyInt_FromLong((long)result);
13731 return resultobj;
13732 fail:
13733 return NULL;
13734 }
13735
13736
13737 static PyObject *_wrap_KeyEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
13738 PyObject *resultobj;
13739 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
13740 wxPoint result;
13741 PyObject * obj0 = 0 ;
13742 char *kwnames[] = {
13743 (char *) "self", NULL
13744 };
13745
13746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetPosition",kwnames,&obj0)) goto fail;
13747 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13748 {
13749 PyThreadState* __tstate = wxPyBeginAllowThreads();
13750 result = (arg1)->GetPosition();
13751
13752 wxPyEndAllowThreads(__tstate);
13753 if (PyErr_Occurred()) SWIG_fail;
13754 }
13755 {
13756 wxPoint * resultptr;
13757 resultptr = new wxPoint((wxPoint &) result);
13758 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
13759 }
13760 return resultobj;
13761 fail:
13762 return NULL;
13763 }
13764
13765
13766 static PyObject *_wrap_KeyEvent_GetPositionTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
13767 PyObject *resultobj;
13768 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
13769 long *arg2 = (long *) 0 ;
13770 long *arg3 = (long *) 0 ;
13771 long temp2 ;
13772 long temp3 ;
13773 PyObject * obj0 = 0 ;
13774 char *kwnames[] = {
13775 (char *) "self", NULL
13776 };
13777
13778 arg2 = &temp2;
13779 arg3 = &temp3;
13780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetPositionTuple",kwnames,&obj0)) goto fail;
13781 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13782 {
13783 PyThreadState* __tstate = wxPyBeginAllowThreads();
13784 (arg1)->GetPosition(arg2,arg3);
13785
13786 wxPyEndAllowThreads(__tstate);
13787 if (PyErr_Occurred()) SWIG_fail;
13788 }
13789 Py_INCREF(Py_None); resultobj = Py_None;
13790 {
13791 PyObject *o = PyInt_FromLong((long) (*arg2));
13792 resultobj = t_output_helper(resultobj,o);
13793 }
13794 {
13795 PyObject *o = PyInt_FromLong((long) (*arg3));
13796 resultobj = t_output_helper(resultobj,o);
13797 }
13798 return resultobj;
13799 fail:
13800 return NULL;
13801 }
13802
13803
13804 static PyObject *_wrap_KeyEvent_GetX(PyObject *self, PyObject *args, PyObject *kwargs) {
13805 PyObject *resultobj;
13806 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
13807 int result;
13808 PyObject * obj0 = 0 ;
13809 char *kwnames[] = {
13810 (char *) "self", NULL
13811 };
13812
13813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetX",kwnames,&obj0)) goto fail;
13814 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13815 {
13816 PyThreadState* __tstate = wxPyBeginAllowThreads();
13817 result = (int)((wxKeyEvent const *)arg1)->GetX();
13818
13819 wxPyEndAllowThreads(__tstate);
13820 if (PyErr_Occurred()) SWIG_fail;
13821 }
13822 resultobj = PyInt_FromLong((long)result);
13823 return resultobj;
13824 fail:
13825 return NULL;
13826 }
13827
13828
13829 static PyObject *_wrap_KeyEvent_GetY(PyObject *self, PyObject *args, PyObject *kwargs) {
13830 PyObject *resultobj;
13831 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
13832 int result;
13833 PyObject * obj0 = 0 ;
13834 char *kwnames[] = {
13835 (char *) "self", NULL
13836 };
13837
13838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetY",kwnames,&obj0)) goto fail;
13839 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13840 {
13841 PyThreadState* __tstate = wxPyBeginAllowThreads();
13842 result = (int)((wxKeyEvent const *)arg1)->GetY();
13843
13844 wxPyEndAllowThreads(__tstate);
13845 if (PyErr_Occurred()) SWIG_fail;
13846 }
13847 resultobj = PyInt_FromLong((long)result);
13848 return resultobj;
13849 fail:
13850 return NULL;
13851 }
13852
13853
13854 static PyObject *_wrap_KeyEvent_m_x_set(PyObject *self, PyObject *args, PyObject *kwargs) {
13855 PyObject *resultobj;
13856 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
13857 int arg2 ;
13858 PyObject * obj0 = 0 ;
13859 char *kwnames[] = {
13860 (char *) "self",(char *) "m_x", NULL
13861 };
13862
13863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:KeyEvent_m_x_set",kwnames,&obj0,&arg2)) goto fail;
13864 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13865 if (arg1) (arg1)->m_x = arg2;
13866
13867 Py_INCREF(Py_None); resultobj = Py_None;
13868 return resultobj;
13869 fail:
13870 return NULL;
13871 }
13872
13873
13874 static PyObject *_wrap_KeyEvent_m_x_get(PyObject *self, PyObject *args, PyObject *kwargs) {
13875 PyObject *resultobj;
13876 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
13877 int result;
13878 PyObject * obj0 = 0 ;
13879 char *kwnames[] = {
13880 (char *) "self", NULL
13881 };
13882
13883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_x_get",kwnames,&obj0)) goto fail;
13884 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13885 result = (int) ((arg1)->m_x);
13886
13887 resultobj = PyInt_FromLong((long)result);
13888 return resultobj;
13889 fail:
13890 return NULL;
13891 }
13892
13893
13894 static PyObject *_wrap_KeyEvent_m_y_set(PyObject *self, PyObject *args, PyObject *kwargs) {
13895 PyObject *resultobj;
13896 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
13897 int arg2 ;
13898 PyObject * obj0 = 0 ;
13899 char *kwnames[] = {
13900 (char *) "self",(char *) "m_y", NULL
13901 };
13902
13903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:KeyEvent_m_y_set",kwnames,&obj0,&arg2)) goto fail;
13904 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13905 if (arg1) (arg1)->m_y = arg2;
13906
13907 Py_INCREF(Py_None); resultobj = Py_None;
13908 return resultobj;
13909 fail:
13910 return NULL;
13911 }
13912
13913
13914 static PyObject *_wrap_KeyEvent_m_y_get(PyObject *self, PyObject *args, PyObject *kwargs) {
13915 PyObject *resultobj;
13916 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
13917 int result;
13918 PyObject * obj0 = 0 ;
13919 char *kwnames[] = {
13920 (char *) "self", NULL
13921 };
13922
13923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_y_get",kwnames,&obj0)) goto fail;
13924 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13925 result = (int) ((arg1)->m_y);
13926
13927 resultobj = PyInt_FromLong((long)result);
13928 return resultobj;
13929 fail:
13930 return NULL;
13931 }
13932
13933
13934 static PyObject *_wrap_KeyEvent_m_keyCode_set(PyObject *self, PyObject *args, PyObject *kwargs) {
13935 PyObject *resultobj;
13936 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
13937 long arg2 ;
13938 PyObject * obj0 = 0 ;
13939 char *kwnames[] = {
13940 (char *) "self",(char *) "m_keyCode", NULL
13941 };
13942
13943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:KeyEvent_m_keyCode_set",kwnames,&obj0,&arg2)) goto fail;
13944 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13945 if (arg1) (arg1)->m_keyCode = arg2;
13946
13947 Py_INCREF(Py_None); resultobj = Py_None;
13948 return resultobj;
13949 fail:
13950 return NULL;
13951 }
13952
13953
13954 static PyObject *_wrap_KeyEvent_m_keyCode_get(PyObject *self, PyObject *args, PyObject *kwargs) {
13955 PyObject *resultobj;
13956 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
13957 long result;
13958 PyObject * obj0 = 0 ;
13959 char *kwnames[] = {
13960 (char *) "self", NULL
13961 };
13962
13963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_keyCode_get",kwnames,&obj0)) goto fail;
13964 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13965 result = (long) ((arg1)->m_keyCode);
13966
13967 resultobj = PyInt_FromLong((long)result);
13968 return resultobj;
13969 fail:
13970 return NULL;
13971 }
13972
13973
13974 static PyObject *_wrap_KeyEvent_m_controlDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
13975 PyObject *resultobj;
13976 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
13977 bool arg2 ;
13978 PyObject * obj0 = 0 ;
13979 PyObject * obj1 = 0 ;
13980 char *kwnames[] = {
13981 (char *) "self",(char *) "m_controlDown", NULL
13982 };
13983
13984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_controlDown_set",kwnames,&obj0,&obj1)) goto fail;
13985 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13986 arg2 = PyInt_AsLong(obj1) ? true : false;
13987 if (PyErr_Occurred()) SWIG_fail;
13988 if (arg1) (arg1)->m_controlDown = arg2;
13989
13990 Py_INCREF(Py_None); resultobj = Py_None;
13991 return resultobj;
13992 fail:
13993 return NULL;
13994 }
13995
13996
13997 static PyObject *_wrap_KeyEvent_m_controlDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
13998 PyObject *resultobj;
13999 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
14000 bool result;
14001 PyObject * obj0 = 0 ;
14002 char *kwnames[] = {
14003 (char *) "self", NULL
14004 };
14005
14006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_controlDown_get",kwnames,&obj0)) goto fail;
14007 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14008 result = (bool) ((arg1)->m_controlDown);
14009
14010 resultobj = PyInt_FromLong((long)result);
14011 return resultobj;
14012 fail:
14013 return NULL;
14014 }
14015
14016
14017 static PyObject *_wrap_KeyEvent_m_shiftDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
14018 PyObject *resultobj;
14019 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
14020 bool arg2 ;
14021 PyObject * obj0 = 0 ;
14022 PyObject * obj1 = 0 ;
14023 char *kwnames[] = {
14024 (char *) "self",(char *) "m_shiftDown", NULL
14025 };
14026
14027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_shiftDown_set",kwnames,&obj0,&obj1)) goto fail;
14028 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14029 arg2 = PyInt_AsLong(obj1) ? true : false;
14030 if (PyErr_Occurred()) SWIG_fail;
14031 if (arg1) (arg1)->m_shiftDown = arg2;
14032
14033 Py_INCREF(Py_None); resultobj = Py_None;
14034 return resultobj;
14035 fail:
14036 return NULL;
14037 }
14038
14039
14040 static PyObject *_wrap_KeyEvent_m_shiftDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
14041 PyObject *resultobj;
14042 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
14043 bool result;
14044 PyObject * obj0 = 0 ;
14045 char *kwnames[] = {
14046 (char *) "self", NULL
14047 };
14048
14049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_shiftDown_get",kwnames,&obj0)) goto fail;
14050 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14051 result = (bool) ((arg1)->m_shiftDown);
14052
14053 resultobj = PyInt_FromLong((long)result);
14054 return resultobj;
14055 fail:
14056 return NULL;
14057 }
14058
14059
14060 static PyObject *_wrap_KeyEvent_m_altDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
14061 PyObject *resultobj;
14062 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
14063 bool arg2 ;
14064 PyObject * obj0 = 0 ;
14065 PyObject * obj1 = 0 ;
14066 char *kwnames[] = {
14067 (char *) "self",(char *) "m_altDown", NULL
14068 };
14069
14070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_altDown_set",kwnames,&obj0,&obj1)) goto fail;
14071 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14072 arg2 = PyInt_AsLong(obj1) ? true : false;
14073 if (PyErr_Occurred()) SWIG_fail;
14074 if (arg1) (arg1)->m_altDown = arg2;
14075
14076 Py_INCREF(Py_None); resultobj = Py_None;
14077 return resultobj;
14078 fail:
14079 return NULL;
14080 }
14081
14082
14083 static PyObject *_wrap_KeyEvent_m_altDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
14084 PyObject *resultobj;
14085 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
14086 bool result;
14087 PyObject * obj0 = 0 ;
14088 char *kwnames[] = {
14089 (char *) "self", NULL
14090 };
14091
14092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_altDown_get",kwnames,&obj0)) goto fail;
14093 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14094 result = (bool) ((arg1)->m_altDown);
14095
14096 resultobj = PyInt_FromLong((long)result);
14097 return resultobj;
14098 fail:
14099 return NULL;
14100 }
14101
14102
14103 static PyObject *_wrap_KeyEvent_m_metaDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
14104 PyObject *resultobj;
14105 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
14106 bool arg2 ;
14107 PyObject * obj0 = 0 ;
14108 PyObject * obj1 = 0 ;
14109 char *kwnames[] = {
14110 (char *) "self",(char *) "m_metaDown", NULL
14111 };
14112
14113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_metaDown_set",kwnames,&obj0,&obj1)) goto fail;
14114 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14115 arg2 = PyInt_AsLong(obj1) ? true : false;
14116 if (PyErr_Occurred()) SWIG_fail;
14117 if (arg1) (arg1)->m_metaDown = arg2;
14118
14119 Py_INCREF(Py_None); resultobj = Py_None;
14120 return resultobj;
14121 fail:
14122 return NULL;
14123 }
14124
14125
14126 static PyObject *_wrap_KeyEvent_m_metaDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
14127 PyObject *resultobj;
14128 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
14129 bool result;
14130 PyObject * obj0 = 0 ;
14131 char *kwnames[] = {
14132 (char *) "self", NULL
14133 };
14134
14135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_metaDown_get",kwnames,&obj0)) goto fail;
14136 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14137 result = (bool) ((arg1)->m_metaDown);
14138
14139 resultobj = PyInt_FromLong((long)result);
14140 return resultobj;
14141 fail:
14142 return NULL;
14143 }
14144
14145
14146 static PyObject *_wrap_KeyEvent_m_scanCode_set(PyObject *self, PyObject *args, PyObject *kwargs) {
14147 PyObject *resultobj;
14148 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
14149 bool arg2 ;
14150 PyObject * obj0 = 0 ;
14151 PyObject * obj1 = 0 ;
14152 char *kwnames[] = {
14153 (char *) "self",(char *) "m_scanCode", NULL
14154 };
14155
14156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_scanCode_set",kwnames,&obj0,&obj1)) goto fail;
14157 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14158 arg2 = PyInt_AsLong(obj1) ? true : false;
14159 if (PyErr_Occurred()) SWIG_fail;
14160 if (arg1) (arg1)->m_scanCode = arg2;
14161
14162 Py_INCREF(Py_None); resultobj = Py_None;
14163 return resultobj;
14164 fail:
14165 return NULL;
14166 }
14167
14168
14169 static PyObject *_wrap_KeyEvent_m_scanCode_get(PyObject *self, PyObject *args, PyObject *kwargs) {
14170 PyObject *resultobj;
14171 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
14172 bool result;
14173 PyObject * obj0 = 0 ;
14174 char *kwnames[] = {
14175 (char *) "self", NULL
14176 };
14177
14178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_scanCode_get",kwnames,&obj0)) goto fail;
14179 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14180 result = (bool) ((arg1)->m_scanCode);
14181
14182 resultobj = PyInt_FromLong((long)result);
14183 return resultobj;
14184 fail:
14185 return NULL;
14186 }
14187
14188
14189 static PyObject *_wrap_KeyEvent_m_rawCode_set(PyObject *self, PyObject *args, PyObject *kwargs) {
14190 PyObject *resultobj;
14191 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
14192 unsigned int arg2 ;
14193 PyObject * obj0 = 0 ;
14194 PyObject * obj1 = 0 ;
14195 char *kwnames[] = {
14196 (char *) "self",(char *) "m_rawCode", NULL
14197 };
14198
14199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_rawCode_set",kwnames,&obj0,&obj1)) goto fail;
14200 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14201 arg2 = (unsigned int) PyInt_AsLong(obj1);
14202 if (PyErr_Occurred()) SWIG_fail;
14203 if (arg1) (arg1)->m_rawCode = arg2;
14204
14205 Py_INCREF(Py_None); resultobj = Py_None;
14206 return resultobj;
14207 fail:
14208 return NULL;
14209 }
14210
14211
14212 static PyObject *_wrap_KeyEvent_m_rawCode_get(PyObject *self, PyObject *args, PyObject *kwargs) {
14213 PyObject *resultobj;
14214 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
14215 unsigned int result;
14216 PyObject * obj0 = 0 ;
14217 char *kwnames[] = {
14218 (char *) "self", NULL
14219 };
14220
14221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_rawCode_get",kwnames,&obj0)) goto fail;
14222 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14223 result = (unsigned int) ((arg1)->m_rawCode);
14224
14225 resultobj = PyInt_FromLong((long)result);
14226 return resultobj;
14227 fail:
14228 return NULL;
14229 }
14230
14231
14232 static PyObject *_wrap_KeyEvent_m_rawFlags_set(PyObject *self, PyObject *args, PyObject *kwargs) {
14233 PyObject *resultobj;
14234 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
14235 unsigned int arg2 ;
14236 PyObject * obj0 = 0 ;
14237 PyObject * obj1 = 0 ;
14238 char *kwnames[] = {
14239 (char *) "self",(char *) "m_rawFlags", NULL
14240 };
14241
14242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_rawFlags_set",kwnames,&obj0,&obj1)) goto fail;
14243 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14244 arg2 = (unsigned int) PyInt_AsLong(obj1);
14245 if (PyErr_Occurred()) SWIG_fail;
14246 if (arg1) (arg1)->m_rawFlags = arg2;
14247
14248 Py_INCREF(Py_None); resultobj = Py_None;
14249 return resultobj;
14250 fail:
14251 return NULL;
14252 }
14253
14254
14255 static PyObject *_wrap_KeyEvent_m_rawFlags_get(PyObject *self, PyObject *args, PyObject *kwargs) {
14256 PyObject *resultobj;
14257 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
14258 unsigned int result;
14259 PyObject * obj0 = 0 ;
14260 char *kwnames[] = {
14261 (char *) "self", NULL
14262 };
14263
14264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_rawFlags_get",kwnames,&obj0)) goto fail;
14265 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14266 result = (unsigned int) ((arg1)->m_rawFlags);
14267
14268 resultobj = PyInt_FromLong((long)result);
14269 return resultobj;
14270 fail:
14271 return NULL;
14272 }
14273
14274
14275 static PyObject * KeyEvent_swigregister(PyObject *self, PyObject *args) {
14276 PyObject *obj;
14277 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14278 SWIG_TypeClientData(SWIGTYPE_p_wxKeyEvent, obj);
14279 Py_INCREF(obj);
14280 return Py_BuildValue((char *)"");
14281 }
14282 static PyObject *_wrap_new_SizeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
14283 PyObject *resultobj;
14284 wxSize const &arg1_defvalue = wxDefaultSize ;
14285 wxSize *arg1 = (wxSize *) &arg1_defvalue ;
14286 int arg2 = (int) 0 ;
14287 wxSizeEvent *result;
14288 wxSize temp1 ;
14289 PyObject * obj0 = 0 ;
14290 char *kwnames[] = {
14291 (char *) "sz",(char *) "winid", NULL
14292 };
14293
14294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|Oi:new_SizeEvent",kwnames,&obj0,&arg2)) goto fail;
14295 if (obj0) {
14296 {
14297 arg1 = &temp1;
14298 if ( ! wxSize_helper(obj0, &arg1)) SWIG_fail;
14299 }
14300 }
14301 {
14302 PyThreadState* __tstate = wxPyBeginAllowThreads();
14303 result = (wxSizeEvent *)new wxSizeEvent((wxSize const &)*arg1,arg2);
14304
14305 wxPyEndAllowThreads(__tstate);
14306 if (PyErr_Occurred()) SWIG_fail;
14307 }
14308 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSizeEvent, 1);
14309 return resultobj;
14310 fail:
14311 return NULL;
14312 }
14313
14314
14315 static PyObject *_wrap_SizeEvent_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14316 PyObject *resultobj;
14317 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
14318 wxSize result;
14319 PyObject * obj0 = 0 ;
14320 char *kwnames[] = {
14321 (char *) "self", NULL
14322 };
14323
14324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizeEvent_GetSize",kwnames,&obj0)) goto fail;
14325 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14326 {
14327 PyThreadState* __tstate = wxPyBeginAllowThreads();
14328 result = ((wxSizeEvent const *)arg1)->GetSize();
14329
14330 wxPyEndAllowThreads(__tstate);
14331 if (PyErr_Occurred()) SWIG_fail;
14332 }
14333 {
14334 wxSize * resultptr;
14335 resultptr = new wxSize((wxSize &) result);
14336 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14337 }
14338 return resultobj;
14339 fail:
14340 return NULL;
14341 }
14342
14343
14344 static PyObject *_wrap_SizeEvent_GetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
14345 PyObject *resultobj;
14346 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
14347 wxRect result;
14348 PyObject * obj0 = 0 ;
14349 char *kwnames[] = {
14350 (char *) "self", NULL
14351 };
14352
14353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizeEvent_GetRect",kwnames,&obj0)) goto fail;
14354 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14355 {
14356 PyThreadState* __tstate = wxPyBeginAllowThreads();
14357 result = ((wxSizeEvent const *)arg1)->GetRect();
14358
14359 wxPyEndAllowThreads(__tstate);
14360 if (PyErr_Occurred()) SWIG_fail;
14361 }
14362 {
14363 wxRect * resultptr;
14364 resultptr = new wxRect((wxRect &) result);
14365 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
14366 }
14367 return resultobj;
14368 fail:
14369 return NULL;
14370 }
14371
14372
14373 static PyObject *_wrap_SizeEvent_SetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
14374 PyObject *resultobj;
14375 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
14376 wxRect arg2 ;
14377 wxRect *argp2 ;
14378 PyObject * obj0 = 0 ;
14379 PyObject * obj1 = 0 ;
14380 char *kwnames[] = {
14381 (char *) "self",(char *) "rect", NULL
14382 };
14383
14384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizeEvent_SetRect",kwnames,&obj0,&obj1)) goto fail;
14385 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14386 if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
14387 arg2 = *argp2;
14388 {
14389 PyThreadState* __tstate = wxPyBeginAllowThreads();
14390 (arg1)->SetRect(arg2);
14391
14392 wxPyEndAllowThreads(__tstate);
14393 if (PyErr_Occurred()) SWIG_fail;
14394 }
14395 Py_INCREF(Py_None); resultobj = Py_None;
14396 return resultobj;
14397 fail:
14398 return NULL;
14399 }
14400
14401
14402 static PyObject *_wrap_SizeEvent_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14403 PyObject *resultobj;
14404 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
14405 wxSize arg2 ;
14406 wxSize *argp2 ;
14407 PyObject * obj0 = 0 ;
14408 PyObject * obj1 = 0 ;
14409 char *kwnames[] = {
14410 (char *) "self",(char *) "size", NULL
14411 };
14412
14413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizeEvent_SetSize",kwnames,&obj0,&obj1)) goto fail;
14414 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14415 if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_wxSize,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
14416 arg2 = *argp2;
14417 {
14418 PyThreadState* __tstate = wxPyBeginAllowThreads();
14419 wxSizeEvent_SetSize(arg1,arg2);
14420
14421 wxPyEndAllowThreads(__tstate);
14422 if (PyErr_Occurred()) SWIG_fail;
14423 }
14424 Py_INCREF(Py_None); resultobj = Py_None;
14425 return resultobj;
14426 fail:
14427 return NULL;
14428 }
14429
14430
14431 static PyObject *_wrap_SizeEvent_m_size_set(PyObject *self, PyObject *args, PyObject *kwargs) {
14432 PyObject *resultobj;
14433 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
14434 wxSize *arg2 = (wxSize *) 0 ;
14435 PyObject * obj0 = 0 ;
14436 PyObject * obj1 = 0 ;
14437 char *kwnames[] = {
14438 (char *) "self",(char *) "m_size", NULL
14439 };
14440
14441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizeEvent_m_size_set",kwnames,&obj0,&obj1)) goto fail;
14442 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14443 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxSize,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14444 if (arg1) (arg1)->m_size = *arg2;
14445
14446 Py_INCREF(Py_None); resultobj = Py_None;
14447 return resultobj;
14448 fail:
14449 return NULL;
14450 }
14451
14452
14453 static PyObject *_wrap_SizeEvent_m_size_get(PyObject *self, PyObject *args, PyObject *kwargs) {
14454 PyObject *resultobj;
14455 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
14456 wxSize *result;
14457 PyObject * obj0 = 0 ;
14458 char *kwnames[] = {
14459 (char *) "self", NULL
14460 };
14461
14462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizeEvent_m_size_get",kwnames,&obj0)) goto fail;
14463 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14464 result = (wxSize *)& ((arg1)->m_size);
14465
14466 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSize, 0);
14467 return resultobj;
14468 fail:
14469 return NULL;
14470 }
14471
14472
14473 static PyObject *_wrap_SizeEvent_m_rect_set(PyObject *self, PyObject *args, PyObject *kwargs) {
14474 PyObject *resultobj;
14475 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
14476 wxRect *arg2 = (wxRect *) 0 ;
14477 PyObject * obj0 = 0 ;
14478 PyObject * obj1 = 0 ;
14479 char *kwnames[] = {
14480 (char *) "self",(char *) "m_rect", NULL
14481 };
14482
14483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizeEvent_m_rect_set",kwnames,&obj0,&obj1)) goto fail;
14484 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14485 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14486 if (arg1) (arg1)->m_rect = *arg2;
14487
14488 Py_INCREF(Py_None); resultobj = Py_None;
14489 return resultobj;
14490 fail:
14491 return NULL;
14492 }
14493
14494
14495 static PyObject *_wrap_SizeEvent_m_rect_get(PyObject *self, PyObject *args, PyObject *kwargs) {
14496 PyObject *resultobj;
14497 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
14498 wxRect *result;
14499 PyObject * obj0 = 0 ;
14500 char *kwnames[] = {
14501 (char *) "self", NULL
14502 };
14503
14504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizeEvent_m_rect_get",kwnames,&obj0)) goto fail;
14505 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14506 result = (wxRect *)& ((arg1)->m_rect);
14507
14508 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRect, 0);
14509 return resultobj;
14510 fail:
14511 return NULL;
14512 }
14513
14514
14515 static PyObject * SizeEvent_swigregister(PyObject *self, PyObject *args) {
14516 PyObject *obj;
14517 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14518 SWIG_TypeClientData(SWIGTYPE_p_wxSizeEvent, obj);
14519 Py_INCREF(obj);
14520 return Py_BuildValue((char *)"");
14521 }
14522 static PyObject *_wrap_new_MoveEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
14523 PyObject *resultobj;
14524 wxPoint const &arg1_defvalue = wxDefaultPosition ;
14525 wxPoint *arg1 = (wxPoint *) &arg1_defvalue ;
14526 int arg2 = (int) 0 ;
14527 wxMoveEvent *result;
14528 wxPoint temp1 ;
14529 PyObject * obj0 = 0 ;
14530 char *kwnames[] = {
14531 (char *) "pos",(char *) "winid", NULL
14532 };
14533
14534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|Oi:new_MoveEvent",kwnames,&obj0,&arg2)) goto fail;
14535 if (obj0) {
14536 {
14537 arg1 = &temp1;
14538 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
14539 }
14540 }
14541 {
14542 PyThreadState* __tstate = wxPyBeginAllowThreads();
14543 result = (wxMoveEvent *)new wxMoveEvent((wxPoint const &)*arg1,arg2);
14544
14545 wxPyEndAllowThreads(__tstate);
14546 if (PyErr_Occurred()) SWIG_fail;
14547 }
14548 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMoveEvent, 1);
14549 return resultobj;
14550 fail:
14551 return NULL;
14552 }
14553
14554
14555 static PyObject *_wrap_MoveEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
14556 PyObject *resultobj;
14557 wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
14558 wxPoint result;
14559 PyObject * obj0 = 0 ;
14560 char *kwnames[] = {
14561 (char *) "self", NULL
14562 };
14563
14564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MoveEvent_GetPosition",kwnames,&obj0)) goto fail;
14565 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMoveEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14566 {
14567 PyThreadState* __tstate = wxPyBeginAllowThreads();
14568 result = ((wxMoveEvent const *)arg1)->GetPosition();
14569
14570 wxPyEndAllowThreads(__tstate);
14571 if (PyErr_Occurred()) SWIG_fail;
14572 }
14573 {
14574 wxPoint * resultptr;
14575 resultptr = new wxPoint((wxPoint &) result);
14576 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
14577 }
14578 return resultobj;
14579 fail:
14580 return NULL;
14581 }
14582
14583
14584 static PyObject *_wrap_MoveEvent_GetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
14585 PyObject *resultobj;
14586 wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
14587 wxRect result;
14588 PyObject * obj0 = 0 ;
14589 char *kwnames[] = {
14590 (char *) "self", NULL
14591 };
14592
14593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MoveEvent_GetRect",kwnames,&obj0)) goto fail;
14594 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMoveEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14595 {
14596 PyThreadState* __tstate = wxPyBeginAllowThreads();
14597 result = ((wxMoveEvent const *)arg1)->GetRect();
14598
14599 wxPyEndAllowThreads(__tstate);
14600 if (PyErr_Occurred()) SWIG_fail;
14601 }
14602 {
14603 wxRect * resultptr;
14604 resultptr = new wxRect((wxRect &) result);
14605 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
14606 }
14607 return resultobj;
14608 fail:
14609 return NULL;
14610 }
14611
14612
14613 static PyObject *_wrap_MoveEvent_SetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
14614 PyObject *resultobj;
14615 wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
14616 wxRect arg2 ;
14617 wxRect *argp2 ;
14618 PyObject * obj0 = 0 ;
14619 PyObject * obj1 = 0 ;
14620 char *kwnames[] = {
14621 (char *) "self",(char *) "rect", NULL
14622 };
14623
14624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MoveEvent_SetRect",kwnames,&obj0,&obj1)) goto fail;
14625 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMoveEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14626 if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
14627 arg2 = *argp2;
14628 {
14629 PyThreadState* __tstate = wxPyBeginAllowThreads();
14630 (arg1)->SetRect(arg2);
14631
14632 wxPyEndAllowThreads(__tstate);
14633 if (PyErr_Occurred()) SWIG_fail;
14634 }
14635 Py_INCREF(Py_None); resultobj = Py_None;
14636 return resultobj;
14637 fail:
14638 return NULL;
14639 }
14640
14641
14642 static PyObject *_wrap_MoveEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
14643 PyObject *resultobj;
14644 wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
14645 wxPoint arg2 ;
14646 wxPoint *argp2 ;
14647 PyObject * obj0 = 0 ;
14648 PyObject * obj1 = 0 ;
14649 char *kwnames[] = {
14650 (char *) "self",(char *) "pos", NULL
14651 };
14652
14653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MoveEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
14654 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMoveEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14655 if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
14656 arg2 = *argp2;
14657 {
14658 PyThreadState* __tstate = wxPyBeginAllowThreads();
14659 wxMoveEvent_SetPosition(arg1,arg2);
14660
14661 wxPyEndAllowThreads(__tstate);
14662 if (PyErr_Occurred()) SWIG_fail;
14663 }
14664 Py_INCREF(Py_None); resultobj = Py_None;
14665 return resultobj;
14666 fail:
14667 return NULL;
14668 }
14669
14670
14671 static PyObject *_wrap_MoveEvent_m_pos_set(PyObject *self, PyObject *args, PyObject *kwargs) {
14672 PyObject *resultobj;
14673 wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
14674 wxPoint *arg2 = (wxPoint *) 0 ;
14675 PyObject * obj0 = 0 ;
14676 PyObject * obj1 = 0 ;
14677 char *kwnames[] = {
14678 (char *) "self",(char *) "m_pos", NULL
14679 };
14680
14681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MoveEvent_m_pos_set",kwnames,&obj0,&obj1)) goto fail;
14682 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMoveEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14683 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14684 if (arg1) (arg1)->m_pos = *arg2;
14685
14686 Py_INCREF(Py_None); resultobj = Py_None;
14687 return resultobj;
14688 fail:
14689 return NULL;
14690 }
14691
14692
14693 static PyObject *_wrap_MoveEvent_m_pos_get(PyObject *self, PyObject *args, PyObject *kwargs) {
14694 PyObject *resultobj;
14695 wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
14696 wxPoint *result;
14697 PyObject * obj0 = 0 ;
14698 char *kwnames[] = {
14699 (char *) "self", NULL
14700 };
14701
14702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MoveEvent_m_pos_get",kwnames,&obj0)) goto fail;
14703 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMoveEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14704 result = (wxPoint *)& ((arg1)->m_pos);
14705
14706 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint, 0);
14707 return resultobj;
14708 fail:
14709 return NULL;
14710 }
14711
14712
14713 static PyObject *_wrap_MoveEvent_m_rect_set(PyObject *self, PyObject *args, PyObject *kwargs) {
14714 PyObject *resultobj;
14715 wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
14716 wxRect *arg2 = (wxRect *) 0 ;
14717 PyObject * obj0 = 0 ;
14718 PyObject * obj1 = 0 ;
14719 char *kwnames[] = {
14720 (char *) "self",(char *) "m_rect", NULL
14721 };
14722
14723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MoveEvent_m_rect_set",kwnames,&obj0,&obj1)) goto fail;
14724 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMoveEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14725 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14726 if (arg1) (arg1)->m_rect = *arg2;
14727
14728 Py_INCREF(Py_None); resultobj = Py_None;
14729 return resultobj;
14730 fail:
14731 return NULL;
14732 }
14733
14734
14735 static PyObject *_wrap_MoveEvent_m_rect_get(PyObject *self, PyObject *args, PyObject *kwargs) {
14736 PyObject *resultobj;
14737 wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
14738 wxRect *result;
14739 PyObject * obj0 = 0 ;
14740 char *kwnames[] = {
14741 (char *) "self", NULL
14742 };
14743
14744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MoveEvent_m_rect_get",kwnames,&obj0)) goto fail;
14745 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMoveEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14746 result = (wxRect *)& ((arg1)->m_rect);
14747
14748 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRect, 0);
14749 return resultobj;
14750 fail:
14751 return NULL;
14752 }
14753
14754
14755 static PyObject * MoveEvent_swigregister(PyObject *self, PyObject *args) {
14756 PyObject *obj;
14757 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14758 SWIG_TypeClientData(SWIGTYPE_p_wxMoveEvent, obj);
14759 Py_INCREF(obj);
14760 return Py_BuildValue((char *)"");
14761 }
14762 static PyObject *_wrap_new_PaintEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
14763 PyObject *resultobj;
14764 int arg1 = (int) 0 ;
14765 wxPaintEvent *result;
14766 char *kwnames[] = {
14767 (char *) "Id", NULL
14768 };
14769
14770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:new_PaintEvent",kwnames,&arg1)) goto fail;
14771 {
14772 PyThreadState* __tstate = wxPyBeginAllowThreads();
14773 result = (wxPaintEvent *)new wxPaintEvent(arg1);
14774
14775 wxPyEndAllowThreads(__tstate);
14776 if (PyErr_Occurred()) SWIG_fail;
14777 }
14778 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPaintEvent, 1);
14779 return resultobj;
14780 fail:
14781 return NULL;
14782 }
14783
14784
14785 static PyObject * PaintEvent_swigregister(PyObject *self, PyObject *args) {
14786 PyObject *obj;
14787 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14788 SWIG_TypeClientData(SWIGTYPE_p_wxPaintEvent, obj);
14789 Py_INCREF(obj);
14790 return Py_BuildValue((char *)"");
14791 }
14792 static PyObject *_wrap_new_NcPaintEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
14793 PyObject *resultobj;
14794 int arg1 = (int) 0 ;
14795 wxNcPaintEvent *result;
14796 char *kwnames[] = {
14797 (char *) "winid", NULL
14798 };
14799
14800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:new_NcPaintEvent",kwnames,&arg1)) goto fail;
14801 {
14802 PyThreadState* __tstate = wxPyBeginAllowThreads();
14803 result = (wxNcPaintEvent *)new wxNcPaintEvent(arg1);
14804
14805 wxPyEndAllowThreads(__tstate);
14806 if (PyErr_Occurred()) SWIG_fail;
14807 }
14808 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxNcPaintEvent, 1);
14809 return resultobj;
14810 fail:
14811 return NULL;
14812 }
14813
14814
14815 static PyObject * NcPaintEvent_swigregister(PyObject *self, PyObject *args) {
14816 PyObject *obj;
14817 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14818 SWIG_TypeClientData(SWIGTYPE_p_wxNcPaintEvent, obj);
14819 Py_INCREF(obj);
14820 return Py_BuildValue((char *)"");
14821 }
14822 static PyObject *_wrap_new_EraseEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
14823 PyObject *resultobj;
14824 int arg1 = (int) 0 ;
14825 wxDC *arg2 = (wxDC *) (wxDC *) NULL ;
14826 wxEraseEvent *result;
14827 PyObject * obj1 = 0 ;
14828 char *kwnames[] = {
14829 (char *) "Id",(char *) "dc", NULL
14830 };
14831
14832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iO:new_EraseEvent",kwnames,&arg1,&obj1)) goto fail;
14833 if (obj1) {
14834 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14835 }
14836 {
14837 PyThreadState* __tstate = wxPyBeginAllowThreads();
14838 result = (wxEraseEvent *)new wxEraseEvent(arg1,arg2);
14839
14840 wxPyEndAllowThreads(__tstate);
14841 if (PyErr_Occurred()) SWIG_fail;
14842 }
14843 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxEraseEvent, 1);
14844 return resultobj;
14845 fail:
14846 return NULL;
14847 }
14848
14849
14850 static PyObject *_wrap_EraseEvent_GetDC(PyObject *self, PyObject *args, PyObject *kwargs) {
14851 PyObject *resultobj;
14852 wxEraseEvent *arg1 = (wxEraseEvent *) 0 ;
14853 wxDC *result;
14854 PyObject * obj0 = 0 ;
14855 char *kwnames[] = {
14856 (char *) "self", NULL
14857 };
14858
14859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EraseEvent_GetDC",kwnames,&obj0)) goto fail;
14860 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEraseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14861 {
14862 PyThreadState* __tstate = wxPyBeginAllowThreads();
14863 result = (wxDC *)((wxEraseEvent const *)arg1)->GetDC();
14864
14865 wxPyEndAllowThreads(__tstate);
14866 if (PyErr_Occurred()) SWIG_fail;
14867 }
14868 {
14869 resultobj = wxPyMake_wxObject(result);
14870 }
14871 return resultobj;
14872 fail:
14873 return NULL;
14874 }
14875
14876
14877 static PyObject * EraseEvent_swigregister(PyObject *self, PyObject *args) {
14878 PyObject *obj;
14879 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14880 SWIG_TypeClientData(SWIGTYPE_p_wxEraseEvent, obj);
14881 Py_INCREF(obj);
14882 return Py_BuildValue((char *)"");
14883 }
14884 static PyObject *_wrap_new_FocusEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
14885 PyObject *resultobj;
14886 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
14887 int arg2 = (int) 0 ;
14888 wxFocusEvent *result;
14889 char *kwnames[] = {
14890 (char *) "type",(char *) "winid", NULL
14891 };
14892
14893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_FocusEvent",kwnames,&arg1,&arg2)) goto fail;
14894 {
14895 PyThreadState* __tstate = wxPyBeginAllowThreads();
14896 result = (wxFocusEvent *)new wxFocusEvent(arg1,arg2);
14897
14898 wxPyEndAllowThreads(__tstate);
14899 if (PyErr_Occurred()) SWIG_fail;
14900 }
14901 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFocusEvent, 1);
14902 return resultobj;
14903 fail:
14904 return NULL;
14905 }
14906
14907
14908 static PyObject *_wrap_FocusEvent_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14909 PyObject *resultobj;
14910 wxFocusEvent *arg1 = (wxFocusEvent *) 0 ;
14911 wxWindow *result;
14912 PyObject * obj0 = 0 ;
14913 char *kwnames[] = {
14914 (char *) "self", NULL
14915 };
14916
14917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FocusEvent_GetWindow",kwnames,&obj0)) goto fail;
14918 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFocusEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14919 {
14920 PyThreadState* __tstate = wxPyBeginAllowThreads();
14921 result = (wxWindow *)((wxFocusEvent const *)arg1)->GetWindow();
14922
14923 wxPyEndAllowThreads(__tstate);
14924 if (PyErr_Occurred()) SWIG_fail;
14925 }
14926 {
14927 resultobj = wxPyMake_wxObject(result);
14928 }
14929 return resultobj;
14930 fail:
14931 return NULL;
14932 }
14933
14934
14935 static PyObject *_wrap_FocusEvent_SetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14936 PyObject *resultobj;
14937 wxFocusEvent *arg1 = (wxFocusEvent *) 0 ;
14938 wxWindow *arg2 = (wxWindow *) 0 ;
14939 PyObject * obj0 = 0 ;
14940 PyObject * obj1 = 0 ;
14941 char *kwnames[] = {
14942 (char *) "self",(char *) "win", NULL
14943 };
14944
14945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FocusEvent_SetWindow",kwnames,&obj0,&obj1)) goto fail;
14946 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFocusEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14947 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14948 {
14949 PyThreadState* __tstate = wxPyBeginAllowThreads();
14950 (arg1)->SetWindow(arg2);
14951
14952 wxPyEndAllowThreads(__tstate);
14953 if (PyErr_Occurred()) SWIG_fail;
14954 }
14955 Py_INCREF(Py_None); resultobj = Py_None;
14956 return resultobj;
14957 fail:
14958 return NULL;
14959 }
14960
14961
14962 static PyObject * FocusEvent_swigregister(PyObject *self, PyObject *args) {
14963 PyObject *obj;
14964 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14965 SWIG_TypeClientData(SWIGTYPE_p_wxFocusEvent, obj);
14966 Py_INCREF(obj);
14967 return Py_BuildValue((char *)"");
14968 }
14969 static PyObject *_wrap_new_ChildFocusEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
14970 PyObject *resultobj;
14971 wxWindow *arg1 = (wxWindow *) NULL ;
14972 wxChildFocusEvent *result;
14973 PyObject * obj0 = 0 ;
14974 char *kwnames[] = {
14975 (char *) "win", NULL
14976 };
14977
14978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_ChildFocusEvent",kwnames,&obj0)) goto fail;
14979 if (obj0) {
14980 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14981 }
14982 {
14983 PyThreadState* __tstate = wxPyBeginAllowThreads();
14984 result = (wxChildFocusEvent *)new wxChildFocusEvent(arg1);
14985
14986 wxPyEndAllowThreads(__tstate);
14987 if (PyErr_Occurred()) SWIG_fail;
14988 }
14989 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxChildFocusEvent, 1);
14990 return resultobj;
14991 fail:
14992 return NULL;
14993 }
14994
14995
14996 static PyObject *_wrap_ChildFocusEvent_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14997 PyObject *resultobj;
14998 wxChildFocusEvent *arg1 = (wxChildFocusEvent *) 0 ;
14999 wxWindow *result;
15000 PyObject * obj0 = 0 ;
15001 char *kwnames[] = {
15002 (char *) "self", NULL
15003 };
15004
15005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ChildFocusEvent_GetWindow",kwnames,&obj0)) goto fail;
15006 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChildFocusEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15007 {
15008 PyThreadState* __tstate = wxPyBeginAllowThreads();
15009 result = (wxWindow *)((wxChildFocusEvent const *)arg1)->GetWindow();
15010
15011 wxPyEndAllowThreads(__tstate);
15012 if (PyErr_Occurred()) SWIG_fail;
15013 }
15014 {
15015 resultobj = wxPyMake_wxObject(result);
15016 }
15017 return resultobj;
15018 fail:
15019 return NULL;
15020 }
15021
15022
15023 static PyObject * ChildFocusEvent_swigregister(PyObject *self, PyObject *args) {
15024 PyObject *obj;
15025 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15026 SWIG_TypeClientData(SWIGTYPE_p_wxChildFocusEvent, obj);
15027 Py_INCREF(obj);
15028 return Py_BuildValue((char *)"");
15029 }
15030 static PyObject *_wrap_new_ActivateEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
15031 PyObject *resultobj;
15032 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
15033 bool arg2 = (bool) True ;
15034 int arg3 = (int) 0 ;
15035 wxActivateEvent *result;
15036 PyObject * obj1 = 0 ;
15037 char *kwnames[] = {
15038 (char *) "type",(char *) "active",(char *) "Id", NULL
15039 };
15040
15041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iOi:new_ActivateEvent",kwnames,&arg1,&obj1,&arg3)) goto fail;
15042 if (obj1) {
15043 arg2 = PyInt_AsLong(obj1) ? true : false;
15044 if (PyErr_Occurred()) SWIG_fail;
15045 }
15046 {
15047 PyThreadState* __tstate = wxPyBeginAllowThreads();
15048 result = (wxActivateEvent *)new wxActivateEvent(arg1,arg2,arg3);
15049
15050 wxPyEndAllowThreads(__tstate);
15051 if (PyErr_Occurred()) SWIG_fail;
15052 }
15053 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxActivateEvent, 1);
15054 return resultobj;
15055 fail:
15056 return NULL;
15057 }
15058
15059
15060 static PyObject *_wrap_ActivateEvent_GetActive(PyObject *self, PyObject *args, PyObject *kwargs) {
15061 PyObject *resultobj;
15062 wxActivateEvent *arg1 = (wxActivateEvent *) 0 ;
15063 bool result;
15064 PyObject * obj0 = 0 ;
15065 char *kwnames[] = {
15066 (char *) "self", NULL
15067 };
15068
15069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ActivateEvent_GetActive",kwnames,&obj0)) goto fail;
15070 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxActivateEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15071 {
15072 PyThreadState* __tstate = wxPyBeginAllowThreads();
15073 result = (bool)((wxActivateEvent const *)arg1)->GetActive();
15074
15075 wxPyEndAllowThreads(__tstate);
15076 if (PyErr_Occurred()) SWIG_fail;
15077 }
15078 resultobj = PyInt_FromLong((long)result);
15079 return resultobj;
15080 fail:
15081 return NULL;
15082 }
15083
15084
15085 static PyObject * ActivateEvent_swigregister(PyObject *self, PyObject *args) {
15086 PyObject *obj;
15087 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15088 SWIG_TypeClientData(SWIGTYPE_p_wxActivateEvent, obj);
15089 Py_INCREF(obj);
15090 return Py_BuildValue((char *)"");
15091 }
15092 static PyObject *_wrap_new_InitDialogEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
15093 PyObject *resultobj;
15094 int arg1 = (int) 0 ;
15095 wxInitDialogEvent *result;
15096 char *kwnames[] = {
15097 (char *) "Id", NULL
15098 };
15099
15100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:new_InitDialogEvent",kwnames,&arg1)) goto fail;
15101 {
15102 PyThreadState* __tstate = wxPyBeginAllowThreads();
15103 result = (wxInitDialogEvent *)new wxInitDialogEvent(arg1);
15104
15105 wxPyEndAllowThreads(__tstate);
15106 if (PyErr_Occurred()) SWIG_fail;
15107 }
15108 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxInitDialogEvent, 1);
15109 return resultobj;
15110 fail:
15111 return NULL;
15112 }
15113
15114
15115 static PyObject * InitDialogEvent_swigregister(PyObject *self, PyObject *args) {
15116 PyObject *obj;
15117 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15118 SWIG_TypeClientData(SWIGTYPE_p_wxInitDialogEvent, obj);
15119 Py_INCREF(obj);
15120 return Py_BuildValue((char *)"");
15121 }
15122 static PyObject *_wrap_new_MenuEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
15123 PyObject *resultobj;
15124 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
15125 int arg2 = (int) 0 ;
15126 wxMenu *arg3 = (wxMenu *) NULL ;
15127 wxMenuEvent *result;
15128 PyObject * obj2 = 0 ;
15129 char *kwnames[] = {
15130 (char *) "type",(char *) "winid",(char *) "menu", NULL
15131 };
15132
15133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iiO:new_MenuEvent",kwnames,&arg1,&arg2,&obj2)) goto fail;
15134 if (obj2) {
15135 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15136 }
15137 {
15138 PyThreadState* __tstate = wxPyBeginAllowThreads();
15139 result = (wxMenuEvent *)new wxMenuEvent(arg1,arg2,arg3);
15140
15141 wxPyEndAllowThreads(__tstate);
15142 if (PyErr_Occurred()) SWIG_fail;
15143 }
15144 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMenuEvent, 1);
15145 return resultobj;
15146 fail:
15147 return NULL;
15148 }
15149
15150
15151 static PyObject *_wrap_MenuEvent_GetMenuId(PyObject *self, PyObject *args, PyObject *kwargs) {
15152 PyObject *resultobj;
15153 wxMenuEvent *arg1 = (wxMenuEvent *) 0 ;
15154 int result;
15155 PyObject * obj0 = 0 ;
15156 char *kwnames[] = {
15157 (char *) "self", NULL
15158 };
15159
15160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuEvent_GetMenuId",kwnames,&obj0)) goto fail;
15161 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15162 {
15163 PyThreadState* __tstate = wxPyBeginAllowThreads();
15164 result = (int)((wxMenuEvent const *)arg1)->GetMenuId();
15165
15166 wxPyEndAllowThreads(__tstate);
15167 if (PyErr_Occurred()) SWIG_fail;
15168 }
15169 resultobj = PyInt_FromLong((long)result);
15170 return resultobj;
15171 fail:
15172 return NULL;
15173 }
15174
15175
15176 static PyObject *_wrap_MenuEvent_IsPopup(PyObject *self, PyObject *args, PyObject *kwargs) {
15177 PyObject *resultobj;
15178 wxMenuEvent *arg1 = (wxMenuEvent *) 0 ;
15179 bool result;
15180 PyObject * obj0 = 0 ;
15181 char *kwnames[] = {
15182 (char *) "self", NULL
15183 };
15184
15185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuEvent_IsPopup",kwnames,&obj0)) goto fail;
15186 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15187 {
15188 PyThreadState* __tstate = wxPyBeginAllowThreads();
15189 result = (bool)((wxMenuEvent const *)arg1)->IsPopup();
15190
15191 wxPyEndAllowThreads(__tstate);
15192 if (PyErr_Occurred()) SWIG_fail;
15193 }
15194 resultobj = PyInt_FromLong((long)result);
15195 return resultobj;
15196 fail:
15197 return NULL;
15198 }
15199
15200
15201 static PyObject *_wrap_MenuEvent_GetMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
15202 PyObject *resultobj;
15203 wxMenuEvent *arg1 = (wxMenuEvent *) 0 ;
15204 wxMenu *result;
15205 PyObject * obj0 = 0 ;
15206 char *kwnames[] = {
15207 (char *) "self", NULL
15208 };
15209
15210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuEvent_GetMenu",kwnames,&obj0)) goto fail;
15211 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15212 {
15213 PyThreadState* __tstate = wxPyBeginAllowThreads();
15214 result = (wxMenu *)((wxMenuEvent const *)arg1)->GetMenu();
15215
15216 wxPyEndAllowThreads(__tstate);
15217 if (PyErr_Occurred()) SWIG_fail;
15218 }
15219 {
15220 resultobj = wxPyMake_wxObject(result);
15221 }
15222 return resultobj;
15223 fail:
15224 return NULL;
15225 }
15226
15227
15228 static PyObject * MenuEvent_swigregister(PyObject *self, PyObject *args) {
15229 PyObject *obj;
15230 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15231 SWIG_TypeClientData(SWIGTYPE_p_wxMenuEvent, obj);
15232 Py_INCREF(obj);
15233 return Py_BuildValue((char *)"");
15234 }
15235 static PyObject *_wrap_new_CloseEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
15236 PyObject *resultobj;
15237 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
15238 int arg2 = (int) 0 ;
15239 wxCloseEvent *result;
15240 char *kwnames[] = {
15241 (char *) "type",(char *) "winid", NULL
15242 };
15243
15244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_CloseEvent",kwnames,&arg1,&arg2)) goto fail;
15245 {
15246 PyThreadState* __tstate = wxPyBeginAllowThreads();
15247 result = (wxCloseEvent *)new wxCloseEvent(arg1,arg2);
15248
15249 wxPyEndAllowThreads(__tstate);
15250 if (PyErr_Occurred()) SWIG_fail;
15251 }
15252 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCloseEvent, 1);
15253 return resultobj;
15254 fail:
15255 return NULL;
15256 }
15257
15258
15259 static PyObject *_wrap_CloseEvent_SetLoggingOff(PyObject *self, PyObject *args, PyObject *kwargs) {
15260 PyObject *resultobj;
15261 wxCloseEvent *arg1 = (wxCloseEvent *) 0 ;
15262 bool arg2 ;
15263 PyObject * obj0 = 0 ;
15264 PyObject * obj1 = 0 ;
15265 char *kwnames[] = {
15266 (char *) "self",(char *) "logOff", NULL
15267 };
15268
15269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CloseEvent_SetLoggingOff",kwnames,&obj0,&obj1)) goto fail;
15270 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCloseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15271 arg2 = PyInt_AsLong(obj1) ? true : false;
15272 if (PyErr_Occurred()) SWIG_fail;
15273 {
15274 PyThreadState* __tstate = wxPyBeginAllowThreads();
15275 (arg1)->SetLoggingOff(arg2);
15276
15277 wxPyEndAllowThreads(__tstate);
15278 if (PyErr_Occurred()) SWIG_fail;
15279 }
15280 Py_INCREF(Py_None); resultobj = Py_None;
15281 return resultobj;
15282 fail:
15283 return NULL;
15284 }
15285
15286
15287 static PyObject *_wrap_CloseEvent_GetLoggingOff(PyObject *self, PyObject *args, PyObject *kwargs) {
15288 PyObject *resultobj;
15289 wxCloseEvent *arg1 = (wxCloseEvent *) 0 ;
15290 bool result;
15291 PyObject * obj0 = 0 ;
15292 char *kwnames[] = {
15293 (char *) "self", NULL
15294 };
15295
15296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CloseEvent_GetLoggingOff",kwnames,&obj0)) goto fail;
15297 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCloseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15298 {
15299 PyThreadState* __tstate = wxPyBeginAllowThreads();
15300 result = (bool)((wxCloseEvent const *)arg1)->GetLoggingOff();
15301
15302 wxPyEndAllowThreads(__tstate);
15303 if (PyErr_Occurred()) SWIG_fail;
15304 }
15305 resultobj = PyInt_FromLong((long)result);
15306 return resultobj;
15307 fail:
15308 return NULL;
15309 }
15310
15311
15312 static PyObject *_wrap_CloseEvent_Veto(PyObject *self, PyObject *args, PyObject *kwargs) {
15313 PyObject *resultobj;
15314 wxCloseEvent *arg1 = (wxCloseEvent *) 0 ;
15315 bool arg2 = (bool) True ;
15316 PyObject * obj0 = 0 ;
15317 PyObject * obj1 = 0 ;
15318 char *kwnames[] = {
15319 (char *) "self",(char *) "veto", NULL
15320 };
15321
15322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:CloseEvent_Veto",kwnames,&obj0,&obj1)) goto fail;
15323 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCloseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15324 if (obj1) {
15325 arg2 = PyInt_AsLong(obj1) ? true : false;
15326 if (PyErr_Occurred()) SWIG_fail;
15327 }
15328 {
15329 PyThreadState* __tstate = wxPyBeginAllowThreads();
15330 (arg1)->Veto(arg2);
15331
15332 wxPyEndAllowThreads(__tstate);
15333 if (PyErr_Occurred()) SWIG_fail;
15334 }
15335 Py_INCREF(Py_None); resultobj = Py_None;
15336 return resultobj;
15337 fail:
15338 return NULL;
15339 }
15340
15341
15342 static PyObject *_wrap_CloseEvent_SetCanVeto(PyObject *self, PyObject *args, PyObject *kwargs) {
15343 PyObject *resultobj;
15344 wxCloseEvent *arg1 = (wxCloseEvent *) 0 ;
15345 bool arg2 ;
15346 PyObject * obj0 = 0 ;
15347 PyObject * obj1 = 0 ;
15348 char *kwnames[] = {
15349 (char *) "self",(char *) "canVeto", NULL
15350 };
15351
15352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CloseEvent_SetCanVeto",kwnames,&obj0,&obj1)) goto fail;
15353 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCloseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15354 arg2 = PyInt_AsLong(obj1) ? true : false;
15355 if (PyErr_Occurred()) SWIG_fail;
15356 {
15357 PyThreadState* __tstate = wxPyBeginAllowThreads();
15358 (arg1)->SetCanVeto(arg2);
15359
15360 wxPyEndAllowThreads(__tstate);
15361 if (PyErr_Occurred()) SWIG_fail;
15362 }
15363 Py_INCREF(Py_None); resultobj = Py_None;
15364 return resultobj;
15365 fail:
15366 return NULL;
15367 }
15368
15369
15370 static PyObject *_wrap_CloseEvent_CanVeto(PyObject *self, PyObject *args, PyObject *kwargs) {
15371 PyObject *resultobj;
15372 wxCloseEvent *arg1 = (wxCloseEvent *) 0 ;
15373 bool result;
15374 PyObject * obj0 = 0 ;
15375 char *kwnames[] = {
15376 (char *) "self", NULL
15377 };
15378
15379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CloseEvent_CanVeto",kwnames,&obj0)) goto fail;
15380 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCloseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15381 {
15382 PyThreadState* __tstate = wxPyBeginAllowThreads();
15383 result = (bool)((wxCloseEvent const *)arg1)->CanVeto();
15384
15385 wxPyEndAllowThreads(__tstate);
15386 if (PyErr_Occurred()) SWIG_fail;
15387 }
15388 resultobj = PyInt_FromLong((long)result);
15389 return resultobj;
15390 fail:
15391 return NULL;
15392 }
15393
15394
15395 static PyObject *_wrap_CloseEvent_GetVeto(PyObject *self, PyObject *args, PyObject *kwargs) {
15396 PyObject *resultobj;
15397 wxCloseEvent *arg1 = (wxCloseEvent *) 0 ;
15398 bool result;
15399 PyObject * obj0 = 0 ;
15400 char *kwnames[] = {
15401 (char *) "self", NULL
15402 };
15403
15404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CloseEvent_GetVeto",kwnames,&obj0)) goto fail;
15405 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCloseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15406 {
15407 PyThreadState* __tstate = wxPyBeginAllowThreads();
15408 result = (bool)((wxCloseEvent const *)arg1)->GetVeto();
15409
15410 wxPyEndAllowThreads(__tstate);
15411 if (PyErr_Occurred()) SWIG_fail;
15412 }
15413 resultobj = PyInt_FromLong((long)result);
15414 return resultobj;
15415 fail:
15416 return NULL;
15417 }
15418
15419
15420 static PyObject * CloseEvent_swigregister(PyObject *self, PyObject *args) {
15421 PyObject *obj;
15422 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15423 SWIG_TypeClientData(SWIGTYPE_p_wxCloseEvent, obj);
15424 Py_INCREF(obj);
15425 return Py_BuildValue((char *)"");
15426 }
15427 static PyObject *_wrap_new_ShowEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
15428 PyObject *resultobj;
15429 int arg1 = (int) 0 ;
15430 bool arg2 = (bool) False ;
15431 wxShowEvent *result;
15432 PyObject * obj1 = 0 ;
15433 char *kwnames[] = {
15434 (char *) "winid",(char *) "show", NULL
15435 };
15436
15437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iO:new_ShowEvent",kwnames,&arg1,&obj1)) goto fail;
15438 if (obj1) {
15439 arg2 = PyInt_AsLong(obj1) ? true : false;
15440 if (PyErr_Occurred()) SWIG_fail;
15441 }
15442 {
15443 PyThreadState* __tstate = wxPyBeginAllowThreads();
15444 result = (wxShowEvent *)new wxShowEvent(arg1,arg2);
15445
15446 wxPyEndAllowThreads(__tstate);
15447 if (PyErr_Occurred()) SWIG_fail;
15448 }
15449 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxShowEvent, 1);
15450 return resultobj;
15451 fail:
15452 return NULL;
15453 }
15454
15455
15456 static PyObject *_wrap_ShowEvent_SetShow(PyObject *self, PyObject *args, PyObject *kwargs) {
15457 PyObject *resultobj;
15458 wxShowEvent *arg1 = (wxShowEvent *) 0 ;
15459 bool arg2 ;
15460 PyObject * obj0 = 0 ;
15461 PyObject * obj1 = 0 ;
15462 char *kwnames[] = {
15463 (char *) "self",(char *) "show", NULL
15464 };
15465
15466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ShowEvent_SetShow",kwnames,&obj0,&obj1)) goto fail;
15467 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxShowEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15468 arg2 = PyInt_AsLong(obj1) ? true : false;
15469 if (PyErr_Occurred()) SWIG_fail;
15470 {
15471 PyThreadState* __tstate = wxPyBeginAllowThreads();
15472 (arg1)->SetShow(arg2);
15473
15474 wxPyEndAllowThreads(__tstate);
15475 if (PyErr_Occurred()) SWIG_fail;
15476 }
15477 Py_INCREF(Py_None); resultobj = Py_None;
15478 return resultobj;
15479 fail:
15480 return NULL;
15481 }
15482
15483
15484 static PyObject *_wrap_ShowEvent_GetShow(PyObject *self, PyObject *args, PyObject *kwargs) {
15485 PyObject *resultobj;
15486 wxShowEvent *arg1 = (wxShowEvent *) 0 ;
15487 bool result;
15488 PyObject * obj0 = 0 ;
15489 char *kwnames[] = {
15490 (char *) "self", NULL
15491 };
15492
15493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShowEvent_GetShow",kwnames,&obj0)) goto fail;
15494 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxShowEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15495 {
15496 PyThreadState* __tstate = wxPyBeginAllowThreads();
15497 result = (bool)((wxShowEvent const *)arg1)->GetShow();
15498
15499 wxPyEndAllowThreads(__tstate);
15500 if (PyErr_Occurred()) SWIG_fail;
15501 }
15502 resultobj = PyInt_FromLong((long)result);
15503 return resultobj;
15504 fail:
15505 return NULL;
15506 }
15507
15508
15509 static PyObject * ShowEvent_swigregister(PyObject *self, PyObject *args) {
15510 PyObject *obj;
15511 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15512 SWIG_TypeClientData(SWIGTYPE_p_wxShowEvent, obj);
15513 Py_INCREF(obj);
15514 return Py_BuildValue((char *)"");
15515 }
15516 static PyObject *_wrap_new_IconizeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
15517 PyObject *resultobj;
15518 int arg1 = (int) 0 ;
15519 bool arg2 = (bool) True ;
15520 wxIconizeEvent *result;
15521 PyObject * obj1 = 0 ;
15522 char *kwnames[] = {
15523 (char *) "id",(char *) "iconized", NULL
15524 };
15525
15526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iO:new_IconizeEvent",kwnames,&arg1,&obj1)) goto fail;
15527 if (obj1) {
15528 arg2 = PyInt_AsLong(obj1) ? true : false;
15529 if (PyErr_Occurred()) SWIG_fail;
15530 }
15531 {
15532 PyThreadState* __tstate = wxPyBeginAllowThreads();
15533 result = (wxIconizeEvent *)new wxIconizeEvent(arg1,arg2);
15534
15535 wxPyEndAllowThreads(__tstate);
15536 if (PyErr_Occurred()) SWIG_fail;
15537 }
15538 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxIconizeEvent, 1);
15539 return resultobj;
15540 fail:
15541 return NULL;
15542 }
15543
15544
15545 static PyObject *_wrap_IconizeEvent_Iconized(PyObject *self, PyObject *args, PyObject *kwargs) {
15546 PyObject *resultobj;
15547 wxIconizeEvent *arg1 = (wxIconizeEvent *) 0 ;
15548 bool result;
15549 PyObject * obj0 = 0 ;
15550 char *kwnames[] = {
15551 (char *) "self", NULL
15552 };
15553
15554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IconizeEvent_Iconized",kwnames,&obj0)) goto fail;
15555 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIconizeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15556 {
15557 PyThreadState* __tstate = wxPyBeginAllowThreads();
15558 result = (bool)(arg1)->Iconized();
15559
15560 wxPyEndAllowThreads(__tstate);
15561 if (PyErr_Occurred()) SWIG_fail;
15562 }
15563 resultobj = PyInt_FromLong((long)result);
15564 return resultobj;
15565 fail:
15566 return NULL;
15567 }
15568
15569
15570 static PyObject * IconizeEvent_swigregister(PyObject *self, PyObject *args) {
15571 PyObject *obj;
15572 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15573 SWIG_TypeClientData(SWIGTYPE_p_wxIconizeEvent, obj);
15574 Py_INCREF(obj);
15575 return Py_BuildValue((char *)"");
15576 }
15577 static PyObject *_wrap_new_MaximizeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
15578 PyObject *resultobj;
15579 int arg1 = (int) 0 ;
15580 wxMaximizeEvent *result;
15581 char *kwnames[] = {
15582 (char *) "id", NULL
15583 };
15584
15585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:new_MaximizeEvent",kwnames,&arg1)) goto fail;
15586 {
15587 PyThreadState* __tstate = wxPyBeginAllowThreads();
15588 result = (wxMaximizeEvent *)new wxMaximizeEvent(arg1);
15589
15590 wxPyEndAllowThreads(__tstate);
15591 if (PyErr_Occurred()) SWIG_fail;
15592 }
15593 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMaximizeEvent, 1);
15594 return resultobj;
15595 fail:
15596 return NULL;
15597 }
15598
15599
15600 static PyObject * MaximizeEvent_swigregister(PyObject *self, PyObject *args) {
15601 PyObject *obj;
15602 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15603 SWIG_TypeClientData(SWIGTYPE_p_wxMaximizeEvent, obj);
15604 Py_INCREF(obj);
15605 return Py_BuildValue((char *)"");
15606 }
15607 static PyObject *_wrap_DropFilesEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
15608 PyObject *resultobj;
15609 wxDropFilesEvent *arg1 = (wxDropFilesEvent *) 0 ;
15610 wxPoint result;
15611 PyObject * obj0 = 0 ;
15612 char *kwnames[] = {
15613 (char *) "self", NULL
15614 };
15615
15616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropFilesEvent_GetPosition",kwnames,&obj0)) goto fail;
15617 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDropFilesEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15618 {
15619 PyThreadState* __tstate = wxPyBeginAllowThreads();
15620 result = (arg1)->GetPosition();
15621
15622 wxPyEndAllowThreads(__tstate);
15623 if (PyErr_Occurred()) SWIG_fail;
15624 }
15625 {
15626 wxPoint * resultptr;
15627 resultptr = new wxPoint((wxPoint &) result);
15628 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
15629 }
15630 return resultobj;
15631 fail:
15632 return NULL;
15633 }
15634
15635
15636 static PyObject *_wrap_DropFilesEvent_GetNumberOfFiles(PyObject *self, PyObject *args, PyObject *kwargs) {
15637 PyObject *resultobj;
15638 wxDropFilesEvent *arg1 = (wxDropFilesEvent *) 0 ;
15639 int result;
15640 PyObject * obj0 = 0 ;
15641 char *kwnames[] = {
15642 (char *) "self", NULL
15643 };
15644
15645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropFilesEvent_GetNumberOfFiles",kwnames,&obj0)) goto fail;
15646 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDropFilesEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15647 {
15648 PyThreadState* __tstate = wxPyBeginAllowThreads();
15649 result = (int)(arg1)->GetNumberOfFiles();
15650
15651 wxPyEndAllowThreads(__tstate);
15652 if (PyErr_Occurred()) SWIG_fail;
15653 }
15654 resultobj = PyInt_FromLong((long)result);
15655 return resultobj;
15656 fail:
15657 return NULL;
15658 }
15659
15660
15661 static PyObject *_wrap_DropFilesEvent_GetFiles(PyObject *self, PyObject *args, PyObject *kwargs) {
15662 PyObject *resultobj;
15663 wxDropFilesEvent *arg1 = (wxDropFilesEvent *) 0 ;
15664 PyObject *result;
15665 PyObject * obj0 = 0 ;
15666 char *kwnames[] = {
15667 (char *) "self", NULL
15668 };
15669
15670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropFilesEvent_GetFiles",kwnames,&obj0)) goto fail;
15671 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDropFilesEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15672 {
15673 PyThreadState* __tstate = wxPyBeginAllowThreads();
15674 result = (PyObject *)wxDropFilesEvent_GetFiles(arg1);
15675
15676 wxPyEndAllowThreads(__tstate);
15677 if (PyErr_Occurred()) SWIG_fail;
15678 }
15679 resultobj = result;
15680 return resultobj;
15681 fail:
15682 return NULL;
15683 }
15684
15685
15686 static PyObject * DropFilesEvent_swigregister(PyObject *self, PyObject *args) {
15687 PyObject *obj;
15688 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15689 SWIG_TypeClientData(SWIGTYPE_p_wxDropFilesEvent, obj);
15690 Py_INCREF(obj);
15691 return Py_BuildValue((char *)"");
15692 }
15693 static PyObject *_wrap_new_UpdateUIEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
15694 PyObject *resultobj;
15695 int arg1 = (int) 0 ;
15696 wxUpdateUIEvent *result;
15697 char *kwnames[] = {
15698 (char *) "commandId", NULL
15699 };
15700
15701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:new_UpdateUIEvent",kwnames,&arg1)) goto fail;
15702 {
15703 PyThreadState* __tstate = wxPyBeginAllowThreads();
15704 result = (wxUpdateUIEvent *)new wxUpdateUIEvent(arg1);
15705
15706 wxPyEndAllowThreads(__tstate);
15707 if (PyErr_Occurred()) SWIG_fail;
15708 }
15709 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxUpdateUIEvent, 1);
15710 return resultobj;
15711 fail:
15712 return NULL;
15713 }
15714
15715
15716 static PyObject *_wrap_UpdateUIEvent_GetChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
15717 PyObject *resultobj;
15718 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
15719 bool result;
15720 PyObject * obj0 = 0 ;
15721 char *kwnames[] = {
15722 (char *) "self", NULL
15723 };
15724
15725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_GetChecked",kwnames,&obj0)) goto fail;
15726 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxUpdateUIEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15727 {
15728 PyThreadState* __tstate = wxPyBeginAllowThreads();
15729 result = (bool)((wxUpdateUIEvent const *)arg1)->GetChecked();
15730
15731 wxPyEndAllowThreads(__tstate);
15732 if (PyErr_Occurred()) SWIG_fail;
15733 }
15734 resultobj = PyInt_FromLong((long)result);
15735 return resultobj;
15736 fail:
15737 return NULL;
15738 }
15739
15740
15741 static PyObject *_wrap_UpdateUIEvent_GetEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
15742 PyObject *resultobj;
15743 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
15744 bool result;
15745 PyObject * obj0 = 0 ;
15746 char *kwnames[] = {
15747 (char *) "self", NULL
15748 };
15749
15750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_GetEnabled",kwnames,&obj0)) goto fail;
15751 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxUpdateUIEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15752 {
15753 PyThreadState* __tstate = wxPyBeginAllowThreads();
15754 result = (bool)((wxUpdateUIEvent const *)arg1)->GetEnabled();
15755
15756 wxPyEndAllowThreads(__tstate);
15757 if (PyErr_Occurred()) SWIG_fail;
15758 }
15759 resultobj = PyInt_FromLong((long)result);
15760 return resultobj;
15761 fail:
15762 return NULL;
15763 }
15764
15765
15766 static PyObject *_wrap_UpdateUIEvent_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
15767 PyObject *resultobj;
15768 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
15769 wxString result;
15770 PyObject * obj0 = 0 ;
15771 char *kwnames[] = {
15772 (char *) "self", NULL
15773 };
15774
15775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_GetText",kwnames,&obj0)) goto fail;
15776 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxUpdateUIEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15777 {
15778 PyThreadState* __tstate = wxPyBeginAllowThreads();
15779 result = ((wxUpdateUIEvent const *)arg1)->GetText();
15780
15781 wxPyEndAllowThreads(__tstate);
15782 if (PyErr_Occurred()) SWIG_fail;
15783 }
15784 {
15785 #if wxUSE_UNICODE
15786 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
15787 #else
15788 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
15789 #endif
15790 }
15791 return resultobj;
15792 fail:
15793 return NULL;
15794 }
15795
15796
15797 static PyObject *_wrap_UpdateUIEvent_GetSetText(PyObject *self, PyObject *args, PyObject *kwargs) {
15798 PyObject *resultobj;
15799 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
15800 bool result;
15801 PyObject * obj0 = 0 ;
15802 char *kwnames[] = {
15803 (char *) "self", NULL
15804 };
15805
15806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_GetSetText",kwnames,&obj0)) goto fail;
15807 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxUpdateUIEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15808 {
15809 PyThreadState* __tstate = wxPyBeginAllowThreads();
15810 result = (bool)((wxUpdateUIEvent const *)arg1)->GetSetText();
15811
15812 wxPyEndAllowThreads(__tstate);
15813 if (PyErr_Occurred()) SWIG_fail;
15814 }
15815 resultobj = PyInt_FromLong((long)result);
15816 return resultobj;
15817 fail:
15818 return NULL;
15819 }
15820
15821
15822 static PyObject *_wrap_UpdateUIEvent_GetSetChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
15823 PyObject *resultobj;
15824 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
15825 bool result;
15826 PyObject * obj0 = 0 ;
15827 char *kwnames[] = {
15828 (char *) "self", NULL
15829 };
15830
15831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_GetSetChecked",kwnames,&obj0)) goto fail;
15832 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxUpdateUIEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15833 {
15834 PyThreadState* __tstate = wxPyBeginAllowThreads();
15835 result = (bool)((wxUpdateUIEvent const *)arg1)->GetSetChecked();
15836
15837 wxPyEndAllowThreads(__tstate);
15838 if (PyErr_Occurred()) SWIG_fail;
15839 }
15840 resultobj = PyInt_FromLong((long)result);
15841 return resultobj;
15842 fail:
15843 return NULL;
15844 }
15845
15846
15847 static PyObject *_wrap_UpdateUIEvent_GetSetEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
15848 PyObject *resultobj;
15849 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
15850 bool result;
15851 PyObject * obj0 = 0 ;
15852 char *kwnames[] = {
15853 (char *) "self", NULL
15854 };
15855
15856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_GetSetEnabled",kwnames,&obj0)) goto fail;
15857 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxUpdateUIEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15858 {
15859 PyThreadState* __tstate = wxPyBeginAllowThreads();
15860 result = (bool)((wxUpdateUIEvent const *)arg1)->GetSetEnabled();
15861
15862 wxPyEndAllowThreads(__tstate);
15863 if (PyErr_Occurred()) SWIG_fail;
15864 }
15865 resultobj = PyInt_FromLong((long)result);
15866 return resultobj;
15867 fail:
15868 return NULL;
15869 }
15870
15871
15872 static PyObject *_wrap_UpdateUIEvent_Check(PyObject *self, PyObject *args, PyObject *kwargs) {
15873 PyObject *resultobj;
15874 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
15875 bool arg2 ;
15876 PyObject * obj0 = 0 ;
15877 PyObject * obj1 = 0 ;
15878 char *kwnames[] = {
15879 (char *) "self",(char *) "check", NULL
15880 };
15881
15882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:UpdateUIEvent_Check",kwnames,&obj0,&obj1)) goto fail;
15883 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxUpdateUIEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15884 arg2 = PyInt_AsLong(obj1) ? true : false;
15885 if (PyErr_Occurred()) SWIG_fail;
15886 {
15887 PyThreadState* __tstate = wxPyBeginAllowThreads();
15888 (arg1)->Check(arg2);
15889
15890 wxPyEndAllowThreads(__tstate);
15891 if (PyErr_Occurred()) SWIG_fail;
15892 }
15893 Py_INCREF(Py_None); resultobj = Py_None;
15894 return resultobj;
15895 fail:
15896 return NULL;
15897 }
15898
15899
15900 static PyObject *_wrap_UpdateUIEvent_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
15901 PyObject *resultobj;
15902 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
15903 bool arg2 ;
15904 PyObject * obj0 = 0 ;
15905 PyObject * obj1 = 0 ;
15906 char *kwnames[] = {
15907 (char *) "self",(char *) "enable", NULL
15908 };
15909
15910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:UpdateUIEvent_Enable",kwnames,&obj0,&obj1)) goto fail;
15911 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxUpdateUIEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15912 arg2 = PyInt_AsLong(obj1) ? true : false;
15913 if (PyErr_Occurred()) SWIG_fail;
15914 {
15915 PyThreadState* __tstate = wxPyBeginAllowThreads();
15916 (arg1)->Enable(arg2);
15917
15918 wxPyEndAllowThreads(__tstate);
15919 if (PyErr_Occurred()) SWIG_fail;
15920 }
15921 Py_INCREF(Py_None); resultobj = Py_None;
15922 return resultobj;
15923 fail:
15924 return NULL;
15925 }
15926
15927
15928 static PyObject *_wrap_UpdateUIEvent_SetText(PyObject *self, PyObject *args, PyObject *kwargs) {
15929 PyObject *resultobj;
15930 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
15931 wxString *arg2 = 0 ;
15932 bool temp2 = False ;
15933 PyObject * obj0 = 0 ;
15934 PyObject * obj1 = 0 ;
15935 char *kwnames[] = {
15936 (char *) "self",(char *) "text", NULL
15937 };
15938
15939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:UpdateUIEvent_SetText",kwnames,&obj0,&obj1)) goto fail;
15940 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxUpdateUIEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15941 {
15942 arg2 = wxString_in_helper(obj1);
15943 if (arg2 == NULL) SWIG_fail;
15944 temp2 = True;
15945 }
15946 {
15947 PyThreadState* __tstate = wxPyBeginAllowThreads();
15948 (arg1)->SetText((wxString const &)*arg2);
15949
15950 wxPyEndAllowThreads(__tstate);
15951 if (PyErr_Occurred()) SWIG_fail;
15952 }
15953 Py_INCREF(Py_None); resultobj = Py_None;
15954 {
15955 if (temp2)
15956 delete arg2;
15957 }
15958 return resultobj;
15959 fail:
15960 {
15961 if (temp2)
15962 delete arg2;
15963 }
15964 return NULL;
15965 }
15966
15967
15968 static PyObject *_wrap_UpdateUIEvent_SetUpdateInterval(PyObject *self, PyObject *args, PyObject *kwargs) {
15969 PyObject *resultobj;
15970 long arg1 ;
15971 char *kwnames[] = {
15972 (char *) "updateInterval", NULL
15973 };
15974
15975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"l:UpdateUIEvent_SetUpdateInterval",kwnames,&arg1)) goto fail;
15976 {
15977 PyThreadState* __tstate = wxPyBeginAllowThreads();
15978 wxUpdateUIEvent::SetUpdateInterval(arg1);
15979
15980 wxPyEndAllowThreads(__tstate);
15981 if (PyErr_Occurred()) SWIG_fail;
15982 }
15983 Py_INCREF(Py_None); resultobj = Py_None;
15984 return resultobj;
15985 fail:
15986 return NULL;
15987 }
15988
15989
15990 static PyObject *_wrap_UpdateUIEvent_GetUpdateInterval(PyObject *self, PyObject *args, PyObject *kwargs) {
15991 PyObject *resultobj;
15992 long result;
15993 char *kwnames[] = {
15994 NULL
15995 };
15996
15997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":UpdateUIEvent_GetUpdateInterval",kwnames)) goto fail;
15998 {
15999 PyThreadState* __tstate = wxPyBeginAllowThreads();
16000 result = (long)wxUpdateUIEvent::GetUpdateInterval();
16001
16002 wxPyEndAllowThreads(__tstate);
16003 if (PyErr_Occurred()) SWIG_fail;
16004 }
16005 resultobj = PyInt_FromLong((long)result);
16006 return resultobj;
16007 fail:
16008 return NULL;
16009 }
16010
16011
16012 static PyObject *_wrap_UpdateUIEvent_CanUpdate(PyObject *self, PyObject *args, PyObject *kwargs) {
16013 PyObject *resultobj;
16014 wxWindow *arg1 = (wxWindow *) 0 ;
16015 bool result;
16016 PyObject * obj0 = 0 ;
16017 char *kwnames[] = {
16018 (char *) "win", NULL
16019 };
16020
16021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_CanUpdate",kwnames,&obj0)) goto fail;
16022 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16023 {
16024 PyThreadState* __tstate = wxPyBeginAllowThreads();
16025 result = (bool)wxUpdateUIEvent::CanUpdate(arg1);
16026
16027 wxPyEndAllowThreads(__tstate);
16028 if (PyErr_Occurred()) SWIG_fail;
16029 }
16030 resultobj = PyInt_FromLong((long)result);
16031 return resultobj;
16032 fail:
16033 return NULL;
16034 }
16035
16036
16037 static PyObject *_wrap_UpdateUIEvent_ResetUpdateTime(PyObject *self, PyObject *args, PyObject *kwargs) {
16038 PyObject *resultobj;
16039 char *kwnames[] = {
16040 NULL
16041 };
16042
16043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":UpdateUIEvent_ResetUpdateTime",kwnames)) goto fail;
16044 {
16045 PyThreadState* __tstate = wxPyBeginAllowThreads();
16046 wxUpdateUIEvent::ResetUpdateTime();
16047
16048 wxPyEndAllowThreads(__tstate);
16049 if (PyErr_Occurred()) SWIG_fail;
16050 }
16051 Py_INCREF(Py_None); resultobj = Py_None;
16052 return resultobj;
16053 fail:
16054 return NULL;
16055 }
16056
16057
16058 static PyObject *_wrap_UpdateUIEvent_SetMode(PyObject *self, PyObject *args, PyObject *kwargs) {
16059 PyObject *resultobj;
16060 int arg1 ;
16061 char *kwnames[] = {
16062 (char *) "mode", NULL
16063 };
16064
16065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:UpdateUIEvent_SetMode",kwnames,&arg1)) goto fail;
16066 {
16067 PyThreadState* __tstate = wxPyBeginAllowThreads();
16068 wxUpdateUIEvent::SetMode((wxUpdateUIMode )arg1);
16069
16070 wxPyEndAllowThreads(__tstate);
16071 if (PyErr_Occurred()) SWIG_fail;
16072 }
16073 Py_INCREF(Py_None); resultobj = Py_None;
16074 return resultobj;
16075 fail:
16076 return NULL;
16077 }
16078
16079
16080 static PyObject *_wrap_UpdateUIEvent_GetMode(PyObject *self, PyObject *args, PyObject *kwargs) {
16081 PyObject *resultobj;
16082 int result;
16083 char *kwnames[] = {
16084 NULL
16085 };
16086
16087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":UpdateUIEvent_GetMode",kwnames)) goto fail;
16088 {
16089 PyThreadState* __tstate = wxPyBeginAllowThreads();
16090 result = (int)wxUpdateUIEvent::GetMode();
16091
16092 wxPyEndAllowThreads(__tstate);
16093 if (PyErr_Occurred()) SWIG_fail;
16094 }
16095 resultobj = PyInt_FromLong((long)result);
16096 return resultobj;
16097 fail:
16098 return NULL;
16099 }
16100
16101
16102 static PyObject * UpdateUIEvent_swigregister(PyObject *self, PyObject *args) {
16103 PyObject *obj;
16104 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16105 SWIG_TypeClientData(SWIGTYPE_p_wxUpdateUIEvent, obj);
16106 Py_INCREF(obj);
16107 return Py_BuildValue((char *)"");
16108 }
16109 static PyObject *_wrap_new_SysColourChangedEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
16110 PyObject *resultobj;
16111 wxSysColourChangedEvent *result;
16112 char *kwnames[] = {
16113 NULL
16114 };
16115
16116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_SysColourChangedEvent",kwnames)) goto fail;
16117 {
16118 PyThreadState* __tstate = wxPyBeginAllowThreads();
16119 result = (wxSysColourChangedEvent *)new wxSysColourChangedEvent();
16120
16121 wxPyEndAllowThreads(__tstate);
16122 if (PyErr_Occurred()) SWIG_fail;
16123 }
16124 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSysColourChangedEvent, 1);
16125 return resultobj;
16126 fail:
16127 return NULL;
16128 }
16129
16130
16131 static PyObject * SysColourChangedEvent_swigregister(PyObject *self, PyObject *args) {
16132 PyObject *obj;
16133 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16134 SWIG_TypeClientData(SWIGTYPE_p_wxSysColourChangedEvent, obj);
16135 Py_INCREF(obj);
16136 return Py_BuildValue((char *)"");
16137 }
16138 static PyObject *_wrap_new_MouseCaptureChangedEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
16139 PyObject *resultobj;
16140 int arg1 = (int) 0 ;
16141 wxWindow *arg2 = (wxWindow *) NULL ;
16142 wxMouseCaptureChangedEvent *result;
16143 PyObject * obj1 = 0 ;
16144 char *kwnames[] = {
16145 (char *) "winid",(char *) "gainedCapture", NULL
16146 };
16147
16148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iO:new_MouseCaptureChangedEvent",kwnames,&arg1,&obj1)) goto fail;
16149 if (obj1) {
16150 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16151 }
16152 {
16153 PyThreadState* __tstate = wxPyBeginAllowThreads();
16154 result = (wxMouseCaptureChangedEvent *)new wxMouseCaptureChangedEvent(arg1,arg2);
16155
16156 wxPyEndAllowThreads(__tstate);
16157 if (PyErr_Occurred()) SWIG_fail;
16158 }
16159 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMouseCaptureChangedEvent, 1);
16160 return resultobj;
16161 fail:
16162 return NULL;
16163 }
16164
16165
16166 static PyObject *_wrap_MouseCaptureChangedEvent_GetCapturedWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
16167 PyObject *resultobj;
16168 wxMouseCaptureChangedEvent *arg1 = (wxMouseCaptureChangedEvent *) 0 ;
16169 wxWindow *result;
16170 PyObject * obj0 = 0 ;
16171 char *kwnames[] = {
16172 (char *) "self", NULL
16173 };
16174
16175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseCaptureChangedEvent_GetCapturedWindow",kwnames,&obj0)) goto fail;
16176 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseCaptureChangedEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16177 {
16178 PyThreadState* __tstate = wxPyBeginAllowThreads();
16179 result = (wxWindow *)((wxMouseCaptureChangedEvent const *)arg1)->GetCapturedWindow();
16180
16181 wxPyEndAllowThreads(__tstate);
16182 if (PyErr_Occurred()) SWIG_fail;
16183 }
16184 {
16185 resultobj = wxPyMake_wxObject(result);
16186 }
16187 return resultobj;
16188 fail:
16189 return NULL;
16190 }
16191
16192
16193 static PyObject * MouseCaptureChangedEvent_swigregister(PyObject *self, PyObject *args) {
16194 PyObject *obj;
16195 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16196 SWIG_TypeClientData(SWIGTYPE_p_wxMouseCaptureChangedEvent, obj);
16197 Py_INCREF(obj);
16198 return Py_BuildValue((char *)"");
16199 }
16200 static PyObject *_wrap_new_DisplayChangedEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
16201 PyObject *resultobj;
16202 wxDisplayChangedEvent *result;
16203 char *kwnames[] = {
16204 NULL
16205 };
16206
16207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_DisplayChangedEvent",kwnames)) goto fail;
16208 {
16209 PyThreadState* __tstate = wxPyBeginAllowThreads();
16210 result = (wxDisplayChangedEvent *)new wxDisplayChangedEvent();
16211
16212 wxPyEndAllowThreads(__tstate);
16213 if (PyErr_Occurred()) SWIG_fail;
16214 }
16215 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDisplayChangedEvent, 1);
16216 return resultobj;
16217 fail:
16218 return NULL;
16219 }
16220
16221
16222 static PyObject * DisplayChangedEvent_swigregister(PyObject *self, PyObject *args) {
16223 PyObject *obj;
16224 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16225 SWIG_TypeClientData(SWIGTYPE_p_wxDisplayChangedEvent, obj);
16226 Py_INCREF(obj);
16227 return Py_BuildValue((char *)"");
16228 }
16229 static PyObject *_wrap_new_PaletteChangedEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
16230 PyObject *resultobj;
16231 int arg1 = (int) 0 ;
16232 wxPaletteChangedEvent *result;
16233 char *kwnames[] = {
16234 (char *) "id", NULL
16235 };
16236
16237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:new_PaletteChangedEvent",kwnames,&arg1)) goto fail;
16238 {
16239 PyThreadState* __tstate = wxPyBeginAllowThreads();
16240 result = (wxPaletteChangedEvent *)new wxPaletteChangedEvent(arg1);
16241
16242 wxPyEndAllowThreads(__tstate);
16243 if (PyErr_Occurred()) SWIG_fail;
16244 }
16245 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPaletteChangedEvent, 1);
16246 return resultobj;
16247 fail:
16248 return NULL;
16249 }
16250
16251
16252 static PyObject *_wrap_PaletteChangedEvent_SetChangedWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
16253 PyObject *resultobj;
16254 wxPaletteChangedEvent *arg1 = (wxPaletteChangedEvent *) 0 ;
16255 wxWindow *arg2 = (wxWindow *) 0 ;
16256 PyObject * obj0 = 0 ;
16257 PyObject * obj1 = 0 ;
16258 char *kwnames[] = {
16259 (char *) "self",(char *) "win", NULL
16260 };
16261
16262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PaletteChangedEvent_SetChangedWindow",kwnames,&obj0,&obj1)) goto fail;
16263 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPaletteChangedEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16264 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16265 {
16266 PyThreadState* __tstate = wxPyBeginAllowThreads();
16267 (arg1)->SetChangedWindow(arg2);
16268
16269 wxPyEndAllowThreads(__tstate);
16270 if (PyErr_Occurred()) SWIG_fail;
16271 }
16272 Py_INCREF(Py_None); resultobj = Py_None;
16273 return resultobj;
16274 fail:
16275 return NULL;
16276 }
16277
16278
16279 static PyObject *_wrap_PaletteChangedEvent_GetChangedWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
16280 PyObject *resultobj;
16281 wxPaletteChangedEvent *arg1 = (wxPaletteChangedEvent *) 0 ;
16282 wxWindow *result;
16283 PyObject * obj0 = 0 ;
16284 char *kwnames[] = {
16285 (char *) "self", NULL
16286 };
16287
16288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PaletteChangedEvent_GetChangedWindow",kwnames,&obj0)) goto fail;
16289 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPaletteChangedEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16290 {
16291 PyThreadState* __tstate = wxPyBeginAllowThreads();
16292 result = (wxWindow *)(arg1)->GetChangedWindow();
16293
16294 wxPyEndAllowThreads(__tstate);
16295 if (PyErr_Occurred()) SWIG_fail;
16296 }
16297 {
16298 resultobj = wxPyMake_wxObject(result);
16299 }
16300 return resultobj;
16301 fail:
16302 return NULL;
16303 }
16304
16305
16306 static PyObject * PaletteChangedEvent_swigregister(PyObject *self, PyObject *args) {
16307 PyObject *obj;
16308 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16309 SWIG_TypeClientData(SWIGTYPE_p_wxPaletteChangedEvent, obj);
16310 Py_INCREF(obj);
16311 return Py_BuildValue((char *)"");
16312 }
16313 static PyObject *_wrap_new_QueryNewPaletteEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
16314 PyObject *resultobj;
16315 int arg1 = (int) 0 ;
16316 wxQueryNewPaletteEvent *result;
16317 char *kwnames[] = {
16318 (char *) "winid", NULL
16319 };
16320
16321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:new_QueryNewPaletteEvent",kwnames,&arg1)) goto fail;
16322 {
16323 PyThreadState* __tstate = wxPyBeginAllowThreads();
16324 result = (wxQueryNewPaletteEvent *)new wxQueryNewPaletteEvent(arg1);
16325
16326 wxPyEndAllowThreads(__tstate);
16327 if (PyErr_Occurred()) SWIG_fail;
16328 }
16329 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxQueryNewPaletteEvent, 1);
16330 return resultobj;
16331 fail:
16332 return NULL;
16333 }
16334
16335
16336 static PyObject *_wrap_QueryNewPaletteEvent_SetPaletteRealized(PyObject *self, PyObject *args, PyObject *kwargs) {
16337 PyObject *resultobj;
16338 wxQueryNewPaletteEvent *arg1 = (wxQueryNewPaletteEvent *) 0 ;
16339 bool arg2 ;
16340 PyObject * obj0 = 0 ;
16341 PyObject * obj1 = 0 ;
16342 char *kwnames[] = {
16343 (char *) "self",(char *) "realized", NULL
16344 };
16345
16346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryNewPaletteEvent_SetPaletteRealized",kwnames,&obj0,&obj1)) goto fail;
16347 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryNewPaletteEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16348 arg2 = PyInt_AsLong(obj1) ? true : false;
16349 if (PyErr_Occurred()) SWIG_fail;
16350 {
16351 PyThreadState* __tstate = wxPyBeginAllowThreads();
16352 (arg1)->SetPaletteRealized(arg2);
16353
16354 wxPyEndAllowThreads(__tstate);
16355 if (PyErr_Occurred()) SWIG_fail;
16356 }
16357 Py_INCREF(Py_None); resultobj = Py_None;
16358 return resultobj;
16359 fail:
16360 return NULL;
16361 }
16362
16363
16364 static PyObject *_wrap_QueryNewPaletteEvent_GetPaletteRealized(PyObject *self, PyObject *args, PyObject *kwargs) {
16365 PyObject *resultobj;
16366 wxQueryNewPaletteEvent *arg1 = (wxQueryNewPaletteEvent *) 0 ;
16367 bool result;
16368 PyObject * obj0 = 0 ;
16369 char *kwnames[] = {
16370 (char *) "self", NULL
16371 };
16372
16373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryNewPaletteEvent_GetPaletteRealized",kwnames,&obj0)) goto fail;
16374 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryNewPaletteEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16375 {
16376 PyThreadState* __tstate = wxPyBeginAllowThreads();
16377 result = (bool)((wxQueryNewPaletteEvent const *)arg1)->GetPaletteRealized();
16378
16379 wxPyEndAllowThreads(__tstate);
16380 if (PyErr_Occurred()) SWIG_fail;
16381 }
16382 resultobj = PyInt_FromLong((long)result);
16383 return resultobj;
16384 fail:
16385 return NULL;
16386 }
16387
16388
16389 static PyObject * QueryNewPaletteEvent_swigregister(PyObject *self, PyObject *args) {
16390 PyObject *obj;
16391 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16392 SWIG_TypeClientData(SWIGTYPE_p_wxQueryNewPaletteEvent, obj);
16393 Py_INCREF(obj);
16394 return Py_BuildValue((char *)"");
16395 }
16396 static PyObject *_wrap_new_NavigationKeyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
16397 PyObject *resultobj;
16398 wxNavigationKeyEvent *result;
16399 char *kwnames[] = {
16400 NULL
16401 };
16402
16403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_NavigationKeyEvent",kwnames)) goto fail;
16404 {
16405 PyThreadState* __tstate = wxPyBeginAllowThreads();
16406 result = (wxNavigationKeyEvent *)new wxNavigationKeyEvent();
16407
16408 wxPyEndAllowThreads(__tstate);
16409 if (PyErr_Occurred()) SWIG_fail;
16410 }
16411 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxNavigationKeyEvent, 1);
16412 return resultobj;
16413 fail:
16414 return NULL;
16415 }
16416
16417
16418 static PyObject *_wrap_NavigationKeyEvent_GetDirection(PyObject *self, PyObject *args, PyObject *kwargs) {
16419 PyObject *resultobj;
16420 wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ;
16421 bool result;
16422 PyObject * obj0 = 0 ;
16423 char *kwnames[] = {
16424 (char *) "self", NULL
16425 };
16426
16427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NavigationKeyEvent_GetDirection",kwnames,&obj0)) goto fail;
16428 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNavigationKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16429 {
16430 PyThreadState* __tstate = wxPyBeginAllowThreads();
16431 result = (bool)((wxNavigationKeyEvent const *)arg1)->GetDirection();
16432
16433 wxPyEndAllowThreads(__tstate);
16434 if (PyErr_Occurred()) SWIG_fail;
16435 }
16436 resultobj = PyInt_FromLong((long)result);
16437 return resultobj;
16438 fail:
16439 return NULL;
16440 }
16441
16442
16443 static PyObject *_wrap_NavigationKeyEvent_SetDirection(PyObject *self, PyObject *args, PyObject *kwargs) {
16444 PyObject *resultobj;
16445 wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ;
16446 bool arg2 ;
16447 PyObject * obj0 = 0 ;
16448 PyObject * obj1 = 0 ;
16449 char *kwnames[] = {
16450 (char *) "self",(char *) "bForward", NULL
16451 };
16452
16453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:NavigationKeyEvent_SetDirection",kwnames,&obj0,&obj1)) goto fail;
16454 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNavigationKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16455 arg2 = PyInt_AsLong(obj1) ? true : false;
16456 if (PyErr_Occurred()) SWIG_fail;
16457 {
16458 PyThreadState* __tstate = wxPyBeginAllowThreads();
16459 (arg1)->SetDirection(arg2);
16460
16461 wxPyEndAllowThreads(__tstate);
16462 if (PyErr_Occurred()) SWIG_fail;
16463 }
16464 Py_INCREF(Py_None); resultobj = Py_None;
16465 return resultobj;
16466 fail:
16467 return NULL;
16468 }
16469
16470
16471 static PyObject *_wrap_NavigationKeyEvent_IsWindowChange(PyObject *self, PyObject *args, PyObject *kwargs) {
16472 PyObject *resultobj;
16473 wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ;
16474 bool result;
16475 PyObject * obj0 = 0 ;
16476 char *kwnames[] = {
16477 (char *) "self", NULL
16478 };
16479
16480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NavigationKeyEvent_IsWindowChange",kwnames,&obj0)) goto fail;
16481 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNavigationKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16482 {
16483 PyThreadState* __tstate = wxPyBeginAllowThreads();
16484 result = (bool)((wxNavigationKeyEvent const *)arg1)->IsWindowChange();
16485
16486 wxPyEndAllowThreads(__tstate);
16487 if (PyErr_Occurred()) SWIG_fail;
16488 }
16489 resultobj = PyInt_FromLong((long)result);
16490 return resultobj;
16491 fail:
16492 return NULL;
16493 }
16494
16495
16496 static PyObject *_wrap_NavigationKeyEvent_SetWindowChange(PyObject *self, PyObject *args, PyObject *kwargs) {
16497 PyObject *resultobj;
16498 wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ;
16499 bool arg2 ;
16500 PyObject * obj0 = 0 ;
16501 PyObject * obj1 = 0 ;
16502 char *kwnames[] = {
16503 (char *) "self",(char *) "bIs", NULL
16504 };
16505
16506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:NavigationKeyEvent_SetWindowChange",kwnames,&obj0,&obj1)) goto fail;
16507 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNavigationKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16508 arg2 = PyInt_AsLong(obj1) ? true : false;
16509 if (PyErr_Occurred()) SWIG_fail;
16510 {
16511 PyThreadState* __tstate = wxPyBeginAllowThreads();
16512 (arg1)->SetWindowChange(arg2);
16513
16514 wxPyEndAllowThreads(__tstate);
16515 if (PyErr_Occurred()) SWIG_fail;
16516 }
16517 Py_INCREF(Py_None); resultobj = Py_None;
16518 return resultobj;
16519 fail:
16520 return NULL;
16521 }
16522
16523
16524 static PyObject *_wrap_NavigationKeyEvent_GetCurrentFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
16525 PyObject *resultobj;
16526 wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ;
16527 wxWindow *result;
16528 PyObject * obj0 = 0 ;
16529 char *kwnames[] = {
16530 (char *) "self", NULL
16531 };
16532
16533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NavigationKeyEvent_GetCurrentFocus",kwnames,&obj0)) goto fail;
16534 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNavigationKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16535 {
16536 PyThreadState* __tstate = wxPyBeginAllowThreads();
16537 result = (wxWindow *)((wxNavigationKeyEvent const *)arg1)->GetCurrentFocus();
16538
16539 wxPyEndAllowThreads(__tstate);
16540 if (PyErr_Occurred()) SWIG_fail;
16541 }
16542 {
16543 resultobj = wxPyMake_wxObject(result);
16544 }
16545 return resultobj;
16546 fail:
16547 return NULL;
16548 }
16549
16550
16551 static PyObject *_wrap_NavigationKeyEvent_SetCurrentFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
16552 PyObject *resultobj;
16553 wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ;
16554 wxWindow *arg2 = (wxWindow *) 0 ;
16555 PyObject * obj0 = 0 ;
16556 PyObject * obj1 = 0 ;
16557 char *kwnames[] = {
16558 (char *) "self",(char *) "win", NULL
16559 };
16560
16561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:NavigationKeyEvent_SetCurrentFocus",kwnames,&obj0,&obj1)) goto fail;
16562 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNavigationKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16563 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16564 {
16565 PyThreadState* __tstate = wxPyBeginAllowThreads();
16566 (arg1)->SetCurrentFocus(arg2);
16567
16568 wxPyEndAllowThreads(__tstate);
16569 if (PyErr_Occurred()) SWIG_fail;
16570 }
16571 Py_INCREF(Py_None); resultobj = Py_None;
16572 return resultobj;
16573 fail:
16574 return NULL;
16575 }
16576
16577
16578 static PyObject * NavigationKeyEvent_swigregister(PyObject *self, PyObject *args) {
16579 PyObject *obj;
16580 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16581 SWIG_TypeClientData(SWIGTYPE_p_wxNavigationKeyEvent, obj);
16582 Py_INCREF(obj);
16583 return Py_BuildValue((char *)"");
16584 }
16585 static PyObject *_wrap_new_WindowCreateEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
16586 PyObject *resultobj;
16587 wxWindow *arg1 = (wxWindow *) NULL ;
16588 wxWindowCreateEvent *result;
16589 PyObject * obj0 = 0 ;
16590 char *kwnames[] = {
16591 (char *) "win", NULL
16592 };
16593
16594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_WindowCreateEvent",kwnames,&obj0)) goto fail;
16595 if (obj0) {
16596 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16597 }
16598 {
16599 PyThreadState* __tstate = wxPyBeginAllowThreads();
16600 result = (wxWindowCreateEvent *)new wxWindowCreateEvent(arg1);
16601
16602 wxPyEndAllowThreads(__tstate);
16603 if (PyErr_Occurred()) SWIG_fail;
16604 }
16605 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxWindowCreateEvent, 1);
16606 return resultobj;
16607 fail:
16608 return NULL;
16609 }
16610
16611
16612 static PyObject *_wrap_WindowCreateEvent_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
16613 PyObject *resultobj;
16614 wxWindowCreateEvent *arg1 = (wxWindowCreateEvent *) 0 ;
16615 wxWindow *result;
16616 PyObject * obj0 = 0 ;
16617 char *kwnames[] = {
16618 (char *) "self", NULL
16619 };
16620
16621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:WindowCreateEvent_GetWindow",kwnames,&obj0)) goto fail;
16622 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindowCreateEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16623 {
16624 PyThreadState* __tstate = wxPyBeginAllowThreads();
16625 result = (wxWindow *)((wxWindowCreateEvent const *)arg1)->GetWindow();
16626
16627 wxPyEndAllowThreads(__tstate);
16628 if (PyErr_Occurred()) SWIG_fail;
16629 }
16630 {
16631 resultobj = wxPyMake_wxObject(result);
16632 }
16633 return resultobj;
16634 fail:
16635 return NULL;
16636 }
16637
16638
16639 static PyObject * WindowCreateEvent_swigregister(PyObject *self, PyObject *args) {
16640 PyObject *obj;
16641 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16642 SWIG_TypeClientData(SWIGTYPE_p_wxWindowCreateEvent, obj);
16643 Py_INCREF(obj);
16644 return Py_BuildValue((char *)"");
16645 }
16646 static PyObject *_wrap_new_WindowDestroyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
16647 PyObject *resultobj;
16648 wxWindow *arg1 = (wxWindow *) NULL ;
16649 wxWindowDestroyEvent *result;
16650 PyObject * obj0 = 0 ;
16651 char *kwnames[] = {
16652 (char *) "win", NULL
16653 };
16654
16655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_WindowDestroyEvent",kwnames,&obj0)) goto fail;
16656 if (obj0) {
16657 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16658 }
16659 {
16660 PyThreadState* __tstate = wxPyBeginAllowThreads();
16661 result = (wxWindowDestroyEvent *)new wxWindowDestroyEvent(arg1);
16662
16663 wxPyEndAllowThreads(__tstate);
16664 if (PyErr_Occurred()) SWIG_fail;
16665 }
16666 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxWindowDestroyEvent, 1);
16667 return resultobj;
16668 fail:
16669 return NULL;
16670 }
16671
16672
16673 static PyObject *_wrap_WindowDestroyEvent_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
16674 PyObject *resultobj;
16675 wxWindowDestroyEvent *arg1 = (wxWindowDestroyEvent *) 0 ;
16676 wxWindow *result;
16677 PyObject * obj0 = 0 ;
16678 char *kwnames[] = {
16679 (char *) "self", NULL
16680 };
16681
16682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:WindowDestroyEvent_GetWindow",kwnames,&obj0)) goto fail;
16683 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindowDestroyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16684 {
16685 PyThreadState* __tstate = wxPyBeginAllowThreads();
16686 result = (wxWindow *)((wxWindowDestroyEvent const *)arg1)->GetWindow();
16687
16688 wxPyEndAllowThreads(__tstate);
16689 if (PyErr_Occurred()) SWIG_fail;
16690 }
16691 {
16692 resultobj = wxPyMake_wxObject(result);
16693 }
16694 return resultobj;
16695 fail:
16696 return NULL;
16697 }
16698
16699
16700 static PyObject * WindowDestroyEvent_swigregister(PyObject *self, PyObject *args) {
16701 PyObject *obj;
16702 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16703 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDestroyEvent, obj);
16704 Py_INCREF(obj);
16705 return Py_BuildValue((char *)"");
16706 }
16707 static PyObject *_wrap_new_ContextMenuEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
16708 PyObject *resultobj;
16709 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
16710 int arg2 = (int) 0 ;
16711 wxPoint const &arg3_defvalue = wxDefaultPosition ;
16712 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
16713 wxContextMenuEvent *result;
16714 wxPoint temp3 ;
16715 PyObject * obj2 = 0 ;
16716 char *kwnames[] = {
16717 (char *) "type",(char *) "winid",(char *) "pt", NULL
16718 };
16719
16720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iiO:new_ContextMenuEvent",kwnames,&arg1,&arg2,&obj2)) goto fail;
16721 if (obj2) {
16722 {
16723 arg3 = &temp3;
16724 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
16725 }
16726 }
16727 {
16728 PyThreadState* __tstate = wxPyBeginAllowThreads();
16729 result = (wxContextMenuEvent *)new wxContextMenuEvent(arg1,arg2,(wxPoint const &)*arg3);
16730
16731 wxPyEndAllowThreads(__tstate);
16732 if (PyErr_Occurred()) SWIG_fail;
16733 }
16734 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxContextMenuEvent, 1);
16735 return resultobj;
16736 fail:
16737 return NULL;
16738 }
16739
16740
16741 static PyObject *_wrap_ContextMenuEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
16742 PyObject *resultobj;
16743 wxContextMenuEvent *arg1 = (wxContextMenuEvent *) 0 ;
16744 wxPoint *result;
16745 PyObject * obj0 = 0 ;
16746 char *kwnames[] = {
16747 (char *) "self", NULL
16748 };
16749
16750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ContextMenuEvent_GetPosition",kwnames,&obj0)) goto fail;
16751 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxContextMenuEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16752 {
16753 PyThreadState* __tstate = wxPyBeginAllowThreads();
16754 {
16755 wxPoint const &_result_ref = ((wxContextMenuEvent const *)arg1)->GetPosition();
16756 result = (wxPoint *) &_result_ref;
16757 }
16758
16759 wxPyEndAllowThreads(__tstate);
16760 if (PyErr_Occurred()) SWIG_fail;
16761 }
16762 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint, 0);
16763 return resultobj;
16764 fail:
16765 return NULL;
16766 }
16767
16768
16769 static PyObject *_wrap_ContextMenuEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
16770 PyObject *resultobj;
16771 wxContextMenuEvent *arg1 = (wxContextMenuEvent *) 0 ;
16772 wxPoint *arg2 = 0 ;
16773 wxPoint temp2 ;
16774 PyObject * obj0 = 0 ;
16775 PyObject * obj1 = 0 ;
16776 char *kwnames[] = {
16777 (char *) "self",(char *) "pos", NULL
16778 };
16779
16780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ContextMenuEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
16781 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxContextMenuEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16782 {
16783 arg2 = &temp2;
16784 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
16785 }
16786 {
16787 PyThreadState* __tstate = wxPyBeginAllowThreads();
16788 (arg1)->SetPosition((wxPoint const &)*arg2);
16789
16790 wxPyEndAllowThreads(__tstate);
16791 if (PyErr_Occurred()) SWIG_fail;
16792 }
16793 Py_INCREF(Py_None); resultobj = Py_None;
16794 return resultobj;
16795 fail:
16796 return NULL;
16797 }
16798
16799
16800 static PyObject * ContextMenuEvent_swigregister(PyObject *self, PyObject *args) {
16801 PyObject *obj;
16802 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16803 SWIG_TypeClientData(SWIGTYPE_p_wxContextMenuEvent, obj);
16804 Py_INCREF(obj);
16805 return Py_BuildValue((char *)"");
16806 }
16807 static PyObject *_wrap_new_IdleEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
16808 PyObject *resultobj;
16809 wxIdleEvent *result;
16810 char *kwnames[] = {
16811 NULL
16812 };
16813
16814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_IdleEvent",kwnames)) goto fail;
16815 {
16816 PyThreadState* __tstate = wxPyBeginAllowThreads();
16817 result = (wxIdleEvent *)new wxIdleEvent();
16818
16819 wxPyEndAllowThreads(__tstate);
16820 if (PyErr_Occurred()) SWIG_fail;
16821 }
16822 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxIdleEvent, 1);
16823 return resultobj;
16824 fail:
16825 return NULL;
16826 }
16827
16828
16829 static PyObject *_wrap_IdleEvent_RequestMore(PyObject *self, PyObject *args, PyObject *kwargs) {
16830 PyObject *resultobj;
16831 wxIdleEvent *arg1 = (wxIdleEvent *) 0 ;
16832 bool arg2 = (bool) True ;
16833 PyObject * obj0 = 0 ;
16834 PyObject * obj1 = 0 ;
16835 char *kwnames[] = {
16836 (char *) "self",(char *) "needMore", NULL
16837 };
16838
16839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:IdleEvent_RequestMore",kwnames,&obj0,&obj1)) goto fail;
16840 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIdleEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16841 if (obj1) {
16842 arg2 = PyInt_AsLong(obj1) ? true : false;
16843 if (PyErr_Occurred()) SWIG_fail;
16844 }
16845 {
16846 PyThreadState* __tstate = wxPyBeginAllowThreads();
16847 (arg1)->RequestMore(arg2);
16848
16849 wxPyEndAllowThreads(__tstate);
16850 if (PyErr_Occurred()) SWIG_fail;
16851 }
16852 Py_INCREF(Py_None); resultobj = Py_None;
16853 return resultobj;
16854 fail:
16855 return NULL;
16856 }
16857
16858
16859 static PyObject *_wrap_IdleEvent_MoreRequested(PyObject *self, PyObject *args, PyObject *kwargs) {
16860 PyObject *resultobj;
16861 wxIdleEvent *arg1 = (wxIdleEvent *) 0 ;
16862 bool result;
16863 PyObject * obj0 = 0 ;
16864 char *kwnames[] = {
16865 (char *) "self", NULL
16866 };
16867
16868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IdleEvent_MoreRequested",kwnames,&obj0)) goto fail;
16869 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIdleEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16870 {
16871 PyThreadState* __tstate = wxPyBeginAllowThreads();
16872 result = (bool)((wxIdleEvent const *)arg1)->MoreRequested();
16873
16874 wxPyEndAllowThreads(__tstate);
16875 if (PyErr_Occurred()) SWIG_fail;
16876 }
16877 resultobj = PyInt_FromLong((long)result);
16878 return resultobj;
16879 fail:
16880 return NULL;
16881 }
16882
16883
16884 static PyObject *_wrap_IdleEvent_SetMode(PyObject *self, PyObject *args, PyObject *kwargs) {
16885 PyObject *resultobj;
16886 int arg1 ;
16887 char *kwnames[] = {
16888 (char *) "mode", NULL
16889 };
16890
16891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:IdleEvent_SetMode",kwnames,&arg1)) goto fail;
16892 {
16893 PyThreadState* __tstate = wxPyBeginAllowThreads();
16894 wxIdleEvent::SetMode((wxIdleMode )arg1);
16895
16896 wxPyEndAllowThreads(__tstate);
16897 if (PyErr_Occurred()) SWIG_fail;
16898 }
16899 Py_INCREF(Py_None); resultobj = Py_None;
16900 return resultobj;
16901 fail:
16902 return NULL;
16903 }
16904
16905
16906 static PyObject *_wrap_IdleEvent_GetMode(PyObject *self, PyObject *args, PyObject *kwargs) {
16907 PyObject *resultobj;
16908 int result;
16909 char *kwnames[] = {
16910 NULL
16911 };
16912
16913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":IdleEvent_GetMode",kwnames)) goto fail;
16914 {
16915 PyThreadState* __tstate = wxPyBeginAllowThreads();
16916 result = (int)wxIdleEvent::GetMode();
16917
16918 wxPyEndAllowThreads(__tstate);
16919 if (PyErr_Occurred()) SWIG_fail;
16920 }
16921 resultobj = PyInt_FromLong((long)result);
16922 return resultobj;
16923 fail:
16924 return NULL;
16925 }
16926
16927
16928 static PyObject *_wrap_IdleEvent_CanSend(PyObject *self, PyObject *args, PyObject *kwargs) {
16929 PyObject *resultobj;
16930 wxWindow *arg1 = (wxWindow *) 0 ;
16931 bool result;
16932 PyObject * obj0 = 0 ;
16933 char *kwnames[] = {
16934 (char *) "win", NULL
16935 };
16936
16937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IdleEvent_CanSend",kwnames,&obj0)) goto fail;
16938 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16939 {
16940 PyThreadState* __tstate = wxPyBeginAllowThreads();
16941 result = (bool)wxIdleEvent::CanSend(arg1);
16942
16943 wxPyEndAllowThreads(__tstate);
16944 if (PyErr_Occurred()) SWIG_fail;
16945 }
16946 resultobj = PyInt_FromLong((long)result);
16947 return resultobj;
16948 fail:
16949 return NULL;
16950 }
16951
16952
16953 static PyObject * IdleEvent_swigregister(PyObject *self, PyObject *args) {
16954 PyObject *obj;
16955 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16956 SWIG_TypeClientData(SWIGTYPE_p_wxIdleEvent, obj);
16957 Py_INCREF(obj);
16958 return Py_BuildValue((char *)"");
16959 }
16960 static PyObject *_wrap_new_PyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
16961 PyObject *resultobj;
16962 int arg1 = (int) 0 ;
16963 wxEventType arg2 = (wxEventType) wxEVT_NULL ;
16964 wxPyEvent *result;
16965 char *kwnames[] = {
16966 (char *) "winid",(char *) "commandType", NULL
16967 };
16968
16969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_PyEvent",kwnames,&arg1,&arg2)) goto fail;
16970 {
16971 PyThreadState* __tstate = wxPyBeginAllowThreads();
16972 result = (wxPyEvent *)new wxPyEvent(arg1,arg2);
16973
16974 wxPyEndAllowThreads(__tstate);
16975 if (PyErr_Occurred()) SWIG_fail;
16976 }
16977 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyEvent, 1);
16978 return resultobj;
16979 fail:
16980 return NULL;
16981 }
16982
16983
16984 static PyObject *_wrap_delete_PyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
16985 PyObject *resultobj;
16986 wxPyEvent *arg1 = (wxPyEvent *) 0 ;
16987 PyObject * obj0 = 0 ;
16988 char *kwnames[] = {
16989 (char *) "self", NULL
16990 };
16991
16992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PyEvent",kwnames,&obj0)) goto fail;
16993 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16994 {
16995 PyThreadState* __tstate = wxPyBeginAllowThreads();
16996 delete arg1;
16997
16998 wxPyEndAllowThreads(__tstate);
16999 if (PyErr_Occurred()) SWIG_fail;
17000 }
17001 Py_INCREF(Py_None); resultobj = Py_None;
17002 return resultobj;
17003 fail:
17004 return NULL;
17005 }
17006
17007
17008 static PyObject *_wrap_PyEvent_SetSelf(PyObject *self, PyObject *args, PyObject *kwargs) {
17009 PyObject *resultobj;
17010 wxPyEvent *arg1 = (wxPyEvent *) 0 ;
17011 PyObject *arg2 = (PyObject *) 0 ;
17012 PyObject * obj0 = 0 ;
17013 PyObject * obj1 = 0 ;
17014 char *kwnames[] = {
17015 (char *) "self",(char *) "self", NULL
17016 };
17017
17018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyEvent_SetSelf",kwnames,&obj0,&obj1)) goto fail;
17019 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17020 arg2 = obj1;
17021 {
17022 PyThreadState* __tstate = wxPyBeginAllowThreads();
17023 (arg1)->SetSelf(arg2);
17024
17025 wxPyEndAllowThreads(__tstate);
17026 if (PyErr_Occurred()) SWIG_fail;
17027 }
17028 Py_INCREF(Py_None); resultobj = Py_None;
17029 return resultobj;
17030 fail:
17031 return NULL;
17032 }
17033
17034
17035 static PyObject *_wrap_PyEvent_GetSelf(PyObject *self, PyObject *args, PyObject *kwargs) {
17036 PyObject *resultobj;
17037 wxPyEvent *arg1 = (wxPyEvent *) 0 ;
17038 PyObject *result;
17039 PyObject * obj0 = 0 ;
17040 char *kwnames[] = {
17041 (char *) "self", NULL
17042 };
17043
17044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyEvent_GetSelf",kwnames,&obj0)) goto fail;
17045 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17046 {
17047 PyThreadState* __tstate = wxPyBeginAllowThreads();
17048 result = (PyObject *)(arg1)->GetSelf();
17049
17050 wxPyEndAllowThreads(__tstate);
17051 if (PyErr_Occurred()) SWIG_fail;
17052 }
17053 resultobj = result;
17054 return resultobj;
17055 fail:
17056 return NULL;
17057 }
17058
17059
17060 static PyObject * PyEvent_swigregister(PyObject *self, PyObject *args) {
17061 PyObject *obj;
17062 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17063 SWIG_TypeClientData(SWIGTYPE_p_wxPyEvent, obj);
17064 Py_INCREF(obj);
17065 return Py_BuildValue((char *)"");
17066 }
17067 static PyObject *_wrap_new_PyCommandEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
17068 PyObject *resultobj;
17069 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
17070 int arg2 = (int) 0 ;
17071 wxPyCommandEvent *result;
17072 char *kwnames[] = {
17073 (char *) "commandType",(char *) "id", NULL
17074 };
17075
17076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_PyCommandEvent",kwnames,&arg1,&arg2)) goto fail;
17077 {
17078 PyThreadState* __tstate = wxPyBeginAllowThreads();
17079 result = (wxPyCommandEvent *)new wxPyCommandEvent(arg1,arg2);
17080
17081 wxPyEndAllowThreads(__tstate);
17082 if (PyErr_Occurred()) SWIG_fail;
17083 }
17084 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyCommandEvent, 1);
17085 return resultobj;
17086 fail:
17087 return NULL;
17088 }
17089
17090
17091 static PyObject *_wrap_delete_PyCommandEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
17092 PyObject *resultobj;
17093 wxPyCommandEvent *arg1 = (wxPyCommandEvent *) 0 ;
17094 PyObject * obj0 = 0 ;
17095 char *kwnames[] = {
17096 (char *) "self", NULL
17097 };
17098
17099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PyCommandEvent",kwnames,&obj0)) goto fail;
17100 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCommandEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17101 {
17102 PyThreadState* __tstate = wxPyBeginAllowThreads();
17103 delete arg1;
17104
17105 wxPyEndAllowThreads(__tstate);
17106 if (PyErr_Occurred()) SWIG_fail;
17107 }
17108 Py_INCREF(Py_None); resultobj = Py_None;
17109 return resultobj;
17110 fail:
17111 return NULL;
17112 }
17113
17114
17115 static PyObject *_wrap_PyCommandEvent_SetSelf(PyObject *self, PyObject *args, PyObject *kwargs) {
17116 PyObject *resultobj;
17117 wxPyCommandEvent *arg1 = (wxPyCommandEvent *) 0 ;
17118 PyObject *arg2 = (PyObject *) 0 ;
17119 PyObject * obj0 = 0 ;
17120 PyObject * obj1 = 0 ;
17121 char *kwnames[] = {
17122 (char *) "self",(char *) "self", NULL
17123 };
17124
17125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCommandEvent_SetSelf",kwnames,&obj0,&obj1)) goto fail;
17126 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCommandEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17127 arg2 = obj1;
17128 {
17129 PyThreadState* __tstate = wxPyBeginAllowThreads();
17130 (arg1)->SetSelf(arg2);
17131
17132 wxPyEndAllowThreads(__tstate);
17133 if (PyErr_Occurred()) SWIG_fail;
17134 }
17135 Py_INCREF(Py_None); resultobj = Py_None;
17136 return resultobj;
17137 fail:
17138 return NULL;
17139 }
17140
17141
17142 static PyObject *_wrap_PyCommandEvent_GetSelf(PyObject *self, PyObject *args, PyObject *kwargs) {
17143 PyObject *resultobj;
17144 wxPyCommandEvent *arg1 = (wxPyCommandEvent *) 0 ;
17145 PyObject *result;
17146 PyObject * obj0 = 0 ;
17147 char *kwnames[] = {
17148 (char *) "self", NULL
17149 };
17150
17151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyCommandEvent_GetSelf",kwnames,&obj0)) goto fail;
17152 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCommandEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17153 {
17154 PyThreadState* __tstate = wxPyBeginAllowThreads();
17155 result = (PyObject *)(arg1)->GetSelf();
17156
17157 wxPyEndAllowThreads(__tstate);
17158 if (PyErr_Occurred()) SWIG_fail;
17159 }
17160 resultobj = result;
17161 return resultobj;
17162 fail:
17163 return NULL;
17164 }
17165
17166
17167 static PyObject * PyCommandEvent_swigregister(PyObject *self, PyObject *args) {
17168 PyObject *obj;
17169 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17170 SWIG_TypeClientData(SWIGTYPE_p_wxPyCommandEvent, obj);
17171 Py_INCREF(obj);
17172 return Py_BuildValue((char *)"");
17173 }
17174 static PyObject *_wrap_new_PyApp(PyObject *self, PyObject *args, PyObject *kwargs) {
17175 PyObject *resultobj;
17176 wxPyApp *result;
17177 char *kwnames[] = {
17178 NULL
17179 };
17180
17181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyApp",kwnames)) goto fail;
17182 {
17183 PyThreadState* __tstate = wxPyBeginAllowThreads();
17184 result = (wxPyApp *)new_wxPyApp();
17185
17186 wxPyEndAllowThreads(__tstate);
17187 if (PyErr_Occurred()) SWIG_fail;
17188 }
17189 {
17190 resultobj = wxPyMake_wxObject(result);
17191 }
17192 return resultobj;
17193 fail:
17194 return NULL;
17195 }
17196
17197
17198 static PyObject *_wrap_delete_PyApp(PyObject *self, PyObject *args, PyObject *kwargs) {
17199 PyObject *resultobj;
17200 wxPyApp *arg1 = (wxPyApp *) 0 ;
17201 PyObject * obj0 = 0 ;
17202 char *kwnames[] = {
17203 (char *) "self", NULL
17204 };
17205
17206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PyApp",kwnames,&obj0)) goto fail;
17207 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17208 {
17209 PyThreadState* __tstate = wxPyBeginAllowThreads();
17210 delete arg1;
17211
17212 wxPyEndAllowThreads(__tstate);
17213 if (PyErr_Occurred()) SWIG_fail;
17214 }
17215 Py_INCREF(Py_None); resultobj = Py_None;
17216 return resultobj;
17217 fail:
17218 return NULL;
17219 }
17220
17221
17222 static PyObject *_wrap_PyApp__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
17223 PyObject *resultobj;
17224 wxPyApp *arg1 = (wxPyApp *) 0 ;
17225 PyObject *arg2 = (PyObject *) 0 ;
17226 PyObject *arg3 = (PyObject *) 0 ;
17227 PyObject * obj0 = 0 ;
17228 PyObject * obj1 = 0 ;
17229 PyObject * obj2 = 0 ;
17230 char *kwnames[] = {
17231 (char *) "self",(char *) "self",(char *) "_class", NULL
17232 };
17233
17234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyApp__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
17235 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17236 arg2 = obj1;
17237 arg3 = obj2;
17238 {
17239 PyThreadState* __tstate = wxPyBeginAllowThreads();
17240 (arg1)->_setCallbackInfo(arg2,arg3);
17241
17242 wxPyEndAllowThreads(__tstate);
17243 if (PyErr_Occurred()) SWIG_fail;
17244 }
17245 Py_INCREF(Py_None); resultobj = Py_None;
17246 return resultobj;
17247 fail:
17248 return NULL;
17249 }
17250
17251
17252 static PyObject *_wrap_PyApp_GetAppName(PyObject *self, PyObject *args, PyObject *kwargs) {
17253 PyObject *resultobj;
17254 wxPyApp *arg1 = (wxPyApp *) 0 ;
17255 wxString result;
17256 PyObject * obj0 = 0 ;
17257 char *kwnames[] = {
17258 (char *) "self", NULL
17259 };
17260
17261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetAppName",kwnames,&obj0)) goto fail;
17262 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17263 {
17264 PyThreadState* __tstate = wxPyBeginAllowThreads();
17265 result = ((wxPyApp const *)arg1)->GetAppName();
17266
17267 wxPyEndAllowThreads(__tstate);
17268 if (PyErr_Occurred()) SWIG_fail;
17269 }
17270 {
17271 #if wxUSE_UNICODE
17272 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17273 #else
17274 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17275 #endif
17276 }
17277 return resultobj;
17278 fail:
17279 return NULL;
17280 }
17281
17282
17283 static PyObject *_wrap_PyApp_SetAppName(PyObject *self, PyObject *args, PyObject *kwargs) {
17284 PyObject *resultobj;
17285 wxPyApp *arg1 = (wxPyApp *) 0 ;
17286 wxString *arg2 = 0 ;
17287 bool temp2 = False ;
17288 PyObject * obj0 = 0 ;
17289 PyObject * obj1 = 0 ;
17290 char *kwnames[] = {
17291 (char *) "self",(char *) "name", NULL
17292 };
17293
17294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetAppName",kwnames,&obj0,&obj1)) goto fail;
17295 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17296 {
17297 arg2 = wxString_in_helper(obj1);
17298 if (arg2 == NULL) SWIG_fail;
17299 temp2 = True;
17300 }
17301 {
17302 PyThreadState* __tstate = wxPyBeginAllowThreads();
17303 (arg1)->SetAppName((wxString const &)*arg2);
17304
17305 wxPyEndAllowThreads(__tstate);
17306 if (PyErr_Occurred()) SWIG_fail;
17307 }
17308 Py_INCREF(Py_None); resultobj = Py_None;
17309 {
17310 if (temp2)
17311 delete arg2;
17312 }
17313 return resultobj;
17314 fail:
17315 {
17316 if (temp2)
17317 delete arg2;
17318 }
17319 return NULL;
17320 }
17321
17322
17323 static PyObject *_wrap_PyApp_GetClassName(PyObject *self, PyObject *args, PyObject *kwargs) {
17324 PyObject *resultobj;
17325 wxPyApp *arg1 = (wxPyApp *) 0 ;
17326 wxString result;
17327 PyObject * obj0 = 0 ;
17328 char *kwnames[] = {
17329 (char *) "self", NULL
17330 };
17331
17332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetClassName",kwnames,&obj0)) goto fail;
17333 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17334 {
17335 PyThreadState* __tstate = wxPyBeginAllowThreads();
17336 result = ((wxPyApp const *)arg1)->GetClassName();
17337
17338 wxPyEndAllowThreads(__tstate);
17339 if (PyErr_Occurred()) SWIG_fail;
17340 }
17341 {
17342 #if wxUSE_UNICODE
17343 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17344 #else
17345 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17346 #endif
17347 }
17348 return resultobj;
17349 fail:
17350 return NULL;
17351 }
17352
17353
17354 static PyObject *_wrap_PyApp_SetClassName(PyObject *self, PyObject *args, PyObject *kwargs) {
17355 PyObject *resultobj;
17356 wxPyApp *arg1 = (wxPyApp *) 0 ;
17357 wxString *arg2 = 0 ;
17358 bool temp2 = False ;
17359 PyObject * obj0 = 0 ;
17360 PyObject * obj1 = 0 ;
17361 char *kwnames[] = {
17362 (char *) "self",(char *) "name", NULL
17363 };
17364
17365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetClassName",kwnames,&obj0,&obj1)) goto fail;
17366 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17367 {
17368 arg2 = wxString_in_helper(obj1);
17369 if (arg2 == NULL) SWIG_fail;
17370 temp2 = True;
17371 }
17372 {
17373 PyThreadState* __tstate = wxPyBeginAllowThreads();
17374 (arg1)->SetClassName((wxString const &)*arg2);
17375
17376 wxPyEndAllowThreads(__tstate);
17377 if (PyErr_Occurred()) SWIG_fail;
17378 }
17379 Py_INCREF(Py_None); resultobj = Py_None;
17380 {
17381 if (temp2)
17382 delete arg2;
17383 }
17384 return resultobj;
17385 fail:
17386 {
17387 if (temp2)
17388 delete arg2;
17389 }
17390 return NULL;
17391 }
17392
17393
17394 static PyObject *_wrap_PyApp_GetVendorName(PyObject *self, PyObject *args, PyObject *kwargs) {
17395 PyObject *resultobj;
17396 wxPyApp *arg1 = (wxPyApp *) 0 ;
17397 wxString *result;
17398 PyObject * obj0 = 0 ;
17399 char *kwnames[] = {
17400 (char *) "self", NULL
17401 };
17402
17403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetVendorName",kwnames,&obj0)) goto fail;
17404 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17405 {
17406 PyThreadState* __tstate = wxPyBeginAllowThreads();
17407 {
17408 wxString const &_result_ref = ((wxPyApp const *)arg1)->GetVendorName();
17409 result = (wxString *) &_result_ref;
17410 }
17411
17412 wxPyEndAllowThreads(__tstate);
17413 if (PyErr_Occurred()) SWIG_fail;
17414 }
17415 {
17416 #if wxUSE_UNICODE
17417 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
17418 #else
17419 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
17420 #endif
17421 }
17422 return resultobj;
17423 fail:
17424 return NULL;
17425 }
17426
17427
17428 static PyObject *_wrap_PyApp_SetVendorName(PyObject *self, PyObject *args, PyObject *kwargs) {
17429 PyObject *resultobj;
17430 wxPyApp *arg1 = (wxPyApp *) 0 ;
17431 wxString *arg2 = 0 ;
17432 bool temp2 = False ;
17433 PyObject * obj0 = 0 ;
17434 PyObject * obj1 = 0 ;
17435 char *kwnames[] = {
17436 (char *) "self",(char *) "name", NULL
17437 };
17438
17439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetVendorName",kwnames,&obj0,&obj1)) goto fail;
17440 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17441 {
17442 arg2 = wxString_in_helper(obj1);
17443 if (arg2 == NULL) SWIG_fail;
17444 temp2 = True;
17445 }
17446 {
17447 PyThreadState* __tstate = wxPyBeginAllowThreads();
17448 (arg1)->SetVendorName((wxString const &)*arg2);
17449
17450 wxPyEndAllowThreads(__tstate);
17451 if (PyErr_Occurred()) SWIG_fail;
17452 }
17453 Py_INCREF(Py_None); resultobj = Py_None;
17454 {
17455 if (temp2)
17456 delete arg2;
17457 }
17458 return resultobj;
17459 fail:
17460 {
17461 if (temp2)
17462 delete arg2;
17463 }
17464 return NULL;
17465 }
17466
17467
17468 static PyObject *_wrap_PyApp_GetTraits(PyObject *self, PyObject *args, PyObject *kwargs) {
17469 PyObject *resultobj;
17470 wxPyApp *arg1 = (wxPyApp *) 0 ;
17471 wxAppTraits *result;
17472 PyObject * obj0 = 0 ;
17473 char *kwnames[] = {
17474 (char *) "self", NULL
17475 };
17476
17477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetTraits",kwnames,&obj0)) goto fail;
17478 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17479 {
17480 PyThreadState* __tstate = wxPyBeginAllowThreads();
17481 result = (wxAppTraits *)(arg1)->GetTraits();
17482
17483 wxPyEndAllowThreads(__tstate);
17484 if (PyErr_Occurred()) SWIG_fail;
17485 }
17486 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxAppTraits, 0);
17487 return resultobj;
17488 fail:
17489 return NULL;
17490 }
17491
17492
17493 static PyObject *_wrap_PyApp_ProcessPendingEvents(PyObject *self, PyObject *args, PyObject *kwargs) {
17494 PyObject *resultobj;
17495 wxPyApp *arg1 = (wxPyApp *) 0 ;
17496 PyObject * obj0 = 0 ;
17497 char *kwnames[] = {
17498 (char *) "self", NULL
17499 };
17500
17501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_ProcessPendingEvents",kwnames,&obj0)) goto fail;
17502 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17503 {
17504 PyThreadState* __tstate = wxPyBeginAllowThreads();
17505 (arg1)->ProcessPendingEvents();
17506
17507 wxPyEndAllowThreads(__tstate);
17508 if (PyErr_Occurred()) SWIG_fail;
17509 }
17510 Py_INCREF(Py_None); resultobj = Py_None;
17511 return resultobj;
17512 fail:
17513 return NULL;
17514 }
17515
17516
17517 static PyObject *_wrap_PyApp_Yield(PyObject *self, PyObject *args, PyObject *kwargs) {
17518 PyObject *resultobj;
17519 wxPyApp *arg1 = (wxPyApp *) 0 ;
17520 bool arg2 = (bool) False ;
17521 bool result;
17522 PyObject * obj0 = 0 ;
17523 PyObject * obj1 = 0 ;
17524 char *kwnames[] = {
17525 (char *) "self",(char *) "onlyIfNeeded", NULL
17526 };
17527
17528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PyApp_Yield",kwnames,&obj0,&obj1)) goto fail;
17529 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17530 if (obj1) {
17531 arg2 = PyInt_AsLong(obj1) ? true : false;
17532 if (PyErr_Occurred()) SWIG_fail;
17533 }
17534 {
17535 PyThreadState* __tstate = wxPyBeginAllowThreads();
17536 result = (bool)(arg1)->Yield(arg2);
17537
17538 wxPyEndAllowThreads(__tstate);
17539 if (PyErr_Occurred()) SWIG_fail;
17540 }
17541 resultobj = PyInt_FromLong((long)result);
17542 return resultobj;
17543 fail:
17544 return NULL;
17545 }
17546
17547
17548 static PyObject *_wrap_PyApp_WakeUpIdle(PyObject *self, PyObject *args, PyObject *kwargs) {
17549 PyObject *resultobj;
17550 wxPyApp *arg1 = (wxPyApp *) 0 ;
17551 PyObject * obj0 = 0 ;
17552 char *kwnames[] = {
17553 (char *) "self", NULL
17554 };
17555
17556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_WakeUpIdle",kwnames,&obj0)) goto fail;
17557 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17558 {
17559 PyThreadState* __tstate = wxPyBeginAllowThreads();
17560 (arg1)->WakeUpIdle();
17561
17562 wxPyEndAllowThreads(__tstate);
17563 if (PyErr_Occurred()) SWIG_fail;
17564 }
17565 Py_INCREF(Py_None); resultobj = Py_None;
17566 return resultobj;
17567 fail:
17568 return NULL;
17569 }
17570
17571
17572 static PyObject *_wrap_PyApp_MainLoop(PyObject *self, PyObject *args, PyObject *kwargs) {
17573 PyObject *resultobj;
17574 wxPyApp *arg1 = (wxPyApp *) 0 ;
17575 int result;
17576 PyObject * obj0 = 0 ;
17577 char *kwnames[] = {
17578 (char *) "self", NULL
17579 };
17580
17581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_MainLoop",kwnames,&obj0)) goto fail;
17582 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17583 {
17584 PyThreadState* __tstate = wxPyBeginAllowThreads();
17585 result = (int)(arg1)->MainLoop();
17586
17587 wxPyEndAllowThreads(__tstate);
17588 if (PyErr_Occurred()) SWIG_fail;
17589 }
17590 resultobj = PyInt_FromLong((long)result);
17591 return resultobj;
17592 fail:
17593 return NULL;
17594 }
17595
17596
17597 static PyObject *_wrap_PyApp_Exit(PyObject *self, PyObject *args, PyObject *kwargs) {
17598 PyObject *resultobj;
17599 wxPyApp *arg1 = (wxPyApp *) 0 ;
17600 PyObject * obj0 = 0 ;
17601 char *kwnames[] = {
17602 (char *) "self", NULL
17603 };
17604
17605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_Exit",kwnames,&obj0)) goto fail;
17606 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17607 {
17608 PyThreadState* __tstate = wxPyBeginAllowThreads();
17609 (arg1)->Exit();
17610
17611 wxPyEndAllowThreads(__tstate);
17612 if (PyErr_Occurred()) SWIG_fail;
17613 }
17614 Py_INCREF(Py_None); resultobj = Py_None;
17615 return resultobj;
17616 fail:
17617 return NULL;
17618 }
17619
17620
17621 static PyObject *_wrap_PyApp_ExitMainLoop(PyObject *self, PyObject *args, PyObject *kwargs) {
17622 PyObject *resultobj;
17623 wxPyApp *arg1 = (wxPyApp *) 0 ;
17624 PyObject * obj0 = 0 ;
17625 char *kwnames[] = {
17626 (char *) "self", NULL
17627 };
17628
17629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_ExitMainLoop",kwnames,&obj0)) goto fail;
17630 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17631 {
17632 PyThreadState* __tstate = wxPyBeginAllowThreads();
17633 (arg1)->ExitMainLoop();
17634
17635 wxPyEndAllowThreads(__tstate);
17636 if (PyErr_Occurred()) SWIG_fail;
17637 }
17638 Py_INCREF(Py_None); resultobj = Py_None;
17639 return resultobj;
17640 fail:
17641 return NULL;
17642 }
17643
17644
17645 static PyObject *_wrap_PyApp_Pending(PyObject *self, PyObject *args, PyObject *kwargs) {
17646 PyObject *resultobj;
17647 wxPyApp *arg1 = (wxPyApp *) 0 ;
17648 bool result;
17649 PyObject * obj0 = 0 ;
17650 char *kwnames[] = {
17651 (char *) "self", NULL
17652 };
17653
17654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_Pending",kwnames,&obj0)) goto fail;
17655 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17656 {
17657 PyThreadState* __tstate = wxPyBeginAllowThreads();
17658 result = (bool)(arg1)->Pending();
17659
17660 wxPyEndAllowThreads(__tstate);
17661 if (PyErr_Occurred()) SWIG_fail;
17662 }
17663 resultobj = PyInt_FromLong((long)result);
17664 return resultobj;
17665 fail:
17666 return NULL;
17667 }
17668
17669
17670 static PyObject *_wrap_PyApp_Dispatch(PyObject *self, PyObject *args, PyObject *kwargs) {
17671 PyObject *resultobj;
17672 wxPyApp *arg1 = (wxPyApp *) 0 ;
17673 bool result;
17674 PyObject * obj0 = 0 ;
17675 char *kwnames[] = {
17676 (char *) "self", NULL
17677 };
17678
17679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_Dispatch",kwnames,&obj0)) goto fail;
17680 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17681 {
17682 PyThreadState* __tstate = wxPyBeginAllowThreads();
17683 result = (bool)(arg1)->Dispatch();
17684
17685 wxPyEndAllowThreads(__tstate);
17686 if (PyErr_Occurred()) SWIG_fail;
17687 }
17688 resultobj = PyInt_FromLong((long)result);
17689 return resultobj;
17690 fail:
17691 return NULL;
17692 }
17693
17694
17695 static PyObject *_wrap_PyApp_ProcessIdle(PyObject *self, PyObject *args, PyObject *kwargs) {
17696 PyObject *resultobj;
17697 wxPyApp *arg1 = (wxPyApp *) 0 ;
17698 bool result;
17699 PyObject * obj0 = 0 ;
17700 char *kwnames[] = {
17701 (char *) "self", NULL
17702 };
17703
17704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_ProcessIdle",kwnames,&obj0)) goto fail;
17705 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17706 {
17707 PyThreadState* __tstate = wxPyBeginAllowThreads();
17708 result = (bool)(arg1)->ProcessIdle();
17709
17710 wxPyEndAllowThreads(__tstate);
17711 if (PyErr_Occurred()) SWIG_fail;
17712 }
17713 resultobj = PyInt_FromLong((long)result);
17714 return resultobj;
17715 fail:
17716 return NULL;
17717 }
17718
17719
17720 static PyObject *_wrap_PyApp_SendIdleEvents(PyObject *self, PyObject *args, PyObject *kwargs) {
17721 PyObject *resultobj;
17722 wxPyApp *arg1 = (wxPyApp *) 0 ;
17723 wxWindow *arg2 = (wxWindow *) 0 ;
17724 wxIdleEvent *arg3 = 0 ;
17725 bool result;
17726 PyObject * obj0 = 0 ;
17727 PyObject * obj1 = 0 ;
17728 PyObject * obj2 = 0 ;
17729 char *kwnames[] = {
17730 (char *) "self",(char *) "win",(char *) "event", NULL
17731 };
17732
17733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyApp_SendIdleEvents",kwnames,&obj0,&obj1,&obj2)) goto fail;
17734 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17735 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17736 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxIdleEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17737 if (arg3 == NULL) {
17738 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17739 }
17740 {
17741 PyThreadState* __tstate = wxPyBeginAllowThreads();
17742 result = (bool)(arg1)->SendIdleEvents(arg2,*arg3);
17743
17744 wxPyEndAllowThreads(__tstate);
17745 if (PyErr_Occurred()) SWIG_fail;
17746 }
17747 resultobj = PyInt_FromLong((long)result);
17748 return resultobj;
17749 fail:
17750 return NULL;
17751 }
17752
17753
17754 static PyObject *_wrap_PyApp_IsActive(PyObject *self, PyObject *args, PyObject *kwargs) {
17755 PyObject *resultobj;
17756 wxPyApp *arg1 = (wxPyApp *) 0 ;
17757 bool result;
17758 PyObject * obj0 = 0 ;
17759 char *kwnames[] = {
17760 (char *) "self", NULL
17761 };
17762
17763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_IsActive",kwnames,&obj0)) goto fail;
17764 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17765 {
17766 PyThreadState* __tstate = wxPyBeginAllowThreads();
17767 result = (bool)((wxPyApp const *)arg1)->IsActive();
17768
17769 wxPyEndAllowThreads(__tstate);
17770 if (PyErr_Occurred()) SWIG_fail;
17771 }
17772 resultobj = PyInt_FromLong((long)result);
17773 return resultobj;
17774 fail:
17775 return NULL;
17776 }
17777
17778
17779 static PyObject *_wrap_PyApp_SetTopWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
17780 PyObject *resultobj;
17781 wxPyApp *arg1 = (wxPyApp *) 0 ;
17782 wxWindow *arg2 = (wxWindow *) 0 ;
17783 PyObject * obj0 = 0 ;
17784 PyObject * obj1 = 0 ;
17785 char *kwnames[] = {
17786 (char *) "self",(char *) "win", NULL
17787 };
17788
17789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetTopWindow",kwnames,&obj0,&obj1)) goto fail;
17790 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17791 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17792 {
17793 PyThreadState* __tstate = wxPyBeginAllowThreads();
17794 (arg1)->SetTopWindow(arg2);
17795
17796 wxPyEndAllowThreads(__tstate);
17797 if (PyErr_Occurred()) SWIG_fail;
17798 }
17799 Py_INCREF(Py_None); resultobj = Py_None;
17800 return resultobj;
17801 fail:
17802 return NULL;
17803 }
17804
17805
17806 static PyObject *_wrap_PyApp_GetTopWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
17807 PyObject *resultobj;
17808 wxPyApp *arg1 = (wxPyApp *) 0 ;
17809 wxWindow *result;
17810 PyObject * obj0 = 0 ;
17811 char *kwnames[] = {
17812 (char *) "self", NULL
17813 };
17814
17815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetTopWindow",kwnames,&obj0)) goto fail;
17816 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17817 {
17818 PyThreadState* __tstate = wxPyBeginAllowThreads();
17819 result = (wxWindow *)((wxPyApp const *)arg1)->GetTopWindow();
17820
17821 wxPyEndAllowThreads(__tstate);
17822 if (PyErr_Occurred()) SWIG_fail;
17823 }
17824 {
17825 resultobj = wxPyMake_wxObject(result);
17826 }
17827 return resultobj;
17828 fail:
17829 return NULL;
17830 }
17831
17832
17833 static PyObject *_wrap_PyApp_SetExitOnFrameDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
17834 PyObject *resultobj;
17835 wxPyApp *arg1 = (wxPyApp *) 0 ;
17836 bool arg2 ;
17837 PyObject * obj0 = 0 ;
17838 PyObject * obj1 = 0 ;
17839 char *kwnames[] = {
17840 (char *) "self",(char *) "flag", NULL
17841 };
17842
17843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetExitOnFrameDelete",kwnames,&obj0,&obj1)) goto fail;
17844 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17845 arg2 = PyInt_AsLong(obj1) ? true : false;
17846 if (PyErr_Occurred()) SWIG_fail;
17847 {
17848 PyThreadState* __tstate = wxPyBeginAllowThreads();
17849 (arg1)->SetExitOnFrameDelete(arg2);
17850
17851 wxPyEndAllowThreads(__tstate);
17852 if (PyErr_Occurred()) SWIG_fail;
17853 }
17854 Py_INCREF(Py_None); resultobj = Py_None;
17855 return resultobj;
17856 fail:
17857 return NULL;
17858 }
17859
17860
17861 static PyObject *_wrap_PyApp_GetExitOnFrameDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
17862 PyObject *resultobj;
17863 wxPyApp *arg1 = (wxPyApp *) 0 ;
17864 bool result;
17865 PyObject * obj0 = 0 ;
17866 char *kwnames[] = {
17867 (char *) "self", NULL
17868 };
17869
17870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetExitOnFrameDelete",kwnames,&obj0)) goto fail;
17871 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17872 {
17873 PyThreadState* __tstate = wxPyBeginAllowThreads();
17874 result = (bool)((wxPyApp const *)arg1)->GetExitOnFrameDelete();
17875
17876 wxPyEndAllowThreads(__tstate);
17877 if (PyErr_Occurred()) SWIG_fail;
17878 }
17879 resultobj = PyInt_FromLong((long)result);
17880 return resultobj;
17881 fail:
17882 return NULL;
17883 }
17884
17885
17886 static PyObject *_wrap_PyApp_SetUseBestVisual(PyObject *self, PyObject *args, PyObject *kwargs) {
17887 PyObject *resultobj;
17888 wxPyApp *arg1 = (wxPyApp *) 0 ;
17889 bool arg2 ;
17890 PyObject * obj0 = 0 ;
17891 PyObject * obj1 = 0 ;
17892 char *kwnames[] = {
17893 (char *) "self",(char *) "flag", NULL
17894 };
17895
17896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetUseBestVisual",kwnames,&obj0,&obj1)) goto fail;
17897 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17898 arg2 = PyInt_AsLong(obj1) ? true : false;
17899 if (PyErr_Occurred()) SWIG_fail;
17900 {
17901 PyThreadState* __tstate = wxPyBeginAllowThreads();
17902 (arg1)->SetUseBestVisual(arg2);
17903
17904 wxPyEndAllowThreads(__tstate);
17905 if (PyErr_Occurred()) SWIG_fail;
17906 }
17907 Py_INCREF(Py_None); resultobj = Py_None;
17908 return resultobj;
17909 fail:
17910 return NULL;
17911 }
17912
17913
17914 static PyObject *_wrap_PyApp_GetUseBestVisual(PyObject *self, PyObject *args, PyObject *kwargs) {
17915 PyObject *resultobj;
17916 wxPyApp *arg1 = (wxPyApp *) 0 ;
17917 bool result;
17918 PyObject * obj0 = 0 ;
17919 char *kwnames[] = {
17920 (char *) "self", NULL
17921 };
17922
17923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetUseBestVisual",kwnames,&obj0)) goto fail;
17924 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17925 {
17926 PyThreadState* __tstate = wxPyBeginAllowThreads();
17927 result = (bool)((wxPyApp const *)arg1)->GetUseBestVisual();
17928
17929 wxPyEndAllowThreads(__tstate);
17930 if (PyErr_Occurred()) SWIG_fail;
17931 }
17932 resultobj = PyInt_FromLong((long)result);
17933 return resultobj;
17934 fail:
17935 return NULL;
17936 }
17937
17938
17939 static PyObject *_wrap_PyApp_SetPrintMode(PyObject *self, PyObject *args, PyObject *kwargs) {
17940 PyObject *resultobj;
17941 wxPyApp *arg1 = (wxPyApp *) 0 ;
17942 int arg2 ;
17943 PyObject * obj0 = 0 ;
17944 char *kwnames[] = {
17945 (char *) "self",(char *) "mode", NULL
17946 };
17947
17948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyApp_SetPrintMode",kwnames,&obj0,&arg2)) goto fail;
17949 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17950 {
17951 PyThreadState* __tstate = wxPyBeginAllowThreads();
17952 (arg1)->SetPrintMode(arg2);
17953
17954 wxPyEndAllowThreads(__tstate);
17955 if (PyErr_Occurred()) SWIG_fail;
17956 }
17957 Py_INCREF(Py_None); resultobj = Py_None;
17958 return resultobj;
17959 fail:
17960 return NULL;
17961 }
17962
17963
17964 static PyObject *_wrap_PyApp_GetPrintMode(PyObject *self, PyObject *args, PyObject *kwargs) {
17965 PyObject *resultobj;
17966 wxPyApp *arg1 = (wxPyApp *) 0 ;
17967 int result;
17968 PyObject * obj0 = 0 ;
17969 char *kwnames[] = {
17970 (char *) "self", NULL
17971 };
17972
17973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetPrintMode",kwnames,&obj0)) goto fail;
17974 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17975 {
17976 PyThreadState* __tstate = wxPyBeginAllowThreads();
17977 result = (int)((wxPyApp const *)arg1)->GetPrintMode();
17978
17979 wxPyEndAllowThreads(__tstate);
17980 if (PyErr_Occurred()) SWIG_fail;
17981 }
17982 resultobj = PyInt_FromLong((long)result);
17983 return resultobj;
17984 fail:
17985 return NULL;
17986 }
17987
17988
17989 static PyObject *_wrap_PyApp_SetAssertMode(PyObject *self, PyObject *args, PyObject *kwargs) {
17990 PyObject *resultobj;
17991 wxPyApp *arg1 = (wxPyApp *) 0 ;
17992 int arg2 ;
17993 PyObject * obj0 = 0 ;
17994 char *kwnames[] = {
17995 (char *) "self",(char *) "mode", NULL
17996 };
17997
17998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyApp_SetAssertMode",kwnames,&obj0,&arg2)) goto fail;
17999 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18000 {
18001 PyThreadState* __tstate = wxPyBeginAllowThreads();
18002 (arg1)->SetAssertMode(arg2);
18003
18004 wxPyEndAllowThreads(__tstate);
18005 if (PyErr_Occurred()) SWIG_fail;
18006 }
18007 Py_INCREF(Py_None); resultobj = Py_None;
18008 return resultobj;
18009 fail:
18010 return NULL;
18011 }
18012
18013
18014 static PyObject *_wrap_PyApp_GetAssertMode(PyObject *self, PyObject *args, PyObject *kwargs) {
18015 PyObject *resultobj;
18016 wxPyApp *arg1 = (wxPyApp *) 0 ;
18017 int result;
18018 PyObject * obj0 = 0 ;
18019 char *kwnames[] = {
18020 (char *) "self", NULL
18021 };
18022
18023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetAssertMode",kwnames,&obj0)) goto fail;
18024 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18025 {
18026 PyThreadState* __tstate = wxPyBeginAllowThreads();
18027 result = (int)(arg1)->GetAssertMode();
18028
18029 wxPyEndAllowThreads(__tstate);
18030 if (PyErr_Occurred()) SWIG_fail;
18031 }
18032 resultobj = PyInt_FromLong((long)result);
18033 return resultobj;
18034 fail:
18035 return NULL;
18036 }
18037
18038
18039 static PyObject *_wrap_PyApp_GetMacSupportPCMenuShortcuts(PyObject *self, PyObject *args, PyObject *kwargs) {
18040 PyObject *resultobj;
18041 bool result;
18042 char *kwnames[] = {
18043 NULL
18044 };
18045
18046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":PyApp_GetMacSupportPCMenuShortcuts",kwnames)) goto fail;
18047 {
18048 PyThreadState* __tstate = wxPyBeginAllowThreads();
18049 result = (bool)wxPyApp::GetMacSupportPCMenuShortcuts();
18050
18051 wxPyEndAllowThreads(__tstate);
18052 if (PyErr_Occurred()) SWIG_fail;
18053 }
18054 resultobj = PyInt_FromLong((long)result);
18055 return resultobj;
18056 fail:
18057 return NULL;
18058 }
18059
18060
18061 static PyObject *_wrap_PyApp_GetMacAboutMenuItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
18062 PyObject *resultobj;
18063 long result;
18064 char *kwnames[] = {
18065 NULL
18066 };
18067
18068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":PyApp_GetMacAboutMenuItemId",kwnames)) goto fail;
18069 {
18070 PyThreadState* __tstate = wxPyBeginAllowThreads();
18071 result = (long)wxPyApp::GetMacAboutMenuItemId();
18072
18073 wxPyEndAllowThreads(__tstate);
18074 if (PyErr_Occurred()) SWIG_fail;
18075 }
18076 resultobj = PyInt_FromLong((long)result);
18077 return resultobj;
18078 fail:
18079 return NULL;
18080 }
18081
18082
18083 static PyObject *_wrap_PyApp_GetMacPreferencesMenuItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
18084 PyObject *resultobj;
18085 long result;
18086 char *kwnames[] = {
18087 NULL
18088 };
18089
18090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":PyApp_GetMacPreferencesMenuItemId",kwnames)) goto fail;
18091 {
18092 PyThreadState* __tstate = wxPyBeginAllowThreads();
18093 result = (long)wxPyApp::GetMacPreferencesMenuItemId();
18094
18095 wxPyEndAllowThreads(__tstate);
18096 if (PyErr_Occurred()) SWIG_fail;
18097 }
18098 resultobj = PyInt_FromLong((long)result);
18099 return resultobj;
18100 fail:
18101 return NULL;
18102 }
18103
18104
18105 static PyObject *_wrap_PyApp_GetMacExitMenuItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
18106 PyObject *resultobj;
18107 long result;
18108 char *kwnames[] = {
18109 NULL
18110 };
18111
18112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":PyApp_GetMacExitMenuItemId",kwnames)) goto fail;
18113 {
18114 PyThreadState* __tstate = wxPyBeginAllowThreads();
18115 result = (long)wxPyApp::GetMacExitMenuItemId();
18116
18117 wxPyEndAllowThreads(__tstate);
18118 if (PyErr_Occurred()) SWIG_fail;
18119 }
18120 resultobj = PyInt_FromLong((long)result);
18121 return resultobj;
18122 fail:
18123 return NULL;
18124 }
18125
18126
18127 static PyObject *_wrap_PyApp_GetMacHelpMenuTitleName(PyObject *self, PyObject *args, PyObject *kwargs) {
18128 PyObject *resultobj;
18129 wxString result;
18130 char *kwnames[] = {
18131 NULL
18132 };
18133
18134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":PyApp_GetMacHelpMenuTitleName",kwnames)) goto fail;
18135 {
18136 PyThreadState* __tstate = wxPyBeginAllowThreads();
18137 result = wxPyApp::GetMacHelpMenuTitleName();
18138
18139 wxPyEndAllowThreads(__tstate);
18140 if (PyErr_Occurred()) SWIG_fail;
18141 }
18142 {
18143 #if wxUSE_UNICODE
18144 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18145 #else
18146 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18147 #endif
18148 }
18149 return resultobj;
18150 fail:
18151 return NULL;
18152 }
18153
18154
18155 static PyObject *_wrap_PyApp_SetMacSupportPCMenuShortcuts(PyObject *self, PyObject *args, PyObject *kwargs) {
18156 PyObject *resultobj;
18157 bool arg1 ;
18158 PyObject * obj0 = 0 ;
18159 char *kwnames[] = {
18160 (char *) "val", NULL
18161 };
18162
18163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_SetMacSupportPCMenuShortcuts",kwnames,&obj0)) goto fail;
18164 arg1 = PyInt_AsLong(obj0) ? true : false;
18165 if (PyErr_Occurred()) SWIG_fail;
18166 {
18167 PyThreadState* __tstate = wxPyBeginAllowThreads();
18168 wxPyApp::SetMacSupportPCMenuShortcuts(arg1);
18169
18170 wxPyEndAllowThreads(__tstate);
18171 if (PyErr_Occurred()) SWIG_fail;
18172 }
18173 Py_INCREF(Py_None); resultobj = Py_None;
18174 return resultobj;
18175 fail:
18176 return NULL;
18177 }
18178
18179
18180 static PyObject *_wrap_PyApp_SetMacAboutMenuItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
18181 PyObject *resultobj;
18182 long arg1 ;
18183 char *kwnames[] = {
18184 (char *) "val", NULL
18185 };
18186
18187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"l:PyApp_SetMacAboutMenuItemId",kwnames,&arg1)) goto fail;
18188 {
18189 PyThreadState* __tstate = wxPyBeginAllowThreads();
18190 wxPyApp::SetMacAboutMenuItemId(arg1);
18191
18192 wxPyEndAllowThreads(__tstate);
18193 if (PyErr_Occurred()) SWIG_fail;
18194 }
18195 Py_INCREF(Py_None); resultobj = Py_None;
18196 return resultobj;
18197 fail:
18198 return NULL;
18199 }
18200
18201
18202 static PyObject *_wrap_PyApp_SetMacPreferencesMenuItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
18203 PyObject *resultobj;
18204 long arg1 ;
18205 char *kwnames[] = {
18206 (char *) "val", NULL
18207 };
18208
18209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"l:PyApp_SetMacPreferencesMenuItemId",kwnames,&arg1)) goto fail;
18210 {
18211 PyThreadState* __tstate = wxPyBeginAllowThreads();
18212 wxPyApp::SetMacPreferencesMenuItemId(arg1);
18213
18214 wxPyEndAllowThreads(__tstate);
18215 if (PyErr_Occurred()) SWIG_fail;
18216 }
18217 Py_INCREF(Py_None); resultobj = Py_None;
18218 return resultobj;
18219 fail:
18220 return NULL;
18221 }
18222
18223
18224 static PyObject *_wrap_PyApp_SetMacExitMenuItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
18225 PyObject *resultobj;
18226 long arg1 ;
18227 char *kwnames[] = {
18228 (char *) "val", NULL
18229 };
18230
18231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"l:PyApp_SetMacExitMenuItemId",kwnames,&arg1)) goto fail;
18232 {
18233 PyThreadState* __tstate = wxPyBeginAllowThreads();
18234 wxPyApp::SetMacExitMenuItemId(arg1);
18235
18236 wxPyEndAllowThreads(__tstate);
18237 if (PyErr_Occurred()) SWIG_fail;
18238 }
18239 Py_INCREF(Py_None); resultobj = Py_None;
18240 return resultobj;
18241 fail:
18242 return NULL;
18243 }
18244
18245
18246 static PyObject *_wrap_PyApp_SetMacHelpMenuTitleName(PyObject *self, PyObject *args, PyObject *kwargs) {
18247 PyObject *resultobj;
18248 wxString *arg1 = 0 ;
18249 bool temp1 = False ;
18250 PyObject * obj0 = 0 ;
18251 char *kwnames[] = {
18252 (char *) "val", NULL
18253 };
18254
18255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_SetMacHelpMenuTitleName",kwnames,&obj0)) goto fail;
18256 {
18257 arg1 = wxString_in_helper(obj0);
18258 if (arg1 == NULL) SWIG_fail;
18259 temp1 = True;
18260 }
18261 {
18262 PyThreadState* __tstate = wxPyBeginAllowThreads();
18263 wxPyApp::SetMacHelpMenuTitleName((wxString const &)*arg1);
18264
18265 wxPyEndAllowThreads(__tstate);
18266 if (PyErr_Occurred()) SWIG_fail;
18267 }
18268 Py_INCREF(Py_None); resultobj = Py_None;
18269 {
18270 if (temp1)
18271 delete arg1;
18272 }
18273 return resultobj;
18274 fail:
18275 {
18276 if (temp1)
18277 delete arg1;
18278 }
18279 return NULL;
18280 }
18281
18282
18283 static PyObject *_wrap_PyApp__BootstrapApp(PyObject *self, PyObject *args, PyObject *kwargs) {
18284 PyObject *resultobj;
18285 wxPyApp *arg1 = (wxPyApp *) 0 ;
18286 PyObject * obj0 = 0 ;
18287 char *kwnames[] = {
18288 (char *) "self", NULL
18289 };
18290
18291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp__BootstrapApp",kwnames,&obj0)) goto fail;
18292 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18293 {
18294 PyThreadState* __tstate = wxPyBeginAllowThreads();
18295 (arg1)->_BootstrapApp();
18296
18297 wxPyEndAllowThreads(__tstate);
18298 if (PyErr_Occurred()) SWIG_fail;
18299 }
18300 Py_INCREF(Py_None); resultobj = Py_None;
18301 return resultobj;
18302 fail:
18303 return NULL;
18304 }
18305
18306
18307 static PyObject *_wrap_PyApp_GetComCtl32Version(PyObject *self, PyObject *args, PyObject *kwargs) {
18308 PyObject *resultobj;
18309 int result;
18310 char *kwnames[] = {
18311 NULL
18312 };
18313
18314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":PyApp_GetComCtl32Version",kwnames)) goto fail;
18315 {
18316 PyThreadState* __tstate = wxPyBeginAllowThreads();
18317 result = (int)wxPyApp::GetComCtl32Version();
18318
18319 wxPyEndAllowThreads(__tstate);
18320 if (PyErr_Occurred()) SWIG_fail;
18321 }
18322 resultobj = PyInt_FromLong((long)result);
18323 return resultobj;
18324 fail:
18325 return NULL;
18326 }
18327
18328
18329 static PyObject * PyApp_swigregister(PyObject *self, PyObject *args) {
18330 PyObject *obj;
18331 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18332 SWIG_TypeClientData(SWIGTYPE_p_wxPyApp, obj);
18333 Py_INCREF(obj);
18334 return Py_BuildValue((char *)"");
18335 }
18336 static PyObject *_wrap_Exit(PyObject *self, PyObject *args, PyObject *kwargs) {
18337 PyObject *resultobj;
18338 char *kwnames[] = {
18339 NULL
18340 };
18341
18342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Exit",kwnames)) goto fail;
18343 {
18344 PyThreadState* __tstate = wxPyBeginAllowThreads();
18345 wxExit();
18346
18347 wxPyEndAllowThreads(__tstate);
18348 if (PyErr_Occurred()) SWIG_fail;
18349 }
18350 Py_INCREF(Py_None); resultobj = Py_None;
18351 return resultobj;
18352 fail:
18353 return NULL;
18354 }
18355
18356
18357 static PyObject *_wrap_Yield(PyObject *self, PyObject *args, PyObject *kwargs) {
18358 PyObject *resultobj;
18359 bool result;
18360 char *kwnames[] = {
18361 NULL
18362 };
18363
18364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Yield",kwnames)) goto fail;
18365 {
18366 PyThreadState* __tstate = wxPyBeginAllowThreads();
18367 result = (bool)wxYield();
18368
18369 wxPyEndAllowThreads(__tstate);
18370 if (PyErr_Occurred()) SWIG_fail;
18371 }
18372 resultobj = PyInt_FromLong((long)result);
18373 return resultobj;
18374 fail:
18375 return NULL;
18376 }
18377
18378
18379 static PyObject *_wrap_YieldIfNeeded(PyObject *self, PyObject *args, PyObject *kwargs) {
18380 PyObject *resultobj;
18381 bool result;
18382 char *kwnames[] = {
18383 NULL
18384 };
18385
18386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":YieldIfNeeded",kwnames)) goto fail;
18387 {
18388 PyThreadState* __tstate = wxPyBeginAllowThreads();
18389 result = (bool)wxYieldIfNeeded();
18390
18391 wxPyEndAllowThreads(__tstate);
18392 if (PyErr_Occurred()) SWIG_fail;
18393 }
18394 resultobj = PyInt_FromLong((long)result);
18395 return resultobj;
18396 fail:
18397 return NULL;
18398 }
18399
18400
18401 static PyObject *_wrap_SafeYield(PyObject *self, PyObject *args, PyObject *kwargs) {
18402 PyObject *resultobj;
18403 wxWindow *arg1 = (wxWindow *) NULL ;
18404 bool arg2 = (bool) False ;
18405 bool result;
18406 PyObject * obj0 = 0 ;
18407 PyObject * obj1 = 0 ;
18408 char *kwnames[] = {
18409 (char *) "win",(char *) "onlyIfNeeded", NULL
18410 };
18411
18412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:SafeYield",kwnames,&obj0,&obj1)) goto fail;
18413 if (obj0) {
18414 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18415 }
18416 if (obj1) {
18417 arg2 = PyInt_AsLong(obj1) ? true : false;
18418 if (PyErr_Occurred()) SWIG_fail;
18419 }
18420 {
18421 PyThreadState* __tstate = wxPyBeginAllowThreads();
18422 result = (bool)wxSafeYield(arg1,arg2);
18423
18424 wxPyEndAllowThreads(__tstate);
18425 if (PyErr_Occurred()) SWIG_fail;
18426 }
18427 resultobj = PyInt_FromLong((long)result);
18428 return resultobj;
18429 fail:
18430 return NULL;
18431 }
18432
18433
18434 static PyObject *_wrap_WakeUpIdle(PyObject *self, PyObject *args, PyObject *kwargs) {
18435 PyObject *resultobj;
18436 char *kwnames[] = {
18437 NULL
18438 };
18439
18440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":WakeUpIdle",kwnames)) goto fail;
18441 {
18442 PyThreadState* __tstate = wxPyBeginAllowThreads();
18443 wxWakeUpIdle();
18444
18445 wxPyEndAllowThreads(__tstate);
18446 if (PyErr_Occurred()) SWIG_fail;
18447 }
18448 Py_INCREF(Py_None); resultobj = Py_None;
18449 return resultobj;
18450 fail:
18451 return NULL;
18452 }
18453
18454
18455 static PyObject *_wrap_PostEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
18456 PyObject *resultobj;
18457 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
18458 wxEvent *arg2 = 0 ;
18459 PyObject * obj0 = 0 ;
18460 PyObject * obj1 = 0 ;
18461 char *kwnames[] = {
18462 (char *) "dest",(char *) "event", NULL
18463 };
18464
18465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PostEvent",kwnames,&obj0,&obj1)) goto fail;
18466 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18467 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18468 if (arg2 == NULL) {
18469 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18470 }
18471 {
18472 PyThreadState* __tstate = wxPyBeginAllowThreads();
18473 wxPostEvent(arg1,*arg2);
18474
18475 wxPyEndAllowThreads(__tstate);
18476 if (PyErr_Occurred()) SWIG_fail;
18477 }
18478 Py_INCREF(Py_None); resultobj = Py_None;
18479 return resultobj;
18480 fail:
18481 return NULL;
18482 }
18483
18484
18485 static PyObject *_wrap_App_CleanUp(PyObject *self, PyObject *args, PyObject *kwargs) {
18486 PyObject *resultobj;
18487 char *kwnames[] = {
18488 NULL
18489 };
18490
18491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":App_CleanUp",kwnames)) goto fail;
18492 {
18493 PyThreadState* __tstate = wxPyBeginAllowThreads();
18494 wxApp_CleanUp();
18495
18496 wxPyEndAllowThreads(__tstate);
18497 if (PyErr_Occurred()) SWIG_fail;
18498 }
18499 Py_INCREF(Py_None); resultobj = Py_None;
18500 return resultobj;
18501 fail:
18502 return NULL;
18503 }
18504
18505
18506 static PyObject *_wrap_GetApp(PyObject *self, PyObject *args, PyObject *kwargs) {
18507 PyObject *resultobj;
18508 wxPyApp *result;
18509 char *kwnames[] = {
18510 NULL
18511 };
18512
18513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetApp",kwnames)) goto fail;
18514 {
18515 PyThreadState* __tstate = wxPyBeginAllowThreads();
18516 result = (wxPyApp *)wxGetApp();
18517
18518 wxPyEndAllowThreads(__tstate);
18519 if (PyErr_Occurred()) SWIG_fail;
18520 }
18521 {
18522 resultobj = wxPyMake_wxObject(result);
18523 }
18524 return resultobj;
18525 fail:
18526 return NULL;
18527 }
18528
18529
18530 static PyObject *_wrap_new_AcceleratorEntry(PyObject *self, PyObject *args, PyObject *kwargs) {
18531 PyObject *resultobj;
18532 int arg1 = (int) 0 ;
18533 int arg2 = (int) 0 ;
18534 int arg3 = (int) 0 ;
18535 wxMenuItem *arg4 = (wxMenuItem *) NULL ;
18536 wxAcceleratorEntry *result;
18537 PyObject * obj3 = 0 ;
18538 char *kwnames[] = {
18539 (char *) "flags",(char *) "keyCode",(char *) "cmd",(char *) "item", NULL
18540 };
18541
18542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iiiO:new_AcceleratorEntry",kwnames,&arg1,&arg2,&arg3,&obj3)) goto fail;
18543 if (obj3) {
18544 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18545 }
18546 {
18547 PyThreadState* __tstate = wxPyBeginAllowThreads();
18548 result = (wxAcceleratorEntry *)new wxAcceleratorEntry(arg1,arg2,arg3,arg4);
18549
18550 wxPyEndAllowThreads(__tstate);
18551 if (PyErr_Occurred()) SWIG_fail;
18552 }
18553 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxAcceleratorEntry, 1);
18554 return resultobj;
18555 fail:
18556 return NULL;
18557 }
18558
18559
18560 static PyObject *_wrap_delete_AcceleratorEntry(PyObject *self, PyObject *args, PyObject *kwargs) {
18561 PyObject *resultobj;
18562 wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ;
18563 PyObject * obj0 = 0 ;
18564 char *kwnames[] = {
18565 (char *) "self", NULL
18566 };
18567
18568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_AcceleratorEntry",kwnames,&obj0)) goto fail;
18569 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxAcceleratorEntry,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18570 {
18571 PyThreadState* __tstate = wxPyBeginAllowThreads();
18572 delete arg1;
18573
18574 wxPyEndAllowThreads(__tstate);
18575 if (PyErr_Occurred()) SWIG_fail;
18576 }
18577 Py_INCREF(Py_None); resultobj = Py_None;
18578 return resultobj;
18579 fail:
18580 return NULL;
18581 }
18582
18583
18584 static PyObject *_wrap_AcceleratorEntry_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
18585 PyObject *resultobj;
18586 wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ;
18587 int arg2 ;
18588 int arg3 ;
18589 int arg4 ;
18590 wxMenuItem *arg5 = (wxMenuItem *) NULL ;
18591 PyObject * obj0 = 0 ;
18592 PyObject * obj4 = 0 ;
18593 char *kwnames[] = {
18594 (char *) "self",(char *) "flags",(char *) "keyCode",(char *) "cmd",(char *) "item", NULL
18595 };
18596
18597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiii|O:AcceleratorEntry_Set",kwnames,&obj0,&arg2,&arg3,&arg4,&obj4)) goto fail;
18598 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxAcceleratorEntry,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18599 if (obj4) {
18600 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18601 }
18602 {
18603 PyThreadState* __tstate = wxPyBeginAllowThreads();
18604 (arg1)->Set(arg2,arg3,arg4,arg5);
18605
18606 wxPyEndAllowThreads(__tstate);
18607 if (PyErr_Occurred()) SWIG_fail;
18608 }
18609 Py_INCREF(Py_None); resultobj = Py_None;
18610 return resultobj;
18611 fail:
18612 return NULL;
18613 }
18614
18615
18616 static PyObject *_wrap_AcceleratorEntry_SetMenuItem(PyObject *self, PyObject *args, PyObject *kwargs) {
18617 PyObject *resultobj;
18618 wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ;
18619 wxMenuItem *arg2 = (wxMenuItem *) 0 ;
18620 PyObject * obj0 = 0 ;
18621 PyObject * obj1 = 0 ;
18622 char *kwnames[] = {
18623 (char *) "self",(char *) "item", NULL
18624 };
18625
18626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AcceleratorEntry_SetMenuItem",kwnames,&obj0,&obj1)) goto fail;
18627 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxAcceleratorEntry,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18628 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18629 {
18630 PyThreadState* __tstate = wxPyBeginAllowThreads();
18631 (arg1)->SetMenuItem(arg2);
18632
18633 wxPyEndAllowThreads(__tstate);
18634 if (PyErr_Occurred()) SWIG_fail;
18635 }
18636 Py_INCREF(Py_None); resultobj = Py_None;
18637 return resultobj;
18638 fail:
18639 return NULL;
18640 }
18641
18642
18643 static PyObject *_wrap_AcceleratorEntry_GetMenuItem(PyObject *self, PyObject *args, PyObject *kwargs) {
18644 PyObject *resultobj;
18645 wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ;
18646 wxMenuItem *result;
18647 PyObject * obj0 = 0 ;
18648 char *kwnames[] = {
18649 (char *) "self", NULL
18650 };
18651
18652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:AcceleratorEntry_GetMenuItem",kwnames,&obj0)) goto fail;
18653 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxAcceleratorEntry,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18654 {
18655 PyThreadState* __tstate = wxPyBeginAllowThreads();
18656 result = (wxMenuItem *)((wxAcceleratorEntry const *)arg1)->GetMenuItem();
18657
18658 wxPyEndAllowThreads(__tstate);
18659 if (PyErr_Occurred()) SWIG_fail;
18660 }
18661 {
18662 resultobj = wxPyMake_wxObject(result);
18663 }
18664 return resultobj;
18665 fail:
18666 return NULL;
18667 }
18668
18669
18670 static PyObject *_wrap_AcceleratorEntry_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
18671 PyObject *resultobj;
18672 wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ;
18673 int result;
18674 PyObject * obj0 = 0 ;
18675 char *kwnames[] = {
18676 (char *) "self", NULL
18677 };
18678
18679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:AcceleratorEntry_GetFlags",kwnames,&obj0)) goto fail;
18680 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxAcceleratorEntry,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18681 {
18682 PyThreadState* __tstate = wxPyBeginAllowThreads();
18683 result = (int)(arg1)->GetFlags();
18684
18685 wxPyEndAllowThreads(__tstate);
18686 if (PyErr_Occurred()) SWIG_fail;
18687 }
18688 resultobj = PyInt_FromLong((long)result);
18689 return resultobj;
18690 fail:
18691 return NULL;
18692 }
18693
18694
18695 static PyObject *_wrap_AcceleratorEntry_GetKeyCode(PyObject *self, PyObject *args, PyObject *kwargs) {
18696 PyObject *resultobj;
18697 wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ;
18698 int result;
18699 PyObject * obj0 = 0 ;
18700 char *kwnames[] = {
18701 (char *) "self", NULL
18702 };
18703
18704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:AcceleratorEntry_GetKeyCode",kwnames,&obj0)) goto fail;
18705 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxAcceleratorEntry,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18706 {
18707 PyThreadState* __tstate = wxPyBeginAllowThreads();
18708 result = (int)(arg1)->GetKeyCode();
18709
18710 wxPyEndAllowThreads(__tstate);
18711 if (PyErr_Occurred()) SWIG_fail;
18712 }
18713 resultobj = PyInt_FromLong((long)result);
18714 return resultobj;
18715 fail:
18716 return NULL;
18717 }
18718
18719
18720 static PyObject *_wrap_AcceleratorEntry_GetCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
18721 PyObject *resultobj;
18722 wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ;
18723 int result;
18724 PyObject * obj0 = 0 ;
18725 char *kwnames[] = {
18726 (char *) "self", NULL
18727 };
18728
18729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:AcceleratorEntry_GetCommand",kwnames,&obj0)) goto fail;
18730 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxAcceleratorEntry,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18731 {
18732 PyThreadState* __tstate = wxPyBeginAllowThreads();
18733 result = (int)(arg1)->GetCommand();
18734
18735 wxPyEndAllowThreads(__tstate);
18736 if (PyErr_Occurred()) SWIG_fail;
18737 }
18738 resultobj = PyInt_FromLong((long)result);
18739 return resultobj;
18740 fail:
18741 return NULL;
18742 }
18743
18744
18745 static PyObject * AcceleratorEntry_swigregister(PyObject *self, PyObject *args) {
18746 PyObject *obj;
18747 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18748 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorEntry, obj);
18749 Py_INCREF(obj);
18750 return Py_BuildValue((char *)"");
18751 }
18752 static PyObject *_wrap_new_AcceleratorTable(PyObject *self, PyObject *args, PyObject *kwargs) {
18753 PyObject *resultobj;
18754 int arg1 ;
18755 wxAcceleratorEntry *arg2 = (wxAcceleratorEntry *) 0 ;
18756 wxAcceleratorTable *result;
18757 PyObject * obj0 = 0 ;
18758 char *kwnames[] = {
18759 (char *) "n", NULL
18760 };
18761
18762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_AcceleratorTable",kwnames,&obj0)) goto fail;
18763 {
18764 arg2 = wxAcceleratorEntry_LIST_helper(obj0);
18765 if (arg2) arg1 = PyList_Size(obj0);
18766 else arg1 = 0;
18767 }
18768 {
18769 PyThreadState* __tstate = wxPyBeginAllowThreads();
18770 result = (wxAcceleratorTable *)new wxAcceleratorTable(arg1,(wxAcceleratorEntry const *)arg2);
18771
18772 wxPyEndAllowThreads(__tstate);
18773 if (PyErr_Occurred()) SWIG_fail;
18774 }
18775 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxAcceleratorTable, 1);
18776 {
18777 delete [] arg2;
18778 }
18779 return resultobj;
18780 fail:
18781 {
18782 delete [] arg2;
18783 }
18784 return NULL;
18785 }
18786
18787
18788 static PyObject *_wrap_delete_AcceleratorTable(PyObject *self, PyObject *args, PyObject *kwargs) {
18789 PyObject *resultobj;
18790 wxAcceleratorTable *arg1 = (wxAcceleratorTable *) 0 ;
18791 PyObject * obj0 = 0 ;
18792 char *kwnames[] = {
18793 (char *) "self", NULL
18794 };
18795
18796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_AcceleratorTable",kwnames,&obj0)) goto fail;
18797 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxAcceleratorTable,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18798 {
18799 PyThreadState* __tstate = wxPyBeginAllowThreads();
18800 delete arg1;
18801
18802 wxPyEndAllowThreads(__tstate);
18803 if (PyErr_Occurred()) SWIG_fail;
18804 }
18805 Py_INCREF(Py_None); resultobj = Py_None;
18806 return resultobj;
18807 fail:
18808 return NULL;
18809 }
18810
18811
18812 static PyObject *_wrap_AcceleratorTable_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
18813 PyObject *resultobj;
18814 wxAcceleratorTable *arg1 = (wxAcceleratorTable *) 0 ;
18815 bool result;
18816 PyObject * obj0 = 0 ;
18817 char *kwnames[] = {
18818 (char *) "self", NULL
18819 };
18820
18821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:AcceleratorTable_Ok",kwnames,&obj0)) goto fail;
18822 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxAcceleratorTable,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18823 {
18824 PyThreadState* __tstate = wxPyBeginAllowThreads();
18825 result = (bool)((wxAcceleratorTable const *)arg1)->Ok();
18826
18827 wxPyEndAllowThreads(__tstate);
18828 if (PyErr_Occurred()) SWIG_fail;
18829 }
18830 resultobj = PyInt_FromLong((long)result);
18831 return resultobj;
18832 fail:
18833 return NULL;
18834 }
18835
18836
18837 static PyObject * AcceleratorTable_swigregister(PyObject *self, PyObject *args) {
18838 PyObject *obj;
18839 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18840 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorTable, obj);
18841 Py_INCREF(obj);
18842 return Py_BuildValue((char *)"");
18843 }
18844 static int _wrap_NullAcceleratorTable_set(PyObject *_val) {
18845 PyErr_SetString(PyExc_TypeError,"Variable NullAcceleratorTable is read-only.");
18846 return 1;
18847 }
18848
18849
18850 static PyObject *_wrap_NullAcceleratorTable_get() {
18851 PyObject *pyobj;
18852
18853 pyobj = SWIG_NewPointerObj((void *) &wxNullAcceleratorTable, SWIGTYPE_p_wxAcceleratorTable, 0);
18854 return pyobj;
18855 }
18856
18857
18858 static PyObject *_wrap_GetAccelFromString(PyObject *self, PyObject *args, PyObject *kwargs) {
18859 PyObject *resultobj;
18860 wxString *arg1 = 0 ;
18861 wxAcceleratorEntry *result;
18862 bool temp1 = False ;
18863 PyObject * obj0 = 0 ;
18864 char *kwnames[] = {
18865 (char *) "label", NULL
18866 };
18867
18868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GetAccelFromString",kwnames,&obj0)) goto fail;
18869 {
18870 arg1 = wxString_in_helper(obj0);
18871 if (arg1 == NULL) SWIG_fail;
18872 temp1 = True;
18873 }
18874 {
18875 PyThreadState* __tstate = wxPyBeginAllowThreads();
18876 result = (wxAcceleratorEntry *)wxGetAccelFromString((wxString const &)*arg1);
18877
18878 wxPyEndAllowThreads(__tstate);
18879 if (PyErr_Occurred()) SWIG_fail;
18880 }
18881 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxAcceleratorEntry, 0);
18882 {
18883 if (temp1)
18884 delete arg1;
18885 }
18886 return resultobj;
18887 fail:
18888 {
18889 if (temp1)
18890 delete arg1;
18891 }
18892 return NULL;
18893 }
18894
18895
18896 static int _wrap_PanelNameStr_set(PyObject *_val) {
18897 PyErr_SetString(PyExc_TypeError,"Variable PanelNameStr is read-only.");
18898 return 1;
18899 }
18900
18901
18902 static PyObject *_wrap_PanelNameStr_get() {
18903 PyObject *pyobj;
18904
18905 {
18906 #if wxUSE_UNICODE
18907 pyobj = PyUnicode_FromWideChar((&wxPyPanelNameStr)->c_str(), (&wxPyPanelNameStr)->Len());
18908 #else
18909 pyobj = PyString_FromStringAndSize((&wxPyPanelNameStr)->c_str(), (&wxPyPanelNameStr)->Len());
18910 #endif
18911 }
18912 return pyobj;
18913 }
18914
18915
18916 static PyObject *_wrap_new_Window(PyObject *self, PyObject *args, PyObject *kwargs) {
18917 PyObject *resultobj;
18918 wxWindow *arg1 = (wxWindow *) 0 ;
18919 int arg2 ;
18920 wxPoint const &arg3_defvalue = wxDefaultPosition ;
18921 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
18922 wxSize const &arg4_defvalue = wxDefaultSize ;
18923 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
18924 long arg5 = (long) 0 ;
18925 wxString const &arg6_defvalue = wxPyPanelNameStr ;
18926 wxString *arg6 = (wxString *) &arg6_defvalue ;
18927 wxWindow *result;
18928 wxPoint temp3 ;
18929 wxSize temp4 ;
18930 bool temp6 = False ;
18931 PyObject * obj0 = 0 ;
18932 PyObject * obj2 = 0 ;
18933 PyObject * obj3 = 0 ;
18934 PyObject * obj5 = 0 ;
18935 char *kwnames[] = {
18936 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18937 };
18938
18939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_Window",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
18940 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18941 if (obj2) {
18942 {
18943 arg3 = &temp3;
18944 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
18945 }
18946 }
18947 if (obj3) {
18948 {
18949 arg4 = &temp4;
18950 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
18951 }
18952 }
18953 if (obj5) {
18954 {
18955 arg6 = wxString_in_helper(obj5);
18956 if (arg6 == NULL) SWIG_fail;
18957 temp6 = True;
18958 }
18959 }
18960 {
18961 PyThreadState* __tstate = wxPyBeginAllowThreads();
18962 result = (wxWindow *)new wxWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
18963
18964 wxPyEndAllowThreads(__tstate);
18965 if (PyErr_Occurred()) SWIG_fail;
18966 }
18967 {
18968 resultobj = wxPyMake_wxObject(result);
18969 }
18970 {
18971 if (temp6)
18972 delete arg6;
18973 }
18974 return resultobj;
18975 fail:
18976 {
18977 if (temp6)
18978 delete arg6;
18979 }
18980 return NULL;
18981 }
18982
18983
18984 static PyObject *_wrap_new_PreWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
18985 PyObject *resultobj;
18986 wxWindow *result;
18987 char *kwnames[] = {
18988 NULL
18989 };
18990
18991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreWindow",kwnames)) goto fail;
18992 {
18993 PyThreadState* __tstate = wxPyBeginAllowThreads();
18994 result = (wxWindow *)new wxWindow();
18995
18996 wxPyEndAllowThreads(__tstate);
18997 if (PyErr_Occurred()) SWIG_fail;
18998 }
18999 {
19000 resultobj = wxPyMake_wxObject(result);
19001 }
19002 return resultobj;
19003 fail:
19004 return NULL;
19005 }
19006
19007
19008 static PyObject *_wrap_Window_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
19009 PyObject *resultobj;
19010 wxWindow *arg1 = (wxWindow *) 0 ;
19011 wxWindow *arg2 = (wxWindow *) 0 ;
19012 int arg3 ;
19013 wxPoint const &arg4_defvalue = wxDefaultPosition ;
19014 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
19015 wxSize const &arg5_defvalue = wxDefaultSize ;
19016 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
19017 long arg6 = (long) 0 ;
19018 wxString const &arg7_defvalue = wxPyPanelNameStr ;
19019 wxString *arg7 = (wxString *) &arg7_defvalue ;
19020 bool result;
19021 wxPoint temp4 ;
19022 wxSize temp5 ;
19023 bool temp7 = False ;
19024 PyObject * obj0 = 0 ;
19025 PyObject * obj1 = 0 ;
19026 PyObject * obj3 = 0 ;
19027 PyObject * obj4 = 0 ;
19028 PyObject * obj6 = 0 ;
19029 char *kwnames[] = {
19030 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
19031 };
19032
19033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:Window_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
19034 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19035 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19036 if (obj3) {
19037 {
19038 arg4 = &temp4;
19039 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
19040 }
19041 }
19042 if (obj4) {
19043 {
19044 arg5 = &temp5;
19045 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
19046 }
19047 }
19048 if (obj6) {
19049 {
19050 arg7 = wxString_in_helper(obj6);
19051 if (arg7 == NULL) SWIG_fail;
19052 temp7 = True;
19053 }
19054 }
19055 {
19056 PyThreadState* __tstate = wxPyBeginAllowThreads();
19057 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
19058
19059 wxPyEndAllowThreads(__tstate);
19060 if (PyErr_Occurred()) SWIG_fail;
19061 }
19062 resultobj = PyInt_FromLong((long)result);
19063 {
19064 if (temp7)
19065 delete arg7;
19066 }
19067 return resultobj;
19068 fail:
19069 {
19070 if (temp7)
19071 delete arg7;
19072 }
19073 return NULL;
19074 }
19075
19076
19077 static PyObject *_wrap_Window_Close(PyObject *self, PyObject *args, PyObject *kwargs) {
19078 PyObject *resultobj;
19079 wxWindow *arg1 = (wxWindow *) 0 ;
19080 bool arg2 = (bool) False ;
19081 bool result;
19082 PyObject * obj0 = 0 ;
19083 PyObject * obj1 = 0 ;
19084 char *kwnames[] = {
19085 (char *) "self",(char *) "force", NULL
19086 };
19087
19088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_Close",kwnames,&obj0,&obj1)) goto fail;
19089 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19090 if (obj1) {
19091 arg2 = PyInt_AsLong(obj1) ? true : false;
19092 if (PyErr_Occurred()) SWIG_fail;
19093 }
19094 {
19095 PyThreadState* __tstate = wxPyBeginAllowThreads();
19096 result = (bool)(arg1)->Close(arg2);
19097
19098 wxPyEndAllowThreads(__tstate);
19099 if (PyErr_Occurred()) SWIG_fail;
19100 }
19101 resultobj = PyInt_FromLong((long)result);
19102 return resultobj;
19103 fail:
19104 return NULL;
19105 }
19106
19107
19108 static PyObject *_wrap_Window_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
19109 PyObject *resultobj;
19110 wxWindow *arg1 = (wxWindow *) 0 ;
19111 bool result;
19112 PyObject * obj0 = 0 ;
19113 char *kwnames[] = {
19114 (char *) "self", NULL
19115 };
19116
19117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Destroy",kwnames,&obj0)) goto fail;
19118 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19119 {
19120 PyThreadState* __tstate = wxPyBeginAllowThreads();
19121 result = (bool)(arg1)->Destroy();
19122
19123 wxPyEndAllowThreads(__tstate);
19124 if (PyErr_Occurred()) SWIG_fail;
19125 }
19126 resultobj = PyInt_FromLong((long)result);
19127 return resultobj;
19128 fail:
19129 return NULL;
19130 }
19131
19132
19133 static PyObject *_wrap_Window_DestroyChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
19134 PyObject *resultobj;
19135 wxWindow *arg1 = (wxWindow *) 0 ;
19136 bool result;
19137 PyObject * obj0 = 0 ;
19138 char *kwnames[] = {
19139 (char *) "self", NULL
19140 };
19141
19142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_DestroyChildren",kwnames,&obj0)) goto fail;
19143 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19144 {
19145 PyThreadState* __tstate = wxPyBeginAllowThreads();
19146 result = (bool)(arg1)->DestroyChildren();
19147
19148 wxPyEndAllowThreads(__tstate);
19149 if (PyErr_Occurred()) SWIG_fail;
19150 }
19151 resultobj = PyInt_FromLong((long)result);
19152 return resultobj;
19153 fail:
19154 return NULL;
19155 }
19156
19157
19158 static PyObject *_wrap_Window_IsBeingDeleted(PyObject *self, PyObject *args, PyObject *kwargs) {
19159 PyObject *resultobj;
19160 wxWindow *arg1 = (wxWindow *) 0 ;
19161 bool result;
19162 PyObject * obj0 = 0 ;
19163 char *kwnames[] = {
19164 (char *) "self", NULL
19165 };
19166
19167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_IsBeingDeleted",kwnames,&obj0)) goto fail;
19168 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19169 {
19170 PyThreadState* __tstate = wxPyBeginAllowThreads();
19171 result = (bool)((wxWindow const *)arg1)->IsBeingDeleted();
19172
19173 wxPyEndAllowThreads(__tstate);
19174 if (PyErr_Occurred()) SWIG_fail;
19175 }
19176 resultobj = PyInt_FromLong((long)result);
19177 return resultobj;
19178 fail:
19179 return NULL;
19180 }
19181
19182
19183 static PyObject *_wrap_Window_SetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
19184 PyObject *resultobj;
19185 wxWindow *arg1 = (wxWindow *) 0 ;
19186 wxString *arg2 = 0 ;
19187 bool temp2 = False ;
19188 PyObject * obj0 = 0 ;
19189 PyObject * obj1 = 0 ;
19190 char *kwnames[] = {
19191 (char *) "self",(char *) "title", NULL
19192 };
19193
19194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetTitle",kwnames,&obj0,&obj1)) goto fail;
19195 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19196 {
19197 arg2 = wxString_in_helper(obj1);
19198 if (arg2 == NULL) SWIG_fail;
19199 temp2 = True;
19200 }
19201 {
19202 PyThreadState* __tstate = wxPyBeginAllowThreads();
19203 (arg1)->SetTitle((wxString const &)*arg2);
19204
19205 wxPyEndAllowThreads(__tstate);
19206 if (PyErr_Occurred()) SWIG_fail;
19207 }
19208 Py_INCREF(Py_None); resultobj = Py_None;
19209 {
19210 if (temp2)
19211 delete arg2;
19212 }
19213 return resultobj;
19214 fail:
19215 {
19216 if (temp2)
19217 delete arg2;
19218 }
19219 return NULL;
19220 }
19221
19222
19223 static PyObject *_wrap_Window_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
19224 PyObject *resultobj;
19225 wxWindow *arg1 = (wxWindow *) 0 ;
19226 wxString result;
19227 PyObject * obj0 = 0 ;
19228 char *kwnames[] = {
19229 (char *) "self", NULL
19230 };
19231
19232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetTitle",kwnames,&obj0)) goto fail;
19233 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19234 {
19235 PyThreadState* __tstate = wxPyBeginAllowThreads();
19236 result = ((wxWindow const *)arg1)->GetTitle();
19237
19238 wxPyEndAllowThreads(__tstate);
19239 if (PyErr_Occurred()) SWIG_fail;
19240 }
19241 {
19242 #if wxUSE_UNICODE
19243 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
19244 #else
19245 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
19246 #endif
19247 }
19248 return resultobj;
19249 fail:
19250 return NULL;
19251 }
19252
19253
19254 static PyObject *_wrap_Window_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
19255 PyObject *resultobj;
19256 wxWindow *arg1 = (wxWindow *) 0 ;
19257 wxString *arg2 = 0 ;
19258 bool temp2 = False ;
19259 PyObject * obj0 = 0 ;
19260 PyObject * obj1 = 0 ;
19261 char *kwnames[] = {
19262 (char *) "self",(char *) "label", NULL
19263 };
19264
19265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetLabel",kwnames,&obj0,&obj1)) goto fail;
19266 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19267 {
19268 arg2 = wxString_in_helper(obj1);
19269 if (arg2 == NULL) SWIG_fail;
19270 temp2 = True;
19271 }
19272 {
19273 PyThreadState* __tstate = wxPyBeginAllowThreads();
19274 (arg1)->SetLabel((wxString const &)*arg2);
19275
19276 wxPyEndAllowThreads(__tstate);
19277 if (PyErr_Occurred()) SWIG_fail;
19278 }
19279 Py_INCREF(Py_None); resultobj = Py_None;
19280 {
19281 if (temp2)
19282 delete arg2;
19283 }
19284 return resultobj;
19285 fail:
19286 {
19287 if (temp2)
19288 delete arg2;
19289 }
19290 return NULL;
19291 }
19292
19293
19294 static PyObject *_wrap_Window_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
19295 PyObject *resultobj;
19296 wxWindow *arg1 = (wxWindow *) 0 ;
19297 wxString result;
19298 PyObject * obj0 = 0 ;
19299 char *kwnames[] = {
19300 (char *) "self", NULL
19301 };
19302
19303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetLabel",kwnames,&obj0)) goto fail;
19304 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19305 {
19306 PyThreadState* __tstate = wxPyBeginAllowThreads();
19307 result = ((wxWindow const *)arg1)->GetLabel();
19308
19309 wxPyEndAllowThreads(__tstate);
19310 if (PyErr_Occurred()) SWIG_fail;
19311 }
19312 {
19313 #if wxUSE_UNICODE
19314 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
19315 #else
19316 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
19317 #endif
19318 }
19319 return resultobj;
19320 fail:
19321 return NULL;
19322 }
19323
19324
19325 static PyObject *_wrap_Window_SetName(PyObject *self, PyObject *args, PyObject *kwargs) {
19326 PyObject *resultobj;
19327 wxWindow *arg1 = (wxWindow *) 0 ;
19328 wxString *arg2 = 0 ;
19329 bool temp2 = False ;
19330 PyObject * obj0 = 0 ;
19331 PyObject * obj1 = 0 ;
19332 char *kwnames[] = {
19333 (char *) "self",(char *) "name", NULL
19334 };
19335
19336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetName",kwnames,&obj0,&obj1)) goto fail;
19337 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19338 {
19339 arg2 = wxString_in_helper(obj1);
19340 if (arg2 == NULL) SWIG_fail;
19341 temp2 = True;
19342 }
19343 {
19344 PyThreadState* __tstate = wxPyBeginAllowThreads();
19345 (arg1)->SetName((wxString const &)*arg2);
19346
19347 wxPyEndAllowThreads(__tstate);
19348 if (PyErr_Occurred()) SWIG_fail;
19349 }
19350 Py_INCREF(Py_None); resultobj = Py_None;
19351 {
19352 if (temp2)
19353 delete arg2;
19354 }
19355 return resultobj;
19356 fail:
19357 {
19358 if (temp2)
19359 delete arg2;
19360 }
19361 return NULL;
19362 }
19363
19364
19365 static PyObject *_wrap_Window_GetName(PyObject *self, PyObject *args, PyObject *kwargs) {
19366 PyObject *resultobj;
19367 wxWindow *arg1 = (wxWindow *) 0 ;
19368 wxString result;
19369 PyObject * obj0 = 0 ;
19370 char *kwnames[] = {
19371 (char *) "self", NULL
19372 };
19373
19374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetName",kwnames,&obj0)) goto fail;
19375 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19376 {
19377 PyThreadState* __tstate = wxPyBeginAllowThreads();
19378 result = ((wxWindow const *)arg1)->GetName();
19379
19380 wxPyEndAllowThreads(__tstate);
19381 if (PyErr_Occurred()) SWIG_fail;
19382 }
19383 {
19384 #if wxUSE_UNICODE
19385 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
19386 #else
19387 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
19388 #endif
19389 }
19390 return resultobj;
19391 fail:
19392 return NULL;
19393 }
19394
19395
19396 static PyObject *_wrap_Window_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
19397 PyObject *resultobj;
19398 wxWindow *arg1 = (wxWindow *) 0 ;
19399 int arg2 ;
19400 PyObject * obj0 = 0 ;
19401 char *kwnames[] = {
19402 (char *) "self",(char *) "winid", NULL
19403 };
19404
19405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Window_SetId",kwnames,&obj0,&arg2)) goto fail;
19406 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19407 {
19408 PyThreadState* __tstate = wxPyBeginAllowThreads();
19409 (arg1)->SetId(arg2);
19410
19411 wxPyEndAllowThreads(__tstate);
19412 if (PyErr_Occurred()) SWIG_fail;
19413 }
19414 Py_INCREF(Py_None); resultobj = Py_None;
19415 return resultobj;
19416 fail:
19417 return NULL;
19418 }
19419
19420
19421 static PyObject *_wrap_Window_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
19422 PyObject *resultobj;
19423 wxWindow *arg1 = (wxWindow *) 0 ;
19424 int result;
19425 PyObject * obj0 = 0 ;
19426 char *kwnames[] = {
19427 (char *) "self", NULL
19428 };
19429
19430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetId",kwnames,&obj0)) goto fail;
19431 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19432 {
19433 PyThreadState* __tstate = wxPyBeginAllowThreads();
19434 result = (int)((wxWindow const *)arg1)->GetId();
19435
19436 wxPyEndAllowThreads(__tstate);
19437 if (PyErr_Occurred()) SWIG_fail;
19438 }
19439 resultobj = PyInt_FromLong((long)result);
19440 return resultobj;
19441 fail:
19442 return NULL;
19443 }
19444
19445
19446 static PyObject *_wrap_Window_NewControlId(PyObject *self, PyObject *args, PyObject *kwargs) {
19447 PyObject *resultobj;
19448 int result;
19449 char *kwnames[] = {
19450 NULL
19451 };
19452
19453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Window_NewControlId",kwnames)) goto fail;
19454 {
19455 PyThreadState* __tstate = wxPyBeginAllowThreads();
19456 result = (int)wxWindow::NewControlId();
19457
19458 wxPyEndAllowThreads(__tstate);
19459 if (PyErr_Occurred()) SWIG_fail;
19460 }
19461 resultobj = PyInt_FromLong((long)result);
19462 return resultobj;
19463 fail:
19464 return NULL;
19465 }
19466
19467
19468 static PyObject *_wrap_Window_NextControlId(PyObject *self, PyObject *args, PyObject *kwargs) {
19469 PyObject *resultobj;
19470 int arg1 ;
19471 int result;
19472 char *kwnames[] = {
19473 (char *) "winid", NULL
19474 };
19475
19476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:Window_NextControlId",kwnames,&arg1)) goto fail;
19477 {
19478 PyThreadState* __tstate = wxPyBeginAllowThreads();
19479 result = (int)wxWindow::NextControlId(arg1);
19480
19481 wxPyEndAllowThreads(__tstate);
19482 if (PyErr_Occurred()) SWIG_fail;
19483 }
19484 resultobj = PyInt_FromLong((long)result);
19485 return resultobj;
19486 fail:
19487 return NULL;
19488 }
19489
19490
19491 static PyObject *_wrap_Window_PrevControlId(PyObject *self, PyObject *args, PyObject *kwargs) {
19492 PyObject *resultobj;
19493 int arg1 ;
19494 int result;
19495 char *kwnames[] = {
19496 (char *) "winid", NULL
19497 };
19498
19499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:Window_PrevControlId",kwnames,&arg1)) goto fail;
19500 {
19501 PyThreadState* __tstate = wxPyBeginAllowThreads();
19502 result = (int)wxWindow::PrevControlId(arg1);
19503
19504 wxPyEndAllowThreads(__tstate);
19505 if (PyErr_Occurred()) SWIG_fail;
19506 }
19507 resultobj = PyInt_FromLong((long)result);
19508 return resultobj;
19509 fail:
19510 return NULL;
19511 }
19512
19513
19514 static PyObject *_wrap_Window_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
19515 PyObject *resultobj;
19516 wxWindow *arg1 = (wxWindow *) 0 ;
19517 wxSize *arg2 = 0 ;
19518 wxSize temp2 ;
19519 PyObject * obj0 = 0 ;
19520 PyObject * obj1 = 0 ;
19521 char *kwnames[] = {
19522 (char *) "self",(char *) "size", NULL
19523 };
19524
19525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetSize",kwnames,&obj0,&obj1)) goto fail;
19526 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19527 {
19528 arg2 = &temp2;
19529 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
19530 }
19531 {
19532 PyThreadState* __tstate = wxPyBeginAllowThreads();
19533 (arg1)->SetSize((wxSize const &)*arg2);
19534
19535 wxPyEndAllowThreads(__tstate);
19536 if (PyErr_Occurred()) SWIG_fail;
19537 }
19538 Py_INCREF(Py_None); resultobj = Py_None;
19539 return resultobj;
19540 fail:
19541 return NULL;
19542 }
19543
19544
19545 static PyObject *_wrap_Window_SetDimensions(PyObject *self, PyObject *args, PyObject *kwargs) {
19546 PyObject *resultobj;
19547 wxWindow *arg1 = (wxWindow *) 0 ;
19548 int arg2 ;
19549 int arg3 ;
19550 int arg4 ;
19551 int arg5 ;
19552 int arg6 = (int) wxSIZE_AUTO ;
19553 PyObject * obj0 = 0 ;
19554 char *kwnames[] = {
19555 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
19556 };
19557
19558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii|i:Window_SetDimensions",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&arg6)) goto fail;
19559 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19560 {
19561 PyThreadState* __tstate = wxPyBeginAllowThreads();
19562 (arg1)->SetSize(arg2,arg3,arg4,arg5,arg6);
19563
19564 wxPyEndAllowThreads(__tstate);
19565 if (PyErr_Occurred()) SWIG_fail;
19566 }
19567 Py_INCREF(Py_None); resultobj = Py_None;
19568 return resultobj;
19569 fail:
19570 return NULL;
19571 }
19572
19573
19574 static PyObject *_wrap_Window_SetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
19575 PyObject *resultobj;
19576 wxWindow *arg1 = (wxWindow *) 0 ;
19577 wxRect *arg2 = 0 ;
19578 int arg3 = (int) wxSIZE_AUTO ;
19579 wxRect temp2 ;
19580 PyObject * obj0 = 0 ;
19581 PyObject * obj1 = 0 ;
19582 char *kwnames[] = {
19583 (char *) "self",(char *) "rect",(char *) "sizeFlags", NULL
19584 };
19585
19586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:Window_SetRect",kwnames,&obj0,&obj1,&arg3)) goto fail;
19587 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19588 {
19589 arg2 = &temp2;
19590 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
19591 }
19592 {
19593 PyThreadState* __tstate = wxPyBeginAllowThreads();
19594 (arg1)->SetSize((wxRect const &)*arg2,arg3);
19595
19596 wxPyEndAllowThreads(__tstate);
19597 if (PyErr_Occurred()) SWIG_fail;
19598 }
19599 Py_INCREF(Py_None); resultobj = Py_None;
19600 return resultobj;
19601 fail:
19602 return NULL;
19603 }
19604
19605
19606 static PyObject *_wrap_Window_SetSizeWH(PyObject *self, PyObject *args, PyObject *kwargs) {
19607 PyObject *resultobj;
19608 wxWindow *arg1 = (wxWindow *) 0 ;
19609 int arg2 ;
19610 int arg3 ;
19611 PyObject * obj0 = 0 ;
19612 char *kwnames[] = {
19613 (char *) "self",(char *) "width",(char *) "height", NULL
19614 };
19615
19616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Window_SetSizeWH",kwnames,&obj0,&arg2,&arg3)) goto fail;
19617 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19618 {
19619 PyThreadState* __tstate = wxPyBeginAllowThreads();
19620 (arg1)->SetSize(arg2,arg3);
19621
19622 wxPyEndAllowThreads(__tstate);
19623 if (PyErr_Occurred()) SWIG_fail;
19624 }
19625 Py_INCREF(Py_None); resultobj = Py_None;
19626 return resultobj;
19627 fail:
19628 return NULL;
19629 }
19630
19631
19632 static PyObject *_wrap_Window_Move(PyObject *self, PyObject *args, PyObject *kwargs) {
19633 PyObject *resultobj;
19634 wxWindow *arg1 = (wxWindow *) 0 ;
19635 wxPoint *arg2 = 0 ;
19636 int arg3 = (int) wxSIZE_USE_EXISTING ;
19637 wxPoint temp2 ;
19638 PyObject * obj0 = 0 ;
19639 PyObject * obj1 = 0 ;
19640 char *kwnames[] = {
19641 (char *) "self",(char *) "pt",(char *) "flags", NULL
19642 };
19643
19644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:Window_Move",kwnames,&obj0,&obj1,&arg3)) goto fail;
19645 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19646 {
19647 arg2 = &temp2;
19648 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
19649 }
19650 {
19651 PyThreadState* __tstate = wxPyBeginAllowThreads();
19652 (arg1)->Move((wxPoint const &)*arg2,arg3);
19653
19654 wxPyEndAllowThreads(__tstate);
19655 if (PyErr_Occurred()) SWIG_fail;
19656 }
19657 Py_INCREF(Py_None); resultobj = Py_None;
19658 return resultobj;
19659 fail:
19660 return NULL;
19661 }
19662
19663
19664 static PyObject *_wrap_Window_MoveXY(PyObject *self, PyObject *args, PyObject *kwargs) {
19665 PyObject *resultobj;
19666 wxWindow *arg1 = (wxWindow *) 0 ;
19667 int arg2 ;
19668 int arg3 ;
19669 int arg4 = (int) wxSIZE_USE_EXISTING ;
19670 PyObject * obj0 = 0 ;
19671 char *kwnames[] = {
19672 (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL
19673 };
19674
19675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii|i:Window_MoveXY",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
19676 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19677 {
19678 PyThreadState* __tstate = wxPyBeginAllowThreads();
19679 (arg1)->Move(arg2,arg3,arg4);
19680
19681 wxPyEndAllowThreads(__tstate);
19682 if (PyErr_Occurred()) SWIG_fail;
19683 }
19684 Py_INCREF(Py_None); resultobj = Py_None;
19685 return resultobj;
19686 fail:
19687 return NULL;
19688 }
19689
19690
19691 static PyObject *_wrap_Window_Raise(PyObject *self, PyObject *args, PyObject *kwargs) {
19692 PyObject *resultobj;
19693 wxWindow *arg1 = (wxWindow *) 0 ;
19694 PyObject * obj0 = 0 ;
19695 char *kwnames[] = {
19696 (char *) "self", NULL
19697 };
19698
19699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Raise",kwnames,&obj0)) goto fail;
19700 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19701 {
19702 PyThreadState* __tstate = wxPyBeginAllowThreads();
19703 (arg1)->Raise();
19704
19705 wxPyEndAllowThreads(__tstate);
19706 if (PyErr_Occurred()) SWIG_fail;
19707 }
19708 Py_INCREF(Py_None); resultobj = Py_None;
19709 return resultobj;
19710 fail:
19711 return NULL;
19712 }
19713
19714
19715 static PyObject *_wrap_Window_Lower(PyObject *self, PyObject *args, PyObject *kwargs) {
19716 PyObject *resultobj;
19717 wxWindow *arg1 = (wxWindow *) 0 ;
19718 PyObject * obj0 = 0 ;
19719 char *kwnames[] = {
19720 (char *) "self", NULL
19721 };
19722
19723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Lower",kwnames,&obj0)) goto fail;
19724 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19725 {
19726 PyThreadState* __tstate = wxPyBeginAllowThreads();
19727 (arg1)->Lower();
19728
19729 wxPyEndAllowThreads(__tstate);
19730 if (PyErr_Occurred()) SWIG_fail;
19731 }
19732 Py_INCREF(Py_None); resultobj = Py_None;
19733 return resultobj;
19734 fail:
19735 return NULL;
19736 }
19737
19738
19739 static PyObject *_wrap_Window_SetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
19740 PyObject *resultobj;
19741 wxWindow *arg1 = (wxWindow *) 0 ;
19742 wxSize *arg2 = 0 ;
19743 wxSize temp2 ;
19744 PyObject * obj0 = 0 ;
19745 PyObject * obj1 = 0 ;
19746 char *kwnames[] = {
19747 (char *) "self",(char *) "size", NULL
19748 };
19749
19750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetClientSize",kwnames,&obj0,&obj1)) goto fail;
19751 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19752 {
19753 arg2 = &temp2;
19754 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
19755 }
19756 {
19757 PyThreadState* __tstate = wxPyBeginAllowThreads();
19758 (arg1)->SetClientSize((wxSize const &)*arg2);
19759
19760 wxPyEndAllowThreads(__tstate);
19761 if (PyErr_Occurred()) SWIG_fail;
19762 }
19763 Py_INCREF(Py_None); resultobj = Py_None;
19764 return resultobj;
19765 fail:
19766 return NULL;
19767 }
19768
19769
19770 static PyObject *_wrap_Window_SetClientSizeWH(PyObject *self, PyObject *args, PyObject *kwargs) {
19771 PyObject *resultobj;
19772 wxWindow *arg1 = (wxWindow *) 0 ;
19773 int arg2 ;
19774 int arg3 ;
19775 PyObject * obj0 = 0 ;
19776 char *kwnames[] = {
19777 (char *) "self",(char *) "width",(char *) "height", NULL
19778 };
19779
19780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Window_SetClientSizeWH",kwnames,&obj0,&arg2,&arg3)) goto fail;
19781 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19782 {
19783 PyThreadState* __tstate = wxPyBeginAllowThreads();
19784 (arg1)->SetClientSize(arg2,arg3);
19785
19786 wxPyEndAllowThreads(__tstate);
19787 if (PyErr_Occurred()) SWIG_fail;
19788 }
19789 Py_INCREF(Py_None); resultobj = Py_None;
19790 return resultobj;
19791 fail:
19792 return NULL;
19793 }
19794
19795
19796 static PyObject *_wrap_Window_SetClientRect(PyObject *self, PyObject *args, PyObject *kwargs) {
19797 PyObject *resultobj;
19798 wxWindow *arg1 = (wxWindow *) 0 ;
19799 wxRect *arg2 = 0 ;
19800 wxRect temp2 ;
19801 PyObject * obj0 = 0 ;
19802 PyObject * obj1 = 0 ;
19803 char *kwnames[] = {
19804 (char *) "self",(char *) "rect", NULL
19805 };
19806
19807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetClientRect",kwnames,&obj0,&obj1)) goto fail;
19808 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19809 {
19810 arg2 = &temp2;
19811 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
19812 }
19813 {
19814 PyThreadState* __tstate = wxPyBeginAllowThreads();
19815 (arg1)->SetClientSize((wxRect const &)*arg2);
19816
19817 wxPyEndAllowThreads(__tstate);
19818 if (PyErr_Occurred()) SWIG_fail;
19819 }
19820 Py_INCREF(Py_None); resultobj = Py_None;
19821 return resultobj;
19822 fail:
19823 return NULL;
19824 }
19825
19826
19827 static PyObject *_wrap_Window_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
19828 PyObject *resultobj;
19829 wxWindow *arg1 = (wxWindow *) 0 ;
19830 wxPoint result;
19831 PyObject * obj0 = 0 ;
19832 char *kwnames[] = {
19833 (char *) "self", NULL
19834 };
19835
19836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetPosition",kwnames,&obj0)) goto fail;
19837 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19838 {
19839 PyThreadState* __tstate = wxPyBeginAllowThreads();
19840 result = (arg1)->GetPosition();
19841
19842 wxPyEndAllowThreads(__tstate);
19843 if (PyErr_Occurred()) SWIG_fail;
19844 }
19845 {
19846 wxPoint * resultptr;
19847 resultptr = new wxPoint((wxPoint &) result);
19848 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
19849 }
19850 return resultobj;
19851 fail:
19852 return NULL;
19853 }
19854
19855
19856 static PyObject *_wrap_Window_GetPositionTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
19857 PyObject *resultobj;
19858 wxWindow *arg1 = (wxWindow *) 0 ;
19859 int *arg2 = (int *) 0 ;
19860 int *arg3 = (int *) 0 ;
19861 int temp2 ;
19862 int temp3 ;
19863 PyObject * obj0 = 0 ;
19864 char *kwnames[] = {
19865 (char *) "self", NULL
19866 };
19867
19868 arg2 = &temp2;
19869 arg3 = &temp3;
19870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetPositionTuple",kwnames,&obj0)) goto fail;
19871 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19872 {
19873 PyThreadState* __tstate = wxPyBeginAllowThreads();
19874 (arg1)->GetPosition(arg2,arg3);
19875
19876 wxPyEndAllowThreads(__tstate);
19877 if (PyErr_Occurred()) SWIG_fail;
19878 }
19879 Py_INCREF(Py_None); resultobj = Py_None;
19880 {
19881 PyObject *o = PyInt_FromLong((long) (*arg2));
19882 resultobj = t_output_helper(resultobj,o);
19883 }
19884 {
19885 PyObject *o = PyInt_FromLong((long) (*arg3));
19886 resultobj = t_output_helper(resultobj,o);
19887 }
19888 return resultobj;
19889 fail:
19890 return NULL;
19891 }
19892
19893
19894 static PyObject *_wrap_Window_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
19895 PyObject *resultobj;
19896 wxWindow *arg1 = (wxWindow *) 0 ;
19897 wxSize result;
19898 PyObject * obj0 = 0 ;
19899 char *kwnames[] = {
19900 (char *) "self", NULL
19901 };
19902
19903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetSize",kwnames,&obj0)) goto fail;
19904 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19905 {
19906 PyThreadState* __tstate = wxPyBeginAllowThreads();
19907 result = ((wxWindow const *)arg1)->GetSize();
19908
19909 wxPyEndAllowThreads(__tstate);
19910 if (PyErr_Occurred()) SWIG_fail;
19911 }
19912 {
19913 wxSize * resultptr;
19914 resultptr = new wxSize((wxSize &) result);
19915 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
19916 }
19917 return resultobj;
19918 fail:
19919 return NULL;
19920 }
19921
19922
19923 static PyObject *_wrap_Window_GetSizeTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
19924 PyObject *resultobj;
19925 wxWindow *arg1 = (wxWindow *) 0 ;
19926 int *arg2 = (int *) 0 ;
19927 int *arg3 = (int *) 0 ;
19928 int temp2 ;
19929 int temp3 ;
19930 PyObject * obj0 = 0 ;
19931 char *kwnames[] = {
19932 (char *) "self", NULL
19933 };
19934
19935 arg2 = &temp2;
19936 arg3 = &temp3;
19937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetSizeTuple",kwnames,&obj0)) goto fail;
19938 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19939 {
19940 PyThreadState* __tstate = wxPyBeginAllowThreads();
19941 ((wxWindow const *)arg1)->GetSize(arg2,arg3);
19942
19943 wxPyEndAllowThreads(__tstate);
19944 if (PyErr_Occurred()) SWIG_fail;
19945 }
19946 Py_INCREF(Py_None); resultobj = Py_None;
19947 {
19948 PyObject *o = PyInt_FromLong((long) (*arg2));
19949 resultobj = t_output_helper(resultobj,o);
19950 }
19951 {
19952 PyObject *o = PyInt_FromLong((long) (*arg3));
19953 resultobj = t_output_helper(resultobj,o);
19954 }
19955 return resultobj;
19956 fail:
19957 return NULL;
19958 }
19959
19960
19961 static PyObject *_wrap_Window_GetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
19962 PyObject *resultobj;
19963 wxWindow *arg1 = (wxWindow *) 0 ;
19964 wxRect result;
19965 PyObject * obj0 = 0 ;
19966 char *kwnames[] = {
19967 (char *) "self", NULL
19968 };
19969
19970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetRect",kwnames,&obj0)) goto fail;
19971 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19972 {
19973 PyThreadState* __tstate = wxPyBeginAllowThreads();
19974 result = ((wxWindow const *)arg1)->GetRect();
19975
19976 wxPyEndAllowThreads(__tstate);
19977 if (PyErr_Occurred()) SWIG_fail;
19978 }
19979 {
19980 wxRect * resultptr;
19981 resultptr = new wxRect((wxRect &) result);
19982 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
19983 }
19984 return resultobj;
19985 fail:
19986 return NULL;
19987 }
19988
19989
19990 static PyObject *_wrap_Window_GetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
19991 PyObject *resultobj;
19992 wxWindow *arg1 = (wxWindow *) 0 ;
19993 wxSize result;
19994 PyObject * obj0 = 0 ;
19995 char *kwnames[] = {
19996 (char *) "self", NULL
19997 };
19998
19999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetClientSize",kwnames,&obj0)) goto fail;
20000 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20001 {
20002 PyThreadState* __tstate = wxPyBeginAllowThreads();
20003 result = ((wxWindow const *)arg1)->GetClientSize();
20004
20005 wxPyEndAllowThreads(__tstate);
20006 if (PyErr_Occurred()) SWIG_fail;
20007 }
20008 {
20009 wxSize * resultptr;
20010 resultptr = new wxSize((wxSize &) result);
20011 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
20012 }
20013 return resultobj;
20014 fail:
20015 return NULL;
20016 }
20017
20018
20019 static PyObject *_wrap_Window_GetClientSizeTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
20020 PyObject *resultobj;
20021 wxWindow *arg1 = (wxWindow *) 0 ;
20022 int *arg2 = (int *) 0 ;
20023 int *arg3 = (int *) 0 ;
20024 int temp2 ;
20025 int temp3 ;
20026 PyObject * obj0 = 0 ;
20027 char *kwnames[] = {
20028 (char *) "self", NULL
20029 };
20030
20031 arg2 = &temp2;
20032 arg3 = &temp3;
20033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetClientSizeTuple",kwnames,&obj0)) goto fail;
20034 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20035 {
20036 PyThreadState* __tstate = wxPyBeginAllowThreads();
20037 ((wxWindow const *)arg1)->GetClientSize(arg2,arg3);
20038
20039 wxPyEndAllowThreads(__tstate);
20040 if (PyErr_Occurred()) SWIG_fail;
20041 }
20042 Py_INCREF(Py_None); resultobj = Py_None;
20043 {
20044 PyObject *o = PyInt_FromLong((long) (*arg2));
20045 resultobj = t_output_helper(resultobj,o);
20046 }
20047 {
20048 PyObject *o = PyInt_FromLong((long) (*arg3));
20049 resultobj = t_output_helper(resultobj,o);
20050 }
20051 return resultobj;
20052 fail:
20053 return NULL;
20054 }
20055
20056
20057 static PyObject *_wrap_Window_GetClientAreaOrigin(PyObject *self, PyObject *args, PyObject *kwargs) {
20058 PyObject *resultobj;
20059 wxWindow *arg1 = (wxWindow *) 0 ;
20060 wxPoint result;
20061 PyObject * obj0 = 0 ;
20062 char *kwnames[] = {
20063 (char *) "self", NULL
20064 };
20065
20066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetClientAreaOrigin",kwnames,&obj0)) goto fail;
20067 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20068 {
20069 PyThreadState* __tstate = wxPyBeginAllowThreads();
20070 result = ((wxWindow const *)arg1)->GetClientAreaOrigin();
20071
20072 wxPyEndAllowThreads(__tstate);
20073 if (PyErr_Occurred()) SWIG_fail;
20074 }
20075 {
20076 wxPoint * resultptr;
20077 resultptr = new wxPoint((wxPoint &) result);
20078 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
20079 }
20080 return resultobj;
20081 fail:
20082 return NULL;
20083 }
20084
20085
20086 static PyObject *_wrap_Window_GetClientRect(PyObject *self, PyObject *args, PyObject *kwargs) {
20087 PyObject *resultobj;
20088 wxWindow *arg1 = (wxWindow *) 0 ;
20089 wxRect result;
20090 PyObject * obj0 = 0 ;
20091 char *kwnames[] = {
20092 (char *) "self", NULL
20093 };
20094
20095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetClientRect",kwnames,&obj0)) goto fail;
20096 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20097 {
20098 PyThreadState* __tstate = wxPyBeginAllowThreads();
20099 result = ((wxWindow const *)arg1)->GetClientRect();
20100
20101 wxPyEndAllowThreads(__tstate);
20102 if (PyErr_Occurred()) SWIG_fail;
20103 }
20104 {
20105 wxRect * resultptr;
20106 resultptr = new wxRect((wxRect &) result);
20107 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
20108 }
20109 return resultobj;
20110 fail:
20111 return NULL;
20112 }
20113
20114
20115 static PyObject *_wrap_Window_GetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
20116 PyObject *resultobj;
20117 wxWindow *arg1 = (wxWindow *) 0 ;
20118 wxSize result;
20119 PyObject * obj0 = 0 ;
20120 char *kwnames[] = {
20121 (char *) "self", NULL
20122 };
20123
20124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetBestSize",kwnames,&obj0)) goto fail;
20125 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20126 {
20127 PyThreadState* __tstate = wxPyBeginAllowThreads();
20128 result = ((wxWindow const *)arg1)->GetBestSize();
20129
20130 wxPyEndAllowThreads(__tstate);
20131 if (PyErr_Occurred()) SWIG_fail;
20132 }
20133 {
20134 wxSize * resultptr;
20135 resultptr = new wxSize((wxSize &) result);
20136 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
20137 }
20138 return resultobj;
20139 fail:
20140 return NULL;
20141 }
20142
20143
20144 static PyObject *_wrap_Window_GetBestSizeTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
20145 PyObject *resultobj;
20146 wxWindow *arg1 = (wxWindow *) 0 ;
20147 int *arg2 = (int *) 0 ;
20148 int *arg3 = (int *) 0 ;
20149 int temp2 ;
20150 int temp3 ;
20151 PyObject * obj0 = 0 ;
20152 char *kwnames[] = {
20153 (char *) "self", NULL
20154 };
20155
20156 arg2 = &temp2;
20157 arg3 = &temp3;
20158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetBestSizeTuple",kwnames,&obj0)) goto fail;
20159 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20160 {
20161 PyThreadState* __tstate = wxPyBeginAllowThreads();
20162 ((wxWindow const *)arg1)->GetBestSize(arg2,arg3);
20163
20164 wxPyEndAllowThreads(__tstate);
20165 if (PyErr_Occurred()) SWIG_fail;
20166 }
20167 Py_INCREF(Py_None); resultobj = Py_None;
20168 {
20169 PyObject *o = PyInt_FromLong((long) (*arg2));
20170 resultobj = t_output_helper(resultobj,o);
20171 }
20172 {
20173 PyObject *o = PyInt_FromLong((long) (*arg3));
20174 resultobj = t_output_helper(resultobj,o);
20175 }
20176 return resultobj;
20177 fail:
20178 return NULL;
20179 }
20180
20181
20182 static PyObject *_wrap_Window_GetAdjustedBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
20183 PyObject *resultobj;
20184 wxWindow *arg1 = (wxWindow *) 0 ;
20185 wxSize result;
20186 PyObject * obj0 = 0 ;
20187 char *kwnames[] = {
20188 (char *) "self", NULL
20189 };
20190
20191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetAdjustedBestSize",kwnames,&obj0)) goto fail;
20192 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20193 {
20194 PyThreadState* __tstate = wxPyBeginAllowThreads();
20195 result = ((wxWindow const *)arg1)->GetAdjustedBestSize();
20196
20197 wxPyEndAllowThreads(__tstate);
20198 if (PyErr_Occurred()) SWIG_fail;
20199 }
20200 {
20201 wxSize * resultptr;
20202 resultptr = new wxSize((wxSize &) result);
20203 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
20204 }
20205 return resultobj;
20206 fail:
20207 return NULL;
20208 }
20209
20210
20211 static PyObject *_wrap_Window_Center(PyObject *self, PyObject *args, PyObject *kwargs) {
20212 PyObject *resultobj;
20213 wxWindow *arg1 = (wxWindow *) 0 ;
20214 int arg2 = (int) wxBOTH ;
20215 PyObject * obj0 = 0 ;
20216 char *kwnames[] = {
20217 (char *) "self",(char *) "direction", NULL
20218 };
20219
20220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:Window_Center",kwnames,&obj0,&arg2)) goto fail;
20221 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20222 {
20223 PyThreadState* __tstate = wxPyBeginAllowThreads();
20224 (arg1)->Center(arg2);
20225
20226 wxPyEndAllowThreads(__tstate);
20227 if (PyErr_Occurred()) SWIG_fail;
20228 }
20229 Py_INCREF(Py_None); resultobj = Py_None;
20230 return resultobj;
20231 fail:
20232 return NULL;
20233 }
20234
20235
20236 static PyObject *_wrap_Window_CenterOnScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
20237 PyObject *resultobj;
20238 wxWindow *arg1 = (wxWindow *) 0 ;
20239 int arg2 = (int) wxBOTH ;
20240 PyObject * obj0 = 0 ;
20241 char *kwnames[] = {
20242 (char *) "self",(char *) "dir", NULL
20243 };
20244
20245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:Window_CenterOnScreen",kwnames,&obj0,&arg2)) goto fail;
20246 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20247 {
20248 PyThreadState* __tstate = wxPyBeginAllowThreads();
20249 (arg1)->CenterOnScreen(arg2);
20250
20251 wxPyEndAllowThreads(__tstate);
20252 if (PyErr_Occurred()) SWIG_fail;
20253 }
20254 Py_INCREF(Py_None); resultobj = Py_None;
20255 return resultobj;
20256 fail:
20257 return NULL;
20258 }
20259
20260
20261 static PyObject *_wrap_Window_CenterOnParent(PyObject *self, PyObject *args, PyObject *kwargs) {
20262 PyObject *resultobj;
20263 wxWindow *arg1 = (wxWindow *) 0 ;
20264 int arg2 = (int) wxBOTH ;
20265 PyObject * obj0 = 0 ;
20266 char *kwnames[] = {
20267 (char *) "self",(char *) "dir", NULL
20268 };
20269
20270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:Window_CenterOnParent",kwnames,&obj0,&arg2)) goto fail;
20271 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20272 {
20273 PyThreadState* __tstate = wxPyBeginAllowThreads();
20274 (arg1)->CenterOnParent(arg2);
20275
20276 wxPyEndAllowThreads(__tstate);
20277 if (PyErr_Occurred()) SWIG_fail;
20278 }
20279 Py_INCREF(Py_None); resultobj = Py_None;
20280 return resultobj;
20281 fail:
20282 return NULL;
20283 }
20284
20285
20286 static PyObject *_wrap_Window_Fit(PyObject *self, PyObject *args, PyObject *kwargs) {
20287 PyObject *resultobj;
20288 wxWindow *arg1 = (wxWindow *) 0 ;
20289 PyObject * obj0 = 0 ;
20290 char *kwnames[] = {
20291 (char *) "self", NULL
20292 };
20293
20294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Fit",kwnames,&obj0)) goto fail;
20295 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20296 {
20297 PyThreadState* __tstate = wxPyBeginAllowThreads();
20298 (arg1)->Fit();
20299
20300 wxPyEndAllowThreads(__tstate);
20301 if (PyErr_Occurred()) SWIG_fail;
20302 }
20303 Py_INCREF(Py_None); resultobj = Py_None;
20304 return resultobj;
20305 fail:
20306 return NULL;
20307 }
20308
20309
20310 static PyObject *_wrap_Window_FitInside(PyObject *self, PyObject *args, PyObject *kwargs) {
20311 PyObject *resultobj;
20312 wxWindow *arg1 = (wxWindow *) 0 ;
20313 PyObject * obj0 = 0 ;
20314 char *kwnames[] = {
20315 (char *) "self", NULL
20316 };
20317
20318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_FitInside",kwnames,&obj0)) goto fail;
20319 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20320 {
20321 PyThreadState* __tstate = wxPyBeginAllowThreads();
20322 (arg1)->FitInside();
20323
20324 wxPyEndAllowThreads(__tstate);
20325 if (PyErr_Occurred()) SWIG_fail;
20326 }
20327 Py_INCREF(Py_None); resultobj = Py_None;
20328 return resultobj;
20329 fail:
20330 return NULL;
20331 }
20332
20333
20334 static PyObject *_wrap_Window_SetSizeHints(PyObject *self, PyObject *args, PyObject *kwargs) {
20335 PyObject *resultobj;
20336 wxWindow *arg1 = (wxWindow *) 0 ;
20337 int arg2 ;
20338 int arg3 ;
20339 int arg4 = (int) -1 ;
20340 int arg5 = (int) -1 ;
20341 int arg6 = (int) -1 ;
20342 int arg7 = (int) -1 ;
20343 PyObject * obj0 = 0 ;
20344 char *kwnames[] = {
20345 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH",(char *) "incW",(char *) "incH", NULL
20346 };
20347
20348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii|iiii:Window_SetSizeHints",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&arg6,&arg7)) goto fail;
20349 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20350 {
20351 PyThreadState* __tstate = wxPyBeginAllowThreads();
20352 (arg1)->SetSizeHints(arg2,arg3,arg4,arg5,arg6,arg7);
20353
20354 wxPyEndAllowThreads(__tstate);
20355 if (PyErr_Occurred()) SWIG_fail;
20356 }
20357 Py_INCREF(Py_None); resultobj = Py_None;
20358 return resultobj;
20359 fail:
20360 return NULL;
20361 }
20362
20363
20364 static PyObject *_wrap_Window_SetVirtualSizeHints(PyObject *self, PyObject *args, PyObject *kwargs) {
20365 PyObject *resultobj;
20366 wxWindow *arg1 = (wxWindow *) 0 ;
20367 int arg2 ;
20368 int arg3 ;
20369 int arg4 = (int) -1 ;
20370 int arg5 = (int) -1 ;
20371 PyObject * obj0 = 0 ;
20372 char *kwnames[] = {
20373 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH", NULL
20374 };
20375
20376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii|ii:Window_SetVirtualSizeHints",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
20377 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20378 {
20379 PyThreadState* __tstate = wxPyBeginAllowThreads();
20380 (arg1)->SetVirtualSizeHints(arg2,arg3,arg4,arg5);
20381
20382 wxPyEndAllowThreads(__tstate);
20383 if (PyErr_Occurred()) SWIG_fail;
20384 }
20385 Py_INCREF(Py_None); resultobj = Py_None;
20386 return resultobj;
20387 fail:
20388 return NULL;
20389 }
20390
20391
20392 static PyObject *_wrap_Window_GetMinWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
20393 PyObject *resultobj;
20394 wxWindow *arg1 = (wxWindow *) 0 ;
20395 int result;
20396 PyObject * obj0 = 0 ;
20397 char *kwnames[] = {
20398 (char *) "self", NULL
20399 };
20400
20401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetMinWidth",kwnames,&obj0)) goto fail;
20402 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20403 {
20404 PyThreadState* __tstate = wxPyBeginAllowThreads();
20405 result = (int)((wxWindow const *)arg1)->GetMinWidth();
20406
20407 wxPyEndAllowThreads(__tstate);
20408 if (PyErr_Occurred()) SWIG_fail;
20409 }
20410 resultobj = PyInt_FromLong((long)result);
20411 return resultobj;
20412 fail:
20413 return NULL;
20414 }
20415
20416
20417 static PyObject *_wrap_Window_GetMinHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
20418 PyObject *resultobj;
20419 wxWindow *arg1 = (wxWindow *) 0 ;
20420 int result;
20421 PyObject * obj0 = 0 ;
20422 char *kwnames[] = {
20423 (char *) "self", NULL
20424 };
20425
20426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetMinHeight",kwnames,&obj0)) goto fail;
20427 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20428 {
20429 PyThreadState* __tstate = wxPyBeginAllowThreads();
20430 result = (int)((wxWindow const *)arg1)->GetMinHeight();
20431
20432 wxPyEndAllowThreads(__tstate);
20433 if (PyErr_Occurred()) SWIG_fail;
20434 }
20435 resultobj = PyInt_FromLong((long)result);
20436 return resultobj;
20437 fail:
20438 return NULL;
20439 }
20440
20441
20442 static PyObject *_wrap_Window_GetMaxWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
20443 PyObject *resultobj;
20444 wxWindow *arg1 = (wxWindow *) 0 ;
20445 int result;
20446 PyObject * obj0 = 0 ;
20447 char *kwnames[] = {
20448 (char *) "self", NULL
20449 };
20450
20451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetMaxWidth",kwnames,&obj0)) goto fail;
20452 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20453 {
20454 PyThreadState* __tstate = wxPyBeginAllowThreads();
20455 result = (int)((wxWindow const *)arg1)->GetMaxWidth();
20456
20457 wxPyEndAllowThreads(__tstate);
20458 if (PyErr_Occurred()) SWIG_fail;
20459 }
20460 resultobj = PyInt_FromLong((long)result);
20461 return resultobj;
20462 fail:
20463 return NULL;
20464 }
20465
20466
20467 static PyObject *_wrap_Window_GetMaxHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
20468 PyObject *resultobj;
20469 wxWindow *arg1 = (wxWindow *) 0 ;
20470 int result;
20471 PyObject * obj0 = 0 ;
20472 char *kwnames[] = {
20473 (char *) "self", NULL
20474 };
20475
20476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetMaxHeight",kwnames,&obj0)) goto fail;
20477 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20478 {
20479 PyThreadState* __tstate = wxPyBeginAllowThreads();
20480 result = (int)((wxWindow const *)arg1)->GetMaxHeight();
20481
20482 wxPyEndAllowThreads(__tstate);
20483 if (PyErr_Occurred()) SWIG_fail;
20484 }
20485 resultobj = PyInt_FromLong((long)result);
20486 return resultobj;
20487 fail:
20488 return NULL;
20489 }
20490
20491
20492 static PyObject *_wrap_Window_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
20493 PyObject *resultobj;
20494 wxWindow *arg1 = (wxWindow *) 0 ;
20495 wxSize result;
20496 PyObject * obj0 = 0 ;
20497 char *kwnames[] = {
20498 (char *) "self", NULL
20499 };
20500
20501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetMaxSize",kwnames,&obj0)) goto fail;
20502 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20503 {
20504 PyThreadState* __tstate = wxPyBeginAllowThreads();
20505 result = ((wxWindow const *)arg1)->GetMaxSize();
20506
20507 wxPyEndAllowThreads(__tstate);
20508 if (PyErr_Occurred()) SWIG_fail;
20509 }
20510 {
20511 wxSize * resultptr;
20512 resultptr = new wxSize((wxSize &) result);
20513 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
20514 }
20515 return resultobj;
20516 fail:
20517 return NULL;
20518 }
20519
20520
20521 static PyObject *_wrap_Window_SetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
20522 PyObject *resultobj;
20523 wxWindow *arg1 = (wxWindow *) 0 ;
20524 wxSize *arg2 = 0 ;
20525 wxSize temp2 ;
20526 PyObject * obj0 = 0 ;
20527 PyObject * obj1 = 0 ;
20528 char *kwnames[] = {
20529 (char *) "self",(char *) "size", NULL
20530 };
20531
20532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetVirtualSize",kwnames,&obj0,&obj1)) goto fail;
20533 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20534 {
20535 arg2 = &temp2;
20536 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
20537 }
20538 {
20539 PyThreadState* __tstate = wxPyBeginAllowThreads();
20540 (arg1)->SetVirtualSize((wxSize const &)*arg2);
20541
20542 wxPyEndAllowThreads(__tstate);
20543 if (PyErr_Occurred()) SWIG_fail;
20544 }
20545 Py_INCREF(Py_None); resultobj = Py_None;
20546 return resultobj;
20547 fail:
20548 return NULL;
20549 }
20550
20551
20552 static PyObject *_wrap_Window_SetVirtualSizeWH(PyObject *self, PyObject *args, PyObject *kwargs) {
20553 PyObject *resultobj;
20554 wxWindow *arg1 = (wxWindow *) 0 ;
20555 int arg2 ;
20556 int arg3 ;
20557 PyObject * obj0 = 0 ;
20558 char *kwnames[] = {
20559 (char *) "self",(char *) "w",(char *) "h", NULL
20560 };
20561
20562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Window_SetVirtualSizeWH",kwnames,&obj0,&arg2,&arg3)) goto fail;
20563 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20564 {
20565 PyThreadState* __tstate = wxPyBeginAllowThreads();
20566 (arg1)->SetVirtualSize(arg2,arg3);
20567
20568 wxPyEndAllowThreads(__tstate);
20569 if (PyErr_Occurred()) SWIG_fail;
20570 }
20571 Py_INCREF(Py_None); resultobj = Py_None;
20572 return resultobj;
20573 fail:
20574 return NULL;
20575 }
20576
20577
20578 static PyObject *_wrap_Window_GetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
20579 PyObject *resultobj;
20580 wxWindow *arg1 = (wxWindow *) 0 ;
20581 wxSize result;
20582 PyObject * obj0 = 0 ;
20583 char *kwnames[] = {
20584 (char *) "self", NULL
20585 };
20586
20587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetVirtualSize",kwnames,&obj0)) goto fail;
20588 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20589 {
20590 PyThreadState* __tstate = wxPyBeginAllowThreads();
20591 result = ((wxWindow const *)arg1)->GetVirtualSize();
20592
20593 wxPyEndAllowThreads(__tstate);
20594 if (PyErr_Occurred()) SWIG_fail;
20595 }
20596 {
20597 wxSize * resultptr;
20598 resultptr = new wxSize((wxSize &) result);
20599 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
20600 }
20601 return resultobj;
20602 fail:
20603 return NULL;
20604 }
20605
20606
20607 static PyObject *_wrap_Window_GetVirtualSizeTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
20608 PyObject *resultobj;
20609 wxWindow *arg1 = (wxWindow *) 0 ;
20610 int *arg2 = (int *) 0 ;
20611 int *arg3 = (int *) 0 ;
20612 int temp2 ;
20613 int temp3 ;
20614 PyObject * obj0 = 0 ;
20615 char *kwnames[] = {
20616 (char *) "self", NULL
20617 };
20618
20619 arg2 = &temp2;
20620 arg3 = &temp3;
20621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetVirtualSizeTuple",kwnames,&obj0)) goto fail;
20622 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20623 {
20624 PyThreadState* __tstate = wxPyBeginAllowThreads();
20625 ((wxWindow const *)arg1)->GetVirtualSize(arg2,arg3);
20626
20627 wxPyEndAllowThreads(__tstate);
20628 if (PyErr_Occurred()) SWIG_fail;
20629 }
20630 Py_INCREF(Py_None); resultobj = Py_None;
20631 {
20632 PyObject *o = PyInt_FromLong((long) (*arg2));
20633 resultobj = t_output_helper(resultobj,o);
20634 }
20635 {
20636 PyObject *o = PyInt_FromLong((long) (*arg3));
20637 resultobj = t_output_helper(resultobj,o);
20638 }
20639 return resultobj;
20640 fail:
20641 return NULL;
20642 }
20643
20644
20645 static PyObject *_wrap_Window_GetBestVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
20646 PyObject *resultobj;
20647 wxWindow *arg1 = (wxWindow *) 0 ;
20648 wxSize result;
20649 PyObject * obj0 = 0 ;
20650 char *kwnames[] = {
20651 (char *) "self", NULL
20652 };
20653
20654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetBestVirtualSize",kwnames,&obj0)) goto fail;
20655 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20656 {
20657 PyThreadState* __tstate = wxPyBeginAllowThreads();
20658 result = ((wxWindow const *)arg1)->GetBestVirtualSize();
20659
20660 wxPyEndAllowThreads(__tstate);
20661 if (PyErr_Occurred()) SWIG_fail;
20662 }
20663 {
20664 wxSize * resultptr;
20665 resultptr = new wxSize((wxSize &) result);
20666 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
20667 }
20668 return resultobj;
20669 fail:
20670 return NULL;
20671 }
20672
20673
20674 static PyObject *_wrap_Window_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
20675 PyObject *resultobj;
20676 wxWindow *arg1 = (wxWindow *) 0 ;
20677 bool arg2 = (bool) True ;
20678 bool result;
20679 PyObject * obj0 = 0 ;
20680 PyObject * obj1 = 0 ;
20681 char *kwnames[] = {
20682 (char *) "self",(char *) "show", NULL
20683 };
20684
20685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_Show",kwnames,&obj0,&obj1)) goto fail;
20686 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20687 if (obj1) {
20688 arg2 = PyInt_AsLong(obj1) ? true : false;
20689 if (PyErr_Occurred()) SWIG_fail;
20690 }
20691 {
20692 PyThreadState* __tstate = wxPyBeginAllowThreads();
20693 result = (bool)(arg1)->Show(arg2);
20694
20695 wxPyEndAllowThreads(__tstate);
20696 if (PyErr_Occurred()) SWIG_fail;
20697 }
20698 resultobj = PyInt_FromLong((long)result);
20699 return resultobj;
20700 fail:
20701 return NULL;
20702 }
20703
20704
20705 static PyObject *_wrap_Window_Hide(PyObject *self, PyObject *args, PyObject *kwargs) {
20706 PyObject *resultobj;
20707 wxWindow *arg1 = (wxWindow *) 0 ;
20708 bool result;
20709 PyObject * obj0 = 0 ;
20710 char *kwnames[] = {
20711 (char *) "self", NULL
20712 };
20713
20714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Hide",kwnames,&obj0)) goto fail;
20715 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20716 {
20717 PyThreadState* __tstate = wxPyBeginAllowThreads();
20718 result = (bool)(arg1)->Hide();
20719
20720 wxPyEndAllowThreads(__tstate);
20721 if (PyErr_Occurred()) SWIG_fail;
20722 }
20723 resultobj = PyInt_FromLong((long)result);
20724 return resultobj;
20725 fail:
20726 return NULL;
20727 }
20728
20729
20730 static PyObject *_wrap_Window_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
20731 PyObject *resultobj;
20732 wxWindow *arg1 = (wxWindow *) 0 ;
20733 bool arg2 = (bool) True ;
20734 bool result;
20735 PyObject * obj0 = 0 ;
20736 PyObject * obj1 = 0 ;
20737 char *kwnames[] = {
20738 (char *) "self",(char *) "enable", NULL
20739 };
20740
20741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_Enable",kwnames,&obj0,&obj1)) goto fail;
20742 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20743 if (obj1) {
20744 arg2 = PyInt_AsLong(obj1) ? true : false;
20745 if (PyErr_Occurred()) SWIG_fail;
20746 }
20747 {
20748 PyThreadState* __tstate = wxPyBeginAllowThreads();
20749 result = (bool)(arg1)->Enable(arg2);
20750
20751 wxPyEndAllowThreads(__tstate);
20752 if (PyErr_Occurred()) SWIG_fail;
20753 }
20754 resultobj = PyInt_FromLong((long)result);
20755 return resultobj;
20756 fail:
20757 return NULL;
20758 }
20759
20760
20761 static PyObject *_wrap_Window_Disable(PyObject *self, PyObject *args, PyObject *kwargs) {
20762 PyObject *resultobj;
20763 wxWindow *arg1 = (wxWindow *) 0 ;
20764 bool result;
20765 PyObject * obj0 = 0 ;
20766 char *kwnames[] = {
20767 (char *) "self", NULL
20768 };
20769
20770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Disable",kwnames,&obj0)) goto fail;
20771 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20772 {
20773 PyThreadState* __tstate = wxPyBeginAllowThreads();
20774 result = (bool)(arg1)->Disable();
20775
20776 wxPyEndAllowThreads(__tstate);
20777 if (PyErr_Occurred()) SWIG_fail;
20778 }
20779 resultobj = PyInt_FromLong((long)result);
20780 return resultobj;
20781 fail:
20782 return NULL;
20783 }
20784
20785
20786 static PyObject *_wrap_Window_IsShown(PyObject *self, PyObject *args, PyObject *kwargs) {
20787 PyObject *resultobj;
20788 wxWindow *arg1 = (wxWindow *) 0 ;
20789 bool result;
20790 PyObject * obj0 = 0 ;
20791 char *kwnames[] = {
20792 (char *) "self", NULL
20793 };
20794
20795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_IsShown",kwnames,&obj0)) goto fail;
20796 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20797 {
20798 PyThreadState* __tstate = wxPyBeginAllowThreads();
20799 result = (bool)((wxWindow const *)arg1)->IsShown();
20800
20801 wxPyEndAllowThreads(__tstate);
20802 if (PyErr_Occurred()) SWIG_fail;
20803 }
20804 resultobj = PyInt_FromLong((long)result);
20805 return resultobj;
20806 fail:
20807 return NULL;
20808 }
20809
20810
20811 static PyObject *_wrap_Window_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
20812 PyObject *resultobj;
20813 wxWindow *arg1 = (wxWindow *) 0 ;
20814 bool result;
20815 PyObject * obj0 = 0 ;
20816 char *kwnames[] = {
20817 (char *) "self", NULL
20818 };
20819
20820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_IsEnabled",kwnames,&obj0)) goto fail;
20821 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20822 {
20823 PyThreadState* __tstate = wxPyBeginAllowThreads();
20824 result = (bool)((wxWindow const *)arg1)->IsEnabled();
20825
20826 wxPyEndAllowThreads(__tstate);
20827 if (PyErr_Occurred()) SWIG_fail;
20828 }
20829 resultobj = PyInt_FromLong((long)result);
20830 return resultobj;
20831 fail:
20832 return NULL;
20833 }
20834
20835
20836 static PyObject *_wrap_Window_SetWindowStyleFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
20837 PyObject *resultobj;
20838 wxWindow *arg1 = (wxWindow *) 0 ;
20839 long arg2 ;
20840 PyObject * obj0 = 0 ;
20841 char *kwnames[] = {
20842 (char *) "self",(char *) "style", NULL
20843 };
20844
20845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:Window_SetWindowStyleFlag",kwnames,&obj0,&arg2)) goto fail;
20846 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20847 {
20848 PyThreadState* __tstate = wxPyBeginAllowThreads();
20849 (arg1)->SetWindowStyleFlag(arg2);
20850
20851 wxPyEndAllowThreads(__tstate);
20852 if (PyErr_Occurred()) SWIG_fail;
20853 }
20854 Py_INCREF(Py_None); resultobj = Py_None;
20855 return resultobj;
20856 fail:
20857 return NULL;
20858 }
20859
20860
20861 static PyObject *_wrap_Window_GetWindowStyleFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
20862 PyObject *resultobj;
20863 wxWindow *arg1 = (wxWindow *) 0 ;
20864 long result;
20865 PyObject * obj0 = 0 ;
20866 char *kwnames[] = {
20867 (char *) "self", NULL
20868 };
20869
20870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetWindowStyleFlag",kwnames,&obj0)) goto fail;
20871 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20872 {
20873 PyThreadState* __tstate = wxPyBeginAllowThreads();
20874 result = (long)((wxWindow const *)arg1)->GetWindowStyleFlag();
20875
20876 wxPyEndAllowThreads(__tstate);
20877 if (PyErr_Occurred()) SWIG_fail;
20878 }
20879 resultobj = PyInt_FromLong((long)result);
20880 return resultobj;
20881 fail:
20882 return NULL;
20883 }
20884
20885
20886 static PyObject *_wrap_Window_SetWindowStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
20887 PyObject *resultobj;
20888 wxWindow *arg1 = (wxWindow *) 0 ;
20889 long arg2 ;
20890 PyObject * obj0 = 0 ;
20891 char *kwnames[] = {
20892 (char *) "self",(char *) "style", NULL
20893 };
20894
20895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:Window_SetWindowStyle",kwnames,&obj0,&arg2)) goto fail;
20896 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20897 {
20898 PyThreadState* __tstate = wxPyBeginAllowThreads();
20899 (arg1)->SetWindowStyle(arg2);
20900
20901 wxPyEndAllowThreads(__tstate);
20902 if (PyErr_Occurred()) SWIG_fail;
20903 }
20904 Py_INCREF(Py_None); resultobj = Py_None;
20905 return resultobj;
20906 fail:
20907 return NULL;
20908 }
20909
20910
20911 static PyObject *_wrap_Window_GetWindowStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
20912 PyObject *resultobj;
20913 wxWindow *arg1 = (wxWindow *) 0 ;
20914 long result;
20915 PyObject * obj0 = 0 ;
20916 char *kwnames[] = {
20917 (char *) "self", NULL
20918 };
20919
20920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetWindowStyle",kwnames,&obj0)) goto fail;
20921 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20922 {
20923 PyThreadState* __tstate = wxPyBeginAllowThreads();
20924 result = (long)((wxWindow const *)arg1)->GetWindowStyle();
20925
20926 wxPyEndAllowThreads(__tstate);
20927 if (PyErr_Occurred()) SWIG_fail;
20928 }
20929 resultobj = PyInt_FromLong((long)result);
20930 return resultobj;
20931 fail:
20932 return NULL;
20933 }
20934
20935
20936 static PyObject *_wrap_Window_HasFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
20937 PyObject *resultobj;
20938 wxWindow *arg1 = (wxWindow *) 0 ;
20939 int arg2 ;
20940 bool result;
20941 PyObject * obj0 = 0 ;
20942 char *kwnames[] = {
20943 (char *) "self",(char *) "flag", NULL
20944 };
20945
20946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Window_HasFlag",kwnames,&obj0,&arg2)) goto fail;
20947 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20948 {
20949 PyThreadState* __tstate = wxPyBeginAllowThreads();
20950 result = (bool)((wxWindow const *)arg1)->HasFlag(arg2);
20951
20952 wxPyEndAllowThreads(__tstate);
20953 if (PyErr_Occurred()) SWIG_fail;
20954 }
20955 resultobj = PyInt_FromLong((long)result);
20956 return resultobj;
20957 fail:
20958 return NULL;
20959 }
20960
20961
20962 static PyObject *_wrap_Window_IsRetained(PyObject *self, PyObject *args, PyObject *kwargs) {
20963 PyObject *resultobj;
20964 wxWindow *arg1 = (wxWindow *) 0 ;
20965 bool result;
20966 PyObject * obj0 = 0 ;
20967 char *kwnames[] = {
20968 (char *) "self", NULL
20969 };
20970
20971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_IsRetained",kwnames,&obj0)) goto fail;
20972 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20973 {
20974 PyThreadState* __tstate = wxPyBeginAllowThreads();
20975 result = (bool)((wxWindow const *)arg1)->IsRetained();
20976
20977 wxPyEndAllowThreads(__tstate);
20978 if (PyErr_Occurred()) SWIG_fail;
20979 }
20980 resultobj = PyInt_FromLong((long)result);
20981 return resultobj;
20982 fail:
20983 return NULL;
20984 }
20985
20986
20987 static PyObject *_wrap_Window_SetExtraStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
20988 PyObject *resultobj;
20989 wxWindow *arg1 = (wxWindow *) 0 ;
20990 long arg2 ;
20991 PyObject * obj0 = 0 ;
20992 char *kwnames[] = {
20993 (char *) "self",(char *) "exStyle", NULL
20994 };
20995
20996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:Window_SetExtraStyle",kwnames,&obj0,&arg2)) goto fail;
20997 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20998 {
20999 PyThreadState* __tstate = wxPyBeginAllowThreads();
21000 (arg1)->SetExtraStyle(arg2);
21001
21002 wxPyEndAllowThreads(__tstate);
21003 if (PyErr_Occurred()) SWIG_fail;
21004 }
21005 Py_INCREF(Py_None); resultobj = Py_None;
21006 return resultobj;
21007 fail:
21008 return NULL;
21009 }
21010
21011
21012 static PyObject *_wrap_Window_GetExtraStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
21013 PyObject *resultobj;
21014 wxWindow *arg1 = (wxWindow *) 0 ;
21015 long result;
21016 PyObject * obj0 = 0 ;
21017 char *kwnames[] = {
21018 (char *) "self", NULL
21019 };
21020
21021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetExtraStyle",kwnames,&obj0)) goto fail;
21022 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21023 {
21024 PyThreadState* __tstate = wxPyBeginAllowThreads();
21025 result = (long)((wxWindow const *)arg1)->GetExtraStyle();
21026
21027 wxPyEndAllowThreads(__tstate);
21028 if (PyErr_Occurred()) SWIG_fail;
21029 }
21030 resultobj = PyInt_FromLong((long)result);
21031 return resultobj;
21032 fail:
21033 return NULL;
21034 }
21035
21036
21037 static PyObject *_wrap_Window_MakeModal(PyObject *self, PyObject *args, PyObject *kwargs) {
21038 PyObject *resultobj;
21039 wxWindow *arg1 = (wxWindow *) 0 ;
21040 bool arg2 = (bool) True ;
21041 PyObject * obj0 = 0 ;
21042 PyObject * obj1 = 0 ;
21043 char *kwnames[] = {
21044 (char *) "self",(char *) "modal", NULL
21045 };
21046
21047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_MakeModal",kwnames,&obj0,&obj1)) goto fail;
21048 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21049 if (obj1) {
21050 arg2 = PyInt_AsLong(obj1) ? true : false;
21051 if (PyErr_Occurred()) SWIG_fail;
21052 }
21053 {
21054 PyThreadState* __tstate = wxPyBeginAllowThreads();
21055 (arg1)->MakeModal(arg2);
21056
21057 wxPyEndAllowThreads(__tstate);
21058 if (PyErr_Occurred()) SWIG_fail;
21059 }
21060 Py_INCREF(Py_None); resultobj = Py_None;
21061 return resultobj;
21062 fail:
21063 return NULL;
21064 }
21065
21066
21067 static PyObject *_wrap_Window_SetThemeEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
21068 PyObject *resultobj;
21069 wxWindow *arg1 = (wxWindow *) 0 ;
21070 bool arg2 ;
21071 PyObject * obj0 = 0 ;
21072 PyObject * obj1 = 0 ;
21073 char *kwnames[] = {
21074 (char *) "self",(char *) "enableTheme", NULL
21075 };
21076
21077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetThemeEnabled",kwnames,&obj0,&obj1)) goto fail;
21078 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21079 arg2 = PyInt_AsLong(obj1) ? true : false;
21080 if (PyErr_Occurred()) SWIG_fail;
21081 {
21082 PyThreadState* __tstate = wxPyBeginAllowThreads();
21083 (arg1)->SetThemeEnabled(arg2);
21084
21085 wxPyEndAllowThreads(__tstate);
21086 if (PyErr_Occurred()) SWIG_fail;
21087 }
21088 Py_INCREF(Py_None); resultobj = Py_None;
21089 return resultobj;
21090 fail:
21091 return NULL;
21092 }
21093
21094
21095 static PyObject *_wrap_Window_GetThemeEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
21096 PyObject *resultobj;
21097 wxWindow *arg1 = (wxWindow *) 0 ;
21098 bool result;
21099 PyObject * obj0 = 0 ;
21100 char *kwnames[] = {
21101 (char *) "self", NULL
21102 };
21103
21104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetThemeEnabled",kwnames,&obj0)) goto fail;
21105 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21106 {
21107 PyThreadState* __tstate = wxPyBeginAllowThreads();
21108 result = (bool)((wxWindow const *)arg1)->GetThemeEnabled();
21109
21110 wxPyEndAllowThreads(__tstate);
21111 if (PyErr_Occurred()) SWIG_fail;
21112 }
21113 resultobj = PyInt_FromLong((long)result);
21114 return resultobj;
21115 fail:
21116 return NULL;
21117 }
21118
21119
21120 static PyObject *_wrap_Window_ShouldInheritColours(PyObject *self, PyObject *args, PyObject *kwargs) {
21121 PyObject *resultobj;
21122 wxWindow *arg1 = (wxWindow *) 0 ;
21123 bool result;
21124 PyObject * obj0 = 0 ;
21125 char *kwnames[] = {
21126 (char *) "self", NULL
21127 };
21128
21129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_ShouldInheritColours",kwnames,&obj0)) goto fail;
21130 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21131 {
21132 PyThreadState* __tstate = wxPyBeginAllowThreads();
21133 result = (bool)((wxWindow const *)arg1)->ShouldInheritColours();
21134
21135 wxPyEndAllowThreads(__tstate);
21136 if (PyErr_Occurred()) SWIG_fail;
21137 }
21138 resultobj = PyInt_FromLong((long)result);
21139 return resultobj;
21140 fail:
21141 return NULL;
21142 }
21143
21144
21145 static PyObject *_wrap_Window_SetFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
21146 PyObject *resultobj;
21147 wxWindow *arg1 = (wxWindow *) 0 ;
21148 PyObject * obj0 = 0 ;
21149 char *kwnames[] = {
21150 (char *) "self", NULL
21151 };
21152
21153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_SetFocus",kwnames,&obj0)) goto fail;
21154 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21155 {
21156 PyThreadState* __tstate = wxPyBeginAllowThreads();
21157 (arg1)->SetFocus();
21158
21159 wxPyEndAllowThreads(__tstate);
21160 if (PyErr_Occurred()) SWIG_fail;
21161 }
21162 Py_INCREF(Py_None); resultobj = Py_None;
21163 return resultobj;
21164 fail:
21165 return NULL;
21166 }
21167
21168
21169 static PyObject *_wrap_Window_SetFocusFromKbd(PyObject *self, PyObject *args, PyObject *kwargs) {
21170 PyObject *resultobj;
21171 wxWindow *arg1 = (wxWindow *) 0 ;
21172 PyObject * obj0 = 0 ;
21173 char *kwnames[] = {
21174 (char *) "self", NULL
21175 };
21176
21177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_SetFocusFromKbd",kwnames,&obj0)) goto fail;
21178 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21179 {
21180 PyThreadState* __tstate = wxPyBeginAllowThreads();
21181 (arg1)->SetFocusFromKbd();
21182
21183 wxPyEndAllowThreads(__tstate);
21184 if (PyErr_Occurred()) SWIG_fail;
21185 }
21186 Py_INCREF(Py_None); resultobj = Py_None;
21187 return resultobj;
21188 fail:
21189 return NULL;
21190 }
21191
21192
21193 static PyObject *_wrap_Window_FindFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
21194 PyObject *resultobj;
21195 wxWindow *result;
21196 char *kwnames[] = {
21197 NULL
21198 };
21199
21200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Window_FindFocus",kwnames)) goto fail;
21201 {
21202 PyThreadState* __tstate = wxPyBeginAllowThreads();
21203 result = (wxWindow *)wxWindow::FindFocus();
21204
21205 wxPyEndAllowThreads(__tstate);
21206 if (PyErr_Occurred()) SWIG_fail;
21207 }
21208 {
21209 resultobj = wxPyMake_wxObject(result);
21210 }
21211 return resultobj;
21212 fail:
21213 return NULL;
21214 }
21215
21216
21217 static PyObject *_wrap_Window_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
21218 PyObject *resultobj;
21219 wxWindow *arg1 = (wxWindow *) 0 ;
21220 bool result;
21221 PyObject * obj0 = 0 ;
21222 char *kwnames[] = {
21223 (char *) "self", NULL
21224 };
21225
21226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_AcceptsFocus",kwnames,&obj0)) goto fail;
21227 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21228 {
21229 PyThreadState* __tstate = wxPyBeginAllowThreads();
21230 result = (bool)((wxWindow const *)arg1)->AcceptsFocus();
21231
21232 wxPyEndAllowThreads(__tstate);
21233 if (PyErr_Occurred()) SWIG_fail;
21234 }
21235 resultobj = PyInt_FromLong((long)result);
21236 return resultobj;
21237 fail:
21238 return NULL;
21239 }
21240
21241
21242 static PyObject *_wrap_Window_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
21243 PyObject *resultobj;
21244 wxWindow *arg1 = (wxWindow *) 0 ;
21245 bool result;
21246 PyObject * obj0 = 0 ;
21247 char *kwnames[] = {
21248 (char *) "self", NULL
21249 };
21250
21251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
21252 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21253 {
21254 PyThreadState* __tstate = wxPyBeginAllowThreads();
21255 result = (bool)((wxWindow const *)arg1)->AcceptsFocusFromKeyboard();
21256
21257 wxPyEndAllowThreads(__tstate);
21258 if (PyErr_Occurred()) SWIG_fail;
21259 }
21260 resultobj = PyInt_FromLong((long)result);
21261 return resultobj;
21262 fail:
21263 return NULL;
21264 }
21265
21266
21267 static PyObject *_wrap_Window_GetDefaultItem(PyObject *self, PyObject *args, PyObject *kwargs) {
21268 PyObject *resultobj;
21269 wxWindow *arg1 = (wxWindow *) 0 ;
21270 wxWindow *result;
21271 PyObject * obj0 = 0 ;
21272 char *kwnames[] = {
21273 (char *) "self", NULL
21274 };
21275
21276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetDefaultItem",kwnames,&obj0)) goto fail;
21277 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21278 {
21279 PyThreadState* __tstate = wxPyBeginAllowThreads();
21280 result = (wxWindow *)((wxWindow const *)arg1)->GetDefaultItem();
21281
21282 wxPyEndAllowThreads(__tstate);
21283 if (PyErr_Occurred()) SWIG_fail;
21284 }
21285 {
21286 resultobj = wxPyMake_wxObject(result);
21287 }
21288 return resultobj;
21289 fail:
21290 return NULL;
21291 }
21292
21293
21294 static PyObject *_wrap_Window_SetDefaultItem(PyObject *self, PyObject *args, PyObject *kwargs) {
21295 PyObject *resultobj;
21296 wxWindow *arg1 = (wxWindow *) 0 ;
21297 wxWindow *arg2 = (wxWindow *) 0 ;
21298 wxWindow *result;
21299 PyObject * obj0 = 0 ;
21300 PyObject * obj1 = 0 ;
21301 char *kwnames[] = {
21302 (char *) "self",(char *) "child", NULL
21303 };
21304
21305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetDefaultItem",kwnames,&obj0,&obj1)) goto fail;
21306 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21307 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21308 {
21309 PyThreadState* __tstate = wxPyBeginAllowThreads();
21310 result = (wxWindow *)(arg1)->SetDefaultItem(arg2);
21311
21312 wxPyEndAllowThreads(__tstate);
21313 if (PyErr_Occurred()) SWIG_fail;
21314 }
21315 {
21316 resultobj = wxPyMake_wxObject(result);
21317 }
21318 return resultobj;
21319 fail:
21320 return NULL;
21321 }
21322
21323
21324 static PyObject *_wrap_Window_SetTmpDefaultItem(PyObject *self, PyObject *args, PyObject *kwargs) {
21325 PyObject *resultobj;
21326 wxWindow *arg1 = (wxWindow *) 0 ;
21327 wxWindow *arg2 = (wxWindow *) 0 ;
21328 PyObject * obj0 = 0 ;
21329 PyObject * obj1 = 0 ;
21330 char *kwnames[] = {
21331 (char *) "self",(char *) "win", NULL
21332 };
21333
21334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetTmpDefaultItem",kwnames,&obj0,&obj1)) goto fail;
21335 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21336 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21337 {
21338 PyThreadState* __tstate = wxPyBeginAllowThreads();
21339 (arg1)->SetTmpDefaultItem(arg2);
21340
21341 wxPyEndAllowThreads(__tstate);
21342 if (PyErr_Occurred()) SWIG_fail;
21343 }
21344 Py_INCREF(Py_None); resultobj = Py_None;
21345 return resultobj;
21346 fail:
21347 return NULL;
21348 }
21349
21350
21351 static PyObject *_wrap_Window_GetChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
21352 PyObject *resultobj;
21353 wxWindow *arg1 = (wxWindow *) 0 ;
21354 PyObject *result;
21355 PyObject * obj0 = 0 ;
21356 char *kwnames[] = {
21357 (char *) "self", NULL
21358 };
21359
21360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetChildren",kwnames,&obj0)) goto fail;
21361 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21362 {
21363 PyThreadState* __tstate = wxPyBeginAllowThreads();
21364 result = (PyObject *)wxWindow_GetChildren(arg1);
21365
21366 wxPyEndAllowThreads(__tstate);
21367 if (PyErr_Occurred()) SWIG_fail;
21368 }
21369 resultobj = result;
21370 return resultobj;
21371 fail:
21372 return NULL;
21373 }
21374
21375
21376 static PyObject *_wrap_Window_GetParent(PyObject *self, PyObject *args, PyObject *kwargs) {
21377 PyObject *resultobj;
21378 wxWindow *arg1 = (wxWindow *) 0 ;
21379 wxWindow *result;
21380 PyObject * obj0 = 0 ;
21381 char *kwnames[] = {
21382 (char *) "self", NULL
21383 };
21384
21385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetParent",kwnames,&obj0)) goto fail;
21386 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21387 {
21388 PyThreadState* __tstate = wxPyBeginAllowThreads();
21389 result = (wxWindow *)((wxWindow const *)arg1)->GetParent();
21390
21391 wxPyEndAllowThreads(__tstate);
21392 if (PyErr_Occurred()) SWIG_fail;
21393 }
21394 {
21395 resultobj = wxPyMake_wxObject(result);
21396 }
21397 return resultobj;
21398 fail:
21399 return NULL;
21400 }
21401
21402
21403 static PyObject *_wrap_Window_GetGrandParent(PyObject *self, PyObject *args, PyObject *kwargs) {
21404 PyObject *resultobj;
21405 wxWindow *arg1 = (wxWindow *) 0 ;
21406 wxWindow *result;
21407 PyObject * obj0 = 0 ;
21408 char *kwnames[] = {
21409 (char *) "self", NULL
21410 };
21411
21412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetGrandParent",kwnames,&obj0)) goto fail;
21413 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21414 {
21415 PyThreadState* __tstate = wxPyBeginAllowThreads();
21416 result = (wxWindow *)((wxWindow const *)arg1)->GetGrandParent();
21417
21418 wxPyEndAllowThreads(__tstate);
21419 if (PyErr_Occurred()) SWIG_fail;
21420 }
21421 {
21422 resultobj = wxPyMake_wxObject(result);
21423 }
21424 return resultobj;
21425 fail:
21426 return NULL;
21427 }
21428
21429
21430 static PyObject *_wrap_Window_IsTopLevel(PyObject *self, PyObject *args, PyObject *kwargs) {
21431 PyObject *resultobj;
21432 wxWindow *arg1 = (wxWindow *) 0 ;
21433 bool result;
21434 PyObject * obj0 = 0 ;
21435 char *kwnames[] = {
21436 (char *) "self", NULL
21437 };
21438
21439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_IsTopLevel",kwnames,&obj0)) goto fail;
21440 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21441 {
21442 PyThreadState* __tstate = wxPyBeginAllowThreads();
21443 result = (bool)((wxWindow const *)arg1)->IsTopLevel();
21444
21445 wxPyEndAllowThreads(__tstate);
21446 if (PyErr_Occurred()) SWIG_fail;
21447 }
21448 resultobj = PyInt_FromLong((long)result);
21449 return resultobj;
21450 fail:
21451 return NULL;
21452 }
21453
21454
21455 static PyObject *_wrap_Window_Reparent(PyObject *self, PyObject *args, PyObject *kwargs) {
21456 PyObject *resultobj;
21457 wxWindow *arg1 = (wxWindow *) 0 ;
21458 wxWindow *arg2 = (wxWindow *) 0 ;
21459 bool result;
21460 PyObject * obj0 = 0 ;
21461 PyObject * obj1 = 0 ;
21462 char *kwnames[] = {
21463 (char *) "self",(char *) "newParent", NULL
21464 };
21465
21466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_Reparent",kwnames,&obj0,&obj1)) goto fail;
21467 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21468 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21469 {
21470 PyThreadState* __tstate = wxPyBeginAllowThreads();
21471 result = (bool)(arg1)->Reparent(arg2);
21472
21473 wxPyEndAllowThreads(__tstate);
21474 if (PyErr_Occurred()) SWIG_fail;
21475 }
21476 resultobj = PyInt_FromLong((long)result);
21477 return resultobj;
21478 fail:
21479 return NULL;
21480 }
21481
21482
21483 static PyObject *_wrap_Window_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
21484 PyObject *resultobj;
21485 wxWindow *arg1 = (wxWindow *) 0 ;
21486 wxWindow *arg2 = (wxWindow *) 0 ;
21487 PyObject * obj0 = 0 ;
21488 PyObject * obj1 = 0 ;
21489 char *kwnames[] = {
21490 (char *) "self",(char *) "child", NULL
21491 };
21492
21493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_AddChild",kwnames,&obj0,&obj1)) goto fail;
21494 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21495 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21496 {
21497 PyThreadState* __tstate = wxPyBeginAllowThreads();
21498 (arg1)->AddChild(arg2);
21499
21500 wxPyEndAllowThreads(__tstate);
21501 if (PyErr_Occurred()) SWIG_fail;
21502 }
21503 Py_INCREF(Py_None); resultobj = Py_None;
21504 return resultobj;
21505 fail:
21506 return NULL;
21507 }
21508
21509
21510 static PyObject *_wrap_Window_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
21511 PyObject *resultobj;
21512 wxWindow *arg1 = (wxWindow *) 0 ;
21513 wxWindow *arg2 = (wxWindow *) 0 ;
21514 PyObject * obj0 = 0 ;
21515 PyObject * obj1 = 0 ;
21516 char *kwnames[] = {
21517 (char *) "self",(char *) "child", NULL
21518 };
21519
21520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
21521 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21522 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21523 {
21524 PyThreadState* __tstate = wxPyBeginAllowThreads();
21525 (arg1)->RemoveChild(arg2);
21526
21527 wxPyEndAllowThreads(__tstate);
21528 if (PyErr_Occurred()) SWIG_fail;
21529 }
21530 Py_INCREF(Py_None); resultobj = Py_None;
21531 return resultobj;
21532 fail:
21533 return NULL;
21534 }
21535
21536
21537 static PyObject *_wrap_Window_FindWindowById(PyObject *self, PyObject *args, PyObject *kwargs) {
21538 PyObject *resultobj;
21539 wxWindow *arg1 = (wxWindow *) 0 ;
21540 long arg2 ;
21541 wxWindow *result;
21542 PyObject * obj0 = 0 ;
21543 char *kwnames[] = {
21544 (char *) "self",(char *) "winid", NULL
21545 };
21546
21547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:Window_FindWindowById",kwnames,&obj0,&arg2)) goto fail;
21548 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21549 {
21550 PyThreadState* __tstate = wxPyBeginAllowThreads();
21551 result = (wxWindow *)(arg1)->FindWindow(arg2);
21552
21553 wxPyEndAllowThreads(__tstate);
21554 if (PyErr_Occurred()) SWIG_fail;
21555 }
21556 {
21557 resultobj = wxPyMake_wxObject(result);
21558 }
21559 return resultobj;
21560 fail:
21561 return NULL;
21562 }
21563
21564
21565 static PyObject *_wrap_Window_FindWindowByName(PyObject *self, PyObject *args, PyObject *kwargs) {
21566 PyObject *resultobj;
21567 wxWindow *arg1 = (wxWindow *) 0 ;
21568 wxString *arg2 = 0 ;
21569 wxWindow *result;
21570 bool temp2 = False ;
21571 PyObject * obj0 = 0 ;
21572 PyObject * obj1 = 0 ;
21573 char *kwnames[] = {
21574 (char *) "self",(char *) "name", NULL
21575 };
21576
21577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_FindWindowByName",kwnames,&obj0,&obj1)) goto fail;
21578 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21579 {
21580 arg2 = wxString_in_helper(obj1);
21581 if (arg2 == NULL) SWIG_fail;
21582 temp2 = True;
21583 }
21584 {
21585 PyThreadState* __tstate = wxPyBeginAllowThreads();
21586 result = (wxWindow *)(arg1)->FindWindow((wxString const &)*arg2);
21587
21588 wxPyEndAllowThreads(__tstate);
21589 if (PyErr_Occurred()) SWIG_fail;
21590 }
21591 {
21592 resultobj = wxPyMake_wxObject(result);
21593 }
21594 {
21595 if (temp2)
21596 delete arg2;
21597 }
21598 return resultobj;
21599 fail:
21600 {
21601 if (temp2)
21602 delete arg2;
21603 }
21604 return NULL;
21605 }
21606
21607
21608 static PyObject *_wrap_Window_GetEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
21609 PyObject *resultobj;
21610 wxWindow *arg1 = (wxWindow *) 0 ;
21611 wxEvtHandler *result;
21612 PyObject * obj0 = 0 ;
21613 char *kwnames[] = {
21614 (char *) "self", NULL
21615 };
21616
21617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetEventHandler",kwnames,&obj0)) goto fail;
21618 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21619 {
21620 PyThreadState* __tstate = wxPyBeginAllowThreads();
21621 result = (wxEvtHandler *)((wxWindow const *)arg1)->GetEventHandler();
21622
21623 wxPyEndAllowThreads(__tstate);
21624 if (PyErr_Occurred()) SWIG_fail;
21625 }
21626 {
21627 resultobj = wxPyMake_wxObject(result);
21628 }
21629 return resultobj;
21630 fail:
21631 return NULL;
21632 }
21633
21634
21635 static PyObject *_wrap_Window_SetEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
21636 PyObject *resultobj;
21637 wxWindow *arg1 = (wxWindow *) 0 ;
21638 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
21639 PyObject * obj0 = 0 ;
21640 PyObject * obj1 = 0 ;
21641 char *kwnames[] = {
21642 (char *) "self",(char *) "handler", NULL
21643 };
21644
21645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetEventHandler",kwnames,&obj0,&obj1)) goto fail;
21646 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21647 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21648 {
21649 PyThreadState* __tstate = wxPyBeginAllowThreads();
21650 (arg1)->SetEventHandler(arg2);
21651
21652 wxPyEndAllowThreads(__tstate);
21653 if (PyErr_Occurred()) SWIG_fail;
21654 }
21655 Py_INCREF(Py_None); resultobj = Py_None;
21656 return resultobj;
21657 fail:
21658 return NULL;
21659 }
21660
21661
21662 static PyObject *_wrap_Window_PushEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
21663 PyObject *resultobj;
21664 wxWindow *arg1 = (wxWindow *) 0 ;
21665 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
21666 PyObject * obj0 = 0 ;
21667 PyObject * obj1 = 0 ;
21668 char *kwnames[] = {
21669 (char *) "self",(char *) "handler", NULL
21670 };
21671
21672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_PushEventHandler",kwnames,&obj0,&obj1)) goto fail;
21673 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21674 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21675 {
21676 PyThreadState* __tstate = wxPyBeginAllowThreads();
21677 (arg1)->PushEventHandler(arg2);
21678
21679 wxPyEndAllowThreads(__tstate);
21680 if (PyErr_Occurred()) SWIG_fail;
21681 }
21682 Py_INCREF(Py_None); resultobj = Py_None;
21683 return resultobj;
21684 fail:
21685 return NULL;
21686 }
21687
21688
21689 static PyObject *_wrap_Window_PopEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
21690 PyObject *resultobj;
21691 wxWindow *arg1 = (wxWindow *) 0 ;
21692 bool arg2 = (bool) False ;
21693 wxEvtHandler *result;
21694 PyObject * obj0 = 0 ;
21695 PyObject * obj1 = 0 ;
21696 char *kwnames[] = {
21697 (char *) "self",(char *) "deleteHandler", NULL
21698 };
21699
21700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_PopEventHandler",kwnames,&obj0,&obj1)) goto fail;
21701 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21702 if (obj1) {
21703 arg2 = PyInt_AsLong(obj1) ? true : false;
21704 if (PyErr_Occurred()) SWIG_fail;
21705 }
21706 {
21707 PyThreadState* __tstate = wxPyBeginAllowThreads();
21708 result = (wxEvtHandler *)(arg1)->PopEventHandler(arg2);
21709
21710 wxPyEndAllowThreads(__tstate);
21711 if (PyErr_Occurred()) SWIG_fail;
21712 }
21713 {
21714 resultobj = wxPyMake_wxObject(result);
21715 }
21716 return resultobj;
21717 fail:
21718 return NULL;
21719 }
21720
21721
21722 static PyObject *_wrap_Window_RemoveEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
21723 PyObject *resultobj;
21724 wxWindow *arg1 = (wxWindow *) 0 ;
21725 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
21726 bool result;
21727 PyObject * obj0 = 0 ;
21728 PyObject * obj1 = 0 ;
21729 char *kwnames[] = {
21730 (char *) "self",(char *) "handler", NULL
21731 };
21732
21733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_RemoveEventHandler",kwnames,&obj0,&obj1)) goto fail;
21734 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21735 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21736 {
21737 PyThreadState* __tstate = wxPyBeginAllowThreads();
21738 result = (bool)(arg1)->RemoveEventHandler(arg2);
21739
21740 wxPyEndAllowThreads(__tstate);
21741 if (PyErr_Occurred()) SWIG_fail;
21742 }
21743 resultobj = PyInt_FromLong((long)result);
21744 return resultobj;
21745 fail:
21746 return NULL;
21747 }
21748
21749
21750 static PyObject *_wrap_Window_SetValidator(PyObject *self, PyObject *args, PyObject *kwargs) {
21751 PyObject *resultobj;
21752 wxWindow *arg1 = (wxWindow *) 0 ;
21753 wxValidator *arg2 = 0 ;
21754 PyObject * obj0 = 0 ;
21755 PyObject * obj1 = 0 ;
21756 char *kwnames[] = {
21757 (char *) "self",(char *) "validator", NULL
21758 };
21759
21760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetValidator",kwnames,&obj0,&obj1)) goto fail;
21761 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21762 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21763 if (arg2 == NULL) {
21764 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21765 }
21766 {
21767 PyThreadState* __tstate = wxPyBeginAllowThreads();
21768 (arg1)->SetValidator((wxValidator const &)*arg2);
21769
21770 wxPyEndAllowThreads(__tstate);
21771 if (PyErr_Occurred()) SWIG_fail;
21772 }
21773 Py_INCREF(Py_None); resultobj = Py_None;
21774 return resultobj;
21775 fail:
21776 return NULL;
21777 }
21778
21779
21780 static PyObject *_wrap_Window_GetValidator(PyObject *self, PyObject *args, PyObject *kwargs) {
21781 PyObject *resultobj;
21782 wxWindow *arg1 = (wxWindow *) 0 ;
21783 wxValidator *result;
21784 PyObject * obj0 = 0 ;
21785 char *kwnames[] = {
21786 (char *) "self", NULL
21787 };
21788
21789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetValidator",kwnames,&obj0)) goto fail;
21790 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21791 {
21792 PyThreadState* __tstate = wxPyBeginAllowThreads();
21793 result = (wxValidator *)(arg1)->GetValidator();
21794
21795 wxPyEndAllowThreads(__tstate);
21796 if (PyErr_Occurred()) SWIG_fail;
21797 }
21798 {
21799 resultobj = wxPyMake_wxObject(result);
21800 }
21801 return resultobj;
21802 fail:
21803 return NULL;
21804 }
21805
21806
21807 static PyObject *_wrap_Window_SetAcceleratorTable(PyObject *self, PyObject *args, PyObject *kwargs) {
21808 PyObject *resultobj;
21809 wxWindow *arg1 = (wxWindow *) 0 ;
21810 wxAcceleratorTable *arg2 = 0 ;
21811 PyObject * obj0 = 0 ;
21812 PyObject * obj1 = 0 ;
21813 char *kwnames[] = {
21814 (char *) "self",(char *) "accel", NULL
21815 };
21816
21817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetAcceleratorTable",kwnames,&obj0,&obj1)) goto fail;
21818 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21819 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxAcceleratorTable,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21820 if (arg2 == NULL) {
21821 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21822 }
21823 {
21824 PyThreadState* __tstate = wxPyBeginAllowThreads();
21825 (arg1)->SetAcceleratorTable((wxAcceleratorTable const &)*arg2);
21826
21827 wxPyEndAllowThreads(__tstate);
21828 if (PyErr_Occurred()) SWIG_fail;
21829 }
21830 Py_INCREF(Py_None); resultobj = Py_None;
21831 return resultobj;
21832 fail:
21833 return NULL;
21834 }
21835
21836
21837 static PyObject *_wrap_Window_GetAcceleratorTable(PyObject *self, PyObject *args, PyObject *kwargs) {
21838 PyObject *resultobj;
21839 wxWindow *arg1 = (wxWindow *) 0 ;
21840 wxAcceleratorTable *result;
21841 PyObject * obj0 = 0 ;
21842 char *kwnames[] = {
21843 (char *) "self", NULL
21844 };
21845
21846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetAcceleratorTable",kwnames,&obj0)) goto fail;
21847 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21848 {
21849 PyThreadState* __tstate = wxPyBeginAllowThreads();
21850 result = (wxAcceleratorTable *)(arg1)->GetAcceleratorTable();
21851
21852 wxPyEndAllowThreads(__tstate);
21853 if (PyErr_Occurred()) SWIG_fail;
21854 }
21855 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxAcceleratorTable, 0);
21856 return resultobj;
21857 fail:
21858 return NULL;
21859 }
21860
21861
21862 static PyObject *_wrap_Window_RegisterHotKey(PyObject *self, PyObject *args, PyObject *kwargs) {
21863 PyObject *resultobj;
21864 wxWindow *arg1 = (wxWindow *) 0 ;
21865 int arg2 ;
21866 int arg3 ;
21867 int arg4 ;
21868 bool result;
21869 PyObject * obj0 = 0 ;
21870 char *kwnames[] = {
21871 (char *) "self",(char *) "hotkeyId",(char *) "modifiers",(char *) "keycode", NULL
21872 };
21873
21874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiii:Window_RegisterHotKey",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
21875 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21876 {
21877 PyThreadState* __tstate = wxPyBeginAllowThreads();
21878 result = (bool)wxWindow_RegisterHotKey(arg1,arg2,arg3,arg4);
21879
21880 wxPyEndAllowThreads(__tstate);
21881 if (PyErr_Occurred()) SWIG_fail;
21882 }
21883 resultobj = PyInt_FromLong((long)result);
21884 return resultobj;
21885 fail:
21886 return NULL;
21887 }
21888
21889
21890 static PyObject *_wrap_Window_UnregisterHotKey(PyObject *self, PyObject *args, PyObject *kwargs) {
21891 PyObject *resultobj;
21892 wxWindow *arg1 = (wxWindow *) 0 ;
21893 int arg2 ;
21894 bool result;
21895 PyObject * obj0 = 0 ;
21896 char *kwnames[] = {
21897 (char *) "self",(char *) "hotkeyId", NULL
21898 };
21899
21900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Window_UnregisterHotKey",kwnames,&obj0,&arg2)) goto fail;
21901 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21902 {
21903 PyThreadState* __tstate = wxPyBeginAllowThreads();
21904 result = (bool)wxWindow_UnregisterHotKey(arg1,arg2);
21905
21906 wxPyEndAllowThreads(__tstate);
21907 if (PyErr_Occurred()) SWIG_fail;
21908 }
21909 resultobj = PyInt_FromLong((long)result);
21910 return resultobj;
21911 fail:
21912 return NULL;
21913 }
21914
21915
21916 static PyObject *_wrap_Window_ConvertDialogPointToPixels(PyObject *self, PyObject *args, PyObject *kwargs) {
21917 PyObject *resultobj;
21918 wxWindow *arg1 = (wxWindow *) 0 ;
21919 wxPoint *arg2 = 0 ;
21920 wxPoint result;
21921 wxPoint temp2 ;
21922 PyObject * obj0 = 0 ;
21923 PyObject * obj1 = 0 ;
21924 char *kwnames[] = {
21925 (char *) "self",(char *) "pt", NULL
21926 };
21927
21928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ConvertDialogPointToPixels",kwnames,&obj0,&obj1)) goto fail;
21929 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21930 {
21931 arg2 = &temp2;
21932 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
21933 }
21934 {
21935 PyThreadState* __tstate = wxPyBeginAllowThreads();
21936 result = (arg1)->ConvertDialogToPixels((wxPoint const &)*arg2);
21937
21938 wxPyEndAllowThreads(__tstate);
21939 if (PyErr_Occurred()) SWIG_fail;
21940 }
21941 {
21942 wxPoint * resultptr;
21943 resultptr = new wxPoint((wxPoint &) result);
21944 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
21945 }
21946 return resultobj;
21947 fail:
21948 return NULL;
21949 }
21950
21951
21952 static PyObject *_wrap_Window_ConvertDialogSizeToPixels(PyObject *self, PyObject *args, PyObject *kwargs) {
21953 PyObject *resultobj;
21954 wxWindow *arg1 = (wxWindow *) 0 ;
21955 wxSize *arg2 = 0 ;
21956 wxSize result;
21957 wxSize temp2 ;
21958 PyObject * obj0 = 0 ;
21959 PyObject * obj1 = 0 ;
21960 char *kwnames[] = {
21961 (char *) "self",(char *) "sz", NULL
21962 };
21963
21964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ConvertDialogSizeToPixels",kwnames,&obj0,&obj1)) goto fail;
21965 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21966 {
21967 arg2 = &temp2;
21968 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
21969 }
21970 {
21971 PyThreadState* __tstate = wxPyBeginAllowThreads();
21972 result = (arg1)->ConvertDialogToPixels((wxSize const &)*arg2);
21973
21974 wxPyEndAllowThreads(__tstate);
21975 if (PyErr_Occurred()) SWIG_fail;
21976 }
21977 {
21978 wxSize * resultptr;
21979 resultptr = new wxSize((wxSize &) result);
21980 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
21981 }
21982 return resultobj;
21983 fail:
21984 return NULL;
21985 }
21986
21987
21988 static PyObject *_wrap_Window_DLG_PNT(PyObject *self, PyObject *args, PyObject *kwargs) {
21989 PyObject *resultobj;
21990 wxWindow *arg1 = (wxWindow *) 0 ;
21991 wxPoint *arg2 = 0 ;
21992 wxPoint result;
21993 wxPoint temp2 ;
21994 PyObject * obj0 = 0 ;
21995 PyObject * obj1 = 0 ;
21996 char *kwnames[] = {
21997 (char *) "self",(char *) "pt", NULL
21998 };
21999
22000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_DLG_PNT",kwnames,&obj0,&obj1)) goto fail;
22001 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22002 {
22003 arg2 = &temp2;
22004 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
22005 }
22006 {
22007 PyThreadState* __tstate = wxPyBeginAllowThreads();
22008 result = (arg1)->ConvertDialogToPixels((wxPoint const &)*arg2);
22009
22010 wxPyEndAllowThreads(__tstate);
22011 if (PyErr_Occurred()) SWIG_fail;
22012 }
22013 {
22014 wxPoint * resultptr;
22015 resultptr = new wxPoint((wxPoint &) result);
22016 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
22017 }
22018 return resultobj;
22019 fail:
22020 return NULL;
22021 }
22022
22023
22024 static PyObject *_wrap_Window_DLG_SZE(PyObject *self, PyObject *args, PyObject *kwargs) {
22025 PyObject *resultobj;
22026 wxWindow *arg1 = (wxWindow *) 0 ;
22027 wxSize *arg2 = 0 ;
22028 wxSize result;
22029 wxSize temp2 ;
22030 PyObject * obj0 = 0 ;
22031 PyObject * obj1 = 0 ;
22032 char *kwnames[] = {
22033 (char *) "self",(char *) "sz", NULL
22034 };
22035
22036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_DLG_SZE",kwnames,&obj0,&obj1)) goto fail;
22037 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22038 {
22039 arg2 = &temp2;
22040 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
22041 }
22042 {
22043 PyThreadState* __tstate = wxPyBeginAllowThreads();
22044 result = (arg1)->ConvertDialogToPixels((wxSize const &)*arg2);
22045
22046 wxPyEndAllowThreads(__tstate);
22047 if (PyErr_Occurred()) SWIG_fail;
22048 }
22049 {
22050 wxSize * resultptr;
22051 resultptr = new wxSize((wxSize &) result);
22052 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
22053 }
22054 return resultobj;
22055 fail:
22056 return NULL;
22057 }
22058
22059
22060 static PyObject *_wrap_Window_ConvertPixelPointToDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
22061 PyObject *resultobj;
22062 wxWindow *arg1 = (wxWindow *) 0 ;
22063 wxPoint *arg2 = 0 ;
22064 wxPoint result;
22065 wxPoint temp2 ;
22066 PyObject * obj0 = 0 ;
22067 PyObject * obj1 = 0 ;
22068 char *kwnames[] = {
22069 (char *) "self",(char *) "pt", NULL
22070 };
22071
22072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ConvertPixelPointToDialog",kwnames,&obj0,&obj1)) goto fail;
22073 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22074 {
22075 arg2 = &temp2;
22076 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
22077 }
22078 {
22079 PyThreadState* __tstate = wxPyBeginAllowThreads();
22080 result = (arg1)->ConvertPixelsToDialog((wxPoint const &)*arg2);
22081
22082 wxPyEndAllowThreads(__tstate);
22083 if (PyErr_Occurred()) SWIG_fail;
22084 }
22085 {
22086 wxPoint * resultptr;
22087 resultptr = new wxPoint((wxPoint &) result);
22088 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
22089 }
22090 return resultobj;
22091 fail:
22092 return NULL;
22093 }
22094
22095
22096 static PyObject *_wrap_Window_ConvertPixelSizeToDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
22097 PyObject *resultobj;
22098 wxWindow *arg1 = (wxWindow *) 0 ;
22099 wxSize *arg2 = 0 ;
22100 wxSize result;
22101 wxSize temp2 ;
22102 PyObject * obj0 = 0 ;
22103 PyObject * obj1 = 0 ;
22104 char *kwnames[] = {
22105 (char *) "self",(char *) "sz", NULL
22106 };
22107
22108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ConvertPixelSizeToDialog",kwnames,&obj0,&obj1)) goto fail;
22109 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22110 {
22111 arg2 = &temp2;
22112 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
22113 }
22114 {
22115 PyThreadState* __tstate = wxPyBeginAllowThreads();
22116 result = (arg1)->ConvertPixelsToDialog((wxSize const &)*arg2);
22117
22118 wxPyEndAllowThreads(__tstate);
22119 if (PyErr_Occurred()) SWIG_fail;
22120 }
22121 {
22122 wxSize * resultptr;
22123 resultptr = new wxSize((wxSize &) result);
22124 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
22125 }
22126 return resultobj;
22127 fail:
22128 return NULL;
22129 }
22130
22131
22132 static PyObject *_wrap_Window_WarpPointer(PyObject *self, PyObject *args, PyObject *kwargs) {
22133 PyObject *resultobj;
22134 wxWindow *arg1 = (wxWindow *) 0 ;
22135 int arg2 ;
22136 int arg3 ;
22137 PyObject * obj0 = 0 ;
22138 char *kwnames[] = {
22139 (char *) "self",(char *) "x",(char *) "y", NULL
22140 };
22141
22142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Window_WarpPointer",kwnames,&obj0,&arg2,&arg3)) goto fail;
22143 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22144 {
22145 PyThreadState* __tstate = wxPyBeginAllowThreads();
22146 (arg1)->WarpPointer(arg2,arg3);
22147
22148 wxPyEndAllowThreads(__tstate);
22149 if (PyErr_Occurred()) SWIG_fail;
22150 }
22151 Py_INCREF(Py_None); resultobj = Py_None;
22152 return resultobj;
22153 fail:
22154 return NULL;
22155 }
22156
22157
22158 static PyObject *_wrap_Window_CaptureMouse(PyObject *self, PyObject *args, PyObject *kwargs) {
22159 PyObject *resultobj;
22160 wxWindow *arg1 = (wxWindow *) 0 ;
22161 PyObject * obj0 = 0 ;
22162 char *kwnames[] = {
22163 (char *) "self", NULL
22164 };
22165
22166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_CaptureMouse",kwnames,&obj0)) goto fail;
22167 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22168 {
22169 PyThreadState* __tstate = wxPyBeginAllowThreads();
22170 (arg1)->CaptureMouse();
22171
22172 wxPyEndAllowThreads(__tstate);
22173 if (PyErr_Occurred()) SWIG_fail;
22174 }
22175 Py_INCREF(Py_None); resultobj = Py_None;
22176 return resultobj;
22177 fail:
22178 return NULL;
22179 }
22180
22181
22182 static PyObject *_wrap_Window_ReleaseMouse(PyObject *self, PyObject *args, PyObject *kwargs) {
22183 PyObject *resultobj;
22184 wxWindow *arg1 = (wxWindow *) 0 ;
22185 PyObject * obj0 = 0 ;
22186 char *kwnames[] = {
22187 (char *) "self", NULL
22188 };
22189
22190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_ReleaseMouse",kwnames,&obj0)) goto fail;
22191 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22192 {
22193 PyThreadState* __tstate = wxPyBeginAllowThreads();
22194 (arg1)->ReleaseMouse();
22195
22196 wxPyEndAllowThreads(__tstate);
22197 if (PyErr_Occurred()) SWIG_fail;
22198 }
22199 Py_INCREF(Py_None); resultobj = Py_None;
22200 return resultobj;
22201 fail:
22202 return NULL;
22203 }
22204
22205
22206 static PyObject *_wrap_Window_GetCapture(PyObject *self, PyObject *args, PyObject *kwargs) {
22207 PyObject *resultobj;
22208 wxWindow *result;
22209 char *kwnames[] = {
22210 NULL
22211 };
22212
22213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Window_GetCapture",kwnames)) goto fail;
22214 {
22215 PyThreadState* __tstate = wxPyBeginAllowThreads();
22216 result = (wxWindow *)wxWindow::GetCapture();
22217
22218 wxPyEndAllowThreads(__tstate);
22219 if (PyErr_Occurred()) SWIG_fail;
22220 }
22221 {
22222 resultobj = wxPyMake_wxObject(result);
22223 }
22224 return resultobj;
22225 fail:
22226 return NULL;
22227 }
22228
22229
22230 static PyObject *_wrap_Window_HasCapture(PyObject *self, PyObject *args, PyObject *kwargs) {
22231 PyObject *resultobj;
22232 wxWindow *arg1 = (wxWindow *) 0 ;
22233 bool result;
22234 PyObject * obj0 = 0 ;
22235 char *kwnames[] = {
22236 (char *) "self", NULL
22237 };
22238
22239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_HasCapture",kwnames,&obj0)) goto fail;
22240 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22241 {
22242 PyThreadState* __tstate = wxPyBeginAllowThreads();
22243 result = (bool)((wxWindow const *)arg1)->HasCapture();
22244
22245 wxPyEndAllowThreads(__tstate);
22246 if (PyErr_Occurred()) SWIG_fail;
22247 }
22248 resultobj = PyInt_FromLong((long)result);
22249 return resultobj;
22250 fail:
22251 return NULL;
22252 }
22253
22254
22255 static PyObject *_wrap_Window_Refresh(PyObject *self, PyObject *args, PyObject *kwargs) {
22256 PyObject *resultobj;
22257 wxWindow *arg1 = (wxWindow *) 0 ;
22258 bool arg2 = (bool) True ;
22259 wxRect *arg3 = (wxRect *) NULL ;
22260 PyObject * obj0 = 0 ;
22261 PyObject * obj1 = 0 ;
22262 PyObject * obj2 = 0 ;
22263 char *kwnames[] = {
22264 (char *) "self",(char *) "eraseBackground",(char *) "rect", NULL
22265 };
22266
22267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:Window_Refresh",kwnames,&obj0,&obj1,&obj2)) goto fail;
22268 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22269 if (obj1) {
22270 arg2 = PyInt_AsLong(obj1) ? true : false;
22271 if (PyErr_Occurred()) SWIG_fail;
22272 }
22273 if (obj2) {
22274 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22275 }
22276 {
22277 PyThreadState* __tstate = wxPyBeginAllowThreads();
22278 (arg1)->Refresh(arg2,(wxRect const *)arg3);
22279
22280 wxPyEndAllowThreads(__tstate);
22281 if (PyErr_Occurred()) SWIG_fail;
22282 }
22283 Py_INCREF(Py_None); resultobj = Py_None;
22284 return resultobj;
22285 fail:
22286 return NULL;
22287 }
22288
22289
22290 static PyObject *_wrap_Window_RefreshRect(PyObject *self, PyObject *args, PyObject *kwargs) {
22291 PyObject *resultobj;
22292 wxWindow *arg1 = (wxWindow *) 0 ;
22293 wxRect *arg2 = 0 ;
22294 wxRect temp2 ;
22295 PyObject * obj0 = 0 ;
22296 PyObject * obj1 = 0 ;
22297 char *kwnames[] = {
22298 (char *) "self",(char *) "rect", NULL
22299 };
22300
22301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_RefreshRect",kwnames,&obj0,&obj1)) goto fail;
22302 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22303 {
22304 arg2 = &temp2;
22305 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
22306 }
22307 {
22308 PyThreadState* __tstate = wxPyBeginAllowThreads();
22309 (arg1)->RefreshRect((wxRect const &)*arg2);
22310
22311 wxPyEndAllowThreads(__tstate);
22312 if (PyErr_Occurred()) SWIG_fail;
22313 }
22314 Py_INCREF(Py_None); resultobj = Py_None;
22315 return resultobj;
22316 fail:
22317 return NULL;
22318 }
22319
22320
22321 static PyObject *_wrap_Window_Update(PyObject *self, PyObject *args, PyObject *kwargs) {
22322 PyObject *resultobj;
22323 wxWindow *arg1 = (wxWindow *) 0 ;
22324 PyObject * obj0 = 0 ;
22325 char *kwnames[] = {
22326 (char *) "self", NULL
22327 };
22328
22329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Update",kwnames,&obj0)) goto fail;
22330 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22331 {
22332 PyThreadState* __tstate = wxPyBeginAllowThreads();
22333 (arg1)->Update();
22334
22335 wxPyEndAllowThreads(__tstate);
22336 if (PyErr_Occurred()) SWIG_fail;
22337 }
22338 Py_INCREF(Py_None); resultobj = Py_None;
22339 return resultobj;
22340 fail:
22341 return NULL;
22342 }
22343
22344
22345 static PyObject *_wrap_Window_ClearBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
22346 PyObject *resultobj;
22347 wxWindow *arg1 = (wxWindow *) 0 ;
22348 PyObject * obj0 = 0 ;
22349 char *kwnames[] = {
22350 (char *) "self", NULL
22351 };
22352
22353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_ClearBackground",kwnames,&obj0)) goto fail;
22354 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22355 {
22356 PyThreadState* __tstate = wxPyBeginAllowThreads();
22357 (arg1)->ClearBackground();
22358
22359 wxPyEndAllowThreads(__tstate);
22360 if (PyErr_Occurred()) SWIG_fail;
22361 }
22362 Py_INCREF(Py_None); resultobj = Py_None;
22363 return resultobj;
22364 fail:
22365 return NULL;
22366 }
22367
22368
22369 static PyObject *_wrap_Window_Freeze(PyObject *self, PyObject *args, PyObject *kwargs) {
22370 PyObject *resultobj;
22371 wxWindow *arg1 = (wxWindow *) 0 ;
22372 PyObject * obj0 = 0 ;
22373 char *kwnames[] = {
22374 (char *) "self", NULL
22375 };
22376
22377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Freeze",kwnames,&obj0)) goto fail;
22378 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22379 {
22380 PyThreadState* __tstate = wxPyBeginAllowThreads();
22381 (arg1)->Freeze();
22382
22383 wxPyEndAllowThreads(__tstate);
22384 if (PyErr_Occurred()) SWIG_fail;
22385 }
22386 Py_INCREF(Py_None); resultobj = Py_None;
22387 return resultobj;
22388 fail:
22389 return NULL;
22390 }
22391
22392
22393 static PyObject *_wrap_Window_Thaw(PyObject *self, PyObject *args, PyObject *kwargs) {
22394 PyObject *resultobj;
22395 wxWindow *arg1 = (wxWindow *) 0 ;
22396 PyObject * obj0 = 0 ;
22397 char *kwnames[] = {
22398 (char *) "self", NULL
22399 };
22400
22401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Thaw",kwnames,&obj0)) goto fail;
22402 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22403 {
22404 PyThreadState* __tstate = wxPyBeginAllowThreads();
22405 (arg1)->Thaw();
22406
22407 wxPyEndAllowThreads(__tstate);
22408 if (PyErr_Occurred()) SWIG_fail;
22409 }
22410 Py_INCREF(Py_None); resultobj = Py_None;
22411 return resultobj;
22412 fail:
22413 return NULL;
22414 }
22415
22416
22417 static PyObject *_wrap_Window_PrepareDC(PyObject *self, PyObject *args, PyObject *kwargs) {
22418 PyObject *resultobj;
22419 wxWindow *arg1 = (wxWindow *) 0 ;
22420 wxDC *arg2 = 0 ;
22421 PyObject * obj0 = 0 ;
22422 PyObject * obj1 = 0 ;
22423 char *kwnames[] = {
22424 (char *) "self",(char *) "dc", NULL
22425 };
22426
22427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_PrepareDC",kwnames,&obj0,&obj1)) goto fail;
22428 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22429 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22430 if (arg2 == NULL) {
22431 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22432 }
22433 {
22434 PyThreadState* __tstate = wxPyBeginAllowThreads();
22435 (arg1)->PrepareDC(*arg2);
22436
22437 wxPyEndAllowThreads(__tstate);
22438 if (PyErr_Occurred()) SWIG_fail;
22439 }
22440 Py_INCREF(Py_None); resultobj = Py_None;
22441 return resultobj;
22442 fail:
22443 return NULL;
22444 }
22445
22446
22447 static PyObject *_wrap_Window_GetUpdateRegion(PyObject *self, PyObject *args, PyObject *kwargs) {
22448 PyObject *resultobj;
22449 wxWindow *arg1 = (wxWindow *) 0 ;
22450 wxRegion *result;
22451 PyObject * obj0 = 0 ;
22452 char *kwnames[] = {
22453 (char *) "self", NULL
22454 };
22455
22456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetUpdateRegion",kwnames,&obj0)) goto fail;
22457 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22458 {
22459 PyThreadState* __tstate = wxPyBeginAllowThreads();
22460 {
22461 wxRegion &_result_ref = (arg1)->GetUpdateRegion();
22462 result = (wxRegion *) &_result_ref;
22463 }
22464
22465 wxPyEndAllowThreads(__tstate);
22466 if (PyErr_Occurred()) SWIG_fail;
22467 }
22468 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRegion, 0);
22469 return resultobj;
22470 fail:
22471 return NULL;
22472 }
22473
22474
22475 static PyObject *_wrap_Window_GetUpdateClientRect(PyObject *self, PyObject *args, PyObject *kwargs) {
22476 PyObject *resultobj;
22477 wxWindow *arg1 = (wxWindow *) 0 ;
22478 wxRect result;
22479 PyObject * obj0 = 0 ;
22480 char *kwnames[] = {
22481 (char *) "self", NULL
22482 };
22483
22484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetUpdateClientRect",kwnames,&obj0)) goto fail;
22485 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22486 {
22487 PyThreadState* __tstate = wxPyBeginAllowThreads();
22488 result = ((wxWindow const *)arg1)->GetUpdateClientRect();
22489
22490 wxPyEndAllowThreads(__tstate);
22491 if (PyErr_Occurred()) SWIG_fail;
22492 }
22493 {
22494 wxRect * resultptr;
22495 resultptr = new wxRect((wxRect &) result);
22496 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
22497 }
22498 return resultobj;
22499 fail:
22500 return NULL;
22501 }
22502
22503
22504 static PyObject *_wrap_Window_IsExposed(PyObject *self, PyObject *args, PyObject *kwargs) {
22505 PyObject *resultobj;
22506 wxWindow *arg1 = (wxWindow *) 0 ;
22507 int arg2 ;
22508 int arg3 ;
22509 int arg4 = (int) 1 ;
22510 int arg5 = (int) 1 ;
22511 bool result;
22512 PyObject * obj0 = 0 ;
22513 char *kwnames[] = {
22514 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
22515 };
22516
22517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii|ii:Window_IsExposed",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
22518 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22519 {
22520 PyThreadState* __tstate = wxPyBeginAllowThreads();
22521 result = (bool)((wxWindow const *)arg1)->IsExposed(arg2,arg3,arg4,arg5);
22522
22523 wxPyEndAllowThreads(__tstate);
22524 if (PyErr_Occurred()) SWIG_fail;
22525 }
22526 resultobj = PyInt_FromLong((long)result);
22527 return resultobj;
22528 fail:
22529 return NULL;
22530 }
22531
22532
22533 static PyObject *_wrap_Window_IsExposedPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
22534 PyObject *resultobj;
22535 wxWindow *arg1 = (wxWindow *) 0 ;
22536 wxPoint *arg2 = 0 ;
22537 bool result;
22538 wxPoint temp2 ;
22539 PyObject * obj0 = 0 ;
22540 PyObject * obj1 = 0 ;
22541 char *kwnames[] = {
22542 (char *) "self",(char *) "pt", NULL
22543 };
22544
22545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_IsExposedPoint",kwnames,&obj0,&obj1)) goto fail;
22546 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22547 {
22548 arg2 = &temp2;
22549 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
22550 }
22551 {
22552 PyThreadState* __tstate = wxPyBeginAllowThreads();
22553 result = (bool)((wxWindow const *)arg1)->IsExposed((wxPoint const &)*arg2);
22554
22555 wxPyEndAllowThreads(__tstate);
22556 if (PyErr_Occurred()) SWIG_fail;
22557 }
22558 resultobj = PyInt_FromLong((long)result);
22559 return resultobj;
22560 fail:
22561 return NULL;
22562 }
22563
22564
22565 static PyObject *_wrap_Window_isExposedRect(PyObject *self, PyObject *args, PyObject *kwargs) {
22566 PyObject *resultobj;
22567 wxWindow *arg1 = (wxWindow *) 0 ;
22568 wxRect *arg2 = 0 ;
22569 bool result;
22570 wxRect temp2 ;
22571 PyObject * obj0 = 0 ;
22572 PyObject * obj1 = 0 ;
22573 char *kwnames[] = {
22574 (char *) "self",(char *) "rect", NULL
22575 };
22576
22577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_isExposedRect",kwnames,&obj0,&obj1)) goto fail;
22578 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22579 {
22580 arg2 = &temp2;
22581 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
22582 }
22583 {
22584 PyThreadState* __tstate = wxPyBeginAllowThreads();
22585 result = (bool)((wxWindow const *)arg1)->IsExposed((wxRect const &)*arg2);
22586
22587 wxPyEndAllowThreads(__tstate);
22588 if (PyErr_Occurred()) SWIG_fail;
22589 }
22590 resultobj = PyInt_FromLong((long)result);
22591 return resultobj;
22592 fail:
22593 return NULL;
22594 }
22595
22596
22597 static PyObject *_wrap_Window_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
22598 PyObject *resultobj;
22599 wxWindow *arg1 = (wxWindow *) 0 ;
22600 wxColour *arg2 = 0 ;
22601 bool result;
22602 wxColour temp2 ;
22603 PyObject * obj0 = 0 ;
22604 PyObject * obj1 = 0 ;
22605 char *kwnames[] = {
22606 (char *) "self",(char *) "colour", NULL
22607 };
22608
22609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetBackgroundColour",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 = &temp2;
22613 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
22614 }
22615 {
22616 PyThreadState* __tstate = wxPyBeginAllowThreads();
22617 result = (bool)(arg1)->SetBackgroundColour((wxColour const &)*arg2);
22618
22619 wxPyEndAllowThreads(__tstate);
22620 if (PyErr_Occurred()) SWIG_fail;
22621 }
22622 resultobj = PyInt_FromLong((long)result);
22623 return resultobj;
22624 fail:
22625 return NULL;
22626 }
22627
22628
22629 static PyObject *_wrap_Window_SetForegroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
22630 PyObject *resultobj;
22631 wxWindow *arg1 = (wxWindow *) 0 ;
22632 wxColour *arg2 = 0 ;
22633 bool result;
22634 wxColour temp2 ;
22635 PyObject * obj0 = 0 ;
22636 PyObject * obj1 = 0 ;
22637 char *kwnames[] = {
22638 (char *) "self",(char *) "colour", NULL
22639 };
22640
22641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetForegroundColour",kwnames,&obj0,&obj1)) goto fail;
22642 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22643 {
22644 arg2 = &temp2;
22645 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
22646 }
22647 {
22648 PyThreadState* __tstate = wxPyBeginAllowThreads();
22649 result = (bool)(arg1)->SetForegroundColour((wxColour const &)*arg2);
22650
22651 wxPyEndAllowThreads(__tstate);
22652 if (PyErr_Occurred()) SWIG_fail;
22653 }
22654 resultobj = PyInt_FromLong((long)result);
22655 return resultobj;
22656 fail:
22657 return NULL;
22658 }
22659
22660
22661 static PyObject *_wrap_Window_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
22662 PyObject *resultobj;
22663 wxWindow *arg1 = (wxWindow *) 0 ;
22664 wxColour result;
22665 PyObject * obj0 = 0 ;
22666 char *kwnames[] = {
22667 (char *) "self", NULL
22668 };
22669
22670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetBackgroundColour",kwnames,&obj0)) goto fail;
22671 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22672 {
22673 PyThreadState* __tstate = wxPyBeginAllowThreads();
22674 result = ((wxWindow const *)arg1)->GetBackgroundColour();
22675
22676 wxPyEndAllowThreads(__tstate);
22677 if (PyErr_Occurred()) SWIG_fail;
22678 }
22679 {
22680 wxColour * resultptr;
22681 resultptr = new wxColour((wxColour &) result);
22682 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
22683 }
22684 return resultobj;
22685 fail:
22686 return NULL;
22687 }
22688
22689
22690 static PyObject *_wrap_Window_GetForegroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
22691 PyObject *resultobj;
22692 wxWindow *arg1 = (wxWindow *) 0 ;
22693 wxColour result;
22694 PyObject * obj0 = 0 ;
22695 char *kwnames[] = {
22696 (char *) "self", NULL
22697 };
22698
22699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetForegroundColour",kwnames,&obj0)) goto fail;
22700 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22701 {
22702 PyThreadState* __tstate = wxPyBeginAllowThreads();
22703 result = ((wxWindow const *)arg1)->GetForegroundColour();
22704
22705 wxPyEndAllowThreads(__tstate);
22706 if (PyErr_Occurred()) SWIG_fail;
22707 }
22708 {
22709 wxColour * resultptr;
22710 resultptr = new wxColour((wxColour &) result);
22711 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
22712 }
22713 return resultobj;
22714 fail:
22715 return NULL;
22716 }
22717
22718
22719 static PyObject *_wrap_Window_SetCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
22720 PyObject *resultobj;
22721 wxWindow *arg1 = (wxWindow *) 0 ;
22722 wxCursor *arg2 = 0 ;
22723 bool result;
22724 PyObject * obj0 = 0 ;
22725 PyObject * obj1 = 0 ;
22726 char *kwnames[] = {
22727 (char *) "self",(char *) "cursor", NULL
22728 };
22729
22730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetCursor",kwnames,&obj0,&obj1)) goto fail;
22731 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22732 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22733 if (arg2 == NULL) {
22734 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22735 }
22736 {
22737 PyThreadState* __tstate = wxPyBeginAllowThreads();
22738 result = (bool)(arg1)->SetCursor((wxCursor const &)*arg2);
22739
22740 wxPyEndAllowThreads(__tstate);
22741 if (PyErr_Occurred()) SWIG_fail;
22742 }
22743 resultobj = PyInt_FromLong((long)result);
22744 return resultobj;
22745 fail:
22746 return NULL;
22747 }
22748
22749
22750 static PyObject *_wrap_Window_GetCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
22751 PyObject *resultobj;
22752 wxWindow *arg1 = (wxWindow *) 0 ;
22753 wxCursor *result;
22754 PyObject * obj0 = 0 ;
22755 char *kwnames[] = {
22756 (char *) "self", NULL
22757 };
22758
22759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetCursor",kwnames,&obj0)) goto fail;
22760 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22761 {
22762 PyThreadState* __tstate = wxPyBeginAllowThreads();
22763 {
22764 wxCursor &_result_ref = (arg1)->GetCursor();
22765 result = (wxCursor *) &_result_ref;
22766 }
22767
22768 wxPyEndAllowThreads(__tstate);
22769 if (PyErr_Occurred()) SWIG_fail;
22770 }
22771 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCursor, 0);
22772 return resultobj;
22773 fail:
22774 return NULL;
22775 }
22776
22777
22778 static PyObject *_wrap_Window_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
22779 PyObject *resultobj;
22780 wxWindow *arg1 = (wxWindow *) 0 ;
22781 wxFont *arg2 = 0 ;
22782 bool result;
22783 PyObject * obj0 = 0 ;
22784 PyObject * obj1 = 0 ;
22785 char *kwnames[] = {
22786 (char *) "self",(char *) "font", NULL
22787 };
22788
22789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetFont",kwnames,&obj0,&obj1)) goto fail;
22790 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22791 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22792 if (arg2 == NULL) {
22793 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22794 }
22795 {
22796 PyThreadState* __tstate = wxPyBeginAllowThreads();
22797 result = (bool)(arg1)->SetFont((wxFont const &)*arg2);
22798
22799 wxPyEndAllowThreads(__tstate);
22800 if (PyErr_Occurred()) SWIG_fail;
22801 }
22802 resultobj = PyInt_FromLong((long)result);
22803 return resultobj;
22804 fail:
22805 return NULL;
22806 }
22807
22808
22809 static PyObject *_wrap_Window_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
22810 PyObject *resultobj;
22811 wxWindow *arg1 = (wxWindow *) 0 ;
22812 wxFont *result;
22813 PyObject * obj0 = 0 ;
22814 char *kwnames[] = {
22815 (char *) "self", NULL
22816 };
22817
22818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetFont",kwnames,&obj0)) goto fail;
22819 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22820 {
22821 PyThreadState* __tstate = wxPyBeginAllowThreads();
22822 {
22823 wxFont &_result_ref = (arg1)->GetFont();
22824 result = (wxFont *) &_result_ref;
22825 }
22826
22827 wxPyEndAllowThreads(__tstate);
22828 if (PyErr_Occurred()) SWIG_fail;
22829 }
22830 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFont, 0);
22831 return resultobj;
22832 fail:
22833 return NULL;
22834 }
22835
22836
22837 static PyObject *_wrap_Window_SetCaret(PyObject *self, PyObject *args, PyObject *kwargs) {
22838 PyObject *resultobj;
22839 wxWindow *arg1 = (wxWindow *) 0 ;
22840 wxCaret *arg2 = (wxCaret *) 0 ;
22841 PyObject * obj0 = 0 ;
22842 PyObject * obj1 = 0 ;
22843 char *kwnames[] = {
22844 (char *) "self",(char *) "caret", NULL
22845 };
22846
22847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetCaret",kwnames,&obj0,&obj1)) goto fail;
22848 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22849 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22850 {
22851 PyThreadState* __tstate = wxPyBeginAllowThreads();
22852 (arg1)->SetCaret(arg2);
22853
22854 wxPyEndAllowThreads(__tstate);
22855 if (PyErr_Occurred()) SWIG_fail;
22856 }
22857 Py_INCREF(Py_None); resultobj = Py_None;
22858 return resultobj;
22859 fail:
22860 return NULL;
22861 }
22862
22863
22864 static PyObject *_wrap_Window_GetCaret(PyObject *self, PyObject *args, PyObject *kwargs) {
22865 PyObject *resultobj;
22866 wxWindow *arg1 = (wxWindow *) 0 ;
22867 wxCaret *result;
22868 PyObject * obj0 = 0 ;
22869 char *kwnames[] = {
22870 (char *) "self", NULL
22871 };
22872
22873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetCaret",kwnames,&obj0)) goto fail;
22874 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22875 {
22876 PyThreadState* __tstate = wxPyBeginAllowThreads();
22877 result = (wxCaret *)((wxWindow const *)arg1)->GetCaret();
22878
22879 wxPyEndAllowThreads(__tstate);
22880 if (PyErr_Occurred()) SWIG_fail;
22881 }
22882 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCaret, 0);
22883 return resultobj;
22884 fail:
22885 return NULL;
22886 }
22887
22888
22889 static PyObject *_wrap_Window_GetCharHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
22890 PyObject *resultobj;
22891 wxWindow *arg1 = (wxWindow *) 0 ;
22892 int result;
22893 PyObject * obj0 = 0 ;
22894 char *kwnames[] = {
22895 (char *) "self", NULL
22896 };
22897
22898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetCharHeight",kwnames,&obj0)) 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)->GetCharHeight();
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_GetCharWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
22915 PyObject *resultobj;
22916 wxWindow *arg1 = (wxWindow *) 0 ;
22917 int result;
22918 PyObject * obj0 = 0 ;
22919 char *kwnames[] = {
22920 (char *) "self", NULL
22921 };
22922
22923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetCharWidth",kwnames,&obj0)) goto fail;
22924 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22925 {
22926 PyThreadState* __tstate = wxPyBeginAllowThreads();
22927 result = (int)((wxWindow const *)arg1)->GetCharWidth();
22928
22929 wxPyEndAllowThreads(__tstate);
22930 if (PyErr_Occurred()) SWIG_fail;
22931 }
22932 resultobj = PyInt_FromLong((long)result);
22933 return resultobj;
22934 fail:
22935 return NULL;
22936 }
22937
22938
22939 static PyObject *_wrap_Window_GetTextExtent(PyObject *self, PyObject *args, PyObject *kwargs) {
22940 PyObject *resultobj;
22941 wxWindow *arg1 = (wxWindow *) 0 ;
22942 wxString *arg2 = 0 ;
22943 int *arg3 = (int *) 0 ;
22944 int *arg4 = (int *) 0 ;
22945 bool temp2 = False ;
22946 int temp3 ;
22947 int temp4 ;
22948 PyObject * obj0 = 0 ;
22949 PyObject * obj1 = 0 ;
22950 char *kwnames[] = {
22951 (char *) "self",(char *) "string", NULL
22952 };
22953
22954 arg3 = &temp3;
22955 arg4 = &temp4;
22956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_GetTextExtent",kwnames,&obj0,&obj1)) goto fail;
22957 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22958 {
22959 arg2 = wxString_in_helper(obj1);
22960 if (arg2 == NULL) SWIG_fail;
22961 temp2 = True;
22962 }
22963 {
22964 PyThreadState* __tstate = wxPyBeginAllowThreads();
22965 (arg1)->GetTextExtent((wxString const &)*arg2,arg3,arg4);
22966
22967 wxPyEndAllowThreads(__tstate);
22968 if (PyErr_Occurred()) SWIG_fail;
22969 }
22970 Py_INCREF(Py_None); resultobj = Py_None;
22971 {
22972 PyObject *o = PyInt_FromLong((long) (*arg3));
22973 resultobj = t_output_helper(resultobj,o);
22974 }
22975 {
22976 PyObject *o = PyInt_FromLong((long) (*arg4));
22977 resultobj = t_output_helper(resultobj,o);
22978 }
22979 {
22980 if (temp2)
22981 delete arg2;
22982 }
22983 return resultobj;
22984 fail:
22985 {
22986 if (temp2)
22987 delete arg2;
22988 }
22989 return NULL;
22990 }
22991
22992
22993 static PyObject *_wrap_Window_GetFullTextExtent(PyObject *self, PyObject *args, PyObject *kwargs) {
22994 PyObject *resultobj;
22995 wxWindow *arg1 = (wxWindow *) 0 ;
22996 wxString *arg2 = 0 ;
22997 int *arg3 = (int *) 0 ;
22998 int *arg4 = (int *) 0 ;
22999 int *arg5 = (int *) 0 ;
23000 int *arg6 = (int *) 0 ;
23001 wxFont *arg7 = (wxFont *) NULL ;
23002 bool temp2 = False ;
23003 int temp3 ;
23004 int temp4 ;
23005 int temp5 ;
23006 int temp6 ;
23007 PyObject * obj0 = 0 ;
23008 PyObject * obj1 = 0 ;
23009 PyObject * obj2 = 0 ;
23010 char *kwnames[] = {
23011 (char *) "self",(char *) "string",(char *) "font", NULL
23012 };
23013
23014 arg3 = &temp3;
23015 arg4 = &temp4;
23016 arg5 = &temp5;
23017 arg6 = &temp6;
23018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Window_GetFullTextExtent",kwnames,&obj0,&obj1,&obj2)) goto fail;
23019 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23020 {
23021 arg2 = wxString_in_helper(obj1);
23022 if (arg2 == NULL) SWIG_fail;
23023 temp2 = True;
23024 }
23025 if (obj2) {
23026 if ((SWIG_ConvertPtr(obj2,(void **) &arg7, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23027 }
23028 {
23029 PyThreadState* __tstate = wxPyBeginAllowThreads();
23030 (arg1)->GetTextExtent((wxString const &)*arg2,arg3,arg4,arg5,arg6,(wxFont const *)arg7);
23031
23032 wxPyEndAllowThreads(__tstate);
23033 if (PyErr_Occurred()) SWIG_fail;
23034 }
23035 Py_INCREF(Py_None); resultobj = Py_None;
23036 {
23037 PyObject *o = PyInt_FromLong((long) (*arg3));
23038 resultobj = t_output_helper(resultobj,o);
23039 }
23040 {
23041 PyObject *o = PyInt_FromLong((long) (*arg4));
23042 resultobj = t_output_helper(resultobj,o);
23043 }
23044 {
23045 PyObject *o = PyInt_FromLong((long) (*arg5));
23046 resultobj = t_output_helper(resultobj,o);
23047 }
23048 {
23049 PyObject *o = PyInt_FromLong((long) (*arg6));
23050 resultobj = t_output_helper(resultobj,o);
23051 }
23052 {
23053 if (temp2)
23054 delete arg2;
23055 }
23056 return resultobj;
23057 fail:
23058 {
23059 if (temp2)
23060 delete arg2;
23061 }
23062 return NULL;
23063 }
23064
23065
23066 static PyObject *_wrap_Window_ClientToScreenXY(PyObject *self, PyObject *args, PyObject *kwargs) {
23067 PyObject *resultobj;
23068 wxWindow *arg1 = (wxWindow *) 0 ;
23069 int *arg2 = (int *) 0 ;
23070 int *arg3 = (int *) 0 ;
23071 int temp2 ;
23072 int temp3 ;
23073 PyObject * obj0 = 0 ;
23074 PyObject * obj1 = 0 ;
23075 PyObject * obj2 = 0 ;
23076 char *kwnames[] = {
23077 (char *) "self",(char *) "x",(char *) "y", NULL
23078 };
23079
23080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Window_ClientToScreenXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
23081 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23082 {
23083 temp2 = PyInt_AsLong(obj1);
23084 if (PyErr_Occurred()) SWIG_fail;
23085 arg2 = &temp2;
23086 }
23087 {
23088 temp3 = PyInt_AsLong(obj2);
23089 if (PyErr_Occurred()) SWIG_fail;
23090 arg3 = &temp3;
23091 }
23092 {
23093 PyThreadState* __tstate = wxPyBeginAllowThreads();
23094 ((wxWindow const *)arg1)->ClientToScreen(arg2,arg3);
23095
23096 wxPyEndAllowThreads(__tstate);
23097 if (PyErr_Occurred()) SWIG_fail;
23098 }
23099 Py_INCREF(Py_None); resultobj = Py_None;
23100 {
23101 PyObject *o = PyInt_FromLong((long) (*arg2));
23102 resultobj = t_output_helper(resultobj,o);
23103 }
23104 {
23105 PyObject *o = PyInt_FromLong((long) (*arg3));
23106 resultobj = t_output_helper(resultobj,o);
23107 }
23108 return resultobj;
23109 fail:
23110 return NULL;
23111 }
23112
23113
23114 static PyObject *_wrap_Window_ScreenToClientXY(PyObject *self, PyObject *args, PyObject *kwargs) {
23115 PyObject *resultobj;
23116 wxWindow *arg1 = (wxWindow *) 0 ;
23117 int *arg2 = (int *) 0 ;
23118 int *arg3 = (int *) 0 ;
23119 int temp2 ;
23120 int temp3 ;
23121 PyObject * obj0 = 0 ;
23122 PyObject * obj1 = 0 ;
23123 PyObject * obj2 = 0 ;
23124 char *kwnames[] = {
23125 (char *) "self",(char *) "x",(char *) "y", NULL
23126 };
23127
23128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Window_ScreenToClientXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
23129 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23130 {
23131 temp2 = PyInt_AsLong(obj1);
23132 if (PyErr_Occurred()) SWIG_fail;
23133 arg2 = &temp2;
23134 }
23135 {
23136 temp3 = PyInt_AsLong(obj2);
23137 if (PyErr_Occurred()) SWIG_fail;
23138 arg3 = &temp3;
23139 }
23140 {
23141 PyThreadState* __tstate = wxPyBeginAllowThreads();
23142 ((wxWindow const *)arg1)->ScreenToClient(arg2,arg3);
23143
23144 wxPyEndAllowThreads(__tstate);
23145 if (PyErr_Occurred()) SWIG_fail;
23146 }
23147 Py_INCREF(Py_None); resultobj = Py_None;
23148 {
23149 PyObject *o = PyInt_FromLong((long) (*arg2));
23150 resultobj = t_output_helper(resultobj,o);
23151 }
23152 {
23153 PyObject *o = PyInt_FromLong((long) (*arg3));
23154 resultobj = t_output_helper(resultobj,o);
23155 }
23156 return resultobj;
23157 fail:
23158 return NULL;
23159 }
23160
23161
23162 static PyObject *_wrap_Window_ClientToScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
23163 PyObject *resultobj;
23164 wxWindow *arg1 = (wxWindow *) 0 ;
23165 wxPoint *arg2 = 0 ;
23166 wxPoint result;
23167 wxPoint temp2 ;
23168 PyObject * obj0 = 0 ;
23169 PyObject * obj1 = 0 ;
23170 char *kwnames[] = {
23171 (char *) "self",(char *) "pt", NULL
23172 };
23173
23174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ClientToScreen",kwnames,&obj0,&obj1)) goto fail;
23175 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23176 {
23177 arg2 = &temp2;
23178 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
23179 }
23180 {
23181 PyThreadState* __tstate = wxPyBeginAllowThreads();
23182 result = ((wxWindow const *)arg1)->ClientToScreen((wxPoint const &)*arg2);
23183
23184 wxPyEndAllowThreads(__tstate);
23185 if (PyErr_Occurred()) SWIG_fail;
23186 }
23187 {
23188 wxPoint * resultptr;
23189 resultptr = new wxPoint((wxPoint &) result);
23190 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
23191 }
23192 return resultobj;
23193 fail:
23194 return NULL;
23195 }
23196
23197
23198 static PyObject *_wrap_Window_ScreenToClient(PyObject *self, PyObject *args, PyObject *kwargs) {
23199 PyObject *resultobj;
23200 wxWindow *arg1 = (wxWindow *) 0 ;
23201 wxPoint *arg2 = 0 ;
23202 wxPoint result;
23203 wxPoint temp2 ;
23204 PyObject * obj0 = 0 ;
23205 PyObject * obj1 = 0 ;
23206 char *kwnames[] = {
23207 (char *) "self",(char *) "pt", NULL
23208 };
23209
23210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ScreenToClient",kwnames,&obj0,&obj1)) goto fail;
23211 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23212 {
23213 arg2 = &temp2;
23214 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
23215 }
23216 {
23217 PyThreadState* __tstate = wxPyBeginAllowThreads();
23218 result = ((wxWindow const *)arg1)->ScreenToClient((wxPoint const &)*arg2);
23219
23220 wxPyEndAllowThreads(__tstate);
23221 if (PyErr_Occurred()) SWIG_fail;
23222 }
23223 {
23224 wxPoint * resultptr;
23225 resultptr = new wxPoint((wxPoint &) result);
23226 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
23227 }
23228 return resultobj;
23229 fail:
23230 return NULL;
23231 }
23232
23233
23234 static PyObject *_wrap_Window_HitTestXY(PyObject *self, PyObject *args, PyObject *kwargs) {
23235 PyObject *resultobj;
23236 wxWindow *arg1 = (wxWindow *) 0 ;
23237 int arg2 ;
23238 int arg3 ;
23239 int result;
23240 PyObject * obj0 = 0 ;
23241 char *kwnames[] = {
23242 (char *) "self",(char *) "x",(char *) "y", NULL
23243 };
23244
23245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Window_HitTestXY",kwnames,&obj0,&arg2,&arg3)) goto fail;
23246 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23247 {
23248 PyThreadState* __tstate = wxPyBeginAllowThreads();
23249 result = (int)((wxWindow const *)arg1)->HitTest(arg2,arg3);
23250
23251 wxPyEndAllowThreads(__tstate);
23252 if (PyErr_Occurred()) SWIG_fail;
23253 }
23254 resultobj = PyInt_FromLong((long)result);
23255 return resultobj;
23256 fail:
23257 return NULL;
23258 }
23259
23260
23261 static PyObject *_wrap_Window_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
23262 PyObject *resultobj;
23263 wxWindow *arg1 = (wxWindow *) 0 ;
23264 wxPoint *arg2 = 0 ;
23265 int result;
23266 wxPoint temp2 ;
23267 PyObject * obj0 = 0 ;
23268 PyObject * obj1 = 0 ;
23269 char *kwnames[] = {
23270 (char *) "self",(char *) "pt", NULL
23271 };
23272
23273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_HitTest",kwnames,&obj0,&obj1)) goto fail;
23274 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23275 {
23276 arg2 = &temp2;
23277 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
23278 }
23279 {
23280 PyThreadState* __tstate = wxPyBeginAllowThreads();
23281 result = (int)((wxWindow const *)arg1)->HitTest((wxPoint const &)*arg2);
23282
23283 wxPyEndAllowThreads(__tstate);
23284 if (PyErr_Occurred()) SWIG_fail;
23285 }
23286 resultobj = PyInt_FromLong((long)result);
23287 return resultobj;
23288 fail:
23289 return NULL;
23290 }
23291
23292
23293 static PyObject *_wrap_Window_GetBorderFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
23294 PyObject *resultobj;
23295 wxWindow *arg1 = (wxWindow *) 0 ;
23296 long arg2 ;
23297 int result;
23298 PyObject * obj0 = 0 ;
23299 char *kwnames[] = {
23300 (char *) "self",(char *) "flags", NULL
23301 };
23302
23303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:Window_GetBorderFlags",kwnames,&obj0,&arg2)) goto fail;
23304 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23305 {
23306 PyThreadState* __tstate = wxPyBeginAllowThreads();
23307 result = (int)((wxWindow const *)arg1)->GetBorder(arg2);
23308
23309 wxPyEndAllowThreads(__tstate);
23310 if (PyErr_Occurred()) SWIG_fail;
23311 }
23312 resultobj = PyInt_FromLong((long)result);
23313 return resultobj;
23314 fail:
23315 return NULL;
23316 }
23317
23318
23319 static PyObject *_wrap_Window_GetBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
23320 PyObject *resultobj;
23321 wxWindow *arg1 = (wxWindow *) 0 ;
23322 int result;
23323 PyObject * obj0 = 0 ;
23324 char *kwnames[] = {
23325 (char *) "self", NULL
23326 };
23327
23328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetBorder",kwnames,&obj0)) goto fail;
23329 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23330 {
23331 PyThreadState* __tstate = wxPyBeginAllowThreads();
23332 result = (int)((wxWindow const *)arg1)->GetBorder();
23333
23334 wxPyEndAllowThreads(__tstate);
23335 if (PyErr_Occurred()) SWIG_fail;
23336 }
23337 resultobj = PyInt_FromLong((long)result);
23338 return resultobj;
23339 fail:
23340 return NULL;
23341 }
23342
23343
23344 static PyObject *_wrap_Window_UpdateWindowUI(PyObject *self, PyObject *args, PyObject *kwargs) {
23345 PyObject *resultobj;
23346 wxWindow *arg1 = (wxWindow *) 0 ;
23347 long arg2 = (long) wxUPDATE_UI_NONE ;
23348 PyObject * obj0 = 0 ;
23349 char *kwnames[] = {
23350 (char *) "self",(char *) "flags", NULL
23351 };
23352
23353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|l:Window_UpdateWindowUI",kwnames,&obj0,&arg2)) goto fail;
23354 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23355 {
23356 PyThreadState* __tstate = wxPyBeginAllowThreads();
23357 (arg1)->UpdateWindowUI(arg2);
23358
23359 wxPyEndAllowThreads(__tstate);
23360 if (PyErr_Occurred()) SWIG_fail;
23361 }
23362 Py_INCREF(Py_None); resultobj = Py_None;
23363 return resultobj;
23364 fail:
23365 return NULL;
23366 }
23367
23368
23369 static PyObject *_wrap_Window_PopupMenuXY(PyObject *self, PyObject *args, PyObject *kwargs) {
23370 PyObject *resultobj;
23371 wxWindow *arg1 = (wxWindow *) 0 ;
23372 wxMenu *arg2 = (wxMenu *) 0 ;
23373 int arg3 ;
23374 int arg4 ;
23375 bool result;
23376 PyObject * obj0 = 0 ;
23377 PyObject * obj1 = 0 ;
23378 char *kwnames[] = {
23379 (char *) "self",(char *) "menu",(char *) "x",(char *) "y", NULL
23380 };
23381
23382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOii:Window_PopupMenuXY",kwnames,&obj0,&obj1,&arg3,&arg4)) goto fail;
23383 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23384 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23385 {
23386 PyThreadState* __tstate = wxPyBeginAllowThreads();
23387 result = (bool)(arg1)->PopupMenu(arg2,arg3,arg4);
23388
23389 wxPyEndAllowThreads(__tstate);
23390 if (PyErr_Occurred()) SWIG_fail;
23391 }
23392 resultobj = PyInt_FromLong((long)result);
23393 return resultobj;
23394 fail:
23395 return NULL;
23396 }
23397
23398
23399 static PyObject *_wrap_Window_PopupMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
23400 PyObject *resultobj;
23401 wxWindow *arg1 = (wxWindow *) 0 ;
23402 wxMenu *arg2 = (wxMenu *) 0 ;
23403 wxPoint *arg3 = 0 ;
23404 bool result;
23405 wxPoint temp3 ;
23406 PyObject * obj0 = 0 ;
23407 PyObject * obj1 = 0 ;
23408 PyObject * obj2 = 0 ;
23409 char *kwnames[] = {
23410 (char *) "self",(char *) "menu",(char *) "pos", NULL
23411 };
23412
23413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Window_PopupMenu",kwnames,&obj0,&obj1,&obj2)) goto fail;
23414 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23415 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23416 {
23417 arg3 = &temp3;
23418 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
23419 }
23420 {
23421 PyThreadState* __tstate = wxPyBeginAllowThreads();
23422 result = (bool)(arg1)->PopupMenu(arg2,(wxPoint const &)*arg3);
23423
23424 wxPyEndAllowThreads(__tstate);
23425 if (PyErr_Occurred()) SWIG_fail;
23426 }
23427 resultobj = PyInt_FromLong((long)result);
23428 return resultobj;
23429 fail:
23430 return NULL;
23431 }
23432
23433
23434 static PyObject *_wrap_Window_GetHandle(PyObject *self, PyObject *args, PyObject *kwargs) {
23435 PyObject *resultobj;
23436 wxWindow *arg1 = (wxWindow *) 0 ;
23437 long result;
23438 PyObject * obj0 = 0 ;
23439 char *kwnames[] = {
23440 (char *) "self", NULL
23441 };
23442
23443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetHandle",kwnames,&obj0)) goto fail;
23444 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23445 {
23446 PyThreadState* __tstate = wxPyBeginAllowThreads();
23447 result = (long)wxWindow_GetHandle(arg1);
23448
23449 wxPyEndAllowThreads(__tstate);
23450 if (PyErr_Occurred()) SWIG_fail;
23451 }
23452 resultobj = PyInt_FromLong((long)result);
23453 return resultobj;
23454 fail:
23455 return NULL;
23456 }
23457
23458
23459 static PyObject *_wrap_Window_OnPaint(PyObject *self, PyObject *args, PyObject *kwargs) {
23460 PyObject *resultobj;
23461 wxWindow *arg1 = (wxWindow *) 0 ;
23462 wxPaintEvent *arg2 = 0 ;
23463 PyObject * obj0 = 0 ;
23464 PyObject * obj1 = 0 ;
23465 char *kwnames[] = {
23466 (char *) "self",(char *) "event", NULL
23467 };
23468
23469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_OnPaint",kwnames,&obj0,&obj1)) goto fail;
23470 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23471 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPaintEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23472 if (arg2 == NULL) {
23473 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23474 }
23475 {
23476 PyThreadState* __tstate = wxPyBeginAllowThreads();
23477 (arg1)->OnPaint(*arg2);
23478
23479 wxPyEndAllowThreads(__tstate);
23480 if (PyErr_Occurred()) SWIG_fail;
23481 }
23482 Py_INCREF(Py_None); resultobj = Py_None;
23483 return resultobj;
23484 fail:
23485 return NULL;
23486 }
23487
23488
23489 static PyObject *_wrap_Window_HasScrollbar(PyObject *self, PyObject *args, PyObject *kwargs) {
23490 PyObject *resultobj;
23491 wxWindow *arg1 = (wxWindow *) 0 ;
23492 int arg2 ;
23493 bool result;
23494 PyObject * obj0 = 0 ;
23495 char *kwnames[] = {
23496 (char *) "self",(char *) "orient", NULL
23497 };
23498
23499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Window_HasScrollbar",kwnames,&obj0,&arg2)) goto fail;
23500 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23501 {
23502 PyThreadState* __tstate = wxPyBeginAllowThreads();
23503 result = (bool)((wxWindow const *)arg1)->HasScrollbar(arg2);
23504
23505 wxPyEndAllowThreads(__tstate);
23506 if (PyErr_Occurred()) SWIG_fail;
23507 }
23508 resultobj = PyInt_FromLong((long)result);
23509 return resultobj;
23510 fail:
23511 return NULL;
23512 }
23513
23514
23515 static PyObject *_wrap_Window_SetScrollbar(PyObject *self, PyObject *args, PyObject *kwargs) {
23516 PyObject *resultobj;
23517 wxWindow *arg1 = (wxWindow *) 0 ;
23518 int arg2 ;
23519 int arg3 ;
23520 int arg4 ;
23521 int arg5 ;
23522 bool arg6 = (bool) True ;
23523 PyObject * obj0 = 0 ;
23524 PyObject * obj5 = 0 ;
23525 char *kwnames[] = {
23526 (char *) "self",(char *) "orient",(char *) "pos",(char *) "thumbvisible",(char *) "range",(char *) "refresh", NULL
23527 };
23528
23529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii|O:Window_SetScrollbar",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&obj5)) goto fail;
23530 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23531 if (obj5) {
23532 arg6 = PyInt_AsLong(obj5) ? true : false;
23533 if (PyErr_Occurred()) SWIG_fail;
23534 }
23535 {
23536 PyThreadState* __tstate = wxPyBeginAllowThreads();
23537 (arg1)->SetScrollbar(arg2,arg3,arg4,arg5,arg6);
23538
23539 wxPyEndAllowThreads(__tstate);
23540 if (PyErr_Occurred()) SWIG_fail;
23541 }
23542 Py_INCREF(Py_None); resultobj = Py_None;
23543 return resultobj;
23544 fail:
23545 return NULL;
23546 }
23547
23548
23549 static PyObject *_wrap_Window_SetScrollPos(PyObject *self, PyObject *args, PyObject *kwargs) {
23550 PyObject *resultobj;
23551 wxWindow *arg1 = (wxWindow *) 0 ;
23552 int arg2 ;
23553 int arg3 ;
23554 bool arg4 = (bool) True ;
23555 PyObject * obj0 = 0 ;
23556 PyObject * obj3 = 0 ;
23557 char *kwnames[] = {
23558 (char *) "self",(char *) "orient",(char *) "pos",(char *) "refresh", NULL
23559 };
23560
23561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii|O:Window_SetScrollPos",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail;
23562 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23563 if (obj3) {
23564 arg4 = PyInt_AsLong(obj3) ? true : false;
23565 if (PyErr_Occurred()) SWIG_fail;
23566 }
23567 {
23568 PyThreadState* __tstate = wxPyBeginAllowThreads();
23569 (arg1)->SetScrollPos(arg2,arg3,arg4);
23570
23571 wxPyEndAllowThreads(__tstate);
23572 if (PyErr_Occurred()) SWIG_fail;
23573 }
23574 Py_INCREF(Py_None); resultobj = Py_None;
23575 return resultobj;
23576 fail:
23577 return NULL;
23578 }
23579
23580
23581 static PyObject *_wrap_Window_GetScrollPos(PyObject *self, PyObject *args, PyObject *kwargs) {
23582 PyObject *resultobj;
23583 wxWindow *arg1 = (wxWindow *) 0 ;
23584 int arg2 ;
23585 int result;
23586 PyObject * obj0 = 0 ;
23587 char *kwnames[] = {
23588 (char *) "self",(char *) "orient", NULL
23589 };
23590
23591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Window_GetScrollPos",kwnames,&obj0,&arg2)) goto fail;
23592 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23593 {
23594 PyThreadState* __tstate = wxPyBeginAllowThreads();
23595 result = (int)((wxWindow const *)arg1)->GetScrollPos(arg2);
23596
23597 wxPyEndAllowThreads(__tstate);
23598 if (PyErr_Occurred()) SWIG_fail;
23599 }
23600 resultobj = PyInt_FromLong((long)result);
23601 return resultobj;
23602 fail:
23603 return NULL;
23604 }
23605
23606
23607 static PyObject *_wrap_Window_GetScrollThumb(PyObject *self, PyObject *args, PyObject *kwargs) {
23608 PyObject *resultobj;
23609 wxWindow *arg1 = (wxWindow *) 0 ;
23610 int arg2 ;
23611 int result;
23612 PyObject * obj0 = 0 ;
23613 char *kwnames[] = {
23614 (char *) "self",(char *) "orient", NULL
23615 };
23616
23617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Window_GetScrollThumb",kwnames,&obj0,&arg2)) goto fail;
23618 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23619 {
23620 PyThreadState* __tstate = wxPyBeginAllowThreads();
23621 result = (int)((wxWindow const *)arg1)->GetScrollThumb(arg2);
23622
23623 wxPyEndAllowThreads(__tstate);
23624 if (PyErr_Occurred()) SWIG_fail;
23625 }
23626 resultobj = PyInt_FromLong((long)result);
23627 return resultobj;
23628 fail:
23629 return NULL;
23630 }
23631
23632
23633 static PyObject *_wrap_Window_GetScrollRange(PyObject *self, PyObject *args, PyObject *kwargs) {
23634 PyObject *resultobj;
23635 wxWindow *arg1 = (wxWindow *) 0 ;
23636 int arg2 ;
23637 int result;
23638 PyObject * obj0 = 0 ;
23639 char *kwnames[] = {
23640 (char *) "self",(char *) "orient", NULL
23641 };
23642
23643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Window_GetScrollRange",kwnames,&obj0,&arg2)) goto fail;
23644 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23645 {
23646 PyThreadState* __tstate = wxPyBeginAllowThreads();
23647 result = (int)((wxWindow const *)arg1)->GetScrollRange(arg2);
23648
23649 wxPyEndAllowThreads(__tstate);
23650 if (PyErr_Occurred()) SWIG_fail;
23651 }
23652 resultobj = PyInt_FromLong((long)result);
23653 return resultobj;
23654 fail:
23655 return NULL;
23656 }
23657
23658
23659 static PyObject *_wrap_Window_ScrollWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
23660 PyObject *resultobj;
23661 wxWindow *arg1 = (wxWindow *) 0 ;
23662 int arg2 ;
23663 int arg3 ;
23664 wxRect *arg4 = (wxRect *) NULL ;
23665 PyObject * obj0 = 0 ;
23666 PyObject * obj3 = 0 ;
23667 char *kwnames[] = {
23668 (char *) "self",(char *) "dx",(char *) "dy",(char *) "rect", NULL
23669 };
23670
23671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii|O:Window_ScrollWindow",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail;
23672 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23673 if (obj3) {
23674 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23675 }
23676 {
23677 PyThreadState* __tstate = wxPyBeginAllowThreads();
23678 (arg1)->ScrollWindow(arg2,arg3,(wxRect const *)arg4);
23679
23680 wxPyEndAllowThreads(__tstate);
23681 if (PyErr_Occurred()) SWIG_fail;
23682 }
23683 Py_INCREF(Py_None); resultobj = Py_None;
23684 return resultobj;
23685 fail:
23686 return NULL;
23687 }
23688
23689
23690 static PyObject *_wrap_Window_ScrollLines(PyObject *self, PyObject *args, PyObject *kwargs) {
23691 PyObject *resultobj;
23692 wxWindow *arg1 = (wxWindow *) 0 ;
23693 int arg2 ;
23694 bool result;
23695 PyObject * obj0 = 0 ;
23696 char *kwnames[] = {
23697 (char *) "self",(char *) "lines", NULL
23698 };
23699
23700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Window_ScrollLines",kwnames,&obj0,&arg2)) goto fail;
23701 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23702 {
23703 PyThreadState* __tstate = wxPyBeginAllowThreads();
23704 result = (bool)(arg1)->ScrollLines(arg2);
23705
23706 wxPyEndAllowThreads(__tstate);
23707 if (PyErr_Occurred()) SWIG_fail;
23708 }
23709 resultobj = PyInt_FromLong((long)result);
23710 return resultobj;
23711 fail:
23712 return NULL;
23713 }
23714
23715
23716 static PyObject *_wrap_Window_ScrollPages(PyObject *self, PyObject *args, PyObject *kwargs) {
23717 PyObject *resultobj;
23718 wxWindow *arg1 = (wxWindow *) 0 ;
23719 int arg2 ;
23720 bool result;
23721 PyObject * obj0 = 0 ;
23722 char *kwnames[] = {
23723 (char *) "self",(char *) "pages", NULL
23724 };
23725
23726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Window_ScrollPages",kwnames,&obj0,&arg2)) goto fail;
23727 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23728 {
23729 PyThreadState* __tstate = wxPyBeginAllowThreads();
23730 result = (bool)(arg1)->ScrollPages(arg2);
23731
23732 wxPyEndAllowThreads(__tstate);
23733 if (PyErr_Occurred()) SWIG_fail;
23734 }
23735 resultobj = PyInt_FromLong((long)result);
23736 return resultobj;
23737 fail:
23738 return NULL;
23739 }
23740
23741
23742 static PyObject *_wrap_Window_LineUp(PyObject *self, PyObject *args, PyObject *kwargs) {
23743 PyObject *resultobj;
23744 wxWindow *arg1 = (wxWindow *) 0 ;
23745 bool result;
23746 PyObject * obj0 = 0 ;
23747 char *kwnames[] = {
23748 (char *) "self", NULL
23749 };
23750
23751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_LineUp",kwnames,&obj0)) goto fail;
23752 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23753 {
23754 PyThreadState* __tstate = wxPyBeginAllowThreads();
23755 result = (bool)(arg1)->LineUp();
23756
23757 wxPyEndAllowThreads(__tstate);
23758 if (PyErr_Occurred()) SWIG_fail;
23759 }
23760 resultobj = PyInt_FromLong((long)result);
23761 return resultobj;
23762 fail:
23763 return NULL;
23764 }
23765
23766
23767 static PyObject *_wrap_Window_LineDown(PyObject *self, PyObject *args, PyObject *kwargs) {
23768 PyObject *resultobj;
23769 wxWindow *arg1 = (wxWindow *) 0 ;
23770 bool result;
23771 PyObject * obj0 = 0 ;
23772 char *kwnames[] = {
23773 (char *) "self", NULL
23774 };
23775
23776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_LineDown",kwnames,&obj0)) goto fail;
23777 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23778 {
23779 PyThreadState* __tstate = wxPyBeginAllowThreads();
23780 result = (bool)(arg1)->LineDown();
23781
23782 wxPyEndAllowThreads(__tstate);
23783 if (PyErr_Occurred()) SWIG_fail;
23784 }
23785 resultobj = PyInt_FromLong((long)result);
23786 return resultobj;
23787 fail:
23788 return NULL;
23789 }
23790
23791
23792 static PyObject *_wrap_Window_PageUp(PyObject *self, PyObject *args, PyObject *kwargs) {
23793 PyObject *resultobj;
23794 wxWindow *arg1 = (wxWindow *) 0 ;
23795 bool result;
23796 PyObject * obj0 = 0 ;
23797 char *kwnames[] = {
23798 (char *) "self", NULL
23799 };
23800
23801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_PageUp",kwnames,&obj0)) goto fail;
23802 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23803 {
23804 PyThreadState* __tstate = wxPyBeginAllowThreads();
23805 result = (bool)(arg1)->PageUp();
23806
23807 wxPyEndAllowThreads(__tstate);
23808 if (PyErr_Occurred()) SWIG_fail;
23809 }
23810 resultobj = PyInt_FromLong((long)result);
23811 return resultobj;
23812 fail:
23813 return NULL;
23814 }
23815
23816
23817 static PyObject *_wrap_Window_PageDown(PyObject *self, PyObject *args, PyObject *kwargs) {
23818 PyObject *resultobj;
23819 wxWindow *arg1 = (wxWindow *) 0 ;
23820 bool result;
23821 PyObject * obj0 = 0 ;
23822 char *kwnames[] = {
23823 (char *) "self", NULL
23824 };
23825
23826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_PageDown",kwnames,&obj0)) goto fail;
23827 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23828 {
23829 PyThreadState* __tstate = wxPyBeginAllowThreads();
23830 result = (bool)(arg1)->PageDown();
23831
23832 wxPyEndAllowThreads(__tstate);
23833 if (PyErr_Occurred()) SWIG_fail;
23834 }
23835 resultobj = PyInt_FromLong((long)result);
23836 return resultobj;
23837 fail:
23838 return NULL;
23839 }
23840
23841
23842 static PyObject *_wrap_Window_SetHelpText(PyObject *self, PyObject *args, PyObject *kwargs) {
23843 PyObject *resultobj;
23844 wxWindow *arg1 = (wxWindow *) 0 ;
23845 wxString *arg2 = 0 ;
23846 bool temp2 = False ;
23847 PyObject * obj0 = 0 ;
23848 PyObject * obj1 = 0 ;
23849 char *kwnames[] = {
23850 (char *) "self",(char *) "text", NULL
23851 };
23852
23853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetHelpText",kwnames,&obj0,&obj1)) goto fail;
23854 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23855 {
23856 arg2 = wxString_in_helper(obj1);
23857 if (arg2 == NULL) SWIG_fail;
23858 temp2 = True;
23859 }
23860 {
23861 PyThreadState* __tstate = wxPyBeginAllowThreads();
23862 (arg1)->SetHelpText((wxString const &)*arg2);
23863
23864 wxPyEndAllowThreads(__tstate);
23865 if (PyErr_Occurred()) SWIG_fail;
23866 }
23867 Py_INCREF(Py_None); resultobj = Py_None;
23868 {
23869 if (temp2)
23870 delete arg2;
23871 }
23872 return resultobj;
23873 fail:
23874 {
23875 if (temp2)
23876 delete arg2;
23877 }
23878 return NULL;
23879 }
23880
23881
23882 static PyObject *_wrap_Window_SetHelpTextForId(PyObject *self, PyObject *args, PyObject *kwargs) {
23883 PyObject *resultobj;
23884 wxWindow *arg1 = (wxWindow *) 0 ;
23885 wxString *arg2 = 0 ;
23886 bool temp2 = False ;
23887 PyObject * obj0 = 0 ;
23888 PyObject * obj1 = 0 ;
23889 char *kwnames[] = {
23890 (char *) "self",(char *) "text", NULL
23891 };
23892
23893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetHelpTextForId",kwnames,&obj0,&obj1)) goto fail;
23894 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23895 {
23896 arg2 = wxString_in_helper(obj1);
23897 if (arg2 == NULL) SWIG_fail;
23898 temp2 = True;
23899 }
23900 {
23901 PyThreadState* __tstate = wxPyBeginAllowThreads();
23902 (arg1)->SetHelpTextForId((wxString const &)*arg2);
23903
23904 wxPyEndAllowThreads(__tstate);
23905 if (PyErr_Occurred()) SWIG_fail;
23906 }
23907 Py_INCREF(Py_None); resultobj = Py_None;
23908 {
23909 if (temp2)
23910 delete arg2;
23911 }
23912 return resultobj;
23913 fail:
23914 {
23915 if (temp2)
23916 delete arg2;
23917 }
23918 return NULL;
23919 }
23920
23921
23922 static PyObject *_wrap_Window_GetHelpText(PyObject *self, PyObject *args, PyObject *kwargs) {
23923 PyObject *resultobj;
23924 wxWindow *arg1 = (wxWindow *) 0 ;
23925 wxString result;
23926 PyObject * obj0 = 0 ;
23927 char *kwnames[] = {
23928 (char *) "self", NULL
23929 };
23930
23931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetHelpText",kwnames,&obj0)) goto fail;
23932 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23933 {
23934 PyThreadState* __tstate = wxPyBeginAllowThreads();
23935 result = ((wxWindow const *)arg1)->GetHelpText();
23936
23937 wxPyEndAllowThreads(__tstate);
23938 if (PyErr_Occurred()) SWIG_fail;
23939 }
23940 {
23941 #if wxUSE_UNICODE
23942 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
23943 #else
23944 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
23945 #endif
23946 }
23947 return resultobj;
23948 fail:
23949 return NULL;
23950 }
23951
23952
23953 static PyObject *_wrap_Window_SetToolTipString(PyObject *self, PyObject *args, PyObject *kwargs) {
23954 PyObject *resultobj;
23955 wxWindow *arg1 = (wxWindow *) 0 ;
23956 wxString *arg2 = 0 ;
23957 bool temp2 = False ;
23958 PyObject * obj0 = 0 ;
23959 PyObject * obj1 = 0 ;
23960 char *kwnames[] = {
23961 (char *) "self",(char *) "tip", NULL
23962 };
23963
23964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetToolTipString",kwnames,&obj0,&obj1)) goto fail;
23965 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23966 {
23967 arg2 = wxString_in_helper(obj1);
23968 if (arg2 == NULL) SWIG_fail;
23969 temp2 = True;
23970 }
23971 {
23972 PyThreadState* __tstate = wxPyBeginAllowThreads();
23973 (arg1)->SetToolTip((wxString const &)*arg2);
23974
23975 wxPyEndAllowThreads(__tstate);
23976 if (PyErr_Occurred()) SWIG_fail;
23977 }
23978 Py_INCREF(Py_None); resultobj = Py_None;
23979 {
23980 if (temp2)
23981 delete arg2;
23982 }
23983 return resultobj;
23984 fail:
23985 {
23986 if (temp2)
23987 delete arg2;
23988 }
23989 return NULL;
23990 }
23991
23992
23993 static PyObject *_wrap_Window_SetToolTip(PyObject *self, PyObject *args, PyObject *kwargs) {
23994 PyObject *resultobj;
23995 wxWindow *arg1 = (wxWindow *) 0 ;
23996 wxToolTip *arg2 = (wxToolTip *) 0 ;
23997 PyObject * obj0 = 0 ;
23998 PyObject * obj1 = 0 ;
23999 char *kwnames[] = {
24000 (char *) "self",(char *) "tip", NULL
24001 };
24002
24003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetToolTip",kwnames,&obj0,&obj1)) goto fail;
24004 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24005 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxToolTip,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24006 {
24007 PyThreadState* __tstate = wxPyBeginAllowThreads();
24008 (arg1)->SetToolTip(arg2);
24009
24010 wxPyEndAllowThreads(__tstate);
24011 if (PyErr_Occurred()) SWIG_fail;
24012 }
24013 Py_INCREF(Py_None); resultobj = Py_None;
24014 return resultobj;
24015 fail:
24016 return NULL;
24017 }
24018
24019
24020 static PyObject *_wrap_Window_GetToolTip(PyObject *self, PyObject *args, PyObject *kwargs) {
24021 PyObject *resultobj;
24022 wxWindow *arg1 = (wxWindow *) 0 ;
24023 wxToolTip *result;
24024 PyObject * obj0 = 0 ;
24025 char *kwnames[] = {
24026 (char *) "self", NULL
24027 };
24028
24029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetToolTip",kwnames,&obj0)) goto fail;
24030 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24031 {
24032 PyThreadState* __tstate = wxPyBeginAllowThreads();
24033 result = (wxToolTip *)((wxWindow const *)arg1)->GetToolTip();
24034
24035 wxPyEndAllowThreads(__tstate);
24036 if (PyErr_Occurred()) SWIG_fail;
24037 }
24038 {
24039 resultobj = wxPyMake_wxObject(result);
24040 }
24041 return resultobj;
24042 fail:
24043 return NULL;
24044 }
24045
24046
24047 static PyObject *_wrap_Window_SetDropTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
24048 PyObject *resultobj;
24049 wxWindow *arg1 = (wxWindow *) 0 ;
24050 wxPyDropTarget *arg2 = (wxPyDropTarget *) 0 ;
24051 PyObject * obj0 = 0 ;
24052 PyObject * obj1 = 0 ;
24053 char *kwnames[] = {
24054 (char *) "self",(char *) "dropTarget", NULL
24055 };
24056
24057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetDropTarget",kwnames,&obj0,&obj1)) goto fail;
24058 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24059 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24060 {
24061 PyThreadState* __tstate = wxPyBeginAllowThreads();
24062 (arg1)->SetDropTarget(arg2);
24063
24064 wxPyEndAllowThreads(__tstate);
24065 if (PyErr_Occurred()) SWIG_fail;
24066 }
24067 Py_INCREF(Py_None); resultobj = Py_None;
24068 return resultobj;
24069 fail:
24070 return NULL;
24071 }
24072
24073
24074 static PyObject *_wrap_Window_GetDropTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
24075 PyObject *resultobj;
24076 wxWindow *arg1 = (wxWindow *) 0 ;
24077 wxPyDropTarget *result;
24078 PyObject * obj0 = 0 ;
24079 char *kwnames[] = {
24080 (char *) "self", NULL
24081 };
24082
24083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetDropTarget",kwnames,&obj0)) goto fail;
24084 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24085 {
24086 PyThreadState* __tstate = wxPyBeginAllowThreads();
24087 result = (wxPyDropTarget *)((wxWindow const *)arg1)->GetDropTarget();
24088
24089 wxPyEndAllowThreads(__tstate);
24090 if (PyErr_Occurred()) SWIG_fail;
24091 }
24092 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyDropTarget, 0);
24093 return resultobj;
24094 fail:
24095 return NULL;
24096 }
24097
24098
24099 static PyObject *_wrap_Window_DragAcceptFiles(PyObject *self, PyObject *args, PyObject *kwargs) {
24100 PyObject *resultobj;
24101 wxWindow *arg1 = (wxWindow *) 0 ;
24102 bool arg2 ;
24103 PyObject * obj0 = 0 ;
24104 PyObject * obj1 = 0 ;
24105 char *kwnames[] = {
24106 (char *) "self",(char *) "accept", NULL
24107 };
24108
24109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_DragAcceptFiles",kwnames,&obj0,&obj1)) goto fail;
24110 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24111 arg2 = PyInt_AsLong(obj1) ? true : false;
24112 if (PyErr_Occurred()) SWIG_fail;
24113 {
24114 PyThreadState* __tstate = wxPyBeginAllowThreads();
24115 (arg1)->DragAcceptFiles(arg2);
24116
24117 wxPyEndAllowThreads(__tstate);
24118 if (PyErr_Occurred()) SWIG_fail;
24119 }
24120 Py_INCREF(Py_None); resultobj = Py_None;
24121 return resultobj;
24122 fail:
24123 return NULL;
24124 }
24125
24126
24127 static PyObject *_wrap_Window_SetConstraints(PyObject *self, PyObject *args, PyObject *kwargs) {
24128 PyObject *resultobj;
24129 wxWindow *arg1 = (wxWindow *) 0 ;
24130 wxLayoutConstraints *arg2 = (wxLayoutConstraints *) 0 ;
24131 PyObject * obj0 = 0 ;
24132 PyObject * obj1 = 0 ;
24133 char *kwnames[] = {
24134 (char *) "self",(char *) "constraints", NULL
24135 };
24136
24137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetConstraints",kwnames,&obj0,&obj1)) goto fail;
24138 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24139 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxLayoutConstraints,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24140 {
24141 PyThreadState* __tstate = wxPyBeginAllowThreads();
24142 (arg1)->SetConstraints(arg2);
24143
24144 wxPyEndAllowThreads(__tstate);
24145 if (PyErr_Occurred()) SWIG_fail;
24146 }
24147 Py_INCREF(Py_None); resultobj = Py_None;
24148 return resultobj;
24149 fail:
24150 return NULL;
24151 }
24152
24153
24154 static PyObject *_wrap_Window_GetConstraints(PyObject *self, PyObject *args, PyObject *kwargs) {
24155 PyObject *resultobj;
24156 wxWindow *arg1 = (wxWindow *) 0 ;
24157 wxLayoutConstraints *result;
24158 PyObject * obj0 = 0 ;
24159 char *kwnames[] = {
24160 (char *) "self", NULL
24161 };
24162
24163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetConstraints",kwnames,&obj0)) goto fail;
24164 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24165 {
24166 PyThreadState* __tstate = wxPyBeginAllowThreads();
24167 result = (wxLayoutConstraints *)((wxWindow const *)arg1)->GetConstraints();
24168
24169 wxPyEndAllowThreads(__tstate);
24170 if (PyErr_Occurred()) SWIG_fail;
24171 }
24172 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLayoutConstraints, 0);
24173 return resultobj;
24174 fail:
24175 return NULL;
24176 }
24177
24178
24179 static PyObject *_wrap_Window_SetAutoLayout(PyObject *self, PyObject *args, PyObject *kwargs) {
24180 PyObject *resultobj;
24181 wxWindow *arg1 = (wxWindow *) 0 ;
24182 bool arg2 ;
24183 PyObject * obj0 = 0 ;
24184 PyObject * obj1 = 0 ;
24185 char *kwnames[] = {
24186 (char *) "self",(char *) "autoLayout", NULL
24187 };
24188
24189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetAutoLayout",kwnames,&obj0,&obj1)) goto fail;
24190 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24191 arg2 = PyInt_AsLong(obj1) ? true : false;
24192 if (PyErr_Occurred()) SWIG_fail;
24193 {
24194 PyThreadState* __tstate = wxPyBeginAllowThreads();
24195 (arg1)->SetAutoLayout(arg2);
24196
24197 wxPyEndAllowThreads(__tstate);
24198 if (PyErr_Occurred()) SWIG_fail;
24199 }
24200 Py_INCREF(Py_None); resultobj = Py_None;
24201 return resultobj;
24202 fail:
24203 return NULL;
24204 }
24205
24206
24207 static PyObject *_wrap_Window_GetAutoLayout(PyObject *self, PyObject *args, PyObject *kwargs) {
24208 PyObject *resultobj;
24209 wxWindow *arg1 = (wxWindow *) 0 ;
24210 bool result;
24211 PyObject * obj0 = 0 ;
24212 char *kwnames[] = {
24213 (char *) "self", NULL
24214 };
24215
24216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetAutoLayout",kwnames,&obj0)) goto fail;
24217 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24218 {
24219 PyThreadState* __tstate = wxPyBeginAllowThreads();
24220 result = (bool)((wxWindow const *)arg1)->GetAutoLayout();
24221
24222 wxPyEndAllowThreads(__tstate);
24223 if (PyErr_Occurred()) SWIG_fail;
24224 }
24225 resultobj = PyInt_FromLong((long)result);
24226 return resultobj;
24227 fail:
24228 return NULL;
24229 }
24230
24231
24232 static PyObject *_wrap_Window_Layout(PyObject *self, PyObject *args, PyObject *kwargs) {
24233 PyObject *resultobj;
24234 wxWindow *arg1 = (wxWindow *) 0 ;
24235 bool result;
24236 PyObject * obj0 = 0 ;
24237 char *kwnames[] = {
24238 (char *) "self", NULL
24239 };
24240
24241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Layout",kwnames,&obj0)) goto fail;
24242 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24243 {
24244 PyThreadState* __tstate = wxPyBeginAllowThreads();
24245 result = (bool)(arg1)->Layout();
24246
24247 wxPyEndAllowThreads(__tstate);
24248 if (PyErr_Occurred()) SWIG_fail;
24249 }
24250 resultobj = PyInt_FromLong((long)result);
24251 return resultobj;
24252 fail:
24253 return NULL;
24254 }
24255
24256
24257 static PyObject *_wrap_Window_SetSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
24258 PyObject *resultobj;
24259 wxWindow *arg1 = (wxWindow *) 0 ;
24260 wxSizer *arg2 = (wxSizer *) 0 ;
24261 bool arg3 = (bool) True ;
24262 PyObject * obj0 = 0 ;
24263 PyObject * obj1 = 0 ;
24264 PyObject * obj2 = 0 ;
24265 char *kwnames[] = {
24266 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
24267 };
24268
24269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Window_SetSizer",kwnames,&obj0,&obj1,&obj2)) goto fail;
24270 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24271 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24272 if (obj2) {
24273 arg3 = PyInt_AsLong(obj2) ? true : false;
24274 if (PyErr_Occurred()) SWIG_fail;
24275 }
24276 {
24277 PyThreadState* __tstate = wxPyBeginAllowThreads();
24278 (arg1)->SetSizer(arg2,arg3);
24279
24280 wxPyEndAllowThreads(__tstate);
24281 if (PyErr_Occurred()) SWIG_fail;
24282 }
24283 Py_INCREF(Py_None); resultobj = Py_None;
24284 return resultobj;
24285 fail:
24286 return NULL;
24287 }
24288
24289
24290 static PyObject *_wrap_Window_SetSizerAndFit(PyObject *self, PyObject *args, PyObject *kwargs) {
24291 PyObject *resultobj;
24292 wxWindow *arg1 = (wxWindow *) 0 ;
24293 wxSizer *arg2 = (wxSizer *) 0 ;
24294 bool arg3 = (bool) True ;
24295 PyObject * obj0 = 0 ;
24296 PyObject * obj1 = 0 ;
24297 PyObject * obj2 = 0 ;
24298 char *kwnames[] = {
24299 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
24300 };
24301
24302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Window_SetSizerAndFit",kwnames,&obj0,&obj1,&obj2)) goto fail;
24303 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24304 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24305 if (obj2) {
24306 arg3 = PyInt_AsLong(obj2) ? true : false;
24307 if (PyErr_Occurred()) SWIG_fail;
24308 }
24309 {
24310 PyThreadState* __tstate = wxPyBeginAllowThreads();
24311 (arg1)->SetSizerAndFit(arg2,arg3);
24312
24313 wxPyEndAllowThreads(__tstate);
24314 if (PyErr_Occurred()) SWIG_fail;
24315 }
24316 Py_INCREF(Py_None); resultobj = Py_None;
24317 return resultobj;
24318 fail:
24319 return NULL;
24320 }
24321
24322
24323 static PyObject *_wrap_Window_GetSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
24324 PyObject *resultobj;
24325 wxWindow *arg1 = (wxWindow *) 0 ;
24326 wxSizer *result;
24327 PyObject * obj0 = 0 ;
24328 char *kwnames[] = {
24329 (char *) "self", NULL
24330 };
24331
24332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetSizer",kwnames,&obj0)) goto fail;
24333 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24334 {
24335 PyThreadState* __tstate = wxPyBeginAllowThreads();
24336 result = (wxSizer *)((wxWindow const *)arg1)->GetSizer();
24337
24338 wxPyEndAllowThreads(__tstate);
24339 if (PyErr_Occurred()) SWIG_fail;
24340 }
24341 {
24342 resultobj = wxPyMake_wxSizer(result);
24343 }
24344 return resultobj;
24345 fail:
24346 return NULL;
24347 }
24348
24349
24350 static PyObject *_wrap_Window_SetContainingSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
24351 PyObject *resultobj;
24352 wxWindow *arg1 = (wxWindow *) 0 ;
24353 wxSizer *arg2 = (wxSizer *) 0 ;
24354 PyObject * obj0 = 0 ;
24355 PyObject * obj1 = 0 ;
24356 char *kwnames[] = {
24357 (char *) "self",(char *) "sizer", NULL
24358 };
24359
24360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetContainingSizer",kwnames,&obj0,&obj1)) goto fail;
24361 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24362 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24363 {
24364 PyThreadState* __tstate = wxPyBeginAllowThreads();
24365 (arg1)->SetContainingSizer(arg2);
24366
24367 wxPyEndAllowThreads(__tstate);
24368 if (PyErr_Occurred()) SWIG_fail;
24369 }
24370 Py_INCREF(Py_None); resultobj = Py_None;
24371 return resultobj;
24372 fail:
24373 return NULL;
24374 }
24375
24376
24377 static PyObject *_wrap_Window_GetContainingSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
24378 PyObject *resultobj;
24379 wxWindow *arg1 = (wxWindow *) 0 ;
24380 wxSizer *result;
24381 PyObject * obj0 = 0 ;
24382 char *kwnames[] = {
24383 (char *) "self", NULL
24384 };
24385
24386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetContainingSizer",kwnames,&obj0)) goto fail;
24387 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24388 {
24389 PyThreadState* __tstate = wxPyBeginAllowThreads();
24390 result = (wxSizer *)((wxWindow const *)arg1)->GetContainingSizer();
24391
24392 wxPyEndAllowThreads(__tstate);
24393 if (PyErr_Occurred()) SWIG_fail;
24394 }
24395 {
24396 resultobj = wxPyMake_wxSizer(result);
24397 }
24398 return resultobj;
24399 fail:
24400 return NULL;
24401 }
24402
24403
24404 static PyObject * Window_swigregister(PyObject *self, PyObject *args) {
24405 PyObject *obj;
24406 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24407 SWIG_TypeClientData(SWIGTYPE_p_wxWindow, obj);
24408 Py_INCREF(obj);
24409 return Py_BuildValue((char *)"");
24410 }
24411 static PyObject *_wrap_FindWindowById(PyObject *self, PyObject *args, PyObject *kwargs) {
24412 PyObject *resultobj;
24413 long arg1 ;
24414 wxWindow *arg2 = (wxWindow *) NULL ;
24415 wxWindow *result;
24416 PyObject * obj1 = 0 ;
24417 char *kwnames[] = {
24418 (char *) "id",(char *) "parent", NULL
24419 };
24420
24421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"l|O:FindWindowById",kwnames,&arg1,&obj1)) goto fail;
24422 if (obj1) {
24423 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24424 }
24425 {
24426 PyThreadState* __tstate = wxPyBeginAllowThreads();
24427 result = (wxWindow *)wxFindWindowById(arg1,(wxWindow const *)arg2);
24428
24429 wxPyEndAllowThreads(__tstate);
24430 if (PyErr_Occurred()) SWIG_fail;
24431 }
24432 {
24433 resultobj = wxPyMake_wxObject(result);
24434 }
24435 return resultobj;
24436 fail:
24437 return NULL;
24438 }
24439
24440
24441 static PyObject *_wrap_FindWindowByName(PyObject *self, PyObject *args, PyObject *kwargs) {
24442 PyObject *resultobj;
24443 wxString *arg1 = 0 ;
24444 wxWindow *arg2 = (wxWindow *) NULL ;
24445 wxWindow *result;
24446 bool temp1 = False ;
24447 PyObject * obj0 = 0 ;
24448 PyObject * obj1 = 0 ;
24449 char *kwnames[] = {
24450 (char *) "name",(char *) "parent", NULL
24451 };
24452
24453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:FindWindowByName",kwnames,&obj0,&obj1)) goto fail;
24454 {
24455 arg1 = wxString_in_helper(obj0);
24456 if (arg1 == NULL) SWIG_fail;
24457 temp1 = True;
24458 }
24459 if (obj1) {
24460 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24461 }
24462 {
24463 PyThreadState* __tstate = wxPyBeginAllowThreads();
24464 result = (wxWindow *)wxFindWindowByName((wxString const &)*arg1,(wxWindow const *)arg2);
24465
24466 wxPyEndAllowThreads(__tstate);
24467 if (PyErr_Occurred()) SWIG_fail;
24468 }
24469 {
24470 resultobj = wxPyMake_wxObject(result);
24471 }
24472 {
24473 if (temp1)
24474 delete arg1;
24475 }
24476 return resultobj;
24477 fail:
24478 {
24479 if (temp1)
24480 delete arg1;
24481 }
24482 return NULL;
24483 }
24484
24485
24486 static PyObject *_wrap_FindWindowByLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
24487 PyObject *resultobj;
24488 wxString *arg1 = 0 ;
24489 wxWindow *arg2 = (wxWindow *) NULL ;
24490 wxWindow *result;
24491 bool temp1 = False ;
24492 PyObject * obj0 = 0 ;
24493 PyObject * obj1 = 0 ;
24494 char *kwnames[] = {
24495 (char *) "label",(char *) "parent", NULL
24496 };
24497
24498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:FindWindowByLabel",kwnames,&obj0,&obj1)) goto fail;
24499 {
24500 arg1 = wxString_in_helper(obj0);
24501 if (arg1 == NULL) SWIG_fail;
24502 temp1 = True;
24503 }
24504 if (obj1) {
24505 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24506 }
24507 {
24508 PyThreadState* __tstate = wxPyBeginAllowThreads();
24509 result = (wxWindow *)wxFindWindowByLabel((wxString const &)*arg1,(wxWindow const *)arg2);
24510
24511 wxPyEndAllowThreads(__tstate);
24512 if (PyErr_Occurred()) SWIG_fail;
24513 }
24514 {
24515 resultobj = wxPyMake_wxObject(result);
24516 }
24517 {
24518 if (temp1)
24519 delete arg1;
24520 }
24521 return resultobj;
24522 fail:
24523 {
24524 if (temp1)
24525 delete arg1;
24526 }
24527 return NULL;
24528 }
24529
24530
24531 static PyObject *_wrap_Window_FromHWND(PyObject *self, PyObject *args, PyObject *kwargs) {
24532 PyObject *resultobj;
24533 unsigned long arg1 ;
24534 wxWindow *result;
24535 PyObject * obj0 = 0 ;
24536 char *kwnames[] = {
24537 (char *) "hWnd", NULL
24538 };
24539
24540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_FromHWND",kwnames,&obj0)) goto fail;
24541 arg1 = (unsigned long) PyInt_AsLong(obj0);
24542 if (PyErr_Occurred()) SWIG_fail;
24543 {
24544 PyThreadState* __tstate = wxPyBeginAllowThreads();
24545 result = (wxWindow *)wxWindow_FromHWND(arg1);
24546
24547 wxPyEndAllowThreads(__tstate);
24548 if (PyErr_Occurred()) SWIG_fail;
24549 }
24550 {
24551 resultobj = wxPyMake_wxObject(result);
24552 }
24553 return resultobj;
24554 fail:
24555 return NULL;
24556 }
24557
24558
24559 static PyObject *_wrap_new_Validator(PyObject *self, PyObject *args, PyObject *kwargs) {
24560 PyObject *resultobj;
24561 wxValidator *result;
24562 char *kwnames[] = {
24563 NULL
24564 };
24565
24566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_Validator",kwnames)) goto fail;
24567 {
24568 PyThreadState* __tstate = wxPyBeginAllowThreads();
24569 result = (wxValidator *)new wxValidator();
24570
24571 wxPyEndAllowThreads(__tstate);
24572 if (PyErr_Occurred()) SWIG_fail;
24573 }
24574 {
24575 resultobj = wxPyMake_wxObject(result);
24576 }
24577 return resultobj;
24578 fail:
24579 return NULL;
24580 }
24581
24582
24583 static PyObject *_wrap_Validator_Clone(PyObject *self, PyObject *args, PyObject *kwargs) {
24584 PyObject *resultobj;
24585 wxValidator *arg1 = (wxValidator *) 0 ;
24586 wxValidator *result;
24587 PyObject * obj0 = 0 ;
24588 char *kwnames[] = {
24589 (char *) "self", NULL
24590 };
24591
24592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Validator_Clone",kwnames,&obj0)) goto fail;
24593 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24594 {
24595 PyThreadState* __tstate = wxPyBeginAllowThreads();
24596 result = (wxValidator *)(arg1)->Clone();
24597
24598 wxPyEndAllowThreads(__tstate);
24599 if (PyErr_Occurred()) SWIG_fail;
24600 }
24601 {
24602 resultobj = wxPyMake_wxObject(result);
24603 }
24604 return resultobj;
24605 fail:
24606 return NULL;
24607 }
24608
24609
24610 static PyObject *_wrap_Validator_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
24611 PyObject *resultobj;
24612 wxValidator *arg1 = (wxValidator *) 0 ;
24613 wxWindow *arg2 = (wxWindow *) 0 ;
24614 bool result;
24615 PyObject * obj0 = 0 ;
24616 PyObject * obj1 = 0 ;
24617 char *kwnames[] = {
24618 (char *) "self",(char *) "parent", NULL
24619 };
24620
24621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Validator_Validate",kwnames,&obj0,&obj1)) goto fail;
24622 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24623 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24624 {
24625 PyThreadState* __tstate = wxPyBeginAllowThreads();
24626 result = (bool)(arg1)->Validate(arg2);
24627
24628 wxPyEndAllowThreads(__tstate);
24629 if (PyErr_Occurred()) SWIG_fail;
24630 }
24631 resultobj = PyInt_FromLong((long)result);
24632 return resultobj;
24633 fail:
24634 return NULL;
24635 }
24636
24637
24638 static PyObject *_wrap_Validator_TransferToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
24639 PyObject *resultobj;
24640 wxValidator *arg1 = (wxValidator *) 0 ;
24641 bool result;
24642 PyObject * obj0 = 0 ;
24643 char *kwnames[] = {
24644 (char *) "self", NULL
24645 };
24646
24647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Validator_TransferToWindow",kwnames,&obj0)) goto fail;
24648 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24649 {
24650 PyThreadState* __tstate = wxPyBeginAllowThreads();
24651 result = (bool)(arg1)->TransferToWindow();
24652
24653 wxPyEndAllowThreads(__tstate);
24654 if (PyErr_Occurred()) SWIG_fail;
24655 }
24656 resultobj = PyInt_FromLong((long)result);
24657 return resultobj;
24658 fail:
24659 return NULL;
24660 }
24661
24662
24663 static PyObject *_wrap_Validator_TransferFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
24664 PyObject *resultobj;
24665 wxValidator *arg1 = (wxValidator *) 0 ;
24666 bool result;
24667 PyObject * obj0 = 0 ;
24668 char *kwnames[] = {
24669 (char *) "self", NULL
24670 };
24671
24672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Validator_TransferFromWindow",kwnames,&obj0)) goto fail;
24673 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24674 {
24675 PyThreadState* __tstate = wxPyBeginAllowThreads();
24676 result = (bool)(arg1)->TransferFromWindow();
24677
24678 wxPyEndAllowThreads(__tstate);
24679 if (PyErr_Occurred()) SWIG_fail;
24680 }
24681 resultobj = PyInt_FromLong((long)result);
24682 return resultobj;
24683 fail:
24684 return NULL;
24685 }
24686
24687
24688 static PyObject *_wrap_Validator_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
24689 PyObject *resultobj;
24690 wxValidator *arg1 = (wxValidator *) 0 ;
24691 wxWindow *result;
24692 PyObject * obj0 = 0 ;
24693 char *kwnames[] = {
24694 (char *) "self", NULL
24695 };
24696
24697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Validator_GetWindow",kwnames,&obj0)) goto fail;
24698 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24699 {
24700 PyThreadState* __tstate = wxPyBeginAllowThreads();
24701 result = (wxWindow *)(arg1)->GetWindow();
24702
24703 wxPyEndAllowThreads(__tstate);
24704 if (PyErr_Occurred()) SWIG_fail;
24705 }
24706 {
24707 resultobj = wxPyMake_wxObject(result);
24708 }
24709 return resultobj;
24710 fail:
24711 return NULL;
24712 }
24713
24714
24715 static PyObject *_wrap_Validator_SetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
24716 PyObject *resultobj;
24717 wxValidator *arg1 = (wxValidator *) 0 ;
24718 wxWindow *arg2 = (wxWindow *) 0 ;
24719 PyObject * obj0 = 0 ;
24720 PyObject * obj1 = 0 ;
24721 char *kwnames[] = {
24722 (char *) "self",(char *) "window", NULL
24723 };
24724
24725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Validator_SetWindow",kwnames,&obj0,&obj1)) goto fail;
24726 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24727 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24728 {
24729 PyThreadState* __tstate = wxPyBeginAllowThreads();
24730 (arg1)->SetWindow(arg2);
24731
24732 wxPyEndAllowThreads(__tstate);
24733 if (PyErr_Occurred()) SWIG_fail;
24734 }
24735 Py_INCREF(Py_None); resultobj = Py_None;
24736 return resultobj;
24737 fail:
24738 return NULL;
24739 }
24740
24741
24742 static PyObject *_wrap_Validator_IsSilent(PyObject *self, PyObject *args, PyObject *kwargs) {
24743 PyObject *resultobj;
24744 bool result;
24745 char *kwnames[] = {
24746 NULL
24747 };
24748
24749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Validator_IsSilent",kwnames)) goto fail;
24750 {
24751 PyThreadState* __tstate = wxPyBeginAllowThreads();
24752 result = (bool)wxValidator::IsSilent();
24753
24754 wxPyEndAllowThreads(__tstate);
24755 if (PyErr_Occurred()) SWIG_fail;
24756 }
24757 resultobj = PyInt_FromLong((long)result);
24758 return resultobj;
24759 fail:
24760 return NULL;
24761 }
24762
24763
24764 static PyObject *_wrap_Validator_SetBellOnError(PyObject *self, PyObject *args, PyObject *kwargs) {
24765 PyObject *resultobj;
24766 int arg1 = (int) True ;
24767 char *kwnames[] = {
24768 (char *) "doIt", NULL
24769 };
24770
24771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:Validator_SetBellOnError",kwnames,&arg1)) goto fail;
24772 {
24773 PyThreadState* __tstate = wxPyBeginAllowThreads();
24774 wxValidator::SetBellOnError(arg1);
24775
24776 wxPyEndAllowThreads(__tstate);
24777 if (PyErr_Occurred()) SWIG_fail;
24778 }
24779 Py_INCREF(Py_None); resultobj = Py_None;
24780 return resultobj;
24781 fail:
24782 return NULL;
24783 }
24784
24785
24786 static PyObject * Validator_swigregister(PyObject *self, PyObject *args) {
24787 PyObject *obj;
24788 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24789 SWIG_TypeClientData(SWIGTYPE_p_wxValidator, obj);
24790 Py_INCREF(obj);
24791 return Py_BuildValue((char *)"");
24792 }
24793 static PyObject *_wrap_new_PyValidator(PyObject *self, PyObject *args, PyObject *kwargs) {
24794 PyObject *resultobj;
24795 wxPyValidator *result;
24796 char *kwnames[] = {
24797 NULL
24798 };
24799
24800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyValidator",kwnames)) goto fail;
24801 {
24802 PyThreadState* __tstate = wxPyBeginAllowThreads();
24803 result = (wxPyValidator *)new wxPyValidator();
24804
24805 wxPyEndAllowThreads(__tstate);
24806 if (PyErr_Occurred()) SWIG_fail;
24807 }
24808 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyValidator, 1);
24809 return resultobj;
24810 fail:
24811 return NULL;
24812 }
24813
24814
24815 static PyObject *_wrap_PyValidator__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
24816 PyObject *resultobj;
24817 wxPyValidator *arg1 = (wxPyValidator *) 0 ;
24818 PyObject *arg2 = (PyObject *) 0 ;
24819 PyObject *arg3 = (PyObject *) 0 ;
24820 int arg4 = (int) True ;
24821 PyObject * obj0 = 0 ;
24822 PyObject * obj1 = 0 ;
24823 PyObject * obj2 = 0 ;
24824 char *kwnames[] = {
24825 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
24826 };
24827
24828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|i:PyValidator__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&arg4)) goto fail;
24829 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24830 arg2 = obj1;
24831 arg3 = obj2;
24832 {
24833 PyThreadState* __tstate = wxPyBeginAllowThreads();
24834 (arg1)->_setCallbackInfo(arg2,arg3,arg4);
24835
24836 wxPyEndAllowThreads(__tstate);
24837 if (PyErr_Occurred()) SWIG_fail;
24838 }
24839 Py_INCREF(Py_None); resultobj = Py_None;
24840 return resultobj;
24841 fail:
24842 return NULL;
24843 }
24844
24845
24846 static PyObject * PyValidator_swigregister(PyObject *self, PyObject *args) {
24847 PyObject *obj;
24848 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24849 SWIG_TypeClientData(SWIGTYPE_p_wxPyValidator, obj);
24850 Py_INCREF(obj);
24851 return Py_BuildValue((char *)"");
24852 }
24853 static int _wrap_DefaultValidator_set(PyObject *_val) {
24854 PyErr_SetString(PyExc_TypeError,"Variable DefaultValidator is read-only.");
24855 return 1;
24856 }
24857
24858
24859 static PyObject *_wrap_DefaultValidator_get() {
24860 PyObject *pyobj;
24861
24862 pyobj = SWIG_NewPointerObj((void *) &wxDefaultValidator, SWIGTYPE_p_wxValidator, 0);
24863 return pyobj;
24864 }
24865
24866
24867 static PyObject *_wrap_new_Menu(PyObject *self, PyObject *args, PyObject *kwargs) {
24868 PyObject *resultobj;
24869 wxString const &arg1_defvalue = wxPyEmptyString ;
24870 wxString *arg1 = (wxString *) &arg1_defvalue ;
24871 long arg2 = (long) 0 ;
24872 wxMenu *result;
24873 bool temp1 = False ;
24874 PyObject * obj0 = 0 ;
24875 char *kwnames[] = {
24876 (char *) "title",(char *) "style", NULL
24877 };
24878
24879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|Ol:new_Menu",kwnames,&obj0,&arg2)) goto fail;
24880 if (obj0) {
24881 {
24882 arg1 = wxString_in_helper(obj0);
24883 if (arg1 == NULL) SWIG_fail;
24884 temp1 = True;
24885 }
24886 }
24887 {
24888 PyThreadState* __tstate = wxPyBeginAllowThreads();
24889 result = (wxMenu *)new wxMenu((wxString const &)*arg1,arg2);
24890
24891 wxPyEndAllowThreads(__tstate);
24892 if (PyErr_Occurred()) SWIG_fail;
24893 }
24894 {
24895 resultobj = wxPyMake_wxObject(result);
24896 }
24897 {
24898 if (temp1)
24899 delete arg1;
24900 }
24901 return resultobj;
24902 fail:
24903 {
24904 if (temp1)
24905 delete arg1;
24906 }
24907 return NULL;
24908 }
24909
24910
24911 static PyObject *_wrap_Menu_Append(PyObject *self, PyObject *args, PyObject *kwargs) {
24912 PyObject *resultobj;
24913 wxMenu *arg1 = (wxMenu *) 0 ;
24914 int arg2 ;
24915 wxString *arg3 = 0 ;
24916 wxString const &arg4_defvalue = wxPyEmptyString ;
24917 wxString *arg4 = (wxString *) &arg4_defvalue ;
24918 int arg5 = (int) wxITEM_NORMAL ;
24919 bool temp3 = False ;
24920 bool temp4 = False ;
24921 PyObject * obj0 = 0 ;
24922 PyObject * obj2 = 0 ;
24923 PyObject * obj3 = 0 ;
24924 char *kwnames[] = {
24925 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
24926 };
24927
24928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|Oi:Menu_Append",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5)) goto fail;
24929 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24930 {
24931 arg3 = wxString_in_helper(obj2);
24932 if (arg3 == NULL) SWIG_fail;
24933 temp3 = True;
24934 }
24935 if (obj3) {
24936 {
24937 arg4 = wxString_in_helper(obj3);
24938 if (arg4 == NULL) SWIG_fail;
24939 temp4 = True;
24940 }
24941 }
24942 {
24943 PyThreadState* __tstate = wxPyBeginAllowThreads();
24944 (arg1)->Append(arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxItemKind )arg5);
24945
24946 wxPyEndAllowThreads(__tstate);
24947 if (PyErr_Occurred()) SWIG_fail;
24948 }
24949 Py_INCREF(Py_None); resultobj = Py_None;
24950 {
24951 if (temp3)
24952 delete arg3;
24953 }
24954 {
24955 if (temp4)
24956 delete arg4;
24957 }
24958 return resultobj;
24959 fail:
24960 {
24961 if (temp3)
24962 delete arg3;
24963 }
24964 {
24965 if (temp4)
24966 delete arg4;
24967 }
24968 return NULL;
24969 }
24970
24971
24972 static PyObject *_wrap_Menu_AppendSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
24973 PyObject *resultobj;
24974 wxMenu *arg1 = (wxMenu *) 0 ;
24975 PyObject * obj0 = 0 ;
24976 char *kwnames[] = {
24977 (char *) "self", NULL
24978 };
24979
24980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_AppendSeparator",kwnames,&obj0)) goto fail;
24981 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24982 {
24983 PyThreadState* __tstate = wxPyBeginAllowThreads();
24984 (arg1)->AppendSeparator();
24985
24986 wxPyEndAllowThreads(__tstate);
24987 if (PyErr_Occurred()) SWIG_fail;
24988 }
24989 Py_INCREF(Py_None); resultobj = Py_None;
24990 return resultobj;
24991 fail:
24992 return NULL;
24993 }
24994
24995
24996 static PyObject *_wrap_Menu_AppendCheckItem(PyObject *self, PyObject *args, PyObject *kwargs) {
24997 PyObject *resultobj;
24998 wxMenu *arg1 = (wxMenu *) 0 ;
24999 int arg2 ;
25000 wxString *arg3 = 0 ;
25001 wxString const &arg4_defvalue = wxPyEmptyString ;
25002 wxString *arg4 = (wxString *) &arg4_defvalue ;
25003 bool temp3 = False ;
25004 bool temp4 = False ;
25005 PyObject * obj0 = 0 ;
25006 PyObject * obj2 = 0 ;
25007 PyObject * obj3 = 0 ;
25008 char *kwnames[] = {
25009 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
25010 };
25011
25012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|O:Menu_AppendCheckItem",kwnames,&obj0,&arg2,&obj2,&obj3)) goto fail;
25013 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25014 {
25015 arg3 = wxString_in_helper(obj2);
25016 if (arg3 == NULL) SWIG_fail;
25017 temp3 = True;
25018 }
25019 if (obj3) {
25020 {
25021 arg4 = wxString_in_helper(obj3);
25022 if (arg4 == NULL) SWIG_fail;
25023 temp4 = True;
25024 }
25025 }
25026 {
25027 PyThreadState* __tstate = wxPyBeginAllowThreads();
25028 (arg1)->AppendCheckItem(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
25029
25030 wxPyEndAllowThreads(__tstate);
25031 if (PyErr_Occurred()) SWIG_fail;
25032 }
25033 Py_INCREF(Py_None); resultobj = Py_None;
25034 {
25035 if (temp3)
25036 delete arg3;
25037 }
25038 {
25039 if (temp4)
25040 delete arg4;
25041 }
25042 return resultobj;
25043 fail:
25044 {
25045 if (temp3)
25046 delete arg3;
25047 }
25048 {
25049 if (temp4)
25050 delete arg4;
25051 }
25052 return NULL;
25053 }
25054
25055
25056 static PyObject *_wrap_Menu_AppendRadioItem(PyObject *self, PyObject *args, PyObject *kwargs) {
25057 PyObject *resultobj;
25058 wxMenu *arg1 = (wxMenu *) 0 ;
25059 int arg2 ;
25060 wxString *arg3 = 0 ;
25061 wxString const &arg4_defvalue = wxPyEmptyString ;
25062 wxString *arg4 = (wxString *) &arg4_defvalue ;
25063 bool temp3 = False ;
25064 bool temp4 = False ;
25065 PyObject * obj0 = 0 ;
25066 PyObject * obj2 = 0 ;
25067 PyObject * obj3 = 0 ;
25068 char *kwnames[] = {
25069 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
25070 };
25071
25072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|O:Menu_AppendRadioItem",kwnames,&obj0,&arg2,&obj2,&obj3)) goto fail;
25073 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25074 {
25075 arg3 = wxString_in_helper(obj2);
25076 if (arg3 == NULL) SWIG_fail;
25077 temp3 = True;
25078 }
25079 if (obj3) {
25080 {
25081 arg4 = wxString_in_helper(obj3);
25082 if (arg4 == NULL) SWIG_fail;
25083 temp4 = True;
25084 }
25085 }
25086 {
25087 PyThreadState* __tstate = wxPyBeginAllowThreads();
25088 (arg1)->AppendRadioItem(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
25089
25090 wxPyEndAllowThreads(__tstate);
25091 if (PyErr_Occurred()) SWIG_fail;
25092 }
25093 Py_INCREF(Py_None); resultobj = Py_None;
25094 {
25095 if (temp3)
25096 delete arg3;
25097 }
25098 {
25099 if (temp4)
25100 delete arg4;
25101 }
25102 return resultobj;
25103 fail:
25104 {
25105 if (temp3)
25106 delete arg3;
25107 }
25108 {
25109 if (temp4)
25110 delete arg4;
25111 }
25112 return NULL;
25113 }
25114
25115
25116 static PyObject *_wrap_Menu_AppendMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
25117 PyObject *resultobj;
25118 wxMenu *arg1 = (wxMenu *) 0 ;
25119 int arg2 ;
25120 wxString *arg3 = 0 ;
25121 wxMenu *arg4 = (wxMenu *) 0 ;
25122 wxString const &arg5_defvalue = wxPyEmptyString ;
25123 wxString *arg5 = (wxString *) &arg5_defvalue ;
25124 bool temp3 = False ;
25125 bool temp5 = False ;
25126 PyObject * obj0 = 0 ;
25127 PyObject * obj2 = 0 ;
25128 PyObject * obj3 = 0 ;
25129 PyObject * obj4 = 0 ;
25130 char *kwnames[] = {
25131 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
25132 };
25133
25134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiOO|O:Menu_AppendMenu",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4)) goto fail;
25135 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25136 {
25137 arg3 = wxString_in_helper(obj2);
25138 if (arg3 == NULL) SWIG_fail;
25139 temp3 = True;
25140 }
25141 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25142 if (obj4) {
25143 {
25144 arg5 = wxString_in_helper(obj4);
25145 if (arg5 == NULL) SWIG_fail;
25146 temp5 = True;
25147 }
25148 }
25149 {
25150 PyThreadState* __tstate = wxPyBeginAllowThreads();
25151 (arg1)->Append(arg2,(wxString const &)*arg3,arg4,(wxString const &)*arg5);
25152
25153 wxPyEndAllowThreads(__tstate);
25154 if (PyErr_Occurred()) SWIG_fail;
25155 }
25156 Py_INCREF(Py_None); resultobj = Py_None;
25157 {
25158 if (temp3)
25159 delete arg3;
25160 }
25161 {
25162 if (temp5)
25163 delete arg5;
25164 }
25165 return resultobj;
25166 fail:
25167 {
25168 if (temp3)
25169 delete arg3;
25170 }
25171 {
25172 if (temp5)
25173 delete arg5;
25174 }
25175 return NULL;
25176 }
25177
25178
25179 static PyObject *_wrap_Menu_AppendItem(PyObject *self, PyObject *args, PyObject *kwargs) {
25180 PyObject *resultobj;
25181 wxMenu *arg1 = (wxMenu *) 0 ;
25182 wxMenuItem *arg2 = (wxMenuItem *) 0 ;
25183 PyObject * obj0 = 0 ;
25184 PyObject * obj1 = 0 ;
25185 char *kwnames[] = {
25186 (char *) "self",(char *) "item", NULL
25187 };
25188
25189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_AppendItem",kwnames,&obj0,&obj1)) goto fail;
25190 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25191 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25192 {
25193 PyThreadState* __tstate = wxPyBeginAllowThreads();
25194 (arg1)->Append(arg2);
25195
25196 wxPyEndAllowThreads(__tstate);
25197 if (PyErr_Occurred()) SWIG_fail;
25198 }
25199 Py_INCREF(Py_None); resultobj = Py_None;
25200 return resultobj;
25201 fail:
25202 return NULL;
25203 }
25204
25205
25206 static PyObject *_wrap_Menu_Break(PyObject *self, PyObject *args, PyObject *kwargs) {
25207 PyObject *resultobj;
25208 wxMenu *arg1 = (wxMenu *) 0 ;
25209 PyObject * obj0 = 0 ;
25210 char *kwnames[] = {
25211 (char *) "self", NULL
25212 };
25213
25214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_Break",kwnames,&obj0)) goto fail;
25215 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25216 {
25217 PyThreadState* __tstate = wxPyBeginAllowThreads();
25218 (arg1)->Break();
25219
25220 wxPyEndAllowThreads(__tstate);
25221 if (PyErr_Occurred()) SWIG_fail;
25222 }
25223 Py_INCREF(Py_None); resultobj = Py_None;
25224 return resultobj;
25225 fail:
25226 return NULL;
25227 }
25228
25229
25230 static PyObject *_wrap_Menu_InsertItem(PyObject *self, PyObject *args, PyObject *kwargs) {
25231 PyObject *resultobj;
25232 wxMenu *arg1 = (wxMenu *) 0 ;
25233 size_t arg2 ;
25234 wxMenuItem *arg3 = (wxMenuItem *) 0 ;
25235 bool result;
25236 PyObject * obj0 = 0 ;
25237 PyObject * obj1 = 0 ;
25238 PyObject * obj2 = 0 ;
25239 char *kwnames[] = {
25240 (char *) "self",(char *) "pos",(char *) "item", NULL
25241 };
25242
25243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Menu_InsertItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
25244 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25245 arg2 = (size_t) PyInt_AsLong(obj1);
25246 if (PyErr_Occurred()) SWIG_fail;
25247 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25248 {
25249 PyThreadState* __tstate = wxPyBeginAllowThreads();
25250 result = (bool)(arg1)->Insert(arg2,arg3);
25251
25252 wxPyEndAllowThreads(__tstate);
25253 if (PyErr_Occurred()) SWIG_fail;
25254 }
25255 resultobj = PyInt_FromLong((long)result);
25256 return resultobj;
25257 fail:
25258 return NULL;
25259 }
25260
25261
25262 static PyObject *_wrap_Menu_Insert(PyObject *self, PyObject *args, PyObject *kwargs) {
25263 PyObject *resultobj;
25264 wxMenu *arg1 = (wxMenu *) 0 ;
25265 size_t arg2 ;
25266 int arg3 ;
25267 wxString *arg4 = 0 ;
25268 wxString const &arg5_defvalue = wxPyEmptyString ;
25269 wxString *arg5 = (wxString *) &arg5_defvalue ;
25270 int arg6 = (int) wxITEM_NORMAL ;
25271 bool temp4 = False ;
25272 bool temp5 = False ;
25273 PyObject * obj0 = 0 ;
25274 PyObject * obj1 = 0 ;
25275 PyObject * obj3 = 0 ;
25276 PyObject * obj4 = 0 ;
25277 char *kwnames[] = {
25278 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
25279 };
25280
25281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|Oi:Menu_Insert",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6)) goto fail;
25282 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25283 arg2 = (size_t) PyInt_AsLong(obj1);
25284 if (PyErr_Occurred()) SWIG_fail;
25285 {
25286 arg4 = wxString_in_helper(obj3);
25287 if (arg4 == NULL) SWIG_fail;
25288 temp4 = True;
25289 }
25290 if (obj4) {
25291 {
25292 arg5 = wxString_in_helper(obj4);
25293 if (arg5 == NULL) SWIG_fail;
25294 temp5 = True;
25295 }
25296 }
25297 {
25298 PyThreadState* __tstate = wxPyBeginAllowThreads();
25299 (arg1)->Insert(arg2,arg3,(wxString const &)*arg4,(wxString const &)*arg5,(wxItemKind )arg6);
25300
25301 wxPyEndAllowThreads(__tstate);
25302 if (PyErr_Occurred()) SWIG_fail;
25303 }
25304 Py_INCREF(Py_None); resultobj = Py_None;
25305 {
25306 if (temp4)
25307 delete arg4;
25308 }
25309 {
25310 if (temp5)
25311 delete arg5;
25312 }
25313 return resultobj;
25314 fail:
25315 {
25316 if (temp4)
25317 delete arg4;
25318 }
25319 {
25320 if (temp5)
25321 delete arg5;
25322 }
25323 return NULL;
25324 }
25325
25326
25327 static PyObject *_wrap_Menu_InsertSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
25328 PyObject *resultobj;
25329 wxMenu *arg1 = (wxMenu *) 0 ;
25330 size_t arg2 ;
25331 PyObject * obj0 = 0 ;
25332 PyObject * obj1 = 0 ;
25333 char *kwnames[] = {
25334 (char *) "self",(char *) "pos", NULL
25335 };
25336
25337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_InsertSeparator",kwnames,&obj0,&obj1)) goto fail;
25338 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25339 arg2 = (size_t) PyInt_AsLong(obj1);
25340 if (PyErr_Occurred()) SWIG_fail;
25341 {
25342 PyThreadState* __tstate = wxPyBeginAllowThreads();
25343 (arg1)->InsertSeparator(arg2);
25344
25345 wxPyEndAllowThreads(__tstate);
25346 if (PyErr_Occurred()) SWIG_fail;
25347 }
25348 Py_INCREF(Py_None); resultobj = Py_None;
25349 return resultobj;
25350 fail:
25351 return NULL;
25352 }
25353
25354
25355 static PyObject *_wrap_Menu_InsertCheckItem(PyObject *self, PyObject *args, PyObject *kwargs) {
25356 PyObject *resultobj;
25357 wxMenu *arg1 = (wxMenu *) 0 ;
25358 size_t arg2 ;
25359 int arg3 ;
25360 wxString *arg4 = 0 ;
25361 wxString const &arg5_defvalue = wxPyEmptyString ;
25362 wxString *arg5 = (wxString *) &arg5_defvalue ;
25363 bool temp4 = False ;
25364 bool temp5 = False ;
25365 PyObject * obj0 = 0 ;
25366 PyObject * obj1 = 0 ;
25367 PyObject * obj3 = 0 ;
25368 PyObject * obj4 = 0 ;
25369 char *kwnames[] = {
25370 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
25371 };
25372
25373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|O:Menu_InsertCheckItem",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4)) goto fail;
25374 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25375 arg2 = (size_t) PyInt_AsLong(obj1);
25376 if (PyErr_Occurred()) SWIG_fail;
25377 {
25378 arg4 = wxString_in_helper(obj3);
25379 if (arg4 == NULL) SWIG_fail;
25380 temp4 = True;
25381 }
25382 if (obj4) {
25383 {
25384 arg5 = wxString_in_helper(obj4);
25385 if (arg5 == NULL) SWIG_fail;
25386 temp5 = True;
25387 }
25388 }
25389 {
25390 PyThreadState* __tstate = wxPyBeginAllowThreads();
25391 (arg1)->InsertCheckItem(arg2,arg3,(wxString const &)*arg4,(wxString const &)*arg5);
25392
25393 wxPyEndAllowThreads(__tstate);
25394 if (PyErr_Occurred()) SWIG_fail;
25395 }
25396 Py_INCREF(Py_None); resultobj = Py_None;
25397 {
25398 if (temp4)
25399 delete arg4;
25400 }
25401 {
25402 if (temp5)
25403 delete arg5;
25404 }
25405 return resultobj;
25406 fail:
25407 {
25408 if (temp4)
25409 delete arg4;
25410 }
25411 {
25412 if (temp5)
25413 delete arg5;
25414 }
25415 return NULL;
25416 }
25417
25418
25419 static PyObject *_wrap_Menu_InsertRadioItem(PyObject *self, PyObject *args, PyObject *kwargs) {
25420 PyObject *resultobj;
25421 wxMenu *arg1 = (wxMenu *) 0 ;
25422 size_t arg2 ;
25423 int arg3 ;
25424 wxString *arg4 = 0 ;
25425 wxString const &arg5_defvalue = wxPyEmptyString ;
25426 wxString *arg5 = (wxString *) &arg5_defvalue ;
25427 bool temp4 = False ;
25428 bool temp5 = False ;
25429 PyObject * obj0 = 0 ;
25430 PyObject * obj1 = 0 ;
25431 PyObject * obj3 = 0 ;
25432 PyObject * obj4 = 0 ;
25433 char *kwnames[] = {
25434 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
25435 };
25436
25437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|O:Menu_InsertRadioItem",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4)) goto fail;
25438 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25439 arg2 = (size_t) PyInt_AsLong(obj1);
25440 if (PyErr_Occurred()) SWIG_fail;
25441 {
25442 arg4 = wxString_in_helper(obj3);
25443 if (arg4 == NULL) SWIG_fail;
25444 temp4 = True;
25445 }
25446 if (obj4) {
25447 {
25448 arg5 = wxString_in_helper(obj4);
25449 if (arg5 == NULL) SWIG_fail;
25450 temp5 = True;
25451 }
25452 }
25453 {
25454 PyThreadState* __tstate = wxPyBeginAllowThreads();
25455 (arg1)->InsertRadioItem(arg2,arg3,(wxString const &)*arg4,(wxString const &)*arg5);
25456
25457 wxPyEndAllowThreads(__tstate);
25458 if (PyErr_Occurred()) SWIG_fail;
25459 }
25460 Py_INCREF(Py_None); resultobj = Py_None;
25461 {
25462 if (temp4)
25463 delete arg4;
25464 }
25465 {
25466 if (temp5)
25467 delete arg5;
25468 }
25469 return resultobj;
25470 fail:
25471 {
25472 if (temp4)
25473 delete arg4;
25474 }
25475 {
25476 if (temp5)
25477 delete arg5;
25478 }
25479 return NULL;
25480 }
25481
25482
25483 static PyObject *_wrap_Menu_InsertMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
25484 PyObject *resultobj;
25485 wxMenu *arg1 = (wxMenu *) 0 ;
25486 size_t arg2 ;
25487 int arg3 ;
25488 wxString *arg4 = 0 ;
25489 wxMenu *arg5 = (wxMenu *) 0 ;
25490 wxString const &arg6_defvalue = wxPyEmptyString ;
25491 wxString *arg6 = (wxString *) &arg6_defvalue ;
25492 bool temp4 = False ;
25493 bool temp6 = False ;
25494 PyObject * obj0 = 0 ;
25495 PyObject * obj1 = 0 ;
25496 PyObject * obj3 = 0 ;
25497 PyObject * obj4 = 0 ;
25498 PyObject * obj5 = 0 ;
25499 char *kwnames[] = {
25500 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
25501 };
25502
25503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiOO|O:Menu_InsertMenu",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5)) goto fail;
25504 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25505 arg2 = (size_t) PyInt_AsLong(obj1);
25506 if (PyErr_Occurred()) SWIG_fail;
25507 {
25508 arg4 = wxString_in_helper(obj3);
25509 if (arg4 == NULL) SWIG_fail;
25510 temp4 = True;
25511 }
25512 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25513 if (obj5) {
25514 {
25515 arg6 = wxString_in_helper(obj5);
25516 if (arg6 == NULL) SWIG_fail;
25517 temp6 = True;
25518 }
25519 }
25520 {
25521 PyThreadState* __tstate = wxPyBeginAllowThreads();
25522 (arg1)->Insert(arg2,arg3,(wxString const &)*arg4,arg5,(wxString const &)*arg6);
25523
25524 wxPyEndAllowThreads(__tstate);
25525 if (PyErr_Occurred()) SWIG_fail;
25526 }
25527 Py_INCREF(Py_None); resultobj = Py_None;
25528 {
25529 if (temp4)
25530 delete arg4;
25531 }
25532 {
25533 if (temp6)
25534 delete arg6;
25535 }
25536 return resultobj;
25537 fail:
25538 {
25539 if (temp4)
25540 delete arg4;
25541 }
25542 {
25543 if (temp6)
25544 delete arg6;
25545 }
25546 return NULL;
25547 }
25548
25549
25550 static PyObject *_wrap_Menu_PrependItem(PyObject *self, PyObject *args, PyObject *kwargs) {
25551 PyObject *resultobj;
25552 wxMenu *arg1 = (wxMenu *) 0 ;
25553 wxMenuItem *arg2 = (wxMenuItem *) 0 ;
25554 PyObject * obj0 = 0 ;
25555 PyObject * obj1 = 0 ;
25556 char *kwnames[] = {
25557 (char *) "self",(char *) "item", NULL
25558 };
25559
25560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_PrependItem",kwnames,&obj0,&obj1)) goto fail;
25561 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25562 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25563 {
25564 PyThreadState* __tstate = wxPyBeginAllowThreads();
25565 (arg1)->Prepend(arg2);
25566
25567 wxPyEndAllowThreads(__tstate);
25568 if (PyErr_Occurred()) SWIG_fail;
25569 }
25570 Py_INCREF(Py_None); resultobj = Py_None;
25571 return resultobj;
25572 fail:
25573 return NULL;
25574 }
25575
25576
25577 static PyObject *_wrap_Menu_Prepend(PyObject *self, PyObject *args, PyObject *kwargs) {
25578 PyObject *resultobj;
25579 wxMenu *arg1 = (wxMenu *) 0 ;
25580 int arg2 ;
25581 wxString *arg3 = 0 ;
25582 wxString const &arg4_defvalue = wxPyEmptyString ;
25583 wxString *arg4 = (wxString *) &arg4_defvalue ;
25584 int arg5 = (int) wxITEM_NORMAL ;
25585 bool temp3 = False ;
25586 bool temp4 = False ;
25587 PyObject * obj0 = 0 ;
25588 PyObject * obj2 = 0 ;
25589 PyObject * obj3 = 0 ;
25590 char *kwnames[] = {
25591 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
25592 };
25593
25594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|Oi:Menu_Prepend",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5)) goto fail;
25595 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25596 {
25597 arg3 = wxString_in_helper(obj2);
25598 if (arg3 == NULL) SWIG_fail;
25599 temp3 = True;
25600 }
25601 if (obj3) {
25602 {
25603 arg4 = wxString_in_helper(obj3);
25604 if (arg4 == NULL) SWIG_fail;
25605 temp4 = True;
25606 }
25607 }
25608 {
25609 PyThreadState* __tstate = wxPyBeginAllowThreads();
25610 (arg1)->Prepend(arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxItemKind )arg5);
25611
25612 wxPyEndAllowThreads(__tstate);
25613 if (PyErr_Occurred()) SWIG_fail;
25614 }
25615 Py_INCREF(Py_None); resultobj = Py_None;
25616 {
25617 if (temp3)
25618 delete arg3;
25619 }
25620 {
25621 if (temp4)
25622 delete arg4;
25623 }
25624 return resultobj;
25625 fail:
25626 {
25627 if (temp3)
25628 delete arg3;
25629 }
25630 {
25631 if (temp4)
25632 delete arg4;
25633 }
25634 return NULL;
25635 }
25636
25637
25638 static PyObject *_wrap_Menu_PrependSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
25639 PyObject *resultobj;
25640 wxMenu *arg1 = (wxMenu *) 0 ;
25641 PyObject * obj0 = 0 ;
25642 char *kwnames[] = {
25643 (char *) "self", NULL
25644 };
25645
25646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_PrependSeparator",kwnames,&obj0)) goto fail;
25647 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25648 {
25649 PyThreadState* __tstate = wxPyBeginAllowThreads();
25650 (arg1)->PrependSeparator();
25651
25652 wxPyEndAllowThreads(__tstate);
25653 if (PyErr_Occurred()) SWIG_fail;
25654 }
25655 Py_INCREF(Py_None); resultobj = Py_None;
25656 return resultobj;
25657 fail:
25658 return NULL;
25659 }
25660
25661
25662 static PyObject *_wrap_Menu_PrependCheckItem(PyObject *self, PyObject *args, PyObject *kwargs) {
25663 PyObject *resultobj;
25664 wxMenu *arg1 = (wxMenu *) 0 ;
25665 int arg2 ;
25666 wxString *arg3 = 0 ;
25667 wxString const &arg4_defvalue = wxPyEmptyString ;
25668 wxString *arg4 = (wxString *) &arg4_defvalue ;
25669 bool temp3 = False ;
25670 bool temp4 = False ;
25671 PyObject * obj0 = 0 ;
25672 PyObject * obj2 = 0 ;
25673 PyObject * obj3 = 0 ;
25674 char *kwnames[] = {
25675 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
25676 };
25677
25678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|O:Menu_PrependCheckItem",kwnames,&obj0,&arg2,&obj2,&obj3)) goto fail;
25679 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25680 {
25681 arg3 = wxString_in_helper(obj2);
25682 if (arg3 == NULL) SWIG_fail;
25683 temp3 = True;
25684 }
25685 if (obj3) {
25686 {
25687 arg4 = wxString_in_helper(obj3);
25688 if (arg4 == NULL) SWIG_fail;
25689 temp4 = True;
25690 }
25691 }
25692 {
25693 PyThreadState* __tstate = wxPyBeginAllowThreads();
25694 (arg1)->PrependCheckItem(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
25695
25696 wxPyEndAllowThreads(__tstate);
25697 if (PyErr_Occurred()) SWIG_fail;
25698 }
25699 Py_INCREF(Py_None); resultobj = Py_None;
25700 {
25701 if (temp3)
25702 delete arg3;
25703 }
25704 {
25705 if (temp4)
25706 delete arg4;
25707 }
25708 return resultobj;
25709 fail:
25710 {
25711 if (temp3)
25712 delete arg3;
25713 }
25714 {
25715 if (temp4)
25716 delete arg4;
25717 }
25718 return NULL;
25719 }
25720
25721
25722 static PyObject *_wrap_Menu_PrependRadioItem(PyObject *self, PyObject *args, PyObject *kwargs) {
25723 PyObject *resultobj;
25724 wxMenu *arg1 = (wxMenu *) 0 ;
25725 int arg2 ;
25726 wxString *arg3 = 0 ;
25727 wxString const &arg4_defvalue = wxPyEmptyString ;
25728 wxString *arg4 = (wxString *) &arg4_defvalue ;
25729 bool temp3 = False ;
25730 bool temp4 = False ;
25731 PyObject * obj0 = 0 ;
25732 PyObject * obj2 = 0 ;
25733 PyObject * obj3 = 0 ;
25734 char *kwnames[] = {
25735 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
25736 };
25737
25738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|O:Menu_PrependRadioItem",kwnames,&obj0,&arg2,&obj2,&obj3)) goto fail;
25739 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25740 {
25741 arg3 = wxString_in_helper(obj2);
25742 if (arg3 == NULL) SWIG_fail;
25743 temp3 = True;
25744 }
25745 if (obj3) {
25746 {
25747 arg4 = wxString_in_helper(obj3);
25748 if (arg4 == NULL) SWIG_fail;
25749 temp4 = True;
25750 }
25751 }
25752 {
25753 PyThreadState* __tstate = wxPyBeginAllowThreads();
25754 (arg1)->PrependRadioItem(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
25755
25756 wxPyEndAllowThreads(__tstate);
25757 if (PyErr_Occurred()) SWIG_fail;
25758 }
25759 Py_INCREF(Py_None); resultobj = Py_None;
25760 {
25761 if (temp3)
25762 delete arg3;
25763 }
25764 {
25765 if (temp4)
25766 delete arg4;
25767 }
25768 return resultobj;
25769 fail:
25770 {
25771 if (temp3)
25772 delete arg3;
25773 }
25774 {
25775 if (temp4)
25776 delete arg4;
25777 }
25778 return NULL;
25779 }
25780
25781
25782 static PyObject *_wrap_Menu_PrependMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
25783 PyObject *resultobj;
25784 wxMenu *arg1 = (wxMenu *) 0 ;
25785 int arg2 ;
25786 wxString *arg3 = 0 ;
25787 wxMenu *arg4 = (wxMenu *) 0 ;
25788 wxString const &arg5_defvalue = wxPyEmptyString ;
25789 wxString *arg5 = (wxString *) &arg5_defvalue ;
25790 bool temp3 = False ;
25791 bool temp5 = False ;
25792 PyObject * obj0 = 0 ;
25793 PyObject * obj2 = 0 ;
25794 PyObject * obj3 = 0 ;
25795 PyObject * obj4 = 0 ;
25796 char *kwnames[] = {
25797 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
25798 };
25799
25800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiOO|O:Menu_PrependMenu",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4)) goto fail;
25801 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25802 {
25803 arg3 = wxString_in_helper(obj2);
25804 if (arg3 == NULL) SWIG_fail;
25805 temp3 = True;
25806 }
25807 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25808 if (obj4) {
25809 {
25810 arg5 = wxString_in_helper(obj4);
25811 if (arg5 == NULL) SWIG_fail;
25812 temp5 = True;
25813 }
25814 }
25815 {
25816 PyThreadState* __tstate = wxPyBeginAllowThreads();
25817 (arg1)->Prepend(arg2,(wxString const &)*arg3,arg4,(wxString const &)*arg5);
25818
25819 wxPyEndAllowThreads(__tstate);
25820 if (PyErr_Occurred()) SWIG_fail;
25821 }
25822 Py_INCREF(Py_None); resultobj = Py_None;
25823 {
25824 if (temp3)
25825 delete arg3;
25826 }
25827 {
25828 if (temp5)
25829 delete arg5;
25830 }
25831 return resultobj;
25832 fail:
25833 {
25834 if (temp3)
25835 delete arg3;
25836 }
25837 {
25838 if (temp5)
25839 delete arg5;
25840 }
25841 return NULL;
25842 }
25843
25844
25845 static PyObject *_wrap_Menu_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
25846 PyObject *resultobj;
25847 wxMenu *arg1 = (wxMenu *) 0 ;
25848 int arg2 ;
25849 wxMenuItem *result;
25850 PyObject * obj0 = 0 ;
25851 char *kwnames[] = {
25852 (char *) "self",(char *) "id", NULL
25853 };
25854
25855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Menu_Remove",kwnames,&obj0,&arg2)) goto fail;
25856 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25857 {
25858 PyThreadState* __tstate = wxPyBeginAllowThreads();
25859 result = (wxMenuItem *)(arg1)->Remove(arg2);
25860
25861 wxPyEndAllowThreads(__tstate);
25862 if (PyErr_Occurred()) SWIG_fail;
25863 }
25864 {
25865 resultobj = wxPyMake_wxObject(result);
25866 }
25867 return resultobj;
25868 fail:
25869 return NULL;
25870 }
25871
25872
25873 static PyObject *_wrap_Menu_RemoveItem(PyObject *self, PyObject *args, PyObject *kwargs) {
25874 PyObject *resultobj;
25875 wxMenu *arg1 = (wxMenu *) 0 ;
25876 wxMenuItem *arg2 = (wxMenuItem *) 0 ;
25877 wxMenuItem *result;
25878 PyObject * obj0 = 0 ;
25879 PyObject * obj1 = 0 ;
25880 char *kwnames[] = {
25881 (char *) "self",(char *) "item", NULL
25882 };
25883
25884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_RemoveItem",kwnames,&obj0,&obj1)) goto fail;
25885 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25886 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25887 {
25888 PyThreadState* __tstate = wxPyBeginAllowThreads();
25889 result = (wxMenuItem *)(arg1)->Remove(arg2);
25890
25891 wxPyEndAllowThreads(__tstate);
25892 if (PyErr_Occurred()) SWIG_fail;
25893 }
25894 {
25895 resultobj = wxPyMake_wxObject(result);
25896 }
25897 return resultobj;
25898 fail:
25899 return NULL;
25900 }
25901
25902
25903 static PyObject *_wrap_Menu_Delete(PyObject *self, PyObject *args, PyObject *kwargs) {
25904 PyObject *resultobj;
25905 wxMenu *arg1 = (wxMenu *) 0 ;
25906 int arg2 ;
25907 bool result;
25908 PyObject * obj0 = 0 ;
25909 char *kwnames[] = {
25910 (char *) "self",(char *) "id", NULL
25911 };
25912
25913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Menu_Delete",kwnames,&obj0,&arg2)) goto fail;
25914 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25915 {
25916 PyThreadState* __tstate = wxPyBeginAllowThreads();
25917 result = (bool)(arg1)->Delete(arg2);
25918
25919 wxPyEndAllowThreads(__tstate);
25920 if (PyErr_Occurred()) SWIG_fail;
25921 }
25922 resultobj = PyInt_FromLong((long)result);
25923 return resultobj;
25924 fail:
25925 return NULL;
25926 }
25927
25928
25929 static PyObject *_wrap_Menu_DeleteItem(PyObject *self, PyObject *args, PyObject *kwargs) {
25930 PyObject *resultobj;
25931 wxMenu *arg1 = (wxMenu *) 0 ;
25932 wxMenuItem *arg2 = (wxMenuItem *) 0 ;
25933 bool result;
25934 PyObject * obj0 = 0 ;
25935 PyObject * obj1 = 0 ;
25936 char *kwnames[] = {
25937 (char *) "self",(char *) "item", NULL
25938 };
25939
25940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_DeleteItem",kwnames,&obj0,&obj1)) goto fail;
25941 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25942 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25943 {
25944 PyThreadState* __tstate = wxPyBeginAllowThreads();
25945 result = (bool)(arg1)->Delete(arg2);
25946
25947 wxPyEndAllowThreads(__tstate);
25948 if (PyErr_Occurred()) SWIG_fail;
25949 }
25950 resultobj = PyInt_FromLong((long)result);
25951 return resultobj;
25952 fail:
25953 return NULL;
25954 }
25955
25956
25957 static PyObject *_wrap_Menu_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
25958 PyObject *resultobj;
25959 wxMenu *arg1 = (wxMenu *) 0 ;
25960 PyObject * obj0 = 0 ;
25961 char *kwnames[] = {
25962 (char *) "self", NULL
25963 };
25964
25965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_Destroy",kwnames,&obj0)) goto fail;
25966 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25967 {
25968 PyThreadState* __tstate = wxPyBeginAllowThreads();
25969 wxMenu_Destroy(arg1);
25970
25971 wxPyEndAllowThreads(__tstate);
25972 if (PyErr_Occurred()) SWIG_fail;
25973 }
25974 Py_INCREF(Py_None); resultobj = Py_None;
25975 return resultobj;
25976 fail:
25977 return NULL;
25978 }
25979
25980
25981 static PyObject *_wrap_Menu_DestroyId(PyObject *self, PyObject *args, PyObject *kwargs) {
25982 PyObject *resultobj;
25983 wxMenu *arg1 = (wxMenu *) 0 ;
25984 int arg2 ;
25985 bool result;
25986 PyObject * obj0 = 0 ;
25987 char *kwnames[] = {
25988 (char *) "self",(char *) "id", NULL
25989 };
25990
25991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Menu_DestroyId",kwnames,&obj0,&arg2)) goto fail;
25992 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25993 {
25994 PyThreadState* __tstate = wxPyBeginAllowThreads();
25995 result = (bool)(arg1)->Destroy(arg2);
25996
25997 wxPyEndAllowThreads(__tstate);
25998 if (PyErr_Occurred()) SWIG_fail;
25999 }
26000 resultobj = PyInt_FromLong((long)result);
26001 return resultobj;
26002 fail:
26003 return NULL;
26004 }
26005
26006
26007 static PyObject *_wrap_Menu_DestroyItem(PyObject *self, PyObject *args, PyObject *kwargs) {
26008 PyObject *resultobj;
26009 wxMenu *arg1 = (wxMenu *) 0 ;
26010 wxMenuItem *arg2 = (wxMenuItem *) 0 ;
26011 bool result;
26012 PyObject * obj0 = 0 ;
26013 PyObject * obj1 = 0 ;
26014 char *kwnames[] = {
26015 (char *) "self",(char *) "item", NULL
26016 };
26017
26018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_DestroyItem",kwnames,&obj0,&obj1)) goto fail;
26019 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26020 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26021 {
26022 PyThreadState* __tstate = wxPyBeginAllowThreads();
26023 result = (bool)(arg1)->Destroy(arg2);
26024
26025 wxPyEndAllowThreads(__tstate);
26026 if (PyErr_Occurred()) SWIG_fail;
26027 }
26028 resultobj = PyInt_FromLong((long)result);
26029 return resultobj;
26030 fail:
26031 return NULL;
26032 }
26033
26034
26035 static PyObject *_wrap_Menu_GetMenuItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
26036 PyObject *resultobj;
26037 wxMenu *arg1 = (wxMenu *) 0 ;
26038 size_t result;
26039 PyObject * obj0 = 0 ;
26040 char *kwnames[] = {
26041 (char *) "self", NULL
26042 };
26043
26044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetMenuItemCount",kwnames,&obj0)) goto fail;
26045 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26046 {
26047 PyThreadState* __tstate = wxPyBeginAllowThreads();
26048 result = (size_t)((wxMenu const *)arg1)->GetMenuItemCount();
26049
26050 wxPyEndAllowThreads(__tstate);
26051 if (PyErr_Occurred()) SWIG_fail;
26052 }
26053 resultobj = PyInt_FromLong((long)result);
26054 return resultobj;
26055 fail:
26056 return NULL;
26057 }
26058
26059
26060 static PyObject *_wrap_Menu_GetMenuItems(PyObject *self, PyObject *args, PyObject *kwargs) {
26061 PyObject *resultobj;
26062 wxMenu *arg1 = (wxMenu *) 0 ;
26063 PyObject *result;
26064 PyObject * obj0 = 0 ;
26065 char *kwnames[] = {
26066 (char *) "self", NULL
26067 };
26068
26069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetMenuItems",kwnames,&obj0)) goto fail;
26070 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26071 {
26072 PyThreadState* __tstate = wxPyBeginAllowThreads();
26073 result = (PyObject *)wxMenu_GetMenuItems(arg1);
26074
26075 wxPyEndAllowThreads(__tstate);
26076 if (PyErr_Occurred()) SWIG_fail;
26077 }
26078 resultobj = result;
26079 return resultobj;
26080 fail:
26081 return NULL;
26082 }
26083
26084
26085 static PyObject *_wrap_Menu_FindItem(PyObject *self, PyObject *args, PyObject *kwargs) {
26086 PyObject *resultobj;
26087 wxMenu *arg1 = (wxMenu *) 0 ;
26088 wxString *arg2 = 0 ;
26089 int result;
26090 bool temp2 = False ;
26091 PyObject * obj0 = 0 ;
26092 PyObject * obj1 = 0 ;
26093 char *kwnames[] = {
26094 (char *) "self",(char *) "item", NULL
26095 };
26096
26097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_FindItem",kwnames,&obj0,&obj1)) goto fail;
26098 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26099 {
26100 arg2 = wxString_in_helper(obj1);
26101 if (arg2 == NULL) SWIG_fail;
26102 temp2 = True;
26103 }
26104 {
26105 PyThreadState* __tstate = wxPyBeginAllowThreads();
26106 result = (int)((wxMenu const *)arg1)->FindItem((wxString const &)*arg2);
26107
26108 wxPyEndAllowThreads(__tstate);
26109 if (PyErr_Occurred()) SWIG_fail;
26110 }
26111 resultobj = PyInt_FromLong((long)result);
26112 {
26113 if (temp2)
26114 delete arg2;
26115 }
26116 return resultobj;
26117 fail:
26118 {
26119 if (temp2)
26120 delete arg2;
26121 }
26122 return NULL;
26123 }
26124
26125
26126 static PyObject *_wrap_Menu_FindItemById(PyObject *self, PyObject *args, PyObject *kwargs) {
26127 PyObject *resultobj;
26128 wxMenu *arg1 = (wxMenu *) 0 ;
26129 int arg2 ;
26130 wxMenuItem *result;
26131 PyObject * obj0 = 0 ;
26132 char *kwnames[] = {
26133 (char *) "self",(char *) "id", NULL
26134 };
26135
26136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Menu_FindItemById",kwnames,&obj0,&arg2)) goto fail;
26137 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26138 {
26139 PyThreadState* __tstate = wxPyBeginAllowThreads();
26140 result = (wxMenuItem *)((wxMenu const *)arg1)->FindItem(arg2);
26141
26142 wxPyEndAllowThreads(__tstate);
26143 if (PyErr_Occurred()) SWIG_fail;
26144 }
26145 {
26146 resultobj = wxPyMake_wxObject(result);
26147 }
26148 return resultobj;
26149 fail:
26150 return NULL;
26151 }
26152
26153
26154 static PyObject *_wrap_Menu_FindItemByPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
26155 PyObject *resultobj;
26156 wxMenu *arg1 = (wxMenu *) 0 ;
26157 size_t arg2 ;
26158 wxMenuItem *result;
26159 PyObject * obj0 = 0 ;
26160 PyObject * obj1 = 0 ;
26161 char *kwnames[] = {
26162 (char *) "self",(char *) "position", NULL
26163 };
26164
26165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_FindItemByPosition",kwnames,&obj0,&obj1)) goto fail;
26166 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26167 arg2 = (size_t) PyInt_AsLong(obj1);
26168 if (PyErr_Occurred()) SWIG_fail;
26169 {
26170 PyThreadState* __tstate = wxPyBeginAllowThreads();
26171 result = (wxMenuItem *)((wxMenu const *)arg1)->FindItemByPosition(arg2);
26172
26173 wxPyEndAllowThreads(__tstate);
26174 if (PyErr_Occurred()) SWIG_fail;
26175 }
26176 {
26177 resultobj = wxPyMake_wxObject(result);
26178 }
26179 return resultobj;
26180 fail:
26181 return NULL;
26182 }
26183
26184
26185 static PyObject *_wrap_Menu_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
26186 PyObject *resultobj;
26187 wxMenu *arg1 = (wxMenu *) 0 ;
26188 int arg2 ;
26189 bool arg3 ;
26190 PyObject * obj0 = 0 ;
26191 PyObject * obj2 = 0 ;
26192 char *kwnames[] = {
26193 (char *) "self",(char *) "id",(char *) "enable", NULL
26194 };
26195
26196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:Menu_Enable",kwnames,&obj0,&arg2,&obj2)) goto fail;
26197 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26198 arg3 = PyInt_AsLong(obj2) ? true : false;
26199 if (PyErr_Occurred()) SWIG_fail;
26200 {
26201 PyThreadState* __tstate = wxPyBeginAllowThreads();
26202 (arg1)->Enable(arg2,arg3);
26203
26204 wxPyEndAllowThreads(__tstate);
26205 if (PyErr_Occurred()) SWIG_fail;
26206 }
26207 Py_INCREF(Py_None); resultobj = Py_None;
26208 return resultobj;
26209 fail:
26210 return NULL;
26211 }
26212
26213
26214 static PyObject *_wrap_Menu_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
26215 PyObject *resultobj;
26216 wxMenu *arg1 = (wxMenu *) 0 ;
26217 int arg2 ;
26218 bool result;
26219 PyObject * obj0 = 0 ;
26220 char *kwnames[] = {
26221 (char *) "self",(char *) "id", NULL
26222 };
26223
26224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Menu_IsEnabled",kwnames,&obj0,&arg2)) 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 = (bool)((wxMenu const *)arg1)->IsEnabled(arg2);
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_Check(PyObject *self, PyObject *args, PyObject *kwargs) {
26241 PyObject *resultobj;
26242 wxMenu *arg1 = (wxMenu *) 0 ;
26243 int arg2 ;
26244 bool arg3 ;
26245 PyObject * obj0 = 0 ;
26246 PyObject * obj2 = 0 ;
26247 char *kwnames[] = {
26248 (char *) "self",(char *) "id",(char *) "check", NULL
26249 };
26250
26251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:Menu_Check",kwnames,&obj0,&arg2,&obj2)) goto fail;
26252 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26253 arg3 = PyInt_AsLong(obj2) ? true : false;
26254 if (PyErr_Occurred()) SWIG_fail;
26255 {
26256 PyThreadState* __tstate = wxPyBeginAllowThreads();
26257 (arg1)->Check(arg2,arg3);
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_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
26270 PyObject *resultobj;
26271 wxMenu *arg1 = (wxMenu *) 0 ;
26272 int arg2 ;
26273 bool result;
26274 PyObject * obj0 = 0 ;
26275 char *kwnames[] = {
26276 (char *) "self",(char *) "id", NULL
26277 };
26278
26279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Menu_IsChecked",kwnames,&obj0,&arg2)) goto fail;
26280 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26281 {
26282 PyThreadState* __tstate = wxPyBeginAllowThreads();
26283 result = (bool)((wxMenu const *)arg1)->IsChecked(arg2);
26284
26285 wxPyEndAllowThreads(__tstate);
26286 if (PyErr_Occurred()) SWIG_fail;
26287 }
26288 resultobj = PyInt_FromLong((long)result);
26289 return resultobj;
26290 fail:
26291 return NULL;
26292 }
26293
26294
26295 static PyObject *_wrap_Menu_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
26296 PyObject *resultobj;
26297 wxMenu *arg1 = (wxMenu *) 0 ;
26298 int arg2 ;
26299 wxString *arg3 = 0 ;
26300 bool temp3 = False ;
26301 PyObject * obj0 = 0 ;
26302 PyObject * obj2 = 0 ;
26303 char *kwnames[] = {
26304 (char *) "self",(char *) "id",(char *) "label", NULL
26305 };
26306
26307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:Menu_SetLabel",kwnames,&obj0,&arg2,&obj2)) goto fail;
26308 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26309 {
26310 arg3 = wxString_in_helper(obj2);
26311 if (arg3 == NULL) SWIG_fail;
26312 temp3 = True;
26313 }
26314 {
26315 PyThreadState* __tstate = wxPyBeginAllowThreads();
26316 (arg1)->SetLabel(arg2,(wxString const &)*arg3);
26317
26318 wxPyEndAllowThreads(__tstate);
26319 if (PyErr_Occurred()) SWIG_fail;
26320 }
26321 Py_INCREF(Py_None); resultobj = Py_None;
26322 {
26323 if (temp3)
26324 delete arg3;
26325 }
26326 return resultobj;
26327 fail:
26328 {
26329 if (temp3)
26330 delete arg3;
26331 }
26332 return NULL;
26333 }
26334
26335
26336 static PyObject *_wrap_Menu_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
26337 PyObject *resultobj;
26338 wxMenu *arg1 = (wxMenu *) 0 ;
26339 int arg2 ;
26340 wxString result;
26341 PyObject * obj0 = 0 ;
26342 char *kwnames[] = {
26343 (char *) "self",(char *) "id", NULL
26344 };
26345
26346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Menu_GetLabel",kwnames,&obj0,&arg2)) goto fail;
26347 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26348 {
26349 PyThreadState* __tstate = wxPyBeginAllowThreads();
26350 result = ((wxMenu const *)arg1)->GetLabel(arg2);
26351
26352 wxPyEndAllowThreads(__tstate);
26353 if (PyErr_Occurred()) SWIG_fail;
26354 }
26355 {
26356 #if wxUSE_UNICODE
26357 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
26358 #else
26359 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
26360 #endif
26361 }
26362 return resultobj;
26363 fail:
26364 return NULL;
26365 }
26366
26367
26368 static PyObject *_wrap_Menu_SetHelpString(PyObject *self, PyObject *args, PyObject *kwargs) {
26369 PyObject *resultobj;
26370 wxMenu *arg1 = (wxMenu *) 0 ;
26371 int arg2 ;
26372 wxString *arg3 = 0 ;
26373 bool temp3 = False ;
26374 PyObject * obj0 = 0 ;
26375 PyObject * obj2 = 0 ;
26376 char *kwnames[] = {
26377 (char *) "self",(char *) "id",(char *) "helpString", NULL
26378 };
26379
26380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:Menu_SetHelpString",kwnames,&obj0,&arg2,&obj2)) goto fail;
26381 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26382 {
26383 arg3 = wxString_in_helper(obj2);
26384 if (arg3 == NULL) SWIG_fail;
26385 temp3 = True;
26386 }
26387 {
26388 PyThreadState* __tstate = wxPyBeginAllowThreads();
26389 (arg1)->SetHelpString(arg2,(wxString const &)*arg3);
26390
26391 wxPyEndAllowThreads(__tstate);
26392 if (PyErr_Occurred()) SWIG_fail;
26393 }
26394 Py_INCREF(Py_None); resultobj = Py_None;
26395 {
26396 if (temp3)
26397 delete arg3;
26398 }
26399 return resultobj;
26400 fail:
26401 {
26402 if (temp3)
26403 delete arg3;
26404 }
26405 return NULL;
26406 }
26407
26408
26409 static PyObject *_wrap_Menu_GetHelpString(PyObject *self, PyObject *args, PyObject *kwargs) {
26410 PyObject *resultobj;
26411 wxMenu *arg1 = (wxMenu *) 0 ;
26412 int arg2 ;
26413 wxString result;
26414 PyObject * obj0 = 0 ;
26415 char *kwnames[] = {
26416 (char *) "self",(char *) "id", NULL
26417 };
26418
26419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Menu_GetHelpString",kwnames,&obj0,&arg2)) goto fail;
26420 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26421 {
26422 PyThreadState* __tstate = wxPyBeginAllowThreads();
26423 result = ((wxMenu const *)arg1)->GetHelpString(arg2);
26424
26425 wxPyEndAllowThreads(__tstate);
26426 if (PyErr_Occurred()) SWIG_fail;
26427 }
26428 {
26429 #if wxUSE_UNICODE
26430 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
26431 #else
26432 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
26433 #endif
26434 }
26435 return resultobj;
26436 fail:
26437 return NULL;
26438 }
26439
26440
26441 static PyObject *_wrap_Menu_SetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
26442 PyObject *resultobj;
26443 wxMenu *arg1 = (wxMenu *) 0 ;
26444 wxString *arg2 = 0 ;
26445 bool temp2 = False ;
26446 PyObject * obj0 = 0 ;
26447 PyObject * obj1 = 0 ;
26448 char *kwnames[] = {
26449 (char *) "self",(char *) "title", NULL
26450 };
26451
26452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_SetTitle",kwnames,&obj0,&obj1)) goto fail;
26453 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26454 {
26455 arg2 = wxString_in_helper(obj1);
26456 if (arg2 == NULL) SWIG_fail;
26457 temp2 = True;
26458 }
26459 {
26460 PyThreadState* __tstate = wxPyBeginAllowThreads();
26461 (arg1)->SetTitle((wxString const &)*arg2);
26462
26463 wxPyEndAllowThreads(__tstate);
26464 if (PyErr_Occurred()) SWIG_fail;
26465 }
26466 Py_INCREF(Py_None); resultobj = Py_None;
26467 {
26468 if (temp2)
26469 delete arg2;
26470 }
26471 return resultobj;
26472 fail:
26473 {
26474 if (temp2)
26475 delete arg2;
26476 }
26477 return NULL;
26478 }
26479
26480
26481 static PyObject *_wrap_Menu_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
26482 PyObject *resultobj;
26483 wxMenu *arg1 = (wxMenu *) 0 ;
26484 wxString result;
26485 PyObject * obj0 = 0 ;
26486 char *kwnames[] = {
26487 (char *) "self", NULL
26488 };
26489
26490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetTitle",kwnames,&obj0)) goto fail;
26491 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26492 {
26493 PyThreadState* __tstate = wxPyBeginAllowThreads();
26494 result = ((wxMenu const *)arg1)->GetTitle();
26495
26496 wxPyEndAllowThreads(__tstate);
26497 if (PyErr_Occurred()) SWIG_fail;
26498 }
26499 {
26500 #if wxUSE_UNICODE
26501 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
26502 #else
26503 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
26504 #endif
26505 }
26506 return resultobj;
26507 fail:
26508 return NULL;
26509 }
26510
26511
26512 static PyObject *_wrap_Menu_SetEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
26513 PyObject *resultobj;
26514 wxMenu *arg1 = (wxMenu *) 0 ;
26515 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
26516 PyObject * obj0 = 0 ;
26517 PyObject * obj1 = 0 ;
26518 char *kwnames[] = {
26519 (char *) "self",(char *) "handler", NULL
26520 };
26521
26522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_SetEventHandler",kwnames,&obj0,&obj1)) goto fail;
26523 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26524 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26525 {
26526 PyThreadState* __tstate = wxPyBeginAllowThreads();
26527 (arg1)->SetEventHandler(arg2);
26528
26529 wxPyEndAllowThreads(__tstate);
26530 if (PyErr_Occurred()) SWIG_fail;
26531 }
26532 Py_INCREF(Py_None); resultobj = Py_None;
26533 return resultobj;
26534 fail:
26535 return NULL;
26536 }
26537
26538
26539 static PyObject *_wrap_Menu_GetEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
26540 PyObject *resultobj;
26541 wxMenu *arg1 = (wxMenu *) 0 ;
26542 wxEvtHandler *result;
26543 PyObject * obj0 = 0 ;
26544 char *kwnames[] = {
26545 (char *) "self", NULL
26546 };
26547
26548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetEventHandler",kwnames,&obj0)) goto fail;
26549 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26550 {
26551 PyThreadState* __tstate = wxPyBeginAllowThreads();
26552 result = (wxEvtHandler *)((wxMenu const *)arg1)->GetEventHandler();
26553
26554 wxPyEndAllowThreads(__tstate);
26555 if (PyErr_Occurred()) SWIG_fail;
26556 }
26557 {
26558 resultobj = wxPyMake_wxObject(result);
26559 }
26560 return resultobj;
26561 fail:
26562 return NULL;
26563 }
26564
26565
26566 static PyObject *_wrap_Menu_SetInvokingWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
26567 PyObject *resultobj;
26568 wxMenu *arg1 = (wxMenu *) 0 ;
26569 wxWindow *arg2 = (wxWindow *) 0 ;
26570 PyObject * obj0 = 0 ;
26571 PyObject * obj1 = 0 ;
26572 char *kwnames[] = {
26573 (char *) "self",(char *) "win", NULL
26574 };
26575
26576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_SetInvokingWindow",kwnames,&obj0,&obj1)) goto fail;
26577 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26578 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26579 {
26580 PyThreadState* __tstate = wxPyBeginAllowThreads();
26581 (arg1)->SetInvokingWindow(arg2);
26582
26583 wxPyEndAllowThreads(__tstate);
26584 if (PyErr_Occurred()) SWIG_fail;
26585 }
26586 Py_INCREF(Py_None); resultobj = Py_None;
26587 return resultobj;
26588 fail:
26589 return NULL;
26590 }
26591
26592
26593 static PyObject *_wrap_Menu_GetInvokingWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
26594 PyObject *resultobj;
26595 wxMenu *arg1 = (wxMenu *) 0 ;
26596 wxWindow *result;
26597 PyObject * obj0 = 0 ;
26598 char *kwnames[] = {
26599 (char *) "self", NULL
26600 };
26601
26602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetInvokingWindow",kwnames,&obj0)) goto fail;
26603 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26604 {
26605 PyThreadState* __tstate = wxPyBeginAllowThreads();
26606 result = (wxWindow *)((wxMenu const *)arg1)->GetInvokingWindow();
26607
26608 wxPyEndAllowThreads(__tstate);
26609 if (PyErr_Occurred()) SWIG_fail;
26610 }
26611 {
26612 resultobj = wxPyMake_wxObject(result);
26613 }
26614 return resultobj;
26615 fail:
26616 return NULL;
26617 }
26618
26619
26620 static PyObject *_wrap_Menu_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
26621 PyObject *resultobj;
26622 wxMenu *arg1 = (wxMenu *) 0 ;
26623 long result;
26624 PyObject * obj0 = 0 ;
26625 char *kwnames[] = {
26626 (char *) "self", NULL
26627 };
26628
26629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetStyle",kwnames,&obj0)) goto fail;
26630 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26631 {
26632 PyThreadState* __tstate = wxPyBeginAllowThreads();
26633 result = (long)((wxMenu const *)arg1)->GetStyle();
26634
26635 wxPyEndAllowThreads(__tstate);
26636 if (PyErr_Occurred()) SWIG_fail;
26637 }
26638 resultobj = PyInt_FromLong((long)result);
26639 return resultobj;
26640 fail:
26641 return NULL;
26642 }
26643
26644
26645 static PyObject *_wrap_Menu_UpdateUI(PyObject *self, PyObject *args, PyObject *kwargs) {
26646 PyObject *resultobj;
26647 wxMenu *arg1 = (wxMenu *) 0 ;
26648 wxEvtHandler *arg2 = (wxEvtHandler *) NULL ;
26649 PyObject * obj0 = 0 ;
26650 PyObject * obj1 = 0 ;
26651 char *kwnames[] = {
26652 (char *) "self",(char *) "source", NULL
26653 };
26654
26655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Menu_UpdateUI",kwnames,&obj0,&obj1)) goto fail;
26656 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26657 if (obj1) {
26658 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26659 }
26660 {
26661 PyThreadState* __tstate = wxPyBeginAllowThreads();
26662 (arg1)->UpdateUI(arg2);
26663
26664 wxPyEndAllowThreads(__tstate);
26665 if (PyErr_Occurred()) SWIG_fail;
26666 }
26667 Py_INCREF(Py_None); resultobj = Py_None;
26668 return resultobj;
26669 fail:
26670 return NULL;
26671 }
26672
26673
26674 static PyObject *_wrap_Menu_GetMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) {
26675 PyObject *resultobj;
26676 wxMenu *arg1 = (wxMenu *) 0 ;
26677 wxMenuBar *result;
26678 PyObject * obj0 = 0 ;
26679 char *kwnames[] = {
26680 (char *) "self", NULL
26681 };
26682
26683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetMenuBar",kwnames,&obj0)) goto fail;
26684 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26685 {
26686 PyThreadState* __tstate = wxPyBeginAllowThreads();
26687 result = (wxMenuBar *)((wxMenu const *)arg1)->GetMenuBar();
26688
26689 wxPyEndAllowThreads(__tstate);
26690 if (PyErr_Occurred()) SWIG_fail;
26691 }
26692 {
26693 resultobj = wxPyMake_wxObject(result);
26694 }
26695 return resultobj;
26696 fail:
26697 return NULL;
26698 }
26699
26700
26701 static PyObject *_wrap_Menu_Attach(PyObject *self, PyObject *args, PyObject *kwargs) {
26702 PyObject *resultobj;
26703 wxMenu *arg1 = (wxMenu *) 0 ;
26704 wxMenuBarBase *arg2 = (wxMenuBarBase *) 0 ;
26705 PyObject * obj0 = 0 ;
26706 PyObject * obj1 = 0 ;
26707 char *kwnames[] = {
26708 (char *) "self",(char *) "menubar", NULL
26709 };
26710
26711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_Attach",kwnames,&obj0,&obj1)) goto fail;
26712 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26713 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenuBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26714 {
26715 PyThreadState* __tstate = wxPyBeginAllowThreads();
26716 (arg1)->Attach(arg2);
26717
26718 wxPyEndAllowThreads(__tstate);
26719 if (PyErr_Occurred()) SWIG_fail;
26720 }
26721 Py_INCREF(Py_None); resultobj = Py_None;
26722 return resultobj;
26723 fail:
26724 return NULL;
26725 }
26726
26727
26728 static PyObject *_wrap_Menu_Detach(PyObject *self, PyObject *args, PyObject *kwargs) {
26729 PyObject *resultobj;
26730 wxMenu *arg1 = (wxMenu *) 0 ;
26731 PyObject * obj0 = 0 ;
26732 char *kwnames[] = {
26733 (char *) "self", NULL
26734 };
26735
26736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_Detach",kwnames,&obj0)) goto fail;
26737 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26738 {
26739 PyThreadState* __tstate = wxPyBeginAllowThreads();
26740 (arg1)->Detach();
26741
26742 wxPyEndAllowThreads(__tstate);
26743 if (PyErr_Occurred()) SWIG_fail;
26744 }
26745 Py_INCREF(Py_None); resultobj = Py_None;
26746 return resultobj;
26747 fail:
26748 return NULL;
26749 }
26750
26751
26752 static PyObject *_wrap_Menu_IsAttached(PyObject *self, PyObject *args, PyObject *kwargs) {
26753 PyObject *resultobj;
26754 wxMenu *arg1 = (wxMenu *) 0 ;
26755 bool result;
26756 PyObject * obj0 = 0 ;
26757 char *kwnames[] = {
26758 (char *) "self", NULL
26759 };
26760
26761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_IsAttached",kwnames,&obj0)) goto fail;
26762 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26763 {
26764 PyThreadState* __tstate = wxPyBeginAllowThreads();
26765 result = (bool)((wxMenu const *)arg1)->IsAttached();
26766
26767 wxPyEndAllowThreads(__tstate);
26768 if (PyErr_Occurred()) SWIG_fail;
26769 }
26770 resultobj = PyInt_FromLong((long)result);
26771 return resultobj;
26772 fail:
26773 return NULL;
26774 }
26775
26776
26777 static PyObject *_wrap_Menu_SetParent(PyObject *self, PyObject *args, PyObject *kwargs) {
26778 PyObject *resultobj;
26779 wxMenu *arg1 = (wxMenu *) 0 ;
26780 wxMenu *arg2 = (wxMenu *) 0 ;
26781 PyObject * obj0 = 0 ;
26782 PyObject * obj1 = 0 ;
26783 char *kwnames[] = {
26784 (char *) "self",(char *) "parent", NULL
26785 };
26786
26787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_SetParent",kwnames,&obj0,&obj1)) goto fail;
26788 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26789 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26790 {
26791 PyThreadState* __tstate = wxPyBeginAllowThreads();
26792 (arg1)->SetParent(arg2);
26793
26794 wxPyEndAllowThreads(__tstate);
26795 if (PyErr_Occurred()) SWIG_fail;
26796 }
26797 Py_INCREF(Py_None); resultobj = Py_None;
26798 return resultobj;
26799 fail:
26800 return NULL;
26801 }
26802
26803
26804 static PyObject *_wrap_Menu_GetParent(PyObject *self, PyObject *args, PyObject *kwargs) {
26805 PyObject *resultobj;
26806 wxMenu *arg1 = (wxMenu *) 0 ;
26807 wxMenu *result;
26808 PyObject * obj0 = 0 ;
26809 char *kwnames[] = {
26810 (char *) "self", NULL
26811 };
26812
26813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetParent",kwnames,&obj0)) goto fail;
26814 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26815 {
26816 PyThreadState* __tstate = wxPyBeginAllowThreads();
26817 result = (wxMenu *)((wxMenu const *)arg1)->GetParent();
26818
26819 wxPyEndAllowThreads(__tstate);
26820 if (PyErr_Occurred()) SWIG_fail;
26821 }
26822 {
26823 resultobj = wxPyMake_wxObject(result);
26824 }
26825 return resultobj;
26826 fail:
26827 return NULL;
26828 }
26829
26830
26831 static PyObject * Menu_swigregister(PyObject *self, PyObject *args) {
26832 PyObject *obj;
26833 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26834 SWIG_TypeClientData(SWIGTYPE_p_wxMenu, obj);
26835 Py_INCREF(obj);
26836 return Py_BuildValue((char *)"");
26837 }
26838 static PyObject *_wrap_new_MenuBar(PyObject *self, PyObject *args, PyObject *kwargs) {
26839 PyObject *resultobj;
26840 long arg1 = (long) 0 ;
26841 wxMenuBar *result;
26842 char *kwnames[] = {
26843 (char *) "style", NULL
26844 };
26845
26846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|l:new_MenuBar",kwnames,&arg1)) goto fail;
26847 {
26848 PyThreadState* __tstate = wxPyBeginAllowThreads();
26849 result = (wxMenuBar *)new wxMenuBar(arg1);
26850
26851 wxPyEndAllowThreads(__tstate);
26852 if (PyErr_Occurred()) SWIG_fail;
26853 }
26854 {
26855 resultobj = wxPyMake_wxObject(result);
26856 }
26857 return resultobj;
26858 fail:
26859 return NULL;
26860 }
26861
26862
26863 static PyObject *_wrap_MenuBar_Append(PyObject *self, PyObject *args, PyObject *kwargs) {
26864 PyObject *resultobj;
26865 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
26866 wxMenu *arg2 = (wxMenu *) 0 ;
26867 wxString *arg3 = 0 ;
26868 bool result;
26869 bool temp3 = False ;
26870 PyObject * obj0 = 0 ;
26871 PyObject * obj1 = 0 ;
26872 PyObject * obj2 = 0 ;
26873 char *kwnames[] = {
26874 (char *) "self",(char *) "menu",(char *) "title", NULL
26875 };
26876
26877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MenuBar_Append",kwnames,&obj0,&obj1,&obj2)) goto fail;
26878 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26879 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26880 {
26881 arg3 = wxString_in_helper(obj2);
26882 if (arg3 == NULL) SWIG_fail;
26883 temp3 = True;
26884 }
26885 {
26886 PyThreadState* __tstate = wxPyBeginAllowThreads();
26887 result = (bool)(arg1)->Append(arg2,(wxString const &)*arg3);
26888
26889 wxPyEndAllowThreads(__tstate);
26890 if (PyErr_Occurred()) SWIG_fail;
26891 }
26892 resultobj = PyInt_FromLong((long)result);
26893 {
26894 if (temp3)
26895 delete arg3;
26896 }
26897 return resultobj;
26898 fail:
26899 {
26900 if (temp3)
26901 delete arg3;
26902 }
26903 return NULL;
26904 }
26905
26906
26907 static PyObject *_wrap_MenuBar_Insert(PyObject *self, PyObject *args, PyObject *kwargs) {
26908 PyObject *resultobj;
26909 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
26910 size_t arg2 ;
26911 wxMenu *arg3 = (wxMenu *) 0 ;
26912 wxString *arg4 = 0 ;
26913 bool result;
26914 bool temp4 = False ;
26915 PyObject * obj0 = 0 ;
26916 PyObject * obj1 = 0 ;
26917 PyObject * obj2 = 0 ;
26918 PyObject * obj3 = 0 ;
26919 char *kwnames[] = {
26920 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
26921 };
26922
26923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:MenuBar_Insert",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
26924 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26925 arg2 = (size_t) PyInt_AsLong(obj1);
26926 if (PyErr_Occurred()) SWIG_fail;
26927 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26928 {
26929 arg4 = wxString_in_helper(obj3);
26930 if (arg4 == NULL) SWIG_fail;
26931 temp4 = True;
26932 }
26933 {
26934 PyThreadState* __tstate = wxPyBeginAllowThreads();
26935 result = (bool)(arg1)->Insert(arg2,arg3,(wxString const &)*arg4);
26936
26937 wxPyEndAllowThreads(__tstate);
26938 if (PyErr_Occurred()) SWIG_fail;
26939 }
26940 resultobj = PyInt_FromLong((long)result);
26941 {
26942 if (temp4)
26943 delete arg4;
26944 }
26945 return resultobj;
26946 fail:
26947 {
26948 if (temp4)
26949 delete arg4;
26950 }
26951 return NULL;
26952 }
26953
26954
26955 static PyObject *_wrap_MenuBar_GetMenuCount(PyObject *self, PyObject *args, PyObject *kwargs) {
26956 PyObject *resultobj;
26957 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
26958 size_t result;
26959 PyObject * obj0 = 0 ;
26960 char *kwnames[] = {
26961 (char *) "self", NULL
26962 };
26963
26964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuBar_GetMenuCount",kwnames,&obj0)) goto fail;
26965 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26966 {
26967 PyThreadState* __tstate = wxPyBeginAllowThreads();
26968 result = (size_t)((wxMenuBar const *)arg1)->GetMenuCount();
26969
26970 wxPyEndAllowThreads(__tstate);
26971 if (PyErr_Occurred()) SWIG_fail;
26972 }
26973 resultobj = PyInt_FromLong((long)result);
26974 return resultobj;
26975 fail:
26976 return NULL;
26977 }
26978
26979
26980 static PyObject *_wrap_MenuBar_GetMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
26981 PyObject *resultobj;
26982 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
26983 size_t arg2 ;
26984 wxMenu *result;
26985 PyObject * obj0 = 0 ;
26986 PyObject * obj1 = 0 ;
26987 char *kwnames[] = {
26988 (char *) "self",(char *) "pos", NULL
26989 };
26990
26991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_GetMenu",kwnames,&obj0,&obj1)) goto fail;
26992 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26993 arg2 = (size_t) PyInt_AsLong(obj1);
26994 if (PyErr_Occurred()) SWIG_fail;
26995 {
26996 PyThreadState* __tstate = wxPyBeginAllowThreads();
26997 result = (wxMenu *)((wxMenuBar const *)arg1)->GetMenu(arg2);
26998
26999 wxPyEndAllowThreads(__tstate);
27000 if (PyErr_Occurred()) SWIG_fail;
27001 }
27002 {
27003 resultobj = wxPyMake_wxObject(result);
27004 }
27005 return resultobj;
27006 fail:
27007 return NULL;
27008 }
27009
27010
27011 static PyObject *_wrap_MenuBar_Replace(PyObject *self, PyObject *args, PyObject *kwargs) {
27012 PyObject *resultobj;
27013 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
27014 size_t arg2 ;
27015 wxMenu *arg3 = (wxMenu *) 0 ;
27016 wxString *arg4 = 0 ;
27017 wxMenu *result;
27018 bool temp4 = False ;
27019 PyObject * obj0 = 0 ;
27020 PyObject * obj1 = 0 ;
27021 PyObject * obj2 = 0 ;
27022 PyObject * obj3 = 0 ;
27023 char *kwnames[] = {
27024 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
27025 };
27026
27027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:MenuBar_Replace",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
27028 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27029 arg2 = (size_t) PyInt_AsLong(obj1);
27030 if (PyErr_Occurred()) SWIG_fail;
27031 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27032 {
27033 arg4 = wxString_in_helper(obj3);
27034 if (arg4 == NULL) SWIG_fail;
27035 temp4 = True;
27036 }
27037 {
27038 PyThreadState* __tstate = wxPyBeginAllowThreads();
27039 result = (wxMenu *)(arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
27040
27041 wxPyEndAllowThreads(__tstate);
27042 if (PyErr_Occurred()) SWIG_fail;
27043 }
27044 {
27045 resultobj = wxPyMake_wxObject(result);
27046 }
27047 {
27048 if (temp4)
27049 delete arg4;
27050 }
27051 return resultobj;
27052 fail:
27053 {
27054 if (temp4)
27055 delete arg4;
27056 }
27057 return NULL;
27058 }
27059
27060
27061 static PyObject *_wrap_MenuBar_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
27062 PyObject *resultobj;
27063 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
27064 size_t arg2 ;
27065 wxMenu *result;
27066 PyObject * obj0 = 0 ;
27067 PyObject * obj1 = 0 ;
27068 char *kwnames[] = {
27069 (char *) "self",(char *) "pos", NULL
27070 };
27071
27072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_Remove",kwnames,&obj0,&obj1)) goto fail;
27073 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27074 arg2 = (size_t) PyInt_AsLong(obj1);
27075 if (PyErr_Occurred()) SWIG_fail;
27076 {
27077 PyThreadState* __tstate = wxPyBeginAllowThreads();
27078 result = (wxMenu *)(arg1)->Remove(arg2);
27079
27080 wxPyEndAllowThreads(__tstate);
27081 if (PyErr_Occurred()) SWIG_fail;
27082 }
27083 {
27084 resultobj = wxPyMake_wxObject(result);
27085 }
27086 return resultobj;
27087 fail:
27088 return NULL;
27089 }
27090
27091
27092 static PyObject *_wrap_MenuBar_EnableTop(PyObject *self, PyObject *args, PyObject *kwargs) {
27093 PyObject *resultobj;
27094 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
27095 size_t arg2 ;
27096 bool arg3 ;
27097 PyObject * obj0 = 0 ;
27098 PyObject * obj1 = 0 ;
27099 PyObject * obj2 = 0 ;
27100 char *kwnames[] = {
27101 (char *) "self",(char *) "pos",(char *) "enable", NULL
27102 };
27103
27104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MenuBar_EnableTop",kwnames,&obj0,&obj1,&obj2)) goto fail;
27105 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27106 arg2 = (size_t) PyInt_AsLong(obj1);
27107 if (PyErr_Occurred()) SWIG_fail;
27108 arg3 = PyInt_AsLong(obj2) ? true : false;
27109 if (PyErr_Occurred()) SWIG_fail;
27110 {
27111 PyThreadState* __tstate = wxPyBeginAllowThreads();
27112 (arg1)->EnableTop(arg2,arg3);
27113
27114 wxPyEndAllowThreads(__tstate);
27115 if (PyErr_Occurred()) SWIG_fail;
27116 }
27117 Py_INCREF(Py_None); resultobj = Py_None;
27118 return resultobj;
27119 fail:
27120 return NULL;
27121 }
27122
27123
27124 static PyObject *_wrap_MenuBar_IsEnabledTop(PyObject *self, PyObject *args, PyObject *kwargs) {
27125 PyObject *resultobj;
27126 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
27127 size_t arg2 ;
27128 bool result;
27129 PyObject * obj0 = 0 ;
27130 PyObject * obj1 = 0 ;
27131 char *kwnames[] = {
27132 (char *) "self",(char *) "pos", NULL
27133 };
27134
27135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_IsEnabledTop",kwnames,&obj0,&obj1)) goto fail;
27136 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27137 arg2 = (size_t) PyInt_AsLong(obj1);
27138 if (PyErr_Occurred()) SWIG_fail;
27139 {
27140 PyThreadState* __tstate = wxPyBeginAllowThreads();
27141 result = (bool)((wxMenuBar const *)arg1)->IsEnabledTop(arg2);
27142
27143 wxPyEndAllowThreads(__tstate);
27144 if (PyErr_Occurred()) SWIG_fail;
27145 }
27146 resultobj = PyInt_FromLong((long)result);
27147 return resultobj;
27148 fail:
27149 return NULL;
27150 }
27151
27152
27153 static PyObject *_wrap_MenuBar_SetLabelTop(PyObject *self, PyObject *args, PyObject *kwargs) {
27154 PyObject *resultobj;
27155 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
27156 size_t arg2 ;
27157 wxString *arg3 = 0 ;
27158 bool temp3 = False ;
27159 PyObject * obj0 = 0 ;
27160 PyObject * obj1 = 0 ;
27161 PyObject * obj2 = 0 ;
27162 char *kwnames[] = {
27163 (char *) "self",(char *) "pos",(char *) "label", NULL
27164 };
27165
27166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MenuBar_SetLabelTop",kwnames,&obj0,&obj1,&obj2)) goto fail;
27167 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27168 arg2 = (size_t) PyInt_AsLong(obj1);
27169 if (PyErr_Occurred()) SWIG_fail;
27170 {
27171 arg3 = wxString_in_helper(obj2);
27172 if (arg3 == NULL) SWIG_fail;
27173 temp3 = True;
27174 }
27175 {
27176 PyThreadState* __tstate = wxPyBeginAllowThreads();
27177 (arg1)->SetLabelTop(arg2,(wxString const &)*arg3);
27178
27179 wxPyEndAllowThreads(__tstate);
27180 if (PyErr_Occurred()) SWIG_fail;
27181 }
27182 Py_INCREF(Py_None); resultobj = Py_None;
27183 {
27184 if (temp3)
27185 delete arg3;
27186 }
27187 return resultobj;
27188 fail:
27189 {
27190 if (temp3)
27191 delete arg3;
27192 }
27193 return NULL;
27194 }
27195
27196
27197 static PyObject *_wrap_MenuBar_GetLabelTop(PyObject *self, PyObject *args, PyObject *kwargs) {
27198 PyObject *resultobj;
27199 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
27200 size_t arg2 ;
27201 wxString result;
27202 PyObject * obj0 = 0 ;
27203 PyObject * obj1 = 0 ;
27204 char *kwnames[] = {
27205 (char *) "self",(char *) "pos", NULL
27206 };
27207
27208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_GetLabelTop",kwnames,&obj0,&obj1)) goto fail;
27209 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27210 arg2 = (size_t) PyInt_AsLong(obj1);
27211 if (PyErr_Occurred()) SWIG_fail;
27212 {
27213 PyThreadState* __tstate = wxPyBeginAllowThreads();
27214 result = ((wxMenuBar const *)arg1)->GetLabelTop(arg2);
27215
27216 wxPyEndAllowThreads(__tstate);
27217 if (PyErr_Occurred()) SWIG_fail;
27218 }
27219 {
27220 #if wxUSE_UNICODE
27221 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
27222 #else
27223 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
27224 #endif
27225 }
27226 return resultobj;
27227 fail:
27228 return NULL;
27229 }
27230
27231
27232 static PyObject *_wrap_MenuBar_FindMenuItem(PyObject *self, PyObject *args, PyObject *kwargs) {
27233 PyObject *resultobj;
27234 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
27235 wxString *arg2 = 0 ;
27236 wxString *arg3 = 0 ;
27237 int result;
27238 bool temp2 = False ;
27239 bool temp3 = False ;
27240 PyObject * obj0 = 0 ;
27241 PyObject * obj1 = 0 ;
27242 PyObject * obj2 = 0 ;
27243 char *kwnames[] = {
27244 (char *) "self",(char *) "menu",(char *) "item", NULL
27245 };
27246
27247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MenuBar_FindMenuItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
27248 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27249 {
27250 arg2 = wxString_in_helper(obj1);
27251 if (arg2 == NULL) SWIG_fail;
27252 temp2 = True;
27253 }
27254 {
27255 arg3 = wxString_in_helper(obj2);
27256 if (arg3 == NULL) SWIG_fail;
27257 temp3 = True;
27258 }
27259 {
27260 PyThreadState* __tstate = wxPyBeginAllowThreads();
27261 result = (int)((wxMenuBar const *)arg1)->FindMenuItem((wxString const &)*arg2,(wxString const &)*arg3);
27262
27263 wxPyEndAllowThreads(__tstate);
27264 if (PyErr_Occurred()) SWIG_fail;
27265 }
27266 resultobj = PyInt_FromLong((long)result);
27267 {
27268 if (temp2)
27269 delete arg2;
27270 }
27271 {
27272 if (temp3)
27273 delete arg3;
27274 }
27275 return resultobj;
27276 fail:
27277 {
27278 if (temp2)
27279 delete arg2;
27280 }
27281 {
27282 if (temp3)
27283 delete arg3;
27284 }
27285 return NULL;
27286 }
27287
27288
27289 static PyObject *_wrap_MenuBar_FindItemById(PyObject *self, PyObject *args, PyObject *kwargs) {
27290 PyObject *resultobj;
27291 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
27292 int arg2 ;
27293 wxMenuItem *result;
27294 PyObject * obj0 = 0 ;
27295 char *kwnames[] = {
27296 (char *) "self",(char *) "id", NULL
27297 };
27298
27299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:MenuBar_FindItemById",kwnames,&obj0,&arg2)) goto fail;
27300 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27301 {
27302 PyThreadState* __tstate = wxPyBeginAllowThreads();
27303 result = (wxMenuItem *)((wxMenuBar const *)arg1)->FindItem(arg2);
27304
27305 wxPyEndAllowThreads(__tstate);
27306 if (PyErr_Occurred()) SWIG_fail;
27307 }
27308 {
27309 resultobj = wxPyMake_wxObject(result);
27310 }
27311 return resultobj;
27312 fail:
27313 return NULL;
27314 }
27315
27316
27317 static PyObject *_wrap_MenuBar_FindMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
27318 PyObject *resultobj;
27319 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
27320 wxString *arg2 = 0 ;
27321 int result;
27322 bool temp2 = False ;
27323 PyObject * obj0 = 0 ;
27324 PyObject * obj1 = 0 ;
27325 char *kwnames[] = {
27326 (char *) "self",(char *) "title", NULL
27327 };
27328
27329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_FindMenu",kwnames,&obj0,&obj1)) goto fail;
27330 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27331 {
27332 arg2 = wxString_in_helper(obj1);
27333 if (arg2 == NULL) SWIG_fail;
27334 temp2 = True;
27335 }
27336 {
27337 PyThreadState* __tstate = wxPyBeginAllowThreads();
27338 result = (int)((wxMenuBar const *)arg1)->FindMenu((wxString const &)*arg2);
27339
27340 wxPyEndAllowThreads(__tstate);
27341 if (PyErr_Occurred()) SWIG_fail;
27342 }
27343 resultobj = PyInt_FromLong((long)result);
27344 {
27345 if (temp2)
27346 delete arg2;
27347 }
27348 return resultobj;
27349 fail:
27350 {
27351 if (temp2)
27352 delete arg2;
27353 }
27354 return NULL;
27355 }
27356
27357
27358 static PyObject *_wrap_MenuBar_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
27359 PyObject *resultobj;
27360 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
27361 int arg2 ;
27362 bool arg3 ;
27363 PyObject * obj0 = 0 ;
27364 PyObject * obj2 = 0 ;
27365 char *kwnames[] = {
27366 (char *) "self",(char *) "id",(char *) "enable", NULL
27367 };
27368
27369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:MenuBar_Enable",kwnames,&obj0,&arg2,&obj2)) goto fail;
27370 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27371 arg3 = PyInt_AsLong(obj2) ? true : false;
27372 if (PyErr_Occurred()) SWIG_fail;
27373 {
27374 PyThreadState* __tstate = wxPyBeginAllowThreads();
27375 (arg1)->Enable(arg2,arg3);
27376
27377 wxPyEndAllowThreads(__tstate);
27378 if (PyErr_Occurred()) SWIG_fail;
27379 }
27380 Py_INCREF(Py_None); resultobj = Py_None;
27381 return resultobj;
27382 fail:
27383 return NULL;
27384 }
27385
27386
27387 static PyObject *_wrap_MenuBar_Check(PyObject *self, PyObject *args, PyObject *kwargs) {
27388 PyObject *resultobj;
27389 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
27390 int arg2 ;
27391 bool arg3 ;
27392 PyObject * obj0 = 0 ;
27393 PyObject * obj2 = 0 ;
27394 char *kwnames[] = {
27395 (char *) "self",(char *) "id",(char *) "check", NULL
27396 };
27397
27398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:MenuBar_Check",kwnames,&obj0,&arg2,&obj2)) goto fail;
27399 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27400 arg3 = PyInt_AsLong(obj2) ? true : false;
27401 if (PyErr_Occurred()) SWIG_fail;
27402 {
27403 PyThreadState* __tstate = wxPyBeginAllowThreads();
27404 (arg1)->Check(arg2,arg3);
27405
27406 wxPyEndAllowThreads(__tstate);
27407 if (PyErr_Occurred()) SWIG_fail;
27408 }
27409 Py_INCREF(Py_None); resultobj = Py_None;
27410 return resultobj;
27411 fail:
27412 return NULL;
27413 }
27414
27415
27416 static PyObject *_wrap_MenuBar_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
27417 PyObject *resultobj;
27418 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
27419 int arg2 ;
27420 bool result;
27421 PyObject * obj0 = 0 ;
27422 char *kwnames[] = {
27423 (char *) "self",(char *) "id", NULL
27424 };
27425
27426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:MenuBar_IsChecked",kwnames,&obj0,&arg2)) goto fail;
27427 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27428 {
27429 PyThreadState* __tstate = wxPyBeginAllowThreads();
27430 result = (bool)((wxMenuBar const *)arg1)->IsChecked(arg2);
27431
27432 wxPyEndAllowThreads(__tstate);
27433 if (PyErr_Occurred()) SWIG_fail;
27434 }
27435 resultobj = PyInt_FromLong((long)result);
27436 return resultobj;
27437 fail:
27438 return NULL;
27439 }
27440
27441
27442 static PyObject *_wrap_MenuBar_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
27443 PyObject *resultobj;
27444 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
27445 int arg2 ;
27446 bool result;
27447 PyObject * obj0 = 0 ;
27448 char *kwnames[] = {
27449 (char *) "self",(char *) "id", NULL
27450 };
27451
27452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:MenuBar_IsEnabled",kwnames,&obj0,&arg2)) goto fail;
27453 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27454 {
27455 PyThreadState* __tstate = wxPyBeginAllowThreads();
27456 result = (bool)((wxMenuBar const *)arg1)->IsEnabled(arg2);
27457
27458 wxPyEndAllowThreads(__tstate);
27459 if (PyErr_Occurred()) SWIG_fail;
27460 }
27461 resultobj = PyInt_FromLong((long)result);
27462 return resultobj;
27463 fail:
27464 return NULL;
27465 }
27466
27467
27468 static PyObject *_wrap_MenuBar_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
27469 PyObject *resultobj;
27470 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
27471 int arg2 ;
27472 wxString *arg3 = 0 ;
27473 bool temp3 = False ;
27474 PyObject * obj0 = 0 ;
27475 PyObject * obj2 = 0 ;
27476 char *kwnames[] = {
27477 (char *) "self",(char *) "id",(char *) "label", NULL
27478 };
27479
27480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:MenuBar_SetLabel",kwnames,&obj0,&arg2,&obj2)) goto fail;
27481 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27482 {
27483 arg3 = wxString_in_helper(obj2);
27484 if (arg3 == NULL) SWIG_fail;
27485 temp3 = True;
27486 }
27487 {
27488 PyThreadState* __tstate = wxPyBeginAllowThreads();
27489 (arg1)->SetLabel(arg2,(wxString const &)*arg3);
27490
27491 wxPyEndAllowThreads(__tstate);
27492 if (PyErr_Occurred()) SWIG_fail;
27493 }
27494 Py_INCREF(Py_None); resultobj = Py_None;
27495 {
27496 if (temp3)
27497 delete arg3;
27498 }
27499 return resultobj;
27500 fail:
27501 {
27502 if (temp3)
27503 delete arg3;
27504 }
27505 return NULL;
27506 }
27507
27508
27509 static PyObject *_wrap_MenuBar_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
27510 PyObject *resultobj;
27511 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
27512 int arg2 ;
27513 wxString result;
27514 PyObject * obj0 = 0 ;
27515 char *kwnames[] = {
27516 (char *) "self",(char *) "id", NULL
27517 };
27518
27519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:MenuBar_GetLabel",kwnames,&obj0,&arg2)) goto fail;
27520 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27521 {
27522 PyThreadState* __tstate = wxPyBeginAllowThreads();
27523 result = ((wxMenuBar const *)arg1)->GetLabel(arg2);
27524
27525 wxPyEndAllowThreads(__tstate);
27526 if (PyErr_Occurred()) SWIG_fail;
27527 }
27528 {
27529 #if wxUSE_UNICODE
27530 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
27531 #else
27532 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
27533 #endif
27534 }
27535 return resultobj;
27536 fail:
27537 return NULL;
27538 }
27539
27540
27541 static PyObject *_wrap_MenuBar_SetHelpString(PyObject *self, PyObject *args, PyObject *kwargs) {
27542 PyObject *resultobj;
27543 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
27544 int arg2 ;
27545 wxString *arg3 = 0 ;
27546 bool temp3 = False ;
27547 PyObject * obj0 = 0 ;
27548 PyObject * obj2 = 0 ;
27549 char *kwnames[] = {
27550 (char *) "self",(char *) "id",(char *) "helpString", NULL
27551 };
27552
27553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:MenuBar_SetHelpString",kwnames,&obj0,&arg2,&obj2)) goto fail;
27554 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27555 {
27556 arg3 = wxString_in_helper(obj2);
27557 if (arg3 == NULL) SWIG_fail;
27558 temp3 = True;
27559 }
27560 {
27561 PyThreadState* __tstate = wxPyBeginAllowThreads();
27562 (arg1)->SetHelpString(arg2,(wxString const &)*arg3);
27563
27564 wxPyEndAllowThreads(__tstate);
27565 if (PyErr_Occurred()) SWIG_fail;
27566 }
27567 Py_INCREF(Py_None); resultobj = Py_None;
27568 {
27569 if (temp3)
27570 delete arg3;
27571 }
27572 return resultobj;
27573 fail:
27574 {
27575 if (temp3)
27576 delete arg3;
27577 }
27578 return NULL;
27579 }
27580
27581
27582 static PyObject *_wrap_MenuBar_GetHelpString(PyObject *self, PyObject *args, PyObject *kwargs) {
27583 PyObject *resultobj;
27584 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
27585 int arg2 ;
27586 wxString result;
27587 PyObject * obj0 = 0 ;
27588 char *kwnames[] = {
27589 (char *) "self",(char *) "id", NULL
27590 };
27591
27592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:MenuBar_GetHelpString",kwnames,&obj0,&arg2)) goto fail;
27593 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27594 {
27595 PyThreadState* __tstate = wxPyBeginAllowThreads();
27596 result = ((wxMenuBar const *)arg1)->GetHelpString(arg2);
27597
27598 wxPyEndAllowThreads(__tstate);
27599 if (PyErr_Occurred()) SWIG_fail;
27600 }
27601 {
27602 #if wxUSE_UNICODE
27603 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
27604 #else
27605 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
27606 #endif
27607 }
27608 return resultobj;
27609 fail:
27610 return NULL;
27611 }
27612
27613
27614 static PyObject *_wrap_MenuBar_GetFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
27615 PyObject *resultobj;
27616 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
27617 wxFrame *result;
27618 PyObject * obj0 = 0 ;
27619 char *kwnames[] = {
27620 (char *) "self", NULL
27621 };
27622
27623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuBar_GetFrame",kwnames,&obj0)) goto fail;
27624 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27625 {
27626 PyThreadState* __tstate = wxPyBeginAllowThreads();
27627 result = (wxFrame *)((wxMenuBar const *)arg1)->GetFrame();
27628
27629 wxPyEndAllowThreads(__tstate);
27630 if (PyErr_Occurred()) SWIG_fail;
27631 }
27632 {
27633 resultobj = wxPyMake_wxObject(result);
27634 }
27635 return resultobj;
27636 fail:
27637 return NULL;
27638 }
27639
27640
27641 static PyObject *_wrap_MenuBar_IsAttached(PyObject *self, PyObject *args, PyObject *kwargs) {
27642 PyObject *resultobj;
27643 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
27644 bool result;
27645 PyObject * obj0 = 0 ;
27646 char *kwnames[] = {
27647 (char *) "self", NULL
27648 };
27649
27650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuBar_IsAttached",kwnames,&obj0)) goto fail;
27651 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27652 {
27653 PyThreadState* __tstate = wxPyBeginAllowThreads();
27654 result = (bool)((wxMenuBar const *)arg1)->IsAttached();
27655
27656 wxPyEndAllowThreads(__tstate);
27657 if (PyErr_Occurred()) SWIG_fail;
27658 }
27659 resultobj = PyInt_FromLong((long)result);
27660 return resultobj;
27661 fail:
27662 return NULL;
27663 }
27664
27665
27666 static PyObject *_wrap_MenuBar_Attach(PyObject *self, PyObject *args, PyObject *kwargs) {
27667 PyObject *resultobj;
27668 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
27669 wxFrame *arg2 = (wxFrame *) 0 ;
27670 PyObject * obj0 = 0 ;
27671 PyObject * obj1 = 0 ;
27672 char *kwnames[] = {
27673 (char *) "self",(char *) "frame", NULL
27674 };
27675
27676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_Attach",kwnames,&obj0,&obj1)) goto fail;
27677 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27678 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27679 {
27680 PyThreadState* __tstate = wxPyBeginAllowThreads();
27681 (arg1)->Attach(arg2);
27682
27683 wxPyEndAllowThreads(__tstate);
27684 if (PyErr_Occurred()) SWIG_fail;
27685 }
27686 Py_INCREF(Py_None); resultobj = Py_None;
27687 return resultobj;
27688 fail:
27689 return NULL;
27690 }
27691
27692
27693 static PyObject *_wrap_MenuBar_Detach(PyObject *self, PyObject *args, PyObject *kwargs) {
27694 PyObject *resultobj;
27695 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
27696 PyObject * obj0 = 0 ;
27697 char *kwnames[] = {
27698 (char *) "self", NULL
27699 };
27700
27701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuBar_Detach",kwnames,&obj0)) goto fail;
27702 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27703 {
27704 PyThreadState* __tstate = wxPyBeginAllowThreads();
27705 (arg1)->Detach();
27706
27707 wxPyEndAllowThreads(__tstate);
27708 if (PyErr_Occurred()) SWIG_fail;
27709 }
27710 Py_INCREF(Py_None); resultobj = Py_None;
27711 return resultobj;
27712 fail:
27713 return NULL;
27714 }
27715
27716
27717 static PyObject * MenuBar_swigregister(PyObject *self, PyObject *args) {
27718 PyObject *obj;
27719 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27720 SWIG_TypeClientData(SWIGTYPE_p_wxMenuBar, obj);
27721 Py_INCREF(obj);
27722 return Py_BuildValue((char *)"");
27723 }
27724 static PyObject *_wrap_new_MenuItem(PyObject *self, PyObject *args, PyObject *kwargs) {
27725 PyObject *resultobj;
27726 wxMenu *arg1 = (wxMenu *) NULL ;
27727 int arg2 = (int) wxID_SEPARATOR ;
27728 wxString const &arg3_defvalue = wxPyEmptyString ;
27729 wxString *arg3 = (wxString *) &arg3_defvalue ;
27730 wxString const &arg4_defvalue = wxPyEmptyString ;
27731 wxString *arg4 = (wxString *) &arg4_defvalue ;
27732 int arg5 = (int) wxITEM_NORMAL ;
27733 wxMenu *arg6 = (wxMenu *) NULL ;
27734 wxMenuItem *result;
27735 bool temp3 = False ;
27736 bool temp4 = False ;
27737 PyObject * obj0 = 0 ;
27738 PyObject * obj2 = 0 ;
27739 PyObject * obj3 = 0 ;
27740 PyObject * obj5 = 0 ;
27741 char *kwnames[] = {
27742 (char *) "parentMenu",(char *) "id",(char *) "text",(char *) "help",(char *) "kind",(char *) "subMenu", NULL
27743 };
27744
27745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OiOOiO:new_MenuItem",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
27746 if (obj0) {
27747 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27748 }
27749 if (obj2) {
27750 {
27751 arg3 = wxString_in_helper(obj2);
27752 if (arg3 == NULL) SWIG_fail;
27753 temp3 = True;
27754 }
27755 }
27756 if (obj3) {
27757 {
27758 arg4 = wxString_in_helper(obj3);
27759 if (arg4 == NULL) SWIG_fail;
27760 temp4 = True;
27761 }
27762 }
27763 if (obj5) {
27764 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27765 }
27766 {
27767 PyThreadState* __tstate = wxPyBeginAllowThreads();
27768 result = (wxMenuItem *)new wxMenuItem(arg1,arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxItemKind )arg5,arg6);
27769
27770 wxPyEndAllowThreads(__tstate);
27771 if (PyErr_Occurred()) SWIG_fail;
27772 }
27773 {
27774 resultobj = wxPyMake_wxObject(result);
27775 }
27776 {
27777 if (temp3)
27778 delete arg3;
27779 }
27780 {
27781 if (temp4)
27782 delete arg4;
27783 }
27784 return resultobj;
27785 fail:
27786 {
27787 if (temp3)
27788 delete arg3;
27789 }
27790 {
27791 if (temp4)
27792 delete arg4;
27793 }
27794 return NULL;
27795 }
27796
27797
27798 static PyObject *_wrap_MenuItem_GetMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
27799 PyObject *resultobj;
27800 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
27801 wxMenu *result;
27802 PyObject * obj0 = 0 ;
27803 char *kwnames[] = {
27804 (char *) "self", NULL
27805 };
27806
27807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetMenu",kwnames,&obj0)) goto fail;
27808 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27809 {
27810 PyThreadState* __tstate = wxPyBeginAllowThreads();
27811 result = (wxMenu *)((wxMenuItem const *)arg1)->GetMenu();
27812
27813 wxPyEndAllowThreads(__tstate);
27814 if (PyErr_Occurred()) SWIG_fail;
27815 }
27816 {
27817 resultobj = wxPyMake_wxObject(result);
27818 }
27819 return resultobj;
27820 fail:
27821 return NULL;
27822 }
27823
27824
27825 static PyObject *_wrap_MenuItem_SetMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
27826 PyObject *resultobj;
27827 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
27828 wxMenu *arg2 = (wxMenu *) 0 ;
27829 PyObject * obj0 = 0 ;
27830 PyObject * obj1 = 0 ;
27831 char *kwnames[] = {
27832 (char *) "self",(char *) "menu", NULL
27833 };
27834
27835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetMenu",kwnames,&obj0,&obj1)) goto fail;
27836 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27837 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27838 {
27839 PyThreadState* __tstate = wxPyBeginAllowThreads();
27840 (arg1)->SetMenu(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_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
27853 PyObject *resultobj;
27854 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
27855 int arg2 ;
27856 PyObject * obj0 = 0 ;
27857 char *kwnames[] = {
27858 (char *) "self",(char *) "id", NULL
27859 };
27860
27861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:MenuItem_SetId",kwnames,&obj0,&arg2)) 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 (arg1)->SetId(arg2);
27866
27867 wxPyEndAllowThreads(__tstate);
27868 if (PyErr_Occurred()) SWIG_fail;
27869 }
27870 Py_INCREF(Py_None); resultobj = Py_None;
27871 return resultobj;
27872 fail:
27873 return NULL;
27874 }
27875
27876
27877 static PyObject *_wrap_MenuItem_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
27878 PyObject *resultobj;
27879 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
27880 int result;
27881 PyObject * obj0 = 0 ;
27882 char *kwnames[] = {
27883 (char *) "self", NULL
27884 };
27885
27886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetId",kwnames,&obj0)) goto fail;
27887 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27888 {
27889 PyThreadState* __tstate = wxPyBeginAllowThreads();
27890 result = (int)((wxMenuItem const *)arg1)->GetId();
27891
27892 wxPyEndAllowThreads(__tstate);
27893 if (PyErr_Occurred()) SWIG_fail;
27894 }
27895 resultobj = PyInt_FromLong((long)result);
27896 return resultobj;
27897 fail:
27898 return NULL;
27899 }
27900
27901
27902 static PyObject *_wrap_MenuItem_IsSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
27903 PyObject *resultobj;
27904 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
27905 bool result;
27906 PyObject * obj0 = 0 ;
27907 char *kwnames[] = {
27908 (char *) "self", NULL
27909 };
27910
27911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_IsSeparator",kwnames,&obj0)) goto fail;
27912 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27913 {
27914 PyThreadState* __tstate = wxPyBeginAllowThreads();
27915 result = (bool)((wxMenuItem const *)arg1)->IsSeparator();
27916
27917 wxPyEndAllowThreads(__tstate);
27918 if (PyErr_Occurred()) SWIG_fail;
27919 }
27920 resultobj = PyInt_FromLong((long)result);
27921 return resultobj;
27922 fail:
27923 return NULL;
27924 }
27925
27926
27927 static PyObject *_wrap_MenuItem_SetText(PyObject *self, PyObject *args, PyObject *kwargs) {
27928 PyObject *resultobj;
27929 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
27930 wxString *arg2 = 0 ;
27931 bool temp2 = False ;
27932 PyObject * obj0 = 0 ;
27933 PyObject * obj1 = 0 ;
27934 char *kwnames[] = {
27935 (char *) "self",(char *) "str", NULL
27936 };
27937
27938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetText",kwnames,&obj0,&obj1)) goto fail;
27939 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27940 {
27941 arg2 = wxString_in_helper(obj1);
27942 if (arg2 == NULL) SWIG_fail;
27943 temp2 = True;
27944 }
27945 {
27946 PyThreadState* __tstate = wxPyBeginAllowThreads();
27947 (arg1)->SetText((wxString const &)*arg2);
27948
27949 wxPyEndAllowThreads(__tstate);
27950 if (PyErr_Occurred()) SWIG_fail;
27951 }
27952 Py_INCREF(Py_None); resultobj = Py_None;
27953 {
27954 if (temp2)
27955 delete arg2;
27956 }
27957 return resultobj;
27958 fail:
27959 {
27960 if (temp2)
27961 delete arg2;
27962 }
27963 return NULL;
27964 }
27965
27966
27967 static PyObject *_wrap_MenuItem_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
27968 PyObject *resultobj;
27969 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
27970 wxString result;
27971 PyObject * obj0 = 0 ;
27972 char *kwnames[] = {
27973 (char *) "self", NULL
27974 };
27975
27976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetLabel",kwnames,&obj0)) goto fail;
27977 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27978 {
27979 PyThreadState* __tstate = wxPyBeginAllowThreads();
27980 result = ((wxMenuItem const *)arg1)->GetLabel();
27981
27982 wxPyEndAllowThreads(__tstate);
27983 if (PyErr_Occurred()) SWIG_fail;
27984 }
27985 {
27986 #if wxUSE_UNICODE
27987 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
27988 #else
27989 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
27990 #endif
27991 }
27992 return resultobj;
27993 fail:
27994 return NULL;
27995 }
27996
27997
27998 static PyObject *_wrap_MenuItem_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
27999 PyObject *resultobj;
28000 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
28001 wxString *result;
28002 PyObject * obj0 = 0 ;
28003 char *kwnames[] = {
28004 (char *) "self", NULL
28005 };
28006
28007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetText",kwnames,&obj0)) goto fail;
28008 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28009 {
28010 PyThreadState* __tstate = wxPyBeginAllowThreads();
28011 {
28012 wxString const &_result_ref = ((wxMenuItem const *)arg1)->GetText();
28013 result = (wxString *) &_result_ref;
28014 }
28015
28016 wxPyEndAllowThreads(__tstate);
28017 if (PyErr_Occurred()) SWIG_fail;
28018 }
28019 {
28020 #if wxUSE_UNICODE
28021 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
28022 #else
28023 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
28024 #endif
28025 }
28026 return resultobj;
28027 fail:
28028 return NULL;
28029 }
28030
28031
28032 static PyObject *_wrap_MenuItem_GetLabelFromText(PyObject *self, PyObject *args, PyObject *kwargs) {
28033 PyObject *resultobj;
28034 wxString *arg1 = 0 ;
28035 wxString result;
28036 bool temp1 = False ;
28037 PyObject * obj0 = 0 ;
28038 char *kwnames[] = {
28039 (char *) "text", NULL
28040 };
28041
28042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetLabelFromText",kwnames,&obj0)) goto fail;
28043 {
28044 arg1 = wxString_in_helper(obj0);
28045 if (arg1 == NULL) SWIG_fail;
28046 temp1 = True;
28047 }
28048 {
28049 PyThreadState* __tstate = wxPyBeginAllowThreads();
28050 result = wxMenuItem::GetLabelFromText((wxString const &)*arg1);
28051
28052 wxPyEndAllowThreads(__tstate);
28053 if (PyErr_Occurred()) SWIG_fail;
28054 }
28055 {
28056 #if wxUSE_UNICODE
28057 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
28058 #else
28059 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
28060 #endif
28061 }
28062 {
28063 if (temp1)
28064 delete arg1;
28065 }
28066 return resultobj;
28067 fail:
28068 {
28069 if (temp1)
28070 delete arg1;
28071 }
28072 return NULL;
28073 }
28074
28075
28076 static PyObject *_wrap_MenuItem_GetKind(PyObject *self, PyObject *args, PyObject *kwargs) {
28077 PyObject *resultobj;
28078 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
28079 int result;
28080 PyObject * obj0 = 0 ;
28081 char *kwnames[] = {
28082 (char *) "self", NULL
28083 };
28084
28085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetKind",kwnames,&obj0)) goto fail;
28086 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28087 {
28088 PyThreadState* __tstate = wxPyBeginAllowThreads();
28089 result = (int)((wxMenuItem const *)arg1)->GetKind();
28090
28091 wxPyEndAllowThreads(__tstate);
28092 if (PyErr_Occurred()) SWIG_fail;
28093 }
28094 resultobj = PyInt_FromLong((long)result);
28095 return resultobj;
28096 fail:
28097 return NULL;
28098 }
28099
28100
28101 static PyObject *_wrap_MenuItem_SetCheckable(PyObject *self, PyObject *args, PyObject *kwargs) {
28102 PyObject *resultobj;
28103 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
28104 bool arg2 ;
28105 PyObject * obj0 = 0 ;
28106 PyObject * obj1 = 0 ;
28107 char *kwnames[] = {
28108 (char *) "self",(char *) "checkable", NULL
28109 };
28110
28111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetCheckable",kwnames,&obj0,&obj1)) goto fail;
28112 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28113 arg2 = PyInt_AsLong(obj1) ? true : false;
28114 if (PyErr_Occurred()) SWIG_fail;
28115 {
28116 PyThreadState* __tstate = wxPyBeginAllowThreads();
28117 (arg1)->SetCheckable(arg2);
28118
28119 wxPyEndAllowThreads(__tstate);
28120 if (PyErr_Occurred()) SWIG_fail;
28121 }
28122 Py_INCREF(Py_None); resultobj = Py_None;
28123 return resultobj;
28124 fail:
28125 return NULL;
28126 }
28127
28128
28129 static PyObject *_wrap_MenuItem_IsCheckable(PyObject *self, PyObject *args, PyObject *kwargs) {
28130 PyObject *resultobj;
28131 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
28132 bool result;
28133 PyObject * obj0 = 0 ;
28134 char *kwnames[] = {
28135 (char *) "self", NULL
28136 };
28137
28138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_IsCheckable",kwnames,&obj0)) goto fail;
28139 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28140 {
28141 PyThreadState* __tstate = wxPyBeginAllowThreads();
28142 result = (bool)((wxMenuItem const *)arg1)->IsCheckable();
28143
28144 wxPyEndAllowThreads(__tstate);
28145 if (PyErr_Occurred()) SWIG_fail;
28146 }
28147 resultobj = PyInt_FromLong((long)result);
28148 return resultobj;
28149 fail:
28150 return NULL;
28151 }
28152
28153
28154 static PyObject *_wrap_MenuItem_IsSubMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
28155 PyObject *resultobj;
28156 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
28157 bool result;
28158 PyObject * obj0 = 0 ;
28159 char *kwnames[] = {
28160 (char *) "self", NULL
28161 };
28162
28163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_IsSubMenu",kwnames,&obj0)) goto fail;
28164 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28165 {
28166 PyThreadState* __tstate = wxPyBeginAllowThreads();
28167 result = (bool)((wxMenuItem const *)arg1)->IsSubMenu();
28168
28169 wxPyEndAllowThreads(__tstate);
28170 if (PyErr_Occurred()) SWIG_fail;
28171 }
28172 resultobj = PyInt_FromLong((long)result);
28173 return resultobj;
28174 fail:
28175 return NULL;
28176 }
28177
28178
28179 static PyObject *_wrap_MenuItem_SetSubMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
28180 PyObject *resultobj;
28181 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
28182 wxMenu *arg2 = (wxMenu *) 0 ;
28183 PyObject * obj0 = 0 ;
28184 PyObject * obj1 = 0 ;
28185 char *kwnames[] = {
28186 (char *) "self",(char *) "menu", NULL
28187 };
28188
28189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetSubMenu",kwnames,&obj0,&obj1)) goto fail;
28190 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28191 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28192 {
28193 PyThreadState* __tstate = wxPyBeginAllowThreads();
28194 (arg1)->SetSubMenu(arg2);
28195
28196 wxPyEndAllowThreads(__tstate);
28197 if (PyErr_Occurred()) SWIG_fail;
28198 }
28199 Py_INCREF(Py_None); resultobj = Py_None;
28200 return resultobj;
28201 fail:
28202 return NULL;
28203 }
28204
28205
28206 static PyObject *_wrap_MenuItem_GetSubMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
28207 PyObject *resultobj;
28208 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
28209 wxMenu *result;
28210 PyObject * obj0 = 0 ;
28211 char *kwnames[] = {
28212 (char *) "self", NULL
28213 };
28214
28215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetSubMenu",kwnames,&obj0)) goto fail;
28216 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28217 {
28218 PyThreadState* __tstate = wxPyBeginAllowThreads();
28219 result = (wxMenu *)((wxMenuItem const *)arg1)->GetSubMenu();
28220
28221 wxPyEndAllowThreads(__tstate);
28222 if (PyErr_Occurred()) SWIG_fail;
28223 }
28224 {
28225 resultobj = wxPyMake_wxObject(result);
28226 }
28227 return resultobj;
28228 fail:
28229 return NULL;
28230 }
28231
28232
28233 static PyObject *_wrap_MenuItem_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
28234 PyObject *resultobj;
28235 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
28236 bool arg2 = (bool) True ;
28237 PyObject * obj0 = 0 ;
28238 PyObject * obj1 = 0 ;
28239 char *kwnames[] = {
28240 (char *) "self",(char *) "enable", NULL
28241 };
28242
28243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MenuItem_Enable",kwnames,&obj0,&obj1)) goto fail;
28244 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28245 if (obj1) {
28246 arg2 = PyInt_AsLong(obj1) ? true : false;
28247 if (PyErr_Occurred()) SWIG_fail;
28248 }
28249 {
28250 PyThreadState* __tstate = wxPyBeginAllowThreads();
28251 (arg1)->Enable(arg2);
28252
28253 wxPyEndAllowThreads(__tstate);
28254 if (PyErr_Occurred()) SWIG_fail;
28255 }
28256 Py_INCREF(Py_None); resultobj = Py_None;
28257 return resultobj;
28258 fail:
28259 return NULL;
28260 }
28261
28262
28263 static PyObject *_wrap_MenuItem_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
28264 PyObject *resultobj;
28265 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
28266 bool result;
28267 PyObject * obj0 = 0 ;
28268 char *kwnames[] = {
28269 (char *) "self", NULL
28270 };
28271
28272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_IsEnabled",kwnames,&obj0)) goto fail;
28273 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28274 {
28275 PyThreadState* __tstate = wxPyBeginAllowThreads();
28276 result = (bool)((wxMenuItem const *)arg1)->IsEnabled();
28277
28278 wxPyEndAllowThreads(__tstate);
28279 if (PyErr_Occurred()) SWIG_fail;
28280 }
28281 resultobj = PyInt_FromLong((long)result);
28282 return resultobj;
28283 fail:
28284 return NULL;
28285 }
28286
28287
28288 static PyObject *_wrap_MenuItem_Check(PyObject *self, PyObject *args, PyObject *kwargs) {
28289 PyObject *resultobj;
28290 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
28291 bool arg2 = (bool) True ;
28292 PyObject * obj0 = 0 ;
28293 PyObject * obj1 = 0 ;
28294 char *kwnames[] = {
28295 (char *) "self",(char *) "check", NULL
28296 };
28297
28298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MenuItem_Check",kwnames,&obj0,&obj1)) goto fail;
28299 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28300 if (obj1) {
28301 arg2 = PyInt_AsLong(obj1) ? true : false;
28302 if (PyErr_Occurred()) SWIG_fail;
28303 }
28304 {
28305 PyThreadState* __tstate = wxPyBeginAllowThreads();
28306 (arg1)->Check(arg2);
28307
28308 wxPyEndAllowThreads(__tstate);
28309 if (PyErr_Occurred()) SWIG_fail;
28310 }
28311 Py_INCREF(Py_None); resultobj = Py_None;
28312 return resultobj;
28313 fail:
28314 return NULL;
28315 }
28316
28317
28318 static PyObject *_wrap_MenuItem_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
28319 PyObject *resultobj;
28320 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
28321 bool result;
28322 PyObject * obj0 = 0 ;
28323 char *kwnames[] = {
28324 (char *) "self", NULL
28325 };
28326
28327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_IsChecked",kwnames,&obj0)) goto fail;
28328 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28329 {
28330 PyThreadState* __tstate = wxPyBeginAllowThreads();
28331 result = (bool)((wxMenuItem const *)arg1)->IsChecked();
28332
28333 wxPyEndAllowThreads(__tstate);
28334 if (PyErr_Occurred()) SWIG_fail;
28335 }
28336 resultobj = PyInt_FromLong((long)result);
28337 return resultobj;
28338 fail:
28339 return NULL;
28340 }
28341
28342
28343 static PyObject *_wrap_MenuItem_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
28344 PyObject *resultobj;
28345 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
28346 PyObject * obj0 = 0 ;
28347 char *kwnames[] = {
28348 (char *) "self", NULL
28349 };
28350
28351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_Toggle",kwnames,&obj0)) goto fail;
28352 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28353 {
28354 PyThreadState* __tstate = wxPyBeginAllowThreads();
28355 (arg1)->Toggle();
28356
28357 wxPyEndAllowThreads(__tstate);
28358 if (PyErr_Occurred()) SWIG_fail;
28359 }
28360 Py_INCREF(Py_None); resultobj = Py_None;
28361 return resultobj;
28362 fail:
28363 return NULL;
28364 }
28365
28366
28367 static PyObject *_wrap_MenuItem_SetHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
28368 PyObject *resultobj;
28369 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
28370 wxString *arg2 = 0 ;
28371 bool temp2 = False ;
28372 PyObject * obj0 = 0 ;
28373 PyObject * obj1 = 0 ;
28374 char *kwnames[] = {
28375 (char *) "self",(char *) "str", NULL
28376 };
28377
28378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetHelp",kwnames,&obj0,&obj1)) goto fail;
28379 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28380 {
28381 arg2 = wxString_in_helper(obj1);
28382 if (arg2 == NULL) SWIG_fail;
28383 temp2 = True;
28384 }
28385 {
28386 PyThreadState* __tstate = wxPyBeginAllowThreads();
28387 (arg1)->SetHelp((wxString const &)*arg2);
28388
28389 wxPyEndAllowThreads(__tstate);
28390 if (PyErr_Occurred()) SWIG_fail;
28391 }
28392 Py_INCREF(Py_None); resultobj = Py_None;
28393 {
28394 if (temp2)
28395 delete arg2;
28396 }
28397 return resultobj;
28398 fail:
28399 {
28400 if (temp2)
28401 delete arg2;
28402 }
28403 return NULL;
28404 }
28405
28406
28407 static PyObject *_wrap_MenuItem_GetHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
28408 PyObject *resultobj;
28409 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
28410 wxString *result;
28411 PyObject * obj0 = 0 ;
28412 char *kwnames[] = {
28413 (char *) "self", NULL
28414 };
28415
28416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetHelp",kwnames,&obj0)) goto fail;
28417 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28418 {
28419 PyThreadState* __tstate = wxPyBeginAllowThreads();
28420 {
28421 wxString const &_result_ref = ((wxMenuItem const *)arg1)->GetHelp();
28422 result = (wxString *) &_result_ref;
28423 }
28424
28425 wxPyEndAllowThreads(__tstate);
28426 if (PyErr_Occurred()) SWIG_fail;
28427 }
28428 {
28429 #if wxUSE_UNICODE
28430 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
28431 #else
28432 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
28433 #endif
28434 }
28435 return resultobj;
28436 fail:
28437 return NULL;
28438 }
28439
28440
28441 static PyObject *_wrap_MenuItem_GetAccel(PyObject *self, PyObject *args, PyObject *kwargs) {
28442 PyObject *resultobj;
28443 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
28444 wxAcceleratorEntry *result;
28445 PyObject * obj0 = 0 ;
28446 char *kwnames[] = {
28447 (char *) "self", NULL
28448 };
28449
28450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetAccel",kwnames,&obj0)) goto fail;
28451 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28452 {
28453 PyThreadState* __tstate = wxPyBeginAllowThreads();
28454 result = (wxAcceleratorEntry *)((wxMenuItem const *)arg1)->GetAccel();
28455
28456 wxPyEndAllowThreads(__tstate);
28457 if (PyErr_Occurred()) SWIG_fail;
28458 }
28459 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxAcceleratorEntry, 0);
28460 return resultobj;
28461 fail:
28462 return NULL;
28463 }
28464
28465
28466 static PyObject *_wrap_MenuItem_SetAccel(PyObject *self, PyObject *args, PyObject *kwargs) {
28467 PyObject *resultobj;
28468 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
28469 wxAcceleratorEntry *arg2 = (wxAcceleratorEntry *) 0 ;
28470 PyObject * obj0 = 0 ;
28471 PyObject * obj1 = 0 ;
28472 char *kwnames[] = {
28473 (char *) "self",(char *) "accel", NULL
28474 };
28475
28476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetAccel",kwnames,&obj0,&obj1)) goto fail;
28477 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28478 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxAcceleratorEntry,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28479 {
28480 PyThreadState* __tstate = wxPyBeginAllowThreads();
28481 (arg1)->SetAccel(arg2);
28482
28483 wxPyEndAllowThreads(__tstate);
28484 if (PyErr_Occurred()) SWIG_fail;
28485 }
28486 Py_INCREF(Py_None); resultobj = Py_None;
28487 return resultobj;
28488 fail:
28489 return NULL;
28490 }
28491
28492
28493 static PyObject *_wrap_MenuItem_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
28494 PyObject *resultobj;
28495 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
28496 wxFont *arg2 = 0 ;
28497 PyObject * obj0 = 0 ;
28498 PyObject * obj1 = 0 ;
28499 char *kwnames[] = {
28500 (char *) "self",(char *) "font", NULL
28501 };
28502
28503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetFont",kwnames,&obj0,&obj1)) goto fail;
28504 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28505 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28506 if (arg2 == NULL) {
28507 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
28508 }
28509 {
28510 PyThreadState* __tstate = wxPyBeginAllowThreads();
28511 (arg1)->SetFont((wxFont const &)*arg2);
28512
28513 wxPyEndAllowThreads(__tstate);
28514 if (PyErr_Occurred()) SWIG_fail;
28515 }
28516 Py_INCREF(Py_None); resultobj = Py_None;
28517 return resultobj;
28518 fail:
28519 return NULL;
28520 }
28521
28522
28523 static PyObject *_wrap_MenuItem_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
28524 PyObject *resultobj;
28525 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
28526 wxFont result;
28527 PyObject * obj0 = 0 ;
28528 char *kwnames[] = {
28529 (char *) "self", NULL
28530 };
28531
28532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetFont",kwnames,&obj0)) goto fail;
28533 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28534 {
28535 PyThreadState* __tstate = wxPyBeginAllowThreads();
28536 result = (arg1)->GetFont();
28537
28538 wxPyEndAllowThreads(__tstate);
28539 if (PyErr_Occurred()) SWIG_fail;
28540 }
28541 {
28542 wxFont * resultptr;
28543 resultptr = new wxFont((wxFont &) result);
28544 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1);
28545 }
28546 return resultobj;
28547 fail:
28548 return NULL;
28549 }
28550
28551
28552 static PyObject *_wrap_MenuItem_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
28553 PyObject *resultobj;
28554 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
28555 wxColour *arg2 = 0 ;
28556 wxColour temp2 ;
28557 PyObject * obj0 = 0 ;
28558 PyObject * obj1 = 0 ;
28559 char *kwnames[] = {
28560 (char *) "self",(char *) "colText", NULL
28561 };
28562
28563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
28564 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28565 {
28566 arg2 = &temp2;
28567 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
28568 }
28569 {
28570 PyThreadState* __tstate = wxPyBeginAllowThreads();
28571 (arg1)->SetTextColour((wxColour const &)*arg2);
28572
28573 wxPyEndAllowThreads(__tstate);
28574 if (PyErr_Occurred()) SWIG_fail;
28575 }
28576 Py_INCREF(Py_None); resultobj = Py_None;
28577 return resultobj;
28578 fail:
28579 return NULL;
28580 }
28581
28582
28583 static PyObject *_wrap_MenuItem_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
28584 PyObject *resultobj;
28585 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
28586 wxColour result;
28587 PyObject * obj0 = 0 ;
28588 char *kwnames[] = {
28589 (char *) "self", NULL
28590 };
28591
28592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetTextColour",kwnames,&obj0)) goto fail;
28593 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28594 {
28595 PyThreadState* __tstate = wxPyBeginAllowThreads();
28596 result = (arg1)->GetTextColour();
28597
28598 wxPyEndAllowThreads(__tstate);
28599 if (PyErr_Occurred()) SWIG_fail;
28600 }
28601 {
28602 wxColour * resultptr;
28603 resultptr = new wxColour((wxColour &) result);
28604 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
28605 }
28606 return resultobj;
28607 fail:
28608 return NULL;
28609 }
28610
28611
28612 static PyObject *_wrap_MenuItem_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
28613 PyObject *resultobj;
28614 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
28615 wxColour *arg2 = 0 ;
28616 wxColour temp2 ;
28617 PyObject * obj0 = 0 ;
28618 PyObject * obj1 = 0 ;
28619 char *kwnames[] = {
28620 (char *) "self",(char *) "colBack", NULL
28621 };
28622
28623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
28624 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28625 {
28626 arg2 = &temp2;
28627 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
28628 }
28629 {
28630 PyThreadState* __tstate = wxPyBeginAllowThreads();
28631 (arg1)->SetBackgroundColour((wxColour const &)*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_MenuItem_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
28644 PyObject *resultobj;
28645 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
28646 wxColour result;
28647 PyObject * obj0 = 0 ;
28648 char *kwnames[] = {
28649 (char *) "self", NULL
28650 };
28651
28652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetBackgroundColour",kwnames,&obj0)) goto fail;
28653 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28654 {
28655 PyThreadState* __tstate = wxPyBeginAllowThreads();
28656 result = (arg1)->GetBackgroundColour();
28657
28658 wxPyEndAllowThreads(__tstate);
28659 if (PyErr_Occurred()) SWIG_fail;
28660 }
28661 {
28662 wxColour * resultptr;
28663 resultptr = new wxColour((wxColour &) result);
28664 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
28665 }
28666 return resultobj;
28667 fail:
28668 return NULL;
28669 }
28670
28671
28672 static PyObject *_wrap_MenuItem_SetBitmaps(PyObject *self, PyObject *args, PyObject *kwargs) {
28673 PyObject *resultobj;
28674 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
28675 wxBitmap *arg2 = 0 ;
28676 wxBitmap const &arg3_defvalue = wxNullBitmap ;
28677 wxBitmap *arg3 = (wxBitmap *) &arg3_defvalue ;
28678 PyObject * obj0 = 0 ;
28679 PyObject * obj1 = 0 ;
28680 PyObject * obj2 = 0 ;
28681 char *kwnames[] = {
28682 (char *) "self",(char *) "bmpChecked",(char *) "bmpUnchecked", NULL
28683 };
28684
28685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MenuItem_SetBitmaps",kwnames,&obj0,&obj1,&obj2)) goto fail;
28686 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28687 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28688 if (arg2 == NULL) {
28689 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
28690 }
28691 if (obj2) {
28692 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28693 if (arg3 == NULL) {
28694 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
28695 }
28696 }
28697 {
28698 PyThreadState* __tstate = wxPyBeginAllowThreads();
28699 (arg1)->SetBitmaps((wxBitmap const &)*arg2,(wxBitmap const &)*arg3);
28700
28701 wxPyEndAllowThreads(__tstate);
28702 if (PyErr_Occurred()) SWIG_fail;
28703 }
28704 Py_INCREF(Py_None); resultobj = Py_None;
28705 return resultobj;
28706 fail:
28707 return NULL;
28708 }
28709
28710
28711 static PyObject *_wrap_MenuItem_SetDisabledBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
28712 PyObject *resultobj;
28713 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
28714 wxBitmap *arg2 = 0 ;
28715 PyObject * obj0 = 0 ;
28716 PyObject * obj1 = 0 ;
28717 char *kwnames[] = {
28718 (char *) "self",(char *) "bmpDisabled", NULL
28719 };
28720
28721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetDisabledBitmap",kwnames,&obj0,&obj1)) goto fail;
28722 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28723 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28724 if (arg2 == NULL) {
28725 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
28726 }
28727 {
28728 PyThreadState* __tstate = wxPyBeginAllowThreads();
28729 (arg1)->SetDisabledBitmap((wxBitmap const &)*arg2);
28730
28731 wxPyEndAllowThreads(__tstate);
28732 if (PyErr_Occurred()) SWIG_fail;
28733 }
28734 Py_INCREF(Py_None); resultobj = Py_None;
28735 return resultobj;
28736 fail:
28737 return NULL;
28738 }
28739
28740
28741 static PyObject *_wrap_MenuItem_GetDisabledBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
28742 PyObject *resultobj;
28743 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
28744 wxBitmap *result;
28745 PyObject * obj0 = 0 ;
28746 char *kwnames[] = {
28747 (char *) "self", NULL
28748 };
28749
28750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetDisabledBitmap",kwnames,&obj0)) goto fail;
28751 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28752 {
28753 PyThreadState* __tstate = wxPyBeginAllowThreads();
28754 {
28755 wxBitmap const &_result_ref = ((wxMenuItem const *)arg1)->GetDisabledBitmap();
28756 result = (wxBitmap *) &_result_ref;
28757 }
28758
28759 wxPyEndAllowThreads(__tstate);
28760 if (PyErr_Occurred()) SWIG_fail;
28761 }
28762 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBitmap, 0);
28763 return resultobj;
28764 fail:
28765 return NULL;
28766 }
28767
28768
28769 static PyObject *_wrap_MenuItem_SetMarginWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
28770 PyObject *resultobj;
28771 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
28772 int arg2 ;
28773 PyObject * obj0 = 0 ;
28774 char *kwnames[] = {
28775 (char *) "self",(char *) "nWidth", NULL
28776 };
28777
28778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:MenuItem_SetMarginWidth",kwnames,&obj0,&arg2)) goto fail;
28779 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28780 {
28781 PyThreadState* __tstate = wxPyBeginAllowThreads();
28782 (arg1)->SetMarginWidth(arg2);
28783
28784 wxPyEndAllowThreads(__tstate);
28785 if (PyErr_Occurred()) SWIG_fail;
28786 }
28787 Py_INCREF(Py_None); resultobj = Py_None;
28788 return resultobj;
28789 fail:
28790 return NULL;
28791 }
28792
28793
28794 static PyObject *_wrap_MenuItem_GetMarginWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
28795 PyObject *resultobj;
28796 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
28797 int result;
28798 PyObject * obj0 = 0 ;
28799 char *kwnames[] = {
28800 (char *) "self", NULL
28801 };
28802
28803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetMarginWidth",kwnames,&obj0)) goto fail;
28804 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28805 {
28806 PyThreadState* __tstate = wxPyBeginAllowThreads();
28807 result = (int)(arg1)->GetMarginWidth();
28808
28809 wxPyEndAllowThreads(__tstate);
28810 if (PyErr_Occurred()) SWIG_fail;
28811 }
28812 resultobj = PyInt_FromLong((long)result);
28813 return resultobj;
28814 fail:
28815 return NULL;
28816 }
28817
28818
28819 static PyObject *_wrap_MenuItem_GetDefaultMarginWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
28820 PyObject *resultobj;
28821 int result;
28822 char *kwnames[] = {
28823 NULL
28824 };
28825
28826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":MenuItem_GetDefaultMarginWidth",kwnames)) goto fail;
28827 {
28828 PyThreadState* __tstate = wxPyBeginAllowThreads();
28829 result = (int)wxMenuItem::GetDefaultMarginWidth();
28830
28831 wxPyEndAllowThreads(__tstate);
28832 if (PyErr_Occurred()) SWIG_fail;
28833 }
28834 resultobj = PyInt_FromLong((long)result);
28835 return resultobj;
28836 fail:
28837 return NULL;
28838 }
28839
28840
28841 static PyObject *_wrap_MenuItem_IsOwnerDrawn(PyObject *self, PyObject *args, PyObject *kwargs) {
28842 PyObject *resultobj;
28843 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
28844 bool result;
28845 PyObject * obj0 = 0 ;
28846 char *kwnames[] = {
28847 (char *) "self", NULL
28848 };
28849
28850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_IsOwnerDrawn",kwnames,&obj0)) goto fail;
28851 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28852 {
28853 PyThreadState* __tstate = wxPyBeginAllowThreads();
28854 result = (bool)(arg1)->IsOwnerDrawn();
28855
28856 wxPyEndAllowThreads(__tstate);
28857 if (PyErr_Occurred()) SWIG_fail;
28858 }
28859 resultobj = PyInt_FromLong((long)result);
28860 return resultobj;
28861 fail:
28862 return NULL;
28863 }
28864
28865
28866 static PyObject *_wrap_MenuItem_SetOwnerDrawn(PyObject *self, PyObject *args, PyObject *kwargs) {
28867 PyObject *resultobj;
28868 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
28869 bool arg2 = (bool) True ;
28870 PyObject * obj0 = 0 ;
28871 PyObject * obj1 = 0 ;
28872 char *kwnames[] = {
28873 (char *) "self",(char *) "ownerDrawn", NULL
28874 };
28875
28876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MenuItem_SetOwnerDrawn",kwnames,&obj0,&obj1)) goto fail;
28877 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28878 if (obj1) {
28879 arg2 = PyInt_AsLong(obj1) ? true : false;
28880 if (PyErr_Occurred()) SWIG_fail;
28881 }
28882 {
28883 PyThreadState* __tstate = wxPyBeginAllowThreads();
28884 (arg1)->SetOwnerDrawn(arg2);
28885
28886 wxPyEndAllowThreads(__tstate);
28887 if (PyErr_Occurred()) SWIG_fail;
28888 }
28889 Py_INCREF(Py_None); resultobj = Py_None;
28890 return resultobj;
28891 fail:
28892 return NULL;
28893 }
28894
28895
28896 static PyObject *_wrap_MenuItem_ResetOwnerDrawn(PyObject *self, PyObject *args, PyObject *kwargs) {
28897 PyObject *resultobj;
28898 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
28899 PyObject * obj0 = 0 ;
28900 char *kwnames[] = {
28901 (char *) "self", NULL
28902 };
28903
28904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_ResetOwnerDrawn",kwnames,&obj0)) goto fail;
28905 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28906 {
28907 PyThreadState* __tstate = wxPyBeginAllowThreads();
28908 (arg1)->ResetOwnerDrawn();
28909
28910 wxPyEndAllowThreads(__tstate);
28911 if (PyErr_Occurred()) SWIG_fail;
28912 }
28913 Py_INCREF(Py_None); resultobj = Py_None;
28914 return resultobj;
28915 fail:
28916 return NULL;
28917 }
28918
28919
28920 static PyObject *_wrap_MenuItem_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
28921 PyObject *resultobj;
28922 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
28923 wxBitmap *arg2 = 0 ;
28924 PyObject * obj0 = 0 ;
28925 PyObject * obj1 = 0 ;
28926 char *kwnames[] = {
28927 (char *) "self",(char *) "bitmap", NULL
28928 };
28929
28930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
28931 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28932 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28933 if (arg2 == NULL) {
28934 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
28935 }
28936 {
28937 PyThreadState* __tstate = wxPyBeginAllowThreads();
28938 (arg1)->SetBitmap((wxBitmap const &)*arg2);
28939
28940 wxPyEndAllowThreads(__tstate);
28941 if (PyErr_Occurred()) SWIG_fail;
28942 }
28943 Py_INCREF(Py_None); resultobj = Py_None;
28944 return resultobj;
28945 fail:
28946 return NULL;
28947 }
28948
28949
28950 static PyObject *_wrap_MenuItem_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
28951 PyObject *resultobj;
28952 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
28953 wxBitmap *result;
28954 PyObject * obj0 = 0 ;
28955 char *kwnames[] = {
28956 (char *) "self", NULL
28957 };
28958
28959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetBitmap",kwnames,&obj0)) goto fail;
28960 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28961 {
28962 PyThreadState* __tstate = wxPyBeginAllowThreads();
28963 {
28964 wxBitmap const &_result_ref = (arg1)->GetBitmap();
28965 result = (wxBitmap *) &_result_ref;
28966 }
28967
28968 wxPyEndAllowThreads(__tstate);
28969 if (PyErr_Occurred()) SWIG_fail;
28970 }
28971 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBitmap, 0);
28972 return resultobj;
28973 fail:
28974 return NULL;
28975 }
28976
28977
28978 static PyObject * MenuItem_swigregister(PyObject *self, PyObject *args) {
28979 PyObject *obj;
28980 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28981 SWIG_TypeClientData(SWIGTYPE_p_wxMenuItem, obj);
28982 Py_INCREF(obj);
28983 return Py_BuildValue((char *)"");
28984 }
28985 static PyObject *_wrap_new_Control(PyObject *self, PyObject *args, PyObject *kwargs) {
28986 PyObject *resultobj;
28987 wxWindow *arg1 = (wxWindow *) 0 ;
28988 int arg2 ;
28989 wxPoint const &arg3_defvalue = wxDefaultPosition ;
28990 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
28991 wxSize const &arg4_defvalue = wxDefaultSize ;
28992 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
28993 long arg5 = (long) 0 ;
28994 wxValidator const &arg6_defvalue = wxDefaultValidator ;
28995 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
28996 wxString const &arg7_defvalue = wxPyControlNameStr ;
28997 wxString *arg7 = (wxString *) &arg7_defvalue ;
28998 wxControl *result;
28999 wxPoint temp3 ;
29000 wxSize temp4 ;
29001 bool temp7 = False ;
29002 PyObject * obj0 = 0 ;
29003 PyObject * obj2 = 0 ;
29004 PyObject * obj3 = 0 ;
29005 PyObject * obj5 = 0 ;
29006 PyObject * obj6 = 0 ;
29007 char *kwnames[] = {
29008 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
29009 };
29010
29011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlOO:new_Control",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5,&obj6)) goto fail;
29012 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29013 if (obj2) {
29014 {
29015 arg3 = &temp3;
29016 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
29017 }
29018 }
29019 if (obj3) {
29020 {
29021 arg4 = &temp4;
29022 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
29023 }
29024 }
29025 if (obj5) {
29026 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29027 if (arg6 == NULL) {
29028 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
29029 }
29030 }
29031 if (obj6) {
29032 {
29033 arg7 = wxString_in_helper(obj6);
29034 if (arg7 == NULL) SWIG_fail;
29035 temp7 = True;
29036 }
29037 }
29038 {
29039 PyThreadState* __tstate = wxPyBeginAllowThreads();
29040 result = (wxControl *)new wxControl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
29041
29042 wxPyEndAllowThreads(__tstate);
29043 if (PyErr_Occurred()) SWIG_fail;
29044 }
29045 {
29046 resultobj = wxPyMake_wxObject(result);
29047 }
29048 {
29049 if (temp7)
29050 delete arg7;
29051 }
29052 return resultobj;
29053 fail:
29054 {
29055 if (temp7)
29056 delete arg7;
29057 }
29058 return NULL;
29059 }
29060
29061
29062 static PyObject *_wrap_new_PreControl(PyObject *self, PyObject *args, PyObject *kwargs) {
29063 PyObject *resultobj;
29064 wxControl *result;
29065 char *kwnames[] = {
29066 NULL
29067 };
29068
29069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreControl",kwnames)) goto fail;
29070 {
29071 PyThreadState* __tstate = wxPyBeginAllowThreads();
29072 result = (wxControl *)new wxControl();
29073
29074 wxPyEndAllowThreads(__tstate);
29075 if (PyErr_Occurred()) SWIG_fail;
29076 }
29077 {
29078 resultobj = wxPyMake_wxObject(result);
29079 }
29080 return resultobj;
29081 fail:
29082 return NULL;
29083 }
29084
29085
29086 static PyObject *_wrap_Control_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
29087 PyObject *resultobj;
29088 wxControl *arg1 = (wxControl *) 0 ;
29089 wxWindow *arg2 = (wxWindow *) 0 ;
29090 int arg3 ;
29091 wxPoint const &arg4_defvalue = wxDefaultPosition ;
29092 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
29093 wxSize const &arg5_defvalue = wxDefaultSize ;
29094 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
29095 long arg6 = (long) 0 ;
29096 wxValidator const &arg7_defvalue = wxDefaultValidator ;
29097 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
29098 wxString const &arg8_defvalue = wxPyControlNameStr ;
29099 wxString *arg8 = (wxString *) &arg8_defvalue ;
29100 bool result;
29101 wxPoint temp4 ;
29102 wxSize temp5 ;
29103 bool temp8 = False ;
29104 PyObject * obj0 = 0 ;
29105 PyObject * obj1 = 0 ;
29106 PyObject * obj3 = 0 ;
29107 PyObject * obj4 = 0 ;
29108 PyObject * obj6 = 0 ;
29109 PyObject * obj7 = 0 ;
29110 char *kwnames[] = {
29111 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
29112 };
29113
29114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlOO:Control_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
29115 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29116 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29117 if (obj3) {
29118 {
29119 arg4 = &temp4;
29120 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
29121 }
29122 }
29123 if (obj4) {
29124 {
29125 arg5 = &temp5;
29126 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
29127 }
29128 }
29129 if (obj6) {
29130 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29131 if (arg7 == NULL) {
29132 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
29133 }
29134 }
29135 if (obj7) {
29136 {
29137 arg8 = wxString_in_helper(obj7);
29138 if (arg8 == NULL) SWIG_fail;
29139 temp8 = True;
29140 }
29141 }
29142 {
29143 PyThreadState* __tstate = wxPyBeginAllowThreads();
29144 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
29145
29146 wxPyEndAllowThreads(__tstate);
29147 if (PyErr_Occurred()) SWIG_fail;
29148 }
29149 resultobj = PyInt_FromLong((long)result);
29150 {
29151 if (temp8)
29152 delete arg8;
29153 }
29154 return resultobj;
29155 fail:
29156 {
29157 if (temp8)
29158 delete arg8;
29159 }
29160 return NULL;
29161 }
29162
29163
29164 static PyObject *_wrap_Control_Command(PyObject *self, PyObject *args, PyObject *kwargs) {
29165 PyObject *resultobj;
29166 wxControl *arg1 = (wxControl *) 0 ;
29167 wxCommandEvent *arg2 = 0 ;
29168 PyObject * obj0 = 0 ;
29169 PyObject * obj1 = 0 ;
29170 char *kwnames[] = {
29171 (char *) "self",(char *) "event", NULL
29172 };
29173
29174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Control_Command",kwnames,&obj0,&obj1)) goto fail;
29175 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29176 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxCommandEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29177 if (arg2 == NULL) {
29178 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
29179 }
29180 {
29181 PyThreadState* __tstate = wxPyBeginAllowThreads();
29182 (arg1)->Command(*arg2);
29183
29184 wxPyEndAllowThreads(__tstate);
29185 if (PyErr_Occurred()) SWIG_fail;
29186 }
29187 Py_INCREF(Py_None); resultobj = Py_None;
29188 return resultobj;
29189 fail:
29190 return NULL;
29191 }
29192
29193
29194 static PyObject *_wrap_Control_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
29195 PyObject *resultobj;
29196 wxControl *arg1 = (wxControl *) 0 ;
29197 wxString result;
29198 PyObject * obj0 = 0 ;
29199 char *kwnames[] = {
29200 (char *) "self", NULL
29201 };
29202
29203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Control_GetLabel",kwnames,&obj0)) goto fail;
29204 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29205 {
29206 PyThreadState* __tstate = wxPyBeginAllowThreads();
29207 result = (arg1)->GetLabel();
29208
29209 wxPyEndAllowThreads(__tstate);
29210 if (PyErr_Occurred()) SWIG_fail;
29211 }
29212 {
29213 #if wxUSE_UNICODE
29214 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
29215 #else
29216 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
29217 #endif
29218 }
29219 return resultobj;
29220 fail:
29221 return NULL;
29222 }
29223
29224
29225 static PyObject *_wrap_Control_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
29226 PyObject *resultobj;
29227 wxControl *arg1 = (wxControl *) 0 ;
29228 wxString *arg2 = 0 ;
29229 bool temp2 = False ;
29230 PyObject * obj0 = 0 ;
29231 PyObject * obj1 = 0 ;
29232 char *kwnames[] = {
29233 (char *) "self",(char *) "label", NULL
29234 };
29235
29236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Control_SetLabel",kwnames,&obj0,&obj1)) goto fail;
29237 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29238 {
29239 arg2 = wxString_in_helper(obj1);
29240 if (arg2 == NULL) SWIG_fail;
29241 temp2 = True;
29242 }
29243 {
29244 PyThreadState* __tstate = wxPyBeginAllowThreads();
29245 (arg1)->SetLabel((wxString const &)*arg2);
29246
29247 wxPyEndAllowThreads(__tstate);
29248 if (PyErr_Occurred()) SWIG_fail;
29249 }
29250 Py_INCREF(Py_None); resultobj = Py_None;
29251 {
29252 if (temp2)
29253 delete arg2;
29254 }
29255 return resultobj;
29256 fail:
29257 {
29258 if (temp2)
29259 delete arg2;
29260 }
29261 return NULL;
29262 }
29263
29264
29265 static PyObject * Control_swigregister(PyObject *self, PyObject *args) {
29266 PyObject *obj;
29267 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
29268 SWIG_TypeClientData(SWIGTYPE_p_wxControl, obj);
29269 Py_INCREF(obj);
29270 return Py_BuildValue((char *)"");
29271 }
29272 static PyObject *_wrap_ItemContainer_Append(PyObject *self, PyObject *args, PyObject *kwargs) {
29273 PyObject *resultobj;
29274 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
29275 wxString *arg2 = 0 ;
29276 PyObject *arg3 = (PyObject *) NULL ;
29277 int result;
29278 bool temp2 = False ;
29279 PyObject * obj0 = 0 ;
29280 PyObject * obj1 = 0 ;
29281 PyObject * obj2 = 0 ;
29282 char *kwnames[] = {
29283 (char *) "self",(char *) "item",(char *) "clientData", NULL
29284 };
29285
29286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ItemContainer_Append",kwnames,&obj0,&obj1,&obj2)) goto fail;
29287 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxItemContainer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29288 {
29289 arg2 = wxString_in_helper(obj1);
29290 if (arg2 == NULL) SWIG_fail;
29291 temp2 = True;
29292 }
29293 if (obj2) {
29294 arg3 = obj2;
29295 }
29296 {
29297 PyThreadState* __tstate = wxPyBeginAllowThreads();
29298 result = (int)wxItemContainer_Append(arg1,(wxString const &)*arg2,arg3);
29299
29300 wxPyEndAllowThreads(__tstate);
29301 if (PyErr_Occurred()) SWIG_fail;
29302 }
29303 resultobj = PyInt_FromLong((long)result);
29304 {
29305 if (temp2)
29306 delete arg2;
29307 }
29308 return resultobj;
29309 fail:
29310 {
29311 if (temp2)
29312 delete arg2;
29313 }
29314 return NULL;
29315 }
29316
29317
29318 static PyObject *_wrap_ItemContainer_AppendItems(PyObject *self, PyObject *args, PyObject *kwargs) {
29319 PyObject *resultobj;
29320 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
29321 wxArrayString *arg2 = 0 ;
29322 PyObject * obj0 = 0 ;
29323 PyObject * obj1 = 0 ;
29324 char *kwnames[] = {
29325 (char *) "self",(char *) "strings", NULL
29326 };
29327
29328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ItemContainer_AppendItems",kwnames,&obj0,&obj1)) goto fail;
29329 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxItemContainer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29330 {
29331 if (! PySequence_Check(obj1)) {
29332 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
29333 SWIG_fail;
29334 }
29335 arg2 = new wxArrayString;
29336 int i, len=PySequence_Length(obj1);
29337 for (i=0; i<len; i++) {
29338 PyObject* item = PySequence_GetItem(obj1, i);
29339 #if wxUSE_UNICODE
29340 PyObject* str = PyObject_Unicode(item);
29341 #else
29342 PyObject* str = PyObject_Str(item);
29343 #endif
29344 arg2->Add(Py2wxString(str));
29345 Py_DECREF(item);
29346 Py_DECREF(str);
29347 }
29348 }
29349 {
29350 PyThreadState* __tstate = wxPyBeginAllowThreads();
29351 (arg1)->Append((wxArrayString const &)*arg2);
29352
29353 wxPyEndAllowThreads(__tstate);
29354 if (PyErr_Occurred()) SWIG_fail;
29355 }
29356 Py_INCREF(Py_None); resultobj = Py_None;
29357 {
29358 if (arg2) delete arg2;
29359 }
29360 return resultobj;
29361 fail:
29362 {
29363 if (arg2) delete arg2;
29364 }
29365 return NULL;
29366 }
29367
29368
29369 static PyObject *_wrap_ItemContainer_Insert(PyObject *self, PyObject *args, PyObject *kwargs) {
29370 PyObject *resultobj;
29371 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
29372 wxString *arg2 = 0 ;
29373 int arg3 ;
29374 PyObject *arg4 = (PyObject *) NULL ;
29375 int result;
29376 bool temp2 = False ;
29377 PyObject * obj0 = 0 ;
29378 PyObject * obj1 = 0 ;
29379 PyObject * obj3 = 0 ;
29380 char *kwnames[] = {
29381 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
29382 };
29383
29384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|O:ItemContainer_Insert",kwnames,&obj0,&obj1,&arg3,&obj3)) goto fail;
29385 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxItemContainer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29386 {
29387 arg2 = wxString_in_helper(obj1);
29388 if (arg2 == NULL) SWIG_fail;
29389 temp2 = True;
29390 }
29391 if (obj3) {
29392 arg4 = obj3;
29393 }
29394 {
29395 PyThreadState* __tstate = wxPyBeginAllowThreads();
29396 result = (int)wxItemContainer_Insert(arg1,(wxString const &)*arg2,arg3,arg4);
29397
29398 wxPyEndAllowThreads(__tstate);
29399 if (PyErr_Occurred()) SWIG_fail;
29400 }
29401 resultobj = PyInt_FromLong((long)result);
29402 {
29403 if (temp2)
29404 delete arg2;
29405 }
29406 return resultobj;
29407 fail:
29408 {
29409 if (temp2)
29410 delete arg2;
29411 }
29412 return NULL;
29413 }
29414
29415
29416 static PyObject *_wrap_ItemContainer_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
29417 PyObject *resultobj;
29418 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
29419 PyObject * obj0 = 0 ;
29420 char *kwnames[] = {
29421 (char *) "self", NULL
29422 };
29423
29424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ItemContainer_Clear",kwnames,&obj0)) goto fail;
29425 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxItemContainer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29426 {
29427 PyThreadState* __tstate = wxPyBeginAllowThreads();
29428 (arg1)->Clear();
29429
29430 wxPyEndAllowThreads(__tstate);
29431 if (PyErr_Occurred()) SWIG_fail;
29432 }
29433 Py_INCREF(Py_None); resultobj = Py_None;
29434 return resultobj;
29435 fail:
29436 return NULL;
29437 }
29438
29439
29440 static PyObject *_wrap_ItemContainer_Delete(PyObject *self, PyObject *args, PyObject *kwargs) {
29441 PyObject *resultobj;
29442 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
29443 int arg2 ;
29444 PyObject * obj0 = 0 ;
29445 char *kwnames[] = {
29446 (char *) "self",(char *) "n", NULL
29447 };
29448
29449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ItemContainer_Delete",kwnames,&obj0,&arg2)) goto fail;
29450 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxItemContainer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29451 {
29452 PyThreadState* __tstate = wxPyBeginAllowThreads();
29453 (arg1)->Delete(arg2);
29454
29455 wxPyEndAllowThreads(__tstate);
29456 if (PyErr_Occurred()) SWIG_fail;
29457 }
29458 Py_INCREF(Py_None); resultobj = Py_None;
29459 return resultobj;
29460 fail:
29461 return NULL;
29462 }
29463
29464
29465 static PyObject *_wrap_ItemContainer_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
29466 PyObject *resultobj;
29467 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
29468 int result;
29469 PyObject * obj0 = 0 ;
29470 char *kwnames[] = {
29471 (char *) "self", NULL
29472 };
29473
29474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ItemContainer_GetCount",kwnames,&obj0)) goto fail;
29475 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxItemContainer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29476 {
29477 PyThreadState* __tstate = wxPyBeginAllowThreads();
29478 result = (int)((wxItemContainer const *)arg1)->GetCount();
29479
29480 wxPyEndAllowThreads(__tstate);
29481 if (PyErr_Occurred()) SWIG_fail;
29482 }
29483 resultobj = PyInt_FromLong((long)result);
29484 return resultobj;
29485 fail:
29486 return NULL;
29487 }
29488
29489
29490 static PyObject *_wrap_ItemContainer_IsEmpty(PyObject *self, PyObject *args, PyObject *kwargs) {
29491 PyObject *resultobj;
29492 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
29493 bool result;
29494 PyObject * obj0 = 0 ;
29495 char *kwnames[] = {
29496 (char *) "self", NULL
29497 };
29498
29499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ItemContainer_IsEmpty",kwnames,&obj0)) goto fail;
29500 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxItemContainer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29501 {
29502 PyThreadState* __tstate = wxPyBeginAllowThreads();
29503 result = (bool)((wxItemContainer const *)arg1)->IsEmpty();
29504
29505 wxPyEndAllowThreads(__tstate);
29506 if (PyErr_Occurred()) SWIG_fail;
29507 }
29508 resultobj = PyInt_FromLong((long)result);
29509 return resultobj;
29510 fail:
29511 return NULL;
29512 }
29513
29514
29515 static PyObject *_wrap_ItemContainer_GetString(PyObject *self, PyObject *args, PyObject *kwargs) {
29516 PyObject *resultobj;
29517 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
29518 int arg2 ;
29519 wxString result;
29520 PyObject * obj0 = 0 ;
29521 char *kwnames[] = {
29522 (char *) "self",(char *) "n", NULL
29523 };
29524
29525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ItemContainer_GetString",kwnames,&obj0,&arg2)) goto fail;
29526 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxItemContainer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29527 {
29528 PyThreadState* __tstate = wxPyBeginAllowThreads();
29529 result = ((wxItemContainer const *)arg1)->GetString(arg2);
29530
29531 wxPyEndAllowThreads(__tstate);
29532 if (PyErr_Occurred()) SWIG_fail;
29533 }
29534 {
29535 #if wxUSE_UNICODE
29536 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
29537 #else
29538 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
29539 #endif
29540 }
29541 return resultobj;
29542 fail:
29543 return NULL;
29544 }
29545
29546
29547 static PyObject *_wrap_ItemContainer_GetStrings(PyObject *self, PyObject *args, PyObject *kwargs) {
29548 PyObject *resultobj;
29549 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
29550 wxArrayString result;
29551 PyObject * obj0 = 0 ;
29552 char *kwnames[] = {
29553 (char *) "self", NULL
29554 };
29555
29556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ItemContainer_GetStrings",kwnames,&obj0)) goto fail;
29557 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxItemContainer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29558 {
29559 PyThreadState* __tstate = wxPyBeginAllowThreads();
29560 result = ((wxItemContainer const *)arg1)->GetStrings();
29561
29562 wxPyEndAllowThreads(__tstate);
29563 if (PyErr_Occurred()) SWIG_fail;
29564 }
29565 {
29566 resultobj = wxArrayString2PyList_helper(result);
29567 }
29568 return resultobj;
29569 fail:
29570 return NULL;
29571 }
29572
29573
29574 static PyObject *_wrap_ItemContainer_SetString(PyObject *self, PyObject *args, PyObject *kwargs) {
29575 PyObject *resultobj;
29576 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
29577 int arg2 ;
29578 wxString *arg3 = 0 ;
29579 bool temp3 = False ;
29580 PyObject * obj0 = 0 ;
29581 PyObject * obj2 = 0 ;
29582 char *kwnames[] = {
29583 (char *) "self",(char *) "n",(char *) "s", NULL
29584 };
29585
29586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ItemContainer_SetString",kwnames,&obj0,&arg2,&obj2)) goto fail;
29587 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxItemContainer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29588 {
29589 arg3 = wxString_in_helper(obj2);
29590 if (arg3 == NULL) SWIG_fail;
29591 temp3 = True;
29592 }
29593 {
29594 PyThreadState* __tstate = wxPyBeginAllowThreads();
29595 (arg1)->SetString(arg2,(wxString const &)*arg3);
29596
29597 wxPyEndAllowThreads(__tstate);
29598 if (PyErr_Occurred()) SWIG_fail;
29599 }
29600 Py_INCREF(Py_None); resultobj = Py_None;
29601 {
29602 if (temp3)
29603 delete arg3;
29604 }
29605 return resultobj;
29606 fail:
29607 {
29608 if (temp3)
29609 delete arg3;
29610 }
29611 return NULL;
29612 }
29613
29614
29615 static PyObject *_wrap_ItemContainer_FindString(PyObject *self, PyObject *args, PyObject *kwargs) {
29616 PyObject *resultobj;
29617 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
29618 wxString *arg2 = 0 ;
29619 int result;
29620 bool temp2 = False ;
29621 PyObject * obj0 = 0 ;
29622 PyObject * obj1 = 0 ;
29623 char *kwnames[] = {
29624 (char *) "self",(char *) "s", NULL
29625 };
29626
29627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ItemContainer_FindString",kwnames,&obj0,&obj1)) goto fail;
29628 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxItemContainer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29629 {
29630 arg2 = wxString_in_helper(obj1);
29631 if (arg2 == NULL) SWIG_fail;
29632 temp2 = True;
29633 }
29634 {
29635 PyThreadState* __tstate = wxPyBeginAllowThreads();
29636 result = (int)((wxItemContainer const *)arg1)->FindString((wxString const &)*arg2);
29637
29638 wxPyEndAllowThreads(__tstate);
29639 if (PyErr_Occurred()) SWIG_fail;
29640 }
29641 resultobj = PyInt_FromLong((long)result);
29642 {
29643 if (temp2)
29644 delete arg2;
29645 }
29646 return resultobj;
29647 fail:
29648 {
29649 if (temp2)
29650 delete arg2;
29651 }
29652 return NULL;
29653 }
29654
29655
29656 static PyObject *_wrap_ItemContainer_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
29657 PyObject *resultobj;
29658 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
29659 int arg2 ;
29660 PyObject * obj0 = 0 ;
29661 char *kwnames[] = {
29662 (char *) "self",(char *) "n", NULL
29663 };
29664
29665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ItemContainer_Select",kwnames,&obj0,&arg2)) goto fail;
29666 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxItemContainer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29667 {
29668 PyThreadState* __tstate = wxPyBeginAllowThreads();
29669 (arg1)->Select(arg2);
29670
29671 wxPyEndAllowThreads(__tstate);
29672 if (PyErr_Occurred()) SWIG_fail;
29673 }
29674 Py_INCREF(Py_None); resultobj = Py_None;
29675 return resultobj;
29676 fail:
29677 return NULL;
29678 }
29679
29680
29681 static PyObject *_wrap_ItemContainer_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
29682 PyObject *resultobj;
29683 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
29684 int result;
29685 PyObject * obj0 = 0 ;
29686 char *kwnames[] = {
29687 (char *) "self", NULL
29688 };
29689
29690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ItemContainer_GetSelection",kwnames,&obj0)) goto fail;
29691 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxItemContainer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29692 {
29693 PyThreadState* __tstate = wxPyBeginAllowThreads();
29694 result = (int)((wxItemContainer const *)arg1)->GetSelection();
29695
29696 wxPyEndAllowThreads(__tstate);
29697 if (PyErr_Occurred()) SWIG_fail;
29698 }
29699 resultobj = PyInt_FromLong((long)result);
29700 return resultobj;
29701 fail:
29702 return NULL;
29703 }
29704
29705
29706 static PyObject *_wrap_ItemContainer_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
29707 PyObject *resultobj;
29708 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
29709 wxString result;
29710 PyObject * obj0 = 0 ;
29711 char *kwnames[] = {
29712 (char *) "self", NULL
29713 };
29714
29715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ItemContainer_GetStringSelection",kwnames,&obj0)) goto fail;
29716 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxItemContainer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29717 {
29718 PyThreadState* __tstate = wxPyBeginAllowThreads();
29719 result = ((wxItemContainer const *)arg1)->GetStringSelection();
29720
29721 wxPyEndAllowThreads(__tstate);
29722 if (PyErr_Occurred()) SWIG_fail;
29723 }
29724 {
29725 #if wxUSE_UNICODE
29726 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
29727 #else
29728 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
29729 #endif
29730 }
29731 return resultobj;
29732 fail:
29733 return NULL;
29734 }
29735
29736
29737 static PyObject *_wrap_ItemContainer_GetClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
29738 PyObject *resultobj;
29739 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
29740 int arg2 ;
29741 PyObject *result;
29742 PyObject * obj0 = 0 ;
29743 char *kwnames[] = {
29744 (char *) "self",(char *) "n", NULL
29745 };
29746
29747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ItemContainer_GetClientData",kwnames,&obj0,&arg2)) goto fail;
29748 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxItemContainer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29749 {
29750 PyThreadState* __tstate = wxPyBeginAllowThreads();
29751 result = (PyObject *)wxItemContainer_GetClientData(arg1,arg2);
29752
29753 wxPyEndAllowThreads(__tstate);
29754 if (PyErr_Occurred()) SWIG_fail;
29755 }
29756 resultobj = result;
29757 return resultobj;
29758 fail:
29759 return NULL;
29760 }
29761
29762
29763 static PyObject *_wrap_ItemContainer_SetClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
29764 PyObject *resultobj;
29765 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
29766 int arg2 ;
29767 PyObject *arg3 = (PyObject *) 0 ;
29768 PyObject * obj0 = 0 ;
29769 PyObject * obj2 = 0 ;
29770 char *kwnames[] = {
29771 (char *) "self",(char *) "n",(char *) "clientData", NULL
29772 };
29773
29774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ItemContainer_SetClientData",kwnames,&obj0,&arg2,&obj2)) goto fail;
29775 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxItemContainer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29776 arg3 = obj2;
29777 {
29778 PyThreadState* __tstate = wxPyBeginAllowThreads();
29779 wxItemContainer_SetClientData(arg1,arg2,arg3);
29780
29781 wxPyEndAllowThreads(__tstate);
29782 if (PyErr_Occurred()) SWIG_fail;
29783 }
29784 Py_INCREF(Py_None); resultobj = Py_None;
29785 return resultobj;
29786 fail:
29787 return NULL;
29788 }
29789
29790
29791 static PyObject * ItemContainer_swigregister(PyObject *self, PyObject *args) {
29792 PyObject *obj;
29793 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
29794 SWIG_TypeClientData(SWIGTYPE_p_wxItemContainer, obj);
29795 Py_INCREF(obj);
29796 return Py_BuildValue((char *)"");
29797 }
29798 static PyObject * ControlWithItems_swigregister(PyObject *self, PyObject *args) {
29799 PyObject *obj;
29800 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
29801 SWIG_TypeClientData(SWIGTYPE_p_wxControlWithItems, obj);
29802 Py_INCREF(obj);
29803 return Py_BuildValue((char *)"");
29804 }
29805 static PyObject *_wrap_new_SizerItem(PyObject *self, PyObject *args, PyObject *kwargs) {
29806 PyObject *resultobj;
29807 wxSizerItem *result;
29808 char *kwnames[] = {
29809 NULL
29810 };
29811
29812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_SizerItem",kwnames)) goto fail;
29813 {
29814 PyThreadState* __tstate = wxPyBeginAllowThreads();
29815 result = (wxSizerItem *)new wxSizerItem();
29816
29817 wxPyEndAllowThreads(__tstate);
29818 if (PyErr_Occurred()) SWIG_fail;
29819 }
29820 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSizerItem, 1);
29821 return resultobj;
29822 fail:
29823 return NULL;
29824 }
29825
29826
29827 static PyObject *_wrap_new_SizerItemSpacer(PyObject *self, PyObject *args, PyObject *kwargs) {
29828 PyObject *resultobj;
29829 int arg1 ;
29830 int arg2 ;
29831 int arg3 ;
29832 int arg4 ;
29833 int arg5 ;
29834 wxObject *arg6 = (wxObject *) 0 ;
29835 wxSizerItem *result;
29836 PyObject * obj5 = 0 ;
29837 char *kwnames[] = {
29838 (char *) "width",(char *) "height",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
29839 };
29840
29841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"iiiiiO:new_SizerItemSpacer",kwnames,&arg1,&arg2,&arg3,&arg4,&arg5,&obj5)) goto fail;
29842 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29843 {
29844 PyThreadState* __tstate = wxPyBeginAllowThreads();
29845 result = (wxSizerItem *)new wxSizerItem(arg1,arg2,arg3,arg4,arg5,arg6);
29846
29847 wxPyEndAllowThreads(__tstate);
29848 if (PyErr_Occurred()) SWIG_fail;
29849 }
29850 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSizerItem, 1);
29851 return resultobj;
29852 fail:
29853 return NULL;
29854 }
29855
29856
29857 static PyObject *_wrap_new_SizerItemWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
29858 PyObject *resultobj;
29859 wxWindow *arg1 = (wxWindow *) 0 ;
29860 int arg2 ;
29861 int arg3 ;
29862 int arg4 ;
29863 wxObject *arg5 = (wxObject *) 0 ;
29864 wxSizerItem *result;
29865 PyObject * obj0 = 0 ;
29866 PyObject * obj4 = 0 ;
29867 char *kwnames[] = {
29868 (char *) "window",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
29869 };
29870
29871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiiiO:new_SizerItemWindow",kwnames,&obj0,&arg2,&arg3,&arg4,&obj4)) goto fail;
29872 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29873 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29874 {
29875 PyThreadState* __tstate = wxPyBeginAllowThreads();
29876 result = (wxSizerItem *)new wxSizerItem(arg1,arg2,arg3,arg4,arg5);
29877
29878 wxPyEndAllowThreads(__tstate);
29879 if (PyErr_Occurred()) SWIG_fail;
29880 }
29881 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSizerItem, 1);
29882 return resultobj;
29883 fail:
29884 return NULL;
29885 }
29886
29887
29888 static PyObject *_wrap_new_SizerItemSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
29889 PyObject *resultobj;
29890 wxSizer *arg1 = (wxSizer *) 0 ;
29891 int arg2 ;
29892 int arg3 ;
29893 int arg4 ;
29894 wxObject *arg5 = (wxObject *) 0 ;
29895 wxSizerItem *result;
29896 PyObject * obj0 = 0 ;
29897 PyObject * obj4 = 0 ;
29898 char *kwnames[] = {
29899 (char *) "sizer",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
29900 };
29901
29902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiiiO:new_SizerItemSizer",kwnames,&obj0,&arg2,&arg3,&arg4,&obj4)) goto fail;
29903 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29904 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29905 {
29906 PyThreadState* __tstate = wxPyBeginAllowThreads();
29907 result = (wxSizerItem *)new wxSizerItem(arg1,arg2,arg3,arg4,arg5);
29908
29909 wxPyEndAllowThreads(__tstate);
29910 if (PyErr_Occurred()) SWIG_fail;
29911 }
29912 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSizerItem, 1);
29913 return resultobj;
29914 fail:
29915 return NULL;
29916 }
29917
29918
29919 static PyObject *_wrap_SizerItem_DeleteWindows(PyObject *self, PyObject *args, PyObject *kwargs) {
29920 PyObject *resultobj;
29921 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
29922 PyObject * obj0 = 0 ;
29923 char *kwnames[] = {
29924 (char *) "self", NULL
29925 };
29926
29927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_DeleteWindows",kwnames,&obj0)) goto fail;
29928 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29929 {
29930 PyThreadState* __tstate = wxPyBeginAllowThreads();
29931 (arg1)->DeleteWindows();
29932
29933 wxPyEndAllowThreads(__tstate);
29934 if (PyErr_Occurred()) SWIG_fail;
29935 }
29936 Py_INCREF(Py_None); resultobj = Py_None;
29937 return resultobj;
29938 fail:
29939 return NULL;
29940 }
29941
29942
29943 static PyObject *_wrap_SizerItem_DetachSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
29944 PyObject *resultobj;
29945 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
29946 PyObject * obj0 = 0 ;
29947 char *kwnames[] = {
29948 (char *) "self", NULL
29949 };
29950
29951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_DetachSizer",kwnames,&obj0)) goto fail;
29952 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29953 {
29954 PyThreadState* __tstate = wxPyBeginAllowThreads();
29955 (arg1)->DetachSizer();
29956
29957 wxPyEndAllowThreads(__tstate);
29958 if (PyErr_Occurred()) SWIG_fail;
29959 }
29960 Py_INCREF(Py_None); resultobj = Py_None;
29961 return resultobj;
29962 fail:
29963 return NULL;
29964 }
29965
29966
29967 static PyObject *_wrap_SizerItem_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
29968 PyObject *resultobj;
29969 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
29970 wxSize result;
29971 PyObject * obj0 = 0 ;
29972 char *kwnames[] = {
29973 (char *) "self", NULL
29974 };
29975
29976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetSize",kwnames,&obj0)) goto fail;
29977 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29978 {
29979 PyThreadState* __tstate = wxPyBeginAllowThreads();
29980 result = (arg1)->GetSize();
29981
29982 wxPyEndAllowThreads(__tstate);
29983 if (PyErr_Occurred()) SWIG_fail;
29984 }
29985 {
29986 wxSize * resultptr;
29987 resultptr = new wxSize((wxSize &) result);
29988 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
29989 }
29990 return resultobj;
29991 fail:
29992 return NULL;
29993 }
29994
29995
29996 static PyObject *_wrap_SizerItem_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
29997 PyObject *resultobj;
29998 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
29999 wxSize result;
30000 PyObject * obj0 = 0 ;
30001 char *kwnames[] = {
30002 (char *) "self", NULL
30003 };
30004
30005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_CalcMin",kwnames,&obj0)) goto fail;
30006 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30007 {
30008 PyThreadState* __tstate = wxPyBeginAllowThreads();
30009 result = (arg1)->CalcMin();
30010
30011 wxPyEndAllowThreads(__tstate);
30012 if (PyErr_Occurred()) SWIG_fail;
30013 }
30014 {
30015 wxSize * resultptr;
30016 resultptr = new wxSize((wxSize &) result);
30017 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
30018 }
30019 return resultobj;
30020 fail:
30021 return NULL;
30022 }
30023
30024
30025 static PyObject *_wrap_SizerItem_SetDimension(PyObject *self, PyObject *args, PyObject *kwargs) {
30026 PyObject *resultobj;
30027 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
30028 wxPoint arg2 ;
30029 wxSize arg3 ;
30030 wxPoint *argp2 ;
30031 wxSize *argp3 ;
30032 PyObject * obj0 = 0 ;
30033 PyObject * obj1 = 0 ;
30034 PyObject * obj2 = 0 ;
30035 char *kwnames[] = {
30036 (char *) "self",(char *) "pos",(char *) "size", NULL
30037 };
30038
30039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SizerItem_SetDimension",kwnames,&obj0,&obj1,&obj2)) goto fail;
30040 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30041 if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
30042 arg2 = *argp2;
30043 if ((SWIG_ConvertPtr(obj2,(void **) &argp3, SWIGTYPE_p_wxSize,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
30044 arg3 = *argp3;
30045 {
30046 PyThreadState* __tstate = wxPyBeginAllowThreads();
30047 (arg1)->SetDimension(arg2,arg3);
30048
30049 wxPyEndAllowThreads(__tstate);
30050 if (PyErr_Occurred()) SWIG_fail;
30051 }
30052 Py_INCREF(Py_None); resultobj = Py_None;
30053 return resultobj;
30054 fail:
30055 return NULL;
30056 }
30057
30058
30059 static PyObject *_wrap_SizerItem_GetMinSize(PyObject *self, PyObject *args, PyObject *kwargs) {
30060 PyObject *resultobj;
30061 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
30062 wxSize result;
30063 PyObject * obj0 = 0 ;
30064 char *kwnames[] = {
30065 (char *) "self", NULL
30066 };
30067
30068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetMinSize",kwnames,&obj0)) goto fail;
30069 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30070 {
30071 PyThreadState* __tstate = wxPyBeginAllowThreads();
30072 result = (arg1)->GetMinSize();
30073
30074 wxPyEndAllowThreads(__tstate);
30075 if (PyErr_Occurred()) SWIG_fail;
30076 }
30077 {
30078 wxSize * resultptr;
30079 resultptr = new wxSize((wxSize &) result);
30080 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
30081 }
30082 return resultobj;
30083 fail:
30084 return NULL;
30085 }
30086
30087
30088 static PyObject *_wrap_SizerItem_SetInitSize(PyObject *self, PyObject *args, PyObject *kwargs) {
30089 PyObject *resultobj;
30090 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
30091 int arg2 ;
30092 int arg3 ;
30093 PyObject * obj0 = 0 ;
30094 char *kwnames[] = {
30095 (char *) "self",(char *) "x",(char *) "y", NULL
30096 };
30097
30098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:SizerItem_SetInitSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
30099 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30100 {
30101 PyThreadState* __tstate = wxPyBeginAllowThreads();
30102 (arg1)->SetInitSize(arg2,arg3);
30103
30104 wxPyEndAllowThreads(__tstate);
30105 if (PyErr_Occurred()) SWIG_fail;
30106 }
30107 Py_INCREF(Py_None); resultobj = Py_None;
30108 return resultobj;
30109 fail:
30110 return NULL;
30111 }
30112
30113
30114 static PyObject *_wrap_SizerItem_SetRatioWH(PyObject *self, PyObject *args, PyObject *kwargs) {
30115 PyObject *resultobj;
30116 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
30117 int arg2 ;
30118 int arg3 ;
30119 PyObject * obj0 = 0 ;
30120 char *kwnames[] = {
30121 (char *) "self",(char *) "width",(char *) "height", NULL
30122 };
30123
30124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:SizerItem_SetRatioWH",kwnames,&obj0,&arg2,&arg3)) goto fail;
30125 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30126 {
30127 PyThreadState* __tstate = wxPyBeginAllowThreads();
30128 (arg1)->SetRatio(arg2,arg3);
30129
30130 wxPyEndAllowThreads(__tstate);
30131 if (PyErr_Occurred()) SWIG_fail;
30132 }
30133 Py_INCREF(Py_None); resultobj = Py_None;
30134 return resultobj;
30135 fail:
30136 return NULL;
30137 }
30138
30139
30140 static PyObject *_wrap_SizerItem_SetRatioSize(PyObject *self, PyObject *args, PyObject *kwargs) {
30141 PyObject *resultobj;
30142 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
30143 wxSize arg2 ;
30144 wxSize *argp2 ;
30145 PyObject * obj0 = 0 ;
30146 PyObject * obj1 = 0 ;
30147 char *kwnames[] = {
30148 (char *) "self",(char *) "size", NULL
30149 };
30150
30151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetRatioSize",kwnames,&obj0,&obj1)) goto fail;
30152 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30153 if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_wxSize,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
30154 arg2 = *argp2;
30155 {
30156 PyThreadState* __tstate = wxPyBeginAllowThreads();
30157 (arg1)->SetRatio(arg2);
30158
30159 wxPyEndAllowThreads(__tstate);
30160 if (PyErr_Occurred()) SWIG_fail;
30161 }
30162 Py_INCREF(Py_None); resultobj = Py_None;
30163 return resultobj;
30164 fail:
30165 return NULL;
30166 }
30167
30168
30169 static PyObject *_wrap_SizerItem_SetRatio(PyObject *self, PyObject *args, PyObject *kwargs) {
30170 PyObject *resultobj;
30171 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
30172 float arg2 ;
30173 PyObject * obj0 = 0 ;
30174 char *kwnames[] = {
30175 (char *) "self",(char *) "ratio", NULL
30176 };
30177
30178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Of:SizerItem_SetRatio",kwnames,&obj0,&arg2)) goto fail;
30179 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30180 {
30181 PyThreadState* __tstate = wxPyBeginAllowThreads();
30182 (arg1)->SetRatio(arg2);
30183
30184 wxPyEndAllowThreads(__tstate);
30185 if (PyErr_Occurred()) SWIG_fail;
30186 }
30187 Py_INCREF(Py_None); resultobj = Py_None;
30188 return resultobj;
30189 fail:
30190 return NULL;
30191 }
30192
30193
30194 static PyObject *_wrap_SizerItem_GetRatio(PyObject *self, PyObject *args, PyObject *kwargs) {
30195 PyObject *resultobj;
30196 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
30197 float result;
30198 PyObject * obj0 = 0 ;
30199 char *kwnames[] = {
30200 (char *) "self", NULL
30201 };
30202
30203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetRatio",kwnames,&obj0)) goto fail;
30204 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30205 {
30206 PyThreadState* __tstate = wxPyBeginAllowThreads();
30207 result = (float)(arg1)->GetRatio();
30208
30209 wxPyEndAllowThreads(__tstate);
30210 if (PyErr_Occurred()) SWIG_fail;
30211 }
30212 resultobj = PyFloat_FromDouble(result);
30213 return resultobj;
30214 fail:
30215 return NULL;
30216 }
30217
30218
30219 static PyObject *_wrap_SizerItem_IsWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
30220 PyObject *resultobj;
30221 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
30222 bool result;
30223 PyObject * obj0 = 0 ;
30224 char *kwnames[] = {
30225 (char *) "self", NULL
30226 };
30227
30228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_IsWindow",kwnames,&obj0)) goto fail;
30229 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30230 {
30231 PyThreadState* __tstate = wxPyBeginAllowThreads();
30232 result = (bool)(arg1)->IsWindow();
30233
30234 wxPyEndAllowThreads(__tstate);
30235 if (PyErr_Occurred()) SWIG_fail;
30236 }
30237 resultobj = PyInt_FromLong((long)result);
30238 return resultobj;
30239 fail:
30240 return NULL;
30241 }
30242
30243
30244 static PyObject *_wrap_SizerItem_IsSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
30245 PyObject *resultobj;
30246 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
30247 bool result;
30248 PyObject * obj0 = 0 ;
30249 char *kwnames[] = {
30250 (char *) "self", NULL
30251 };
30252
30253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_IsSizer",kwnames,&obj0)) goto fail;
30254 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30255 {
30256 PyThreadState* __tstate = wxPyBeginAllowThreads();
30257 result = (bool)(arg1)->IsSizer();
30258
30259 wxPyEndAllowThreads(__tstate);
30260 if (PyErr_Occurred()) SWIG_fail;
30261 }
30262 resultobj = PyInt_FromLong((long)result);
30263 return resultobj;
30264 fail:
30265 return NULL;
30266 }
30267
30268
30269 static PyObject *_wrap_SizerItem_IsSpacer(PyObject *self, PyObject *args, PyObject *kwargs) {
30270 PyObject *resultobj;
30271 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
30272 bool result;
30273 PyObject * obj0 = 0 ;
30274 char *kwnames[] = {
30275 (char *) "self", NULL
30276 };
30277
30278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_IsSpacer",kwnames,&obj0)) goto fail;
30279 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30280 {
30281 PyThreadState* __tstate = wxPyBeginAllowThreads();
30282 result = (bool)(arg1)->IsSpacer();
30283
30284 wxPyEndAllowThreads(__tstate);
30285 if (PyErr_Occurred()) SWIG_fail;
30286 }
30287 resultobj = PyInt_FromLong((long)result);
30288 return resultobj;
30289 fail:
30290 return NULL;
30291 }
30292
30293
30294 static PyObject *_wrap_SizerItem_SetProportion(PyObject *self, PyObject *args, PyObject *kwargs) {
30295 PyObject *resultobj;
30296 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
30297 int arg2 ;
30298 PyObject * obj0 = 0 ;
30299 char *kwnames[] = {
30300 (char *) "self",(char *) "proportion", NULL
30301 };
30302
30303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SizerItem_SetProportion",kwnames,&obj0,&arg2)) goto fail;
30304 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30305 {
30306 PyThreadState* __tstate = wxPyBeginAllowThreads();
30307 (arg1)->SetProportion(arg2);
30308
30309 wxPyEndAllowThreads(__tstate);
30310 if (PyErr_Occurred()) SWIG_fail;
30311 }
30312 Py_INCREF(Py_None); resultobj = Py_None;
30313 return resultobj;
30314 fail:
30315 return NULL;
30316 }
30317
30318
30319 static PyObject *_wrap_SizerItem_GetProportion(PyObject *self, PyObject *args, PyObject *kwargs) {
30320 PyObject *resultobj;
30321 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
30322 int result;
30323 PyObject * obj0 = 0 ;
30324 char *kwnames[] = {
30325 (char *) "self", NULL
30326 };
30327
30328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetProportion",kwnames,&obj0)) goto fail;
30329 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30330 {
30331 PyThreadState* __tstate = wxPyBeginAllowThreads();
30332 result = (int)(arg1)->GetProportion();
30333
30334 wxPyEndAllowThreads(__tstate);
30335 if (PyErr_Occurred()) SWIG_fail;
30336 }
30337 resultobj = PyInt_FromLong((long)result);
30338 return resultobj;
30339 fail:
30340 return NULL;
30341 }
30342
30343
30344 static PyObject *_wrap_SizerItem_SetFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
30345 PyObject *resultobj;
30346 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
30347 int arg2 ;
30348 PyObject * obj0 = 0 ;
30349 char *kwnames[] = {
30350 (char *) "self",(char *) "flag", NULL
30351 };
30352
30353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SizerItem_SetFlag",kwnames,&obj0,&arg2)) goto fail;
30354 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30355 {
30356 PyThreadState* __tstate = wxPyBeginAllowThreads();
30357 (arg1)->SetFlag(arg2);
30358
30359 wxPyEndAllowThreads(__tstate);
30360 if (PyErr_Occurred()) SWIG_fail;
30361 }
30362 Py_INCREF(Py_None); resultobj = Py_None;
30363 return resultobj;
30364 fail:
30365 return NULL;
30366 }
30367
30368
30369 static PyObject *_wrap_SizerItem_GetFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
30370 PyObject *resultobj;
30371 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
30372 int result;
30373 PyObject * obj0 = 0 ;
30374 char *kwnames[] = {
30375 (char *) "self", NULL
30376 };
30377
30378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetFlag",kwnames,&obj0)) goto fail;
30379 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30380 {
30381 PyThreadState* __tstate = wxPyBeginAllowThreads();
30382 result = (int)(arg1)->GetFlag();
30383
30384 wxPyEndAllowThreads(__tstate);
30385 if (PyErr_Occurred()) SWIG_fail;
30386 }
30387 resultobj = PyInt_FromLong((long)result);
30388 return resultobj;
30389 fail:
30390 return NULL;
30391 }
30392
30393
30394 static PyObject *_wrap_SizerItem_SetBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
30395 PyObject *resultobj;
30396 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
30397 int arg2 ;
30398 PyObject * obj0 = 0 ;
30399 char *kwnames[] = {
30400 (char *) "self",(char *) "border", NULL
30401 };
30402
30403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SizerItem_SetBorder",kwnames,&obj0,&arg2)) goto fail;
30404 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30405 {
30406 PyThreadState* __tstate = wxPyBeginAllowThreads();
30407 (arg1)->SetBorder(arg2);
30408
30409 wxPyEndAllowThreads(__tstate);
30410 if (PyErr_Occurred()) SWIG_fail;
30411 }
30412 Py_INCREF(Py_None); resultobj = Py_None;
30413 return resultobj;
30414 fail:
30415 return NULL;
30416 }
30417
30418
30419 static PyObject *_wrap_SizerItem_GetBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
30420 PyObject *resultobj;
30421 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
30422 int result;
30423 PyObject * obj0 = 0 ;
30424 char *kwnames[] = {
30425 (char *) "self", NULL
30426 };
30427
30428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetBorder",kwnames,&obj0)) goto fail;
30429 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30430 {
30431 PyThreadState* __tstate = wxPyBeginAllowThreads();
30432 result = (int)(arg1)->GetBorder();
30433
30434 wxPyEndAllowThreads(__tstate);
30435 if (PyErr_Occurred()) SWIG_fail;
30436 }
30437 resultobj = PyInt_FromLong((long)result);
30438 return resultobj;
30439 fail:
30440 return NULL;
30441 }
30442
30443
30444 static PyObject *_wrap_SizerItem_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
30445 PyObject *resultobj;
30446 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
30447 wxWindow *result;
30448 PyObject * obj0 = 0 ;
30449 char *kwnames[] = {
30450 (char *) "self", NULL
30451 };
30452
30453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetWindow",kwnames,&obj0)) goto fail;
30454 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30455 {
30456 PyThreadState* __tstate = wxPyBeginAllowThreads();
30457 result = (wxWindow *)(arg1)->GetWindow();
30458
30459 wxPyEndAllowThreads(__tstate);
30460 if (PyErr_Occurred()) SWIG_fail;
30461 }
30462 {
30463 resultobj = wxPyMake_wxObject(result);
30464 }
30465 return resultobj;
30466 fail:
30467 return NULL;
30468 }
30469
30470
30471 static PyObject *_wrap_SizerItem_SetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
30472 PyObject *resultobj;
30473 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
30474 wxWindow *arg2 = (wxWindow *) 0 ;
30475 PyObject * obj0 = 0 ;
30476 PyObject * obj1 = 0 ;
30477 char *kwnames[] = {
30478 (char *) "self",(char *) "window", NULL
30479 };
30480
30481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetWindow",kwnames,&obj0,&obj1)) goto fail;
30482 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30483 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30484 {
30485 PyThreadState* __tstate = wxPyBeginAllowThreads();
30486 (arg1)->SetWindow(arg2);
30487
30488 wxPyEndAllowThreads(__tstate);
30489 if (PyErr_Occurred()) SWIG_fail;
30490 }
30491 Py_INCREF(Py_None); resultobj = Py_None;
30492 return resultobj;
30493 fail:
30494 return NULL;
30495 }
30496
30497
30498 static PyObject *_wrap_SizerItem_GetSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
30499 PyObject *resultobj;
30500 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
30501 wxSizer *result;
30502 PyObject * obj0 = 0 ;
30503 char *kwnames[] = {
30504 (char *) "self", NULL
30505 };
30506
30507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetSizer",kwnames,&obj0)) goto fail;
30508 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30509 {
30510 PyThreadState* __tstate = wxPyBeginAllowThreads();
30511 result = (wxSizer *)(arg1)->GetSizer();
30512
30513 wxPyEndAllowThreads(__tstate);
30514 if (PyErr_Occurred()) SWIG_fail;
30515 }
30516 {
30517 resultobj = wxPyMake_wxSizer(result);
30518 }
30519 return resultobj;
30520 fail:
30521 return NULL;
30522 }
30523
30524
30525 static PyObject *_wrap_SizerItem_SetSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
30526 PyObject *resultobj;
30527 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
30528 wxSizer *arg2 = (wxSizer *) 0 ;
30529 PyObject * obj0 = 0 ;
30530 PyObject * obj1 = 0 ;
30531 char *kwnames[] = {
30532 (char *) "self",(char *) "sizer", NULL
30533 };
30534
30535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetSizer",kwnames,&obj0,&obj1)) goto fail;
30536 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30537 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30538 {
30539 PyThreadState* __tstate = wxPyBeginAllowThreads();
30540 (arg1)->SetSizer(arg2);
30541
30542 wxPyEndAllowThreads(__tstate);
30543 if (PyErr_Occurred()) SWIG_fail;
30544 }
30545 Py_INCREF(Py_None); resultobj = Py_None;
30546 return resultobj;
30547 fail:
30548 return NULL;
30549 }
30550
30551
30552 static PyObject *_wrap_SizerItem_GetSpacer(PyObject *self, PyObject *args, PyObject *kwargs) {
30553 PyObject *resultobj;
30554 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
30555 wxSize *result;
30556 PyObject * obj0 = 0 ;
30557 char *kwnames[] = {
30558 (char *) "self", NULL
30559 };
30560
30561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetSpacer",kwnames,&obj0)) goto fail;
30562 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30563 {
30564 PyThreadState* __tstate = wxPyBeginAllowThreads();
30565 {
30566 wxSize const &_result_ref = (arg1)->GetSpacer();
30567 result = (wxSize *) &_result_ref;
30568 }
30569
30570 wxPyEndAllowThreads(__tstate);
30571 if (PyErr_Occurred()) SWIG_fail;
30572 }
30573 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSize, 0);
30574 return resultobj;
30575 fail:
30576 return NULL;
30577 }
30578
30579
30580 static PyObject *_wrap_SizerItem_SetSpacer(PyObject *self, PyObject *args, PyObject *kwargs) {
30581 PyObject *resultobj;
30582 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
30583 wxSize *arg2 = 0 ;
30584 wxSize temp2 ;
30585 PyObject * obj0 = 0 ;
30586 PyObject * obj1 = 0 ;
30587 char *kwnames[] = {
30588 (char *) "self",(char *) "size", NULL
30589 };
30590
30591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetSpacer",kwnames,&obj0,&obj1)) goto fail;
30592 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30593 {
30594 arg2 = &temp2;
30595 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
30596 }
30597 {
30598 PyThreadState* __tstate = wxPyBeginAllowThreads();
30599 (arg1)->SetSpacer((wxSize const &)*arg2);
30600
30601 wxPyEndAllowThreads(__tstate);
30602 if (PyErr_Occurred()) SWIG_fail;
30603 }
30604 Py_INCREF(Py_None); resultobj = Py_None;
30605 return resultobj;
30606 fail:
30607 return NULL;
30608 }
30609
30610
30611 static PyObject *_wrap_SizerItem_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
30612 PyObject *resultobj;
30613 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
30614 bool arg2 ;
30615 PyObject * obj0 = 0 ;
30616 PyObject * obj1 = 0 ;
30617 char *kwnames[] = {
30618 (char *) "self",(char *) "show", NULL
30619 };
30620
30621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_Show",kwnames,&obj0,&obj1)) goto fail;
30622 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30623 arg2 = PyInt_AsLong(obj1) ? true : false;
30624 if (PyErr_Occurred()) SWIG_fail;
30625 {
30626 PyThreadState* __tstate = wxPyBeginAllowThreads();
30627 (arg1)->Show(arg2);
30628
30629 wxPyEndAllowThreads(__tstate);
30630 if (PyErr_Occurred()) SWIG_fail;
30631 }
30632 Py_INCREF(Py_None); resultobj = Py_None;
30633 return resultobj;
30634 fail:
30635 return NULL;
30636 }
30637
30638
30639 static PyObject *_wrap_SizerItem_IsShown(PyObject *self, PyObject *args, PyObject *kwargs) {
30640 PyObject *resultobj;
30641 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
30642 bool result;
30643 PyObject * obj0 = 0 ;
30644 char *kwnames[] = {
30645 (char *) "self", NULL
30646 };
30647
30648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_IsShown",kwnames,&obj0)) goto fail;
30649 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30650 {
30651 PyThreadState* __tstate = wxPyBeginAllowThreads();
30652 result = (bool)(arg1)->IsShown();
30653
30654 wxPyEndAllowThreads(__tstate);
30655 if (PyErr_Occurred()) SWIG_fail;
30656 }
30657 resultobj = PyInt_FromLong((long)result);
30658 return resultobj;
30659 fail:
30660 return NULL;
30661 }
30662
30663
30664 static PyObject *_wrap_SizerItem_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
30665 PyObject *resultobj;
30666 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
30667 wxPoint result;
30668 PyObject * obj0 = 0 ;
30669 char *kwnames[] = {
30670 (char *) "self", NULL
30671 };
30672
30673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetPosition",kwnames,&obj0)) goto fail;
30674 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30675 {
30676 PyThreadState* __tstate = wxPyBeginAllowThreads();
30677 result = (arg1)->GetPosition();
30678
30679 wxPyEndAllowThreads(__tstate);
30680 if (PyErr_Occurred()) SWIG_fail;
30681 }
30682 {
30683 wxPoint * resultptr;
30684 resultptr = new wxPoint((wxPoint &) result);
30685 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
30686 }
30687 return resultobj;
30688 fail:
30689 return NULL;
30690 }
30691
30692
30693 static PyObject *_wrap_SizerItem_GetUserData(PyObject *self, PyObject *args, PyObject *kwargs) {
30694 PyObject *resultobj;
30695 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
30696 PyObject *result;
30697 PyObject * obj0 = 0 ;
30698 char *kwnames[] = {
30699 (char *) "self", NULL
30700 };
30701
30702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetUserData",kwnames,&obj0)) goto fail;
30703 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30704 {
30705 PyThreadState* __tstate = wxPyBeginAllowThreads();
30706 result = (PyObject *)wxSizerItem_GetUserData(arg1);
30707
30708 wxPyEndAllowThreads(__tstate);
30709 if (PyErr_Occurred()) SWIG_fail;
30710 }
30711 resultobj = result;
30712 return resultobj;
30713 fail:
30714 return NULL;
30715 }
30716
30717
30718 static PyObject * SizerItem_swigregister(PyObject *self, PyObject *args) {
30719 PyObject *obj;
30720 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
30721 SWIG_TypeClientData(SWIGTYPE_p_wxSizerItem, obj);
30722 Py_INCREF(obj);
30723 return Py_BuildValue((char *)"");
30724 }
30725 static PyObject *_wrap_Sizer__setOORInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
30726 PyObject *resultobj;
30727 wxSizer *arg1 = (wxSizer *) 0 ;
30728 PyObject *arg2 = (PyObject *) 0 ;
30729 PyObject * obj0 = 0 ;
30730 PyObject * obj1 = 0 ;
30731 char *kwnames[] = {
30732 (char *) "self",(char *) "_self", NULL
30733 };
30734
30735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer__setOORInfo",kwnames,&obj0,&obj1)) goto fail;
30736 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30737 arg2 = obj1;
30738 {
30739 PyThreadState* __tstate = wxPyBeginAllowThreads();
30740 wxSizer__setOORInfo(arg1,arg2);
30741
30742 wxPyEndAllowThreads(__tstate);
30743 if (PyErr_Occurred()) SWIG_fail;
30744 }
30745 Py_INCREF(Py_None); resultobj = Py_None;
30746 return resultobj;
30747 fail:
30748 return NULL;
30749 }
30750
30751
30752 static PyObject *_wrap_Sizer_Add(PyObject *self, PyObject *args, PyObject *kwargs) {
30753 PyObject *resultobj;
30754 wxSizer *arg1 = (wxSizer *) 0 ;
30755 PyObject *arg2 = (PyObject *) 0 ;
30756 int arg3 = (int) 0 ;
30757 int arg4 = (int) 0 ;
30758 int arg5 = (int) 0 ;
30759 PyObject *arg6 = (PyObject *) NULL ;
30760 PyObject * obj0 = 0 ;
30761 PyObject * obj1 = 0 ;
30762 PyObject * obj5 = 0 ;
30763 char *kwnames[] = {
30764 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
30765 };
30766
30767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iiiO:Sizer_Add",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&obj5)) goto fail;
30768 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30769 arg2 = obj1;
30770 if (obj5) {
30771 arg6 = obj5;
30772 }
30773 {
30774 PyThreadState* __tstate = wxPyBeginAllowThreads();
30775 wxSizer_Add(arg1,arg2,arg3,arg4,arg5,arg6);
30776
30777 wxPyEndAllowThreads(__tstate);
30778 if (PyErr_Occurred()) SWIG_fail;
30779 }
30780 Py_INCREF(Py_None); resultobj = Py_None;
30781 return resultobj;
30782 fail:
30783 return NULL;
30784 }
30785
30786
30787 static PyObject *_wrap_Sizer_Insert(PyObject *self, PyObject *args, PyObject *kwargs) {
30788 PyObject *resultobj;
30789 wxSizer *arg1 = (wxSizer *) 0 ;
30790 int arg2 ;
30791 PyObject *arg3 = (PyObject *) 0 ;
30792 int arg4 = (int) 0 ;
30793 int arg5 = (int) 0 ;
30794 int arg6 = (int) 0 ;
30795 PyObject *arg7 = (PyObject *) NULL ;
30796 PyObject * obj0 = 0 ;
30797 PyObject * obj2 = 0 ;
30798 PyObject * obj6 = 0 ;
30799 char *kwnames[] = {
30800 (char *) "self",(char *) "before",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
30801 };
30802
30803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|iiiO:Sizer_Insert",kwnames,&obj0,&arg2,&obj2,&arg4,&arg5,&arg6,&obj6)) goto fail;
30804 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30805 arg3 = obj2;
30806 if (obj6) {
30807 arg7 = obj6;
30808 }
30809 {
30810 PyThreadState* __tstate = wxPyBeginAllowThreads();
30811 wxSizer_Insert(arg1,arg2,arg3,arg4,arg5,arg6,arg7);
30812
30813 wxPyEndAllowThreads(__tstate);
30814 if (PyErr_Occurred()) SWIG_fail;
30815 }
30816 Py_INCREF(Py_None); resultobj = Py_None;
30817 return resultobj;
30818 fail:
30819 return NULL;
30820 }
30821
30822
30823 static PyObject *_wrap_Sizer_Prepend(PyObject *self, PyObject *args, PyObject *kwargs) {
30824 PyObject *resultobj;
30825 wxSizer *arg1 = (wxSizer *) 0 ;
30826 PyObject *arg2 = (PyObject *) 0 ;
30827 int arg3 = (int) 0 ;
30828 int arg4 = (int) 0 ;
30829 int arg5 = (int) 0 ;
30830 PyObject *arg6 = (PyObject *) NULL ;
30831 PyObject * obj0 = 0 ;
30832 PyObject * obj1 = 0 ;
30833 PyObject * obj5 = 0 ;
30834 char *kwnames[] = {
30835 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
30836 };
30837
30838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iiiO:Sizer_Prepend",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&obj5)) goto fail;
30839 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30840 arg2 = obj1;
30841 if (obj5) {
30842 arg6 = obj5;
30843 }
30844 {
30845 PyThreadState* __tstate = wxPyBeginAllowThreads();
30846 wxSizer_Prepend(arg1,arg2,arg3,arg4,arg5,arg6);
30847
30848 wxPyEndAllowThreads(__tstate);
30849 if (PyErr_Occurred()) SWIG_fail;
30850 }
30851 Py_INCREF(Py_None); resultobj = Py_None;
30852 return resultobj;
30853 fail:
30854 return NULL;
30855 }
30856
30857
30858 static PyObject *_wrap_Sizer_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
30859 PyObject *resultobj;
30860 wxSizer *arg1 = (wxSizer *) 0 ;
30861 PyObject *arg2 = (PyObject *) 0 ;
30862 bool result;
30863 PyObject * obj0 = 0 ;
30864 PyObject * obj1 = 0 ;
30865 char *kwnames[] = {
30866 (char *) "self",(char *) "item", NULL
30867 };
30868
30869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_Remove",kwnames,&obj0,&obj1)) goto fail;
30870 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30871 arg2 = obj1;
30872 {
30873 PyThreadState* __tstate = wxPyBeginAllowThreads();
30874 result = (bool)wxSizer_Remove(arg1,arg2);
30875
30876 wxPyEndAllowThreads(__tstate);
30877 if (PyErr_Occurred()) SWIG_fail;
30878 }
30879 resultobj = PyInt_FromLong((long)result);
30880 return resultobj;
30881 fail:
30882 return NULL;
30883 }
30884
30885
30886 static PyObject *_wrap_Sizer__SetItemMinSize(PyObject *self, PyObject *args, PyObject *kwargs) {
30887 PyObject *resultobj;
30888 wxSizer *arg1 = (wxSizer *) 0 ;
30889 PyObject *arg2 = (PyObject *) 0 ;
30890 wxSize *arg3 = 0 ;
30891 wxSize temp3 ;
30892 PyObject * obj0 = 0 ;
30893 PyObject * obj1 = 0 ;
30894 PyObject * obj2 = 0 ;
30895 char *kwnames[] = {
30896 (char *) "self",(char *) "item",(char *) "size", NULL
30897 };
30898
30899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Sizer__SetItemMinSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
30900 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30901 arg2 = obj1;
30902 {
30903 arg3 = &temp3;
30904 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
30905 }
30906 {
30907 PyThreadState* __tstate = wxPyBeginAllowThreads();
30908 wxSizer__SetItemMinSize(arg1,arg2,(wxSize const &)*arg3);
30909
30910 wxPyEndAllowThreads(__tstate);
30911 if (PyErr_Occurred()) SWIG_fail;
30912 }
30913 Py_INCREF(Py_None); resultobj = Py_None;
30914 return resultobj;
30915 fail:
30916 return NULL;
30917 }
30918
30919
30920 static PyObject *_wrap_Sizer_AddItem(PyObject *self, PyObject *args, PyObject *kwargs) {
30921 PyObject *resultobj;
30922 wxSizer *arg1 = (wxSizer *) 0 ;
30923 wxSizerItem *arg2 = (wxSizerItem *) 0 ;
30924 PyObject * obj0 = 0 ;
30925 PyObject * obj1 = 0 ;
30926 char *kwnames[] = {
30927 (char *) "self",(char *) "item", NULL
30928 };
30929
30930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_AddItem",kwnames,&obj0,&obj1)) goto fail;
30931 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30932 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30933 {
30934 PyThreadState* __tstate = wxPyBeginAllowThreads();
30935 (arg1)->Add(arg2);
30936
30937 wxPyEndAllowThreads(__tstate);
30938 if (PyErr_Occurred()) SWIG_fail;
30939 }
30940 Py_INCREF(Py_None); resultobj = Py_None;
30941 return resultobj;
30942 fail:
30943 return NULL;
30944 }
30945
30946
30947 static PyObject *_wrap_Sizer_InsertItem(PyObject *self, PyObject *args, PyObject *kwargs) {
30948 PyObject *resultobj;
30949 wxSizer *arg1 = (wxSizer *) 0 ;
30950 size_t arg2 ;
30951 wxSizerItem *arg3 = (wxSizerItem *) 0 ;
30952 PyObject * obj0 = 0 ;
30953 PyObject * obj1 = 0 ;
30954 PyObject * obj2 = 0 ;
30955 char *kwnames[] = {
30956 (char *) "self",(char *) "index",(char *) "item", NULL
30957 };
30958
30959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Sizer_InsertItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
30960 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30961 arg2 = (size_t) PyInt_AsLong(obj1);
30962 if (PyErr_Occurred()) SWIG_fail;
30963 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30964 {
30965 PyThreadState* __tstate = wxPyBeginAllowThreads();
30966 (arg1)->Insert(arg2,arg3);
30967
30968 wxPyEndAllowThreads(__tstate);
30969 if (PyErr_Occurred()) SWIG_fail;
30970 }
30971 Py_INCREF(Py_None); resultobj = Py_None;
30972 return resultobj;
30973 fail:
30974 return NULL;
30975 }
30976
30977
30978 static PyObject *_wrap_Sizer_PrependItem(PyObject *self, PyObject *args, PyObject *kwargs) {
30979 PyObject *resultobj;
30980 wxSizer *arg1 = (wxSizer *) 0 ;
30981 wxSizerItem *arg2 = (wxSizerItem *) 0 ;
30982 PyObject * obj0 = 0 ;
30983 PyObject * obj1 = 0 ;
30984 char *kwnames[] = {
30985 (char *) "self",(char *) "item", NULL
30986 };
30987
30988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_PrependItem",kwnames,&obj0,&obj1)) goto fail;
30989 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30990 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30991 {
30992 PyThreadState* __tstate = wxPyBeginAllowThreads();
30993 (arg1)->Prepend(arg2);
30994
30995 wxPyEndAllowThreads(__tstate);
30996 if (PyErr_Occurred()) SWIG_fail;
30997 }
30998 Py_INCREF(Py_None); resultobj = Py_None;
30999 return resultobj;
31000 fail:
31001 return NULL;
31002 }
31003
31004
31005 static PyObject *_wrap_Sizer_SetDimension(PyObject *self, PyObject *args, PyObject *kwargs) {
31006 PyObject *resultobj;
31007 wxSizer *arg1 = (wxSizer *) 0 ;
31008 int arg2 ;
31009 int arg3 ;
31010 int arg4 ;
31011 int arg5 ;
31012 PyObject * obj0 = 0 ;
31013 char *kwnames[] = {
31014 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
31015 };
31016
31017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii:Sizer_SetDimension",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
31018 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31019 {
31020 PyThreadState* __tstate = wxPyBeginAllowThreads();
31021 (arg1)->SetDimension(arg2,arg3,arg4,arg5);
31022
31023 wxPyEndAllowThreads(__tstate);
31024 if (PyErr_Occurred()) SWIG_fail;
31025 }
31026 Py_INCREF(Py_None); resultobj = Py_None;
31027 return resultobj;
31028 fail:
31029 return NULL;
31030 }
31031
31032
31033 static PyObject *_wrap_Sizer_SetMinSize(PyObject *self, PyObject *args, PyObject *kwargs) {
31034 PyObject *resultobj;
31035 wxSizer *arg1 = (wxSizer *) 0 ;
31036 wxSize *arg2 = 0 ;
31037 wxSize temp2 ;
31038 PyObject * obj0 = 0 ;
31039 PyObject * obj1 = 0 ;
31040 char *kwnames[] = {
31041 (char *) "self",(char *) "size", NULL
31042 };
31043
31044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_SetMinSize",kwnames,&obj0,&obj1)) goto fail;
31045 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31046 {
31047 arg2 = &temp2;
31048 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
31049 }
31050 {
31051 PyThreadState* __tstate = wxPyBeginAllowThreads();
31052 (arg1)->SetMinSize((wxSize const &)*arg2);
31053
31054 wxPyEndAllowThreads(__tstate);
31055 if (PyErr_Occurred()) SWIG_fail;
31056 }
31057 Py_INCREF(Py_None); resultobj = Py_None;
31058 return resultobj;
31059 fail:
31060 return NULL;
31061 }
31062
31063
31064 static PyObject *_wrap_Sizer_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
31065 PyObject *resultobj;
31066 wxSizer *arg1 = (wxSizer *) 0 ;
31067 wxSize result;
31068 PyObject * obj0 = 0 ;
31069 char *kwnames[] = {
31070 (char *) "self", NULL
31071 };
31072
31073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_GetSize",kwnames,&obj0)) goto fail;
31074 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31075 {
31076 PyThreadState* __tstate = wxPyBeginAllowThreads();
31077 result = (arg1)->GetSize();
31078
31079 wxPyEndAllowThreads(__tstate);
31080 if (PyErr_Occurred()) SWIG_fail;
31081 }
31082 {
31083 wxSize * resultptr;
31084 resultptr = new wxSize((wxSize &) result);
31085 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
31086 }
31087 return resultobj;
31088 fail:
31089 return NULL;
31090 }
31091
31092
31093 static PyObject *_wrap_Sizer_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
31094 PyObject *resultobj;
31095 wxSizer *arg1 = (wxSizer *) 0 ;
31096 wxPoint result;
31097 PyObject * obj0 = 0 ;
31098 char *kwnames[] = {
31099 (char *) "self", NULL
31100 };
31101
31102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_GetPosition",kwnames,&obj0)) goto fail;
31103 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31104 {
31105 PyThreadState* __tstate = wxPyBeginAllowThreads();
31106 result = (arg1)->GetPosition();
31107
31108 wxPyEndAllowThreads(__tstate);
31109 if (PyErr_Occurred()) SWIG_fail;
31110 }
31111 {
31112 wxPoint * resultptr;
31113 resultptr = new wxPoint((wxPoint &) result);
31114 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
31115 }
31116 return resultobj;
31117 fail:
31118 return NULL;
31119 }
31120
31121
31122 static PyObject *_wrap_Sizer_GetMinSize(PyObject *self, PyObject *args, PyObject *kwargs) {
31123 PyObject *resultobj;
31124 wxSizer *arg1 = (wxSizer *) 0 ;
31125 wxSize result;
31126 PyObject * obj0 = 0 ;
31127 char *kwnames[] = {
31128 (char *) "self", NULL
31129 };
31130
31131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_GetMinSize",kwnames,&obj0)) goto fail;
31132 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31133 {
31134 PyThreadState* __tstate = wxPyBeginAllowThreads();
31135 result = (arg1)->GetMinSize();
31136
31137 wxPyEndAllowThreads(__tstate);
31138 if (PyErr_Occurred()) SWIG_fail;
31139 }
31140 {
31141 wxSize * resultptr;
31142 resultptr = new wxSize((wxSize &) result);
31143 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
31144 }
31145 return resultobj;
31146 fail:
31147 return NULL;
31148 }
31149
31150
31151 static PyObject *_wrap_Sizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
31152 PyObject *resultobj;
31153 wxSizer *arg1 = (wxSizer *) 0 ;
31154 PyObject * obj0 = 0 ;
31155 char *kwnames[] = {
31156 (char *) "self", NULL
31157 };
31158
31159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_RecalcSizes",kwnames,&obj0)) goto fail;
31160 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31161 {
31162 PyThreadState* __tstate = wxPyBeginAllowThreads();
31163 (arg1)->RecalcSizes();
31164
31165 wxPyEndAllowThreads(__tstate);
31166 if (PyErr_Occurred()) SWIG_fail;
31167 }
31168 Py_INCREF(Py_None); resultobj = Py_None;
31169 return resultobj;
31170 fail:
31171 return NULL;
31172 }
31173
31174
31175 static PyObject *_wrap_Sizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
31176 PyObject *resultobj;
31177 wxSizer *arg1 = (wxSizer *) 0 ;
31178 wxSize result;
31179 PyObject * obj0 = 0 ;
31180 char *kwnames[] = {
31181 (char *) "self", NULL
31182 };
31183
31184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_CalcMin",kwnames,&obj0)) goto fail;
31185 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31186 {
31187 PyThreadState* __tstate = wxPyBeginAllowThreads();
31188 result = (arg1)->CalcMin();
31189
31190 wxPyEndAllowThreads(__tstate);
31191 if (PyErr_Occurred()) SWIG_fail;
31192 }
31193 {
31194 wxSize * resultptr;
31195 resultptr = new wxSize((wxSize &) result);
31196 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
31197 }
31198 return resultobj;
31199 fail:
31200 return NULL;
31201 }
31202
31203
31204 static PyObject *_wrap_Sizer_Layout(PyObject *self, PyObject *args, PyObject *kwargs) {
31205 PyObject *resultobj;
31206 wxSizer *arg1 = (wxSizer *) 0 ;
31207 PyObject * obj0 = 0 ;
31208 char *kwnames[] = {
31209 (char *) "self", NULL
31210 };
31211
31212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_Layout",kwnames,&obj0)) goto fail;
31213 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31214 {
31215 PyThreadState* __tstate = wxPyBeginAllowThreads();
31216 (arg1)->Layout();
31217
31218 wxPyEndAllowThreads(__tstate);
31219 if (PyErr_Occurred()) SWIG_fail;
31220 }
31221 Py_INCREF(Py_None); resultobj = Py_None;
31222 return resultobj;
31223 fail:
31224 return NULL;
31225 }
31226
31227
31228 static PyObject *_wrap_Sizer_Fit(PyObject *self, PyObject *args, PyObject *kwargs) {
31229 PyObject *resultobj;
31230 wxSizer *arg1 = (wxSizer *) 0 ;
31231 wxWindow *arg2 = (wxWindow *) 0 ;
31232 wxSize result;
31233 PyObject * obj0 = 0 ;
31234 PyObject * obj1 = 0 ;
31235 char *kwnames[] = {
31236 (char *) "self",(char *) "window", NULL
31237 };
31238
31239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_Fit",kwnames,&obj0,&obj1)) goto fail;
31240 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31241 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31242 {
31243 PyThreadState* __tstate = wxPyBeginAllowThreads();
31244 result = (arg1)->Fit(arg2);
31245
31246 wxPyEndAllowThreads(__tstate);
31247 if (PyErr_Occurred()) SWIG_fail;
31248 }
31249 {
31250 wxSize * resultptr;
31251 resultptr = new wxSize((wxSize &) result);
31252 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
31253 }
31254 return resultobj;
31255 fail:
31256 return NULL;
31257 }
31258
31259
31260 static PyObject *_wrap_Sizer_FitInside(PyObject *self, PyObject *args, PyObject *kwargs) {
31261 PyObject *resultobj;
31262 wxSizer *arg1 = (wxSizer *) 0 ;
31263 wxWindow *arg2 = (wxWindow *) 0 ;
31264 PyObject * obj0 = 0 ;
31265 PyObject * obj1 = 0 ;
31266 char *kwnames[] = {
31267 (char *) "self",(char *) "window", NULL
31268 };
31269
31270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_FitInside",kwnames,&obj0,&obj1)) goto fail;
31271 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31272 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31273 {
31274 PyThreadState* __tstate = wxPyBeginAllowThreads();
31275 (arg1)->FitInside(arg2);
31276
31277 wxPyEndAllowThreads(__tstate);
31278 if (PyErr_Occurred()) SWIG_fail;
31279 }
31280 Py_INCREF(Py_None); resultobj = Py_None;
31281 return resultobj;
31282 fail:
31283 return NULL;
31284 }
31285
31286
31287 static PyObject *_wrap_Sizer_SetSizeHints(PyObject *self, PyObject *args, PyObject *kwargs) {
31288 PyObject *resultobj;
31289 wxSizer *arg1 = (wxSizer *) 0 ;
31290 wxWindow *arg2 = (wxWindow *) 0 ;
31291 PyObject * obj0 = 0 ;
31292 PyObject * obj1 = 0 ;
31293 char *kwnames[] = {
31294 (char *) "self",(char *) "window", NULL
31295 };
31296
31297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_SetSizeHints",kwnames,&obj0,&obj1)) goto fail;
31298 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31299 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31300 {
31301 PyThreadState* __tstate = wxPyBeginAllowThreads();
31302 (arg1)->SetSizeHints(arg2);
31303
31304 wxPyEndAllowThreads(__tstate);
31305 if (PyErr_Occurred()) SWIG_fail;
31306 }
31307 Py_INCREF(Py_None); resultobj = Py_None;
31308 return resultobj;
31309 fail:
31310 return NULL;
31311 }
31312
31313
31314 static PyObject *_wrap_Sizer_SetVirtualSizeHints(PyObject *self, PyObject *args, PyObject *kwargs) {
31315 PyObject *resultobj;
31316 wxSizer *arg1 = (wxSizer *) 0 ;
31317 wxWindow *arg2 = (wxWindow *) 0 ;
31318 PyObject * obj0 = 0 ;
31319 PyObject * obj1 = 0 ;
31320 char *kwnames[] = {
31321 (char *) "self",(char *) "window", NULL
31322 };
31323
31324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_SetVirtualSizeHints",kwnames,&obj0,&obj1)) goto fail;
31325 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31326 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31327 {
31328 PyThreadState* __tstate = wxPyBeginAllowThreads();
31329 (arg1)->SetVirtualSizeHints(arg2);
31330
31331 wxPyEndAllowThreads(__tstate);
31332 if (PyErr_Occurred()) SWIG_fail;
31333 }
31334 Py_INCREF(Py_None); resultobj = Py_None;
31335 return resultobj;
31336 fail:
31337 return NULL;
31338 }
31339
31340
31341 static PyObject *_wrap_Sizer_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
31342 PyObject *resultobj;
31343 wxSizer *arg1 = (wxSizer *) 0 ;
31344 bool arg2 = (bool) False ;
31345 PyObject * obj0 = 0 ;
31346 PyObject * obj1 = 0 ;
31347 char *kwnames[] = {
31348 (char *) "self",(char *) "delete_windows", NULL
31349 };
31350
31351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Sizer_Clear",kwnames,&obj0,&obj1)) goto fail;
31352 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31353 if (obj1) {
31354 arg2 = PyInt_AsLong(obj1) ? true : false;
31355 if (PyErr_Occurred()) SWIG_fail;
31356 }
31357 {
31358 PyThreadState* __tstate = wxPyBeginAllowThreads();
31359 (arg1)->Clear(arg2);
31360
31361 wxPyEndAllowThreads(__tstate);
31362 if (PyErr_Occurred()) SWIG_fail;
31363 }
31364 Py_INCREF(Py_None); resultobj = Py_None;
31365 return resultobj;
31366 fail:
31367 return NULL;
31368 }
31369
31370
31371 static PyObject *_wrap_Sizer_DeleteWindows(PyObject *self, PyObject *args, PyObject *kwargs) {
31372 PyObject *resultobj;
31373 wxSizer *arg1 = (wxSizer *) 0 ;
31374 PyObject * obj0 = 0 ;
31375 char *kwnames[] = {
31376 (char *) "self", NULL
31377 };
31378
31379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_DeleteWindows",kwnames,&obj0)) goto fail;
31380 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31381 {
31382 PyThreadState* __tstate = wxPyBeginAllowThreads();
31383 (arg1)->DeleteWindows();
31384
31385 wxPyEndAllowThreads(__tstate);
31386 if (PyErr_Occurred()) SWIG_fail;
31387 }
31388 Py_INCREF(Py_None); resultobj = Py_None;
31389 return resultobj;
31390 fail:
31391 return NULL;
31392 }
31393
31394
31395 static PyObject *_wrap_Sizer_GetChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
31396 PyObject *resultobj;
31397 wxSizer *arg1 = (wxSizer *) 0 ;
31398 PyObject *result;
31399 PyObject * obj0 = 0 ;
31400 char *kwnames[] = {
31401 (char *) "self", NULL
31402 };
31403
31404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_GetChildren",kwnames,&obj0)) goto fail;
31405 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31406 {
31407 PyThreadState* __tstate = wxPyBeginAllowThreads();
31408 result = (PyObject *)wxSizer_GetChildren(arg1);
31409
31410 wxPyEndAllowThreads(__tstate);
31411 if (PyErr_Occurred()) SWIG_fail;
31412 }
31413 resultobj = result;
31414 return resultobj;
31415 fail:
31416 return NULL;
31417 }
31418
31419
31420 static PyObject *_wrap_Sizer_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
31421 PyObject *resultobj;
31422 wxSizer *arg1 = (wxSizer *) 0 ;
31423 PyObject *arg2 = (PyObject *) 0 ;
31424 bool arg3 = (bool) True ;
31425 PyObject * obj0 = 0 ;
31426 PyObject * obj1 = 0 ;
31427 PyObject * obj2 = 0 ;
31428 char *kwnames[] = {
31429 (char *) "self",(char *) "item",(char *) "show", NULL
31430 };
31431
31432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Sizer_Show",kwnames,&obj0,&obj1,&obj2)) goto fail;
31433 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31434 arg2 = obj1;
31435 if (obj2) {
31436 arg3 = PyInt_AsLong(obj2) ? true : false;
31437 if (PyErr_Occurred()) SWIG_fail;
31438 }
31439 {
31440 PyThreadState* __tstate = wxPyBeginAllowThreads();
31441 wxSizer_Show(arg1,arg2,arg3);
31442
31443 wxPyEndAllowThreads(__tstate);
31444 if (PyErr_Occurred()) SWIG_fail;
31445 }
31446 Py_INCREF(Py_None); resultobj = Py_None;
31447 return resultobj;
31448 fail:
31449 return NULL;
31450 }
31451
31452
31453 static PyObject *_wrap_Sizer_Hide(PyObject *self, PyObject *args, PyObject *kwargs) {
31454 PyObject *resultobj;
31455 wxSizer *arg1 = (wxSizer *) 0 ;
31456 PyObject *arg2 = (PyObject *) 0 ;
31457 PyObject * obj0 = 0 ;
31458 PyObject * obj1 = 0 ;
31459 char *kwnames[] = {
31460 (char *) "self",(char *) "item", NULL
31461 };
31462
31463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_Hide",kwnames,&obj0,&obj1)) goto fail;
31464 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31465 arg2 = obj1;
31466 {
31467 PyThreadState* __tstate = wxPyBeginAllowThreads();
31468 wxSizer_Hide(arg1,arg2);
31469
31470 wxPyEndAllowThreads(__tstate);
31471 if (PyErr_Occurred()) SWIG_fail;
31472 }
31473 Py_INCREF(Py_None); resultobj = Py_None;
31474 return resultobj;
31475 fail:
31476 return NULL;
31477 }
31478
31479
31480 static PyObject *_wrap_Sizer_IsShown(PyObject *self, PyObject *args, PyObject *kwargs) {
31481 PyObject *resultobj;
31482 wxSizer *arg1 = (wxSizer *) 0 ;
31483 PyObject *arg2 = (PyObject *) 0 ;
31484 bool result;
31485 PyObject * obj0 = 0 ;
31486 PyObject * obj1 = 0 ;
31487 char *kwnames[] = {
31488 (char *) "self",(char *) "item", NULL
31489 };
31490
31491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_IsShown",kwnames,&obj0,&obj1)) goto fail;
31492 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31493 arg2 = obj1;
31494 {
31495 PyThreadState* __tstate = wxPyBeginAllowThreads();
31496 result = (bool)wxSizer_IsShown(arg1,arg2);
31497
31498 wxPyEndAllowThreads(__tstate);
31499 if (PyErr_Occurred()) SWIG_fail;
31500 }
31501 resultobj = PyInt_FromLong((long)result);
31502 return resultobj;
31503 fail:
31504 return NULL;
31505 }
31506
31507
31508 static PyObject *_wrap_Sizer_ShowItems(PyObject *self, PyObject *args, PyObject *kwargs) {
31509 PyObject *resultobj;
31510 wxSizer *arg1 = (wxSizer *) 0 ;
31511 bool arg2 ;
31512 PyObject * obj0 = 0 ;
31513 PyObject * obj1 = 0 ;
31514 char *kwnames[] = {
31515 (char *) "self",(char *) "show", NULL
31516 };
31517
31518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_ShowItems",kwnames,&obj0,&obj1)) goto fail;
31519 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31520 arg2 = PyInt_AsLong(obj1) ? true : false;
31521 if (PyErr_Occurred()) SWIG_fail;
31522 {
31523 PyThreadState* __tstate = wxPyBeginAllowThreads();
31524 (arg1)->ShowItems(arg2);
31525
31526 wxPyEndAllowThreads(__tstate);
31527 if (PyErr_Occurred()) SWIG_fail;
31528 }
31529 Py_INCREF(Py_None); resultobj = Py_None;
31530 return resultobj;
31531 fail:
31532 return NULL;
31533 }
31534
31535
31536 static PyObject * Sizer_swigregister(PyObject *self, PyObject *args) {
31537 PyObject *obj;
31538 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
31539 SWIG_TypeClientData(SWIGTYPE_p_wxSizer, obj);
31540 Py_INCREF(obj);
31541 return Py_BuildValue((char *)"");
31542 }
31543 static PyObject *_wrap_new_PySizer(PyObject *self, PyObject *args, PyObject *kwargs) {
31544 PyObject *resultobj;
31545 wxPySizer *result;
31546 char *kwnames[] = {
31547 NULL
31548 };
31549
31550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PySizer",kwnames)) goto fail;
31551 {
31552 PyThreadState* __tstate = wxPyBeginAllowThreads();
31553 result = (wxPySizer *)new wxPySizer();
31554
31555 wxPyEndAllowThreads(__tstate);
31556 if (PyErr_Occurred()) SWIG_fail;
31557 }
31558 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPySizer, 1);
31559 return resultobj;
31560 fail:
31561 return NULL;
31562 }
31563
31564
31565 static PyObject *_wrap_PySizer__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
31566 PyObject *resultobj;
31567 wxPySizer *arg1 = (wxPySizer *) 0 ;
31568 PyObject *arg2 = (PyObject *) 0 ;
31569 PyObject *arg3 = (PyObject *) 0 ;
31570 PyObject * obj0 = 0 ;
31571 PyObject * obj1 = 0 ;
31572 PyObject * obj2 = 0 ;
31573 char *kwnames[] = {
31574 (char *) "self",(char *) "self",(char *) "_class", NULL
31575 };
31576
31577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PySizer__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
31578 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPySizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31579 arg2 = obj1;
31580 arg3 = obj2;
31581 {
31582 PyThreadState* __tstate = wxPyBeginAllowThreads();
31583 (arg1)->_setCallbackInfo(arg2,arg3);
31584
31585 wxPyEndAllowThreads(__tstate);
31586 if (PyErr_Occurred()) SWIG_fail;
31587 }
31588 Py_INCREF(Py_None); resultobj = Py_None;
31589 return resultobj;
31590 fail:
31591 return NULL;
31592 }
31593
31594
31595 static PyObject * PySizer_swigregister(PyObject *self, PyObject *args) {
31596 PyObject *obj;
31597 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
31598 SWIG_TypeClientData(SWIGTYPE_p_wxPySizer, obj);
31599 Py_INCREF(obj);
31600 return Py_BuildValue((char *)"");
31601 }
31602 static PyObject *_wrap_new_BoxSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
31603 PyObject *resultobj;
31604 int arg1 = (int) wxHORIZONTAL ;
31605 wxBoxSizer *result;
31606 char *kwnames[] = {
31607 (char *) "orient", NULL
31608 };
31609
31610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:new_BoxSizer",kwnames,&arg1)) goto fail;
31611 {
31612 PyThreadState* __tstate = wxPyBeginAllowThreads();
31613 result = (wxBoxSizer *)new wxBoxSizer(arg1);
31614
31615 wxPyEndAllowThreads(__tstate);
31616 if (PyErr_Occurred()) SWIG_fail;
31617 }
31618 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBoxSizer, 1);
31619 return resultobj;
31620 fail:
31621 return NULL;
31622 }
31623
31624
31625 static PyObject *_wrap_BoxSizer_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
31626 PyObject *resultobj;
31627 wxBoxSizer *arg1 = (wxBoxSizer *) 0 ;
31628 int result;
31629 PyObject * obj0 = 0 ;
31630 char *kwnames[] = {
31631 (char *) "self", NULL
31632 };
31633
31634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BoxSizer_GetOrientation",kwnames,&obj0)) goto fail;
31635 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBoxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31636 {
31637 PyThreadState* __tstate = wxPyBeginAllowThreads();
31638 result = (int)(arg1)->GetOrientation();
31639
31640 wxPyEndAllowThreads(__tstate);
31641 if (PyErr_Occurred()) SWIG_fail;
31642 }
31643 resultobj = PyInt_FromLong((long)result);
31644 return resultobj;
31645 fail:
31646 return NULL;
31647 }
31648
31649
31650 static PyObject *_wrap_BoxSizer_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
31651 PyObject *resultobj;
31652 wxBoxSizer *arg1 = (wxBoxSizer *) 0 ;
31653 int arg2 ;
31654 PyObject * obj0 = 0 ;
31655 char *kwnames[] = {
31656 (char *) "self",(char *) "orient", NULL
31657 };
31658
31659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:BoxSizer_SetOrientation",kwnames,&obj0,&arg2)) goto fail;
31660 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBoxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31661 {
31662 PyThreadState* __tstate = wxPyBeginAllowThreads();
31663 (arg1)->SetOrientation(arg2);
31664
31665 wxPyEndAllowThreads(__tstate);
31666 if (PyErr_Occurred()) SWIG_fail;
31667 }
31668 Py_INCREF(Py_None); resultobj = Py_None;
31669 return resultobj;
31670 fail:
31671 return NULL;
31672 }
31673
31674
31675 static PyObject *_wrap_BoxSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
31676 PyObject *resultobj;
31677 wxBoxSizer *arg1 = (wxBoxSizer *) 0 ;
31678 PyObject * obj0 = 0 ;
31679 char *kwnames[] = {
31680 (char *) "self", NULL
31681 };
31682
31683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BoxSizer_RecalcSizes",kwnames,&obj0)) goto fail;
31684 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBoxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31685 {
31686 PyThreadState* __tstate = wxPyBeginAllowThreads();
31687 (arg1)->RecalcSizes();
31688
31689 wxPyEndAllowThreads(__tstate);
31690 if (PyErr_Occurred()) SWIG_fail;
31691 }
31692 Py_INCREF(Py_None); resultobj = Py_None;
31693 return resultobj;
31694 fail:
31695 return NULL;
31696 }
31697
31698
31699 static PyObject *_wrap_BoxSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
31700 PyObject *resultobj;
31701 wxBoxSizer *arg1 = (wxBoxSizer *) 0 ;
31702 wxSize result;
31703 PyObject * obj0 = 0 ;
31704 char *kwnames[] = {
31705 (char *) "self", NULL
31706 };
31707
31708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BoxSizer_CalcMin",kwnames,&obj0)) goto fail;
31709 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBoxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31710 {
31711 PyThreadState* __tstate = wxPyBeginAllowThreads();
31712 result = (arg1)->CalcMin();
31713
31714 wxPyEndAllowThreads(__tstate);
31715 if (PyErr_Occurred()) SWIG_fail;
31716 }
31717 {
31718 wxSize * resultptr;
31719 resultptr = new wxSize((wxSize &) result);
31720 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
31721 }
31722 return resultobj;
31723 fail:
31724 return NULL;
31725 }
31726
31727
31728 static PyObject * BoxSizer_swigregister(PyObject *self, PyObject *args) {
31729 PyObject *obj;
31730 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
31731 SWIG_TypeClientData(SWIGTYPE_p_wxBoxSizer, obj);
31732 Py_INCREF(obj);
31733 return Py_BuildValue((char *)"");
31734 }
31735 static PyObject *_wrap_new_StaticBoxSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
31736 PyObject *resultobj;
31737 wxStaticBox *arg1 = (wxStaticBox *) 0 ;
31738 int arg2 = (int) wxHORIZONTAL ;
31739 wxStaticBoxSizer *result;
31740 PyObject * obj0 = 0 ;
31741 char *kwnames[] = {
31742 (char *) "box",(char *) "orient", NULL
31743 };
31744
31745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:new_StaticBoxSizer",kwnames,&obj0,&arg2)) goto fail;
31746 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31747 {
31748 PyThreadState* __tstate = wxPyBeginAllowThreads();
31749 result = (wxStaticBoxSizer *)new wxStaticBoxSizer(arg1,arg2);
31750
31751 wxPyEndAllowThreads(__tstate);
31752 if (PyErr_Occurred()) SWIG_fail;
31753 }
31754 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticBoxSizer, 1);
31755 return resultobj;
31756 fail:
31757 return NULL;
31758 }
31759
31760
31761 static PyObject *_wrap_StaticBoxSizer_GetStaticBox(PyObject *self, PyObject *args, PyObject *kwargs) {
31762 PyObject *resultobj;
31763 wxStaticBoxSizer *arg1 = (wxStaticBoxSizer *) 0 ;
31764 wxStaticBox *result;
31765 PyObject * obj0 = 0 ;
31766 char *kwnames[] = {
31767 (char *) "self", NULL
31768 };
31769
31770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticBoxSizer_GetStaticBox",kwnames,&obj0)) goto fail;
31771 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticBoxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31772 {
31773 PyThreadState* __tstate = wxPyBeginAllowThreads();
31774 result = (wxStaticBox *)(arg1)->GetStaticBox();
31775
31776 wxPyEndAllowThreads(__tstate);
31777 if (PyErr_Occurred()) SWIG_fail;
31778 }
31779 {
31780 resultobj = wxPyMake_wxObject(result);
31781 }
31782 return resultobj;
31783 fail:
31784 return NULL;
31785 }
31786
31787
31788 static PyObject *_wrap_StaticBoxSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
31789 PyObject *resultobj;
31790 wxStaticBoxSizer *arg1 = (wxStaticBoxSizer *) 0 ;
31791 PyObject * obj0 = 0 ;
31792 char *kwnames[] = {
31793 (char *) "self", NULL
31794 };
31795
31796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticBoxSizer_RecalcSizes",kwnames,&obj0)) goto fail;
31797 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticBoxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31798 {
31799 PyThreadState* __tstate = wxPyBeginAllowThreads();
31800 (arg1)->RecalcSizes();
31801
31802 wxPyEndAllowThreads(__tstate);
31803 if (PyErr_Occurred()) SWIG_fail;
31804 }
31805 Py_INCREF(Py_None); resultobj = Py_None;
31806 return resultobj;
31807 fail:
31808 return NULL;
31809 }
31810
31811
31812 static PyObject *_wrap_StaticBoxSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
31813 PyObject *resultobj;
31814 wxStaticBoxSizer *arg1 = (wxStaticBoxSizer *) 0 ;
31815 wxSize result;
31816 PyObject * obj0 = 0 ;
31817 char *kwnames[] = {
31818 (char *) "self", NULL
31819 };
31820
31821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticBoxSizer_CalcMin",kwnames,&obj0)) goto fail;
31822 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticBoxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31823 {
31824 PyThreadState* __tstate = wxPyBeginAllowThreads();
31825 result = (arg1)->CalcMin();
31826
31827 wxPyEndAllowThreads(__tstate);
31828 if (PyErr_Occurred()) SWIG_fail;
31829 }
31830 {
31831 wxSize * resultptr;
31832 resultptr = new wxSize((wxSize &) result);
31833 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
31834 }
31835 return resultobj;
31836 fail:
31837 return NULL;
31838 }
31839
31840
31841 static PyObject * StaticBoxSizer_swigregister(PyObject *self, PyObject *args) {
31842 PyObject *obj;
31843 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
31844 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBoxSizer, obj);
31845 Py_INCREF(obj);
31846 return Py_BuildValue((char *)"");
31847 }
31848 static PyObject *_wrap_new_GridSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
31849 PyObject *resultobj;
31850 int arg1 = (int) 1 ;
31851 int arg2 = (int) 0 ;
31852 int arg3 = (int) 0 ;
31853 int arg4 = (int) 0 ;
31854 wxGridSizer *result;
31855 char *kwnames[] = {
31856 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
31857 };
31858
31859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iiii:new_GridSizer",kwnames,&arg1,&arg2,&arg3,&arg4)) goto fail;
31860 {
31861 PyThreadState* __tstate = wxPyBeginAllowThreads();
31862 result = (wxGridSizer *)new wxGridSizer(arg1,arg2,arg3,arg4);
31863
31864 wxPyEndAllowThreads(__tstate);
31865 if (PyErr_Occurred()) SWIG_fail;
31866 }
31867 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGridSizer, 1);
31868 return resultobj;
31869 fail:
31870 return NULL;
31871 }
31872
31873
31874 static PyObject *_wrap_GridSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
31875 PyObject *resultobj;
31876 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
31877 PyObject * obj0 = 0 ;
31878 char *kwnames[] = {
31879 (char *) "self", NULL
31880 };
31881
31882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizer_RecalcSizes",kwnames,&obj0)) goto fail;
31883 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31884 {
31885 PyThreadState* __tstate = wxPyBeginAllowThreads();
31886 (arg1)->RecalcSizes();
31887
31888 wxPyEndAllowThreads(__tstate);
31889 if (PyErr_Occurred()) SWIG_fail;
31890 }
31891 Py_INCREF(Py_None); resultobj = Py_None;
31892 return resultobj;
31893 fail:
31894 return NULL;
31895 }
31896
31897
31898 static PyObject *_wrap_GridSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
31899 PyObject *resultobj;
31900 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
31901 wxSize result;
31902 PyObject * obj0 = 0 ;
31903 char *kwnames[] = {
31904 (char *) "self", NULL
31905 };
31906
31907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizer_CalcMin",kwnames,&obj0)) goto fail;
31908 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31909 {
31910 PyThreadState* __tstate = wxPyBeginAllowThreads();
31911 result = (arg1)->CalcMin();
31912
31913 wxPyEndAllowThreads(__tstate);
31914 if (PyErr_Occurred()) SWIG_fail;
31915 }
31916 {
31917 wxSize * resultptr;
31918 resultptr = new wxSize((wxSize &) result);
31919 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
31920 }
31921 return resultobj;
31922 fail:
31923 return NULL;
31924 }
31925
31926
31927 static PyObject *_wrap_GridSizer_SetCols(PyObject *self, PyObject *args, PyObject *kwargs) {
31928 PyObject *resultobj;
31929 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
31930 int arg2 ;
31931 PyObject * obj0 = 0 ;
31932 char *kwnames[] = {
31933 (char *) "self",(char *) "cols", NULL
31934 };
31935
31936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:GridSizer_SetCols",kwnames,&obj0,&arg2)) goto fail;
31937 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31938 {
31939 PyThreadState* __tstate = wxPyBeginAllowThreads();
31940 (arg1)->SetCols(arg2);
31941
31942 wxPyEndAllowThreads(__tstate);
31943 if (PyErr_Occurred()) SWIG_fail;
31944 }
31945 Py_INCREF(Py_None); resultobj = Py_None;
31946 return resultobj;
31947 fail:
31948 return NULL;
31949 }
31950
31951
31952 static PyObject *_wrap_GridSizer_SetRows(PyObject *self, PyObject *args, PyObject *kwargs) {
31953 PyObject *resultobj;
31954 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
31955 int arg2 ;
31956 PyObject * obj0 = 0 ;
31957 char *kwnames[] = {
31958 (char *) "self",(char *) "rows", NULL
31959 };
31960
31961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:GridSizer_SetRows",kwnames,&obj0,&arg2)) goto fail;
31962 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31963 {
31964 PyThreadState* __tstate = wxPyBeginAllowThreads();
31965 (arg1)->SetRows(arg2);
31966
31967 wxPyEndAllowThreads(__tstate);
31968 if (PyErr_Occurred()) SWIG_fail;
31969 }
31970 Py_INCREF(Py_None); resultobj = Py_None;
31971 return resultobj;
31972 fail:
31973 return NULL;
31974 }
31975
31976
31977 static PyObject *_wrap_GridSizer_SetVGap(PyObject *self, PyObject *args, PyObject *kwargs) {
31978 PyObject *resultobj;
31979 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
31980 int arg2 ;
31981 PyObject * obj0 = 0 ;
31982 char *kwnames[] = {
31983 (char *) "self",(char *) "gap", NULL
31984 };
31985
31986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:GridSizer_SetVGap",kwnames,&obj0,&arg2)) goto fail;
31987 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31988 {
31989 PyThreadState* __tstate = wxPyBeginAllowThreads();
31990 (arg1)->SetVGap(arg2);
31991
31992 wxPyEndAllowThreads(__tstate);
31993 if (PyErr_Occurred()) SWIG_fail;
31994 }
31995 Py_INCREF(Py_None); resultobj = Py_None;
31996 return resultobj;
31997 fail:
31998 return NULL;
31999 }
32000
32001
32002 static PyObject *_wrap_GridSizer_SetHGap(PyObject *self, PyObject *args, PyObject *kwargs) {
32003 PyObject *resultobj;
32004 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
32005 int arg2 ;
32006 PyObject * obj0 = 0 ;
32007 char *kwnames[] = {
32008 (char *) "self",(char *) "gap", NULL
32009 };
32010
32011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:GridSizer_SetHGap",kwnames,&obj0,&arg2)) goto fail;
32012 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32013 {
32014 PyThreadState* __tstate = wxPyBeginAllowThreads();
32015 (arg1)->SetHGap(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_GridSizer_GetCols(PyObject *self, PyObject *args, PyObject *kwargs) {
32028 PyObject *resultobj;
32029 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
32030 int result;
32031 PyObject * obj0 = 0 ;
32032 char *kwnames[] = {
32033 (char *) "self", NULL
32034 };
32035
32036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizer_GetCols",kwnames,&obj0)) goto fail;
32037 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32038 {
32039 PyThreadState* __tstate = wxPyBeginAllowThreads();
32040 result = (int)(arg1)->GetCols();
32041
32042 wxPyEndAllowThreads(__tstate);
32043 if (PyErr_Occurred()) SWIG_fail;
32044 }
32045 resultobj = PyInt_FromLong((long)result);
32046 return resultobj;
32047 fail:
32048 return NULL;
32049 }
32050
32051
32052 static PyObject *_wrap_GridSizer_GetRows(PyObject *self, PyObject *args, PyObject *kwargs) {
32053 PyObject *resultobj;
32054 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
32055 int result;
32056 PyObject * obj0 = 0 ;
32057 char *kwnames[] = {
32058 (char *) "self", NULL
32059 };
32060
32061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizer_GetRows",kwnames,&obj0)) goto fail;
32062 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32063 {
32064 PyThreadState* __tstate = wxPyBeginAllowThreads();
32065 result = (int)(arg1)->GetRows();
32066
32067 wxPyEndAllowThreads(__tstate);
32068 if (PyErr_Occurred()) SWIG_fail;
32069 }
32070 resultobj = PyInt_FromLong((long)result);
32071 return resultobj;
32072 fail:
32073 return NULL;
32074 }
32075
32076
32077 static PyObject *_wrap_GridSizer_GetVGap(PyObject *self, PyObject *args, PyObject *kwargs) {
32078 PyObject *resultobj;
32079 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
32080 int result;
32081 PyObject * obj0 = 0 ;
32082 char *kwnames[] = {
32083 (char *) "self", NULL
32084 };
32085
32086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizer_GetVGap",kwnames,&obj0)) goto fail;
32087 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32088 {
32089 PyThreadState* __tstate = wxPyBeginAllowThreads();
32090 result = (int)(arg1)->GetVGap();
32091
32092 wxPyEndAllowThreads(__tstate);
32093 if (PyErr_Occurred()) SWIG_fail;
32094 }
32095 resultobj = PyInt_FromLong((long)result);
32096 return resultobj;
32097 fail:
32098 return NULL;
32099 }
32100
32101
32102 static PyObject *_wrap_GridSizer_GetHGap(PyObject *self, PyObject *args, PyObject *kwargs) {
32103 PyObject *resultobj;
32104 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
32105 int result;
32106 PyObject * obj0 = 0 ;
32107 char *kwnames[] = {
32108 (char *) "self", NULL
32109 };
32110
32111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizer_GetHGap",kwnames,&obj0)) goto fail;
32112 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32113 {
32114 PyThreadState* __tstate = wxPyBeginAllowThreads();
32115 result = (int)(arg1)->GetHGap();
32116
32117 wxPyEndAllowThreads(__tstate);
32118 if (PyErr_Occurred()) SWIG_fail;
32119 }
32120 resultobj = PyInt_FromLong((long)result);
32121 return resultobj;
32122 fail:
32123 return NULL;
32124 }
32125
32126
32127 static PyObject * GridSizer_swigregister(PyObject *self, PyObject *args) {
32128 PyObject *obj;
32129 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
32130 SWIG_TypeClientData(SWIGTYPE_p_wxGridSizer, obj);
32131 Py_INCREF(obj);
32132 return Py_BuildValue((char *)"");
32133 }
32134 static PyObject *_wrap_new_FlexGridSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
32135 PyObject *resultobj;
32136 int arg1 = (int) 1 ;
32137 int arg2 = (int) 0 ;
32138 int arg3 = (int) 0 ;
32139 int arg4 = (int) 0 ;
32140 wxFlexGridSizer *result;
32141 char *kwnames[] = {
32142 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
32143 };
32144
32145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iiii:new_FlexGridSizer",kwnames,&arg1,&arg2,&arg3,&arg4)) goto fail;
32146 {
32147 PyThreadState* __tstate = wxPyBeginAllowThreads();
32148 result = (wxFlexGridSizer *)new wxFlexGridSizer(arg1,arg2,arg3,arg4);
32149
32150 wxPyEndAllowThreads(__tstate);
32151 if (PyErr_Occurred()) SWIG_fail;
32152 }
32153 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFlexGridSizer, 1);
32154 return resultobj;
32155 fail:
32156 return NULL;
32157 }
32158
32159
32160 static PyObject *_wrap_FlexGridSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
32161 PyObject *resultobj;
32162 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
32163 PyObject * obj0 = 0 ;
32164 char *kwnames[] = {
32165 (char *) "self", NULL
32166 };
32167
32168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FlexGridSizer_RecalcSizes",kwnames,&obj0)) goto fail;
32169 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFlexGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32170 {
32171 PyThreadState* __tstate = wxPyBeginAllowThreads();
32172 (arg1)->RecalcSizes();
32173
32174 wxPyEndAllowThreads(__tstate);
32175 if (PyErr_Occurred()) SWIG_fail;
32176 }
32177 Py_INCREF(Py_None); resultobj = Py_None;
32178 return resultobj;
32179 fail:
32180 return NULL;
32181 }
32182
32183
32184 static PyObject *_wrap_FlexGridSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
32185 PyObject *resultobj;
32186 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
32187 wxSize result;
32188 PyObject * obj0 = 0 ;
32189 char *kwnames[] = {
32190 (char *) "self", NULL
32191 };
32192
32193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FlexGridSizer_CalcMin",kwnames,&obj0)) goto fail;
32194 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFlexGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32195 {
32196 PyThreadState* __tstate = wxPyBeginAllowThreads();
32197 result = (arg1)->CalcMin();
32198
32199 wxPyEndAllowThreads(__tstate);
32200 if (PyErr_Occurred()) SWIG_fail;
32201 }
32202 {
32203 wxSize * resultptr;
32204 resultptr = new wxSize((wxSize &) result);
32205 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
32206 }
32207 return resultobj;
32208 fail:
32209 return NULL;
32210 }
32211
32212
32213 static PyObject *_wrap_FlexGridSizer_AddGrowableRow(PyObject *self, PyObject *args, PyObject *kwargs) {
32214 PyObject *resultobj;
32215 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
32216 size_t arg2 ;
32217 int arg3 = (int) 0 ;
32218 PyObject * obj0 = 0 ;
32219 PyObject * obj1 = 0 ;
32220 char *kwnames[] = {
32221 (char *) "self",(char *) "idx",(char *) "proportion", NULL
32222 };
32223
32224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:FlexGridSizer_AddGrowableRow",kwnames,&obj0,&obj1,&arg3)) goto fail;
32225 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFlexGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32226 arg2 = (size_t) PyInt_AsLong(obj1);
32227 if (PyErr_Occurred()) SWIG_fail;
32228 {
32229 PyThreadState* __tstate = wxPyBeginAllowThreads();
32230 (arg1)->AddGrowableRow(arg2,arg3);
32231
32232 wxPyEndAllowThreads(__tstate);
32233 if (PyErr_Occurred()) SWIG_fail;
32234 }
32235 Py_INCREF(Py_None); resultobj = Py_None;
32236 return resultobj;
32237 fail:
32238 return NULL;
32239 }
32240
32241
32242 static PyObject *_wrap_FlexGridSizer_RemoveGrowableRow(PyObject *self, PyObject *args, PyObject *kwargs) {
32243 PyObject *resultobj;
32244 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
32245 size_t arg2 ;
32246 PyObject * obj0 = 0 ;
32247 PyObject * obj1 = 0 ;
32248 char *kwnames[] = {
32249 (char *) "self",(char *) "idx", NULL
32250 };
32251
32252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FlexGridSizer_RemoveGrowableRow",kwnames,&obj0,&obj1)) goto fail;
32253 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFlexGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32254 arg2 = (size_t) PyInt_AsLong(obj1);
32255 if (PyErr_Occurred()) SWIG_fail;
32256 {
32257 PyThreadState* __tstate = wxPyBeginAllowThreads();
32258 (arg1)->RemoveGrowableRow(arg2);
32259
32260 wxPyEndAllowThreads(__tstate);
32261 if (PyErr_Occurred()) SWIG_fail;
32262 }
32263 Py_INCREF(Py_None); resultobj = Py_None;
32264 return resultobj;
32265 fail:
32266 return NULL;
32267 }
32268
32269
32270 static PyObject *_wrap_FlexGridSizer_AddGrowableCol(PyObject *self, PyObject *args, PyObject *kwargs) {
32271 PyObject *resultobj;
32272 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
32273 size_t arg2 ;
32274 int arg3 = (int) 0 ;
32275 PyObject * obj0 = 0 ;
32276 PyObject * obj1 = 0 ;
32277 char *kwnames[] = {
32278 (char *) "self",(char *) "idx",(char *) "proportion", NULL
32279 };
32280
32281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:FlexGridSizer_AddGrowableCol",kwnames,&obj0,&obj1,&arg3)) goto fail;
32282 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFlexGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32283 arg2 = (size_t) PyInt_AsLong(obj1);
32284 if (PyErr_Occurred()) SWIG_fail;
32285 {
32286 PyThreadState* __tstate = wxPyBeginAllowThreads();
32287 (arg1)->AddGrowableCol(arg2,arg3);
32288
32289 wxPyEndAllowThreads(__tstate);
32290 if (PyErr_Occurred()) SWIG_fail;
32291 }
32292 Py_INCREF(Py_None); resultobj = Py_None;
32293 return resultobj;
32294 fail:
32295 return NULL;
32296 }
32297
32298
32299 static PyObject *_wrap_FlexGridSizer_RemoveGrowableCol(PyObject *self, PyObject *args, PyObject *kwargs) {
32300 PyObject *resultobj;
32301 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
32302 size_t arg2 ;
32303 PyObject * obj0 = 0 ;
32304 PyObject * obj1 = 0 ;
32305 char *kwnames[] = {
32306 (char *) "self",(char *) "idx", NULL
32307 };
32308
32309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FlexGridSizer_RemoveGrowableCol",kwnames,&obj0,&obj1)) goto fail;
32310 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFlexGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32311 arg2 = (size_t) PyInt_AsLong(obj1);
32312 if (PyErr_Occurred()) SWIG_fail;
32313 {
32314 PyThreadState* __tstate = wxPyBeginAllowThreads();
32315 (arg1)->RemoveGrowableCol(arg2);
32316
32317 wxPyEndAllowThreads(__tstate);
32318 if (PyErr_Occurred()) SWIG_fail;
32319 }
32320 Py_INCREF(Py_None); resultobj = Py_None;
32321 return resultobj;
32322 fail:
32323 return NULL;
32324 }
32325
32326
32327 static PyObject *_wrap_FlexGridSizer_SetFlexibleDirection(PyObject *self, PyObject *args, PyObject *kwargs) {
32328 PyObject *resultobj;
32329 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
32330 int arg2 ;
32331 PyObject * obj0 = 0 ;
32332 char *kwnames[] = {
32333 (char *) "self",(char *) "direction", NULL
32334 };
32335
32336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:FlexGridSizer_SetFlexibleDirection",kwnames,&obj0,&arg2)) goto fail;
32337 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFlexGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32338 {
32339 PyThreadState* __tstate = wxPyBeginAllowThreads();
32340 (arg1)->SetFlexibleDirection(arg2);
32341
32342 wxPyEndAllowThreads(__tstate);
32343 if (PyErr_Occurred()) SWIG_fail;
32344 }
32345 Py_INCREF(Py_None); resultobj = Py_None;
32346 return resultobj;
32347 fail:
32348 return NULL;
32349 }
32350
32351
32352 static PyObject *_wrap_FlexGridSizer_GetFlexibleDirection(PyObject *self, PyObject *args, PyObject *kwargs) {
32353 PyObject *resultobj;
32354 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
32355 int result;
32356 PyObject * obj0 = 0 ;
32357 char *kwnames[] = {
32358 (char *) "self", NULL
32359 };
32360
32361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FlexGridSizer_GetFlexibleDirection",kwnames,&obj0)) goto fail;
32362 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFlexGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32363 {
32364 PyThreadState* __tstate = wxPyBeginAllowThreads();
32365 result = (int)(arg1)->GetFlexibleDirection();
32366
32367 wxPyEndAllowThreads(__tstate);
32368 if (PyErr_Occurred()) SWIG_fail;
32369 }
32370 resultobj = PyInt_FromLong((long)result);
32371 return resultobj;
32372 fail:
32373 return NULL;
32374 }
32375
32376
32377 static PyObject *_wrap_FlexGridSizer_SetNonFlexibleGrowMode(PyObject *self, PyObject *args, PyObject *kwargs) {
32378 PyObject *resultobj;
32379 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
32380 int arg2 ;
32381 PyObject * obj0 = 0 ;
32382 char *kwnames[] = {
32383 (char *) "self",(char *) "mode", NULL
32384 };
32385
32386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:FlexGridSizer_SetNonFlexibleGrowMode",kwnames,&obj0,&arg2)) goto fail;
32387 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFlexGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32388 {
32389 PyThreadState* __tstate = wxPyBeginAllowThreads();
32390 (arg1)->SetNonFlexibleGrowMode((wxFlexSizerGrowMode )arg2);
32391
32392 wxPyEndAllowThreads(__tstate);
32393 if (PyErr_Occurred()) SWIG_fail;
32394 }
32395 Py_INCREF(Py_None); resultobj = Py_None;
32396 return resultobj;
32397 fail:
32398 return NULL;
32399 }
32400
32401
32402 static PyObject *_wrap_FlexGridSizer_GetNonFlexibleGrowMode(PyObject *self, PyObject *args, PyObject *kwargs) {
32403 PyObject *resultobj;
32404 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
32405 int result;
32406 PyObject * obj0 = 0 ;
32407 char *kwnames[] = {
32408 (char *) "self", NULL
32409 };
32410
32411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FlexGridSizer_GetNonFlexibleGrowMode",kwnames,&obj0)) goto fail;
32412 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFlexGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32413 {
32414 PyThreadState* __tstate = wxPyBeginAllowThreads();
32415 result = (int)(arg1)->GetNonFlexibleGrowMode();
32416
32417 wxPyEndAllowThreads(__tstate);
32418 if (PyErr_Occurred()) SWIG_fail;
32419 }
32420 resultobj = PyInt_FromLong((long)result);
32421 return resultobj;
32422 fail:
32423 return NULL;
32424 }
32425
32426
32427 static PyObject *_wrap_FlexGridSizer_GetRowHeights(PyObject *self, PyObject *args, PyObject *kwargs) {
32428 PyObject *resultobj;
32429 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
32430 wxArrayInt *result;
32431 PyObject * obj0 = 0 ;
32432 char *kwnames[] = {
32433 (char *) "self", NULL
32434 };
32435
32436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FlexGridSizer_GetRowHeights",kwnames,&obj0)) goto fail;
32437 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFlexGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32438 {
32439 PyThreadState* __tstate = wxPyBeginAllowThreads();
32440 {
32441 wxArrayInt const &_result_ref = ((wxFlexGridSizer const *)arg1)->GetRowHeights();
32442 result = (wxArrayInt *) &_result_ref;
32443 }
32444
32445 wxPyEndAllowThreads(__tstate);
32446 if (PyErr_Occurred()) SWIG_fail;
32447 }
32448 {
32449 resultobj = PyList_New(0);
32450 size_t idx;
32451 for (idx = 0; idx < result->GetCount(); idx += 1) {
32452 PyObject* val = PyInt_FromLong( result->Item(idx) );
32453 PyList_Append(resultobj, val);
32454 Py_DECREF(val);
32455 }
32456 }
32457 return resultobj;
32458 fail:
32459 return NULL;
32460 }
32461
32462
32463 static PyObject *_wrap_FlexGridSizer_GetColWidths(PyObject *self, PyObject *args, PyObject *kwargs) {
32464 PyObject *resultobj;
32465 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
32466 wxArrayInt *result;
32467 PyObject * obj0 = 0 ;
32468 char *kwnames[] = {
32469 (char *) "self", NULL
32470 };
32471
32472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FlexGridSizer_GetColWidths",kwnames,&obj0)) goto fail;
32473 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFlexGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32474 {
32475 PyThreadState* __tstate = wxPyBeginAllowThreads();
32476 {
32477 wxArrayInt const &_result_ref = ((wxFlexGridSizer const *)arg1)->GetColWidths();
32478 result = (wxArrayInt *) &_result_ref;
32479 }
32480
32481 wxPyEndAllowThreads(__tstate);
32482 if (PyErr_Occurred()) SWIG_fail;
32483 }
32484 {
32485 resultobj = PyList_New(0);
32486 size_t idx;
32487 for (idx = 0; idx < result->GetCount(); idx += 1) {
32488 PyObject* val = PyInt_FromLong( result->Item(idx) );
32489 PyList_Append(resultobj, val);
32490 Py_DECREF(val);
32491 }
32492 }
32493 return resultobj;
32494 fail:
32495 return NULL;
32496 }
32497
32498
32499 static PyObject * FlexGridSizer_swigregister(PyObject *self, PyObject *args) {
32500 PyObject *obj;
32501 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
32502 SWIG_TypeClientData(SWIGTYPE_p_wxFlexGridSizer, obj);
32503 Py_INCREF(obj);
32504 return Py_BuildValue((char *)"");
32505 }
32506 static PyObject *_wrap_new_GBPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
32507 PyObject *resultobj;
32508 int arg1 = (int) 0 ;
32509 int arg2 = (int) 0 ;
32510 wxGBPosition *result;
32511 char *kwnames[] = {
32512 (char *) "row",(char *) "col", NULL
32513 };
32514
32515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_GBPosition",kwnames,&arg1,&arg2)) goto fail;
32516 {
32517 PyThreadState* __tstate = wxPyBeginAllowThreads();
32518 result = (wxGBPosition *)new wxGBPosition(arg1,arg2);
32519
32520 wxPyEndAllowThreads(__tstate);
32521 if (PyErr_Occurred()) SWIG_fail;
32522 }
32523 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGBPosition, 1);
32524 return resultobj;
32525 fail:
32526 return NULL;
32527 }
32528
32529
32530 static PyObject *_wrap_GBPosition_GetRow(PyObject *self, PyObject *args, PyObject *kwargs) {
32531 PyObject *resultobj;
32532 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
32533 int result;
32534 PyObject * obj0 = 0 ;
32535 char *kwnames[] = {
32536 (char *) "self", NULL
32537 };
32538
32539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBPosition_GetRow",kwnames,&obj0)) goto fail;
32540 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBPosition,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32541 {
32542 PyThreadState* __tstate = wxPyBeginAllowThreads();
32543 result = (int)((wxGBPosition const *)arg1)->GetRow();
32544
32545 wxPyEndAllowThreads(__tstate);
32546 if (PyErr_Occurred()) SWIG_fail;
32547 }
32548 resultobj = PyInt_FromLong((long)result);
32549 return resultobj;
32550 fail:
32551 return NULL;
32552 }
32553
32554
32555 static PyObject *_wrap_GBPosition_GetCol(PyObject *self, PyObject *args, PyObject *kwargs) {
32556 PyObject *resultobj;
32557 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
32558 int result;
32559 PyObject * obj0 = 0 ;
32560 char *kwnames[] = {
32561 (char *) "self", NULL
32562 };
32563
32564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBPosition_GetCol",kwnames,&obj0)) goto fail;
32565 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBPosition,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32566 {
32567 PyThreadState* __tstate = wxPyBeginAllowThreads();
32568 result = (int)((wxGBPosition const *)arg1)->GetCol();
32569
32570 wxPyEndAllowThreads(__tstate);
32571 if (PyErr_Occurred()) SWIG_fail;
32572 }
32573 resultobj = PyInt_FromLong((long)result);
32574 return resultobj;
32575 fail:
32576 return NULL;
32577 }
32578
32579
32580 static PyObject *_wrap_GBPosition_SetRow(PyObject *self, PyObject *args, PyObject *kwargs) {
32581 PyObject *resultobj;
32582 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
32583 int arg2 ;
32584 PyObject * obj0 = 0 ;
32585 char *kwnames[] = {
32586 (char *) "self",(char *) "row", NULL
32587 };
32588
32589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:GBPosition_SetRow",kwnames,&obj0,&arg2)) goto fail;
32590 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBPosition,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32591 {
32592 PyThreadState* __tstate = wxPyBeginAllowThreads();
32593 (arg1)->SetRow(arg2);
32594
32595 wxPyEndAllowThreads(__tstate);
32596 if (PyErr_Occurred()) SWIG_fail;
32597 }
32598 Py_INCREF(Py_None); resultobj = Py_None;
32599 return resultobj;
32600 fail:
32601 return NULL;
32602 }
32603
32604
32605 static PyObject *_wrap_GBPosition_SetCol(PyObject *self, PyObject *args, PyObject *kwargs) {
32606 PyObject *resultobj;
32607 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
32608 int arg2 ;
32609 PyObject * obj0 = 0 ;
32610 char *kwnames[] = {
32611 (char *) "self",(char *) "col", NULL
32612 };
32613
32614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:GBPosition_SetCol",kwnames,&obj0,&arg2)) goto fail;
32615 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBPosition,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32616 {
32617 PyThreadState* __tstate = wxPyBeginAllowThreads();
32618 (arg1)->SetCol(arg2);
32619
32620 wxPyEndAllowThreads(__tstate);
32621 if (PyErr_Occurred()) SWIG_fail;
32622 }
32623 Py_INCREF(Py_None); resultobj = Py_None;
32624 return resultobj;
32625 fail:
32626 return NULL;
32627 }
32628
32629
32630 static PyObject *_wrap_GBPosition___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
32631 PyObject *resultobj;
32632 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
32633 wxGBPosition *arg2 = 0 ;
32634 bool result;
32635 wxGBPosition temp2 ;
32636 PyObject * obj0 = 0 ;
32637 PyObject * obj1 = 0 ;
32638 char *kwnames[] = {
32639 (char *) "self",(char *) "p", NULL
32640 };
32641
32642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBPosition___eq__",kwnames,&obj0,&obj1)) goto fail;
32643 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBPosition,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32644 {
32645 arg2 = &temp2;
32646 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
32647 }
32648 {
32649 PyThreadState* __tstate = wxPyBeginAllowThreads();
32650 result = (bool)((wxGBPosition const *)arg1)->operator ==((wxGBPosition const &)*arg2);
32651
32652 wxPyEndAllowThreads(__tstate);
32653 if (PyErr_Occurred()) SWIG_fail;
32654 }
32655 resultobj = PyInt_FromLong((long)result);
32656 return resultobj;
32657 fail:
32658 return NULL;
32659 }
32660
32661
32662 static PyObject *_wrap_GBPosition___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
32663 PyObject *resultobj;
32664 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
32665 wxGBPosition *arg2 = 0 ;
32666 bool result;
32667 wxGBPosition temp2 ;
32668 PyObject * obj0 = 0 ;
32669 PyObject * obj1 = 0 ;
32670 char *kwnames[] = {
32671 (char *) "self",(char *) "p", NULL
32672 };
32673
32674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBPosition___ne__",kwnames,&obj0,&obj1)) goto fail;
32675 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBPosition,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32676 {
32677 arg2 = &temp2;
32678 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
32679 }
32680 {
32681 PyThreadState* __tstate = wxPyBeginAllowThreads();
32682 result = (bool)((wxGBPosition const *)arg1)->operator !=((wxGBPosition const &)*arg2);
32683
32684 wxPyEndAllowThreads(__tstate);
32685 if (PyErr_Occurred()) SWIG_fail;
32686 }
32687 resultobj = PyInt_FromLong((long)result);
32688 return resultobj;
32689 fail:
32690 return NULL;
32691 }
32692
32693
32694 static PyObject *_wrap_GBPosition_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
32695 PyObject *resultobj;
32696 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
32697 int arg2 = (int) 0 ;
32698 int arg3 = (int) 0 ;
32699 PyObject * obj0 = 0 ;
32700 char *kwnames[] = {
32701 (char *) "self",(char *) "row",(char *) "col", NULL
32702 };
32703
32704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|ii:GBPosition_Set",kwnames,&obj0,&arg2,&arg3)) goto fail;
32705 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBPosition,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32706 {
32707 PyThreadState* __tstate = wxPyBeginAllowThreads();
32708 wxGBPosition_Set(arg1,arg2,arg3);
32709
32710 wxPyEndAllowThreads(__tstate);
32711 if (PyErr_Occurred()) SWIG_fail;
32712 }
32713 Py_INCREF(Py_None); resultobj = Py_None;
32714 return resultobj;
32715 fail:
32716 return NULL;
32717 }
32718
32719
32720 static PyObject *_wrap_GBPosition_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
32721 PyObject *resultobj;
32722 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
32723 PyObject *result;
32724 PyObject * obj0 = 0 ;
32725 char *kwnames[] = {
32726 (char *) "self", NULL
32727 };
32728
32729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBPosition_Get",kwnames,&obj0)) goto fail;
32730 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBPosition,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32731 {
32732 PyThreadState* __tstate = wxPyBeginAllowThreads();
32733 result = (PyObject *)wxGBPosition_Get(arg1);
32734
32735 wxPyEndAllowThreads(__tstate);
32736 if (PyErr_Occurred()) SWIG_fail;
32737 }
32738 resultobj = result;
32739 return resultobj;
32740 fail:
32741 return NULL;
32742 }
32743
32744
32745 static PyObject * GBPosition_swigregister(PyObject *self, PyObject *args) {
32746 PyObject *obj;
32747 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
32748 SWIG_TypeClientData(SWIGTYPE_p_wxGBPosition, obj);
32749 Py_INCREF(obj);
32750 return Py_BuildValue((char *)"");
32751 }
32752 static PyObject *_wrap_new_GBSpan(PyObject *self, PyObject *args, PyObject *kwargs) {
32753 PyObject *resultobj;
32754 int arg1 = (int) 1 ;
32755 int arg2 = (int) 1 ;
32756 wxGBSpan *result;
32757 char *kwnames[] = {
32758 (char *) "rowspan",(char *) "colspan", NULL
32759 };
32760
32761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_GBSpan",kwnames,&arg1,&arg2)) goto fail;
32762 {
32763 PyThreadState* __tstate = wxPyBeginAllowThreads();
32764 result = (wxGBSpan *)new wxGBSpan(arg1,arg2);
32765
32766 wxPyEndAllowThreads(__tstate);
32767 if (PyErr_Occurred()) SWIG_fail;
32768 }
32769 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGBSpan, 1);
32770 return resultobj;
32771 fail:
32772 return NULL;
32773 }
32774
32775
32776 static PyObject *_wrap_GBSpan_GetRowspan(PyObject *self, PyObject *args, PyObject *kwargs) {
32777 PyObject *resultobj;
32778 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
32779 int result;
32780 PyObject * obj0 = 0 ;
32781 char *kwnames[] = {
32782 (char *) "self", NULL
32783 };
32784
32785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBSpan_GetRowspan",kwnames,&obj0)) goto fail;
32786 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32787 {
32788 PyThreadState* __tstate = wxPyBeginAllowThreads();
32789 result = (int)((wxGBSpan const *)arg1)->GetRowspan();
32790
32791 wxPyEndAllowThreads(__tstate);
32792 if (PyErr_Occurred()) SWIG_fail;
32793 }
32794 resultobj = PyInt_FromLong((long)result);
32795 return resultobj;
32796 fail:
32797 return NULL;
32798 }
32799
32800
32801 static PyObject *_wrap_GBSpan_GetColspan(PyObject *self, PyObject *args, PyObject *kwargs) {
32802 PyObject *resultobj;
32803 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
32804 int result;
32805 PyObject * obj0 = 0 ;
32806 char *kwnames[] = {
32807 (char *) "self", NULL
32808 };
32809
32810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBSpan_GetColspan",kwnames,&obj0)) goto fail;
32811 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32812 {
32813 PyThreadState* __tstate = wxPyBeginAllowThreads();
32814 result = (int)((wxGBSpan const *)arg1)->GetColspan();
32815
32816 wxPyEndAllowThreads(__tstate);
32817 if (PyErr_Occurred()) SWIG_fail;
32818 }
32819 resultobj = PyInt_FromLong((long)result);
32820 return resultobj;
32821 fail:
32822 return NULL;
32823 }
32824
32825
32826 static PyObject *_wrap_GBSpan_SetRowspan(PyObject *self, PyObject *args, PyObject *kwargs) {
32827 PyObject *resultobj;
32828 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
32829 int arg2 ;
32830 PyObject * obj0 = 0 ;
32831 char *kwnames[] = {
32832 (char *) "self",(char *) "rowspan", NULL
32833 };
32834
32835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:GBSpan_SetRowspan",kwnames,&obj0,&arg2)) goto fail;
32836 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32837 {
32838 PyThreadState* __tstate = wxPyBeginAllowThreads();
32839 (arg1)->SetRowspan(arg2);
32840
32841 wxPyEndAllowThreads(__tstate);
32842 if (PyErr_Occurred()) SWIG_fail;
32843 }
32844 Py_INCREF(Py_None); resultobj = Py_None;
32845 return resultobj;
32846 fail:
32847 return NULL;
32848 }
32849
32850
32851 static PyObject *_wrap_GBSpan_SetColspan(PyObject *self, PyObject *args, PyObject *kwargs) {
32852 PyObject *resultobj;
32853 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
32854 int arg2 ;
32855 PyObject * obj0 = 0 ;
32856 char *kwnames[] = {
32857 (char *) "self",(char *) "colspan", NULL
32858 };
32859
32860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:GBSpan_SetColspan",kwnames,&obj0,&arg2)) goto fail;
32861 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32862 {
32863 PyThreadState* __tstate = wxPyBeginAllowThreads();
32864 (arg1)->SetColspan(arg2);
32865
32866 wxPyEndAllowThreads(__tstate);
32867 if (PyErr_Occurred()) SWIG_fail;
32868 }
32869 Py_INCREF(Py_None); resultobj = Py_None;
32870 return resultobj;
32871 fail:
32872 return NULL;
32873 }
32874
32875
32876 static PyObject *_wrap_GBSpan___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
32877 PyObject *resultobj;
32878 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
32879 wxGBSpan *arg2 = 0 ;
32880 bool result;
32881 wxGBSpan temp2 ;
32882 PyObject * obj0 = 0 ;
32883 PyObject * obj1 = 0 ;
32884 char *kwnames[] = {
32885 (char *) "self",(char *) "o", NULL
32886 };
32887
32888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBSpan___eq__",kwnames,&obj0,&obj1)) goto fail;
32889 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32890 {
32891 arg2 = &temp2;
32892 if ( ! wxGBSpan_helper(obj1, &arg2)) SWIG_fail;
32893 }
32894 {
32895 PyThreadState* __tstate = wxPyBeginAllowThreads();
32896 result = (bool)((wxGBSpan const *)arg1)->operator ==((wxGBSpan const &)*arg2);
32897
32898 wxPyEndAllowThreads(__tstate);
32899 if (PyErr_Occurred()) SWIG_fail;
32900 }
32901 resultobj = PyInt_FromLong((long)result);
32902 return resultobj;
32903 fail:
32904 return NULL;
32905 }
32906
32907
32908 static PyObject *_wrap_GBSpan___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
32909 PyObject *resultobj;
32910 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
32911 wxGBSpan *arg2 = 0 ;
32912 bool result;
32913 wxGBSpan temp2 ;
32914 PyObject * obj0 = 0 ;
32915 PyObject * obj1 = 0 ;
32916 char *kwnames[] = {
32917 (char *) "self",(char *) "o", NULL
32918 };
32919
32920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBSpan___ne__",kwnames,&obj0,&obj1)) goto fail;
32921 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32922 {
32923 arg2 = &temp2;
32924 if ( ! wxGBSpan_helper(obj1, &arg2)) SWIG_fail;
32925 }
32926 {
32927 PyThreadState* __tstate = wxPyBeginAllowThreads();
32928 result = (bool)((wxGBSpan const *)arg1)->operator !=((wxGBSpan const &)*arg2);
32929
32930 wxPyEndAllowThreads(__tstate);
32931 if (PyErr_Occurred()) SWIG_fail;
32932 }
32933 resultobj = PyInt_FromLong((long)result);
32934 return resultobj;
32935 fail:
32936 return NULL;
32937 }
32938
32939
32940 static PyObject *_wrap_GBSpan_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
32941 PyObject *resultobj;
32942 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
32943 int arg2 = (int) 1 ;
32944 int arg3 = (int) 1 ;
32945 PyObject * obj0 = 0 ;
32946 char *kwnames[] = {
32947 (char *) "self",(char *) "rowspan",(char *) "colspan", NULL
32948 };
32949
32950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|ii:GBSpan_Set",kwnames,&obj0,&arg2,&arg3)) goto fail;
32951 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32952 {
32953 PyThreadState* __tstate = wxPyBeginAllowThreads();
32954 wxGBSpan_Set(arg1,arg2,arg3);
32955
32956 wxPyEndAllowThreads(__tstate);
32957 if (PyErr_Occurred()) SWIG_fail;
32958 }
32959 Py_INCREF(Py_None); resultobj = Py_None;
32960 return resultobj;
32961 fail:
32962 return NULL;
32963 }
32964
32965
32966 static PyObject *_wrap_GBSpan_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
32967 PyObject *resultobj;
32968 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
32969 PyObject *result;
32970 PyObject * obj0 = 0 ;
32971 char *kwnames[] = {
32972 (char *) "self", NULL
32973 };
32974
32975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBSpan_Get",kwnames,&obj0)) goto fail;
32976 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32977 {
32978 PyThreadState* __tstate = wxPyBeginAllowThreads();
32979 result = (PyObject *)wxGBSpan_Get(arg1);
32980
32981 wxPyEndAllowThreads(__tstate);
32982 if (PyErr_Occurred()) SWIG_fail;
32983 }
32984 resultobj = result;
32985 return resultobj;
32986 fail:
32987 return NULL;
32988 }
32989
32990
32991 static PyObject * GBSpan_swigregister(PyObject *self, PyObject *args) {
32992 PyObject *obj;
32993 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
32994 SWIG_TypeClientData(SWIGTYPE_p_wxGBSpan, obj);
32995 Py_INCREF(obj);
32996 return Py_BuildValue((char *)"");
32997 }
32998 static int _wrap_DefaultSpan_set(PyObject *_val) {
32999 PyErr_SetString(PyExc_TypeError,"Variable DefaultSpan is read-only.");
33000 return 1;
33001 }
33002
33003
33004 static PyObject *_wrap_DefaultSpan_get() {
33005 PyObject *pyobj;
33006
33007 pyobj = SWIG_NewPointerObj((void *) &wxDefaultSpan, SWIGTYPE_p_wxGBSpan, 0);
33008 return pyobj;
33009 }
33010
33011
33012 static PyObject *_wrap_new_GBSizerItem(PyObject *self, PyObject *args, PyObject *kwargs) {
33013 PyObject *resultobj;
33014 wxGBSizerItem *result;
33015 char *kwnames[] = {
33016 NULL
33017 };
33018
33019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_GBSizerItem",kwnames)) goto fail;
33020 {
33021 PyThreadState* __tstate = wxPyBeginAllowThreads();
33022 result = (wxGBSizerItem *)new wxGBSizerItem();
33023
33024 wxPyEndAllowThreads(__tstate);
33025 if (PyErr_Occurred()) SWIG_fail;
33026 }
33027 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGBSizerItem, 1);
33028 return resultobj;
33029 fail:
33030 return NULL;
33031 }
33032
33033
33034 static PyObject *_wrap_new_GBSizerItemWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
33035 PyObject *resultobj;
33036 wxWindow *arg1 = (wxWindow *) 0 ;
33037 wxGBPosition *arg2 = 0 ;
33038 wxGBSpan *arg3 = 0 ;
33039 int arg4 ;
33040 int arg5 ;
33041 wxObject *arg6 = (wxObject *) 0 ;
33042 wxGBSizerItem *result;
33043 wxGBPosition temp2 ;
33044 wxGBSpan temp3 ;
33045 PyObject * obj0 = 0 ;
33046 PyObject * obj1 = 0 ;
33047 PyObject * obj2 = 0 ;
33048 PyObject * obj5 = 0 ;
33049 char *kwnames[] = {
33050 (char *) "window",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
33051 };
33052
33053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOiiO:new_GBSizerItemWindow",kwnames,&obj0,&obj1,&obj2,&arg4,&arg5,&obj5)) goto fail;
33054 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33055 {
33056 arg2 = &temp2;
33057 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
33058 }
33059 {
33060 arg3 = &temp3;
33061 if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail;
33062 }
33063 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33064 {
33065 PyThreadState* __tstate = wxPyBeginAllowThreads();
33066 result = (wxGBSizerItem *)new wxGBSizerItem(arg1,(wxGBPosition const &)*arg2,(wxGBSpan const &)*arg3,arg4,arg5,arg6);
33067
33068 wxPyEndAllowThreads(__tstate);
33069 if (PyErr_Occurred()) SWIG_fail;
33070 }
33071 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGBSizerItem, 1);
33072 return resultobj;
33073 fail:
33074 return NULL;
33075 }
33076
33077
33078 static PyObject *_wrap_new_GBSizerItemSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
33079 PyObject *resultobj;
33080 wxSizer *arg1 = (wxSizer *) 0 ;
33081 wxGBPosition *arg2 = 0 ;
33082 wxGBSpan *arg3 = 0 ;
33083 int arg4 ;
33084 int arg5 ;
33085 wxObject *arg6 = (wxObject *) 0 ;
33086 wxGBSizerItem *result;
33087 wxGBPosition temp2 ;
33088 wxGBSpan temp3 ;
33089 PyObject * obj0 = 0 ;
33090 PyObject * obj1 = 0 ;
33091 PyObject * obj2 = 0 ;
33092 PyObject * obj5 = 0 ;
33093 char *kwnames[] = {
33094 (char *) "sizer",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
33095 };
33096
33097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOiiO:new_GBSizerItemSizer",kwnames,&obj0,&obj1,&obj2,&arg4,&arg5,&obj5)) goto fail;
33098 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33099 {
33100 arg2 = &temp2;
33101 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
33102 }
33103 {
33104 arg3 = &temp3;
33105 if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail;
33106 }
33107 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33108 {
33109 PyThreadState* __tstate = wxPyBeginAllowThreads();
33110 result = (wxGBSizerItem *)new wxGBSizerItem(arg1,(wxGBPosition const &)*arg2,(wxGBSpan const &)*arg3,arg4,arg5,arg6);
33111
33112 wxPyEndAllowThreads(__tstate);
33113 if (PyErr_Occurred()) SWIG_fail;
33114 }
33115 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGBSizerItem, 1);
33116 return resultobj;
33117 fail:
33118 return NULL;
33119 }
33120
33121
33122 static PyObject *_wrap_new_GBSizerItemSpacer(PyObject *self, PyObject *args, PyObject *kwargs) {
33123 PyObject *resultobj;
33124 int arg1 ;
33125 int arg2 ;
33126 wxGBPosition *arg3 = 0 ;
33127 wxGBSpan *arg4 = 0 ;
33128 int arg5 ;
33129 int arg6 ;
33130 wxObject *arg7 = (wxObject *) 0 ;
33131 wxGBSizerItem *result;
33132 wxGBPosition temp3 ;
33133 wxGBSpan temp4 ;
33134 PyObject * obj2 = 0 ;
33135 PyObject * obj3 = 0 ;
33136 PyObject * obj6 = 0 ;
33137 char *kwnames[] = {
33138 (char *) "width",(char *) "height",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
33139 };
33140
33141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"iiOOiiO:new_GBSizerItemSpacer",kwnames,&arg1,&arg2,&obj2,&obj3,&arg5,&arg6,&obj6)) goto fail;
33142 {
33143 arg3 = &temp3;
33144 if ( ! wxGBPosition_helper(obj2, &arg3)) SWIG_fail;
33145 }
33146 {
33147 arg4 = &temp4;
33148 if ( ! wxGBSpan_helper(obj3, &arg4)) SWIG_fail;
33149 }
33150 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33151 {
33152 PyThreadState* __tstate = wxPyBeginAllowThreads();
33153 result = (wxGBSizerItem *)new wxGBSizerItem(arg1,arg2,(wxGBPosition const &)*arg3,(wxGBSpan const &)*arg4,arg5,arg6,arg7);
33154
33155 wxPyEndAllowThreads(__tstate);
33156 if (PyErr_Occurred()) SWIG_fail;
33157 }
33158 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGBSizerItem, 1);
33159 return resultobj;
33160 fail:
33161 return NULL;
33162 }
33163
33164
33165 static PyObject *_wrap_GBSizerItem_GetPos(PyObject *self, PyObject *args, PyObject *kwargs) {
33166 PyObject *resultobj;
33167 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
33168 wxGBPosition result;
33169 PyObject * obj0 = 0 ;
33170 char *kwnames[] = {
33171 (char *) "self", NULL
33172 };
33173
33174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBSizerItem_GetPos",kwnames,&obj0)) goto fail;
33175 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33176 {
33177 PyThreadState* __tstate = wxPyBeginAllowThreads();
33178 result = ((wxGBSizerItem const *)arg1)->GetPos();
33179
33180 wxPyEndAllowThreads(__tstate);
33181 if (PyErr_Occurred()) SWIG_fail;
33182 }
33183 {
33184 wxGBPosition * resultptr;
33185 resultptr = new wxGBPosition((wxGBPosition &) result);
33186 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxGBPosition, 1);
33187 }
33188 return resultobj;
33189 fail:
33190 return NULL;
33191 }
33192
33193
33194 static PyObject *_wrap_GBSizerItem_GetSpan(PyObject *self, PyObject *args, PyObject *kwargs) {
33195 PyObject *resultobj;
33196 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
33197 wxGBSpan result;
33198 PyObject * obj0 = 0 ;
33199 char *kwnames[] = {
33200 (char *) "self", NULL
33201 };
33202
33203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBSizerItem_GetSpan",kwnames,&obj0)) goto fail;
33204 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33205 {
33206 PyThreadState* __tstate = wxPyBeginAllowThreads();
33207 result = ((wxGBSizerItem const *)arg1)->GetSpan();
33208
33209 wxPyEndAllowThreads(__tstate);
33210 if (PyErr_Occurred()) SWIG_fail;
33211 }
33212 {
33213 wxGBSpan * resultptr;
33214 resultptr = new wxGBSpan((wxGBSpan &) result);
33215 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxGBSpan, 1);
33216 }
33217 return resultobj;
33218 fail:
33219 return NULL;
33220 }
33221
33222
33223 static PyObject *_wrap_GBSizerItem_SetPos(PyObject *self, PyObject *args, PyObject *kwargs) {
33224 PyObject *resultobj;
33225 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
33226 wxGBPosition *arg2 = 0 ;
33227 bool result;
33228 wxGBPosition temp2 ;
33229 PyObject * obj0 = 0 ;
33230 PyObject * obj1 = 0 ;
33231 char *kwnames[] = {
33232 (char *) "self",(char *) "pos", NULL
33233 };
33234
33235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBSizerItem_SetPos",kwnames,&obj0,&obj1)) goto fail;
33236 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33237 {
33238 arg2 = &temp2;
33239 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
33240 }
33241 {
33242 PyThreadState* __tstate = wxPyBeginAllowThreads();
33243 result = (bool)(arg1)->SetPos((wxGBPosition const &)*arg2);
33244
33245 wxPyEndAllowThreads(__tstate);
33246 if (PyErr_Occurred()) SWIG_fail;
33247 }
33248 resultobj = PyInt_FromLong((long)result);
33249 return resultobj;
33250 fail:
33251 return NULL;
33252 }
33253
33254
33255 static PyObject *_wrap_GBSizerItem_SetSpan(PyObject *self, PyObject *args, PyObject *kwargs) {
33256 PyObject *resultobj;
33257 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
33258 wxGBSpan *arg2 = 0 ;
33259 bool result;
33260 wxGBSpan temp2 ;
33261 PyObject * obj0 = 0 ;
33262 PyObject * obj1 = 0 ;
33263 char *kwnames[] = {
33264 (char *) "self",(char *) "span", NULL
33265 };
33266
33267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBSizerItem_SetSpan",kwnames,&obj0,&obj1)) goto fail;
33268 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33269 {
33270 arg2 = &temp2;
33271 if ( ! wxGBSpan_helper(obj1, &arg2)) SWIG_fail;
33272 }
33273 {
33274 PyThreadState* __tstate = wxPyBeginAllowThreads();
33275 result = (bool)(arg1)->SetSpan((wxGBSpan const &)*arg2);
33276
33277 wxPyEndAllowThreads(__tstate);
33278 if (PyErr_Occurred()) SWIG_fail;
33279 }
33280 resultobj = PyInt_FromLong((long)result);
33281 return resultobj;
33282 fail:
33283 return NULL;
33284 }
33285
33286
33287 static PyObject *_wrap_GBSizerItem_Intersects__SWIG_0(PyObject *self, PyObject *args) {
33288 PyObject *resultobj;
33289 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
33290 wxGBSizerItem *arg2 = 0 ;
33291 bool result;
33292 PyObject * obj0 = 0 ;
33293 PyObject * obj1 = 0 ;
33294
33295 if(!PyArg_ParseTuple(args,(char *)"OO:GBSizerItem_Intersects",&obj0,&obj1)) goto fail;
33296 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33297 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxGBSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33298 if (arg2 == NULL) {
33299 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
33300 }
33301 {
33302 PyThreadState* __tstate = wxPyBeginAllowThreads();
33303 result = (bool)(arg1)->Intersects((wxGBSizerItem const &)*arg2);
33304
33305 wxPyEndAllowThreads(__tstate);
33306 if (PyErr_Occurred()) SWIG_fail;
33307 }
33308 resultobj = PyInt_FromLong((long)result);
33309 return resultobj;
33310 fail:
33311 return NULL;
33312 }
33313
33314
33315 static PyObject *_wrap_GBSizerItem_Intersects__SWIG_1(PyObject *self, PyObject *args) {
33316 PyObject *resultobj;
33317 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
33318 wxGBPosition *arg2 = 0 ;
33319 wxGBSpan *arg3 = 0 ;
33320 bool result;
33321 wxGBPosition temp2 ;
33322 wxGBSpan temp3 ;
33323 PyObject * obj0 = 0 ;
33324 PyObject * obj1 = 0 ;
33325 PyObject * obj2 = 0 ;
33326
33327 if(!PyArg_ParseTuple(args,(char *)"OOO:GBSizerItem_Intersects",&obj0,&obj1,&obj2)) goto fail;
33328 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33329 {
33330 arg2 = &temp2;
33331 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
33332 }
33333 {
33334 arg3 = &temp3;
33335 if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail;
33336 }
33337 {
33338 PyThreadState* __tstate = wxPyBeginAllowThreads();
33339 result = (bool)(arg1)->Intersects((wxGBPosition const &)*arg2,(wxGBSpan const &)*arg3);
33340
33341 wxPyEndAllowThreads(__tstate);
33342 if (PyErr_Occurred()) SWIG_fail;
33343 }
33344 resultobj = PyInt_FromLong((long)result);
33345 return resultobj;
33346 fail:
33347 return NULL;
33348 }
33349
33350
33351 static PyObject *_wrap_GBSizerItem_Intersects(PyObject *self, PyObject *args) {
33352 int argc;
33353 PyObject *argv[4];
33354 int ii;
33355
33356 argc = PyObject_Length(args);
33357 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
33358 argv[ii] = PyTuple_GetItem(args,ii);
33359 }
33360 if (argc == 2) {
33361 int _v;
33362 {
33363 void *ptr;
33364 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxGBSizerItem, 0) == -1) {
33365 _v = 0;
33366 PyErr_Clear();
33367 } else {
33368 _v = 1;
33369 }
33370 }
33371 if (_v) {
33372 {
33373 void *ptr;
33374 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxGBSizerItem, 0) == -1) {
33375 _v = 0;
33376 PyErr_Clear();
33377 } else {
33378 _v = 1;
33379 }
33380 }
33381 if (_v) {
33382 return _wrap_GBSizerItem_Intersects__SWIG_0(self,args);
33383 }
33384 }
33385 }
33386 if (argc == 3) {
33387 int _v;
33388 {
33389 void *ptr;
33390 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxGBSizerItem, 0) == -1) {
33391 _v = 0;
33392 PyErr_Clear();
33393 } else {
33394 _v = 1;
33395 }
33396 }
33397 if (_v) {
33398 {
33399 _v = wxPySimple_typecheck(argv[1], wxT("wxGBPosition"), 2);
33400 }
33401 if (_v) {
33402 {
33403 _v = wxPySimple_typecheck(argv[2], wxT("wxGBSpan"), 2);
33404 }
33405 if (_v) {
33406 return _wrap_GBSizerItem_Intersects__SWIG_1(self,args);
33407 }
33408 }
33409 }
33410 }
33411
33412 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'GBSizerItem_Intersects'");
33413 return NULL;
33414 }
33415
33416
33417 static PyObject *_wrap_GBSizerItem_GetEndPos(PyObject *self, PyObject *args, PyObject *kwargs) {
33418 PyObject *resultobj;
33419 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
33420 int *arg2 = 0 ;
33421 int *arg3 = 0 ;
33422 PyObject * obj0 = 0 ;
33423 PyObject * obj1 = 0 ;
33424 PyObject * obj2 = 0 ;
33425 char *kwnames[] = {
33426 (char *) "self",(char *) "row",(char *) "col", NULL
33427 };
33428
33429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GBSizerItem_GetEndPos",kwnames,&obj0,&obj1,&obj2)) goto fail;
33430 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33431 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_int,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33432 if (arg2 == NULL) {
33433 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
33434 }
33435 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_int,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33436 if (arg3 == NULL) {
33437 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
33438 }
33439 {
33440 PyThreadState* __tstate = wxPyBeginAllowThreads();
33441 (arg1)->GetEndPos(*arg2,*arg3);
33442
33443 wxPyEndAllowThreads(__tstate);
33444 if (PyErr_Occurred()) SWIG_fail;
33445 }
33446 Py_INCREF(Py_None); resultobj = Py_None;
33447 return resultobj;
33448 fail:
33449 return NULL;
33450 }
33451
33452
33453 static PyObject *_wrap_GBSizerItem_GetGBSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
33454 PyObject *resultobj;
33455 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
33456 wxGridBagSizer *result;
33457 PyObject * obj0 = 0 ;
33458 char *kwnames[] = {
33459 (char *) "self", NULL
33460 };
33461
33462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBSizerItem_GetGBSizer",kwnames,&obj0)) goto fail;
33463 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33464 {
33465 PyThreadState* __tstate = wxPyBeginAllowThreads();
33466 result = (wxGridBagSizer *)((wxGBSizerItem const *)arg1)->GetGBSizer();
33467
33468 wxPyEndAllowThreads(__tstate);
33469 if (PyErr_Occurred()) SWIG_fail;
33470 }
33471 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGridBagSizer, 0);
33472 return resultobj;
33473 fail:
33474 return NULL;
33475 }
33476
33477
33478 static PyObject *_wrap_GBSizerItem_SetGBSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
33479 PyObject *resultobj;
33480 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
33481 wxGridBagSizer *arg2 = (wxGridBagSizer *) 0 ;
33482 PyObject * obj0 = 0 ;
33483 PyObject * obj1 = 0 ;
33484 char *kwnames[] = {
33485 (char *) "self",(char *) "sizer", NULL
33486 };
33487
33488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBSizerItem_SetGBSizer",kwnames,&obj0,&obj1)) goto fail;
33489 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33490 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33491 {
33492 PyThreadState* __tstate = wxPyBeginAllowThreads();
33493 (arg1)->SetGBSizer(arg2);
33494
33495 wxPyEndAllowThreads(__tstate);
33496 if (PyErr_Occurred()) SWIG_fail;
33497 }
33498 Py_INCREF(Py_None); resultobj = Py_None;
33499 return resultobj;
33500 fail:
33501 return NULL;
33502 }
33503
33504
33505 static PyObject * GBSizerItem_swigregister(PyObject *self, PyObject *args) {
33506 PyObject *obj;
33507 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
33508 SWIG_TypeClientData(SWIGTYPE_p_wxGBSizerItem, obj);
33509 Py_INCREF(obj);
33510 return Py_BuildValue((char *)"");
33511 }
33512 static PyObject *_wrap_new_GridBagSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
33513 PyObject *resultobj;
33514 int arg1 = (int) 0 ;
33515 int arg2 = (int) 0 ;
33516 wxGridBagSizer *result;
33517 char *kwnames[] = {
33518 (char *) "vgap",(char *) "hgap", NULL
33519 };
33520
33521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_GridBagSizer",kwnames,&arg1,&arg2)) goto fail;
33522 {
33523 PyThreadState* __tstate = wxPyBeginAllowThreads();
33524 result = (wxGridBagSizer *)new wxGridBagSizer(arg1,arg2);
33525
33526 wxPyEndAllowThreads(__tstate);
33527 if (PyErr_Occurred()) SWIG_fail;
33528 }
33529 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGridBagSizer, 1);
33530 return resultobj;
33531 fail:
33532 return NULL;
33533 }
33534
33535
33536 static PyObject *_wrap_GridBagSizer_Add(PyObject *self, PyObject *args, PyObject *kwargs) {
33537 PyObject *resultobj;
33538 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
33539 PyObject *arg2 = (PyObject *) 0 ;
33540 wxGBPosition *arg3 = 0 ;
33541 wxGBSpan const &arg4_defvalue = wxDefaultSpan ;
33542 wxGBSpan *arg4 = (wxGBSpan *) &arg4_defvalue ;
33543 int arg5 = (int) 0 ;
33544 int arg6 = (int) 0 ;
33545 PyObject *arg7 = (PyObject *) NULL ;
33546 bool result;
33547 wxGBPosition temp3 ;
33548 wxGBSpan temp4 ;
33549 PyObject * obj0 = 0 ;
33550 PyObject * obj1 = 0 ;
33551 PyObject * obj2 = 0 ;
33552 PyObject * obj3 = 0 ;
33553 PyObject * obj6 = 0 ;
33554 char *kwnames[] = {
33555 (char *) "self",(char *) "item",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
33556 };
33557
33558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OiiO:GridBagSizer_Add",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5,&arg6,&obj6)) goto fail;
33559 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33560 arg2 = obj1;
33561 {
33562 arg3 = &temp3;
33563 if ( ! wxGBPosition_helper(obj2, &arg3)) SWIG_fail;
33564 }
33565 if (obj3) {
33566 {
33567 arg4 = &temp4;
33568 if ( ! wxGBSpan_helper(obj3, &arg4)) SWIG_fail;
33569 }
33570 }
33571 if (obj6) {
33572 arg7 = obj6;
33573 }
33574 {
33575 PyThreadState* __tstate = wxPyBeginAllowThreads();
33576 result = (bool)wxGridBagSizer_Add(arg1,arg2,(wxGBPosition const &)*arg3,(wxGBSpan const &)*arg4,arg5,arg6,arg7);
33577
33578 wxPyEndAllowThreads(__tstate);
33579 if (PyErr_Occurred()) SWIG_fail;
33580 }
33581 resultobj = PyInt_FromLong((long)result);
33582 return resultobj;
33583 fail:
33584 return NULL;
33585 }
33586
33587
33588 static PyObject *_wrap_GridBagSizer_AddItem(PyObject *self, PyObject *args, PyObject *kwargs) {
33589 PyObject *resultobj;
33590 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
33591 wxGBSizerItem *arg2 = (wxGBSizerItem *) 0 ;
33592 bool result;
33593 PyObject * obj0 = 0 ;
33594 PyObject * obj1 = 0 ;
33595 char *kwnames[] = {
33596 (char *) "self",(char *) "item", NULL
33597 };
33598
33599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridBagSizer_AddItem",kwnames,&obj0,&obj1)) goto fail;
33600 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33601 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxGBSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33602 {
33603 PyThreadState* __tstate = wxPyBeginAllowThreads();
33604 result = (bool)(arg1)->Add(arg2);
33605
33606 wxPyEndAllowThreads(__tstate);
33607 if (PyErr_Occurred()) SWIG_fail;
33608 }
33609 resultobj = PyInt_FromLong((long)result);
33610 return resultobj;
33611 fail:
33612 return NULL;
33613 }
33614
33615
33616 static PyObject *_wrap_GridBagSizer_GetEmptyCellSize(PyObject *self, PyObject *args, PyObject *kwargs) {
33617 PyObject *resultobj;
33618 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
33619 wxSize result;
33620 PyObject * obj0 = 0 ;
33621 char *kwnames[] = {
33622 (char *) "self", NULL
33623 };
33624
33625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridBagSizer_GetEmptyCellSize",kwnames,&obj0)) goto fail;
33626 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33627 {
33628 PyThreadState* __tstate = wxPyBeginAllowThreads();
33629 result = ((wxGridBagSizer const *)arg1)->GetEmptyCellSize();
33630
33631 wxPyEndAllowThreads(__tstate);
33632 if (PyErr_Occurred()) SWIG_fail;
33633 }
33634 {
33635 wxSize * resultptr;
33636 resultptr = new wxSize((wxSize &) result);
33637 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
33638 }
33639 return resultobj;
33640 fail:
33641 return NULL;
33642 }
33643
33644
33645 static PyObject *_wrap_GridBagSizer_SetEmptyCellSize(PyObject *self, PyObject *args, PyObject *kwargs) {
33646 PyObject *resultobj;
33647 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
33648 wxSize *arg2 = 0 ;
33649 wxSize temp2 ;
33650 PyObject * obj0 = 0 ;
33651 PyObject * obj1 = 0 ;
33652 char *kwnames[] = {
33653 (char *) "self",(char *) "sz", NULL
33654 };
33655
33656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridBagSizer_SetEmptyCellSize",kwnames,&obj0,&obj1)) goto fail;
33657 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33658 {
33659 arg2 = &temp2;
33660 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
33661 }
33662 {
33663 PyThreadState* __tstate = wxPyBeginAllowThreads();
33664 (arg1)->SetEmptyCellSize((wxSize const &)*arg2);
33665
33666 wxPyEndAllowThreads(__tstate);
33667 if (PyErr_Occurred()) SWIG_fail;
33668 }
33669 Py_INCREF(Py_None); resultobj = Py_None;
33670 return resultobj;
33671 fail:
33672 return NULL;
33673 }
33674
33675
33676 static PyObject *_wrap_GridBagSizer_GetItemPosition__SWIG_0(PyObject *self, PyObject *args) {
33677 PyObject *resultobj;
33678 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
33679 wxWindow *arg2 = (wxWindow *) 0 ;
33680 wxGBPosition result;
33681 PyObject * obj0 = 0 ;
33682 PyObject * obj1 = 0 ;
33683
33684 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_GetItemPosition",&obj0,&obj1)) goto fail;
33685 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33686 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33687 {
33688 PyThreadState* __tstate = wxPyBeginAllowThreads();
33689 result = (arg1)->GetItemPosition(arg2);
33690
33691 wxPyEndAllowThreads(__tstate);
33692 if (PyErr_Occurred()) SWIG_fail;
33693 }
33694 {
33695 wxGBPosition * resultptr;
33696 resultptr = new wxGBPosition((wxGBPosition &) result);
33697 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxGBPosition, 1);
33698 }
33699 return resultobj;
33700 fail:
33701 return NULL;
33702 }
33703
33704
33705 static PyObject *_wrap_GridBagSizer_GetItemPosition__SWIG_1(PyObject *self, PyObject *args) {
33706 PyObject *resultobj;
33707 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
33708 wxSizer *arg2 = (wxSizer *) 0 ;
33709 wxGBPosition result;
33710 PyObject * obj0 = 0 ;
33711 PyObject * obj1 = 0 ;
33712
33713 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_GetItemPosition",&obj0,&obj1)) goto fail;
33714 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33715 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33716 {
33717 PyThreadState* __tstate = wxPyBeginAllowThreads();
33718 result = (arg1)->GetItemPosition(arg2);
33719
33720 wxPyEndAllowThreads(__tstate);
33721 if (PyErr_Occurred()) SWIG_fail;
33722 }
33723 {
33724 wxGBPosition * resultptr;
33725 resultptr = new wxGBPosition((wxGBPosition &) result);
33726 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxGBPosition, 1);
33727 }
33728 return resultobj;
33729 fail:
33730 return NULL;
33731 }
33732
33733
33734 static PyObject *_wrap_GridBagSizer_GetItemPosition__SWIG_2(PyObject *self, PyObject *args) {
33735 PyObject *resultobj;
33736 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
33737 size_t arg2 ;
33738 wxGBPosition result;
33739 PyObject * obj0 = 0 ;
33740 PyObject * obj1 = 0 ;
33741
33742 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_GetItemPosition",&obj0,&obj1)) goto fail;
33743 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33744 arg2 = (size_t) PyInt_AsLong(obj1);
33745 if (PyErr_Occurred()) SWIG_fail;
33746 {
33747 PyThreadState* __tstate = wxPyBeginAllowThreads();
33748 result = (arg1)->GetItemPosition(arg2);
33749
33750 wxPyEndAllowThreads(__tstate);
33751 if (PyErr_Occurred()) SWIG_fail;
33752 }
33753 {
33754 wxGBPosition * resultptr;
33755 resultptr = new wxGBPosition((wxGBPosition &) result);
33756 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxGBPosition, 1);
33757 }
33758 return resultobj;
33759 fail:
33760 return NULL;
33761 }
33762
33763
33764 static PyObject *_wrap_GridBagSizer_GetItemPosition(PyObject *self, PyObject *args) {
33765 int argc;
33766 PyObject *argv[3];
33767 int ii;
33768
33769 argc = PyObject_Length(args);
33770 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
33771 argv[ii] = PyTuple_GetItem(args,ii);
33772 }
33773 if (argc == 2) {
33774 int _v;
33775 {
33776 void *ptr;
33777 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
33778 _v = 0;
33779 PyErr_Clear();
33780 } else {
33781 _v = 1;
33782 }
33783 }
33784 if (_v) {
33785 {
33786 void *ptr;
33787 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
33788 _v = 0;
33789 PyErr_Clear();
33790 } else {
33791 _v = 1;
33792 }
33793 }
33794 if (_v) {
33795 return _wrap_GridBagSizer_GetItemPosition__SWIG_0(self,args);
33796 }
33797 }
33798 }
33799 if (argc == 2) {
33800 int _v;
33801 {
33802 void *ptr;
33803 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
33804 _v = 0;
33805 PyErr_Clear();
33806 } else {
33807 _v = 1;
33808 }
33809 }
33810 if (_v) {
33811 {
33812 void *ptr;
33813 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxSizer, 0) == -1) {
33814 _v = 0;
33815 PyErr_Clear();
33816 } else {
33817 _v = 1;
33818 }
33819 }
33820 if (_v) {
33821 return _wrap_GridBagSizer_GetItemPosition__SWIG_1(self,args);
33822 }
33823 }
33824 }
33825 if (argc == 2) {
33826 int _v;
33827 {
33828 void *ptr;
33829 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
33830 _v = 0;
33831 PyErr_Clear();
33832 } else {
33833 _v = 1;
33834 }
33835 }
33836 if (_v) {
33837 {
33838 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
33839 }
33840 if (_v) {
33841 return _wrap_GridBagSizer_GetItemPosition__SWIG_2(self,args);
33842 }
33843 }
33844 }
33845
33846 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'GridBagSizer_GetItemPosition'");
33847 return NULL;
33848 }
33849
33850
33851 static PyObject *_wrap_GridBagSizer_SetItemPosition__SWIG_0(PyObject *self, PyObject *args) {
33852 PyObject *resultobj;
33853 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
33854 wxWindow *arg2 = (wxWindow *) 0 ;
33855 wxGBPosition *arg3 = 0 ;
33856 bool result;
33857 wxGBPosition temp3 ;
33858 PyObject * obj0 = 0 ;
33859 PyObject * obj1 = 0 ;
33860 PyObject * obj2 = 0 ;
33861
33862 if(!PyArg_ParseTuple(args,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0,&obj1,&obj2)) goto fail;
33863 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33864 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33865 {
33866 arg3 = &temp3;
33867 if ( ! wxGBPosition_helper(obj2, &arg3)) SWIG_fail;
33868 }
33869 {
33870 PyThreadState* __tstate = wxPyBeginAllowThreads();
33871 result = (bool)(arg1)->SetItemPosition(arg2,(wxGBPosition const &)*arg3);
33872
33873 wxPyEndAllowThreads(__tstate);
33874 if (PyErr_Occurred()) SWIG_fail;
33875 }
33876 resultobj = PyInt_FromLong((long)result);
33877 return resultobj;
33878 fail:
33879 return NULL;
33880 }
33881
33882
33883 static PyObject *_wrap_GridBagSizer_SetItemPosition__SWIG_1(PyObject *self, PyObject *args) {
33884 PyObject *resultobj;
33885 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
33886 wxSizer *arg2 = (wxSizer *) 0 ;
33887 wxGBPosition *arg3 = 0 ;
33888 bool result;
33889 wxGBPosition temp3 ;
33890 PyObject * obj0 = 0 ;
33891 PyObject * obj1 = 0 ;
33892 PyObject * obj2 = 0 ;
33893
33894 if(!PyArg_ParseTuple(args,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0,&obj1,&obj2)) goto fail;
33895 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33896 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33897 {
33898 arg3 = &temp3;
33899 if ( ! wxGBPosition_helper(obj2, &arg3)) SWIG_fail;
33900 }
33901 {
33902 PyThreadState* __tstate = wxPyBeginAllowThreads();
33903 result = (bool)(arg1)->SetItemPosition(arg2,(wxGBPosition const &)*arg3);
33904
33905 wxPyEndAllowThreads(__tstate);
33906 if (PyErr_Occurred()) SWIG_fail;
33907 }
33908 resultobj = PyInt_FromLong((long)result);
33909 return resultobj;
33910 fail:
33911 return NULL;
33912 }
33913
33914
33915 static PyObject *_wrap_GridBagSizer_SetItemPosition__SWIG_2(PyObject *self, PyObject *args) {
33916 PyObject *resultobj;
33917 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
33918 size_t arg2 ;
33919 wxGBPosition *arg3 = 0 ;
33920 bool result;
33921 wxGBPosition temp3 ;
33922 PyObject * obj0 = 0 ;
33923 PyObject * obj1 = 0 ;
33924 PyObject * obj2 = 0 ;
33925
33926 if(!PyArg_ParseTuple(args,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0,&obj1,&obj2)) goto fail;
33927 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33928 arg2 = (size_t) PyInt_AsLong(obj1);
33929 if (PyErr_Occurred()) SWIG_fail;
33930 {
33931 arg3 = &temp3;
33932 if ( ! wxGBPosition_helper(obj2, &arg3)) SWIG_fail;
33933 }
33934 {
33935 PyThreadState* __tstate = wxPyBeginAllowThreads();
33936 result = (bool)(arg1)->SetItemPosition(arg2,(wxGBPosition const &)*arg3);
33937
33938 wxPyEndAllowThreads(__tstate);
33939 if (PyErr_Occurred()) SWIG_fail;
33940 }
33941 resultobj = PyInt_FromLong((long)result);
33942 return resultobj;
33943 fail:
33944 return NULL;
33945 }
33946
33947
33948 static PyObject *_wrap_GridBagSizer_SetItemPosition(PyObject *self, PyObject *args) {
33949 int argc;
33950 PyObject *argv[4];
33951 int ii;
33952
33953 argc = PyObject_Length(args);
33954 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
33955 argv[ii] = PyTuple_GetItem(args,ii);
33956 }
33957 if (argc == 3) {
33958 int _v;
33959 {
33960 void *ptr;
33961 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
33962 _v = 0;
33963 PyErr_Clear();
33964 } else {
33965 _v = 1;
33966 }
33967 }
33968 if (_v) {
33969 {
33970 void *ptr;
33971 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
33972 _v = 0;
33973 PyErr_Clear();
33974 } else {
33975 _v = 1;
33976 }
33977 }
33978 if (_v) {
33979 {
33980 _v = wxPySimple_typecheck(argv[2], wxT("wxGBPosition"), 2);
33981 }
33982 if (_v) {
33983 return _wrap_GridBagSizer_SetItemPosition__SWIG_0(self,args);
33984 }
33985 }
33986 }
33987 }
33988 if (argc == 3) {
33989 int _v;
33990 {
33991 void *ptr;
33992 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
33993 _v = 0;
33994 PyErr_Clear();
33995 } else {
33996 _v = 1;
33997 }
33998 }
33999 if (_v) {
34000 {
34001 void *ptr;
34002 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxSizer, 0) == -1) {
34003 _v = 0;
34004 PyErr_Clear();
34005 } else {
34006 _v = 1;
34007 }
34008 }
34009 if (_v) {
34010 {
34011 _v = wxPySimple_typecheck(argv[2], wxT("wxGBPosition"), 2);
34012 }
34013 if (_v) {
34014 return _wrap_GridBagSizer_SetItemPosition__SWIG_1(self,args);
34015 }
34016 }
34017 }
34018 }
34019 if (argc == 3) {
34020 int _v;
34021 {
34022 void *ptr;
34023 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
34024 _v = 0;
34025 PyErr_Clear();
34026 } else {
34027 _v = 1;
34028 }
34029 }
34030 if (_v) {
34031 {
34032 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
34033 }
34034 if (_v) {
34035 {
34036 _v = wxPySimple_typecheck(argv[2], wxT("wxGBPosition"), 2);
34037 }
34038 if (_v) {
34039 return _wrap_GridBagSizer_SetItemPosition__SWIG_2(self,args);
34040 }
34041 }
34042 }
34043 }
34044
34045 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'GridBagSizer_SetItemPosition'");
34046 return NULL;
34047 }
34048
34049
34050 static PyObject *_wrap_GridBagSizer_GetItemSpan__SWIG_0(PyObject *self, PyObject *args) {
34051 PyObject *resultobj;
34052 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
34053 wxWindow *arg2 = (wxWindow *) 0 ;
34054 wxGBSpan result;
34055 PyObject * obj0 = 0 ;
34056 PyObject * obj1 = 0 ;
34057
34058 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_GetItemSpan",&obj0,&obj1)) goto fail;
34059 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34060 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34061 {
34062 PyThreadState* __tstate = wxPyBeginAllowThreads();
34063 result = (arg1)->GetItemSpan(arg2);
34064
34065 wxPyEndAllowThreads(__tstate);
34066 if (PyErr_Occurred()) SWIG_fail;
34067 }
34068 {
34069 wxGBSpan * resultptr;
34070 resultptr = new wxGBSpan((wxGBSpan &) result);
34071 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxGBSpan, 1);
34072 }
34073 return resultobj;
34074 fail:
34075 return NULL;
34076 }
34077
34078
34079 static PyObject *_wrap_GridBagSizer_GetItemSpan__SWIG_1(PyObject *self, PyObject *args) {
34080 PyObject *resultobj;
34081 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
34082 wxSizer *arg2 = (wxSizer *) 0 ;
34083 wxGBSpan result;
34084 PyObject * obj0 = 0 ;
34085 PyObject * obj1 = 0 ;
34086
34087 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_GetItemSpan",&obj0,&obj1)) goto fail;
34088 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34089 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34090 {
34091 PyThreadState* __tstate = wxPyBeginAllowThreads();
34092 result = (arg1)->GetItemSpan(arg2);
34093
34094 wxPyEndAllowThreads(__tstate);
34095 if (PyErr_Occurred()) SWIG_fail;
34096 }
34097 {
34098 wxGBSpan * resultptr;
34099 resultptr = new wxGBSpan((wxGBSpan &) result);
34100 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxGBSpan, 1);
34101 }
34102 return resultobj;
34103 fail:
34104 return NULL;
34105 }
34106
34107
34108 static PyObject *_wrap_GridBagSizer_GetItemSpan__SWIG_2(PyObject *self, PyObject *args) {
34109 PyObject *resultobj;
34110 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
34111 size_t arg2 ;
34112 wxGBSpan result;
34113 PyObject * obj0 = 0 ;
34114 PyObject * obj1 = 0 ;
34115
34116 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_GetItemSpan",&obj0,&obj1)) goto fail;
34117 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34118 arg2 = (size_t) PyInt_AsLong(obj1);
34119 if (PyErr_Occurred()) SWIG_fail;
34120 {
34121 PyThreadState* __tstate = wxPyBeginAllowThreads();
34122 result = (arg1)->GetItemSpan(arg2);
34123
34124 wxPyEndAllowThreads(__tstate);
34125 if (PyErr_Occurred()) SWIG_fail;
34126 }
34127 {
34128 wxGBSpan * resultptr;
34129 resultptr = new wxGBSpan((wxGBSpan &) result);
34130 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxGBSpan, 1);
34131 }
34132 return resultobj;
34133 fail:
34134 return NULL;
34135 }
34136
34137
34138 static PyObject *_wrap_GridBagSizer_GetItemSpan(PyObject *self, PyObject *args) {
34139 int argc;
34140 PyObject *argv[3];
34141 int ii;
34142
34143 argc = PyObject_Length(args);
34144 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
34145 argv[ii] = PyTuple_GetItem(args,ii);
34146 }
34147 if (argc == 2) {
34148 int _v;
34149 {
34150 void *ptr;
34151 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
34152 _v = 0;
34153 PyErr_Clear();
34154 } else {
34155 _v = 1;
34156 }
34157 }
34158 if (_v) {
34159 {
34160 void *ptr;
34161 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
34162 _v = 0;
34163 PyErr_Clear();
34164 } else {
34165 _v = 1;
34166 }
34167 }
34168 if (_v) {
34169 return _wrap_GridBagSizer_GetItemSpan__SWIG_0(self,args);
34170 }
34171 }
34172 }
34173 if (argc == 2) {
34174 int _v;
34175 {
34176 void *ptr;
34177 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
34178 _v = 0;
34179 PyErr_Clear();
34180 } else {
34181 _v = 1;
34182 }
34183 }
34184 if (_v) {
34185 {
34186 void *ptr;
34187 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxSizer, 0) == -1) {
34188 _v = 0;
34189 PyErr_Clear();
34190 } else {
34191 _v = 1;
34192 }
34193 }
34194 if (_v) {
34195 return _wrap_GridBagSizer_GetItemSpan__SWIG_1(self,args);
34196 }
34197 }
34198 }
34199 if (argc == 2) {
34200 int _v;
34201 {
34202 void *ptr;
34203 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
34204 _v = 0;
34205 PyErr_Clear();
34206 } else {
34207 _v = 1;
34208 }
34209 }
34210 if (_v) {
34211 {
34212 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
34213 }
34214 if (_v) {
34215 return _wrap_GridBagSizer_GetItemSpan__SWIG_2(self,args);
34216 }
34217 }
34218 }
34219
34220 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'GridBagSizer_GetItemSpan'");
34221 return NULL;
34222 }
34223
34224
34225 static PyObject *_wrap_GridBagSizer_SetItemSpan__SWIG_0(PyObject *self, PyObject *args) {
34226 PyObject *resultobj;
34227 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
34228 wxWindow *arg2 = (wxWindow *) 0 ;
34229 wxGBSpan *arg3 = 0 ;
34230 bool result;
34231 wxGBSpan temp3 ;
34232 PyObject * obj0 = 0 ;
34233 PyObject * obj1 = 0 ;
34234 PyObject * obj2 = 0 ;
34235
34236 if(!PyArg_ParseTuple(args,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0,&obj1,&obj2)) goto fail;
34237 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34238 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34239 {
34240 arg3 = &temp3;
34241 if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail;
34242 }
34243 {
34244 PyThreadState* __tstate = wxPyBeginAllowThreads();
34245 result = (bool)(arg1)->SetItemSpan(arg2,(wxGBSpan const &)*arg3);
34246
34247 wxPyEndAllowThreads(__tstate);
34248 if (PyErr_Occurred()) SWIG_fail;
34249 }
34250 resultobj = PyInt_FromLong((long)result);
34251 return resultobj;
34252 fail:
34253 return NULL;
34254 }
34255
34256
34257 static PyObject *_wrap_GridBagSizer_SetItemSpan__SWIG_1(PyObject *self, PyObject *args) {
34258 PyObject *resultobj;
34259 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
34260 wxSizer *arg2 = (wxSizer *) 0 ;
34261 wxGBSpan *arg3 = 0 ;
34262 bool result;
34263 wxGBSpan temp3 ;
34264 PyObject * obj0 = 0 ;
34265 PyObject * obj1 = 0 ;
34266 PyObject * obj2 = 0 ;
34267
34268 if(!PyArg_ParseTuple(args,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0,&obj1,&obj2)) goto fail;
34269 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34270 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34271 {
34272 arg3 = &temp3;
34273 if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail;
34274 }
34275 {
34276 PyThreadState* __tstate = wxPyBeginAllowThreads();
34277 result = (bool)(arg1)->SetItemSpan(arg2,(wxGBSpan const &)*arg3);
34278
34279 wxPyEndAllowThreads(__tstate);
34280 if (PyErr_Occurred()) SWIG_fail;
34281 }
34282 resultobj = PyInt_FromLong((long)result);
34283 return resultobj;
34284 fail:
34285 return NULL;
34286 }
34287
34288
34289 static PyObject *_wrap_GridBagSizer_SetItemSpan__SWIG_2(PyObject *self, PyObject *args) {
34290 PyObject *resultobj;
34291 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
34292 size_t arg2 ;
34293 wxGBSpan *arg3 = 0 ;
34294 bool result;
34295 wxGBSpan temp3 ;
34296 PyObject * obj0 = 0 ;
34297 PyObject * obj1 = 0 ;
34298 PyObject * obj2 = 0 ;
34299
34300 if(!PyArg_ParseTuple(args,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0,&obj1,&obj2)) goto fail;
34301 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34302 arg2 = (size_t) PyInt_AsLong(obj1);
34303 if (PyErr_Occurred()) SWIG_fail;
34304 {
34305 arg3 = &temp3;
34306 if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail;
34307 }
34308 {
34309 PyThreadState* __tstate = wxPyBeginAllowThreads();
34310 result = (bool)(arg1)->SetItemSpan(arg2,(wxGBSpan const &)*arg3);
34311
34312 wxPyEndAllowThreads(__tstate);
34313 if (PyErr_Occurred()) SWIG_fail;
34314 }
34315 resultobj = PyInt_FromLong((long)result);
34316 return resultobj;
34317 fail:
34318 return NULL;
34319 }
34320
34321
34322 static PyObject *_wrap_GridBagSizer_SetItemSpan(PyObject *self, PyObject *args) {
34323 int argc;
34324 PyObject *argv[4];
34325 int ii;
34326
34327 argc = PyObject_Length(args);
34328 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
34329 argv[ii] = PyTuple_GetItem(args,ii);
34330 }
34331 if (argc == 3) {
34332 int _v;
34333 {
34334 void *ptr;
34335 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
34336 _v = 0;
34337 PyErr_Clear();
34338 } else {
34339 _v = 1;
34340 }
34341 }
34342 if (_v) {
34343 {
34344 void *ptr;
34345 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
34346 _v = 0;
34347 PyErr_Clear();
34348 } else {
34349 _v = 1;
34350 }
34351 }
34352 if (_v) {
34353 {
34354 _v = wxPySimple_typecheck(argv[2], wxT("wxGBSpan"), 2);
34355 }
34356 if (_v) {
34357 return _wrap_GridBagSizer_SetItemSpan__SWIG_0(self,args);
34358 }
34359 }
34360 }
34361 }
34362 if (argc == 3) {
34363 int _v;
34364 {
34365 void *ptr;
34366 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
34367 _v = 0;
34368 PyErr_Clear();
34369 } else {
34370 _v = 1;
34371 }
34372 }
34373 if (_v) {
34374 {
34375 void *ptr;
34376 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxSizer, 0) == -1) {
34377 _v = 0;
34378 PyErr_Clear();
34379 } else {
34380 _v = 1;
34381 }
34382 }
34383 if (_v) {
34384 {
34385 _v = wxPySimple_typecheck(argv[2], wxT("wxGBSpan"), 2);
34386 }
34387 if (_v) {
34388 return _wrap_GridBagSizer_SetItemSpan__SWIG_1(self,args);
34389 }
34390 }
34391 }
34392 }
34393 if (argc == 3) {
34394 int _v;
34395 {
34396 void *ptr;
34397 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
34398 _v = 0;
34399 PyErr_Clear();
34400 } else {
34401 _v = 1;
34402 }
34403 }
34404 if (_v) {
34405 {
34406 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
34407 }
34408 if (_v) {
34409 {
34410 _v = wxPySimple_typecheck(argv[2], wxT("wxGBSpan"), 2);
34411 }
34412 if (_v) {
34413 return _wrap_GridBagSizer_SetItemSpan__SWIG_2(self,args);
34414 }
34415 }
34416 }
34417 }
34418
34419 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'GridBagSizer_SetItemSpan'");
34420 return NULL;
34421 }
34422
34423
34424 static PyObject *_wrap_GridBagSizer_FindItem__SWIG_0(PyObject *self, PyObject *args) {
34425 PyObject *resultobj;
34426 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
34427 wxWindow *arg2 = (wxWindow *) 0 ;
34428 wxGBSizerItem *result;
34429 PyObject * obj0 = 0 ;
34430 PyObject * obj1 = 0 ;
34431
34432 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_FindItem",&obj0,&obj1)) goto fail;
34433 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34434 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34435 {
34436 PyThreadState* __tstate = wxPyBeginAllowThreads();
34437 result = (wxGBSizerItem *)(arg1)->FindItem(arg2);
34438
34439 wxPyEndAllowThreads(__tstate);
34440 if (PyErr_Occurred()) SWIG_fail;
34441 }
34442 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGBSizerItem, 0);
34443 return resultobj;
34444 fail:
34445 return NULL;
34446 }
34447
34448
34449 static PyObject *_wrap_GridBagSizer_FindItem__SWIG_1(PyObject *self, PyObject *args) {
34450 PyObject *resultobj;
34451 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
34452 wxSizer *arg2 = (wxSizer *) 0 ;
34453 wxGBSizerItem *result;
34454 PyObject * obj0 = 0 ;
34455 PyObject * obj1 = 0 ;
34456
34457 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_FindItem",&obj0,&obj1)) goto fail;
34458 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34459 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34460 {
34461 PyThreadState* __tstate = wxPyBeginAllowThreads();
34462 result = (wxGBSizerItem *)(arg1)->FindItem(arg2);
34463
34464 wxPyEndAllowThreads(__tstate);
34465 if (PyErr_Occurred()) SWIG_fail;
34466 }
34467 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGBSizerItem, 0);
34468 return resultobj;
34469 fail:
34470 return NULL;
34471 }
34472
34473
34474 static PyObject *_wrap_GridBagSizer_FindItem(PyObject *self, PyObject *args) {
34475 int argc;
34476 PyObject *argv[3];
34477 int ii;
34478
34479 argc = PyObject_Length(args);
34480 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
34481 argv[ii] = PyTuple_GetItem(args,ii);
34482 }
34483 if (argc == 2) {
34484 int _v;
34485 {
34486 void *ptr;
34487 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
34488 _v = 0;
34489 PyErr_Clear();
34490 } else {
34491 _v = 1;
34492 }
34493 }
34494 if (_v) {
34495 {
34496 void *ptr;
34497 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
34498 _v = 0;
34499 PyErr_Clear();
34500 } else {
34501 _v = 1;
34502 }
34503 }
34504 if (_v) {
34505 return _wrap_GridBagSizer_FindItem__SWIG_0(self,args);
34506 }
34507 }
34508 }
34509 if (argc == 2) {
34510 int _v;
34511 {
34512 void *ptr;
34513 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
34514 _v = 0;
34515 PyErr_Clear();
34516 } else {
34517 _v = 1;
34518 }
34519 }
34520 if (_v) {
34521 {
34522 void *ptr;
34523 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxSizer, 0) == -1) {
34524 _v = 0;
34525 PyErr_Clear();
34526 } else {
34527 _v = 1;
34528 }
34529 }
34530 if (_v) {
34531 return _wrap_GridBagSizer_FindItem__SWIG_1(self,args);
34532 }
34533 }
34534 }
34535
34536 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'GridBagSizer_FindItem'");
34537 return NULL;
34538 }
34539
34540
34541 static PyObject *_wrap_GridBagSizer_FindItemAtPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
34542 PyObject *resultobj;
34543 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
34544 wxGBPosition *arg2 = 0 ;
34545 wxGBSizerItem *result;
34546 wxGBPosition temp2 ;
34547 PyObject * obj0 = 0 ;
34548 PyObject * obj1 = 0 ;
34549 char *kwnames[] = {
34550 (char *) "self",(char *) "pos", NULL
34551 };
34552
34553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridBagSizer_FindItemAtPosition",kwnames,&obj0,&obj1)) goto fail;
34554 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34555 {
34556 arg2 = &temp2;
34557 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
34558 }
34559 {
34560 PyThreadState* __tstate = wxPyBeginAllowThreads();
34561 result = (wxGBSizerItem *)(arg1)->FindItemAtPosition((wxGBPosition const &)*arg2);
34562
34563 wxPyEndAllowThreads(__tstate);
34564 if (PyErr_Occurred()) SWIG_fail;
34565 }
34566 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGBSizerItem, 0);
34567 return resultobj;
34568 fail:
34569 return NULL;
34570 }
34571
34572
34573 static PyObject *_wrap_GridBagSizer_FindItemAtPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
34574 PyObject *resultobj;
34575 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
34576 wxPoint *arg2 = 0 ;
34577 wxGBSizerItem *result;
34578 wxPoint temp2 ;
34579 PyObject * obj0 = 0 ;
34580 PyObject * obj1 = 0 ;
34581 char *kwnames[] = {
34582 (char *) "self",(char *) "pt", NULL
34583 };
34584
34585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridBagSizer_FindItemAtPoint",kwnames,&obj0,&obj1)) goto fail;
34586 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34587 {
34588 arg2 = &temp2;
34589 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
34590 }
34591 {
34592 PyThreadState* __tstate = wxPyBeginAllowThreads();
34593 result = (wxGBSizerItem *)(arg1)->FindItemAtPoint((wxPoint const &)*arg2);
34594
34595 wxPyEndAllowThreads(__tstate);
34596 if (PyErr_Occurred()) SWIG_fail;
34597 }
34598 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGBSizerItem, 0);
34599 return resultobj;
34600 fail:
34601 return NULL;
34602 }
34603
34604
34605 static PyObject *_wrap_GridBagSizer_FindItemWithData(PyObject *self, PyObject *args, PyObject *kwargs) {
34606 PyObject *resultobj;
34607 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
34608 wxObject *arg2 = (wxObject *) 0 ;
34609 wxGBSizerItem *result;
34610 PyObject * obj0 = 0 ;
34611 PyObject * obj1 = 0 ;
34612 char *kwnames[] = {
34613 (char *) "self",(char *) "userData", NULL
34614 };
34615
34616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridBagSizer_FindItemWithData",kwnames,&obj0,&obj1)) goto fail;
34617 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34618 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34619 {
34620 PyThreadState* __tstate = wxPyBeginAllowThreads();
34621 result = (wxGBSizerItem *)(arg1)->FindItemWithData((wxObject const *)arg2);
34622
34623 wxPyEndAllowThreads(__tstate);
34624 if (PyErr_Occurred()) SWIG_fail;
34625 }
34626 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGBSizerItem, 0);
34627 return resultobj;
34628 fail:
34629 return NULL;
34630 }
34631
34632
34633 static PyObject *_wrap_GridBagSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
34634 PyObject *resultobj;
34635 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
34636 PyObject * obj0 = 0 ;
34637 char *kwnames[] = {
34638 (char *) "self", NULL
34639 };
34640
34641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridBagSizer_RecalcSizes",kwnames,&obj0)) goto fail;
34642 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34643 {
34644 PyThreadState* __tstate = wxPyBeginAllowThreads();
34645 (arg1)->RecalcSizes();
34646
34647 wxPyEndAllowThreads(__tstate);
34648 if (PyErr_Occurred()) SWIG_fail;
34649 }
34650 Py_INCREF(Py_None); resultobj = Py_None;
34651 return resultobj;
34652 fail:
34653 return NULL;
34654 }
34655
34656
34657 static PyObject *_wrap_GridBagSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
34658 PyObject *resultobj;
34659 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
34660 wxSize result;
34661 PyObject * obj0 = 0 ;
34662 char *kwnames[] = {
34663 (char *) "self", NULL
34664 };
34665
34666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridBagSizer_CalcMin",kwnames,&obj0)) goto fail;
34667 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34668 {
34669 PyThreadState* __tstate = wxPyBeginAllowThreads();
34670 result = (arg1)->CalcMin();
34671
34672 wxPyEndAllowThreads(__tstate);
34673 if (PyErr_Occurred()) SWIG_fail;
34674 }
34675 {
34676 wxSize * resultptr;
34677 resultptr = new wxSize((wxSize &) result);
34678 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
34679 }
34680 return resultobj;
34681 fail:
34682 return NULL;
34683 }
34684
34685
34686 static PyObject *_wrap_GridBagSizer_CheckForIntersection__SWIG_0(PyObject *self, PyObject *args) {
34687 PyObject *resultobj;
34688 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
34689 wxGBSizerItem *arg2 = (wxGBSizerItem *) 0 ;
34690 wxGBSizerItem *arg3 = (wxGBSizerItem *) NULL ;
34691 bool result;
34692 PyObject * obj0 = 0 ;
34693 PyObject * obj1 = 0 ;
34694 PyObject * obj2 = 0 ;
34695
34696 if(!PyArg_ParseTuple(args,(char *)"OO|O:GridBagSizer_CheckForIntersection",&obj0,&obj1,&obj2)) goto fail;
34697 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34698 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxGBSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34699 if (obj2) {
34700 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxGBSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34701 }
34702 {
34703 PyThreadState* __tstate = wxPyBeginAllowThreads();
34704 result = (bool)(arg1)->CheckForIntersection(arg2,arg3);
34705
34706 wxPyEndAllowThreads(__tstate);
34707 if (PyErr_Occurred()) SWIG_fail;
34708 }
34709 resultobj = PyInt_FromLong((long)result);
34710 return resultobj;
34711 fail:
34712 return NULL;
34713 }
34714
34715
34716 static PyObject *_wrap_GridBagSizer_CheckForIntersection__SWIG_1(PyObject *self, PyObject *args) {
34717 PyObject *resultobj;
34718 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
34719 wxGBPosition *arg2 = 0 ;
34720 wxGBSpan *arg3 = 0 ;
34721 wxGBSizerItem *arg4 = (wxGBSizerItem *) NULL ;
34722 bool result;
34723 wxGBPosition temp2 ;
34724 wxGBSpan temp3 ;
34725 PyObject * obj0 = 0 ;
34726 PyObject * obj1 = 0 ;
34727 PyObject * obj2 = 0 ;
34728 PyObject * obj3 = 0 ;
34729
34730 if(!PyArg_ParseTuple(args,(char *)"OOO|O:GridBagSizer_CheckForIntersection",&obj0,&obj1,&obj2,&obj3)) goto fail;
34731 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34732 {
34733 arg2 = &temp2;
34734 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
34735 }
34736 {
34737 arg3 = &temp3;
34738 if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail;
34739 }
34740 if (obj3) {
34741 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxGBSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34742 }
34743 {
34744 PyThreadState* __tstate = wxPyBeginAllowThreads();
34745 result = (bool)(arg1)->CheckForIntersection((wxGBPosition const &)*arg2,(wxGBSpan const &)*arg3,arg4);
34746
34747 wxPyEndAllowThreads(__tstate);
34748 if (PyErr_Occurred()) SWIG_fail;
34749 }
34750 resultobj = PyInt_FromLong((long)result);
34751 return resultobj;
34752 fail:
34753 return NULL;
34754 }
34755
34756
34757 static PyObject *_wrap_GridBagSizer_CheckForIntersection(PyObject *self, PyObject *args) {
34758 int argc;
34759 PyObject *argv[5];
34760 int ii;
34761
34762 argc = PyObject_Length(args);
34763 for (ii = 0; (ii < argc) && (ii < 4); ii++) {
34764 argv[ii] = PyTuple_GetItem(args,ii);
34765 }
34766 if ((argc >= 2) && (argc <= 3)) {
34767 int _v;
34768 {
34769 void *ptr;
34770 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
34771 _v = 0;
34772 PyErr_Clear();
34773 } else {
34774 _v = 1;
34775 }
34776 }
34777 if (_v) {
34778 {
34779 void *ptr;
34780 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxGBSizerItem, 0) == -1) {
34781 _v = 0;
34782 PyErr_Clear();
34783 } else {
34784 _v = 1;
34785 }
34786 }
34787 if (_v) {
34788 if (argc <= 2) {
34789 return _wrap_GridBagSizer_CheckForIntersection__SWIG_0(self,args);
34790 }
34791 {
34792 void *ptr;
34793 if (SWIG_ConvertPtr(argv[2], (void **) &ptr, SWIGTYPE_p_wxGBSizerItem, 0) == -1) {
34794 _v = 0;
34795 PyErr_Clear();
34796 } else {
34797 _v = 1;
34798 }
34799 }
34800 if (_v) {
34801 return _wrap_GridBagSizer_CheckForIntersection__SWIG_0(self,args);
34802 }
34803 }
34804 }
34805 }
34806 if ((argc >= 3) && (argc <= 4)) {
34807 int _v;
34808 {
34809 void *ptr;
34810 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
34811 _v = 0;
34812 PyErr_Clear();
34813 } else {
34814 _v = 1;
34815 }
34816 }
34817 if (_v) {
34818 {
34819 _v = wxPySimple_typecheck(argv[1], wxT("wxGBPosition"), 2);
34820 }
34821 if (_v) {
34822 {
34823 _v = wxPySimple_typecheck(argv[2], wxT("wxGBSpan"), 2);
34824 }
34825 if (_v) {
34826 if (argc <= 3) {
34827 return _wrap_GridBagSizer_CheckForIntersection__SWIG_1(self,args);
34828 }
34829 {
34830 void *ptr;
34831 if (SWIG_ConvertPtr(argv[3], (void **) &ptr, SWIGTYPE_p_wxGBSizerItem, 0) == -1) {
34832 _v = 0;
34833 PyErr_Clear();
34834 } else {
34835 _v = 1;
34836 }
34837 }
34838 if (_v) {
34839 return _wrap_GridBagSizer_CheckForIntersection__SWIG_1(self,args);
34840 }
34841 }
34842 }
34843 }
34844 }
34845
34846 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'GridBagSizer_CheckForIntersection'");
34847 return NULL;
34848 }
34849
34850
34851 static PyObject * GridBagSizer_swigregister(PyObject *self, PyObject *args) {
34852 PyObject *obj;
34853 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
34854 SWIG_TypeClientData(SWIGTYPE_p_wxGridBagSizer, obj);
34855 Py_INCREF(obj);
34856 return Py_BuildValue((char *)"");
34857 }
34858 static PyObject *_wrap_IndividualLayoutConstraint_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
34859 PyObject *resultobj;
34860 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
34861 int arg2 ;
34862 wxWindow *arg3 = (wxWindow *) 0 ;
34863 int arg4 ;
34864 int arg5 = (int) 0 ;
34865 int arg6 = (int) wxLAYOUT_DEFAULT_MARGIN ;
34866 PyObject * obj0 = 0 ;
34867 PyObject * obj2 = 0 ;
34868 char *kwnames[] = {
34869 (char *) "self",(char *) "rel",(char *) "otherW",(char *) "otherE",(char *) "val",(char *) "marg", NULL
34870 };
34871
34872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiOi|ii:IndividualLayoutConstraint_Set",kwnames,&obj0,&arg2,&obj2,&arg4,&arg5,&arg6)) goto fail;
34873 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34874 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34875 {
34876 PyThreadState* __tstate = wxPyBeginAllowThreads();
34877 (arg1)->Set((wxRelationship )arg2,arg3,(wxEdge )arg4,arg5,arg6);
34878
34879 wxPyEndAllowThreads(__tstate);
34880 if (PyErr_Occurred()) SWIG_fail;
34881 }
34882 Py_INCREF(Py_None); resultobj = Py_None;
34883 return resultobj;
34884 fail:
34885 return NULL;
34886 }
34887
34888
34889 static PyObject *_wrap_IndividualLayoutConstraint_LeftOf(PyObject *self, PyObject *args, PyObject *kwargs) {
34890 PyObject *resultobj;
34891 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
34892 wxWindow *arg2 = (wxWindow *) 0 ;
34893 int arg3 = (int) 0 ;
34894 PyObject * obj0 = 0 ;
34895 PyObject * obj1 = 0 ;
34896 char *kwnames[] = {
34897 (char *) "self",(char *) "sibling",(char *) "marg", NULL
34898 };
34899
34900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:IndividualLayoutConstraint_LeftOf",kwnames,&obj0,&obj1,&arg3)) goto fail;
34901 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34902 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34903 {
34904 PyThreadState* __tstate = wxPyBeginAllowThreads();
34905 (arg1)->LeftOf(arg2,arg3);
34906
34907 wxPyEndAllowThreads(__tstate);
34908 if (PyErr_Occurred()) SWIG_fail;
34909 }
34910 Py_INCREF(Py_None); resultobj = Py_None;
34911 return resultobj;
34912 fail:
34913 return NULL;
34914 }
34915
34916
34917 static PyObject *_wrap_IndividualLayoutConstraint_RightOf(PyObject *self, PyObject *args, PyObject *kwargs) {
34918 PyObject *resultobj;
34919 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
34920 wxWindow *arg2 = (wxWindow *) 0 ;
34921 int arg3 = (int) 0 ;
34922 PyObject * obj0 = 0 ;
34923 PyObject * obj1 = 0 ;
34924 char *kwnames[] = {
34925 (char *) "self",(char *) "sibling",(char *) "marg", NULL
34926 };
34927
34928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:IndividualLayoutConstraint_RightOf",kwnames,&obj0,&obj1,&arg3)) goto fail;
34929 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34930 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34931 {
34932 PyThreadState* __tstate = wxPyBeginAllowThreads();
34933 (arg1)->RightOf(arg2,arg3);
34934
34935 wxPyEndAllowThreads(__tstate);
34936 if (PyErr_Occurred()) SWIG_fail;
34937 }
34938 Py_INCREF(Py_None); resultobj = Py_None;
34939 return resultobj;
34940 fail:
34941 return NULL;
34942 }
34943
34944
34945 static PyObject *_wrap_IndividualLayoutConstraint_Above(PyObject *self, PyObject *args, PyObject *kwargs) {
34946 PyObject *resultobj;
34947 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
34948 wxWindow *arg2 = (wxWindow *) 0 ;
34949 int arg3 = (int) 0 ;
34950 PyObject * obj0 = 0 ;
34951 PyObject * obj1 = 0 ;
34952 char *kwnames[] = {
34953 (char *) "self",(char *) "sibling",(char *) "marg", NULL
34954 };
34955
34956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:IndividualLayoutConstraint_Above",kwnames,&obj0,&obj1,&arg3)) goto fail;
34957 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34958 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34959 {
34960 PyThreadState* __tstate = wxPyBeginAllowThreads();
34961 (arg1)->Above(arg2,arg3);
34962
34963 wxPyEndAllowThreads(__tstate);
34964 if (PyErr_Occurred()) SWIG_fail;
34965 }
34966 Py_INCREF(Py_None); resultobj = Py_None;
34967 return resultobj;
34968 fail:
34969 return NULL;
34970 }
34971
34972
34973 static PyObject *_wrap_IndividualLayoutConstraint_Below(PyObject *self, PyObject *args, PyObject *kwargs) {
34974 PyObject *resultobj;
34975 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
34976 wxWindow *arg2 = (wxWindow *) 0 ;
34977 int arg3 = (int) 0 ;
34978 PyObject * obj0 = 0 ;
34979 PyObject * obj1 = 0 ;
34980 char *kwnames[] = {
34981 (char *) "self",(char *) "sibling",(char *) "marg", NULL
34982 };
34983
34984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:IndividualLayoutConstraint_Below",kwnames,&obj0,&obj1,&arg3)) goto fail;
34985 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34986 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34987 {
34988 PyThreadState* __tstate = wxPyBeginAllowThreads();
34989 (arg1)->Below(arg2,arg3);
34990
34991 wxPyEndAllowThreads(__tstate);
34992 if (PyErr_Occurred()) SWIG_fail;
34993 }
34994 Py_INCREF(Py_None); resultobj = Py_None;
34995 return resultobj;
34996 fail:
34997 return NULL;
34998 }
34999
35000
35001 static PyObject *_wrap_IndividualLayoutConstraint_SameAs(PyObject *self, PyObject *args, PyObject *kwargs) {
35002 PyObject *resultobj;
35003 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
35004 wxWindow *arg2 = (wxWindow *) 0 ;
35005 int arg3 ;
35006 int arg4 = (int) 0 ;
35007 PyObject * obj0 = 0 ;
35008 PyObject * obj1 = 0 ;
35009 char *kwnames[] = {
35010 (char *) "self",(char *) "otherW",(char *) "edge",(char *) "marg", NULL
35011 };
35012
35013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|i:IndividualLayoutConstraint_SameAs",kwnames,&obj0,&obj1,&arg3,&arg4)) goto fail;
35014 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
35015 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
35016 {
35017 PyThreadState* __tstate = wxPyBeginAllowThreads();
35018 (arg1)->SameAs(arg2,(wxEdge )arg3,arg4);
35019
35020 wxPyEndAllowThreads(__tstate);
35021 if (PyErr_Occurred()) SWIG_fail;
35022 }
35023 Py_INCREF(Py_None); resultobj = Py_None;
35024 return resultobj;
35025 fail:
35026 return NULL;
35027 }
35028
35029
35030 static PyObject *_wrap_IndividualLayoutConstraint_PercentOf(PyObject *self, PyObject *args, PyObject *kwargs) {
35031 PyObject *resultobj;
35032 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
35033 wxWindow *arg2 = (wxWindow *) 0 ;
35034 int arg3 ;
35035 int arg4 ;
35036 PyObject * obj0 = 0 ;
35037 PyObject * obj1 = 0 ;
35038 char *kwnames[] = {
35039 (char *) "self",(char *) "otherW",(char *) "wh",(char *) "per", NULL
35040 };
35041
35042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOii:IndividualLayoutConstraint_PercentOf",kwnames,&obj0,&obj1,&arg3,&arg4)) goto fail;
35043 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
35044 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
35045 {
35046 PyThreadState* __tstate = wxPyBeginAllowThreads();
35047 (arg1)->PercentOf(arg2,(wxEdge )arg3,arg4);
35048
35049 wxPyEndAllowThreads(__tstate);
35050 if (PyErr_Occurred()) SWIG_fail;
35051 }
35052 Py_INCREF(Py_None); resultobj = Py_None;
35053 return resultobj;
35054 fail:
35055 return NULL;
35056 }
35057
35058
35059 static PyObject *_wrap_IndividualLayoutConstraint_Absolute(PyObject *self, PyObject *args, PyObject *kwargs) {
35060 PyObject *resultobj;
35061 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
35062 int arg2 ;
35063 PyObject * obj0 = 0 ;
35064 char *kwnames[] = {
35065 (char *) "self",(char *) "val", NULL
35066 };
35067
35068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:IndividualLayoutConstraint_Absolute",kwnames,&obj0,&arg2)) goto fail;
35069 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
35070 {
35071 PyThreadState* __tstate = wxPyBeginAllowThreads();
35072 (arg1)->Absolute(arg2);
35073
35074 wxPyEndAllowThreads(__tstate);
35075 if (PyErr_Occurred()) SWIG_fail;
35076 }
35077 Py_INCREF(Py_None); resultobj = Py_None;
35078 return resultobj;
35079 fail:
35080 return NULL;
35081 }
35082
35083
35084 static PyObject *_wrap_IndividualLayoutConstraint_Unconstrained(PyObject *self, PyObject *args, PyObject *kwargs) {
35085 PyObject *resultobj;
35086 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
35087 PyObject * obj0 = 0 ;
35088 char *kwnames[] = {
35089 (char *) "self", NULL
35090 };
35091
35092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_Unconstrained",kwnames,&obj0)) goto fail;
35093 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
35094 {
35095 PyThreadState* __tstate = wxPyBeginAllowThreads();
35096 (arg1)->Unconstrained();
35097
35098 wxPyEndAllowThreads(__tstate);
35099 if (PyErr_Occurred()) SWIG_fail;
35100 }
35101 Py_INCREF(Py_None); resultobj = Py_None;
35102 return resultobj;
35103 fail:
35104 return NULL;
35105 }
35106
35107
35108 static PyObject *_wrap_IndividualLayoutConstraint_AsIs(PyObject *self, PyObject *args, PyObject *kwargs) {
35109 PyObject *resultobj;
35110 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
35111 PyObject * obj0 = 0 ;
35112 char *kwnames[] = {
35113 (char *) "self", NULL
35114 };
35115
35116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_AsIs",kwnames,&obj0)) goto fail;
35117 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
35118 {
35119 PyThreadState* __tstate = wxPyBeginAllowThreads();
35120 (arg1)->AsIs();
35121
35122 wxPyEndAllowThreads(__tstate);
35123 if (PyErr_Occurred()) SWIG_fail;
35124 }
35125 Py_INCREF(Py_None); resultobj = Py_None;
35126 return resultobj;
35127 fail:
35128 return NULL;
35129 }
35130
35131
35132 static PyObject *_wrap_IndividualLayoutConstraint_GetOtherWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
35133 PyObject *resultobj;
35134 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
35135 wxWindow *result;
35136 PyObject * obj0 = 0 ;
35137 char *kwnames[] = {
35138 (char *) "self", NULL
35139 };
35140
35141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetOtherWindow",kwnames,&obj0)) goto fail;
35142 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
35143 {
35144 PyThreadState* __tstate = wxPyBeginAllowThreads();
35145 result = (wxWindow *)(arg1)->GetOtherWindow();
35146
35147 wxPyEndAllowThreads(__tstate);
35148 if (PyErr_Occurred()) SWIG_fail;
35149 }
35150 {
35151 resultobj = wxPyMake_wxObject(result);
35152 }
35153 return resultobj;
35154 fail:
35155 return NULL;
35156 }
35157
35158
35159 static PyObject *_wrap_IndividualLayoutConstraint_GetMyEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
35160 PyObject *resultobj;
35161 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
35162 int result;
35163 PyObject * obj0 = 0 ;
35164 char *kwnames[] = {
35165 (char *) "self", NULL
35166 };
35167
35168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetMyEdge",kwnames,&obj0)) goto fail;
35169 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
35170 {
35171 PyThreadState* __tstate = wxPyBeginAllowThreads();
35172 result = (int)((wxIndividualLayoutConstraint const *)arg1)->GetMyEdge();
35173
35174 wxPyEndAllowThreads(__tstate);
35175 if (PyErr_Occurred()) SWIG_fail;
35176 }
35177 resultobj = PyInt_FromLong((long)result);
35178 return resultobj;
35179 fail:
35180 return NULL;
35181 }
35182
35183
35184 static PyObject *_wrap_IndividualLayoutConstraint_SetEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
35185 PyObject *resultobj;
35186 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
35187 int arg2 ;
35188 PyObject * obj0 = 0 ;
35189 char *kwnames[] = {
35190 (char *) "self",(char *) "which", NULL
35191 };
35192
35193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:IndividualLayoutConstraint_SetEdge",kwnames,&obj0,&arg2)) goto fail;
35194 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
35195 {
35196 PyThreadState* __tstate = wxPyBeginAllowThreads();
35197 (arg1)->SetEdge((wxEdge )arg2);
35198
35199 wxPyEndAllowThreads(__tstate);
35200 if (PyErr_Occurred()) SWIG_fail;
35201 }
35202 Py_INCREF(Py_None); resultobj = Py_None;
35203 return resultobj;
35204 fail:
35205 return NULL;
35206 }
35207
35208
35209 static PyObject *_wrap_IndividualLayoutConstraint_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
35210 PyObject *resultobj;
35211 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
35212 int arg2 ;
35213 PyObject * obj0 = 0 ;
35214 char *kwnames[] = {
35215 (char *) "self",(char *) "v", NULL
35216 };
35217
35218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:IndividualLayoutConstraint_SetValue",kwnames,&obj0,&arg2)) goto fail;
35219 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
35220 {
35221 PyThreadState* __tstate = wxPyBeginAllowThreads();
35222 (arg1)->SetValue(arg2);
35223
35224 wxPyEndAllowThreads(__tstate);
35225 if (PyErr_Occurred()) SWIG_fail;
35226 }
35227 Py_INCREF(Py_None); resultobj = Py_None;
35228 return resultobj;
35229 fail:
35230 return NULL;
35231 }
35232
35233
35234 static PyObject *_wrap_IndividualLayoutConstraint_GetMargin(PyObject *self, PyObject *args, PyObject *kwargs) {
35235 PyObject *resultobj;
35236 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
35237 int result;
35238 PyObject * obj0 = 0 ;
35239 char *kwnames[] = {
35240 (char *) "self", NULL
35241 };
35242
35243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetMargin",kwnames,&obj0)) goto fail;
35244 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
35245 {
35246 PyThreadState* __tstate = wxPyBeginAllowThreads();
35247 result = (int)(arg1)->GetMargin();
35248
35249 wxPyEndAllowThreads(__tstate);
35250 if (PyErr_Occurred()) SWIG_fail;
35251 }
35252 resultobj = PyInt_FromLong((long)result);
35253 return resultobj;
35254 fail:
35255 return NULL;
35256 }
35257
35258
35259 static PyObject *_wrap_IndividualLayoutConstraint_SetMargin(PyObject *self, PyObject *args, PyObject *kwargs) {
35260 PyObject *resultobj;
35261 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
35262 int arg2 ;
35263 PyObject * obj0 = 0 ;
35264 char *kwnames[] = {
35265 (char *) "self",(char *) "m", NULL
35266 };
35267
35268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:IndividualLayoutConstraint_SetMargin",kwnames,&obj0,&arg2)) goto fail;
35269 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
35270 {
35271 PyThreadState* __tstate = wxPyBeginAllowThreads();
35272 (arg1)->SetMargin(arg2);
35273
35274 wxPyEndAllowThreads(__tstate);
35275 if (PyErr_Occurred()) SWIG_fail;
35276 }
35277 Py_INCREF(Py_None); resultobj = Py_None;
35278 return resultobj;
35279 fail:
35280 return NULL;
35281 }
35282
35283
35284 static PyObject *_wrap_IndividualLayoutConstraint_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
35285 PyObject *resultobj;
35286 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
35287 int result;
35288 PyObject * obj0 = 0 ;
35289 char *kwnames[] = {
35290 (char *) "self", NULL
35291 };
35292
35293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetValue",kwnames,&obj0)) goto fail;
35294 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
35295 {
35296 PyThreadState* __tstate = wxPyBeginAllowThreads();
35297 result = (int)((wxIndividualLayoutConstraint const *)arg1)->GetValue();
35298
35299 wxPyEndAllowThreads(__tstate);
35300 if (PyErr_Occurred()) SWIG_fail;
35301 }
35302 resultobj = PyInt_FromLong((long)result);
35303 return resultobj;
35304 fail:
35305 return NULL;
35306 }
35307
35308
35309 static PyObject *_wrap_IndividualLayoutConstraint_GetPercent(PyObject *self, PyObject *args, PyObject *kwargs) {
35310 PyObject *resultobj;
35311 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
35312 int result;
35313 PyObject * obj0 = 0 ;
35314 char *kwnames[] = {
35315 (char *) "self", NULL
35316 };
35317
35318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetPercent",kwnames,&obj0)) goto fail;
35319 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
35320 {
35321 PyThreadState* __tstate = wxPyBeginAllowThreads();
35322 result = (int)((wxIndividualLayoutConstraint const *)arg1)->GetPercent();
35323
35324 wxPyEndAllowThreads(__tstate);
35325 if (PyErr_Occurred()) SWIG_fail;
35326 }
35327 resultobj = PyInt_FromLong((long)result);
35328 return resultobj;
35329 fail:
35330 return NULL;
35331 }
35332
35333
35334 static PyObject *_wrap_IndividualLayoutConstraint_GetOtherEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
35335 PyObject *resultobj;
35336 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
35337 int result;
35338 PyObject * obj0 = 0 ;
35339 char *kwnames[] = {
35340 (char *) "self", NULL
35341 };
35342
35343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetOtherEdge",kwnames,&obj0)) goto fail;
35344 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
35345 {
35346 PyThreadState* __tstate = wxPyBeginAllowThreads();
35347 result = (int)((wxIndividualLayoutConstraint const *)arg1)->GetOtherEdge();
35348
35349 wxPyEndAllowThreads(__tstate);
35350 if (PyErr_Occurred()) SWIG_fail;
35351 }
35352 resultobj = PyInt_FromLong((long)result);
35353 return resultobj;
35354 fail:
35355 return NULL;
35356 }
35357
35358
35359 static PyObject *_wrap_IndividualLayoutConstraint_GetDone(PyObject *self, PyObject *args, PyObject *kwargs) {
35360 PyObject *resultobj;
35361 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
35362 bool result;
35363 PyObject * obj0 = 0 ;
35364 char *kwnames[] = {
35365 (char *) "self", NULL
35366 };
35367
35368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetDone",kwnames,&obj0)) goto fail;
35369 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
35370 {
35371 PyThreadState* __tstate = wxPyBeginAllowThreads();
35372 result = (bool)((wxIndividualLayoutConstraint const *)arg1)->GetDone();
35373
35374 wxPyEndAllowThreads(__tstate);
35375 if (PyErr_Occurred()) SWIG_fail;
35376 }
35377 resultobj = PyInt_FromLong((long)result);
35378 return resultobj;
35379 fail:
35380 return NULL;
35381 }
35382
35383
35384 static PyObject *_wrap_IndividualLayoutConstraint_SetDone(PyObject *self, PyObject *args, PyObject *kwargs) {
35385 PyObject *resultobj;
35386 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
35387 bool arg2 ;
35388 PyObject * obj0 = 0 ;
35389 PyObject * obj1 = 0 ;
35390 char *kwnames[] = {
35391 (char *) "self",(char *) "d", NULL
35392 };
35393
35394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IndividualLayoutConstraint_SetDone",kwnames,&obj0,&obj1)) goto fail;
35395 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
35396 arg2 = PyInt_AsLong(obj1) ? true : false;
35397 if (PyErr_Occurred()) SWIG_fail;
35398 {
35399 PyThreadState* __tstate = wxPyBeginAllowThreads();
35400 (arg1)->SetDone(arg2);
35401
35402 wxPyEndAllowThreads(__tstate);
35403 if (PyErr_Occurred()) SWIG_fail;
35404 }
35405 Py_INCREF(Py_None); resultobj = Py_None;
35406 return resultobj;
35407 fail:
35408 return NULL;
35409 }
35410
35411
35412 static PyObject *_wrap_IndividualLayoutConstraint_GetRelationship(PyObject *self, PyObject *args, PyObject *kwargs) {
35413 PyObject *resultobj;
35414 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
35415 int result;
35416 PyObject * obj0 = 0 ;
35417 char *kwnames[] = {
35418 (char *) "self", NULL
35419 };
35420
35421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetRelationship",kwnames,&obj0)) goto fail;
35422 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
35423 {
35424 PyThreadState* __tstate = wxPyBeginAllowThreads();
35425 result = (int)(arg1)->GetRelationship();
35426
35427 wxPyEndAllowThreads(__tstate);
35428 if (PyErr_Occurred()) SWIG_fail;
35429 }
35430 resultobj = PyInt_FromLong((long)result);
35431 return resultobj;
35432 fail:
35433 return NULL;
35434 }
35435
35436
35437 static PyObject *_wrap_IndividualLayoutConstraint_SetRelationship(PyObject *self, PyObject *args, PyObject *kwargs) {
35438 PyObject *resultobj;
35439 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
35440 int arg2 ;
35441 PyObject * obj0 = 0 ;
35442 char *kwnames[] = {
35443 (char *) "self",(char *) "r", NULL
35444 };
35445
35446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:IndividualLayoutConstraint_SetRelationship",kwnames,&obj0,&arg2)) goto fail;
35447 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
35448 {
35449 PyThreadState* __tstate = wxPyBeginAllowThreads();
35450 (arg1)->SetRelationship((wxRelationship )arg2);
35451
35452 wxPyEndAllowThreads(__tstate);
35453 if (PyErr_Occurred()) SWIG_fail;
35454 }
35455 Py_INCREF(Py_None); resultobj = Py_None;
35456 return resultobj;
35457 fail:
35458 return NULL;
35459 }
35460
35461
35462 static PyObject *_wrap_IndividualLayoutConstraint_ResetIfWin(PyObject *self, PyObject *args, PyObject *kwargs) {
35463 PyObject *resultobj;
35464 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
35465 wxWindow *arg2 = (wxWindow *) 0 ;
35466 bool result;
35467 PyObject * obj0 = 0 ;
35468 PyObject * obj1 = 0 ;
35469 char *kwnames[] = {
35470 (char *) "self",(char *) "otherW", NULL
35471 };
35472
35473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IndividualLayoutConstraint_ResetIfWin",kwnames,&obj0,&obj1)) goto fail;
35474 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
35475 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
35476 {
35477 PyThreadState* __tstate = wxPyBeginAllowThreads();
35478 result = (bool)(arg1)->ResetIfWin(arg2);
35479
35480 wxPyEndAllowThreads(__tstate);
35481 if (PyErr_Occurred()) SWIG_fail;
35482 }
35483 resultobj = PyInt_FromLong((long)result);
35484 return resultobj;
35485 fail:
35486 return NULL;
35487 }
35488
35489
35490 static PyObject *_wrap_IndividualLayoutConstraint_SatisfyConstraint(PyObject *self, PyObject *args, PyObject *kwargs) {
35491 PyObject *resultobj;
35492 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
35493 wxLayoutConstraints *arg2 = (wxLayoutConstraints *) 0 ;
35494 wxWindow *arg3 = (wxWindow *) 0 ;
35495 bool result;
35496 PyObject * obj0 = 0 ;
35497 PyObject * obj1 = 0 ;
35498 PyObject * obj2 = 0 ;
35499 char *kwnames[] = {
35500 (char *) "self",(char *) "constraints",(char *) "win", NULL
35501 };
35502
35503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:IndividualLayoutConstraint_SatisfyConstraint",kwnames,&obj0,&obj1,&obj2)) goto fail;
35504 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
35505 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxLayoutConstraints,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
35506 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
35507 {
35508 PyThreadState* __tstate = wxPyBeginAllowThreads();
35509 result = (bool)(arg1)->SatisfyConstraint(arg2,arg3);
35510
35511 wxPyEndAllowThreads(__tstate);
35512 if (PyErr_Occurred()) SWIG_fail;
35513 }
35514 resultobj = PyInt_FromLong((long)result);
35515 return resultobj;
35516 fail:
35517 return NULL;
35518 }
35519
35520
35521 static PyObject *_wrap_IndividualLayoutConstraint_GetEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
35522 PyObject *resultobj;
35523 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
35524 int arg2 ;
35525 wxWindow *arg3 = (wxWindow *) 0 ;
35526 wxWindow *arg4 = (wxWindow *) 0 ;
35527 int result;
35528 PyObject * obj0 = 0 ;
35529 PyObject * obj2 = 0 ;
35530 PyObject * obj3 = 0 ;
35531 char *kwnames[] = {
35532 (char *) "self",(char *) "which",(char *) "thisWin",(char *) "other", NULL
35533 };
35534
35535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiOO:IndividualLayoutConstraint_GetEdge",kwnames,&obj0,&arg2,&obj2,&obj3)) goto fail;
35536 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
35537 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
35538 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
35539 {
35540 PyThreadState* __tstate = wxPyBeginAllowThreads();
35541 result = (int)((wxIndividualLayoutConstraint const *)arg1)->GetEdge((wxEdge )arg2,arg3,arg4);
35542
35543 wxPyEndAllowThreads(__tstate);
35544 if (PyErr_Occurred()) SWIG_fail;
35545 }
35546 resultobj = PyInt_FromLong((long)result);
35547 return resultobj;
35548 fail:
35549 return NULL;
35550 }
35551
35552
35553 static PyObject * IndividualLayoutConstraint_swigregister(PyObject *self, PyObject *args) {
35554 PyObject *obj;
35555 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
35556 SWIG_TypeClientData(SWIGTYPE_p_wxIndividualLayoutConstraint, obj);
35557 Py_INCREF(obj);
35558 return Py_BuildValue((char *)"");
35559 }
35560 static PyObject *_wrap_LayoutConstraints_left_get(PyObject *self, PyObject *args, PyObject *kwargs) {
35561 PyObject *resultobj;
35562 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
35563 wxIndividualLayoutConstraint *result;
35564 PyObject * obj0 = 0 ;
35565 char *kwnames[] = {
35566 (char *) "self", NULL
35567 };
35568
35569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_left_get",kwnames,&obj0)) goto fail;
35570 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutConstraints,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
35571 result = (wxIndividualLayoutConstraint *)& ((arg1)->left);
35572
35573 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
35574 return resultobj;
35575 fail:
35576 return NULL;
35577 }
35578
35579
35580 static PyObject *_wrap_LayoutConstraints_top_get(PyObject *self, PyObject *args, PyObject *kwargs) {
35581 PyObject *resultobj;
35582 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
35583 wxIndividualLayoutConstraint *result;
35584 PyObject * obj0 = 0 ;
35585 char *kwnames[] = {
35586 (char *) "self", NULL
35587 };
35588
35589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_top_get",kwnames,&obj0)) goto fail;
35590 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutConstraints,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
35591 result = (wxIndividualLayoutConstraint *)& ((arg1)->top);
35592
35593 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
35594 return resultobj;
35595 fail:
35596 return NULL;
35597 }
35598
35599
35600 static PyObject *_wrap_LayoutConstraints_right_get(PyObject *self, PyObject *args, PyObject *kwargs) {
35601 PyObject *resultobj;
35602 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
35603 wxIndividualLayoutConstraint *result;
35604 PyObject * obj0 = 0 ;
35605 char *kwnames[] = {
35606 (char *) "self", NULL
35607 };
35608
35609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_right_get",kwnames,&obj0)) goto fail;
35610 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutConstraints,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
35611 result = (wxIndividualLayoutConstraint *)& ((arg1)->right);
35612
35613 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
35614 return resultobj;
35615 fail:
35616 return NULL;
35617 }
35618
35619
35620 static PyObject *_wrap_LayoutConstraints_bottom_get(PyObject *self, PyObject *args, PyObject *kwargs) {
35621 PyObject *resultobj;
35622 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
35623 wxIndividualLayoutConstraint *result;
35624 PyObject * obj0 = 0 ;
35625 char *kwnames[] = {
35626 (char *) "self", NULL
35627 };
35628
35629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_bottom_get",kwnames,&obj0)) goto fail;
35630 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutConstraints,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
35631 result = (wxIndividualLayoutConstraint *)& ((arg1)->bottom);
35632
35633 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
35634 return resultobj;
35635 fail:
35636 return NULL;
35637 }
35638
35639
35640 static PyObject *_wrap_LayoutConstraints_width_get(PyObject *self, PyObject *args, PyObject *kwargs) {
35641 PyObject *resultobj;
35642 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
35643 wxIndividualLayoutConstraint *result;
35644 PyObject * obj0 = 0 ;
35645 char *kwnames[] = {
35646 (char *) "self", NULL
35647 };
35648
35649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_width_get",kwnames,&obj0)) goto fail;
35650 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutConstraints,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
35651 result = (wxIndividualLayoutConstraint *)& ((arg1)->width);
35652
35653 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
35654 return resultobj;
35655 fail:
35656 return NULL;
35657 }
35658
35659
35660 static PyObject *_wrap_LayoutConstraints_height_get(PyObject *self, PyObject *args, PyObject *kwargs) {
35661 PyObject *resultobj;
35662 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
35663 wxIndividualLayoutConstraint *result;
35664 PyObject * obj0 = 0 ;
35665 char *kwnames[] = {
35666 (char *) "self", NULL
35667 };
35668
35669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_height_get",kwnames,&obj0)) goto fail;
35670 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutConstraints,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
35671 result = (wxIndividualLayoutConstraint *)& ((arg1)->height);
35672
35673 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
35674 return resultobj;
35675 fail:
35676 return NULL;
35677 }
35678
35679
35680 static PyObject *_wrap_LayoutConstraints_centreX_get(PyObject *self, PyObject *args, PyObject *kwargs) {
35681 PyObject *resultobj;
35682 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
35683 wxIndividualLayoutConstraint *result;
35684 PyObject * obj0 = 0 ;
35685 char *kwnames[] = {
35686 (char *) "self", NULL
35687 };
35688
35689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_centreX_get",kwnames,&obj0)) goto fail;
35690 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutConstraints,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
35691 result = (wxIndividualLayoutConstraint *)& ((arg1)->centreX);
35692
35693 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
35694 return resultobj;
35695 fail:
35696 return NULL;
35697 }
35698
35699
35700 static PyObject *_wrap_LayoutConstraints_centreY_get(PyObject *self, PyObject *args, PyObject *kwargs) {
35701 PyObject *resultobj;
35702 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
35703 wxIndividualLayoutConstraint *result;
35704 PyObject * obj0 = 0 ;
35705 char *kwnames[] = {
35706 (char *) "self", NULL
35707 };
35708
35709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_centreY_get",kwnames,&obj0)) goto fail;
35710 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutConstraints,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
35711 result = (wxIndividualLayoutConstraint *)& ((arg1)->centreY);
35712
35713 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
35714 return resultobj;
35715 fail:
35716 return NULL;
35717 }
35718
35719
35720 static PyObject *_wrap_new_LayoutConstraints(PyObject *self, PyObject *args, PyObject *kwargs) {
35721 PyObject *resultobj;
35722 wxLayoutConstraints *result;
35723 char *kwnames[] = {
35724 NULL
35725 };
35726
35727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LayoutConstraints",kwnames)) goto fail;
35728 {
35729 PyThreadState* __tstate = wxPyBeginAllowThreads();
35730 result = (wxLayoutConstraints *)new wxLayoutConstraints();
35731
35732 wxPyEndAllowThreads(__tstate);
35733 if (PyErr_Occurred()) SWIG_fail;
35734 }
35735 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLayoutConstraints, 1);
35736 return resultobj;
35737 fail:
35738 return NULL;
35739 }
35740
35741
35742 static PyObject *_wrap_LayoutConstraints_SatisfyConstraints(PyObject *self, PyObject *args, PyObject *kwargs) {
35743 PyObject *resultobj;
35744 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
35745 wxWindow *arg2 = (wxWindow *) 0 ;
35746 int *arg3 = (int *) 0 ;
35747 bool result;
35748 int temp3 ;
35749 PyObject * obj0 = 0 ;
35750 PyObject * obj1 = 0 ;
35751 char *kwnames[] = {
35752 (char *) "self",(char *) "win", NULL
35753 };
35754
35755 arg3 = &temp3;
35756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LayoutConstraints_SatisfyConstraints",kwnames,&obj0,&obj1)) goto fail;
35757 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutConstraints,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
35758 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
35759 {
35760 PyThreadState* __tstate = wxPyBeginAllowThreads();
35761 result = (bool)(arg1)->SatisfyConstraints(arg2,arg3);
35762
35763 wxPyEndAllowThreads(__tstate);
35764 if (PyErr_Occurred()) SWIG_fail;
35765 }
35766 resultobj = PyInt_FromLong((long)result);
35767 {
35768 PyObject *o = PyInt_FromLong((long) (*arg3));
35769 resultobj = t_output_helper(resultobj,o);
35770 }
35771 return resultobj;
35772 fail:
35773 return NULL;
35774 }
35775
35776
35777 static PyObject *_wrap_LayoutConstraints_AreSatisfied(PyObject *self, PyObject *args, PyObject *kwargs) {
35778 PyObject *resultobj;
35779 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
35780 bool result;
35781 PyObject * obj0 = 0 ;
35782 char *kwnames[] = {
35783 (char *) "self", NULL
35784 };
35785
35786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_AreSatisfied",kwnames,&obj0)) goto fail;
35787 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutConstraints,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
35788 {
35789 PyThreadState* __tstate = wxPyBeginAllowThreads();
35790 result = (bool)((wxLayoutConstraints const *)arg1)->AreSatisfied();
35791
35792 wxPyEndAllowThreads(__tstate);
35793 if (PyErr_Occurred()) SWIG_fail;
35794 }
35795 resultobj = PyInt_FromLong((long)result);
35796 return resultobj;
35797 fail:
35798 return NULL;
35799 }
35800
35801
35802 static PyObject * LayoutConstraints_swigregister(PyObject *self, PyObject *args) {
35803 PyObject *obj;
35804 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
35805 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutConstraints, obj);
35806 Py_INCREF(obj);
35807 return Py_BuildValue((char *)"");
35808 }
35809 static PyMethodDef SwigMethods[] = {
35810 { (char *)"_wxPySetDictionary", __wxPySetDictionary, METH_VARARGS },
35811 { (char *)"Object_GetClassName", (PyCFunction) _wrap_Object_GetClassName, METH_VARARGS | METH_KEYWORDS },
35812 { (char *)"Object_Destroy", (PyCFunction) _wrap_Object_Destroy, METH_VARARGS | METH_KEYWORDS },
35813 { (char *)"Object_swigregister", Object_swigregister, METH_VARARGS },
35814 { (char *)"Size_width_set", (PyCFunction) _wrap_Size_width_set, METH_VARARGS | METH_KEYWORDS },
35815 { (char *)"Size_width_get", (PyCFunction) _wrap_Size_width_get, METH_VARARGS | METH_KEYWORDS },
35816 { (char *)"Size_height_set", (PyCFunction) _wrap_Size_height_set, METH_VARARGS | METH_KEYWORDS },
35817 { (char *)"Size_height_get", (PyCFunction) _wrap_Size_height_get, METH_VARARGS | METH_KEYWORDS },
35818 { (char *)"new_Size", (PyCFunction) _wrap_new_Size, METH_VARARGS | METH_KEYWORDS },
35819 { (char *)"delete_Size", (PyCFunction) _wrap_delete_Size, METH_VARARGS | METH_KEYWORDS },
35820 { (char *)"Size___eq__", (PyCFunction) _wrap_Size___eq__, METH_VARARGS | METH_KEYWORDS },
35821 { (char *)"Size___ne__", (PyCFunction) _wrap_Size___ne__, METH_VARARGS | METH_KEYWORDS },
35822 { (char *)"Size___add__", (PyCFunction) _wrap_Size___add__, METH_VARARGS | METH_KEYWORDS },
35823 { (char *)"Size___sub__", (PyCFunction) _wrap_Size___sub__, METH_VARARGS | METH_KEYWORDS },
35824 { (char *)"Size_IncTo", (PyCFunction) _wrap_Size_IncTo, METH_VARARGS | METH_KEYWORDS },
35825 { (char *)"Size_DecTo", (PyCFunction) _wrap_Size_DecTo, METH_VARARGS | METH_KEYWORDS },
35826 { (char *)"Size_Set", (PyCFunction) _wrap_Size_Set, METH_VARARGS | METH_KEYWORDS },
35827 { (char *)"Size_SetWidth", (PyCFunction) _wrap_Size_SetWidth, METH_VARARGS | METH_KEYWORDS },
35828 { (char *)"Size_SetHeight", (PyCFunction) _wrap_Size_SetHeight, METH_VARARGS | METH_KEYWORDS },
35829 { (char *)"Size_GetWidth", (PyCFunction) _wrap_Size_GetWidth, METH_VARARGS | METH_KEYWORDS },
35830 { (char *)"Size_GetHeight", (PyCFunction) _wrap_Size_GetHeight, METH_VARARGS | METH_KEYWORDS },
35831 { (char *)"Size_Get", (PyCFunction) _wrap_Size_Get, METH_VARARGS | METH_KEYWORDS },
35832 { (char *)"Size_swigregister", Size_swigregister, METH_VARARGS },
35833 { (char *)"RealPoint_x_set", (PyCFunction) _wrap_RealPoint_x_set, METH_VARARGS | METH_KEYWORDS },
35834 { (char *)"RealPoint_x_get", (PyCFunction) _wrap_RealPoint_x_get, METH_VARARGS | METH_KEYWORDS },
35835 { (char *)"RealPoint_y_set", (PyCFunction) _wrap_RealPoint_y_set, METH_VARARGS | METH_KEYWORDS },
35836 { (char *)"RealPoint_y_get", (PyCFunction) _wrap_RealPoint_y_get, METH_VARARGS | METH_KEYWORDS },
35837 { (char *)"new_RealPoint", (PyCFunction) _wrap_new_RealPoint, METH_VARARGS | METH_KEYWORDS },
35838 { (char *)"delete_RealPoint", (PyCFunction) _wrap_delete_RealPoint, METH_VARARGS | METH_KEYWORDS },
35839 { (char *)"RealPoint___eq__", (PyCFunction) _wrap_RealPoint___eq__, METH_VARARGS | METH_KEYWORDS },
35840 { (char *)"RealPoint___ne__", (PyCFunction) _wrap_RealPoint___ne__, METH_VARARGS | METH_KEYWORDS },
35841 { (char *)"RealPoint___add__", (PyCFunction) _wrap_RealPoint___add__, METH_VARARGS | METH_KEYWORDS },
35842 { (char *)"RealPoint___sub__", (PyCFunction) _wrap_RealPoint___sub__, METH_VARARGS | METH_KEYWORDS },
35843 { (char *)"RealPoint_Set", (PyCFunction) _wrap_RealPoint_Set, METH_VARARGS | METH_KEYWORDS },
35844 { (char *)"RealPoint_Get", (PyCFunction) _wrap_RealPoint_Get, METH_VARARGS | METH_KEYWORDS },
35845 { (char *)"RealPoint_swigregister", RealPoint_swigregister, METH_VARARGS },
35846 { (char *)"Point_x_set", (PyCFunction) _wrap_Point_x_set, METH_VARARGS | METH_KEYWORDS },
35847 { (char *)"Point_x_get", (PyCFunction) _wrap_Point_x_get, METH_VARARGS | METH_KEYWORDS },
35848 { (char *)"Point_y_set", (PyCFunction) _wrap_Point_y_set, METH_VARARGS | METH_KEYWORDS },
35849 { (char *)"Point_y_get", (PyCFunction) _wrap_Point_y_get, METH_VARARGS | METH_KEYWORDS },
35850 { (char *)"new_Point", (PyCFunction) _wrap_new_Point, METH_VARARGS | METH_KEYWORDS },
35851 { (char *)"delete_Point", (PyCFunction) _wrap_delete_Point, METH_VARARGS | METH_KEYWORDS },
35852 { (char *)"Point___eq__", (PyCFunction) _wrap_Point___eq__, METH_VARARGS | METH_KEYWORDS },
35853 { (char *)"Point___ne__", (PyCFunction) _wrap_Point___ne__, METH_VARARGS | METH_KEYWORDS },
35854 { (char *)"Point___add__", (PyCFunction) _wrap_Point___add__, METH_VARARGS | METH_KEYWORDS },
35855 { (char *)"Point___sub__", (PyCFunction) _wrap_Point___sub__, METH_VARARGS | METH_KEYWORDS },
35856 { (char *)"Point___iadd__", (PyCFunction) _wrap_Point___iadd__, METH_VARARGS | METH_KEYWORDS },
35857 { (char *)"Point___isub__", (PyCFunction) _wrap_Point___isub__, METH_VARARGS | METH_KEYWORDS },
35858 { (char *)"Point_Set", (PyCFunction) _wrap_Point_Set, METH_VARARGS | METH_KEYWORDS },
35859 { (char *)"Point_Get", (PyCFunction) _wrap_Point_Get, METH_VARARGS | METH_KEYWORDS },
35860 { (char *)"Point_swigregister", Point_swigregister, METH_VARARGS },
35861 { (char *)"new_Rect", (PyCFunction) _wrap_new_Rect, METH_VARARGS | METH_KEYWORDS },
35862 { (char *)"new_RectPP", (PyCFunction) _wrap_new_RectPP, METH_VARARGS | METH_KEYWORDS },
35863 { (char *)"new_RectPS", (PyCFunction) _wrap_new_RectPS, METH_VARARGS | METH_KEYWORDS },
35864 { (char *)"delete_Rect", (PyCFunction) _wrap_delete_Rect, METH_VARARGS | METH_KEYWORDS },
35865 { (char *)"Rect_GetX", (PyCFunction) _wrap_Rect_GetX, METH_VARARGS | METH_KEYWORDS },
35866 { (char *)"Rect_SetX", (PyCFunction) _wrap_Rect_SetX, METH_VARARGS | METH_KEYWORDS },
35867 { (char *)"Rect_GetY", (PyCFunction) _wrap_Rect_GetY, METH_VARARGS | METH_KEYWORDS },
35868 { (char *)"Rect_SetY", (PyCFunction) _wrap_Rect_SetY, METH_VARARGS | METH_KEYWORDS },
35869 { (char *)"Rect_GetWidth", (PyCFunction) _wrap_Rect_GetWidth, METH_VARARGS | METH_KEYWORDS },
35870 { (char *)"Rect_SetWidth", (PyCFunction) _wrap_Rect_SetWidth, METH_VARARGS | METH_KEYWORDS },
35871 { (char *)"Rect_GetHeight", (PyCFunction) _wrap_Rect_GetHeight, METH_VARARGS | METH_KEYWORDS },
35872 { (char *)"Rect_SetHeight", (PyCFunction) _wrap_Rect_SetHeight, METH_VARARGS | METH_KEYWORDS },
35873 { (char *)"Rect_GetPosition", (PyCFunction) _wrap_Rect_GetPosition, METH_VARARGS | METH_KEYWORDS },
35874 { (char *)"Rect_SetPosition", (PyCFunction) _wrap_Rect_SetPosition, METH_VARARGS | METH_KEYWORDS },
35875 { (char *)"Rect_GetSize", (PyCFunction) _wrap_Rect_GetSize, METH_VARARGS | METH_KEYWORDS },
35876 { (char *)"Rect_SetSize", (PyCFunction) _wrap_Rect_SetSize, METH_VARARGS | METH_KEYWORDS },
35877 { (char *)"Rect_GetLeft", (PyCFunction) _wrap_Rect_GetLeft, METH_VARARGS | METH_KEYWORDS },
35878 { (char *)"Rect_GetTop", (PyCFunction) _wrap_Rect_GetTop, METH_VARARGS | METH_KEYWORDS },
35879 { (char *)"Rect_GetBottom", (PyCFunction) _wrap_Rect_GetBottom, METH_VARARGS | METH_KEYWORDS },
35880 { (char *)"Rect_GetRight", (PyCFunction) _wrap_Rect_GetRight, METH_VARARGS | METH_KEYWORDS },
35881 { (char *)"Rect_SetLeft", (PyCFunction) _wrap_Rect_SetLeft, METH_VARARGS | METH_KEYWORDS },
35882 { (char *)"Rect_SetRight", (PyCFunction) _wrap_Rect_SetRight, METH_VARARGS | METH_KEYWORDS },
35883 { (char *)"Rect_SetTop", (PyCFunction) _wrap_Rect_SetTop, METH_VARARGS | METH_KEYWORDS },
35884 { (char *)"Rect_SetBottom", (PyCFunction) _wrap_Rect_SetBottom, METH_VARARGS | METH_KEYWORDS },
35885 { (char *)"Rect_Inflate", (PyCFunction) _wrap_Rect_Inflate, METH_VARARGS | METH_KEYWORDS },
35886 { (char *)"Rect_Deflate", (PyCFunction) _wrap_Rect_Deflate, METH_VARARGS | METH_KEYWORDS },
35887 { (char *)"Rect_OffsetXY", (PyCFunction) _wrap_Rect_OffsetXY, METH_VARARGS | METH_KEYWORDS },
35888 { (char *)"Rect_Offset", (PyCFunction) _wrap_Rect_Offset, METH_VARARGS | METH_KEYWORDS },
35889 { (char *)"Rect_Intersect", (PyCFunction) _wrap_Rect_Intersect, METH_VARARGS | METH_KEYWORDS },
35890 { (char *)"Rect___add__", (PyCFunction) _wrap_Rect___add__, METH_VARARGS | METH_KEYWORDS },
35891 { (char *)"Rect___iadd__", (PyCFunction) _wrap_Rect___iadd__, METH_VARARGS | METH_KEYWORDS },
35892 { (char *)"Rect___eq__", (PyCFunction) _wrap_Rect___eq__, METH_VARARGS | METH_KEYWORDS },
35893 { (char *)"Rect___ne__", (PyCFunction) _wrap_Rect___ne__, METH_VARARGS | METH_KEYWORDS },
35894 { (char *)"Rect_InsideXY", (PyCFunction) _wrap_Rect_InsideXY, METH_VARARGS | METH_KEYWORDS },
35895 { (char *)"Rect_Inside", (PyCFunction) _wrap_Rect_Inside, METH_VARARGS | METH_KEYWORDS },
35896 { (char *)"Rect_Intersects", (PyCFunction) _wrap_Rect_Intersects, METH_VARARGS | METH_KEYWORDS },
35897 { (char *)"Rect_x_set", (PyCFunction) _wrap_Rect_x_set, METH_VARARGS | METH_KEYWORDS },
35898 { (char *)"Rect_x_get", (PyCFunction) _wrap_Rect_x_get, METH_VARARGS | METH_KEYWORDS },
35899 { (char *)"Rect_y_set", (PyCFunction) _wrap_Rect_y_set, METH_VARARGS | METH_KEYWORDS },
35900 { (char *)"Rect_y_get", (PyCFunction) _wrap_Rect_y_get, METH_VARARGS | METH_KEYWORDS },
35901 { (char *)"Rect_width_set", (PyCFunction) _wrap_Rect_width_set, METH_VARARGS | METH_KEYWORDS },
35902 { (char *)"Rect_width_get", (PyCFunction) _wrap_Rect_width_get, METH_VARARGS | METH_KEYWORDS },
35903 { (char *)"Rect_height_set", (PyCFunction) _wrap_Rect_height_set, METH_VARARGS | METH_KEYWORDS },
35904 { (char *)"Rect_height_get", (PyCFunction) _wrap_Rect_height_get, METH_VARARGS | METH_KEYWORDS },
35905 { (char *)"Rect_Set", (PyCFunction) _wrap_Rect_Set, METH_VARARGS | METH_KEYWORDS },
35906 { (char *)"Rect_Get", (PyCFunction) _wrap_Rect_Get, METH_VARARGS | METH_KEYWORDS },
35907 { (char *)"Rect_swigregister", Rect_swigregister, METH_VARARGS },
35908 { (char *)"IntersectRect", (PyCFunction) _wrap_IntersectRect, METH_VARARGS | METH_KEYWORDS },
35909 { (char *)"new_Point2D", (PyCFunction) _wrap_new_Point2D, METH_VARARGS | METH_KEYWORDS },
35910 { (char *)"new_Point2DCopy", (PyCFunction) _wrap_new_Point2DCopy, METH_VARARGS | METH_KEYWORDS },
35911 { (char *)"new_Point2DFromPoint", (PyCFunction) _wrap_new_Point2DFromPoint, METH_VARARGS | METH_KEYWORDS },
35912 { (char *)"Point2D_GetFloor", (PyCFunction) _wrap_Point2D_GetFloor, METH_VARARGS | METH_KEYWORDS },
35913 { (char *)"Point2D_GetRounded", (PyCFunction) _wrap_Point2D_GetRounded, METH_VARARGS | METH_KEYWORDS },
35914 { (char *)"Point2D_GetVectorLength", (PyCFunction) _wrap_Point2D_GetVectorLength, METH_VARARGS | METH_KEYWORDS },
35915 { (char *)"Point2D_GetVectorAngle", (PyCFunction) _wrap_Point2D_GetVectorAngle, METH_VARARGS | METH_KEYWORDS },
35916 { (char *)"Point2D_SetVectorLength", (PyCFunction) _wrap_Point2D_SetVectorLength, METH_VARARGS | METH_KEYWORDS },
35917 { (char *)"Point2D_SetVectorAngle", (PyCFunction) _wrap_Point2D_SetVectorAngle, METH_VARARGS | METH_KEYWORDS },
35918 { (char *)"Point2D_GetDistance", (PyCFunction) _wrap_Point2D_GetDistance, METH_VARARGS | METH_KEYWORDS },
35919 { (char *)"Point2D_GetDistanceSquare", (PyCFunction) _wrap_Point2D_GetDistanceSquare, METH_VARARGS | METH_KEYWORDS },
35920 { (char *)"Point2D_GetDotProduct", (PyCFunction) _wrap_Point2D_GetDotProduct, METH_VARARGS | METH_KEYWORDS },
35921 { (char *)"Point2D_GetCrossProduct", (PyCFunction) _wrap_Point2D_GetCrossProduct, METH_VARARGS | METH_KEYWORDS },
35922 { (char *)"Point2D___neg__", (PyCFunction) _wrap_Point2D___neg__, METH_VARARGS | METH_KEYWORDS },
35923 { (char *)"Point2D___iadd__", (PyCFunction) _wrap_Point2D___iadd__, METH_VARARGS | METH_KEYWORDS },
35924 { (char *)"Point2D___isub__", (PyCFunction) _wrap_Point2D___isub__, METH_VARARGS | METH_KEYWORDS },
35925 { (char *)"Point2D___imul__", (PyCFunction) _wrap_Point2D___imul__, METH_VARARGS | METH_KEYWORDS },
35926 { (char *)"Point2D___idiv__", (PyCFunction) _wrap_Point2D___idiv__, METH_VARARGS | METH_KEYWORDS },
35927 { (char *)"Point2D___eq__", (PyCFunction) _wrap_Point2D___eq__, METH_VARARGS | METH_KEYWORDS },
35928 { (char *)"Point2D___ne__", (PyCFunction) _wrap_Point2D___ne__, METH_VARARGS | METH_KEYWORDS },
35929 { (char *)"Point2D_x_set", (PyCFunction) _wrap_Point2D_x_set, METH_VARARGS | METH_KEYWORDS },
35930 { (char *)"Point2D_x_get", (PyCFunction) _wrap_Point2D_x_get, METH_VARARGS | METH_KEYWORDS },
35931 { (char *)"Point2D_y_set", (PyCFunction) _wrap_Point2D_y_set, METH_VARARGS | METH_KEYWORDS },
35932 { (char *)"Point2D_y_get", (PyCFunction) _wrap_Point2D_y_get, METH_VARARGS | METH_KEYWORDS },
35933 { (char *)"Point2D_Set", (PyCFunction) _wrap_Point2D_Set, METH_VARARGS | METH_KEYWORDS },
35934 { (char *)"Point2D_Get", (PyCFunction) _wrap_Point2D_Get, METH_VARARGS | METH_KEYWORDS },
35935 { (char *)"Point2D_swigregister", Point2D_swigregister, METH_VARARGS },
35936 { (char *)"new_InputStream", (PyCFunction) _wrap_new_InputStream, METH_VARARGS | METH_KEYWORDS },
35937 { (char *)"InputStream_close", (PyCFunction) _wrap_InputStream_close, METH_VARARGS | METH_KEYWORDS },
35938 { (char *)"InputStream_flush", (PyCFunction) _wrap_InputStream_flush, METH_VARARGS | METH_KEYWORDS },
35939 { (char *)"InputStream_eof", (PyCFunction) _wrap_InputStream_eof, METH_VARARGS | METH_KEYWORDS },
35940 { (char *)"InputStream_read", (PyCFunction) _wrap_InputStream_read, METH_VARARGS | METH_KEYWORDS },
35941 { (char *)"InputStream_readline", (PyCFunction) _wrap_InputStream_readline, METH_VARARGS | METH_KEYWORDS },
35942 { (char *)"InputStream_readlines", (PyCFunction) _wrap_InputStream_readlines, METH_VARARGS | METH_KEYWORDS },
35943 { (char *)"InputStream_seek", (PyCFunction) _wrap_InputStream_seek, METH_VARARGS | METH_KEYWORDS },
35944 { (char *)"InputStream_tell", (PyCFunction) _wrap_InputStream_tell, METH_VARARGS | METH_KEYWORDS },
35945 { (char *)"InputStream_Peek", (PyCFunction) _wrap_InputStream_Peek, METH_VARARGS | METH_KEYWORDS },
35946 { (char *)"InputStream_GetC", (PyCFunction) _wrap_InputStream_GetC, METH_VARARGS | METH_KEYWORDS },
35947 { (char *)"InputStream_LastRead", (PyCFunction) _wrap_InputStream_LastRead, METH_VARARGS | METH_KEYWORDS },
35948 { (char *)"InputStream_CanRead", (PyCFunction) _wrap_InputStream_CanRead, METH_VARARGS | METH_KEYWORDS },
35949 { (char *)"InputStream_Eof", (PyCFunction) _wrap_InputStream_Eof, METH_VARARGS | METH_KEYWORDS },
35950 { (char *)"InputStream_Ungetch", (PyCFunction) _wrap_InputStream_Ungetch, METH_VARARGS | METH_KEYWORDS },
35951 { (char *)"InputStream_SeekI", (PyCFunction) _wrap_InputStream_SeekI, METH_VARARGS | METH_KEYWORDS },
35952 { (char *)"InputStream_TellI", (PyCFunction) _wrap_InputStream_TellI, METH_VARARGS | METH_KEYWORDS },
35953 { (char *)"InputStream_swigregister", InputStream_swigregister, METH_VARARGS },
35954 { (char *)"OutputStream_write", (PyCFunction) _wrap_OutputStream_write, METH_VARARGS | METH_KEYWORDS },
35955 { (char *)"OutputStream_swigregister", OutputStream_swigregister, METH_VARARGS },
35956 { (char *)"new_FSFile", (PyCFunction) _wrap_new_FSFile, METH_VARARGS | METH_KEYWORDS },
35957 { (char *)"delete_FSFile", (PyCFunction) _wrap_delete_FSFile, METH_VARARGS | METH_KEYWORDS },
35958 { (char *)"FSFile_GetStream", (PyCFunction) _wrap_FSFile_GetStream, METH_VARARGS | METH_KEYWORDS },
35959 { (char *)"FSFile_GetMimeType", (PyCFunction) _wrap_FSFile_GetMimeType, METH_VARARGS | METH_KEYWORDS },
35960 { (char *)"FSFile_GetLocation", (PyCFunction) _wrap_FSFile_GetLocation, METH_VARARGS | METH_KEYWORDS },
35961 { (char *)"FSFile_GetAnchor", (PyCFunction) _wrap_FSFile_GetAnchor, METH_VARARGS | METH_KEYWORDS },
35962 { (char *)"FSFile_GetModificationTime", (PyCFunction) _wrap_FSFile_GetModificationTime, METH_VARARGS | METH_KEYWORDS },
35963 { (char *)"FSFile_swigregister", FSFile_swigregister, METH_VARARGS },
35964 { (char *)"CPPFileSystemHandler_swigregister", CPPFileSystemHandler_swigregister, METH_VARARGS },
35965 { (char *)"new_FileSystemHandler", (PyCFunction) _wrap_new_FileSystemHandler, METH_VARARGS | METH_KEYWORDS },
35966 { (char *)"FileSystemHandler__setCallbackInfo", (PyCFunction) _wrap_FileSystemHandler__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
35967 { (char *)"FileSystemHandler_CanOpen", (PyCFunction) _wrap_FileSystemHandler_CanOpen, METH_VARARGS | METH_KEYWORDS },
35968 { (char *)"FileSystemHandler_OpenFile", (PyCFunction) _wrap_FileSystemHandler_OpenFile, METH_VARARGS | METH_KEYWORDS },
35969 { (char *)"FileSystemHandler_FindFirst", (PyCFunction) _wrap_FileSystemHandler_FindFirst, METH_VARARGS | METH_KEYWORDS },
35970 { (char *)"FileSystemHandler_FindNext", (PyCFunction) _wrap_FileSystemHandler_FindNext, METH_VARARGS | METH_KEYWORDS },
35971 { (char *)"FileSystemHandler_GetProtocol", (PyCFunction) _wrap_FileSystemHandler_GetProtocol, METH_VARARGS | METH_KEYWORDS },
35972 { (char *)"FileSystemHandler_GetLeftLocation", (PyCFunction) _wrap_FileSystemHandler_GetLeftLocation, METH_VARARGS | METH_KEYWORDS },
35973 { (char *)"FileSystemHandler_GetAnchor", (PyCFunction) _wrap_FileSystemHandler_GetAnchor, METH_VARARGS | METH_KEYWORDS },
35974 { (char *)"FileSystemHandler_GetRightLocation", (PyCFunction) _wrap_FileSystemHandler_GetRightLocation, METH_VARARGS | METH_KEYWORDS },
35975 { (char *)"FileSystemHandler_GetMimeTypeFromExt", (PyCFunction) _wrap_FileSystemHandler_GetMimeTypeFromExt, METH_VARARGS | METH_KEYWORDS },
35976 { (char *)"FileSystemHandler_swigregister", FileSystemHandler_swigregister, METH_VARARGS },
35977 { (char *)"new_FileSystem", (PyCFunction) _wrap_new_FileSystem, METH_VARARGS | METH_KEYWORDS },
35978 { (char *)"delete_FileSystem", (PyCFunction) _wrap_delete_FileSystem, METH_VARARGS | METH_KEYWORDS },
35979 { (char *)"FileSystem_ChangePathTo", (PyCFunction) _wrap_FileSystem_ChangePathTo, METH_VARARGS | METH_KEYWORDS },
35980 { (char *)"FileSystem_GetPath", (PyCFunction) _wrap_FileSystem_GetPath, METH_VARARGS | METH_KEYWORDS },
35981 { (char *)"FileSystem_OpenFile", (PyCFunction) _wrap_FileSystem_OpenFile, METH_VARARGS | METH_KEYWORDS },
35982 { (char *)"FileSystem_FindFirst", (PyCFunction) _wrap_FileSystem_FindFirst, METH_VARARGS | METH_KEYWORDS },
35983 { (char *)"FileSystem_FindNext", (PyCFunction) _wrap_FileSystem_FindNext, METH_VARARGS | METH_KEYWORDS },
35984 { (char *)"FileSystem_AddHandler", (PyCFunction) _wrap_FileSystem_AddHandler, METH_VARARGS | METH_KEYWORDS },
35985 { (char *)"FileSystem_CleanUpHandlers", (PyCFunction) _wrap_FileSystem_CleanUpHandlers, METH_VARARGS | METH_KEYWORDS },
35986 { (char *)"FileSystem_FileNameToURL", (PyCFunction) _wrap_FileSystem_FileNameToURL, METH_VARARGS | METH_KEYWORDS },
35987 { (char *)"FileSystem_swigregister", FileSystem_swigregister, METH_VARARGS },
35988 { (char *)"FileSystem_URLToFileName", (PyCFunction) _wrap_FileSystem_URLToFileName, METH_VARARGS | METH_KEYWORDS },
35989 { (char *)"new_InternetFSHandler", (PyCFunction) _wrap_new_InternetFSHandler, METH_VARARGS | METH_KEYWORDS },
35990 { (char *)"InternetFSHandler_CanOpen", (PyCFunction) _wrap_InternetFSHandler_CanOpen, METH_VARARGS | METH_KEYWORDS },
35991 { (char *)"InternetFSHandler_OpenFile", (PyCFunction) _wrap_InternetFSHandler_OpenFile, METH_VARARGS | METH_KEYWORDS },
35992 { (char *)"InternetFSHandler_swigregister", InternetFSHandler_swigregister, METH_VARARGS },
35993 { (char *)"new_ZipFSHandler", (PyCFunction) _wrap_new_ZipFSHandler, METH_VARARGS | METH_KEYWORDS },
35994 { (char *)"ZipFSHandler_CanOpen", (PyCFunction) _wrap_ZipFSHandler_CanOpen, METH_VARARGS | METH_KEYWORDS },
35995 { (char *)"ZipFSHandler_OpenFile", (PyCFunction) _wrap_ZipFSHandler_OpenFile, METH_VARARGS | METH_KEYWORDS },
35996 { (char *)"ZipFSHandler_FindFirst", (PyCFunction) _wrap_ZipFSHandler_FindFirst, METH_VARARGS | METH_KEYWORDS },
35997 { (char *)"ZipFSHandler_FindNext", (PyCFunction) _wrap_ZipFSHandler_FindNext, METH_VARARGS | METH_KEYWORDS },
35998 { (char *)"ZipFSHandler_swigregister", ZipFSHandler_swigregister, METH_VARARGS },
35999 { (char *)"__wxMemoryFSHandler_AddFile_wxImage", (PyCFunction) _wrap___wxMemoryFSHandler_AddFile_wxImage, METH_VARARGS | METH_KEYWORDS },
36000 { (char *)"__wxMemoryFSHandler_AddFile_wxBitmap", (PyCFunction) _wrap___wxMemoryFSHandler_AddFile_wxBitmap, METH_VARARGS | METH_KEYWORDS },
36001 { (char *)"__wxMemoryFSHandler_AddFile_Data", (PyCFunction) _wrap___wxMemoryFSHandler_AddFile_Data, METH_VARARGS | METH_KEYWORDS },
36002 { (char *)"new_MemoryFSHandler", (PyCFunction) _wrap_new_MemoryFSHandler, METH_VARARGS | METH_KEYWORDS },
36003 { (char *)"MemoryFSHandler_RemoveFile", (PyCFunction) _wrap_MemoryFSHandler_RemoveFile, METH_VARARGS | METH_KEYWORDS },
36004 { (char *)"MemoryFSHandler_CanOpen", (PyCFunction) _wrap_MemoryFSHandler_CanOpen, METH_VARARGS | METH_KEYWORDS },
36005 { (char *)"MemoryFSHandler_OpenFile", (PyCFunction) _wrap_MemoryFSHandler_OpenFile, METH_VARARGS | METH_KEYWORDS },
36006 { (char *)"MemoryFSHandler_FindFirst", (PyCFunction) _wrap_MemoryFSHandler_FindFirst, METH_VARARGS | METH_KEYWORDS },
36007 { (char *)"MemoryFSHandler_FindNext", (PyCFunction) _wrap_MemoryFSHandler_FindNext, METH_VARARGS | METH_KEYWORDS },
36008 { (char *)"MemoryFSHandler_swigregister", MemoryFSHandler_swigregister, METH_VARARGS },
36009 { (char *)"ImageHandler_GetName", (PyCFunction) _wrap_ImageHandler_GetName, METH_VARARGS | METH_KEYWORDS },
36010 { (char *)"ImageHandler_GetExtension", (PyCFunction) _wrap_ImageHandler_GetExtension, METH_VARARGS | METH_KEYWORDS },
36011 { (char *)"ImageHandler_GetType", (PyCFunction) _wrap_ImageHandler_GetType, METH_VARARGS | METH_KEYWORDS },
36012 { (char *)"ImageHandler_GetMimeType", (PyCFunction) _wrap_ImageHandler_GetMimeType, METH_VARARGS | METH_KEYWORDS },
36013 { (char *)"ImageHandler_CanRead", (PyCFunction) _wrap_ImageHandler_CanRead, METH_VARARGS | METH_KEYWORDS },
36014 { (char *)"ImageHandler_SetName", (PyCFunction) _wrap_ImageHandler_SetName, METH_VARARGS | METH_KEYWORDS },
36015 { (char *)"ImageHandler_SetExtension", (PyCFunction) _wrap_ImageHandler_SetExtension, METH_VARARGS | METH_KEYWORDS },
36016 { (char *)"ImageHandler_SetType", (PyCFunction) _wrap_ImageHandler_SetType, METH_VARARGS | METH_KEYWORDS },
36017 { (char *)"ImageHandler_SetMimeType", (PyCFunction) _wrap_ImageHandler_SetMimeType, METH_VARARGS | METH_KEYWORDS },
36018 { (char *)"ImageHandler_swigregister", ImageHandler_swigregister, METH_VARARGS },
36019 { (char *)"new_ImageHistogram", (PyCFunction) _wrap_new_ImageHistogram, METH_VARARGS | METH_KEYWORDS },
36020 { (char *)"ImageHistogram_MakeKey", (PyCFunction) _wrap_ImageHistogram_MakeKey, METH_VARARGS | METH_KEYWORDS },
36021 { (char *)"ImageHistogram_FindFirstUnusedColour", (PyCFunction) _wrap_ImageHistogram_FindFirstUnusedColour, METH_VARARGS | METH_KEYWORDS },
36022 { (char *)"ImageHistogram_swigregister", ImageHistogram_swigregister, METH_VARARGS },
36023 { (char *)"new_Image", (PyCFunction) _wrap_new_Image, METH_VARARGS | METH_KEYWORDS },
36024 { (char *)"delete_Image", (PyCFunction) _wrap_delete_Image, METH_VARARGS | METH_KEYWORDS },
36025 { (char *)"new_ImageFromMime", (PyCFunction) _wrap_new_ImageFromMime, METH_VARARGS | METH_KEYWORDS },
36026 { (char *)"new_ImageFromStream", (PyCFunction) _wrap_new_ImageFromStream, METH_VARARGS | METH_KEYWORDS },
36027 { (char *)"new_ImageFromStreamMime", (PyCFunction) _wrap_new_ImageFromStreamMime, METH_VARARGS | METH_KEYWORDS },
36028 { (char *)"new_EmptyImage", (PyCFunction) _wrap_new_EmptyImage, METH_VARARGS | METH_KEYWORDS },
36029 { (char *)"new_ImageFromBitmap", (PyCFunction) _wrap_new_ImageFromBitmap, METH_VARARGS | METH_KEYWORDS },
36030 { (char *)"new_ImageFromData", (PyCFunction) _wrap_new_ImageFromData, METH_VARARGS | METH_KEYWORDS },
36031 { (char *)"Image_Create", (PyCFunction) _wrap_Image_Create, METH_VARARGS | METH_KEYWORDS },
36032 { (char *)"Image_Destroy", (PyCFunction) _wrap_Image_Destroy, METH_VARARGS | METH_KEYWORDS },
36033 { (char *)"Image_Scale", (PyCFunction) _wrap_Image_Scale, METH_VARARGS | METH_KEYWORDS },
36034 { (char *)"Image_ShrinkBy", (PyCFunction) _wrap_Image_ShrinkBy, METH_VARARGS | METH_KEYWORDS },
36035 { (char *)"Image_Rescale", (PyCFunction) _wrap_Image_Rescale, METH_VARARGS | METH_KEYWORDS },
36036 { (char *)"Image_SetRGB", (PyCFunction) _wrap_Image_SetRGB, METH_VARARGS | METH_KEYWORDS },
36037 { (char *)"Image_GetRed", (PyCFunction) _wrap_Image_GetRed, METH_VARARGS | METH_KEYWORDS },
36038 { (char *)"Image_GetGreen", (PyCFunction) _wrap_Image_GetGreen, METH_VARARGS | METH_KEYWORDS },
36039 { (char *)"Image_GetBlue", (PyCFunction) _wrap_Image_GetBlue, METH_VARARGS | METH_KEYWORDS },
36040 { (char *)"Image_SetAlpha", (PyCFunction) _wrap_Image_SetAlpha, METH_VARARGS | METH_KEYWORDS },
36041 { (char *)"Image_GetAlpha", (PyCFunction) _wrap_Image_GetAlpha, METH_VARARGS | METH_KEYWORDS },
36042 { (char *)"Image_HasAlpha", (PyCFunction) _wrap_Image_HasAlpha, METH_VARARGS | METH_KEYWORDS },
36043 { (char *)"Image_FindFirstUnusedColour", (PyCFunction) _wrap_Image_FindFirstUnusedColour, METH_VARARGS | METH_KEYWORDS },
36044 { (char *)"Image_SetMaskFromImage", (PyCFunction) _wrap_Image_SetMaskFromImage, METH_VARARGS | METH_KEYWORDS },
36045 { (char *)"Image_CanRead", (PyCFunction) _wrap_Image_CanRead, METH_VARARGS | METH_KEYWORDS },
36046 { (char *)"Image_GetImageCount", (PyCFunction) _wrap_Image_GetImageCount, METH_VARARGS | METH_KEYWORDS },
36047 { (char *)"Image_LoadFile", (PyCFunction) _wrap_Image_LoadFile, METH_VARARGS | METH_KEYWORDS },
36048 { (char *)"Image_LoadMimeFile", (PyCFunction) _wrap_Image_LoadMimeFile, METH_VARARGS | METH_KEYWORDS },
36049 { (char *)"Image_SaveFile", (PyCFunction) _wrap_Image_SaveFile, METH_VARARGS | METH_KEYWORDS },
36050 { (char *)"Image_SaveMimeFile", (PyCFunction) _wrap_Image_SaveMimeFile, METH_VARARGS | METH_KEYWORDS },
36051 { (char *)"Image_CanReadStream", (PyCFunction) _wrap_Image_CanReadStream, METH_VARARGS | METH_KEYWORDS },
36052 { (char *)"Image_LoadStream", (PyCFunction) _wrap_Image_LoadStream, METH_VARARGS | METH_KEYWORDS },
36053 { (char *)"Image_LoadMimeStream", (PyCFunction) _wrap_Image_LoadMimeStream, METH_VARARGS | METH_KEYWORDS },
36054 { (char *)"Image_Ok", (PyCFunction) _wrap_Image_Ok, METH_VARARGS | METH_KEYWORDS },
36055 { (char *)"Image_GetWidth", (PyCFunction) _wrap_Image_GetWidth, METH_VARARGS | METH_KEYWORDS },
36056 { (char *)"Image_GetHeight", (PyCFunction) _wrap_Image_GetHeight, METH_VARARGS | METH_KEYWORDS },
36057 { (char *)"Image_GetSubImage", (PyCFunction) _wrap_Image_GetSubImage, METH_VARARGS | METH_KEYWORDS },
36058 { (char *)"Image_Copy", (PyCFunction) _wrap_Image_Copy, METH_VARARGS | METH_KEYWORDS },
36059 { (char *)"Image_Paste", (PyCFunction) _wrap_Image_Paste, METH_VARARGS | METH_KEYWORDS },
36060 { (char *)"Image_GetData", (PyCFunction) _wrap_Image_GetData, METH_VARARGS | METH_KEYWORDS },
36061 { (char *)"Image_SetData", (PyCFunction) _wrap_Image_SetData, METH_VARARGS | METH_KEYWORDS },
36062 { (char *)"Image_GetDataBuffer", (PyCFunction) _wrap_Image_GetDataBuffer, METH_VARARGS | METH_KEYWORDS },
36063 { (char *)"Image_SetDataBuffer", (PyCFunction) _wrap_Image_SetDataBuffer, METH_VARARGS | METH_KEYWORDS },
36064 { (char *)"Image_GetAlphaData", (PyCFunction) _wrap_Image_GetAlphaData, METH_VARARGS | METH_KEYWORDS },
36065 { (char *)"Image_SetAlphaData", (PyCFunction) _wrap_Image_SetAlphaData, METH_VARARGS | METH_KEYWORDS },
36066 { (char *)"Image_GetAlphaBuffer", (PyCFunction) _wrap_Image_GetAlphaBuffer, METH_VARARGS | METH_KEYWORDS },
36067 { (char *)"Image_SetAlphaBuffer", (PyCFunction) _wrap_Image_SetAlphaBuffer, METH_VARARGS | METH_KEYWORDS },
36068 { (char *)"Image_SetMaskColour", (PyCFunction) _wrap_Image_SetMaskColour, METH_VARARGS | METH_KEYWORDS },
36069 { (char *)"Image_GetMaskRed", (PyCFunction) _wrap_Image_GetMaskRed, METH_VARARGS | METH_KEYWORDS },
36070 { (char *)"Image_GetMaskGreen", (PyCFunction) _wrap_Image_GetMaskGreen, METH_VARARGS | METH_KEYWORDS },
36071 { (char *)"Image_GetMaskBlue", (PyCFunction) _wrap_Image_GetMaskBlue, METH_VARARGS | METH_KEYWORDS },
36072 { (char *)"Image_SetMask", (PyCFunction) _wrap_Image_SetMask, METH_VARARGS | METH_KEYWORDS },
36073 { (char *)"Image_HasMask", (PyCFunction) _wrap_Image_HasMask, METH_VARARGS | METH_KEYWORDS },
36074 { (char *)"Image_Rotate", (PyCFunction) _wrap_Image_Rotate, METH_VARARGS | METH_KEYWORDS },
36075 { (char *)"Image_Rotate90", (PyCFunction) _wrap_Image_Rotate90, METH_VARARGS | METH_KEYWORDS },
36076 { (char *)"Image_Mirror", (PyCFunction) _wrap_Image_Mirror, METH_VARARGS | METH_KEYWORDS },
36077 { (char *)"Image_Replace", (PyCFunction) _wrap_Image_Replace, METH_VARARGS | METH_KEYWORDS },
36078 { (char *)"Image_ConvertToMono", (PyCFunction) _wrap_Image_ConvertToMono, METH_VARARGS | METH_KEYWORDS },
36079 { (char *)"Image_SetOption", (PyCFunction) _wrap_Image_SetOption, METH_VARARGS | METH_KEYWORDS },
36080 { (char *)"Image_SetOptionInt", (PyCFunction) _wrap_Image_SetOptionInt, METH_VARARGS | METH_KEYWORDS },
36081 { (char *)"Image_GetOption", (PyCFunction) _wrap_Image_GetOption, METH_VARARGS | METH_KEYWORDS },
36082 { (char *)"Image_GetOptionInt", (PyCFunction) _wrap_Image_GetOptionInt, METH_VARARGS | METH_KEYWORDS },
36083 { (char *)"Image_HasOption", (PyCFunction) _wrap_Image_HasOption, METH_VARARGS | METH_KEYWORDS },
36084 { (char *)"Image_CountColours", (PyCFunction) _wrap_Image_CountColours, METH_VARARGS | METH_KEYWORDS },
36085 { (char *)"Image_ComputeHistogram", (PyCFunction) _wrap_Image_ComputeHistogram, METH_VARARGS | METH_KEYWORDS },
36086 { (char *)"Image_AddHandler", (PyCFunction) _wrap_Image_AddHandler, METH_VARARGS | METH_KEYWORDS },
36087 { (char *)"Image_InsertHandler", (PyCFunction) _wrap_Image_InsertHandler, METH_VARARGS | METH_KEYWORDS },
36088 { (char *)"Image_RemoveHandler", (PyCFunction) _wrap_Image_RemoveHandler, METH_VARARGS | METH_KEYWORDS },
36089 { (char *)"Image_GetImageExtWildcard", (PyCFunction) _wrap_Image_GetImageExtWildcard, METH_VARARGS | METH_KEYWORDS },
36090 { (char *)"Image_ConvertToBitmap", (PyCFunction) _wrap_Image_ConvertToBitmap, METH_VARARGS | METH_KEYWORDS },
36091 { (char *)"Image_ConvertToMonoBitmap", (PyCFunction) _wrap_Image_ConvertToMonoBitmap, METH_VARARGS | METH_KEYWORDS },
36092 { (char *)"Image_swigregister", Image_swigregister, METH_VARARGS },
36093 { (char *)"InitAllImageHandlers", (PyCFunction) _wrap_InitAllImageHandlers, METH_VARARGS | METH_KEYWORDS },
36094 { (char *)"new_BMPHandler", (PyCFunction) _wrap_new_BMPHandler, METH_VARARGS | METH_KEYWORDS },
36095 { (char *)"BMPHandler_swigregister", BMPHandler_swigregister, METH_VARARGS },
36096 { (char *)"new_ICOHandler", (PyCFunction) _wrap_new_ICOHandler, METH_VARARGS | METH_KEYWORDS },
36097 { (char *)"ICOHandler_swigregister", ICOHandler_swigregister, METH_VARARGS },
36098 { (char *)"new_CURHandler", (PyCFunction) _wrap_new_CURHandler, METH_VARARGS | METH_KEYWORDS },
36099 { (char *)"CURHandler_swigregister", CURHandler_swigregister, METH_VARARGS },
36100 { (char *)"new_ANIHandler", (PyCFunction) _wrap_new_ANIHandler, METH_VARARGS | METH_KEYWORDS },
36101 { (char *)"ANIHandler_swigregister", ANIHandler_swigregister, METH_VARARGS },
36102 { (char *)"new_PNGHandler", (PyCFunction) _wrap_new_PNGHandler, METH_VARARGS | METH_KEYWORDS },
36103 { (char *)"PNGHandler_swigregister", PNGHandler_swigregister, METH_VARARGS },
36104 { (char *)"new_GIFHandler", (PyCFunction) _wrap_new_GIFHandler, METH_VARARGS | METH_KEYWORDS },
36105 { (char *)"GIFHandler_swigregister", GIFHandler_swigregister, METH_VARARGS },
36106 { (char *)"new_PCXHandler", (PyCFunction) _wrap_new_PCXHandler, METH_VARARGS | METH_KEYWORDS },
36107 { (char *)"PCXHandler_swigregister", PCXHandler_swigregister, METH_VARARGS },
36108 { (char *)"new_JPEGHandler", (PyCFunction) _wrap_new_JPEGHandler, METH_VARARGS | METH_KEYWORDS },
36109 { (char *)"JPEGHandler_swigregister", JPEGHandler_swigregister, METH_VARARGS },
36110 { (char *)"new_PNMHandler", (PyCFunction) _wrap_new_PNMHandler, METH_VARARGS | METH_KEYWORDS },
36111 { (char *)"PNMHandler_swigregister", PNMHandler_swigregister, METH_VARARGS },
36112 { (char *)"new_XPMHandler", (PyCFunction) _wrap_new_XPMHandler, METH_VARARGS | METH_KEYWORDS },
36113 { (char *)"XPMHandler_swigregister", XPMHandler_swigregister, METH_VARARGS },
36114 { (char *)"new_TIFFHandler", (PyCFunction) _wrap_new_TIFFHandler, METH_VARARGS | METH_KEYWORDS },
36115 { (char *)"TIFFHandler_swigregister", TIFFHandler_swigregister, METH_VARARGS },
36116 { (char *)"new_EvtHandler", (PyCFunction) _wrap_new_EvtHandler, METH_VARARGS | METH_KEYWORDS },
36117 { (char *)"EvtHandler_GetNextHandler", (PyCFunction) _wrap_EvtHandler_GetNextHandler, METH_VARARGS | METH_KEYWORDS },
36118 { (char *)"EvtHandler_GetPreviousHandler", (PyCFunction) _wrap_EvtHandler_GetPreviousHandler, METH_VARARGS | METH_KEYWORDS },
36119 { (char *)"EvtHandler_SetNextHandler", (PyCFunction) _wrap_EvtHandler_SetNextHandler, METH_VARARGS | METH_KEYWORDS },
36120 { (char *)"EvtHandler_SetPreviousHandler", (PyCFunction) _wrap_EvtHandler_SetPreviousHandler, METH_VARARGS | METH_KEYWORDS },
36121 { (char *)"EvtHandler_GetEvtHandlerEnabled", (PyCFunction) _wrap_EvtHandler_GetEvtHandlerEnabled, METH_VARARGS | METH_KEYWORDS },
36122 { (char *)"EvtHandler_SetEvtHandlerEnabled", (PyCFunction) _wrap_EvtHandler_SetEvtHandlerEnabled, METH_VARARGS | METH_KEYWORDS },
36123 { (char *)"EvtHandler_ProcessEvent", (PyCFunction) _wrap_EvtHandler_ProcessEvent, METH_VARARGS | METH_KEYWORDS },
36124 { (char *)"EvtHandler_AddPendingEvent", (PyCFunction) _wrap_EvtHandler_AddPendingEvent, METH_VARARGS | METH_KEYWORDS },
36125 { (char *)"EvtHandler_ProcessPendingEvents", (PyCFunction) _wrap_EvtHandler_ProcessPendingEvents, METH_VARARGS | METH_KEYWORDS },
36126 { (char *)"EvtHandler_Connect", (PyCFunction) _wrap_EvtHandler_Connect, METH_VARARGS | METH_KEYWORDS },
36127 { (char *)"EvtHandler_Disconnect", (PyCFunction) _wrap_EvtHandler_Disconnect, METH_VARARGS | METH_KEYWORDS },
36128 { (char *)"EvtHandler__setOORInfo", (PyCFunction) _wrap_EvtHandler__setOORInfo, METH_VARARGS | METH_KEYWORDS },
36129 { (char *)"EvtHandler_swigregister", EvtHandler_swigregister, METH_VARARGS },
36130 { (char *)"NewEventType", (PyCFunction) _wrap_NewEventType, METH_VARARGS | METH_KEYWORDS },
36131 { (char *)"delete_Event", (PyCFunction) _wrap_delete_Event, METH_VARARGS | METH_KEYWORDS },
36132 { (char *)"Event_SetEventType", (PyCFunction) _wrap_Event_SetEventType, METH_VARARGS | METH_KEYWORDS },
36133 { (char *)"Event_GetEventType", (PyCFunction) _wrap_Event_GetEventType, METH_VARARGS | METH_KEYWORDS },
36134 { (char *)"Event_GetEventObject", (PyCFunction) _wrap_Event_GetEventObject, METH_VARARGS | METH_KEYWORDS },
36135 { (char *)"Event_SetEventObject", (PyCFunction) _wrap_Event_SetEventObject, METH_VARARGS | METH_KEYWORDS },
36136 { (char *)"Event_GetTimestamp", (PyCFunction) _wrap_Event_GetTimestamp, METH_VARARGS | METH_KEYWORDS },
36137 { (char *)"Event_SetTimestamp", (PyCFunction) _wrap_Event_SetTimestamp, METH_VARARGS | METH_KEYWORDS },
36138 { (char *)"Event_GetId", (PyCFunction) _wrap_Event_GetId, METH_VARARGS | METH_KEYWORDS },
36139 { (char *)"Event_SetId", (PyCFunction) _wrap_Event_SetId, METH_VARARGS | METH_KEYWORDS },
36140 { (char *)"Event_IsCommandEvent", (PyCFunction) _wrap_Event_IsCommandEvent, METH_VARARGS | METH_KEYWORDS },
36141 { (char *)"Event_Skip", (PyCFunction) _wrap_Event_Skip, METH_VARARGS | METH_KEYWORDS },
36142 { (char *)"Event_GetSkipped", (PyCFunction) _wrap_Event_GetSkipped, METH_VARARGS | METH_KEYWORDS },
36143 { (char *)"Event_ShouldPropagate", (PyCFunction) _wrap_Event_ShouldPropagate, METH_VARARGS | METH_KEYWORDS },
36144 { (char *)"Event_StopPropagation", (PyCFunction) _wrap_Event_StopPropagation, METH_VARARGS | METH_KEYWORDS },
36145 { (char *)"Event_ResumePropagation", (PyCFunction) _wrap_Event_ResumePropagation, METH_VARARGS | METH_KEYWORDS },
36146 { (char *)"Event_Clone", (PyCFunction) _wrap_Event_Clone, METH_VARARGS | METH_KEYWORDS },
36147 { (char *)"Event_swigregister", Event_swigregister, METH_VARARGS },
36148 { (char *)"new_PropagationDisabler", (PyCFunction) _wrap_new_PropagationDisabler, METH_VARARGS | METH_KEYWORDS },
36149 { (char *)"delete_PropagationDisabler", (PyCFunction) _wrap_delete_PropagationDisabler, METH_VARARGS | METH_KEYWORDS },
36150 { (char *)"PropagationDisabler_swigregister", PropagationDisabler_swigregister, METH_VARARGS },
36151 { (char *)"new_PropagateOnce", (PyCFunction) _wrap_new_PropagateOnce, METH_VARARGS | METH_KEYWORDS },
36152 { (char *)"delete_PropagateOnce", (PyCFunction) _wrap_delete_PropagateOnce, METH_VARARGS | METH_KEYWORDS },
36153 { (char *)"PropagateOnce_swigregister", PropagateOnce_swigregister, METH_VARARGS },
36154 { (char *)"new_CommandEvent", (PyCFunction) _wrap_new_CommandEvent, METH_VARARGS | METH_KEYWORDS },
36155 { (char *)"CommandEvent_GetSelection", (PyCFunction) _wrap_CommandEvent_GetSelection, METH_VARARGS | METH_KEYWORDS },
36156 { (char *)"CommandEvent_SetString", (PyCFunction) _wrap_CommandEvent_SetString, METH_VARARGS | METH_KEYWORDS },
36157 { (char *)"CommandEvent_GetString", (PyCFunction) _wrap_CommandEvent_GetString, METH_VARARGS | METH_KEYWORDS },
36158 { (char *)"CommandEvent_IsChecked", (PyCFunction) _wrap_CommandEvent_IsChecked, METH_VARARGS | METH_KEYWORDS },
36159 { (char *)"CommandEvent_IsSelection", (PyCFunction) _wrap_CommandEvent_IsSelection, METH_VARARGS | METH_KEYWORDS },
36160 { (char *)"CommandEvent_SetExtraLong", (PyCFunction) _wrap_CommandEvent_SetExtraLong, METH_VARARGS | METH_KEYWORDS },
36161 { (char *)"CommandEvent_GetExtraLong", (PyCFunction) _wrap_CommandEvent_GetExtraLong, METH_VARARGS | METH_KEYWORDS },
36162 { (char *)"CommandEvent_SetInt", (PyCFunction) _wrap_CommandEvent_SetInt, METH_VARARGS | METH_KEYWORDS },
36163 { (char *)"CommandEvent_GetInt", (PyCFunction) _wrap_CommandEvent_GetInt, METH_VARARGS | METH_KEYWORDS },
36164 { (char *)"CommandEvent_Clone", (PyCFunction) _wrap_CommandEvent_Clone, METH_VARARGS | METH_KEYWORDS },
36165 { (char *)"CommandEvent_swigregister", CommandEvent_swigregister, METH_VARARGS },
36166 { (char *)"new_NotifyEvent", (PyCFunction) _wrap_new_NotifyEvent, METH_VARARGS | METH_KEYWORDS },
36167 { (char *)"NotifyEvent_Veto", (PyCFunction) _wrap_NotifyEvent_Veto, METH_VARARGS | METH_KEYWORDS },
36168 { (char *)"NotifyEvent_Allow", (PyCFunction) _wrap_NotifyEvent_Allow, METH_VARARGS | METH_KEYWORDS },
36169 { (char *)"NotifyEvent_IsAllowed", (PyCFunction) _wrap_NotifyEvent_IsAllowed, METH_VARARGS | METH_KEYWORDS },
36170 { (char *)"NotifyEvent_swigregister", NotifyEvent_swigregister, METH_VARARGS },
36171 { (char *)"new_ScrollEvent", (PyCFunction) _wrap_new_ScrollEvent, METH_VARARGS | METH_KEYWORDS },
36172 { (char *)"ScrollEvent_GetOrientation", (PyCFunction) _wrap_ScrollEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS },
36173 { (char *)"ScrollEvent_GetPosition", (PyCFunction) _wrap_ScrollEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
36174 { (char *)"ScrollEvent_SetOrientation", (PyCFunction) _wrap_ScrollEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS },
36175 { (char *)"ScrollEvent_SetPosition", (PyCFunction) _wrap_ScrollEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
36176 { (char *)"ScrollEvent_swigregister", ScrollEvent_swigregister, METH_VARARGS },
36177 { (char *)"new_ScrollWinEvent", (PyCFunction) _wrap_new_ScrollWinEvent, METH_VARARGS | METH_KEYWORDS },
36178 { (char *)"ScrollWinEvent_GetOrientation", (PyCFunction) _wrap_ScrollWinEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS },
36179 { (char *)"ScrollWinEvent_GetPosition", (PyCFunction) _wrap_ScrollWinEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
36180 { (char *)"ScrollWinEvent_SetOrientation", (PyCFunction) _wrap_ScrollWinEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS },
36181 { (char *)"ScrollWinEvent_SetPosition", (PyCFunction) _wrap_ScrollWinEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
36182 { (char *)"ScrollWinEvent_swigregister", ScrollWinEvent_swigregister, METH_VARARGS },
36183 { (char *)"new_MouseEvent", (PyCFunction) _wrap_new_MouseEvent, METH_VARARGS | METH_KEYWORDS },
36184 { (char *)"MouseEvent_IsButton", (PyCFunction) _wrap_MouseEvent_IsButton, METH_VARARGS | METH_KEYWORDS },
36185 { (char *)"MouseEvent_ButtonDown", (PyCFunction) _wrap_MouseEvent_ButtonDown, METH_VARARGS | METH_KEYWORDS },
36186 { (char *)"MouseEvent_ButtonDClick", (PyCFunction) _wrap_MouseEvent_ButtonDClick, METH_VARARGS | METH_KEYWORDS },
36187 { (char *)"MouseEvent_ButtonUp", (PyCFunction) _wrap_MouseEvent_ButtonUp, METH_VARARGS | METH_KEYWORDS },
36188 { (char *)"MouseEvent_Button", (PyCFunction) _wrap_MouseEvent_Button, METH_VARARGS | METH_KEYWORDS },
36189 { (char *)"MouseEvent_ButtonIsDown", (PyCFunction) _wrap_MouseEvent_ButtonIsDown, METH_VARARGS | METH_KEYWORDS },
36190 { (char *)"MouseEvent_GetButton", (PyCFunction) _wrap_MouseEvent_GetButton, METH_VARARGS | METH_KEYWORDS },
36191 { (char *)"MouseEvent_ControlDown", (PyCFunction) _wrap_MouseEvent_ControlDown, METH_VARARGS | METH_KEYWORDS },
36192 { (char *)"MouseEvent_MetaDown", (PyCFunction) _wrap_MouseEvent_MetaDown, METH_VARARGS | METH_KEYWORDS },
36193 { (char *)"MouseEvent_AltDown", (PyCFunction) _wrap_MouseEvent_AltDown, METH_VARARGS | METH_KEYWORDS },
36194 { (char *)"MouseEvent_ShiftDown", (PyCFunction) _wrap_MouseEvent_ShiftDown, METH_VARARGS | METH_KEYWORDS },
36195 { (char *)"MouseEvent_LeftDown", (PyCFunction) _wrap_MouseEvent_LeftDown, METH_VARARGS | METH_KEYWORDS },
36196 { (char *)"MouseEvent_MiddleDown", (PyCFunction) _wrap_MouseEvent_MiddleDown, METH_VARARGS | METH_KEYWORDS },
36197 { (char *)"MouseEvent_RightDown", (PyCFunction) _wrap_MouseEvent_RightDown, METH_VARARGS | METH_KEYWORDS },
36198 { (char *)"MouseEvent_LeftUp", (PyCFunction) _wrap_MouseEvent_LeftUp, METH_VARARGS | METH_KEYWORDS },
36199 { (char *)"MouseEvent_MiddleUp", (PyCFunction) _wrap_MouseEvent_MiddleUp, METH_VARARGS | METH_KEYWORDS },
36200 { (char *)"MouseEvent_RightUp", (PyCFunction) _wrap_MouseEvent_RightUp, METH_VARARGS | METH_KEYWORDS },
36201 { (char *)"MouseEvent_LeftDClick", (PyCFunction) _wrap_MouseEvent_LeftDClick, METH_VARARGS | METH_KEYWORDS },
36202 { (char *)"MouseEvent_MiddleDClick", (PyCFunction) _wrap_MouseEvent_MiddleDClick, METH_VARARGS | METH_KEYWORDS },
36203 { (char *)"MouseEvent_RightDClick", (PyCFunction) _wrap_MouseEvent_RightDClick, METH_VARARGS | METH_KEYWORDS },
36204 { (char *)"MouseEvent_LeftIsDown", (PyCFunction) _wrap_MouseEvent_LeftIsDown, METH_VARARGS | METH_KEYWORDS },
36205 { (char *)"MouseEvent_MiddleIsDown", (PyCFunction) _wrap_MouseEvent_MiddleIsDown, METH_VARARGS | METH_KEYWORDS },
36206 { (char *)"MouseEvent_RightIsDown", (PyCFunction) _wrap_MouseEvent_RightIsDown, METH_VARARGS | METH_KEYWORDS },
36207 { (char *)"MouseEvent_Dragging", (PyCFunction) _wrap_MouseEvent_Dragging, METH_VARARGS | METH_KEYWORDS },
36208 { (char *)"MouseEvent_Moving", (PyCFunction) _wrap_MouseEvent_Moving, METH_VARARGS | METH_KEYWORDS },
36209 { (char *)"MouseEvent_Entering", (PyCFunction) _wrap_MouseEvent_Entering, METH_VARARGS | METH_KEYWORDS },
36210 { (char *)"MouseEvent_Leaving", (PyCFunction) _wrap_MouseEvent_Leaving, METH_VARARGS | METH_KEYWORDS },
36211 { (char *)"MouseEvent_GetPosition", (PyCFunction) _wrap_MouseEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
36212 { (char *)"MouseEvent_GetPositionTuple", (PyCFunction) _wrap_MouseEvent_GetPositionTuple, METH_VARARGS | METH_KEYWORDS },
36213 { (char *)"MouseEvent_GetLogicalPosition", (PyCFunction) _wrap_MouseEvent_GetLogicalPosition, METH_VARARGS | METH_KEYWORDS },
36214 { (char *)"MouseEvent_GetX", (PyCFunction) _wrap_MouseEvent_GetX, METH_VARARGS | METH_KEYWORDS },
36215 { (char *)"MouseEvent_GetY", (PyCFunction) _wrap_MouseEvent_GetY, METH_VARARGS | METH_KEYWORDS },
36216 { (char *)"MouseEvent_GetWheelRotation", (PyCFunction) _wrap_MouseEvent_GetWheelRotation, METH_VARARGS | METH_KEYWORDS },
36217 { (char *)"MouseEvent_GetWheelDelta", (PyCFunction) _wrap_MouseEvent_GetWheelDelta, METH_VARARGS | METH_KEYWORDS },
36218 { (char *)"MouseEvent_GetLinesPerAction", (PyCFunction) _wrap_MouseEvent_GetLinesPerAction, METH_VARARGS | METH_KEYWORDS },
36219 { (char *)"MouseEvent_IsPageScroll", (PyCFunction) _wrap_MouseEvent_IsPageScroll, METH_VARARGS | METH_KEYWORDS },
36220 { (char *)"MouseEvent_m_x_set", (PyCFunction) _wrap_MouseEvent_m_x_set, METH_VARARGS | METH_KEYWORDS },
36221 { (char *)"MouseEvent_m_x_get", (PyCFunction) _wrap_MouseEvent_m_x_get, METH_VARARGS | METH_KEYWORDS },
36222 { (char *)"MouseEvent_m_y_set", (PyCFunction) _wrap_MouseEvent_m_y_set, METH_VARARGS | METH_KEYWORDS },
36223 { (char *)"MouseEvent_m_y_get", (PyCFunction) _wrap_MouseEvent_m_y_get, METH_VARARGS | METH_KEYWORDS },
36224 { (char *)"MouseEvent_m_leftDown_set", (PyCFunction) _wrap_MouseEvent_m_leftDown_set, METH_VARARGS | METH_KEYWORDS },
36225 { (char *)"MouseEvent_m_leftDown_get", (PyCFunction) _wrap_MouseEvent_m_leftDown_get, METH_VARARGS | METH_KEYWORDS },
36226 { (char *)"MouseEvent_m_middleDown_set", (PyCFunction) _wrap_MouseEvent_m_middleDown_set, METH_VARARGS | METH_KEYWORDS },
36227 { (char *)"MouseEvent_m_middleDown_get", (PyCFunction) _wrap_MouseEvent_m_middleDown_get, METH_VARARGS | METH_KEYWORDS },
36228 { (char *)"MouseEvent_m_rightDown_set", (PyCFunction) _wrap_MouseEvent_m_rightDown_set, METH_VARARGS | METH_KEYWORDS },
36229 { (char *)"MouseEvent_m_rightDown_get", (PyCFunction) _wrap_MouseEvent_m_rightDown_get, METH_VARARGS | METH_KEYWORDS },
36230 { (char *)"MouseEvent_m_controlDown_set", (PyCFunction) _wrap_MouseEvent_m_controlDown_set, METH_VARARGS | METH_KEYWORDS },
36231 { (char *)"MouseEvent_m_controlDown_get", (PyCFunction) _wrap_MouseEvent_m_controlDown_get, METH_VARARGS | METH_KEYWORDS },
36232 { (char *)"MouseEvent_m_shiftDown_set", (PyCFunction) _wrap_MouseEvent_m_shiftDown_set, METH_VARARGS | METH_KEYWORDS },
36233 { (char *)"MouseEvent_m_shiftDown_get", (PyCFunction) _wrap_MouseEvent_m_shiftDown_get, METH_VARARGS | METH_KEYWORDS },
36234 { (char *)"MouseEvent_m_altDown_set", (PyCFunction) _wrap_MouseEvent_m_altDown_set, METH_VARARGS | METH_KEYWORDS },
36235 { (char *)"MouseEvent_m_altDown_get", (PyCFunction) _wrap_MouseEvent_m_altDown_get, METH_VARARGS | METH_KEYWORDS },
36236 { (char *)"MouseEvent_m_metaDown_set", (PyCFunction) _wrap_MouseEvent_m_metaDown_set, METH_VARARGS | METH_KEYWORDS },
36237 { (char *)"MouseEvent_m_metaDown_get", (PyCFunction) _wrap_MouseEvent_m_metaDown_get, METH_VARARGS | METH_KEYWORDS },
36238 { (char *)"MouseEvent_m_wheelRotation_set", (PyCFunction) _wrap_MouseEvent_m_wheelRotation_set, METH_VARARGS | METH_KEYWORDS },
36239 { (char *)"MouseEvent_m_wheelRotation_get", (PyCFunction) _wrap_MouseEvent_m_wheelRotation_get, METH_VARARGS | METH_KEYWORDS },
36240 { (char *)"MouseEvent_m_wheelDelta_set", (PyCFunction) _wrap_MouseEvent_m_wheelDelta_set, METH_VARARGS | METH_KEYWORDS },
36241 { (char *)"MouseEvent_m_wheelDelta_get", (PyCFunction) _wrap_MouseEvent_m_wheelDelta_get, METH_VARARGS | METH_KEYWORDS },
36242 { (char *)"MouseEvent_m_linesPerAction_set", (PyCFunction) _wrap_MouseEvent_m_linesPerAction_set, METH_VARARGS | METH_KEYWORDS },
36243 { (char *)"MouseEvent_m_linesPerAction_get", (PyCFunction) _wrap_MouseEvent_m_linesPerAction_get, METH_VARARGS | METH_KEYWORDS },
36244 { (char *)"MouseEvent_swigregister", MouseEvent_swigregister, METH_VARARGS },
36245 { (char *)"new_SetCursorEvent", (PyCFunction) _wrap_new_SetCursorEvent, METH_VARARGS | METH_KEYWORDS },
36246 { (char *)"SetCursorEvent_GetX", (PyCFunction) _wrap_SetCursorEvent_GetX, METH_VARARGS | METH_KEYWORDS },
36247 { (char *)"SetCursorEvent_GetY", (PyCFunction) _wrap_SetCursorEvent_GetY, METH_VARARGS | METH_KEYWORDS },
36248 { (char *)"SetCursorEvent_SetCursor", (PyCFunction) _wrap_SetCursorEvent_SetCursor, METH_VARARGS | METH_KEYWORDS },
36249 { (char *)"SetCursorEvent_GetCursor", (PyCFunction) _wrap_SetCursorEvent_GetCursor, METH_VARARGS | METH_KEYWORDS },
36250 { (char *)"SetCursorEvent_HasCursor", (PyCFunction) _wrap_SetCursorEvent_HasCursor, METH_VARARGS | METH_KEYWORDS },
36251 { (char *)"SetCursorEvent_swigregister", SetCursorEvent_swigregister, METH_VARARGS },
36252 { (char *)"new_KeyEvent", (PyCFunction) _wrap_new_KeyEvent, METH_VARARGS | METH_KEYWORDS },
36253 { (char *)"KeyEvent_ControlDown", (PyCFunction) _wrap_KeyEvent_ControlDown, METH_VARARGS | METH_KEYWORDS },
36254 { (char *)"KeyEvent_MetaDown", (PyCFunction) _wrap_KeyEvent_MetaDown, METH_VARARGS | METH_KEYWORDS },
36255 { (char *)"KeyEvent_AltDown", (PyCFunction) _wrap_KeyEvent_AltDown, METH_VARARGS | METH_KEYWORDS },
36256 { (char *)"KeyEvent_ShiftDown", (PyCFunction) _wrap_KeyEvent_ShiftDown, METH_VARARGS | METH_KEYWORDS },
36257 { (char *)"KeyEvent_HasModifiers", (PyCFunction) _wrap_KeyEvent_HasModifiers, METH_VARARGS | METH_KEYWORDS },
36258 { (char *)"KeyEvent_GetKeyCode", (PyCFunction) _wrap_KeyEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS },
36259 { (char *)"KeyEvent_GetUniChar", (PyCFunction) _wrap_KeyEvent_GetUniChar, METH_VARARGS | METH_KEYWORDS },
36260 { (char *)"KeyEvent_GetRawKeyCode", (PyCFunction) _wrap_KeyEvent_GetRawKeyCode, METH_VARARGS | METH_KEYWORDS },
36261 { (char *)"KeyEvent_GetRawKeyFlags", (PyCFunction) _wrap_KeyEvent_GetRawKeyFlags, METH_VARARGS | METH_KEYWORDS },
36262 { (char *)"KeyEvent_GetPosition", (PyCFunction) _wrap_KeyEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
36263 { (char *)"KeyEvent_GetPositionTuple", (PyCFunction) _wrap_KeyEvent_GetPositionTuple, METH_VARARGS | METH_KEYWORDS },
36264 { (char *)"KeyEvent_GetX", (PyCFunction) _wrap_KeyEvent_GetX, METH_VARARGS | METH_KEYWORDS },
36265 { (char *)"KeyEvent_GetY", (PyCFunction) _wrap_KeyEvent_GetY, METH_VARARGS | METH_KEYWORDS },
36266 { (char *)"KeyEvent_m_x_set", (PyCFunction) _wrap_KeyEvent_m_x_set, METH_VARARGS | METH_KEYWORDS },
36267 { (char *)"KeyEvent_m_x_get", (PyCFunction) _wrap_KeyEvent_m_x_get, METH_VARARGS | METH_KEYWORDS },
36268 { (char *)"KeyEvent_m_y_set", (PyCFunction) _wrap_KeyEvent_m_y_set, METH_VARARGS | METH_KEYWORDS },
36269 { (char *)"KeyEvent_m_y_get", (PyCFunction) _wrap_KeyEvent_m_y_get, METH_VARARGS | METH_KEYWORDS },
36270 { (char *)"KeyEvent_m_keyCode_set", (PyCFunction) _wrap_KeyEvent_m_keyCode_set, METH_VARARGS | METH_KEYWORDS },
36271 { (char *)"KeyEvent_m_keyCode_get", (PyCFunction) _wrap_KeyEvent_m_keyCode_get, METH_VARARGS | METH_KEYWORDS },
36272 { (char *)"KeyEvent_m_controlDown_set", (PyCFunction) _wrap_KeyEvent_m_controlDown_set, METH_VARARGS | METH_KEYWORDS },
36273 { (char *)"KeyEvent_m_controlDown_get", (PyCFunction) _wrap_KeyEvent_m_controlDown_get, METH_VARARGS | METH_KEYWORDS },
36274 { (char *)"KeyEvent_m_shiftDown_set", (PyCFunction) _wrap_KeyEvent_m_shiftDown_set, METH_VARARGS | METH_KEYWORDS },
36275 { (char *)"KeyEvent_m_shiftDown_get", (PyCFunction) _wrap_KeyEvent_m_shiftDown_get, METH_VARARGS | METH_KEYWORDS },
36276 { (char *)"KeyEvent_m_altDown_set", (PyCFunction) _wrap_KeyEvent_m_altDown_set, METH_VARARGS | METH_KEYWORDS },
36277 { (char *)"KeyEvent_m_altDown_get", (PyCFunction) _wrap_KeyEvent_m_altDown_get, METH_VARARGS | METH_KEYWORDS },
36278 { (char *)"KeyEvent_m_metaDown_set", (PyCFunction) _wrap_KeyEvent_m_metaDown_set, METH_VARARGS | METH_KEYWORDS },
36279 { (char *)"KeyEvent_m_metaDown_get", (PyCFunction) _wrap_KeyEvent_m_metaDown_get, METH_VARARGS | METH_KEYWORDS },
36280 { (char *)"KeyEvent_m_scanCode_set", (PyCFunction) _wrap_KeyEvent_m_scanCode_set, METH_VARARGS | METH_KEYWORDS },
36281 { (char *)"KeyEvent_m_scanCode_get", (PyCFunction) _wrap_KeyEvent_m_scanCode_get, METH_VARARGS | METH_KEYWORDS },
36282 { (char *)"KeyEvent_m_rawCode_set", (PyCFunction) _wrap_KeyEvent_m_rawCode_set, METH_VARARGS | METH_KEYWORDS },
36283 { (char *)"KeyEvent_m_rawCode_get", (PyCFunction) _wrap_KeyEvent_m_rawCode_get, METH_VARARGS | METH_KEYWORDS },
36284 { (char *)"KeyEvent_m_rawFlags_set", (PyCFunction) _wrap_KeyEvent_m_rawFlags_set, METH_VARARGS | METH_KEYWORDS },
36285 { (char *)"KeyEvent_m_rawFlags_get", (PyCFunction) _wrap_KeyEvent_m_rawFlags_get, METH_VARARGS | METH_KEYWORDS },
36286 { (char *)"KeyEvent_swigregister", KeyEvent_swigregister, METH_VARARGS },
36287 { (char *)"new_SizeEvent", (PyCFunction) _wrap_new_SizeEvent, METH_VARARGS | METH_KEYWORDS },
36288 { (char *)"SizeEvent_GetSize", (PyCFunction) _wrap_SizeEvent_GetSize, METH_VARARGS | METH_KEYWORDS },
36289 { (char *)"SizeEvent_GetRect", (PyCFunction) _wrap_SizeEvent_GetRect, METH_VARARGS | METH_KEYWORDS },
36290 { (char *)"SizeEvent_SetRect", (PyCFunction) _wrap_SizeEvent_SetRect, METH_VARARGS | METH_KEYWORDS },
36291 { (char *)"SizeEvent_SetSize", (PyCFunction) _wrap_SizeEvent_SetSize, METH_VARARGS | METH_KEYWORDS },
36292 { (char *)"SizeEvent_m_size_set", (PyCFunction) _wrap_SizeEvent_m_size_set, METH_VARARGS | METH_KEYWORDS },
36293 { (char *)"SizeEvent_m_size_get", (PyCFunction) _wrap_SizeEvent_m_size_get, METH_VARARGS | METH_KEYWORDS },
36294 { (char *)"SizeEvent_m_rect_set", (PyCFunction) _wrap_SizeEvent_m_rect_set, METH_VARARGS | METH_KEYWORDS },
36295 { (char *)"SizeEvent_m_rect_get", (PyCFunction) _wrap_SizeEvent_m_rect_get, METH_VARARGS | METH_KEYWORDS },
36296 { (char *)"SizeEvent_swigregister", SizeEvent_swigregister, METH_VARARGS },
36297 { (char *)"new_MoveEvent", (PyCFunction) _wrap_new_MoveEvent, METH_VARARGS | METH_KEYWORDS },
36298 { (char *)"MoveEvent_GetPosition", (PyCFunction) _wrap_MoveEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
36299 { (char *)"MoveEvent_GetRect", (PyCFunction) _wrap_MoveEvent_GetRect, METH_VARARGS | METH_KEYWORDS },
36300 { (char *)"MoveEvent_SetRect", (PyCFunction) _wrap_MoveEvent_SetRect, METH_VARARGS | METH_KEYWORDS },
36301 { (char *)"MoveEvent_SetPosition", (PyCFunction) _wrap_MoveEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
36302 { (char *)"MoveEvent_m_pos_set", (PyCFunction) _wrap_MoveEvent_m_pos_set, METH_VARARGS | METH_KEYWORDS },
36303 { (char *)"MoveEvent_m_pos_get", (PyCFunction) _wrap_MoveEvent_m_pos_get, METH_VARARGS | METH_KEYWORDS },
36304 { (char *)"MoveEvent_m_rect_set", (PyCFunction) _wrap_MoveEvent_m_rect_set, METH_VARARGS | METH_KEYWORDS },
36305 { (char *)"MoveEvent_m_rect_get", (PyCFunction) _wrap_MoveEvent_m_rect_get, METH_VARARGS | METH_KEYWORDS },
36306 { (char *)"MoveEvent_swigregister", MoveEvent_swigregister, METH_VARARGS },
36307 { (char *)"new_PaintEvent", (PyCFunction) _wrap_new_PaintEvent, METH_VARARGS | METH_KEYWORDS },
36308 { (char *)"PaintEvent_swigregister", PaintEvent_swigregister, METH_VARARGS },
36309 { (char *)"new_NcPaintEvent", (PyCFunction) _wrap_new_NcPaintEvent, METH_VARARGS | METH_KEYWORDS },
36310 { (char *)"NcPaintEvent_swigregister", NcPaintEvent_swigregister, METH_VARARGS },
36311 { (char *)"new_EraseEvent", (PyCFunction) _wrap_new_EraseEvent, METH_VARARGS | METH_KEYWORDS },
36312 { (char *)"EraseEvent_GetDC", (PyCFunction) _wrap_EraseEvent_GetDC, METH_VARARGS | METH_KEYWORDS },
36313 { (char *)"EraseEvent_swigregister", EraseEvent_swigregister, METH_VARARGS },
36314 { (char *)"new_FocusEvent", (PyCFunction) _wrap_new_FocusEvent, METH_VARARGS | METH_KEYWORDS },
36315 { (char *)"FocusEvent_GetWindow", (PyCFunction) _wrap_FocusEvent_GetWindow, METH_VARARGS | METH_KEYWORDS },
36316 { (char *)"FocusEvent_SetWindow", (PyCFunction) _wrap_FocusEvent_SetWindow, METH_VARARGS | METH_KEYWORDS },
36317 { (char *)"FocusEvent_swigregister", FocusEvent_swigregister, METH_VARARGS },
36318 { (char *)"new_ChildFocusEvent", (PyCFunction) _wrap_new_ChildFocusEvent, METH_VARARGS | METH_KEYWORDS },
36319 { (char *)"ChildFocusEvent_GetWindow", (PyCFunction) _wrap_ChildFocusEvent_GetWindow, METH_VARARGS | METH_KEYWORDS },
36320 { (char *)"ChildFocusEvent_swigregister", ChildFocusEvent_swigregister, METH_VARARGS },
36321 { (char *)"new_ActivateEvent", (PyCFunction) _wrap_new_ActivateEvent, METH_VARARGS | METH_KEYWORDS },
36322 { (char *)"ActivateEvent_GetActive", (PyCFunction) _wrap_ActivateEvent_GetActive, METH_VARARGS | METH_KEYWORDS },
36323 { (char *)"ActivateEvent_swigregister", ActivateEvent_swigregister, METH_VARARGS },
36324 { (char *)"new_InitDialogEvent", (PyCFunction) _wrap_new_InitDialogEvent, METH_VARARGS | METH_KEYWORDS },
36325 { (char *)"InitDialogEvent_swigregister", InitDialogEvent_swigregister, METH_VARARGS },
36326 { (char *)"new_MenuEvent", (PyCFunction) _wrap_new_MenuEvent, METH_VARARGS | METH_KEYWORDS },
36327 { (char *)"MenuEvent_GetMenuId", (PyCFunction) _wrap_MenuEvent_GetMenuId, METH_VARARGS | METH_KEYWORDS },
36328 { (char *)"MenuEvent_IsPopup", (PyCFunction) _wrap_MenuEvent_IsPopup, METH_VARARGS | METH_KEYWORDS },
36329 { (char *)"MenuEvent_GetMenu", (PyCFunction) _wrap_MenuEvent_GetMenu, METH_VARARGS | METH_KEYWORDS },
36330 { (char *)"MenuEvent_swigregister", MenuEvent_swigregister, METH_VARARGS },
36331 { (char *)"new_CloseEvent", (PyCFunction) _wrap_new_CloseEvent, METH_VARARGS | METH_KEYWORDS },
36332 { (char *)"CloseEvent_SetLoggingOff", (PyCFunction) _wrap_CloseEvent_SetLoggingOff, METH_VARARGS | METH_KEYWORDS },
36333 { (char *)"CloseEvent_GetLoggingOff", (PyCFunction) _wrap_CloseEvent_GetLoggingOff, METH_VARARGS | METH_KEYWORDS },
36334 { (char *)"CloseEvent_Veto", (PyCFunction) _wrap_CloseEvent_Veto, METH_VARARGS | METH_KEYWORDS },
36335 { (char *)"CloseEvent_SetCanVeto", (PyCFunction) _wrap_CloseEvent_SetCanVeto, METH_VARARGS | METH_KEYWORDS },
36336 { (char *)"CloseEvent_CanVeto", (PyCFunction) _wrap_CloseEvent_CanVeto, METH_VARARGS | METH_KEYWORDS },
36337 { (char *)"CloseEvent_GetVeto", (PyCFunction) _wrap_CloseEvent_GetVeto, METH_VARARGS | METH_KEYWORDS },
36338 { (char *)"CloseEvent_swigregister", CloseEvent_swigregister, METH_VARARGS },
36339 { (char *)"new_ShowEvent", (PyCFunction) _wrap_new_ShowEvent, METH_VARARGS | METH_KEYWORDS },
36340 { (char *)"ShowEvent_SetShow", (PyCFunction) _wrap_ShowEvent_SetShow, METH_VARARGS | METH_KEYWORDS },
36341 { (char *)"ShowEvent_GetShow", (PyCFunction) _wrap_ShowEvent_GetShow, METH_VARARGS | METH_KEYWORDS },
36342 { (char *)"ShowEvent_swigregister", ShowEvent_swigregister, METH_VARARGS },
36343 { (char *)"new_IconizeEvent", (PyCFunction) _wrap_new_IconizeEvent, METH_VARARGS | METH_KEYWORDS },
36344 { (char *)"IconizeEvent_Iconized", (PyCFunction) _wrap_IconizeEvent_Iconized, METH_VARARGS | METH_KEYWORDS },
36345 { (char *)"IconizeEvent_swigregister", IconizeEvent_swigregister, METH_VARARGS },
36346 { (char *)"new_MaximizeEvent", (PyCFunction) _wrap_new_MaximizeEvent, METH_VARARGS | METH_KEYWORDS },
36347 { (char *)"MaximizeEvent_swigregister", MaximizeEvent_swigregister, METH_VARARGS },
36348 { (char *)"DropFilesEvent_GetPosition", (PyCFunction) _wrap_DropFilesEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
36349 { (char *)"DropFilesEvent_GetNumberOfFiles", (PyCFunction) _wrap_DropFilesEvent_GetNumberOfFiles, METH_VARARGS | METH_KEYWORDS },
36350 { (char *)"DropFilesEvent_GetFiles", (PyCFunction) _wrap_DropFilesEvent_GetFiles, METH_VARARGS | METH_KEYWORDS },
36351 { (char *)"DropFilesEvent_swigregister", DropFilesEvent_swigregister, METH_VARARGS },
36352 { (char *)"new_UpdateUIEvent", (PyCFunction) _wrap_new_UpdateUIEvent, METH_VARARGS | METH_KEYWORDS },
36353 { (char *)"UpdateUIEvent_GetChecked", (PyCFunction) _wrap_UpdateUIEvent_GetChecked, METH_VARARGS | METH_KEYWORDS },
36354 { (char *)"UpdateUIEvent_GetEnabled", (PyCFunction) _wrap_UpdateUIEvent_GetEnabled, METH_VARARGS | METH_KEYWORDS },
36355 { (char *)"UpdateUIEvent_GetText", (PyCFunction) _wrap_UpdateUIEvent_GetText, METH_VARARGS | METH_KEYWORDS },
36356 { (char *)"UpdateUIEvent_GetSetText", (PyCFunction) _wrap_UpdateUIEvent_GetSetText, METH_VARARGS | METH_KEYWORDS },
36357 { (char *)"UpdateUIEvent_GetSetChecked", (PyCFunction) _wrap_UpdateUIEvent_GetSetChecked, METH_VARARGS | METH_KEYWORDS },
36358 { (char *)"UpdateUIEvent_GetSetEnabled", (PyCFunction) _wrap_UpdateUIEvent_GetSetEnabled, METH_VARARGS | METH_KEYWORDS },
36359 { (char *)"UpdateUIEvent_Check", (PyCFunction) _wrap_UpdateUIEvent_Check, METH_VARARGS | METH_KEYWORDS },
36360 { (char *)"UpdateUIEvent_Enable", (PyCFunction) _wrap_UpdateUIEvent_Enable, METH_VARARGS | METH_KEYWORDS },
36361 { (char *)"UpdateUIEvent_SetText", (PyCFunction) _wrap_UpdateUIEvent_SetText, METH_VARARGS | METH_KEYWORDS },
36362 { (char *)"UpdateUIEvent_SetUpdateInterval", (PyCFunction) _wrap_UpdateUIEvent_SetUpdateInterval, METH_VARARGS | METH_KEYWORDS },
36363 { (char *)"UpdateUIEvent_GetUpdateInterval", (PyCFunction) _wrap_UpdateUIEvent_GetUpdateInterval, METH_VARARGS | METH_KEYWORDS },
36364 { (char *)"UpdateUIEvent_CanUpdate", (PyCFunction) _wrap_UpdateUIEvent_CanUpdate, METH_VARARGS | METH_KEYWORDS },
36365 { (char *)"UpdateUIEvent_ResetUpdateTime", (PyCFunction) _wrap_UpdateUIEvent_ResetUpdateTime, METH_VARARGS | METH_KEYWORDS },
36366 { (char *)"UpdateUIEvent_SetMode", (PyCFunction) _wrap_UpdateUIEvent_SetMode, METH_VARARGS | METH_KEYWORDS },
36367 { (char *)"UpdateUIEvent_GetMode", (PyCFunction) _wrap_UpdateUIEvent_GetMode, METH_VARARGS | METH_KEYWORDS },
36368 { (char *)"UpdateUIEvent_swigregister", UpdateUIEvent_swigregister, METH_VARARGS },
36369 { (char *)"new_SysColourChangedEvent", (PyCFunction) _wrap_new_SysColourChangedEvent, METH_VARARGS | METH_KEYWORDS },
36370 { (char *)"SysColourChangedEvent_swigregister", SysColourChangedEvent_swigregister, METH_VARARGS },
36371 { (char *)"new_MouseCaptureChangedEvent", (PyCFunction) _wrap_new_MouseCaptureChangedEvent, METH_VARARGS | METH_KEYWORDS },
36372 { (char *)"MouseCaptureChangedEvent_GetCapturedWindow", (PyCFunction) _wrap_MouseCaptureChangedEvent_GetCapturedWindow, METH_VARARGS | METH_KEYWORDS },
36373 { (char *)"MouseCaptureChangedEvent_swigregister", MouseCaptureChangedEvent_swigregister, METH_VARARGS },
36374 { (char *)"new_DisplayChangedEvent", (PyCFunction) _wrap_new_DisplayChangedEvent, METH_VARARGS | METH_KEYWORDS },
36375 { (char *)"DisplayChangedEvent_swigregister", DisplayChangedEvent_swigregister, METH_VARARGS },
36376 { (char *)"new_PaletteChangedEvent", (PyCFunction) _wrap_new_PaletteChangedEvent, METH_VARARGS | METH_KEYWORDS },
36377 { (char *)"PaletteChangedEvent_SetChangedWindow", (PyCFunction) _wrap_PaletteChangedEvent_SetChangedWindow, METH_VARARGS | METH_KEYWORDS },
36378 { (char *)"PaletteChangedEvent_GetChangedWindow", (PyCFunction) _wrap_PaletteChangedEvent_GetChangedWindow, METH_VARARGS | METH_KEYWORDS },
36379 { (char *)"PaletteChangedEvent_swigregister", PaletteChangedEvent_swigregister, METH_VARARGS },
36380 { (char *)"new_QueryNewPaletteEvent", (PyCFunction) _wrap_new_QueryNewPaletteEvent, METH_VARARGS | METH_KEYWORDS },
36381 { (char *)"QueryNewPaletteEvent_SetPaletteRealized", (PyCFunction) _wrap_QueryNewPaletteEvent_SetPaletteRealized, METH_VARARGS | METH_KEYWORDS },
36382 { (char *)"QueryNewPaletteEvent_GetPaletteRealized", (PyCFunction) _wrap_QueryNewPaletteEvent_GetPaletteRealized, METH_VARARGS | METH_KEYWORDS },
36383 { (char *)"QueryNewPaletteEvent_swigregister", QueryNewPaletteEvent_swigregister, METH_VARARGS },
36384 { (char *)"new_NavigationKeyEvent", (PyCFunction) _wrap_new_NavigationKeyEvent, METH_VARARGS | METH_KEYWORDS },
36385 { (char *)"NavigationKeyEvent_GetDirection", (PyCFunction) _wrap_NavigationKeyEvent_GetDirection, METH_VARARGS | METH_KEYWORDS },
36386 { (char *)"NavigationKeyEvent_SetDirection", (PyCFunction) _wrap_NavigationKeyEvent_SetDirection, METH_VARARGS | METH_KEYWORDS },
36387 { (char *)"NavigationKeyEvent_IsWindowChange", (PyCFunction) _wrap_NavigationKeyEvent_IsWindowChange, METH_VARARGS | METH_KEYWORDS },
36388 { (char *)"NavigationKeyEvent_SetWindowChange", (PyCFunction) _wrap_NavigationKeyEvent_SetWindowChange, METH_VARARGS | METH_KEYWORDS },
36389 { (char *)"NavigationKeyEvent_GetCurrentFocus", (PyCFunction) _wrap_NavigationKeyEvent_GetCurrentFocus, METH_VARARGS | METH_KEYWORDS },
36390 { (char *)"NavigationKeyEvent_SetCurrentFocus", (PyCFunction) _wrap_NavigationKeyEvent_SetCurrentFocus, METH_VARARGS | METH_KEYWORDS },
36391 { (char *)"NavigationKeyEvent_swigregister", NavigationKeyEvent_swigregister, METH_VARARGS },
36392 { (char *)"new_WindowCreateEvent", (PyCFunction) _wrap_new_WindowCreateEvent, METH_VARARGS | METH_KEYWORDS },
36393 { (char *)"WindowCreateEvent_GetWindow", (PyCFunction) _wrap_WindowCreateEvent_GetWindow, METH_VARARGS | METH_KEYWORDS },
36394 { (char *)"WindowCreateEvent_swigregister", WindowCreateEvent_swigregister, METH_VARARGS },
36395 { (char *)"new_WindowDestroyEvent", (PyCFunction) _wrap_new_WindowDestroyEvent, METH_VARARGS | METH_KEYWORDS },
36396 { (char *)"WindowDestroyEvent_GetWindow", (PyCFunction) _wrap_WindowDestroyEvent_GetWindow, METH_VARARGS | METH_KEYWORDS },
36397 { (char *)"WindowDestroyEvent_swigregister", WindowDestroyEvent_swigregister, METH_VARARGS },
36398 { (char *)"new_ContextMenuEvent", (PyCFunction) _wrap_new_ContextMenuEvent, METH_VARARGS | METH_KEYWORDS },
36399 { (char *)"ContextMenuEvent_GetPosition", (PyCFunction) _wrap_ContextMenuEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
36400 { (char *)"ContextMenuEvent_SetPosition", (PyCFunction) _wrap_ContextMenuEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
36401 { (char *)"ContextMenuEvent_swigregister", ContextMenuEvent_swigregister, METH_VARARGS },
36402 { (char *)"new_IdleEvent", (PyCFunction) _wrap_new_IdleEvent, METH_VARARGS | METH_KEYWORDS },
36403 { (char *)"IdleEvent_RequestMore", (PyCFunction) _wrap_IdleEvent_RequestMore, METH_VARARGS | METH_KEYWORDS },
36404 { (char *)"IdleEvent_MoreRequested", (PyCFunction) _wrap_IdleEvent_MoreRequested, METH_VARARGS | METH_KEYWORDS },
36405 { (char *)"IdleEvent_SetMode", (PyCFunction) _wrap_IdleEvent_SetMode, METH_VARARGS | METH_KEYWORDS },
36406 { (char *)"IdleEvent_GetMode", (PyCFunction) _wrap_IdleEvent_GetMode, METH_VARARGS | METH_KEYWORDS },
36407 { (char *)"IdleEvent_CanSend", (PyCFunction) _wrap_IdleEvent_CanSend, METH_VARARGS | METH_KEYWORDS },
36408 { (char *)"IdleEvent_swigregister", IdleEvent_swigregister, METH_VARARGS },
36409 { (char *)"new_PyEvent", (PyCFunction) _wrap_new_PyEvent, METH_VARARGS | METH_KEYWORDS },
36410 { (char *)"delete_PyEvent", (PyCFunction) _wrap_delete_PyEvent, METH_VARARGS | METH_KEYWORDS },
36411 { (char *)"PyEvent_SetSelf", (PyCFunction) _wrap_PyEvent_SetSelf, METH_VARARGS | METH_KEYWORDS },
36412 { (char *)"PyEvent_GetSelf", (PyCFunction) _wrap_PyEvent_GetSelf, METH_VARARGS | METH_KEYWORDS },
36413 { (char *)"PyEvent_swigregister", PyEvent_swigregister, METH_VARARGS },
36414 { (char *)"new_PyCommandEvent", (PyCFunction) _wrap_new_PyCommandEvent, METH_VARARGS | METH_KEYWORDS },
36415 { (char *)"delete_PyCommandEvent", (PyCFunction) _wrap_delete_PyCommandEvent, METH_VARARGS | METH_KEYWORDS },
36416 { (char *)"PyCommandEvent_SetSelf", (PyCFunction) _wrap_PyCommandEvent_SetSelf, METH_VARARGS | METH_KEYWORDS },
36417 { (char *)"PyCommandEvent_GetSelf", (PyCFunction) _wrap_PyCommandEvent_GetSelf, METH_VARARGS | METH_KEYWORDS },
36418 { (char *)"PyCommandEvent_swigregister", PyCommandEvent_swigregister, METH_VARARGS },
36419 { (char *)"new_PyApp", (PyCFunction) _wrap_new_PyApp, METH_VARARGS | METH_KEYWORDS },
36420 { (char *)"delete_PyApp", (PyCFunction) _wrap_delete_PyApp, METH_VARARGS | METH_KEYWORDS },
36421 { (char *)"PyApp__setCallbackInfo", (PyCFunction) _wrap_PyApp__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
36422 { (char *)"PyApp_GetAppName", (PyCFunction) _wrap_PyApp_GetAppName, METH_VARARGS | METH_KEYWORDS },
36423 { (char *)"PyApp_SetAppName", (PyCFunction) _wrap_PyApp_SetAppName, METH_VARARGS | METH_KEYWORDS },
36424 { (char *)"PyApp_GetClassName", (PyCFunction) _wrap_PyApp_GetClassName, METH_VARARGS | METH_KEYWORDS },
36425 { (char *)"PyApp_SetClassName", (PyCFunction) _wrap_PyApp_SetClassName, METH_VARARGS | METH_KEYWORDS },
36426 { (char *)"PyApp_GetVendorName", (PyCFunction) _wrap_PyApp_GetVendorName, METH_VARARGS | METH_KEYWORDS },
36427 { (char *)"PyApp_SetVendorName", (PyCFunction) _wrap_PyApp_SetVendorName, METH_VARARGS | METH_KEYWORDS },
36428 { (char *)"PyApp_GetTraits", (PyCFunction) _wrap_PyApp_GetTraits, METH_VARARGS | METH_KEYWORDS },
36429 { (char *)"PyApp_ProcessPendingEvents", (PyCFunction) _wrap_PyApp_ProcessPendingEvents, METH_VARARGS | METH_KEYWORDS },
36430 { (char *)"PyApp_Yield", (PyCFunction) _wrap_PyApp_Yield, METH_VARARGS | METH_KEYWORDS },
36431 { (char *)"PyApp_WakeUpIdle", (PyCFunction) _wrap_PyApp_WakeUpIdle, METH_VARARGS | METH_KEYWORDS },
36432 { (char *)"PyApp_MainLoop", (PyCFunction) _wrap_PyApp_MainLoop, METH_VARARGS | METH_KEYWORDS },
36433 { (char *)"PyApp_Exit", (PyCFunction) _wrap_PyApp_Exit, METH_VARARGS | METH_KEYWORDS },
36434 { (char *)"PyApp_ExitMainLoop", (PyCFunction) _wrap_PyApp_ExitMainLoop, METH_VARARGS | METH_KEYWORDS },
36435 { (char *)"PyApp_Pending", (PyCFunction) _wrap_PyApp_Pending, METH_VARARGS | METH_KEYWORDS },
36436 { (char *)"PyApp_Dispatch", (PyCFunction) _wrap_PyApp_Dispatch, METH_VARARGS | METH_KEYWORDS },
36437 { (char *)"PyApp_ProcessIdle", (PyCFunction) _wrap_PyApp_ProcessIdle, METH_VARARGS | METH_KEYWORDS },
36438 { (char *)"PyApp_SendIdleEvents", (PyCFunction) _wrap_PyApp_SendIdleEvents, METH_VARARGS | METH_KEYWORDS },
36439 { (char *)"PyApp_IsActive", (PyCFunction) _wrap_PyApp_IsActive, METH_VARARGS | METH_KEYWORDS },
36440 { (char *)"PyApp_SetTopWindow", (PyCFunction) _wrap_PyApp_SetTopWindow, METH_VARARGS | METH_KEYWORDS },
36441 { (char *)"PyApp_GetTopWindow", (PyCFunction) _wrap_PyApp_GetTopWindow, METH_VARARGS | METH_KEYWORDS },
36442 { (char *)"PyApp_SetExitOnFrameDelete", (PyCFunction) _wrap_PyApp_SetExitOnFrameDelete, METH_VARARGS | METH_KEYWORDS },
36443 { (char *)"PyApp_GetExitOnFrameDelete", (PyCFunction) _wrap_PyApp_GetExitOnFrameDelete, METH_VARARGS | METH_KEYWORDS },
36444 { (char *)"PyApp_SetUseBestVisual", (PyCFunction) _wrap_PyApp_SetUseBestVisual, METH_VARARGS | METH_KEYWORDS },
36445 { (char *)"PyApp_GetUseBestVisual", (PyCFunction) _wrap_PyApp_GetUseBestVisual, METH_VARARGS | METH_KEYWORDS },
36446 { (char *)"PyApp_SetPrintMode", (PyCFunction) _wrap_PyApp_SetPrintMode, METH_VARARGS | METH_KEYWORDS },
36447 { (char *)"PyApp_GetPrintMode", (PyCFunction) _wrap_PyApp_GetPrintMode, METH_VARARGS | METH_KEYWORDS },
36448 { (char *)"PyApp_SetAssertMode", (PyCFunction) _wrap_PyApp_SetAssertMode, METH_VARARGS | METH_KEYWORDS },
36449 { (char *)"PyApp_GetAssertMode", (PyCFunction) _wrap_PyApp_GetAssertMode, METH_VARARGS | METH_KEYWORDS },
36450 { (char *)"PyApp_GetMacSupportPCMenuShortcuts", (PyCFunction) _wrap_PyApp_GetMacSupportPCMenuShortcuts, METH_VARARGS | METH_KEYWORDS },
36451 { (char *)"PyApp_GetMacAboutMenuItemId", (PyCFunction) _wrap_PyApp_GetMacAboutMenuItemId, METH_VARARGS | METH_KEYWORDS },
36452 { (char *)"PyApp_GetMacPreferencesMenuItemId", (PyCFunction) _wrap_PyApp_GetMacPreferencesMenuItemId, METH_VARARGS | METH_KEYWORDS },
36453 { (char *)"PyApp_GetMacExitMenuItemId", (PyCFunction) _wrap_PyApp_GetMacExitMenuItemId, METH_VARARGS | METH_KEYWORDS },
36454 { (char *)"PyApp_GetMacHelpMenuTitleName", (PyCFunction) _wrap_PyApp_GetMacHelpMenuTitleName, METH_VARARGS | METH_KEYWORDS },
36455 { (char *)"PyApp_SetMacSupportPCMenuShortcuts", (PyCFunction) _wrap_PyApp_SetMacSupportPCMenuShortcuts, METH_VARARGS | METH_KEYWORDS },
36456 { (char *)"PyApp_SetMacAboutMenuItemId", (PyCFunction) _wrap_PyApp_SetMacAboutMenuItemId, METH_VARARGS | METH_KEYWORDS },
36457 { (char *)"PyApp_SetMacPreferencesMenuItemId", (PyCFunction) _wrap_PyApp_SetMacPreferencesMenuItemId, METH_VARARGS | METH_KEYWORDS },
36458 { (char *)"PyApp_SetMacExitMenuItemId", (PyCFunction) _wrap_PyApp_SetMacExitMenuItemId, METH_VARARGS | METH_KEYWORDS },
36459 { (char *)"PyApp_SetMacHelpMenuTitleName", (PyCFunction) _wrap_PyApp_SetMacHelpMenuTitleName, METH_VARARGS | METH_KEYWORDS },
36460 { (char *)"PyApp__BootstrapApp", (PyCFunction) _wrap_PyApp__BootstrapApp, METH_VARARGS | METH_KEYWORDS },
36461 { (char *)"PyApp_GetComCtl32Version", (PyCFunction) _wrap_PyApp_GetComCtl32Version, METH_VARARGS | METH_KEYWORDS },
36462 { (char *)"PyApp_swigregister", PyApp_swigregister, METH_VARARGS },
36463 { (char *)"Exit", (PyCFunction) _wrap_Exit, METH_VARARGS | METH_KEYWORDS },
36464 { (char *)"Yield", (PyCFunction) _wrap_Yield, METH_VARARGS | METH_KEYWORDS },
36465 { (char *)"YieldIfNeeded", (PyCFunction) _wrap_YieldIfNeeded, METH_VARARGS | METH_KEYWORDS },
36466 { (char *)"SafeYield", (PyCFunction) _wrap_SafeYield, METH_VARARGS | METH_KEYWORDS },
36467 { (char *)"WakeUpIdle", (PyCFunction) _wrap_WakeUpIdle, METH_VARARGS | METH_KEYWORDS },
36468 { (char *)"PostEvent", (PyCFunction) _wrap_PostEvent, METH_VARARGS | METH_KEYWORDS },
36469 { (char *)"App_CleanUp", (PyCFunction) _wrap_App_CleanUp, METH_VARARGS | METH_KEYWORDS },
36470 { (char *)"GetApp", (PyCFunction) _wrap_GetApp, METH_VARARGS | METH_KEYWORDS },
36471 { (char *)"new_AcceleratorEntry", (PyCFunction) _wrap_new_AcceleratorEntry, METH_VARARGS | METH_KEYWORDS },
36472 { (char *)"delete_AcceleratorEntry", (PyCFunction) _wrap_delete_AcceleratorEntry, METH_VARARGS | METH_KEYWORDS },
36473 { (char *)"AcceleratorEntry_Set", (PyCFunction) _wrap_AcceleratorEntry_Set, METH_VARARGS | METH_KEYWORDS },
36474 { (char *)"AcceleratorEntry_SetMenuItem", (PyCFunction) _wrap_AcceleratorEntry_SetMenuItem, METH_VARARGS | METH_KEYWORDS },
36475 { (char *)"AcceleratorEntry_GetMenuItem", (PyCFunction) _wrap_AcceleratorEntry_GetMenuItem, METH_VARARGS | METH_KEYWORDS },
36476 { (char *)"AcceleratorEntry_GetFlags", (PyCFunction) _wrap_AcceleratorEntry_GetFlags, METH_VARARGS | METH_KEYWORDS },
36477 { (char *)"AcceleratorEntry_GetKeyCode", (PyCFunction) _wrap_AcceleratorEntry_GetKeyCode, METH_VARARGS | METH_KEYWORDS },
36478 { (char *)"AcceleratorEntry_GetCommand", (PyCFunction) _wrap_AcceleratorEntry_GetCommand, METH_VARARGS | METH_KEYWORDS },
36479 { (char *)"AcceleratorEntry_swigregister", AcceleratorEntry_swigregister, METH_VARARGS },
36480 { (char *)"new_AcceleratorTable", (PyCFunction) _wrap_new_AcceleratorTable, METH_VARARGS | METH_KEYWORDS },
36481 { (char *)"delete_AcceleratorTable", (PyCFunction) _wrap_delete_AcceleratorTable, METH_VARARGS | METH_KEYWORDS },
36482 { (char *)"AcceleratorTable_Ok", (PyCFunction) _wrap_AcceleratorTable_Ok, METH_VARARGS | METH_KEYWORDS },
36483 { (char *)"AcceleratorTable_swigregister", AcceleratorTable_swigregister, METH_VARARGS },
36484 { (char *)"GetAccelFromString", (PyCFunction) _wrap_GetAccelFromString, METH_VARARGS | METH_KEYWORDS },
36485 { (char *)"new_Window", (PyCFunction) _wrap_new_Window, METH_VARARGS | METH_KEYWORDS },
36486 { (char *)"new_PreWindow", (PyCFunction) _wrap_new_PreWindow, METH_VARARGS | METH_KEYWORDS },
36487 { (char *)"Window_Create", (PyCFunction) _wrap_Window_Create, METH_VARARGS | METH_KEYWORDS },
36488 { (char *)"Window_Close", (PyCFunction) _wrap_Window_Close, METH_VARARGS | METH_KEYWORDS },
36489 { (char *)"Window_Destroy", (PyCFunction) _wrap_Window_Destroy, METH_VARARGS | METH_KEYWORDS },
36490 { (char *)"Window_DestroyChildren", (PyCFunction) _wrap_Window_DestroyChildren, METH_VARARGS | METH_KEYWORDS },
36491 { (char *)"Window_IsBeingDeleted", (PyCFunction) _wrap_Window_IsBeingDeleted, METH_VARARGS | METH_KEYWORDS },
36492 { (char *)"Window_SetTitle", (PyCFunction) _wrap_Window_SetTitle, METH_VARARGS | METH_KEYWORDS },
36493 { (char *)"Window_GetTitle", (PyCFunction) _wrap_Window_GetTitle, METH_VARARGS | METH_KEYWORDS },
36494 { (char *)"Window_SetLabel", (PyCFunction) _wrap_Window_SetLabel, METH_VARARGS | METH_KEYWORDS },
36495 { (char *)"Window_GetLabel", (PyCFunction) _wrap_Window_GetLabel, METH_VARARGS | METH_KEYWORDS },
36496 { (char *)"Window_SetName", (PyCFunction) _wrap_Window_SetName, METH_VARARGS | METH_KEYWORDS },
36497 { (char *)"Window_GetName", (PyCFunction) _wrap_Window_GetName, METH_VARARGS | METH_KEYWORDS },
36498 { (char *)"Window_SetId", (PyCFunction) _wrap_Window_SetId, METH_VARARGS | METH_KEYWORDS },
36499 { (char *)"Window_GetId", (PyCFunction) _wrap_Window_GetId, METH_VARARGS | METH_KEYWORDS },
36500 { (char *)"Window_NewControlId", (PyCFunction) _wrap_Window_NewControlId, METH_VARARGS | METH_KEYWORDS },
36501 { (char *)"Window_NextControlId", (PyCFunction) _wrap_Window_NextControlId, METH_VARARGS | METH_KEYWORDS },
36502 { (char *)"Window_PrevControlId", (PyCFunction) _wrap_Window_PrevControlId, METH_VARARGS | METH_KEYWORDS },
36503 { (char *)"Window_SetSize", (PyCFunction) _wrap_Window_SetSize, METH_VARARGS | METH_KEYWORDS },
36504 { (char *)"Window_SetDimensions", (PyCFunction) _wrap_Window_SetDimensions, METH_VARARGS | METH_KEYWORDS },
36505 { (char *)"Window_SetRect", (PyCFunction) _wrap_Window_SetRect, METH_VARARGS | METH_KEYWORDS },
36506 { (char *)"Window_SetSizeWH", (PyCFunction) _wrap_Window_SetSizeWH, METH_VARARGS | METH_KEYWORDS },
36507 { (char *)"Window_Move", (PyCFunction) _wrap_Window_Move, METH_VARARGS | METH_KEYWORDS },
36508 { (char *)"Window_MoveXY", (PyCFunction) _wrap_Window_MoveXY, METH_VARARGS | METH_KEYWORDS },
36509 { (char *)"Window_Raise", (PyCFunction) _wrap_Window_Raise, METH_VARARGS | METH_KEYWORDS },
36510 { (char *)"Window_Lower", (PyCFunction) _wrap_Window_Lower, METH_VARARGS | METH_KEYWORDS },
36511 { (char *)"Window_SetClientSize", (PyCFunction) _wrap_Window_SetClientSize, METH_VARARGS | METH_KEYWORDS },
36512 { (char *)"Window_SetClientSizeWH", (PyCFunction) _wrap_Window_SetClientSizeWH, METH_VARARGS | METH_KEYWORDS },
36513 { (char *)"Window_SetClientRect", (PyCFunction) _wrap_Window_SetClientRect, METH_VARARGS | METH_KEYWORDS },
36514 { (char *)"Window_GetPosition", (PyCFunction) _wrap_Window_GetPosition, METH_VARARGS | METH_KEYWORDS },
36515 { (char *)"Window_GetPositionTuple", (PyCFunction) _wrap_Window_GetPositionTuple, METH_VARARGS | METH_KEYWORDS },
36516 { (char *)"Window_GetSize", (PyCFunction) _wrap_Window_GetSize, METH_VARARGS | METH_KEYWORDS },
36517 { (char *)"Window_GetSizeTuple", (PyCFunction) _wrap_Window_GetSizeTuple, METH_VARARGS | METH_KEYWORDS },
36518 { (char *)"Window_GetRect", (PyCFunction) _wrap_Window_GetRect, METH_VARARGS | METH_KEYWORDS },
36519 { (char *)"Window_GetClientSize", (PyCFunction) _wrap_Window_GetClientSize, METH_VARARGS | METH_KEYWORDS },
36520 { (char *)"Window_GetClientSizeTuple", (PyCFunction) _wrap_Window_GetClientSizeTuple, METH_VARARGS | METH_KEYWORDS },
36521 { (char *)"Window_GetClientAreaOrigin", (PyCFunction) _wrap_Window_GetClientAreaOrigin, METH_VARARGS | METH_KEYWORDS },
36522 { (char *)"Window_GetClientRect", (PyCFunction) _wrap_Window_GetClientRect, METH_VARARGS | METH_KEYWORDS },
36523 { (char *)"Window_GetBestSize", (PyCFunction) _wrap_Window_GetBestSize, METH_VARARGS | METH_KEYWORDS },
36524 { (char *)"Window_GetBestSizeTuple", (PyCFunction) _wrap_Window_GetBestSizeTuple, METH_VARARGS | METH_KEYWORDS },
36525 { (char *)"Window_GetAdjustedBestSize", (PyCFunction) _wrap_Window_GetAdjustedBestSize, METH_VARARGS | METH_KEYWORDS },
36526 { (char *)"Window_Center", (PyCFunction) _wrap_Window_Center, METH_VARARGS | METH_KEYWORDS },
36527 { (char *)"Window_CenterOnScreen", (PyCFunction) _wrap_Window_CenterOnScreen, METH_VARARGS | METH_KEYWORDS },
36528 { (char *)"Window_CenterOnParent", (PyCFunction) _wrap_Window_CenterOnParent, METH_VARARGS | METH_KEYWORDS },
36529 { (char *)"Window_Fit", (PyCFunction) _wrap_Window_Fit, METH_VARARGS | METH_KEYWORDS },
36530 { (char *)"Window_FitInside", (PyCFunction) _wrap_Window_FitInside, METH_VARARGS | METH_KEYWORDS },
36531 { (char *)"Window_SetSizeHints", (PyCFunction) _wrap_Window_SetSizeHints, METH_VARARGS | METH_KEYWORDS },
36532 { (char *)"Window_SetVirtualSizeHints", (PyCFunction) _wrap_Window_SetVirtualSizeHints, METH_VARARGS | METH_KEYWORDS },
36533 { (char *)"Window_GetMinWidth", (PyCFunction) _wrap_Window_GetMinWidth, METH_VARARGS | METH_KEYWORDS },
36534 { (char *)"Window_GetMinHeight", (PyCFunction) _wrap_Window_GetMinHeight, METH_VARARGS | METH_KEYWORDS },
36535 { (char *)"Window_GetMaxWidth", (PyCFunction) _wrap_Window_GetMaxWidth, METH_VARARGS | METH_KEYWORDS },
36536 { (char *)"Window_GetMaxHeight", (PyCFunction) _wrap_Window_GetMaxHeight, METH_VARARGS | METH_KEYWORDS },
36537 { (char *)"Window_GetMaxSize", (PyCFunction) _wrap_Window_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
36538 { (char *)"Window_SetVirtualSize", (PyCFunction) _wrap_Window_SetVirtualSize, METH_VARARGS | METH_KEYWORDS },
36539 { (char *)"Window_SetVirtualSizeWH", (PyCFunction) _wrap_Window_SetVirtualSizeWH, METH_VARARGS | METH_KEYWORDS },
36540 { (char *)"Window_GetVirtualSize", (PyCFunction) _wrap_Window_GetVirtualSize, METH_VARARGS | METH_KEYWORDS },
36541 { (char *)"Window_GetVirtualSizeTuple", (PyCFunction) _wrap_Window_GetVirtualSizeTuple, METH_VARARGS | METH_KEYWORDS },
36542 { (char *)"Window_GetBestVirtualSize", (PyCFunction) _wrap_Window_GetBestVirtualSize, METH_VARARGS | METH_KEYWORDS },
36543 { (char *)"Window_Show", (PyCFunction) _wrap_Window_Show, METH_VARARGS | METH_KEYWORDS },
36544 { (char *)"Window_Hide", (PyCFunction) _wrap_Window_Hide, METH_VARARGS | METH_KEYWORDS },
36545 { (char *)"Window_Enable", (PyCFunction) _wrap_Window_Enable, METH_VARARGS | METH_KEYWORDS },
36546 { (char *)"Window_Disable", (PyCFunction) _wrap_Window_Disable, METH_VARARGS | METH_KEYWORDS },
36547 { (char *)"Window_IsShown", (PyCFunction) _wrap_Window_IsShown, METH_VARARGS | METH_KEYWORDS },
36548 { (char *)"Window_IsEnabled", (PyCFunction) _wrap_Window_IsEnabled, METH_VARARGS | METH_KEYWORDS },
36549 { (char *)"Window_SetWindowStyleFlag", (PyCFunction) _wrap_Window_SetWindowStyleFlag, METH_VARARGS | METH_KEYWORDS },
36550 { (char *)"Window_GetWindowStyleFlag", (PyCFunction) _wrap_Window_GetWindowStyleFlag, METH_VARARGS | METH_KEYWORDS },
36551 { (char *)"Window_SetWindowStyle", (PyCFunction) _wrap_Window_SetWindowStyle, METH_VARARGS | METH_KEYWORDS },
36552 { (char *)"Window_GetWindowStyle", (PyCFunction) _wrap_Window_GetWindowStyle, METH_VARARGS | METH_KEYWORDS },
36553 { (char *)"Window_HasFlag", (PyCFunction) _wrap_Window_HasFlag, METH_VARARGS | METH_KEYWORDS },
36554 { (char *)"Window_IsRetained", (PyCFunction) _wrap_Window_IsRetained, METH_VARARGS | METH_KEYWORDS },
36555 { (char *)"Window_SetExtraStyle", (PyCFunction) _wrap_Window_SetExtraStyle, METH_VARARGS | METH_KEYWORDS },
36556 { (char *)"Window_GetExtraStyle", (PyCFunction) _wrap_Window_GetExtraStyle, METH_VARARGS | METH_KEYWORDS },
36557 { (char *)"Window_MakeModal", (PyCFunction) _wrap_Window_MakeModal, METH_VARARGS | METH_KEYWORDS },
36558 { (char *)"Window_SetThemeEnabled", (PyCFunction) _wrap_Window_SetThemeEnabled, METH_VARARGS | METH_KEYWORDS },
36559 { (char *)"Window_GetThemeEnabled", (PyCFunction) _wrap_Window_GetThemeEnabled, METH_VARARGS | METH_KEYWORDS },
36560 { (char *)"Window_ShouldInheritColours", (PyCFunction) _wrap_Window_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS },
36561 { (char *)"Window_SetFocus", (PyCFunction) _wrap_Window_SetFocus, METH_VARARGS | METH_KEYWORDS },
36562 { (char *)"Window_SetFocusFromKbd", (PyCFunction) _wrap_Window_SetFocusFromKbd, METH_VARARGS | METH_KEYWORDS },
36563 { (char *)"Window_FindFocus", (PyCFunction) _wrap_Window_FindFocus, METH_VARARGS | METH_KEYWORDS },
36564 { (char *)"Window_AcceptsFocus", (PyCFunction) _wrap_Window_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
36565 { (char *)"Window_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_Window_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
36566 { (char *)"Window_GetDefaultItem", (PyCFunction) _wrap_Window_GetDefaultItem, METH_VARARGS | METH_KEYWORDS },
36567 { (char *)"Window_SetDefaultItem", (PyCFunction) _wrap_Window_SetDefaultItem, METH_VARARGS | METH_KEYWORDS },
36568 { (char *)"Window_SetTmpDefaultItem", (PyCFunction) _wrap_Window_SetTmpDefaultItem, METH_VARARGS | METH_KEYWORDS },
36569 { (char *)"Window_GetChildren", (PyCFunction) _wrap_Window_GetChildren, METH_VARARGS | METH_KEYWORDS },
36570 { (char *)"Window_GetParent", (PyCFunction) _wrap_Window_GetParent, METH_VARARGS | METH_KEYWORDS },
36571 { (char *)"Window_GetGrandParent", (PyCFunction) _wrap_Window_GetGrandParent, METH_VARARGS | METH_KEYWORDS },
36572 { (char *)"Window_IsTopLevel", (PyCFunction) _wrap_Window_IsTopLevel, METH_VARARGS | METH_KEYWORDS },
36573 { (char *)"Window_Reparent", (PyCFunction) _wrap_Window_Reparent, METH_VARARGS | METH_KEYWORDS },
36574 { (char *)"Window_AddChild", (PyCFunction) _wrap_Window_AddChild, METH_VARARGS | METH_KEYWORDS },
36575 { (char *)"Window_RemoveChild", (PyCFunction) _wrap_Window_RemoveChild, METH_VARARGS | METH_KEYWORDS },
36576 { (char *)"Window_FindWindowById", (PyCFunction) _wrap_Window_FindWindowById, METH_VARARGS | METH_KEYWORDS },
36577 { (char *)"Window_FindWindowByName", (PyCFunction) _wrap_Window_FindWindowByName, METH_VARARGS | METH_KEYWORDS },
36578 { (char *)"Window_GetEventHandler", (PyCFunction) _wrap_Window_GetEventHandler, METH_VARARGS | METH_KEYWORDS },
36579 { (char *)"Window_SetEventHandler", (PyCFunction) _wrap_Window_SetEventHandler, METH_VARARGS | METH_KEYWORDS },
36580 { (char *)"Window_PushEventHandler", (PyCFunction) _wrap_Window_PushEventHandler, METH_VARARGS | METH_KEYWORDS },
36581 { (char *)"Window_PopEventHandler", (PyCFunction) _wrap_Window_PopEventHandler, METH_VARARGS | METH_KEYWORDS },
36582 { (char *)"Window_RemoveEventHandler", (PyCFunction) _wrap_Window_RemoveEventHandler, METH_VARARGS | METH_KEYWORDS },
36583 { (char *)"Window_SetValidator", (PyCFunction) _wrap_Window_SetValidator, METH_VARARGS | METH_KEYWORDS },
36584 { (char *)"Window_GetValidator", (PyCFunction) _wrap_Window_GetValidator, METH_VARARGS | METH_KEYWORDS },
36585 { (char *)"Window_SetAcceleratorTable", (PyCFunction) _wrap_Window_SetAcceleratorTable, METH_VARARGS | METH_KEYWORDS },
36586 { (char *)"Window_GetAcceleratorTable", (PyCFunction) _wrap_Window_GetAcceleratorTable, METH_VARARGS | METH_KEYWORDS },
36587 { (char *)"Window_RegisterHotKey", (PyCFunction) _wrap_Window_RegisterHotKey, METH_VARARGS | METH_KEYWORDS },
36588 { (char *)"Window_UnregisterHotKey", (PyCFunction) _wrap_Window_UnregisterHotKey, METH_VARARGS | METH_KEYWORDS },
36589 { (char *)"Window_ConvertDialogPointToPixels", (PyCFunction) _wrap_Window_ConvertDialogPointToPixels, METH_VARARGS | METH_KEYWORDS },
36590 { (char *)"Window_ConvertDialogSizeToPixels", (PyCFunction) _wrap_Window_ConvertDialogSizeToPixels, METH_VARARGS | METH_KEYWORDS },
36591 { (char *)"Window_DLG_PNT", (PyCFunction) _wrap_Window_DLG_PNT, METH_VARARGS | METH_KEYWORDS },
36592 { (char *)"Window_DLG_SZE", (PyCFunction) _wrap_Window_DLG_SZE, METH_VARARGS | METH_KEYWORDS },
36593 { (char *)"Window_ConvertPixelPointToDialog", (PyCFunction) _wrap_Window_ConvertPixelPointToDialog, METH_VARARGS | METH_KEYWORDS },
36594 { (char *)"Window_ConvertPixelSizeToDialog", (PyCFunction) _wrap_Window_ConvertPixelSizeToDialog, METH_VARARGS | METH_KEYWORDS },
36595 { (char *)"Window_WarpPointer", (PyCFunction) _wrap_Window_WarpPointer, METH_VARARGS | METH_KEYWORDS },
36596 { (char *)"Window_CaptureMouse", (PyCFunction) _wrap_Window_CaptureMouse, METH_VARARGS | METH_KEYWORDS },
36597 { (char *)"Window_ReleaseMouse", (PyCFunction) _wrap_Window_ReleaseMouse, METH_VARARGS | METH_KEYWORDS },
36598 { (char *)"Window_GetCapture", (PyCFunction) _wrap_Window_GetCapture, METH_VARARGS | METH_KEYWORDS },
36599 { (char *)"Window_HasCapture", (PyCFunction) _wrap_Window_HasCapture, METH_VARARGS | METH_KEYWORDS },
36600 { (char *)"Window_Refresh", (PyCFunction) _wrap_Window_Refresh, METH_VARARGS | METH_KEYWORDS },
36601 { (char *)"Window_RefreshRect", (PyCFunction) _wrap_Window_RefreshRect, METH_VARARGS | METH_KEYWORDS },
36602 { (char *)"Window_Update", (PyCFunction) _wrap_Window_Update, METH_VARARGS | METH_KEYWORDS },
36603 { (char *)"Window_ClearBackground", (PyCFunction) _wrap_Window_ClearBackground, METH_VARARGS | METH_KEYWORDS },
36604 { (char *)"Window_Freeze", (PyCFunction) _wrap_Window_Freeze, METH_VARARGS | METH_KEYWORDS },
36605 { (char *)"Window_Thaw", (PyCFunction) _wrap_Window_Thaw, METH_VARARGS | METH_KEYWORDS },
36606 { (char *)"Window_PrepareDC", (PyCFunction) _wrap_Window_PrepareDC, METH_VARARGS | METH_KEYWORDS },
36607 { (char *)"Window_GetUpdateRegion", (PyCFunction) _wrap_Window_GetUpdateRegion, METH_VARARGS | METH_KEYWORDS },
36608 { (char *)"Window_GetUpdateClientRect", (PyCFunction) _wrap_Window_GetUpdateClientRect, METH_VARARGS | METH_KEYWORDS },
36609 { (char *)"Window_IsExposed", (PyCFunction) _wrap_Window_IsExposed, METH_VARARGS | METH_KEYWORDS },
36610 { (char *)"Window_IsExposedPoint", (PyCFunction) _wrap_Window_IsExposedPoint, METH_VARARGS | METH_KEYWORDS },
36611 { (char *)"Window_isExposedRect", (PyCFunction) _wrap_Window_isExposedRect, METH_VARARGS | METH_KEYWORDS },
36612 { (char *)"Window_SetBackgroundColour", (PyCFunction) _wrap_Window_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
36613 { (char *)"Window_SetForegroundColour", (PyCFunction) _wrap_Window_SetForegroundColour, METH_VARARGS | METH_KEYWORDS },
36614 { (char *)"Window_GetBackgroundColour", (PyCFunction) _wrap_Window_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
36615 { (char *)"Window_GetForegroundColour", (PyCFunction) _wrap_Window_GetForegroundColour, METH_VARARGS | METH_KEYWORDS },
36616 { (char *)"Window_SetCursor", (PyCFunction) _wrap_Window_SetCursor, METH_VARARGS | METH_KEYWORDS },
36617 { (char *)"Window_GetCursor", (PyCFunction) _wrap_Window_GetCursor, METH_VARARGS | METH_KEYWORDS },
36618 { (char *)"Window_SetFont", (PyCFunction) _wrap_Window_SetFont, METH_VARARGS | METH_KEYWORDS },
36619 { (char *)"Window_GetFont", (PyCFunction) _wrap_Window_GetFont, METH_VARARGS | METH_KEYWORDS },
36620 { (char *)"Window_SetCaret", (PyCFunction) _wrap_Window_SetCaret, METH_VARARGS | METH_KEYWORDS },
36621 { (char *)"Window_GetCaret", (PyCFunction) _wrap_Window_GetCaret, METH_VARARGS | METH_KEYWORDS },
36622 { (char *)"Window_GetCharHeight", (PyCFunction) _wrap_Window_GetCharHeight, METH_VARARGS | METH_KEYWORDS },
36623 { (char *)"Window_GetCharWidth", (PyCFunction) _wrap_Window_GetCharWidth, METH_VARARGS | METH_KEYWORDS },
36624 { (char *)"Window_GetTextExtent", (PyCFunction) _wrap_Window_GetTextExtent, METH_VARARGS | METH_KEYWORDS },
36625 { (char *)"Window_GetFullTextExtent", (PyCFunction) _wrap_Window_GetFullTextExtent, METH_VARARGS | METH_KEYWORDS },
36626 { (char *)"Window_ClientToScreenXY", (PyCFunction) _wrap_Window_ClientToScreenXY, METH_VARARGS | METH_KEYWORDS },
36627 { (char *)"Window_ScreenToClientXY", (PyCFunction) _wrap_Window_ScreenToClientXY, METH_VARARGS | METH_KEYWORDS },
36628 { (char *)"Window_ClientToScreen", (PyCFunction) _wrap_Window_ClientToScreen, METH_VARARGS | METH_KEYWORDS },
36629 { (char *)"Window_ScreenToClient", (PyCFunction) _wrap_Window_ScreenToClient, METH_VARARGS | METH_KEYWORDS },
36630 { (char *)"Window_HitTestXY", (PyCFunction) _wrap_Window_HitTestXY, METH_VARARGS | METH_KEYWORDS },
36631 { (char *)"Window_HitTest", (PyCFunction) _wrap_Window_HitTest, METH_VARARGS | METH_KEYWORDS },
36632 { (char *)"Window_GetBorderFlags", (PyCFunction) _wrap_Window_GetBorderFlags, METH_VARARGS | METH_KEYWORDS },
36633 { (char *)"Window_GetBorder", (PyCFunction) _wrap_Window_GetBorder, METH_VARARGS | METH_KEYWORDS },
36634 { (char *)"Window_UpdateWindowUI", (PyCFunction) _wrap_Window_UpdateWindowUI, METH_VARARGS | METH_KEYWORDS },
36635 { (char *)"Window_PopupMenuXY", (PyCFunction) _wrap_Window_PopupMenuXY, METH_VARARGS | METH_KEYWORDS },
36636 { (char *)"Window_PopupMenu", (PyCFunction) _wrap_Window_PopupMenu, METH_VARARGS | METH_KEYWORDS },
36637 { (char *)"Window_GetHandle", (PyCFunction) _wrap_Window_GetHandle, METH_VARARGS | METH_KEYWORDS },
36638 { (char *)"Window_OnPaint", (PyCFunction) _wrap_Window_OnPaint, METH_VARARGS | METH_KEYWORDS },
36639 { (char *)"Window_HasScrollbar", (PyCFunction) _wrap_Window_HasScrollbar, METH_VARARGS | METH_KEYWORDS },
36640 { (char *)"Window_SetScrollbar", (PyCFunction) _wrap_Window_SetScrollbar, METH_VARARGS | METH_KEYWORDS },
36641 { (char *)"Window_SetScrollPos", (PyCFunction) _wrap_Window_SetScrollPos, METH_VARARGS | METH_KEYWORDS },
36642 { (char *)"Window_GetScrollPos", (PyCFunction) _wrap_Window_GetScrollPos, METH_VARARGS | METH_KEYWORDS },
36643 { (char *)"Window_GetScrollThumb", (PyCFunction) _wrap_Window_GetScrollThumb, METH_VARARGS | METH_KEYWORDS },
36644 { (char *)"Window_GetScrollRange", (PyCFunction) _wrap_Window_GetScrollRange, METH_VARARGS | METH_KEYWORDS },
36645 { (char *)"Window_ScrollWindow", (PyCFunction) _wrap_Window_ScrollWindow, METH_VARARGS | METH_KEYWORDS },
36646 { (char *)"Window_ScrollLines", (PyCFunction) _wrap_Window_ScrollLines, METH_VARARGS | METH_KEYWORDS },
36647 { (char *)"Window_ScrollPages", (PyCFunction) _wrap_Window_ScrollPages, METH_VARARGS | METH_KEYWORDS },
36648 { (char *)"Window_LineUp", (PyCFunction) _wrap_Window_LineUp, METH_VARARGS | METH_KEYWORDS },
36649 { (char *)"Window_LineDown", (PyCFunction) _wrap_Window_LineDown, METH_VARARGS | METH_KEYWORDS },
36650 { (char *)"Window_PageUp", (PyCFunction) _wrap_Window_PageUp, METH_VARARGS | METH_KEYWORDS },
36651 { (char *)"Window_PageDown", (PyCFunction) _wrap_Window_PageDown, METH_VARARGS | METH_KEYWORDS },
36652 { (char *)"Window_SetHelpText", (PyCFunction) _wrap_Window_SetHelpText, METH_VARARGS | METH_KEYWORDS },
36653 { (char *)"Window_SetHelpTextForId", (PyCFunction) _wrap_Window_SetHelpTextForId, METH_VARARGS | METH_KEYWORDS },
36654 { (char *)"Window_GetHelpText", (PyCFunction) _wrap_Window_GetHelpText, METH_VARARGS | METH_KEYWORDS },
36655 { (char *)"Window_SetToolTipString", (PyCFunction) _wrap_Window_SetToolTipString, METH_VARARGS | METH_KEYWORDS },
36656 { (char *)"Window_SetToolTip", (PyCFunction) _wrap_Window_SetToolTip, METH_VARARGS | METH_KEYWORDS },
36657 { (char *)"Window_GetToolTip", (PyCFunction) _wrap_Window_GetToolTip, METH_VARARGS | METH_KEYWORDS },
36658 { (char *)"Window_SetDropTarget", (PyCFunction) _wrap_Window_SetDropTarget, METH_VARARGS | METH_KEYWORDS },
36659 { (char *)"Window_GetDropTarget", (PyCFunction) _wrap_Window_GetDropTarget, METH_VARARGS | METH_KEYWORDS },
36660 { (char *)"Window_DragAcceptFiles", (PyCFunction) _wrap_Window_DragAcceptFiles, METH_VARARGS | METH_KEYWORDS },
36661 { (char *)"Window_SetConstraints", (PyCFunction) _wrap_Window_SetConstraints, METH_VARARGS | METH_KEYWORDS },
36662 { (char *)"Window_GetConstraints", (PyCFunction) _wrap_Window_GetConstraints, METH_VARARGS | METH_KEYWORDS },
36663 { (char *)"Window_SetAutoLayout", (PyCFunction) _wrap_Window_SetAutoLayout, METH_VARARGS | METH_KEYWORDS },
36664 { (char *)"Window_GetAutoLayout", (PyCFunction) _wrap_Window_GetAutoLayout, METH_VARARGS | METH_KEYWORDS },
36665 { (char *)"Window_Layout", (PyCFunction) _wrap_Window_Layout, METH_VARARGS | METH_KEYWORDS },
36666 { (char *)"Window_SetSizer", (PyCFunction) _wrap_Window_SetSizer, METH_VARARGS | METH_KEYWORDS },
36667 { (char *)"Window_SetSizerAndFit", (PyCFunction) _wrap_Window_SetSizerAndFit, METH_VARARGS | METH_KEYWORDS },
36668 { (char *)"Window_GetSizer", (PyCFunction) _wrap_Window_GetSizer, METH_VARARGS | METH_KEYWORDS },
36669 { (char *)"Window_SetContainingSizer", (PyCFunction) _wrap_Window_SetContainingSizer, METH_VARARGS | METH_KEYWORDS },
36670 { (char *)"Window_GetContainingSizer", (PyCFunction) _wrap_Window_GetContainingSizer, METH_VARARGS | METH_KEYWORDS },
36671 { (char *)"Window_swigregister", Window_swigregister, METH_VARARGS },
36672 { (char *)"FindWindowById", (PyCFunction) _wrap_FindWindowById, METH_VARARGS | METH_KEYWORDS },
36673 { (char *)"FindWindowByName", (PyCFunction) _wrap_FindWindowByName, METH_VARARGS | METH_KEYWORDS },
36674 { (char *)"FindWindowByLabel", (PyCFunction) _wrap_FindWindowByLabel, METH_VARARGS | METH_KEYWORDS },
36675 { (char *)"Window_FromHWND", (PyCFunction) _wrap_Window_FromHWND, METH_VARARGS | METH_KEYWORDS },
36676 { (char *)"new_Validator", (PyCFunction) _wrap_new_Validator, METH_VARARGS | METH_KEYWORDS },
36677 { (char *)"Validator_Clone", (PyCFunction) _wrap_Validator_Clone, METH_VARARGS | METH_KEYWORDS },
36678 { (char *)"Validator_Validate", (PyCFunction) _wrap_Validator_Validate, METH_VARARGS | METH_KEYWORDS },
36679 { (char *)"Validator_TransferToWindow", (PyCFunction) _wrap_Validator_TransferToWindow, METH_VARARGS | METH_KEYWORDS },
36680 { (char *)"Validator_TransferFromWindow", (PyCFunction) _wrap_Validator_TransferFromWindow, METH_VARARGS | METH_KEYWORDS },
36681 { (char *)"Validator_GetWindow", (PyCFunction) _wrap_Validator_GetWindow, METH_VARARGS | METH_KEYWORDS },
36682 { (char *)"Validator_SetWindow", (PyCFunction) _wrap_Validator_SetWindow, METH_VARARGS | METH_KEYWORDS },
36683 { (char *)"Validator_IsSilent", (PyCFunction) _wrap_Validator_IsSilent, METH_VARARGS | METH_KEYWORDS },
36684 { (char *)"Validator_SetBellOnError", (PyCFunction) _wrap_Validator_SetBellOnError, METH_VARARGS | METH_KEYWORDS },
36685 { (char *)"Validator_swigregister", Validator_swigregister, METH_VARARGS },
36686 { (char *)"new_PyValidator", (PyCFunction) _wrap_new_PyValidator, METH_VARARGS | METH_KEYWORDS },
36687 { (char *)"PyValidator__setCallbackInfo", (PyCFunction) _wrap_PyValidator__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
36688 { (char *)"PyValidator_swigregister", PyValidator_swigregister, METH_VARARGS },
36689 { (char *)"new_Menu", (PyCFunction) _wrap_new_Menu, METH_VARARGS | METH_KEYWORDS },
36690 { (char *)"Menu_Append", (PyCFunction) _wrap_Menu_Append, METH_VARARGS | METH_KEYWORDS },
36691 { (char *)"Menu_AppendSeparator", (PyCFunction) _wrap_Menu_AppendSeparator, METH_VARARGS | METH_KEYWORDS },
36692 { (char *)"Menu_AppendCheckItem", (PyCFunction) _wrap_Menu_AppendCheckItem, METH_VARARGS | METH_KEYWORDS },
36693 { (char *)"Menu_AppendRadioItem", (PyCFunction) _wrap_Menu_AppendRadioItem, METH_VARARGS | METH_KEYWORDS },
36694 { (char *)"Menu_AppendMenu", (PyCFunction) _wrap_Menu_AppendMenu, METH_VARARGS | METH_KEYWORDS },
36695 { (char *)"Menu_AppendItem", (PyCFunction) _wrap_Menu_AppendItem, METH_VARARGS | METH_KEYWORDS },
36696 { (char *)"Menu_Break", (PyCFunction) _wrap_Menu_Break, METH_VARARGS | METH_KEYWORDS },
36697 { (char *)"Menu_InsertItem", (PyCFunction) _wrap_Menu_InsertItem, METH_VARARGS | METH_KEYWORDS },
36698 { (char *)"Menu_Insert", (PyCFunction) _wrap_Menu_Insert, METH_VARARGS | METH_KEYWORDS },
36699 { (char *)"Menu_InsertSeparator", (PyCFunction) _wrap_Menu_InsertSeparator, METH_VARARGS | METH_KEYWORDS },
36700 { (char *)"Menu_InsertCheckItem", (PyCFunction) _wrap_Menu_InsertCheckItem, METH_VARARGS | METH_KEYWORDS },
36701 { (char *)"Menu_InsertRadioItem", (PyCFunction) _wrap_Menu_InsertRadioItem, METH_VARARGS | METH_KEYWORDS },
36702 { (char *)"Menu_InsertMenu", (PyCFunction) _wrap_Menu_InsertMenu, METH_VARARGS | METH_KEYWORDS },
36703 { (char *)"Menu_PrependItem", (PyCFunction) _wrap_Menu_PrependItem, METH_VARARGS | METH_KEYWORDS },
36704 { (char *)"Menu_Prepend", (PyCFunction) _wrap_Menu_Prepend, METH_VARARGS | METH_KEYWORDS },
36705 { (char *)"Menu_PrependSeparator", (PyCFunction) _wrap_Menu_PrependSeparator, METH_VARARGS | METH_KEYWORDS },
36706 { (char *)"Menu_PrependCheckItem", (PyCFunction) _wrap_Menu_PrependCheckItem, METH_VARARGS | METH_KEYWORDS },
36707 { (char *)"Menu_PrependRadioItem", (PyCFunction) _wrap_Menu_PrependRadioItem, METH_VARARGS | METH_KEYWORDS },
36708 { (char *)"Menu_PrependMenu", (PyCFunction) _wrap_Menu_PrependMenu, METH_VARARGS | METH_KEYWORDS },
36709 { (char *)"Menu_Remove", (PyCFunction) _wrap_Menu_Remove, METH_VARARGS | METH_KEYWORDS },
36710 { (char *)"Menu_RemoveItem", (PyCFunction) _wrap_Menu_RemoveItem, METH_VARARGS | METH_KEYWORDS },
36711 { (char *)"Menu_Delete", (PyCFunction) _wrap_Menu_Delete, METH_VARARGS | METH_KEYWORDS },
36712 { (char *)"Menu_DeleteItem", (PyCFunction) _wrap_Menu_DeleteItem, METH_VARARGS | METH_KEYWORDS },
36713 { (char *)"Menu_Destroy", (PyCFunction) _wrap_Menu_Destroy, METH_VARARGS | METH_KEYWORDS },
36714 { (char *)"Menu_DestroyId", (PyCFunction) _wrap_Menu_DestroyId, METH_VARARGS | METH_KEYWORDS },
36715 { (char *)"Menu_DestroyItem", (PyCFunction) _wrap_Menu_DestroyItem, METH_VARARGS | METH_KEYWORDS },
36716 { (char *)"Menu_GetMenuItemCount", (PyCFunction) _wrap_Menu_GetMenuItemCount, METH_VARARGS | METH_KEYWORDS },
36717 { (char *)"Menu_GetMenuItems", (PyCFunction) _wrap_Menu_GetMenuItems, METH_VARARGS | METH_KEYWORDS },
36718 { (char *)"Menu_FindItem", (PyCFunction) _wrap_Menu_FindItem, METH_VARARGS | METH_KEYWORDS },
36719 { (char *)"Menu_FindItemById", (PyCFunction) _wrap_Menu_FindItemById, METH_VARARGS | METH_KEYWORDS },
36720 { (char *)"Menu_FindItemByPosition", (PyCFunction) _wrap_Menu_FindItemByPosition, METH_VARARGS | METH_KEYWORDS },
36721 { (char *)"Menu_Enable", (PyCFunction) _wrap_Menu_Enable, METH_VARARGS | METH_KEYWORDS },
36722 { (char *)"Menu_IsEnabled", (PyCFunction) _wrap_Menu_IsEnabled, METH_VARARGS | METH_KEYWORDS },
36723 { (char *)"Menu_Check", (PyCFunction) _wrap_Menu_Check, METH_VARARGS | METH_KEYWORDS },
36724 { (char *)"Menu_IsChecked", (PyCFunction) _wrap_Menu_IsChecked, METH_VARARGS | METH_KEYWORDS },
36725 { (char *)"Menu_SetLabel", (PyCFunction) _wrap_Menu_SetLabel, METH_VARARGS | METH_KEYWORDS },
36726 { (char *)"Menu_GetLabel", (PyCFunction) _wrap_Menu_GetLabel, METH_VARARGS | METH_KEYWORDS },
36727 { (char *)"Menu_SetHelpString", (PyCFunction) _wrap_Menu_SetHelpString, METH_VARARGS | METH_KEYWORDS },
36728 { (char *)"Menu_GetHelpString", (PyCFunction) _wrap_Menu_GetHelpString, METH_VARARGS | METH_KEYWORDS },
36729 { (char *)"Menu_SetTitle", (PyCFunction) _wrap_Menu_SetTitle, METH_VARARGS | METH_KEYWORDS },
36730 { (char *)"Menu_GetTitle", (PyCFunction) _wrap_Menu_GetTitle, METH_VARARGS | METH_KEYWORDS },
36731 { (char *)"Menu_SetEventHandler", (PyCFunction) _wrap_Menu_SetEventHandler, METH_VARARGS | METH_KEYWORDS },
36732 { (char *)"Menu_GetEventHandler", (PyCFunction) _wrap_Menu_GetEventHandler, METH_VARARGS | METH_KEYWORDS },
36733 { (char *)"Menu_SetInvokingWindow", (PyCFunction) _wrap_Menu_SetInvokingWindow, METH_VARARGS | METH_KEYWORDS },
36734 { (char *)"Menu_GetInvokingWindow", (PyCFunction) _wrap_Menu_GetInvokingWindow, METH_VARARGS | METH_KEYWORDS },
36735 { (char *)"Menu_GetStyle", (PyCFunction) _wrap_Menu_GetStyle, METH_VARARGS | METH_KEYWORDS },
36736 { (char *)"Menu_UpdateUI", (PyCFunction) _wrap_Menu_UpdateUI, METH_VARARGS | METH_KEYWORDS },
36737 { (char *)"Menu_GetMenuBar", (PyCFunction) _wrap_Menu_GetMenuBar, METH_VARARGS | METH_KEYWORDS },
36738 { (char *)"Menu_Attach", (PyCFunction) _wrap_Menu_Attach, METH_VARARGS | METH_KEYWORDS },
36739 { (char *)"Menu_Detach", (PyCFunction) _wrap_Menu_Detach, METH_VARARGS | METH_KEYWORDS },
36740 { (char *)"Menu_IsAttached", (PyCFunction) _wrap_Menu_IsAttached, METH_VARARGS | METH_KEYWORDS },
36741 { (char *)"Menu_SetParent", (PyCFunction) _wrap_Menu_SetParent, METH_VARARGS | METH_KEYWORDS },
36742 { (char *)"Menu_GetParent", (PyCFunction) _wrap_Menu_GetParent, METH_VARARGS | METH_KEYWORDS },
36743 { (char *)"Menu_swigregister", Menu_swigregister, METH_VARARGS },
36744 { (char *)"new_MenuBar", (PyCFunction) _wrap_new_MenuBar, METH_VARARGS | METH_KEYWORDS },
36745 { (char *)"MenuBar_Append", (PyCFunction) _wrap_MenuBar_Append, METH_VARARGS | METH_KEYWORDS },
36746 { (char *)"MenuBar_Insert", (PyCFunction) _wrap_MenuBar_Insert, METH_VARARGS | METH_KEYWORDS },
36747 { (char *)"MenuBar_GetMenuCount", (PyCFunction) _wrap_MenuBar_GetMenuCount, METH_VARARGS | METH_KEYWORDS },
36748 { (char *)"MenuBar_GetMenu", (PyCFunction) _wrap_MenuBar_GetMenu, METH_VARARGS | METH_KEYWORDS },
36749 { (char *)"MenuBar_Replace", (PyCFunction) _wrap_MenuBar_Replace, METH_VARARGS | METH_KEYWORDS },
36750 { (char *)"MenuBar_Remove", (PyCFunction) _wrap_MenuBar_Remove, METH_VARARGS | METH_KEYWORDS },
36751 { (char *)"MenuBar_EnableTop", (PyCFunction) _wrap_MenuBar_EnableTop, METH_VARARGS | METH_KEYWORDS },
36752 { (char *)"MenuBar_IsEnabledTop", (PyCFunction) _wrap_MenuBar_IsEnabledTop, METH_VARARGS | METH_KEYWORDS },
36753 { (char *)"MenuBar_SetLabelTop", (PyCFunction) _wrap_MenuBar_SetLabelTop, METH_VARARGS | METH_KEYWORDS },
36754 { (char *)"MenuBar_GetLabelTop", (PyCFunction) _wrap_MenuBar_GetLabelTop, METH_VARARGS | METH_KEYWORDS },
36755 { (char *)"MenuBar_FindMenuItem", (PyCFunction) _wrap_MenuBar_FindMenuItem, METH_VARARGS | METH_KEYWORDS },
36756 { (char *)"MenuBar_FindItemById", (PyCFunction) _wrap_MenuBar_FindItemById, METH_VARARGS | METH_KEYWORDS },
36757 { (char *)"MenuBar_FindMenu", (PyCFunction) _wrap_MenuBar_FindMenu, METH_VARARGS | METH_KEYWORDS },
36758 { (char *)"MenuBar_Enable", (PyCFunction) _wrap_MenuBar_Enable, METH_VARARGS | METH_KEYWORDS },
36759 { (char *)"MenuBar_Check", (PyCFunction) _wrap_MenuBar_Check, METH_VARARGS | METH_KEYWORDS },
36760 { (char *)"MenuBar_IsChecked", (PyCFunction) _wrap_MenuBar_IsChecked, METH_VARARGS | METH_KEYWORDS },
36761 { (char *)"MenuBar_IsEnabled", (PyCFunction) _wrap_MenuBar_IsEnabled, METH_VARARGS | METH_KEYWORDS },
36762 { (char *)"MenuBar_SetLabel", (PyCFunction) _wrap_MenuBar_SetLabel, METH_VARARGS | METH_KEYWORDS },
36763 { (char *)"MenuBar_GetLabel", (PyCFunction) _wrap_MenuBar_GetLabel, METH_VARARGS | METH_KEYWORDS },
36764 { (char *)"MenuBar_SetHelpString", (PyCFunction) _wrap_MenuBar_SetHelpString, METH_VARARGS | METH_KEYWORDS },
36765 { (char *)"MenuBar_GetHelpString", (PyCFunction) _wrap_MenuBar_GetHelpString, METH_VARARGS | METH_KEYWORDS },
36766 { (char *)"MenuBar_GetFrame", (PyCFunction) _wrap_MenuBar_GetFrame, METH_VARARGS | METH_KEYWORDS },
36767 { (char *)"MenuBar_IsAttached", (PyCFunction) _wrap_MenuBar_IsAttached, METH_VARARGS | METH_KEYWORDS },
36768 { (char *)"MenuBar_Attach", (PyCFunction) _wrap_MenuBar_Attach, METH_VARARGS | METH_KEYWORDS },
36769 { (char *)"MenuBar_Detach", (PyCFunction) _wrap_MenuBar_Detach, METH_VARARGS | METH_KEYWORDS },
36770 { (char *)"MenuBar_swigregister", MenuBar_swigregister, METH_VARARGS },
36771 { (char *)"new_MenuItem", (PyCFunction) _wrap_new_MenuItem, METH_VARARGS | METH_KEYWORDS },
36772 { (char *)"MenuItem_GetMenu", (PyCFunction) _wrap_MenuItem_GetMenu, METH_VARARGS | METH_KEYWORDS },
36773 { (char *)"MenuItem_SetMenu", (PyCFunction) _wrap_MenuItem_SetMenu, METH_VARARGS | METH_KEYWORDS },
36774 { (char *)"MenuItem_SetId", (PyCFunction) _wrap_MenuItem_SetId, METH_VARARGS | METH_KEYWORDS },
36775 { (char *)"MenuItem_GetId", (PyCFunction) _wrap_MenuItem_GetId, METH_VARARGS | METH_KEYWORDS },
36776 { (char *)"MenuItem_IsSeparator", (PyCFunction) _wrap_MenuItem_IsSeparator, METH_VARARGS | METH_KEYWORDS },
36777 { (char *)"MenuItem_SetText", (PyCFunction) _wrap_MenuItem_SetText, METH_VARARGS | METH_KEYWORDS },
36778 { (char *)"MenuItem_GetLabel", (PyCFunction) _wrap_MenuItem_GetLabel, METH_VARARGS | METH_KEYWORDS },
36779 { (char *)"MenuItem_GetText", (PyCFunction) _wrap_MenuItem_GetText, METH_VARARGS | METH_KEYWORDS },
36780 { (char *)"MenuItem_GetLabelFromText", (PyCFunction) _wrap_MenuItem_GetLabelFromText, METH_VARARGS | METH_KEYWORDS },
36781 { (char *)"MenuItem_GetKind", (PyCFunction) _wrap_MenuItem_GetKind, METH_VARARGS | METH_KEYWORDS },
36782 { (char *)"MenuItem_SetCheckable", (PyCFunction) _wrap_MenuItem_SetCheckable, METH_VARARGS | METH_KEYWORDS },
36783 { (char *)"MenuItem_IsCheckable", (PyCFunction) _wrap_MenuItem_IsCheckable, METH_VARARGS | METH_KEYWORDS },
36784 { (char *)"MenuItem_IsSubMenu", (PyCFunction) _wrap_MenuItem_IsSubMenu, METH_VARARGS | METH_KEYWORDS },
36785 { (char *)"MenuItem_SetSubMenu", (PyCFunction) _wrap_MenuItem_SetSubMenu, METH_VARARGS | METH_KEYWORDS },
36786 { (char *)"MenuItem_GetSubMenu", (PyCFunction) _wrap_MenuItem_GetSubMenu, METH_VARARGS | METH_KEYWORDS },
36787 { (char *)"MenuItem_Enable", (PyCFunction) _wrap_MenuItem_Enable, METH_VARARGS | METH_KEYWORDS },
36788 { (char *)"MenuItem_IsEnabled", (PyCFunction) _wrap_MenuItem_IsEnabled, METH_VARARGS | METH_KEYWORDS },
36789 { (char *)"MenuItem_Check", (PyCFunction) _wrap_MenuItem_Check, METH_VARARGS | METH_KEYWORDS },
36790 { (char *)"MenuItem_IsChecked", (PyCFunction) _wrap_MenuItem_IsChecked, METH_VARARGS | METH_KEYWORDS },
36791 { (char *)"MenuItem_Toggle", (PyCFunction) _wrap_MenuItem_Toggle, METH_VARARGS | METH_KEYWORDS },
36792 { (char *)"MenuItem_SetHelp", (PyCFunction) _wrap_MenuItem_SetHelp, METH_VARARGS | METH_KEYWORDS },
36793 { (char *)"MenuItem_GetHelp", (PyCFunction) _wrap_MenuItem_GetHelp, METH_VARARGS | METH_KEYWORDS },
36794 { (char *)"MenuItem_GetAccel", (PyCFunction) _wrap_MenuItem_GetAccel, METH_VARARGS | METH_KEYWORDS },
36795 { (char *)"MenuItem_SetAccel", (PyCFunction) _wrap_MenuItem_SetAccel, METH_VARARGS | METH_KEYWORDS },
36796 { (char *)"MenuItem_SetFont", (PyCFunction) _wrap_MenuItem_SetFont, METH_VARARGS | METH_KEYWORDS },
36797 { (char *)"MenuItem_GetFont", (PyCFunction) _wrap_MenuItem_GetFont, METH_VARARGS | METH_KEYWORDS },
36798 { (char *)"MenuItem_SetTextColour", (PyCFunction) _wrap_MenuItem_SetTextColour, METH_VARARGS | METH_KEYWORDS },
36799 { (char *)"MenuItem_GetTextColour", (PyCFunction) _wrap_MenuItem_GetTextColour, METH_VARARGS | METH_KEYWORDS },
36800 { (char *)"MenuItem_SetBackgroundColour", (PyCFunction) _wrap_MenuItem_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
36801 { (char *)"MenuItem_GetBackgroundColour", (PyCFunction) _wrap_MenuItem_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
36802 { (char *)"MenuItem_SetBitmaps", (PyCFunction) _wrap_MenuItem_SetBitmaps, METH_VARARGS | METH_KEYWORDS },
36803 { (char *)"MenuItem_SetDisabledBitmap", (PyCFunction) _wrap_MenuItem_SetDisabledBitmap, METH_VARARGS | METH_KEYWORDS },
36804 { (char *)"MenuItem_GetDisabledBitmap", (PyCFunction) _wrap_MenuItem_GetDisabledBitmap, METH_VARARGS | METH_KEYWORDS },
36805 { (char *)"MenuItem_SetMarginWidth", (PyCFunction) _wrap_MenuItem_SetMarginWidth, METH_VARARGS | METH_KEYWORDS },
36806 { (char *)"MenuItem_GetMarginWidth", (PyCFunction) _wrap_MenuItem_GetMarginWidth, METH_VARARGS | METH_KEYWORDS },
36807 { (char *)"MenuItem_GetDefaultMarginWidth", (PyCFunction) _wrap_MenuItem_GetDefaultMarginWidth, METH_VARARGS | METH_KEYWORDS },
36808 { (char *)"MenuItem_IsOwnerDrawn", (PyCFunction) _wrap_MenuItem_IsOwnerDrawn, METH_VARARGS | METH_KEYWORDS },
36809 { (char *)"MenuItem_SetOwnerDrawn", (PyCFunction) _wrap_MenuItem_SetOwnerDrawn, METH_VARARGS | METH_KEYWORDS },
36810 { (char *)"MenuItem_ResetOwnerDrawn", (PyCFunction) _wrap_MenuItem_ResetOwnerDrawn, METH_VARARGS | METH_KEYWORDS },
36811 { (char *)"MenuItem_SetBitmap", (PyCFunction) _wrap_MenuItem_SetBitmap, METH_VARARGS | METH_KEYWORDS },
36812 { (char *)"MenuItem_GetBitmap", (PyCFunction) _wrap_MenuItem_GetBitmap, METH_VARARGS | METH_KEYWORDS },
36813 { (char *)"MenuItem_swigregister", MenuItem_swigregister, METH_VARARGS },
36814 { (char *)"new_Control", (PyCFunction) _wrap_new_Control, METH_VARARGS | METH_KEYWORDS },
36815 { (char *)"new_PreControl", (PyCFunction) _wrap_new_PreControl, METH_VARARGS | METH_KEYWORDS },
36816 { (char *)"Control_Create", (PyCFunction) _wrap_Control_Create, METH_VARARGS | METH_KEYWORDS },
36817 { (char *)"Control_Command", (PyCFunction) _wrap_Control_Command, METH_VARARGS | METH_KEYWORDS },
36818 { (char *)"Control_GetLabel", (PyCFunction) _wrap_Control_GetLabel, METH_VARARGS | METH_KEYWORDS },
36819 { (char *)"Control_SetLabel", (PyCFunction) _wrap_Control_SetLabel, METH_VARARGS | METH_KEYWORDS },
36820 { (char *)"Control_swigregister", Control_swigregister, METH_VARARGS },
36821 { (char *)"ItemContainer_Append", (PyCFunction) _wrap_ItemContainer_Append, METH_VARARGS | METH_KEYWORDS },
36822 { (char *)"ItemContainer_AppendItems", (PyCFunction) _wrap_ItemContainer_AppendItems, METH_VARARGS | METH_KEYWORDS },
36823 { (char *)"ItemContainer_Insert", (PyCFunction) _wrap_ItemContainer_Insert, METH_VARARGS | METH_KEYWORDS },
36824 { (char *)"ItemContainer_Clear", (PyCFunction) _wrap_ItemContainer_Clear, METH_VARARGS | METH_KEYWORDS },
36825 { (char *)"ItemContainer_Delete", (PyCFunction) _wrap_ItemContainer_Delete, METH_VARARGS | METH_KEYWORDS },
36826 { (char *)"ItemContainer_GetCount", (PyCFunction) _wrap_ItemContainer_GetCount, METH_VARARGS | METH_KEYWORDS },
36827 { (char *)"ItemContainer_IsEmpty", (PyCFunction) _wrap_ItemContainer_IsEmpty, METH_VARARGS | METH_KEYWORDS },
36828 { (char *)"ItemContainer_GetString", (PyCFunction) _wrap_ItemContainer_GetString, METH_VARARGS | METH_KEYWORDS },
36829 { (char *)"ItemContainer_GetStrings", (PyCFunction) _wrap_ItemContainer_GetStrings, METH_VARARGS | METH_KEYWORDS },
36830 { (char *)"ItemContainer_SetString", (PyCFunction) _wrap_ItemContainer_SetString, METH_VARARGS | METH_KEYWORDS },
36831 { (char *)"ItemContainer_FindString", (PyCFunction) _wrap_ItemContainer_FindString, METH_VARARGS | METH_KEYWORDS },
36832 { (char *)"ItemContainer_Select", (PyCFunction) _wrap_ItemContainer_Select, METH_VARARGS | METH_KEYWORDS },
36833 { (char *)"ItemContainer_GetSelection", (PyCFunction) _wrap_ItemContainer_GetSelection, METH_VARARGS | METH_KEYWORDS },
36834 { (char *)"ItemContainer_GetStringSelection", (PyCFunction) _wrap_ItemContainer_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
36835 { (char *)"ItemContainer_GetClientData", (PyCFunction) _wrap_ItemContainer_GetClientData, METH_VARARGS | METH_KEYWORDS },
36836 { (char *)"ItemContainer_SetClientData", (PyCFunction) _wrap_ItemContainer_SetClientData, METH_VARARGS | METH_KEYWORDS },
36837 { (char *)"ItemContainer_swigregister", ItemContainer_swigregister, METH_VARARGS },
36838 { (char *)"ControlWithItems_swigregister", ControlWithItems_swigregister, METH_VARARGS },
36839 { (char *)"new_SizerItem", (PyCFunction) _wrap_new_SizerItem, METH_VARARGS | METH_KEYWORDS },
36840 { (char *)"new_SizerItemSpacer", (PyCFunction) _wrap_new_SizerItemSpacer, METH_VARARGS | METH_KEYWORDS },
36841 { (char *)"new_SizerItemWindow", (PyCFunction) _wrap_new_SizerItemWindow, METH_VARARGS | METH_KEYWORDS },
36842 { (char *)"new_SizerItemSizer", (PyCFunction) _wrap_new_SizerItemSizer, METH_VARARGS | METH_KEYWORDS },
36843 { (char *)"SizerItem_DeleteWindows", (PyCFunction) _wrap_SizerItem_DeleteWindows, METH_VARARGS | METH_KEYWORDS },
36844 { (char *)"SizerItem_DetachSizer", (PyCFunction) _wrap_SizerItem_DetachSizer, METH_VARARGS | METH_KEYWORDS },
36845 { (char *)"SizerItem_GetSize", (PyCFunction) _wrap_SizerItem_GetSize, METH_VARARGS | METH_KEYWORDS },
36846 { (char *)"SizerItem_CalcMin", (PyCFunction) _wrap_SizerItem_CalcMin, METH_VARARGS | METH_KEYWORDS },
36847 { (char *)"SizerItem_SetDimension", (PyCFunction) _wrap_SizerItem_SetDimension, METH_VARARGS | METH_KEYWORDS },
36848 { (char *)"SizerItem_GetMinSize", (PyCFunction) _wrap_SizerItem_GetMinSize, METH_VARARGS | METH_KEYWORDS },
36849 { (char *)"SizerItem_SetInitSize", (PyCFunction) _wrap_SizerItem_SetInitSize, METH_VARARGS | METH_KEYWORDS },
36850 { (char *)"SizerItem_SetRatioWH", (PyCFunction) _wrap_SizerItem_SetRatioWH, METH_VARARGS | METH_KEYWORDS },
36851 { (char *)"SizerItem_SetRatioSize", (PyCFunction) _wrap_SizerItem_SetRatioSize, METH_VARARGS | METH_KEYWORDS },
36852 { (char *)"SizerItem_SetRatio", (PyCFunction) _wrap_SizerItem_SetRatio, METH_VARARGS | METH_KEYWORDS },
36853 { (char *)"SizerItem_GetRatio", (PyCFunction) _wrap_SizerItem_GetRatio, METH_VARARGS | METH_KEYWORDS },
36854 { (char *)"SizerItem_IsWindow", (PyCFunction) _wrap_SizerItem_IsWindow, METH_VARARGS | METH_KEYWORDS },
36855 { (char *)"SizerItem_IsSizer", (PyCFunction) _wrap_SizerItem_IsSizer, METH_VARARGS | METH_KEYWORDS },
36856 { (char *)"SizerItem_IsSpacer", (PyCFunction) _wrap_SizerItem_IsSpacer, METH_VARARGS | METH_KEYWORDS },
36857 { (char *)"SizerItem_SetProportion", (PyCFunction) _wrap_SizerItem_SetProportion, METH_VARARGS | METH_KEYWORDS },
36858 { (char *)"SizerItem_GetProportion", (PyCFunction) _wrap_SizerItem_GetProportion, METH_VARARGS | METH_KEYWORDS },
36859 { (char *)"SizerItem_SetFlag", (PyCFunction) _wrap_SizerItem_SetFlag, METH_VARARGS | METH_KEYWORDS },
36860 { (char *)"SizerItem_GetFlag", (PyCFunction) _wrap_SizerItem_GetFlag, METH_VARARGS | METH_KEYWORDS },
36861 { (char *)"SizerItem_SetBorder", (PyCFunction) _wrap_SizerItem_SetBorder, METH_VARARGS | METH_KEYWORDS },
36862 { (char *)"SizerItem_GetBorder", (PyCFunction) _wrap_SizerItem_GetBorder, METH_VARARGS | METH_KEYWORDS },
36863 { (char *)"SizerItem_GetWindow", (PyCFunction) _wrap_SizerItem_GetWindow, METH_VARARGS | METH_KEYWORDS },
36864 { (char *)"SizerItem_SetWindow", (PyCFunction) _wrap_SizerItem_SetWindow, METH_VARARGS | METH_KEYWORDS },
36865 { (char *)"SizerItem_GetSizer", (PyCFunction) _wrap_SizerItem_GetSizer, METH_VARARGS | METH_KEYWORDS },
36866 { (char *)"SizerItem_SetSizer", (PyCFunction) _wrap_SizerItem_SetSizer, METH_VARARGS | METH_KEYWORDS },
36867 { (char *)"SizerItem_GetSpacer", (PyCFunction) _wrap_SizerItem_GetSpacer, METH_VARARGS | METH_KEYWORDS },
36868 { (char *)"SizerItem_SetSpacer", (PyCFunction) _wrap_SizerItem_SetSpacer, METH_VARARGS | METH_KEYWORDS },
36869 { (char *)"SizerItem_Show", (PyCFunction) _wrap_SizerItem_Show, METH_VARARGS | METH_KEYWORDS },
36870 { (char *)"SizerItem_IsShown", (PyCFunction) _wrap_SizerItem_IsShown, METH_VARARGS | METH_KEYWORDS },
36871 { (char *)"SizerItem_GetPosition", (PyCFunction) _wrap_SizerItem_GetPosition, METH_VARARGS | METH_KEYWORDS },
36872 { (char *)"SizerItem_GetUserData", (PyCFunction) _wrap_SizerItem_GetUserData, METH_VARARGS | METH_KEYWORDS },
36873 { (char *)"SizerItem_swigregister", SizerItem_swigregister, METH_VARARGS },
36874 { (char *)"Sizer__setOORInfo", (PyCFunction) _wrap_Sizer__setOORInfo, METH_VARARGS | METH_KEYWORDS },
36875 { (char *)"Sizer_Add", (PyCFunction) _wrap_Sizer_Add, METH_VARARGS | METH_KEYWORDS },
36876 { (char *)"Sizer_Insert", (PyCFunction) _wrap_Sizer_Insert, METH_VARARGS | METH_KEYWORDS },
36877 { (char *)"Sizer_Prepend", (PyCFunction) _wrap_Sizer_Prepend, METH_VARARGS | METH_KEYWORDS },
36878 { (char *)"Sizer_Remove", (PyCFunction) _wrap_Sizer_Remove, METH_VARARGS | METH_KEYWORDS },
36879 { (char *)"Sizer__SetItemMinSize", (PyCFunction) _wrap_Sizer__SetItemMinSize, METH_VARARGS | METH_KEYWORDS },
36880 { (char *)"Sizer_AddItem", (PyCFunction) _wrap_Sizer_AddItem, METH_VARARGS | METH_KEYWORDS },
36881 { (char *)"Sizer_InsertItem", (PyCFunction) _wrap_Sizer_InsertItem, METH_VARARGS | METH_KEYWORDS },
36882 { (char *)"Sizer_PrependItem", (PyCFunction) _wrap_Sizer_PrependItem, METH_VARARGS | METH_KEYWORDS },
36883 { (char *)"Sizer_SetDimension", (PyCFunction) _wrap_Sizer_SetDimension, METH_VARARGS | METH_KEYWORDS },
36884 { (char *)"Sizer_SetMinSize", (PyCFunction) _wrap_Sizer_SetMinSize, METH_VARARGS | METH_KEYWORDS },
36885 { (char *)"Sizer_GetSize", (PyCFunction) _wrap_Sizer_GetSize, METH_VARARGS | METH_KEYWORDS },
36886 { (char *)"Sizer_GetPosition", (PyCFunction) _wrap_Sizer_GetPosition, METH_VARARGS | METH_KEYWORDS },
36887 { (char *)"Sizer_GetMinSize", (PyCFunction) _wrap_Sizer_GetMinSize, METH_VARARGS | METH_KEYWORDS },
36888 { (char *)"Sizer_RecalcSizes", (PyCFunction) _wrap_Sizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
36889 { (char *)"Sizer_CalcMin", (PyCFunction) _wrap_Sizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
36890 { (char *)"Sizer_Layout", (PyCFunction) _wrap_Sizer_Layout, METH_VARARGS | METH_KEYWORDS },
36891 { (char *)"Sizer_Fit", (PyCFunction) _wrap_Sizer_Fit, METH_VARARGS | METH_KEYWORDS },
36892 { (char *)"Sizer_FitInside", (PyCFunction) _wrap_Sizer_FitInside, METH_VARARGS | METH_KEYWORDS },
36893 { (char *)"Sizer_SetSizeHints", (PyCFunction) _wrap_Sizer_SetSizeHints, METH_VARARGS | METH_KEYWORDS },
36894 { (char *)"Sizer_SetVirtualSizeHints", (PyCFunction) _wrap_Sizer_SetVirtualSizeHints, METH_VARARGS | METH_KEYWORDS },
36895 { (char *)"Sizer_Clear", (PyCFunction) _wrap_Sizer_Clear, METH_VARARGS | METH_KEYWORDS },
36896 { (char *)"Sizer_DeleteWindows", (PyCFunction) _wrap_Sizer_DeleteWindows, METH_VARARGS | METH_KEYWORDS },
36897 { (char *)"Sizer_GetChildren", (PyCFunction) _wrap_Sizer_GetChildren, METH_VARARGS | METH_KEYWORDS },
36898 { (char *)"Sizer_Show", (PyCFunction) _wrap_Sizer_Show, METH_VARARGS | METH_KEYWORDS },
36899 { (char *)"Sizer_Hide", (PyCFunction) _wrap_Sizer_Hide, METH_VARARGS | METH_KEYWORDS },
36900 { (char *)"Sizer_IsShown", (PyCFunction) _wrap_Sizer_IsShown, METH_VARARGS | METH_KEYWORDS },
36901 { (char *)"Sizer_ShowItems", (PyCFunction) _wrap_Sizer_ShowItems, METH_VARARGS | METH_KEYWORDS },
36902 { (char *)"Sizer_swigregister", Sizer_swigregister, METH_VARARGS },
36903 { (char *)"new_PySizer", (PyCFunction) _wrap_new_PySizer, METH_VARARGS | METH_KEYWORDS },
36904 { (char *)"PySizer__setCallbackInfo", (PyCFunction) _wrap_PySizer__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
36905 { (char *)"PySizer_swigregister", PySizer_swigregister, METH_VARARGS },
36906 { (char *)"new_BoxSizer", (PyCFunction) _wrap_new_BoxSizer, METH_VARARGS | METH_KEYWORDS },
36907 { (char *)"BoxSizer_GetOrientation", (PyCFunction) _wrap_BoxSizer_GetOrientation, METH_VARARGS | METH_KEYWORDS },
36908 { (char *)"BoxSizer_SetOrientation", (PyCFunction) _wrap_BoxSizer_SetOrientation, METH_VARARGS | METH_KEYWORDS },
36909 { (char *)"BoxSizer_RecalcSizes", (PyCFunction) _wrap_BoxSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
36910 { (char *)"BoxSizer_CalcMin", (PyCFunction) _wrap_BoxSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
36911 { (char *)"BoxSizer_swigregister", BoxSizer_swigregister, METH_VARARGS },
36912 { (char *)"new_StaticBoxSizer", (PyCFunction) _wrap_new_StaticBoxSizer, METH_VARARGS | METH_KEYWORDS },
36913 { (char *)"StaticBoxSizer_GetStaticBox", (PyCFunction) _wrap_StaticBoxSizer_GetStaticBox, METH_VARARGS | METH_KEYWORDS },
36914 { (char *)"StaticBoxSizer_RecalcSizes", (PyCFunction) _wrap_StaticBoxSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
36915 { (char *)"StaticBoxSizer_CalcMin", (PyCFunction) _wrap_StaticBoxSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
36916 { (char *)"StaticBoxSizer_swigregister", StaticBoxSizer_swigregister, METH_VARARGS },
36917 { (char *)"new_GridSizer", (PyCFunction) _wrap_new_GridSizer, METH_VARARGS | METH_KEYWORDS },
36918 { (char *)"GridSizer_RecalcSizes", (PyCFunction) _wrap_GridSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
36919 { (char *)"GridSizer_CalcMin", (PyCFunction) _wrap_GridSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
36920 { (char *)"GridSizer_SetCols", (PyCFunction) _wrap_GridSizer_SetCols, METH_VARARGS | METH_KEYWORDS },
36921 { (char *)"GridSizer_SetRows", (PyCFunction) _wrap_GridSizer_SetRows, METH_VARARGS | METH_KEYWORDS },
36922 { (char *)"GridSizer_SetVGap", (PyCFunction) _wrap_GridSizer_SetVGap, METH_VARARGS | METH_KEYWORDS },
36923 { (char *)"GridSizer_SetHGap", (PyCFunction) _wrap_GridSizer_SetHGap, METH_VARARGS | METH_KEYWORDS },
36924 { (char *)"GridSizer_GetCols", (PyCFunction) _wrap_GridSizer_GetCols, METH_VARARGS | METH_KEYWORDS },
36925 { (char *)"GridSizer_GetRows", (PyCFunction) _wrap_GridSizer_GetRows, METH_VARARGS | METH_KEYWORDS },
36926 { (char *)"GridSizer_GetVGap", (PyCFunction) _wrap_GridSizer_GetVGap, METH_VARARGS | METH_KEYWORDS },
36927 { (char *)"GridSizer_GetHGap", (PyCFunction) _wrap_GridSizer_GetHGap, METH_VARARGS | METH_KEYWORDS },
36928 { (char *)"GridSizer_swigregister", GridSizer_swigregister, METH_VARARGS },
36929 { (char *)"new_FlexGridSizer", (PyCFunction) _wrap_new_FlexGridSizer, METH_VARARGS | METH_KEYWORDS },
36930 { (char *)"FlexGridSizer_RecalcSizes", (PyCFunction) _wrap_FlexGridSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
36931 { (char *)"FlexGridSizer_CalcMin", (PyCFunction) _wrap_FlexGridSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
36932 { (char *)"FlexGridSizer_AddGrowableRow", (PyCFunction) _wrap_FlexGridSizer_AddGrowableRow, METH_VARARGS | METH_KEYWORDS },
36933 { (char *)"FlexGridSizer_RemoveGrowableRow", (PyCFunction) _wrap_FlexGridSizer_RemoveGrowableRow, METH_VARARGS | METH_KEYWORDS },
36934 { (char *)"FlexGridSizer_AddGrowableCol", (PyCFunction) _wrap_FlexGridSizer_AddGrowableCol, METH_VARARGS | METH_KEYWORDS },
36935 { (char *)"FlexGridSizer_RemoveGrowableCol", (PyCFunction) _wrap_FlexGridSizer_RemoveGrowableCol, METH_VARARGS | METH_KEYWORDS },
36936 { (char *)"FlexGridSizer_SetFlexibleDirection", (PyCFunction) _wrap_FlexGridSizer_SetFlexibleDirection, METH_VARARGS | METH_KEYWORDS },
36937 { (char *)"FlexGridSizer_GetFlexibleDirection", (PyCFunction) _wrap_FlexGridSizer_GetFlexibleDirection, METH_VARARGS | METH_KEYWORDS },
36938 { (char *)"FlexGridSizer_SetNonFlexibleGrowMode", (PyCFunction) _wrap_FlexGridSizer_SetNonFlexibleGrowMode, METH_VARARGS | METH_KEYWORDS },
36939 { (char *)"FlexGridSizer_GetNonFlexibleGrowMode", (PyCFunction) _wrap_FlexGridSizer_GetNonFlexibleGrowMode, METH_VARARGS | METH_KEYWORDS },
36940 { (char *)"FlexGridSizer_GetRowHeights", (PyCFunction) _wrap_FlexGridSizer_GetRowHeights, METH_VARARGS | METH_KEYWORDS },
36941 { (char *)"FlexGridSizer_GetColWidths", (PyCFunction) _wrap_FlexGridSizer_GetColWidths, METH_VARARGS | METH_KEYWORDS },
36942 { (char *)"FlexGridSizer_swigregister", FlexGridSizer_swigregister, METH_VARARGS },
36943 { (char *)"new_GBPosition", (PyCFunction) _wrap_new_GBPosition, METH_VARARGS | METH_KEYWORDS },
36944 { (char *)"GBPosition_GetRow", (PyCFunction) _wrap_GBPosition_GetRow, METH_VARARGS | METH_KEYWORDS },
36945 { (char *)"GBPosition_GetCol", (PyCFunction) _wrap_GBPosition_GetCol, METH_VARARGS | METH_KEYWORDS },
36946 { (char *)"GBPosition_SetRow", (PyCFunction) _wrap_GBPosition_SetRow, METH_VARARGS | METH_KEYWORDS },
36947 { (char *)"GBPosition_SetCol", (PyCFunction) _wrap_GBPosition_SetCol, METH_VARARGS | METH_KEYWORDS },
36948 { (char *)"GBPosition___eq__", (PyCFunction) _wrap_GBPosition___eq__, METH_VARARGS | METH_KEYWORDS },
36949 { (char *)"GBPosition___ne__", (PyCFunction) _wrap_GBPosition___ne__, METH_VARARGS | METH_KEYWORDS },
36950 { (char *)"GBPosition_Set", (PyCFunction) _wrap_GBPosition_Set, METH_VARARGS | METH_KEYWORDS },
36951 { (char *)"GBPosition_Get", (PyCFunction) _wrap_GBPosition_Get, METH_VARARGS | METH_KEYWORDS },
36952 { (char *)"GBPosition_swigregister", GBPosition_swigregister, METH_VARARGS },
36953 { (char *)"new_GBSpan", (PyCFunction) _wrap_new_GBSpan, METH_VARARGS | METH_KEYWORDS },
36954 { (char *)"GBSpan_GetRowspan", (PyCFunction) _wrap_GBSpan_GetRowspan, METH_VARARGS | METH_KEYWORDS },
36955 { (char *)"GBSpan_GetColspan", (PyCFunction) _wrap_GBSpan_GetColspan, METH_VARARGS | METH_KEYWORDS },
36956 { (char *)"GBSpan_SetRowspan", (PyCFunction) _wrap_GBSpan_SetRowspan, METH_VARARGS | METH_KEYWORDS },
36957 { (char *)"GBSpan_SetColspan", (PyCFunction) _wrap_GBSpan_SetColspan, METH_VARARGS | METH_KEYWORDS },
36958 { (char *)"GBSpan___eq__", (PyCFunction) _wrap_GBSpan___eq__, METH_VARARGS | METH_KEYWORDS },
36959 { (char *)"GBSpan___ne__", (PyCFunction) _wrap_GBSpan___ne__, METH_VARARGS | METH_KEYWORDS },
36960 { (char *)"GBSpan_Set", (PyCFunction) _wrap_GBSpan_Set, METH_VARARGS | METH_KEYWORDS },
36961 { (char *)"GBSpan_Get", (PyCFunction) _wrap_GBSpan_Get, METH_VARARGS | METH_KEYWORDS },
36962 { (char *)"GBSpan_swigregister", GBSpan_swigregister, METH_VARARGS },
36963 { (char *)"new_GBSizerItem", (PyCFunction) _wrap_new_GBSizerItem, METH_VARARGS | METH_KEYWORDS },
36964 { (char *)"new_GBSizerItemWindow", (PyCFunction) _wrap_new_GBSizerItemWindow, METH_VARARGS | METH_KEYWORDS },
36965 { (char *)"new_GBSizerItemSizer", (PyCFunction) _wrap_new_GBSizerItemSizer, METH_VARARGS | METH_KEYWORDS },
36966 { (char *)"new_GBSizerItemSpacer", (PyCFunction) _wrap_new_GBSizerItemSpacer, METH_VARARGS | METH_KEYWORDS },
36967 { (char *)"GBSizerItem_GetPos", (PyCFunction) _wrap_GBSizerItem_GetPos, METH_VARARGS | METH_KEYWORDS },
36968 { (char *)"GBSizerItem_GetSpan", (PyCFunction) _wrap_GBSizerItem_GetSpan, METH_VARARGS | METH_KEYWORDS },
36969 { (char *)"GBSizerItem_SetPos", (PyCFunction) _wrap_GBSizerItem_SetPos, METH_VARARGS | METH_KEYWORDS },
36970 { (char *)"GBSizerItem_SetSpan", (PyCFunction) _wrap_GBSizerItem_SetSpan, METH_VARARGS | METH_KEYWORDS },
36971 { (char *)"GBSizerItem_Intersects", _wrap_GBSizerItem_Intersects, METH_VARARGS },
36972 { (char *)"GBSizerItem_GetEndPos", (PyCFunction) _wrap_GBSizerItem_GetEndPos, METH_VARARGS | METH_KEYWORDS },
36973 { (char *)"GBSizerItem_GetGBSizer", (PyCFunction) _wrap_GBSizerItem_GetGBSizer, METH_VARARGS | METH_KEYWORDS },
36974 { (char *)"GBSizerItem_SetGBSizer", (PyCFunction) _wrap_GBSizerItem_SetGBSizer, METH_VARARGS | METH_KEYWORDS },
36975 { (char *)"GBSizerItem_swigregister", GBSizerItem_swigregister, METH_VARARGS },
36976 { (char *)"new_GridBagSizer", (PyCFunction) _wrap_new_GridBagSizer, METH_VARARGS | METH_KEYWORDS },
36977 { (char *)"GridBagSizer_Add", (PyCFunction) _wrap_GridBagSizer_Add, METH_VARARGS | METH_KEYWORDS },
36978 { (char *)"GridBagSizer_AddItem", (PyCFunction) _wrap_GridBagSizer_AddItem, METH_VARARGS | METH_KEYWORDS },
36979 { (char *)"GridBagSizer_GetEmptyCellSize", (PyCFunction) _wrap_GridBagSizer_GetEmptyCellSize, METH_VARARGS | METH_KEYWORDS },
36980 { (char *)"GridBagSizer_SetEmptyCellSize", (PyCFunction) _wrap_GridBagSizer_SetEmptyCellSize, METH_VARARGS | METH_KEYWORDS },
36981 { (char *)"GridBagSizer_GetItemPosition", _wrap_GridBagSizer_GetItemPosition, METH_VARARGS },
36982 { (char *)"GridBagSizer_SetItemPosition", _wrap_GridBagSizer_SetItemPosition, METH_VARARGS },
36983 { (char *)"GridBagSizer_GetItemSpan", _wrap_GridBagSizer_GetItemSpan, METH_VARARGS },
36984 { (char *)"GridBagSizer_SetItemSpan", _wrap_GridBagSizer_SetItemSpan, METH_VARARGS },
36985 { (char *)"GridBagSizer_FindItem", _wrap_GridBagSizer_FindItem, METH_VARARGS },
36986 { (char *)"GridBagSizer_FindItemAtPosition", (PyCFunction) _wrap_GridBagSizer_FindItemAtPosition, METH_VARARGS | METH_KEYWORDS },
36987 { (char *)"GridBagSizer_FindItemAtPoint", (PyCFunction) _wrap_GridBagSizer_FindItemAtPoint, METH_VARARGS | METH_KEYWORDS },
36988 { (char *)"GridBagSizer_FindItemWithData", (PyCFunction) _wrap_GridBagSizer_FindItemWithData, METH_VARARGS | METH_KEYWORDS },
36989 { (char *)"GridBagSizer_RecalcSizes", (PyCFunction) _wrap_GridBagSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
36990 { (char *)"GridBagSizer_CalcMin", (PyCFunction) _wrap_GridBagSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
36991 { (char *)"GridBagSizer_CheckForIntersection", _wrap_GridBagSizer_CheckForIntersection, METH_VARARGS },
36992 { (char *)"GridBagSizer_swigregister", GridBagSizer_swigregister, METH_VARARGS },
36993 { (char *)"IndividualLayoutConstraint_Set", (PyCFunction) _wrap_IndividualLayoutConstraint_Set, METH_VARARGS | METH_KEYWORDS },
36994 { (char *)"IndividualLayoutConstraint_LeftOf", (PyCFunction) _wrap_IndividualLayoutConstraint_LeftOf, METH_VARARGS | METH_KEYWORDS },
36995 { (char *)"IndividualLayoutConstraint_RightOf", (PyCFunction) _wrap_IndividualLayoutConstraint_RightOf, METH_VARARGS | METH_KEYWORDS },
36996 { (char *)"IndividualLayoutConstraint_Above", (PyCFunction) _wrap_IndividualLayoutConstraint_Above, METH_VARARGS | METH_KEYWORDS },
36997 { (char *)"IndividualLayoutConstraint_Below", (PyCFunction) _wrap_IndividualLayoutConstraint_Below, METH_VARARGS | METH_KEYWORDS },
36998 { (char *)"IndividualLayoutConstraint_SameAs", (PyCFunction) _wrap_IndividualLayoutConstraint_SameAs, METH_VARARGS | METH_KEYWORDS },
36999 { (char *)"IndividualLayoutConstraint_PercentOf", (PyCFunction) _wrap_IndividualLayoutConstraint_PercentOf, METH_VARARGS | METH_KEYWORDS },
37000 { (char *)"IndividualLayoutConstraint_Absolute", (PyCFunction) _wrap_IndividualLayoutConstraint_Absolute, METH_VARARGS | METH_KEYWORDS },
37001 { (char *)"IndividualLayoutConstraint_Unconstrained", (PyCFunction) _wrap_IndividualLayoutConstraint_Unconstrained, METH_VARARGS | METH_KEYWORDS },
37002 { (char *)"IndividualLayoutConstraint_AsIs", (PyCFunction) _wrap_IndividualLayoutConstraint_AsIs, METH_VARARGS | METH_KEYWORDS },
37003 { (char *)"IndividualLayoutConstraint_GetOtherWindow", (PyCFunction) _wrap_IndividualLayoutConstraint_GetOtherWindow, METH_VARARGS | METH_KEYWORDS },
37004 { (char *)"IndividualLayoutConstraint_GetMyEdge", (PyCFunction) _wrap_IndividualLayoutConstraint_GetMyEdge, METH_VARARGS | METH_KEYWORDS },
37005 { (char *)"IndividualLayoutConstraint_SetEdge", (PyCFunction) _wrap_IndividualLayoutConstraint_SetEdge, METH_VARARGS | METH_KEYWORDS },
37006 { (char *)"IndividualLayoutConstraint_SetValue", (PyCFunction) _wrap_IndividualLayoutConstraint_SetValue, METH_VARARGS | METH_KEYWORDS },
37007 { (char *)"IndividualLayoutConstraint_GetMargin", (PyCFunction) _wrap_IndividualLayoutConstraint_GetMargin, METH_VARARGS | METH_KEYWORDS },
37008 { (char *)"IndividualLayoutConstraint_SetMargin", (PyCFunction) _wrap_IndividualLayoutConstraint_SetMargin, METH_VARARGS | METH_KEYWORDS },
37009 { (char *)"IndividualLayoutConstraint_GetValue", (PyCFunction) _wrap_IndividualLayoutConstraint_GetValue, METH_VARARGS | METH_KEYWORDS },
37010 { (char *)"IndividualLayoutConstraint_GetPercent", (PyCFunction) _wrap_IndividualLayoutConstraint_GetPercent, METH_VARARGS | METH_KEYWORDS },
37011 { (char *)"IndividualLayoutConstraint_GetOtherEdge", (PyCFunction) _wrap_IndividualLayoutConstraint_GetOtherEdge, METH_VARARGS | METH_KEYWORDS },
37012 { (char *)"IndividualLayoutConstraint_GetDone", (PyCFunction) _wrap_IndividualLayoutConstraint_GetDone, METH_VARARGS | METH_KEYWORDS },
37013 { (char *)"IndividualLayoutConstraint_SetDone", (PyCFunction) _wrap_IndividualLayoutConstraint_SetDone, METH_VARARGS | METH_KEYWORDS },
37014 { (char *)"IndividualLayoutConstraint_GetRelationship", (PyCFunction) _wrap_IndividualLayoutConstraint_GetRelationship, METH_VARARGS | METH_KEYWORDS },
37015 { (char *)"IndividualLayoutConstraint_SetRelationship", (PyCFunction) _wrap_IndividualLayoutConstraint_SetRelationship, METH_VARARGS | METH_KEYWORDS },
37016 { (char *)"IndividualLayoutConstraint_ResetIfWin", (PyCFunction) _wrap_IndividualLayoutConstraint_ResetIfWin, METH_VARARGS | METH_KEYWORDS },
37017 { (char *)"IndividualLayoutConstraint_SatisfyConstraint", (PyCFunction) _wrap_IndividualLayoutConstraint_SatisfyConstraint, METH_VARARGS | METH_KEYWORDS },
37018 { (char *)"IndividualLayoutConstraint_GetEdge", (PyCFunction) _wrap_IndividualLayoutConstraint_GetEdge, METH_VARARGS | METH_KEYWORDS },
37019 { (char *)"IndividualLayoutConstraint_swigregister", IndividualLayoutConstraint_swigregister, METH_VARARGS },
37020 { (char *)"LayoutConstraints_left_get", (PyCFunction) _wrap_LayoutConstraints_left_get, METH_VARARGS | METH_KEYWORDS },
37021 { (char *)"LayoutConstraints_top_get", (PyCFunction) _wrap_LayoutConstraints_top_get, METH_VARARGS | METH_KEYWORDS },
37022 { (char *)"LayoutConstraints_right_get", (PyCFunction) _wrap_LayoutConstraints_right_get, METH_VARARGS | METH_KEYWORDS },
37023 { (char *)"LayoutConstraints_bottom_get", (PyCFunction) _wrap_LayoutConstraints_bottom_get, METH_VARARGS | METH_KEYWORDS },
37024 { (char *)"LayoutConstraints_width_get", (PyCFunction) _wrap_LayoutConstraints_width_get, METH_VARARGS | METH_KEYWORDS },
37025 { (char *)"LayoutConstraints_height_get", (PyCFunction) _wrap_LayoutConstraints_height_get, METH_VARARGS | METH_KEYWORDS },
37026 { (char *)"LayoutConstraints_centreX_get", (PyCFunction) _wrap_LayoutConstraints_centreX_get, METH_VARARGS | METH_KEYWORDS },
37027 { (char *)"LayoutConstraints_centreY_get", (PyCFunction) _wrap_LayoutConstraints_centreY_get, METH_VARARGS | METH_KEYWORDS },
37028 { (char *)"new_LayoutConstraints", (PyCFunction) _wrap_new_LayoutConstraints, METH_VARARGS | METH_KEYWORDS },
37029 { (char *)"LayoutConstraints_SatisfyConstraints", (PyCFunction) _wrap_LayoutConstraints_SatisfyConstraints, METH_VARARGS | METH_KEYWORDS },
37030 { (char *)"LayoutConstraints_AreSatisfied", (PyCFunction) _wrap_LayoutConstraints_AreSatisfied, METH_VARARGS | METH_KEYWORDS },
37031 { (char *)"LayoutConstraints_swigregister", LayoutConstraints_swigregister, METH_VARARGS },
37032 { NULL, NULL }
37033 };
37034
37035
37036 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
37037
37038 static void *_p_wxGBSizerItemTo_p_wxSizerItem(void *x) {
37039 return (void *)((wxSizerItem *) ((wxGBSizerItem *) x));
37040 }
37041 static void *_p_wxBoxSizerTo_p_wxSizer(void *x) {
37042 return (void *)((wxSizer *) ((wxBoxSizer *) x));
37043 }
37044 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x) {
37045 return (void *)((wxSizer *) (wxBoxSizer *) ((wxStaticBoxSizer *) x));
37046 }
37047 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x) {
37048 return (void *)((wxSizer *) (wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
37049 }
37050 static void *_p_wxGridSizerTo_p_wxSizer(void *x) {
37051 return (void *)((wxSizer *) ((wxGridSizer *) x));
37052 }
37053 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x) {
37054 return (void *)((wxSizer *) (wxGridSizer *) ((wxFlexGridSizer *) x));
37055 }
37056 static void *_p_wxPySizerTo_p_wxSizer(void *x) {
37057 return (void *)((wxSizer *) ((wxPySizer *) x));
37058 }
37059 static void *_p_wxStaticBoxSizerTo_p_wxBoxSizer(void *x) {
37060 return (void *)((wxBoxSizer *) ((wxStaticBoxSizer *) x));
37061 }
37062 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
37063 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
37064 }
37065 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
37066 return (void *)((wxEvent *) ((wxMenuEvent *) x));
37067 }
37068 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
37069 return (void *)((wxEvent *) ((wxCloseEvent *) x));
37070 }
37071 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
37072 return (void *)((wxEvent *) ((wxMouseEvent *) x));
37073 }
37074 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
37075 return (void *)((wxEvent *) ((wxEraseEvent *) x));
37076 }
37077 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
37078 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
37079 }
37080 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
37081 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
37082 }
37083 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
37084 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
37085 }
37086 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
37087 return (void *)((wxEvent *) ((wxPyEvent *) x));
37088 }
37089 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
37090 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
37091 }
37092 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
37093 return (void *)((wxEvent *) ((wxIdleEvent *) x));
37094 }
37095 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
37096 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
37097 }
37098 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
37099 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
37100 }
37101 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
37102 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
37103 }
37104 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
37105 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
37106 }
37107 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
37108 return (void *)((wxEvent *) ((wxActivateEvent *) x));
37109 }
37110 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
37111 return (void *)((wxEvent *) ((wxSizeEvent *) x));
37112 }
37113 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
37114 return (void *)((wxEvent *) ((wxMoveEvent *) x));
37115 }
37116 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
37117 return (void *)((wxEvent *) ((wxPaintEvent *) x));
37118 }
37119 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
37120 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
37121 }
37122 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
37123 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
37124 }
37125 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
37126 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
37127 }
37128 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
37129 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
37130 }
37131 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
37132 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
37133 }
37134 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
37135 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
37136 }
37137 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
37138 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
37139 }
37140 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
37141 return (void *)((wxEvent *) ((wxFocusEvent *) x));
37142 }
37143 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
37144 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
37145 }
37146 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
37147 return (void *)((wxEvent *) ((wxShowEvent *) x));
37148 }
37149 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
37150 return (void *)((wxEvent *) ((wxCommandEvent *) x));
37151 }
37152 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
37153 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
37154 }
37155 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
37156 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
37157 }
37158 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
37159 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
37160 }
37161 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
37162 return (void *)((wxEvent *) ((wxKeyEvent *) x));
37163 }
37164 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
37165 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
37166 }
37167 static void *_p_wxGridBagSizerTo_p_wxGridSizer(void *x) {
37168 return (void *)((wxGridSizer *) (wxFlexGridSizer *) ((wxGridBagSizer *) x));
37169 }
37170 static void *_p_wxFlexGridSizerTo_p_wxGridSizer(void *x) {
37171 return (void *)((wxGridSizer *) ((wxFlexGridSizer *) x));
37172 }
37173 static void *_p_wxGridBagSizerTo_p_wxFlexGridSizer(void *x) {
37174 return (void *)((wxFlexGridSizer *) ((wxGridBagSizer *) x));
37175 }
37176 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x) {
37177 return (void *)((wxItemContainer *) ((wxControlWithItems *) x));
37178 }
37179 static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
37180 return (void *)((wxControl *) ((wxControlWithItems *) x));
37181 }
37182 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
37183 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
37184 }
37185 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
37186 return (void *)((wxEvtHandler *) ((wxWindow *) x));
37187 }
37188 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
37189 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
37190 }
37191 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
37192 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
37193 }
37194 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
37195 return (void *)((wxEvtHandler *) ((wxValidator *) x));
37196 }
37197 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
37198 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
37199 }
37200 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
37201 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
37202 }
37203 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
37204 return (void *)((wxEvtHandler *) ((wxMenu *) x));
37205 }
37206 static void *_p_wxANIHandlerTo_p_wxCURHandler(void *x) {
37207 return (void *)((wxCURHandler *) ((wxANIHandler *) x));
37208 }
37209 static void *_p_wxCURHandlerTo_p_wxICOHandler(void *x) {
37210 return (void *)((wxICOHandler *) ((wxCURHandler *) x));
37211 }
37212 static void *_p_wxANIHandlerTo_p_wxICOHandler(void *x) {
37213 return (void *)((wxICOHandler *) (wxCURHandler *) ((wxANIHandler *) x));
37214 }
37215 static void *_p_wxICOHandlerTo_p_wxBMPHandler(void *x) {
37216 return (void *)((wxBMPHandler *) ((wxICOHandler *) x));
37217 }
37218 static void *_p_wxCURHandlerTo_p_wxBMPHandler(void *x) {
37219 return (void *)((wxBMPHandler *) (wxICOHandler *) ((wxCURHandler *) x));
37220 }
37221 static void *_p_wxANIHandlerTo_p_wxBMPHandler(void *x) {
37222 return (void *)((wxBMPHandler *) (wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
37223 }
37224 static void *_p_wxBMPHandlerTo_p_wxImageHandler(void *x) {
37225 return (void *)((wxImageHandler *) ((wxBMPHandler *) x));
37226 }
37227 static void *_p_wxICOHandlerTo_p_wxImageHandler(void *x) {
37228 return (void *)((wxImageHandler *) (wxBMPHandler *) ((wxICOHandler *) x));
37229 }
37230 static void *_p_wxCURHandlerTo_p_wxImageHandler(void *x) {
37231 return (void *)((wxImageHandler *) (wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
37232 }
37233 static void *_p_wxANIHandlerTo_p_wxImageHandler(void *x) {
37234 return (void *)((wxImageHandler *) (wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
37235 }
37236 static void *_p_wxPNGHandlerTo_p_wxImageHandler(void *x) {
37237 return (void *)((wxImageHandler *) ((wxPNGHandler *) x));
37238 }
37239 static void *_p_wxGIFHandlerTo_p_wxImageHandler(void *x) {
37240 return (void *)((wxImageHandler *) ((wxGIFHandler *) x));
37241 }
37242 static void *_p_wxPCXHandlerTo_p_wxImageHandler(void *x) {
37243 return (void *)((wxImageHandler *) ((wxPCXHandler *) x));
37244 }
37245 static void *_p_wxJPEGHandlerTo_p_wxImageHandler(void *x) {
37246 return (void *)((wxImageHandler *) ((wxJPEGHandler *) x));
37247 }
37248 static void *_p_wxPNMHandlerTo_p_wxImageHandler(void *x) {
37249 return (void *)((wxImageHandler *) ((wxPNMHandler *) x));
37250 }
37251 static void *_p_wxXPMHandlerTo_p_wxImageHandler(void *x) {
37252 return (void *)((wxImageHandler *) ((wxXPMHandler *) x));
37253 }
37254 static void *_p_wxTIFFHandlerTo_p_wxImageHandler(void *x) {
37255 return (void *)((wxImageHandler *) ((wxTIFFHandler *) x));
37256 }
37257 static void *_p_wxPyFileSystemHandlerTo_p_wxFileSystemHandler(void *x) {
37258 return (void *)((wxFileSystemHandler *) ((wxPyFileSystemHandler *) x));
37259 }
37260 static void *_p_wxInternetFSHandlerTo_p_wxFileSystemHandler(void *x) {
37261 return (void *)((wxFileSystemHandler *) ((wxInternetFSHandler *) x));
37262 }
37263 static void *_p_wxZipFSHandlerTo_p_wxFileSystemHandler(void *x) {
37264 return (void *)((wxFileSystemHandler *) ((wxZipFSHandler *) x));
37265 }
37266 static void *_p_wxMemoryFSHandlerTo_p_wxFileSystemHandler(void *x) {
37267 return (void *)((wxFileSystemHandler *) ((wxMemoryFSHandler *) x));
37268 }
37269 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
37270 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
37271 }
37272 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
37273 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
37274 }
37275 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
37276 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
37277 }
37278 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
37279 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
37280 }
37281 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
37282 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
37283 }
37284 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
37285 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
37286 }
37287 static void *_p_wxValidatorTo_p_wxObject(void *x) {
37288 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
37289 }
37290 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
37291 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
37292 }
37293 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
37294 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
37295 }
37296 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
37297 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
37298 }
37299 static void *_p_wxSizerTo_p_wxObject(void *x) {
37300 return (void *)((wxObject *) ((wxSizer *) x));
37301 }
37302 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
37303 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
37304 }
37305 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
37306 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
37307 }
37308 static void *_p_wxMenuTo_p_wxObject(void *x) {
37309 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
37310 }
37311 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
37312 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
37313 }
37314 static void *_p_wxImageTo_p_wxObject(void *x) {
37315 return (void *)((wxObject *) ((wxImage *) x));
37316 }
37317 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
37318 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
37319 }
37320 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
37321 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
37322 }
37323 static void *_p_wxPyEventTo_p_wxObject(void *x) {
37324 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
37325 }
37326 static void *_p_wxWindowTo_p_wxObject(void *x) {
37327 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
37328 }
37329 static void *_p_wxControlTo_p_wxObject(void *x) {
37330 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
37331 }
37332 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
37333 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
37334 }
37335 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
37336 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
37337 }
37338 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
37339 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
37340 }
37341 static void *_p_wxPyAppTo_p_wxObject(void *x) {
37342 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
37343 }
37344 static void *_p_wxEventTo_p_wxObject(void *x) {
37345 return (void *)((wxObject *) ((wxEvent *) x));
37346 }
37347 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
37348 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
37349 }
37350 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
37351 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
37352 }
37353 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
37354 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
37355 }
37356 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
37357 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
37358 }
37359 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
37360 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
37361 }
37362 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
37363 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
37364 }
37365 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
37366 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
37367 }
37368 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
37369 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
37370 }
37371 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
37372 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
37373 }
37374 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
37375 return (void *)((wxObject *) ((wxEvtHandler *) x));
37376 }
37377 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
37378 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
37379 }
37380 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
37381 return (void *)((wxObject *) ((wxImageHandler *) x));
37382 }
37383 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
37384 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
37385 }
37386 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
37387 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
37388 }
37389 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
37390 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
37391 }
37392 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
37393 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
37394 }
37395 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
37396 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
37397 }
37398 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
37399 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
37400 }
37401 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
37402 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
37403 }
37404 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
37405 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
37406 }
37407 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
37408 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
37409 }
37410 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
37411 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
37412 }
37413 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
37414 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
37415 }
37416 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
37417 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
37418 }
37419 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
37420 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
37421 }
37422 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
37423 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
37424 }
37425 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
37426 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
37427 }
37428 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
37429 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
37430 }
37431 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
37432 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
37433 }
37434 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
37435 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
37436 }
37437 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
37438 return (void *)((wxObject *) ((wxFileSystem *) x));
37439 }
37440 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
37441 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
37442 }
37443 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
37444 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
37445 }
37446 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
37447 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
37448 }
37449 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
37450 return (void *)((wxObject *) ((wxSizerItem *) x));
37451 }
37452 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
37453 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
37454 }
37455 static void *_p_wxShowEventTo_p_wxObject(void *x) {
37456 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
37457 }
37458 static void *_p_wxFSFileTo_p_wxObject(void *x) {
37459 return (void *)((wxObject *) ((wxFSFile *) x));
37460 }
37461 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
37462 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
37463 }
37464 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
37465 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
37466 }
37467 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
37468 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
37469 }
37470 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
37471 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
37472 }
37473 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
37474 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
37475 }
37476 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
37477 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
37478 }
37479 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
37480 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
37481 }
37482 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
37483 return (void *)((wxObject *) ((wxMenuItem *) x));
37484 }
37485 static void *_p_wxPySizerTo_p_wxObject(void *x) {
37486 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
37487 }
37488 static void *_p_wxControlTo_p_wxWindow(void *x) {
37489 return (void *)((wxWindow *) ((wxControl *) x));
37490 }
37491 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
37492 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
37493 }
37494 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
37495 return (void *)((wxWindow *) ((wxMenuBar *) x));
37496 }
37497 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
37498 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
37499 }
37500 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
37501 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
37502 }
37503 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
37504 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
37505 }
37506 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
37507 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
37508 }
37509 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
37510 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
37511 }
37512 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
37513 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
37514 }
37515 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
37516 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
37517 }
37518 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
37519 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
37520 }
37521 static void *_p_wxPyValidatorTo_p_wxValidator(void *x) {
37522 return (void *)((wxValidator *) ((wxPyValidator *) x));
37523 }
37524 static swig_type_info _swigt__p_wxLayoutConstraints[] = {{"_p_wxLayoutConstraints", 0, "wxLayoutConstraints *", 0},{"_p_wxLayoutConstraints"},{0}};
37525 static swig_type_info _swigt__p_wxRealPoint[] = {{"_p_wxRealPoint", 0, "wxRealPoint *", 0},{"_p_wxRealPoint"},{0}};
37526 static swig_type_info _swigt__p_wxSizerItem[] = {{"_p_wxSizerItem", 0, "wxSizerItem *", 0},{"_p_wxSizerItem"},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxSizerItem},{0}};
37527 static swig_type_info _swigt__p_wxGBSizerItem[] = {{"_p_wxGBSizerItem", 0, "wxGBSizerItem *", 0},{"_p_wxGBSizerItem"},{0}};
37528 static swig_type_info _swigt__p_wxScrollEvent[] = {{"_p_wxScrollEvent", 0, "wxScrollEvent *", 0},{"_p_wxScrollEvent"},{0}};
37529 static swig_type_info _swigt__p_wxIndividualLayoutConstraint[] = {{"_p_wxIndividualLayoutConstraint", 0, "wxIndividualLayoutConstraint *", 0},{"_p_wxIndividualLayoutConstraint"},{0}};
37530 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}};
37531 static swig_type_info _swigt__p_wxBoxSizer[] = {{"_p_wxBoxSizer", 0, "wxBoxSizer *", 0},{"_p_wxBoxSizer"},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxBoxSizer},{0}};
37532 static swig_type_info _swigt__p_wxStaticBoxSizer[] = {{"_p_wxStaticBoxSizer", 0, "wxStaticBoxSizer *", 0},{"_p_wxStaticBoxSizer"},{0}};
37533 static swig_type_info _swigt__p_wxGridBagSizer[] = {{"_p_wxGridBagSizer", 0, "wxGridBagSizer *", 0},{"_p_wxGridBagSizer"},{0}};
37534 static swig_type_info _swigt__p_wxAcceleratorEntry[] = {{"_p_wxAcceleratorEntry", 0, "wxAcceleratorEntry *", 0},{"_p_wxAcceleratorEntry"},{0}};
37535 static swig_type_info _swigt__p_wxUpdateUIEvent[] = {{"_p_wxUpdateUIEvent", 0, "wxUpdateUIEvent *", 0},{"_p_wxUpdateUIEvent"},{0}};
37536 static swig_type_info _swigt__p_wxMenu[] = {{"_p_wxMenu", 0, "wxMenu *", 0},{"_p_wxMenu"},{0}};
37537 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}};
37538 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}};
37539 static swig_type_info _swigt__p_wxFlexGridSizer[] = {{"_p_wxFlexGridSizer", 0, "wxFlexGridSizer *", 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxFlexGridSizer},{"_p_wxFlexGridSizer"},{0}};
37540 static swig_type_info _swigt__p_wxInitDialogEvent[] = {{"_p_wxInitDialogEvent", 0, "wxInitDialogEvent *", 0},{"_p_wxInitDialogEvent"},{0}};
37541 static swig_type_info _swigt__p_wxItemContainer[] = {{"_p_wxItemContainer", 0, "wxItemContainer *", 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxItemContainer},{"_p_wxItemContainer"},{0}};
37542 static swig_type_info _swigt__p_wxNcPaintEvent[] = {{"_p_wxNcPaintEvent", 0, "wxNcPaintEvent *", 0},{"_p_wxNcPaintEvent"},{0}};
37543 static swig_type_info _swigt__p_wxPaintEvent[] = {{"_p_wxPaintEvent", 0, "wxPaintEvent *", 0},{"_p_wxPaintEvent"},{0}};
37544 static swig_type_info _swigt__p_wxSysColourChangedEvent[] = {{"_p_wxSysColourChangedEvent", 0, "wxSysColourChangedEvent *", 0},{"_p_wxSysColourChangedEvent"},{0}};
37545 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent[] = {{"_p_wxMouseCaptureChangedEvent", 0, "wxMouseCaptureChangedEvent *", 0},{"_p_wxMouseCaptureChangedEvent"},{0}};
37546 static swig_type_info _swigt__p_wxDisplayChangedEvent[] = {{"_p_wxDisplayChangedEvent", 0, "wxDisplayChangedEvent *", 0},{"_p_wxDisplayChangedEvent"},{0}};
37547 static swig_type_info _swigt__p_wxPaletteChangedEvent[] = {{"_p_wxPaletteChangedEvent", 0, "wxPaletteChangedEvent *", 0},{"_p_wxPaletteChangedEvent"},{0}};
37548 static swig_type_info _swigt__p_wxControl[] = {{"_p_wxControl", 0, "wxControl *", 0},{"_p_wxControl"},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxControl},{0}};
37549 static swig_type_info _swigt__p_wxFont[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
37550 static swig_type_info _swigt__p_wxMenuBarBase[] = {{"_p_wxMenuBarBase", 0, "wxMenuBarBase *", 0},{"_p_wxMenuBarBase"},{0}};
37551 static swig_type_info _swigt__p_wxSetCursorEvent[] = {{"_p_wxSetCursorEvent", 0, "wxSetCursorEvent *", 0},{"_p_wxSetCursorEvent"},{0}};
37552 static swig_type_info _swigt__p_wxFSFile[] = {{"_p_wxFSFile", 0, "wxFSFile *", 0},{"_p_wxFSFile"},{0}};
37553 static swig_type_info _swigt__p_wxCaret[] = {{"_p_wxCaret", 0, "wxCaret *", 0},{"_p_wxCaret"},{0}};
37554 static swig_type_info _swigt__p_wxRegion[] = {{"_p_wxRegion", 0, "wxRegion *", 0},{"_p_wxRegion"},{0}};
37555 static swig_type_info _swigt__p_wxPoint2D[] = {{"_p_wxPoint2D", 0, "wxPoint2D *", 0},{"_p_wxPoint2D"},{0}};
37556 static swig_type_info _swigt__p_int[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
37557 static swig_type_info _swigt__p_wxSize[] = {{"_p_wxSize", 0, "wxSize *", 0},{"_p_wxSize"},{0}};
37558 static swig_type_info _swigt__p_wxDC[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}};
37559 static swig_type_info _swigt__p_wxPySizer[] = {{"_p_wxPySizer", 0, "wxPySizer *", 0},{"_p_wxPySizer"},{0}};
37560 static swig_type_info _swigt__p_wxNotifyEvent[] = {{"_p_wxNotifyEvent", 0, "wxNotifyEvent *", 0},{"_p_wxNotifyEvent"},{0}};
37561 static swig_type_info _swigt__p_wxPyEvent[] = {{"_p_wxPyEvent", 0, "wxPyEvent *", 0},{"_p_wxPyEvent"},{0}};
37562 static swig_type_info _swigt__p_wxPropagationDisabler[] = {{"_p_wxPropagationDisabler", 0, "wxPropagationDisabler *", 0},{"_p_wxPropagationDisabler"},{0}};
37563 static swig_type_info _swigt__p_wxAppTraits[] = {{"_p_wxAppTraits", 0, "wxAppTraits *", 0},{"_p_wxAppTraits"},{0}};
37564 static swig_type_info _swigt__p_wxArrayString[] = {{"_p_wxArrayString", 0, "wxArrayString *", 0},{"_p_wxArrayString"},{0}};
37565 static swig_type_info _swigt__p_wxShowEvent[] = {{"_p_wxShowEvent", 0, "wxShowEvent *", 0},{"_p_wxShowEvent"},{0}};
37566 static swig_type_info _swigt__p_wxToolTip[] = {{"_p_wxToolTip", 0, "wxToolTip *", 0},{"_p_wxToolTip"},{0}};
37567 static swig_type_info _swigt__p_wxMaximizeEvent[] = {{"_p_wxMaximizeEvent", 0, "wxMaximizeEvent *", 0},{"_p_wxMaximizeEvent"},{0}};
37568 static swig_type_info _swigt__p_wxIconizeEvent[] = {{"_p_wxIconizeEvent", 0, "wxIconizeEvent *", 0},{"_p_wxIconizeEvent"},{0}};
37569 static swig_type_info _swigt__p_wxActivateEvent[] = {{"_p_wxActivateEvent", 0, "wxActivateEvent *", 0},{"_p_wxActivateEvent"},{0}};
37570 static swig_type_info _swigt__p_wxMoveEvent[] = {{"_p_wxMoveEvent", 0, "wxMoveEvent *", 0},{"_p_wxMoveEvent"},{0}};
37571 static swig_type_info _swigt__p_wxSizeEvent[] = {{"_p_wxSizeEvent", 0, "wxSizeEvent *", 0},{"_p_wxSizeEvent"},{0}};
37572 static swig_type_info _swigt__p_wxQueryNewPaletteEvent[] = {{"_p_wxQueryNewPaletteEvent", 0, "wxQueryNewPaletteEvent *", 0},{"_p_wxQueryNewPaletteEvent"},{0}};
37573 static swig_type_info _swigt__p_wxWindowCreateEvent[] = {{"_p_wxWindowCreateEvent", 0, "wxWindowCreateEvent *", 0},{"_p_wxWindowCreateEvent"},{0}};
37574 static swig_type_info _swigt__p_wxIdleEvent[] = {{"_p_wxIdleEvent", 0, "wxIdleEvent *", 0},{"_p_wxIdleEvent"},{0}};
37575 static swig_type_info _swigt__p_wxMenuItem[] = {{"_p_wxMenuItem", 0, "wxMenuItem *", 0},{"_p_wxMenuItem"},{0}};
37576 static swig_type_info _swigt__p_wxStaticBox[] = {{"_p_wxStaticBox", 0, "wxStaticBox *", 0},{"_p_wxStaticBox"},{0}};
37577 static swig_type_info _swigt__p_long[] = {{"_p_long", 0, "long *", 0},{"_p_long"},{0}};
37578 static swig_type_info _swigt__p_wxTIFFHandler[] = {{"_p_wxTIFFHandler", 0, "wxTIFFHandler *", 0},{"_p_wxTIFFHandler"},{0}};
37579 static swig_type_info _swigt__p_wxXPMHandler[] = {{"_p_wxXPMHandler", 0, "wxXPMHandler *", 0},{"_p_wxXPMHandler"},{0}};
37580 static swig_type_info _swigt__p_wxPNMHandler[] = {{"_p_wxPNMHandler", 0, "wxPNMHandler *", 0},{"_p_wxPNMHandler"},{0}};
37581 static swig_type_info _swigt__p_wxJPEGHandler[] = {{"_p_wxJPEGHandler", 0, "wxJPEGHandler *", 0},{"_p_wxJPEGHandler"},{0}};
37582 static swig_type_info _swigt__p_wxPCXHandler[] = {{"_p_wxPCXHandler", 0, "wxPCXHandler *", 0},{"_p_wxPCXHandler"},{0}};
37583 static swig_type_info _swigt__p_wxGIFHandler[] = {{"_p_wxGIFHandler", 0, "wxGIFHandler *", 0},{"_p_wxGIFHandler"},{0}};
37584 static swig_type_info _swigt__p_wxPNGHandler[] = {{"_p_wxPNGHandler", 0, "wxPNGHandler *", 0},{"_p_wxPNGHandler"},{0}};
37585 static swig_type_info _swigt__p_wxANIHandler[] = {{"_p_wxANIHandler", 0, "wxANIHandler *", 0},{"_p_wxANIHandler"},{0}};
37586 static swig_type_info _swigt__p_wxMemoryFSHandler[] = {{"_p_wxMemoryFSHandler", 0, "wxMemoryFSHandler *", 0},{"_p_wxMemoryFSHandler"},{0}};
37587 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}};
37588 static swig_type_info _swigt__p_wxCURHandler[] = {{"_p_wxCURHandler", 0, "wxCURHandler *", 0},{"_p_wxCURHandler"},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxCURHandler},{0}};
37589 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}};
37590 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}};
37591 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}};
37592 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}};
37593 static swig_type_info _swigt__p_wxPyFileSystemHandler[] = {{"_p_wxPyFileSystemHandler", 0, "wxPyFileSystemHandler *", 0},{"_p_wxPyFileSystemHandler"},{0}};
37594 static swig_type_info _swigt__p_wxInternetFSHandler[] = {{"_p_wxInternetFSHandler", 0, "wxInternetFSHandler *", 0},{"_p_wxInternetFSHandler"},{0}};
37595 static swig_type_info _swigt__p_wxZipFSHandler[] = {{"_p_wxZipFSHandler", 0, "wxZipFSHandler *", 0},{"_p_wxZipFSHandler"},{0}};
37596 static swig_type_info _swigt__p_wxRect[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}};
37597 static swig_type_info _swigt__p_wxGBSpan[] = {{"_p_wxGBSpan", 0, "wxGBSpan *", 0},{"_p_wxGBSpan"},{0}};
37598 static swig_type_info _swigt__p_wxPropagateOnce[] = {{"_p_wxPropagateOnce", 0, "wxPropagateOnce *", 0},{"_p_wxPropagateOnce"},{0}};
37599 static swig_type_info _swigt__p_wxAcceleratorTable[] = {{"_p_wxAcceleratorTable", 0, "wxAcceleratorTable *", 0},{"_p_wxAcceleratorTable"},{0}};
37600 static swig_type_info _swigt__p_wxGBPosition[] = {{"_p_wxGBPosition", 0, "wxGBPosition *", 0},{"_p_wxGBPosition"},{0}};
37601 static swig_type_info _swigt__p_wxImage[] = {{"_p_wxImage", 0, "wxImage *", 0},{"_p_wxImage"},{0}};
37602 static swig_type_info _swigt__p_wxFrame[] = {{"_p_wxFrame", 0, "wxFrame *", 0},{"_p_wxFrame"},{0}};
37603 static swig_type_info _swigt__p_wxScrollWinEvent[] = {{"_p_wxScrollWinEvent", 0, "wxScrollWinEvent *", 0},{"_p_wxScrollWinEvent"},{0}};
37604 static swig_type_info _swigt__p_wxImageHistogram[] = {{"_p_wxImageHistogram", 0, "wxImageHistogram *", 0},{"_p_wxImageHistogram"},{0}};
37605 static swig_type_info _swigt__p_byte[] = {{"_p_byte", 0, "byte *", 0},{"_p_unsigned_char"},{"_p_byte"},{0}};
37606 static swig_type_info _swigt__p_wxPoint[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
37607 static swig_type_info _swigt__p_wxCursor[] = {{"_p_wxCursor", 0, "wxCursor *", 0},{"_p_wxCursor"},{0}};
37608 static swig_type_info _swigt__p_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject},{"_p_wxSizer", _p_wxSizerTo_p_wxObject},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject},{"_p_wxMenu", _p_wxMenuTo_p_wxObject},{"_p_wxEvent", _p_wxEventTo_p_wxObject},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject},{"_p_wxControl", _p_wxControlTo_p_wxObject},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_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_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject},{"_p_wxImage", _p_wxImageTo_p_wxObject},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject},{"_p_wxObject"},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject},{"_p_wxWindow", _p_wxWindowTo_p_wxObject},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject},{0}};
37609 static swig_type_info _swigt__p_wxPyInputStream[] = {{"_p_wxPyInputStream", 0, "wxPyInputStream *", 0},{"_p_wxPyInputStream"},{0}};
37610 static swig_type_info _swigt__p_wxOutputStream[] = {{"_p_wxOutputStream", 0, "wxOutputStream *", 0},{"_p_wxOutputStream"},{0}};
37611 static swig_type_info _swigt__p_wxInputStream[] = {{"_p_wxInputStream", 0, "wxInputStream *", 0},{"_p_wxInputStream"},{0}};
37612 static swig_type_info _swigt__p_wxDateTime[] = {{"_p_wxDateTime", 0, "wxDateTime *", 0},{"_p_wxDateTime"},{0}};
37613 static swig_type_info _swigt__p_wxKeyEvent[] = {{"_p_wxKeyEvent", 0, "wxKeyEvent *", 0},{"_p_wxKeyEvent"},{0}};
37614 static swig_type_info _swigt__p_wxNavigationKeyEvent[] = {{"_p_wxNavigationKeyEvent", 0, "wxNavigationKeyEvent *", 0},{"_p_wxNavigationKeyEvent"},{0}};
37615 static swig_type_info _swigt__p_wxWindowDestroyEvent[] = {{"_p_wxWindowDestroyEvent", 0, "wxWindowDestroyEvent *", 0},{"_p_wxWindowDestroyEvent"},{0}};
37616 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}};
37617 static swig_type_info _swigt__p_wxMenuBar[] = {{"_p_wxMenuBar", 0, "wxMenuBar *", 0},{"_p_wxMenuBar"},{0}};
37618 static swig_type_info _swigt__p_wxString[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
37619 static swig_type_info _swigt__p_wxFileSystem[] = {{"_p_wxFileSystem", 0, "wxFileSystem *", 0},{"_p_wxFileSystem"},{0}};
37620 static swig_type_info _swigt__p_wxBitmap[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}};
37621 static swig_type_info _swigt__p_wxMenuEvent[] = {{"_p_wxMenuEvent", 0, "wxMenuEvent *", 0},{"_p_wxMenuEvent"},{0}};
37622 static swig_type_info _swigt__p_wxContextMenuEvent[] = {{"_p_wxContextMenuEvent", 0, "wxContextMenuEvent *", 0},{"_p_wxContextMenuEvent"},{0}};
37623 static swig_type_info _swigt__p_unsigned_char[] = {{"_p_unsigned_char", 0, "unsigned char *", 0},{"_p_unsigned_char"},{"_p_byte"},{0}};
37624 static swig_type_info _swigt__p_wxCloseEvent[] = {{"_p_wxCloseEvent", 0, "wxCloseEvent *", 0},{"_p_wxCloseEvent"},{0}};
37625 static swig_type_info _swigt__p_wxEraseEvent[] = {{"_p_wxEraseEvent", 0, "wxEraseEvent *", 0},{"_p_wxEraseEvent"},{0}};
37626 static swig_type_info _swigt__p_wxMouseEvent[] = {{"_p_wxMouseEvent", 0, "wxMouseEvent *", 0},{"_p_wxMouseEvent"},{0}};
37627 static swig_type_info _swigt__p_wxPyApp[] = {{"_p_wxPyApp", 0, "wxPyApp *", 0},{"_p_wxPyApp"},{0}};
37628 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}};
37629 static swig_type_info _swigt__p_wxPyCommandEvent[] = {{"_p_wxPyCommandEvent", 0, "wxPyCommandEvent *", 0},{"_p_wxPyCommandEvent"},{0}};
37630 static swig_type_info _swigt__p_wxPyDropTarget[] = {{"_p_wxPyDropTarget", 0, "wxPyDropTarget *", 0},{"_p_wxPyDropTarget"},{0}};
37631 static swig_type_info _swigt__p_wxChildFocusEvent[] = {{"_p_wxChildFocusEvent", 0, "wxChildFocusEvent *", 0},{"_p_wxChildFocusEvent"},{0}};
37632 static swig_type_info _swigt__p_wxFocusEvent[] = {{"_p_wxFocusEvent", 0, "wxFocusEvent *", 0},{"_p_wxFocusEvent"},{0}};
37633 static swig_type_info _swigt__p_wxDropFilesEvent[] = {{"_p_wxDropFilesEvent", 0, "wxDropFilesEvent *", 0},{"_p_wxDropFilesEvent"},{0}};
37634 static swig_type_info _swigt__p_wxControlWithItems[] = {{"_p_wxControlWithItems", 0, "wxControlWithItems *", 0},{"_p_wxControlWithItems"},{0}};
37635 static swig_type_info _swigt__p_wxColour[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
37636 static swig_type_info _swigt__p_wxValidator[] = {{"_p_wxValidator", 0, "wxValidator *", 0},{"_p_wxValidator"},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxValidator},{0}};
37637 static swig_type_info _swigt__p_wxPyValidator[] = {{"_p_wxPyValidator", 0, "wxPyValidator *", 0},{"_p_wxPyValidator"},{0}};
37638
37639 static swig_type_info *swig_types_initial[] = {
37640 _swigt__p_wxLayoutConstraints,
37641 _swigt__p_wxRealPoint,
37642 _swigt__p_wxSizerItem,
37643 _swigt__p_wxGBSizerItem,
37644 _swigt__p_wxScrollEvent,
37645 _swigt__p_wxIndividualLayoutConstraint,
37646 _swigt__p_wxSizer,
37647 _swigt__p_wxBoxSizer,
37648 _swigt__p_wxStaticBoxSizer,
37649 _swigt__p_wxGridBagSizer,
37650 _swigt__p_wxAcceleratorEntry,
37651 _swigt__p_wxUpdateUIEvent,
37652 _swigt__p_wxMenu,
37653 _swigt__p_wxEvent,
37654 _swigt__p_wxGridSizer,
37655 _swigt__p_wxFlexGridSizer,
37656 _swigt__p_wxInitDialogEvent,
37657 _swigt__p_wxItemContainer,
37658 _swigt__p_wxNcPaintEvent,
37659 _swigt__p_wxPaintEvent,
37660 _swigt__p_wxSysColourChangedEvent,
37661 _swigt__p_wxMouseCaptureChangedEvent,
37662 _swigt__p_wxDisplayChangedEvent,
37663 _swigt__p_wxPaletteChangedEvent,
37664 _swigt__p_wxControl,
37665 _swigt__p_wxFont,
37666 _swigt__p_wxMenuBarBase,
37667 _swigt__p_wxSetCursorEvent,
37668 _swigt__p_wxFSFile,
37669 _swigt__p_wxCaret,
37670 _swigt__p_wxRegion,
37671 _swigt__p_wxPoint2D,
37672 _swigt__p_int,
37673 _swigt__p_wxSize,
37674 _swigt__p_wxDC,
37675 _swigt__p_wxPySizer,
37676 _swigt__p_wxNotifyEvent,
37677 _swigt__p_wxPyEvent,
37678 _swigt__p_wxPropagationDisabler,
37679 _swigt__p_wxAppTraits,
37680 _swigt__p_wxArrayString,
37681 _swigt__p_wxShowEvent,
37682 _swigt__p_wxToolTip,
37683 _swigt__p_wxMaximizeEvent,
37684 _swigt__p_wxIconizeEvent,
37685 _swigt__p_wxActivateEvent,
37686 _swigt__p_wxMoveEvent,
37687 _swigt__p_wxSizeEvent,
37688 _swigt__p_wxQueryNewPaletteEvent,
37689 _swigt__p_wxWindowCreateEvent,
37690 _swigt__p_wxIdleEvent,
37691 _swigt__p_wxMenuItem,
37692 _swigt__p_wxStaticBox,
37693 _swigt__p_long,
37694 _swigt__p_wxTIFFHandler,
37695 _swigt__p_wxXPMHandler,
37696 _swigt__p_wxPNMHandler,
37697 _swigt__p_wxJPEGHandler,
37698 _swigt__p_wxPCXHandler,
37699 _swigt__p_wxGIFHandler,
37700 _swigt__p_wxPNGHandler,
37701 _swigt__p_wxANIHandler,
37702 _swigt__p_wxMemoryFSHandler,
37703 _swigt__p_wxEvtHandler,
37704 _swigt__p_wxCURHandler,
37705 _swigt__p_wxICOHandler,
37706 _swigt__p_wxBMPHandler,
37707 _swigt__p_wxImageHandler,
37708 _swigt__p_wxFileSystemHandler,
37709 _swigt__p_wxPyFileSystemHandler,
37710 _swigt__p_wxInternetFSHandler,
37711 _swigt__p_wxZipFSHandler,
37712 _swigt__p_wxRect,
37713 _swigt__p_wxGBSpan,
37714 _swigt__p_wxPropagateOnce,
37715 _swigt__p_wxAcceleratorTable,
37716 _swigt__p_wxGBPosition,
37717 _swigt__p_wxImage,
37718 _swigt__p_wxFrame,
37719 _swigt__p_wxScrollWinEvent,
37720 _swigt__p_wxImageHistogram,
37721 _swigt__p_byte,
37722 _swigt__p_wxPoint,
37723 _swigt__p_wxCursor,
37724 _swigt__p_wxObject,
37725 _swigt__p_wxPyInputStream,
37726 _swigt__p_wxOutputStream,
37727 _swigt__p_wxInputStream,
37728 _swigt__p_wxDateTime,
37729 _swigt__p_wxKeyEvent,
37730 _swigt__p_wxNavigationKeyEvent,
37731 _swigt__p_wxWindowDestroyEvent,
37732 _swigt__p_wxWindow,
37733 _swigt__p_wxMenuBar,
37734 _swigt__p_wxString,
37735 _swigt__p_wxFileSystem,
37736 _swigt__p_wxBitmap,
37737 _swigt__p_wxMenuEvent,
37738 _swigt__p_wxContextMenuEvent,
37739 _swigt__p_unsigned_char,
37740 _swigt__p_wxCloseEvent,
37741 _swigt__p_wxEraseEvent,
37742 _swigt__p_wxMouseEvent,
37743 _swigt__p_wxPyApp,
37744 _swigt__p_wxCommandEvent,
37745 _swigt__p_wxPyCommandEvent,
37746 _swigt__p_wxPyDropTarget,
37747 _swigt__p_wxChildFocusEvent,
37748 _swigt__p_wxFocusEvent,
37749 _swigt__p_wxDropFilesEvent,
37750 _swigt__p_wxControlWithItems,
37751 _swigt__p_wxColour,
37752 _swigt__p_wxValidator,
37753 _swigt__p_wxPyValidator,
37754 0
37755 };
37756
37757
37758 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
37759
37760 static swig_const_info swig_const_table[] = {
37761 { SWIG_PY_INT, (char *)"NOT_FOUND", (long) wxNOT_FOUND, 0, 0, 0},
37762 { SWIG_PY_INT, (char *)"VSCROLL", (long) wxVSCROLL, 0, 0, 0},
37763 { SWIG_PY_INT, (char *)"HSCROLL", (long) wxHSCROLL, 0, 0, 0},
37764 { SWIG_PY_INT, (char *)"CAPTION", (long) wxCAPTION, 0, 0, 0},
37765 { SWIG_PY_INT, (char *)"DOUBLE_BORDER", (long) wxDOUBLE_BORDER, 0, 0, 0},
37766 { SWIG_PY_INT, (char *)"SUNKEN_BORDER", (long) wxSUNKEN_BORDER, 0, 0, 0},
37767 { SWIG_PY_INT, (char *)"RAISED_BORDER", (long) wxRAISED_BORDER, 0, 0, 0},
37768 { SWIG_PY_INT, (char *)"BORDER", (long) wxBORDER, 0, 0, 0},
37769 { SWIG_PY_INT, (char *)"SIMPLE_BORDER", (long) wxSIMPLE_BORDER, 0, 0, 0},
37770 { SWIG_PY_INT, (char *)"STATIC_BORDER", (long) wxSTATIC_BORDER, 0, 0, 0},
37771 { SWIG_PY_INT, (char *)"TRANSPARENT_WINDOW", (long) wxTRANSPARENT_WINDOW, 0, 0, 0},
37772 { SWIG_PY_INT, (char *)"NO_BORDER", (long) wxNO_BORDER, 0, 0, 0},
37773 { SWIG_PY_INT, (char *)"USER_COLOURS", (long) wxUSER_COLOURS, 0, 0, 0},
37774 { SWIG_PY_INT, (char *)"NO_3D", (long) wxNO_3D, 0, 0, 0},
37775 { SWIG_PY_INT, (char *)"TAB_TRAVERSAL", (long) wxTAB_TRAVERSAL, 0, 0, 0},
37776 { SWIG_PY_INT, (char *)"WANTS_CHARS", (long) wxWANTS_CHARS, 0, 0, 0},
37777 { SWIG_PY_INT, (char *)"POPUP_WINDOW", (long) wxPOPUP_WINDOW, 0, 0, 0},
37778 { SWIG_PY_INT, (char *)"CENTER_FRAME", (long) wxCENTER_FRAME, 0, 0, 0},
37779 { SWIG_PY_INT, (char *)"CENTRE_ON_SCREEN", (long) wxCENTRE_ON_SCREEN, 0, 0, 0},
37780 { SWIG_PY_INT, (char *)"CENTER_ON_SCREEN", (long) wxCENTER_ON_SCREEN, 0, 0, 0},
37781 { SWIG_PY_INT, (char *)"STAY_ON_TOP", (long) wxSTAY_ON_TOP, 0, 0, 0},
37782 { SWIG_PY_INT, (char *)"ICONIZE", (long) wxICONIZE, 0, 0, 0},
37783 { SWIG_PY_INT, (char *)"MINIMIZE", (long) wxMINIMIZE, 0, 0, 0},
37784 { SWIG_PY_INT, (char *)"MAXIMIZE", (long) wxMAXIMIZE, 0, 0, 0},
37785 { SWIG_PY_INT, (char *)"CLOSE_BOX", (long) wxCLOSE_BOX, 0, 0, 0},
37786 { SWIG_PY_INT, (char *)"THICK_FRAME", (long) wxTHICK_FRAME, 0, 0, 0},
37787 { SWIG_PY_INT, (char *)"SYSTEM_MENU", (long) wxSYSTEM_MENU, 0, 0, 0},
37788 { SWIG_PY_INT, (char *)"MINIMIZE_BOX", (long) wxMINIMIZE_BOX, 0, 0, 0},
37789 { SWIG_PY_INT, (char *)"MAXIMIZE_BOX", (long) wxMAXIMIZE_BOX, 0, 0, 0},
37790 { SWIG_PY_INT, (char *)"TINY_CAPTION_HORIZ", (long) wxTINY_CAPTION_HORIZ, 0, 0, 0},
37791 { SWIG_PY_INT, (char *)"TINY_CAPTION_VERT", (long) wxTINY_CAPTION_VERT, 0, 0, 0},
37792 { SWIG_PY_INT, (char *)"RESIZE_BOX", (long) wxRESIZE_BOX, 0, 0, 0},
37793 { SWIG_PY_INT, (char *)"RESIZE_BORDER", (long) wxRESIZE_BORDER, 0, 0, 0},
37794 { SWIG_PY_INT, (char *)"DIALOG_MODAL", (long) wxDIALOG_MODAL, 0, 0, 0},
37795 { SWIG_PY_INT, (char *)"DIALOG_MODELESS", (long) wxDIALOG_MODELESS, 0, 0, 0},
37796 { SWIG_PY_INT, (char *)"DIALOG_NO_PARENT", (long) wxDIALOG_NO_PARENT, 0, 0, 0},
37797 { SWIG_PY_INT, (char *)"DEFAULT_FRAME_STYLE", (long) wxDEFAULT_FRAME_STYLE, 0, 0, 0},
37798 { SWIG_PY_INT, (char *)"DEFAULT_DIALOG_STYLE", (long) wxDEFAULT_DIALOG_STYLE, 0, 0, 0},
37799 { SWIG_PY_INT, (char *)"FRAME_TOOL_WINDOW", (long) wxFRAME_TOOL_WINDOW, 0, 0, 0},
37800 { SWIG_PY_INT, (char *)"FRAME_FLOAT_ON_PARENT", (long) wxFRAME_FLOAT_ON_PARENT, 0, 0, 0},
37801 { SWIG_PY_INT, (char *)"FRAME_NO_WINDOW_MENU", (long) wxFRAME_NO_WINDOW_MENU, 0, 0, 0},
37802 { SWIG_PY_INT, (char *)"FRAME_NO_TASKBAR", (long) wxFRAME_NO_TASKBAR, 0, 0, 0},
37803 { SWIG_PY_INT, (char *)"FRAME_SHAPED", (long) wxFRAME_SHAPED, 0, 0, 0},
37804 { SWIG_PY_INT, (char *)"ED_CLIENT_MARGIN", (long) wxED_CLIENT_MARGIN, 0, 0, 0},
37805 { SWIG_PY_INT, (char *)"ED_BUTTONS_BOTTOM", (long) wxED_BUTTONS_BOTTOM, 0, 0, 0},
37806 { SWIG_PY_INT, (char *)"ED_BUTTONS_RIGHT", (long) wxED_BUTTONS_RIGHT, 0, 0, 0},
37807 { SWIG_PY_INT, (char *)"ED_STATIC_LINE", (long) wxED_STATIC_LINE, 0, 0, 0},
37808 { SWIG_PY_INT, (char *)"EXT_DIALOG_STYLE", (long) wxEXT_DIALOG_STYLE, 0, 0, 0},
37809 { SWIG_PY_INT, (char *)"CLIP_CHILDREN", (long) wxCLIP_CHILDREN, 0, 0, 0},
37810 { SWIG_PY_INT, (char *)"CLIP_SIBLINGS", (long) wxCLIP_SIBLINGS, 0, 0, 0},
37811 { SWIG_PY_INT, (char *)"RETAINED", (long) wxRETAINED, 0, 0, 0},
37812 { SWIG_PY_INT, (char *)"BACKINGSTORE", (long) wxBACKINGSTORE, 0, 0, 0},
37813 { SWIG_PY_INT, (char *)"COLOURED", (long) wxCOLOURED, 0, 0, 0},
37814 { SWIG_PY_INT, (char *)"FIXED_LENGTH", (long) wxFIXED_LENGTH, 0, 0, 0},
37815 { SWIG_PY_INT, (char *)"LB_NEEDED_SB", (long) wxLB_NEEDED_SB, 0, 0, 0},
37816 { SWIG_PY_INT, (char *)"LB_ALWAYS_SB", (long) wxLB_ALWAYS_SB, 0, 0, 0},
37817 { SWIG_PY_INT, (char *)"LB_SORT", (long) wxLB_SORT, 0, 0, 0},
37818 { SWIG_PY_INT, (char *)"LB_SINGLE", (long) wxLB_SINGLE, 0, 0, 0},
37819 { SWIG_PY_INT, (char *)"LB_MULTIPLE", (long) wxLB_MULTIPLE, 0, 0, 0},
37820 { SWIG_PY_INT, (char *)"LB_EXTENDED", (long) wxLB_EXTENDED, 0, 0, 0},
37821 { SWIG_PY_INT, (char *)"LB_OWNERDRAW", (long) wxLB_OWNERDRAW, 0, 0, 0},
37822 { SWIG_PY_INT, (char *)"LB_HSCROLL", (long) wxLB_HSCROLL, 0, 0, 0},
37823 { SWIG_PY_INT, (char *)"PROCESS_ENTER", (long) wxPROCESS_ENTER, 0, 0, 0},
37824 { SWIG_PY_INT, (char *)"PASSWORD", (long) wxPASSWORD, 0, 0, 0},
37825 { SWIG_PY_INT, (char *)"CB_SIMPLE", (long) wxCB_SIMPLE, 0, 0, 0},
37826 { SWIG_PY_INT, (char *)"CB_DROPDOWN", (long) wxCB_DROPDOWN, 0, 0, 0},
37827 { SWIG_PY_INT, (char *)"CB_SORT", (long) wxCB_SORT, 0, 0, 0},
37828 { SWIG_PY_INT, (char *)"CB_READONLY", (long) wxCB_READONLY, 0, 0, 0},
37829 { SWIG_PY_INT, (char *)"RA_HORIZONTAL", (long) wxRA_HORIZONTAL, 0, 0, 0},
37830 { SWIG_PY_INT, (char *)"RA_VERTICAL", (long) wxRA_VERTICAL, 0, 0, 0},
37831 { SWIG_PY_INT, (char *)"RA_SPECIFY_ROWS", (long) wxRA_SPECIFY_ROWS, 0, 0, 0},
37832 { SWIG_PY_INT, (char *)"RA_SPECIFY_COLS", (long) wxRA_SPECIFY_COLS, 0, 0, 0},
37833 { SWIG_PY_INT, (char *)"RB_GROUP", (long) wxRB_GROUP, 0, 0, 0},
37834 { SWIG_PY_INT, (char *)"RB_SINGLE", (long) wxRB_SINGLE, 0, 0, 0},
37835 { SWIG_PY_INT, (char *)"SL_HORIZONTAL", (long) wxSL_HORIZONTAL, 0, 0, 0},
37836 { SWIG_PY_INT, (char *)"SL_VERTICAL", (long) wxSL_VERTICAL, 0, 0, 0},
37837 { SWIG_PY_INT, (char *)"SL_AUTOTICKS", (long) wxSL_AUTOTICKS, 0, 0, 0},
37838 { SWIG_PY_INT, (char *)"SL_LABELS", (long) wxSL_LABELS, 0, 0, 0},
37839 { SWIG_PY_INT, (char *)"SL_LEFT", (long) wxSL_LEFT, 0, 0, 0},
37840 { SWIG_PY_INT, (char *)"SL_TOP", (long) wxSL_TOP, 0, 0, 0},
37841 { SWIG_PY_INT, (char *)"SL_RIGHT", (long) wxSL_RIGHT, 0, 0, 0},
37842 { SWIG_PY_INT, (char *)"SL_BOTTOM", (long) wxSL_BOTTOM, 0, 0, 0},
37843 { SWIG_PY_INT, (char *)"SL_BOTH", (long) wxSL_BOTH, 0, 0, 0},
37844 { SWIG_PY_INT, (char *)"SL_SELRANGE", (long) wxSL_SELRANGE, 0, 0, 0},
37845 { SWIG_PY_INT, (char *)"SB_HORIZONTAL", (long) wxSB_HORIZONTAL, 0, 0, 0},
37846 { SWIG_PY_INT, (char *)"SB_VERTICAL", (long) wxSB_VERTICAL, 0, 0, 0},
37847 { SWIG_PY_INT, (char *)"ST_SIZEGRIP", (long) wxST_SIZEGRIP, 0, 0, 0},
37848 { SWIG_PY_INT, (char *)"ST_NO_AUTORESIZE", (long) wxST_NO_AUTORESIZE, 0, 0, 0},
37849 { SWIG_PY_INT, (char *)"FLOOD_SURFACE", (long) wxFLOOD_SURFACE, 0, 0, 0},
37850 { SWIG_PY_INT, (char *)"FLOOD_BORDER", (long) wxFLOOD_BORDER, 0, 0, 0},
37851 { SWIG_PY_INT, (char *)"ODDEVEN_RULE", (long) wxODDEVEN_RULE, 0, 0, 0},
37852 { SWIG_PY_INT, (char *)"WINDING_RULE", (long) wxWINDING_RULE, 0, 0, 0},
37853 { SWIG_PY_INT, (char *)"TOOL_TOP", (long) wxTOOL_TOP, 0, 0, 0},
37854 { SWIG_PY_INT, (char *)"TOOL_BOTTOM", (long) wxTOOL_BOTTOM, 0, 0, 0},
37855 { SWIG_PY_INT, (char *)"TOOL_LEFT", (long) wxTOOL_LEFT, 0, 0, 0},
37856 { SWIG_PY_INT, (char *)"TOOL_RIGHT", (long) wxTOOL_RIGHT, 0, 0, 0},
37857 { SWIG_PY_INT, (char *)"OK", (long) wxOK, 0, 0, 0},
37858 { SWIG_PY_INT, (char *)"YES_NO", (long) wxYES_NO, 0, 0, 0},
37859 { SWIG_PY_INT, (char *)"CANCEL", (long) wxCANCEL, 0, 0, 0},
37860 { SWIG_PY_INT, (char *)"YES", (long) wxYES, 0, 0, 0},
37861 { SWIG_PY_INT, (char *)"NO", (long) wxNO, 0, 0, 0},
37862 { SWIG_PY_INT, (char *)"NO_DEFAULT", (long) wxNO_DEFAULT, 0, 0, 0},
37863 { SWIG_PY_INT, (char *)"YES_DEFAULT", (long) wxYES_DEFAULT, 0, 0, 0},
37864 { SWIG_PY_INT, (char *)"ICON_EXCLAMATION", (long) wxICON_EXCLAMATION, 0, 0, 0},
37865 { SWIG_PY_INT, (char *)"ICON_HAND", (long) wxICON_HAND, 0, 0, 0},
37866 { SWIG_PY_INT, (char *)"ICON_QUESTION", (long) wxICON_QUESTION, 0, 0, 0},
37867 { SWIG_PY_INT, (char *)"ICON_INFORMATION", (long) wxICON_INFORMATION, 0, 0, 0},
37868 { SWIG_PY_INT, (char *)"ICON_STOP", (long) wxICON_STOP, 0, 0, 0},
37869 { SWIG_PY_INT, (char *)"ICON_ASTERISK", (long) wxICON_ASTERISK, 0, 0, 0},
37870 { SWIG_PY_INT, (char *)"ICON_MASK", (long) wxICON_MASK, 0, 0, 0},
37871 { SWIG_PY_INT, (char *)"ICON_WARNING", (long) wxICON_WARNING, 0, 0, 0},
37872 { SWIG_PY_INT, (char *)"ICON_ERROR", (long) wxICON_ERROR, 0, 0, 0},
37873 { SWIG_PY_INT, (char *)"FORWARD", (long) wxFORWARD, 0, 0, 0},
37874 { SWIG_PY_INT, (char *)"BACKWARD", (long) wxBACKWARD, 0, 0, 0},
37875 { SWIG_PY_INT, (char *)"RESET", (long) wxRESET, 0, 0, 0},
37876 { SWIG_PY_INT, (char *)"HELP", (long) wxHELP, 0, 0, 0},
37877 { SWIG_PY_INT, (char *)"MORE", (long) wxMORE, 0, 0, 0},
37878 { SWIG_PY_INT, (char *)"SETUP", (long) wxSETUP, 0, 0, 0},
37879 { SWIG_PY_INT, (char *)"SIZE_AUTO_WIDTH", (long) wxSIZE_AUTO_WIDTH, 0, 0, 0},
37880 { SWIG_PY_INT, (char *)"SIZE_AUTO_HEIGHT", (long) wxSIZE_AUTO_HEIGHT, 0, 0, 0},
37881 { SWIG_PY_INT, (char *)"SIZE_AUTO", (long) wxSIZE_AUTO, 0, 0, 0},
37882 { SWIG_PY_INT, (char *)"SIZE_USE_EXISTING", (long) wxSIZE_USE_EXISTING, 0, 0, 0},
37883 { SWIG_PY_INT, (char *)"SIZE_ALLOW_MINUS_ONE", (long) wxSIZE_ALLOW_MINUS_ONE, 0, 0, 0},
37884 { SWIG_PY_INT, (char *)"PORTRAIT", (long) wxPORTRAIT, 0, 0, 0},
37885 { SWIG_PY_INT, (char *)"LANDSCAPE", (long) wxLANDSCAPE, 0, 0, 0},
37886 { SWIG_PY_INT, (char *)"PRINT_QUALITY_HIGH", (long) wxPRINT_QUALITY_HIGH, 0, 0, 0},
37887 { SWIG_PY_INT, (char *)"PRINT_QUALITY_MEDIUM", (long) wxPRINT_QUALITY_MEDIUM, 0, 0, 0},
37888 { SWIG_PY_INT, (char *)"PRINT_QUALITY_LOW", (long) wxPRINT_QUALITY_LOW, 0, 0, 0},
37889 { SWIG_PY_INT, (char *)"PRINT_QUALITY_DRAFT", (long) wxPRINT_QUALITY_DRAFT, 0, 0, 0},
37890 { SWIG_PY_INT, (char *)"ID_ANY", (long) wxID_ANY, 0, 0, 0},
37891 { SWIG_PY_INT, (char *)"ID_SEPARATOR", (long) wxID_SEPARATOR, 0, 0, 0},
37892 { SWIG_PY_INT, (char *)"ID_LOWEST", (long) wxID_LOWEST, 0, 0, 0},
37893 { SWIG_PY_INT, (char *)"ID_OPEN", (long) wxID_OPEN, 0, 0, 0},
37894 { SWIG_PY_INT, (char *)"ID_CLOSE", (long) wxID_CLOSE, 0, 0, 0},
37895 { SWIG_PY_INT, (char *)"ID_NEW", (long) wxID_NEW, 0, 0, 0},
37896 { SWIG_PY_INT, (char *)"ID_SAVE", (long) wxID_SAVE, 0, 0, 0},
37897 { SWIG_PY_INT, (char *)"ID_SAVEAS", (long) wxID_SAVEAS, 0, 0, 0},
37898 { SWIG_PY_INT, (char *)"ID_REVERT", (long) wxID_REVERT, 0, 0, 0},
37899 { SWIG_PY_INT, (char *)"ID_EXIT", (long) wxID_EXIT, 0, 0, 0},
37900 { SWIG_PY_INT, (char *)"ID_UNDO", (long) wxID_UNDO, 0, 0, 0},
37901 { SWIG_PY_INT, (char *)"ID_REDO", (long) wxID_REDO, 0, 0, 0},
37902 { SWIG_PY_INT, (char *)"ID_HELP", (long) wxID_HELP, 0, 0, 0},
37903 { SWIG_PY_INT, (char *)"ID_PRINT", (long) wxID_PRINT, 0, 0, 0},
37904 { SWIG_PY_INT, (char *)"ID_PRINT_SETUP", (long) wxID_PRINT_SETUP, 0, 0, 0},
37905 { SWIG_PY_INT, (char *)"ID_PREVIEW", (long) wxID_PREVIEW, 0, 0, 0},
37906 { SWIG_PY_INT, (char *)"ID_ABOUT", (long) wxID_ABOUT, 0, 0, 0},
37907 { SWIG_PY_INT, (char *)"ID_HELP_CONTENTS", (long) wxID_HELP_CONTENTS, 0, 0, 0},
37908 { SWIG_PY_INT, (char *)"ID_HELP_COMMANDS", (long) wxID_HELP_COMMANDS, 0, 0, 0},
37909 { SWIG_PY_INT, (char *)"ID_HELP_PROCEDURES", (long) wxID_HELP_PROCEDURES, 0, 0, 0},
37910 { SWIG_PY_INT, (char *)"ID_HELP_CONTEXT", (long) wxID_HELP_CONTEXT, 0, 0, 0},
37911 { SWIG_PY_INT, (char *)"ID_CLOSE_ALL", (long) wxID_CLOSE_ALL, 0, 0, 0},
37912 { SWIG_PY_INT, (char *)"ID_PREFERENCES", (long) wxID_PREFERENCES, 0, 0, 0},
37913 { SWIG_PY_INT, (char *)"ID_CUT", (long) wxID_CUT, 0, 0, 0},
37914 { SWIG_PY_INT, (char *)"ID_COPY", (long) wxID_COPY, 0, 0, 0},
37915 { SWIG_PY_INT, (char *)"ID_PASTE", (long) wxID_PASTE, 0, 0, 0},
37916 { SWIG_PY_INT, (char *)"ID_CLEAR", (long) wxID_CLEAR, 0, 0, 0},
37917 { SWIG_PY_INT, (char *)"ID_FIND", (long) wxID_FIND, 0, 0, 0},
37918 { SWIG_PY_INT, (char *)"ID_DUPLICATE", (long) wxID_DUPLICATE, 0, 0, 0},
37919 { SWIG_PY_INT, (char *)"ID_SELECTALL", (long) wxID_SELECTALL, 0, 0, 0},
37920 { SWIG_PY_INT, (char *)"ID_DELETE", (long) wxID_DELETE, 0, 0, 0},
37921 { SWIG_PY_INT, (char *)"ID_REPLACE", (long) wxID_REPLACE, 0, 0, 0},
37922 { SWIG_PY_INT, (char *)"ID_REPLACE_ALL", (long) wxID_REPLACE_ALL, 0, 0, 0},
37923 { SWIG_PY_INT, (char *)"ID_PROPERTIES", (long) wxID_PROPERTIES, 0, 0, 0},
37924 { SWIG_PY_INT, (char *)"ID_VIEW_DETAILS", (long) wxID_VIEW_DETAILS, 0, 0, 0},
37925 { SWIG_PY_INT, (char *)"ID_VIEW_LARGEICONS", (long) wxID_VIEW_LARGEICONS, 0, 0, 0},
37926 { SWIG_PY_INT, (char *)"ID_VIEW_SMALLICONS", (long) wxID_VIEW_SMALLICONS, 0, 0, 0},
37927 { SWIG_PY_INT, (char *)"ID_VIEW_LIST", (long) wxID_VIEW_LIST, 0, 0, 0},
37928 { SWIG_PY_INT, (char *)"ID_VIEW_SORTDATE", (long) wxID_VIEW_SORTDATE, 0, 0, 0},
37929 { SWIG_PY_INT, (char *)"ID_VIEW_SORTNAME", (long) wxID_VIEW_SORTNAME, 0, 0, 0},
37930 { SWIG_PY_INT, (char *)"ID_VIEW_SORTSIZE", (long) wxID_VIEW_SORTSIZE, 0, 0, 0},
37931 { SWIG_PY_INT, (char *)"ID_VIEW_SORTTYPE", (long) wxID_VIEW_SORTTYPE, 0, 0, 0},
37932 { SWIG_PY_INT, (char *)"ID_FILE1", (long) wxID_FILE1, 0, 0, 0},
37933 { SWIG_PY_INT, (char *)"ID_FILE2", (long) wxID_FILE2, 0, 0, 0},
37934 { SWIG_PY_INT, (char *)"ID_FILE3", (long) wxID_FILE3, 0, 0, 0},
37935 { SWIG_PY_INT, (char *)"ID_FILE4", (long) wxID_FILE4, 0, 0, 0},
37936 { SWIG_PY_INT, (char *)"ID_FILE5", (long) wxID_FILE5, 0, 0, 0},
37937 { SWIG_PY_INT, (char *)"ID_FILE6", (long) wxID_FILE6, 0, 0, 0},
37938 { SWIG_PY_INT, (char *)"ID_FILE7", (long) wxID_FILE7, 0, 0, 0},
37939 { SWIG_PY_INT, (char *)"ID_FILE8", (long) wxID_FILE8, 0, 0, 0},
37940 { SWIG_PY_INT, (char *)"ID_FILE9", (long) wxID_FILE9, 0, 0, 0},
37941 { SWIG_PY_INT, (char *)"ID_OK", (long) wxID_OK, 0, 0, 0},
37942 { SWIG_PY_INT, (char *)"ID_CANCEL", (long) wxID_CANCEL, 0, 0, 0},
37943 { SWIG_PY_INT, (char *)"ID_APPLY", (long) wxID_APPLY, 0, 0, 0},
37944 { SWIG_PY_INT, (char *)"ID_YES", (long) wxID_YES, 0, 0, 0},
37945 { SWIG_PY_INT, (char *)"ID_NO", (long) wxID_NO, 0, 0, 0},
37946 { SWIG_PY_INT, (char *)"ID_STATIC", (long) wxID_STATIC, 0, 0, 0},
37947 { SWIG_PY_INT, (char *)"ID_FORWARD", (long) wxID_FORWARD, 0, 0, 0},
37948 { SWIG_PY_INT, (char *)"ID_BACKWARD", (long) wxID_BACKWARD, 0, 0, 0},
37949 { SWIG_PY_INT, (char *)"ID_DEFAULT", (long) wxID_DEFAULT, 0, 0, 0},
37950 { SWIG_PY_INT, (char *)"ID_MORE", (long) wxID_MORE, 0, 0, 0},
37951 { SWIG_PY_INT, (char *)"ID_SETUP", (long) wxID_SETUP, 0, 0, 0},
37952 { SWIG_PY_INT, (char *)"ID_RESET", (long) wxID_RESET, 0, 0, 0},
37953 { SWIG_PY_INT, (char *)"ID_CONTEXT_HELP", (long) wxID_CONTEXT_HELP, 0, 0, 0},
37954 { SWIG_PY_INT, (char *)"ID_YESTOALL", (long) wxID_YESTOALL, 0, 0, 0},
37955 { SWIG_PY_INT, (char *)"ID_NOTOALL", (long) wxID_NOTOALL, 0, 0, 0},
37956 { SWIG_PY_INT, (char *)"ID_ABORT", (long) wxID_ABORT, 0, 0, 0},
37957 { SWIG_PY_INT, (char *)"ID_RETRY", (long) wxID_RETRY, 0, 0, 0},
37958 { SWIG_PY_INT, (char *)"ID_IGNORE", (long) wxID_IGNORE, 0, 0, 0},
37959 { SWIG_PY_INT, (char *)"ID_HIGHEST", (long) wxID_HIGHEST, 0, 0, 0},
37960 { SWIG_PY_INT, (char *)"OPEN", (long) wxOPEN, 0, 0, 0},
37961 { SWIG_PY_INT, (char *)"SAVE", (long) wxSAVE, 0, 0, 0},
37962 { SWIG_PY_INT, (char *)"HIDE_READONLY", (long) wxHIDE_READONLY, 0, 0, 0},
37963 { SWIG_PY_INT, (char *)"OVERWRITE_PROMPT", (long) wxOVERWRITE_PROMPT, 0, 0, 0},
37964 { SWIG_PY_INT, (char *)"FILE_MUST_EXIST", (long) wxFILE_MUST_EXIST, 0, 0, 0},
37965 { SWIG_PY_INT, (char *)"MULTIPLE", (long) wxMULTIPLE, 0, 0, 0},
37966 { SWIG_PY_INT, (char *)"CHANGE_DIR", (long) wxCHANGE_DIR, 0, 0, 0},
37967 { SWIG_PY_INT, (char *)"ACCEL_ALT", (long) wxACCEL_ALT, 0, 0, 0},
37968 { SWIG_PY_INT, (char *)"ACCEL_CTRL", (long) wxACCEL_CTRL, 0, 0, 0},
37969 { SWIG_PY_INT, (char *)"ACCEL_SHIFT", (long) wxACCEL_SHIFT, 0, 0, 0},
37970 { SWIG_PY_INT, (char *)"ACCEL_NORMAL", (long) wxACCEL_NORMAL, 0, 0, 0},
37971 { SWIG_PY_INT, (char *)"PD_AUTO_HIDE", (long) wxPD_AUTO_HIDE, 0, 0, 0},
37972 { SWIG_PY_INT, (char *)"PD_APP_MODAL", (long) wxPD_APP_MODAL, 0, 0, 0},
37973 { SWIG_PY_INT, (char *)"PD_CAN_ABORT", (long) wxPD_CAN_ABORT, 0, 0, 0},
37974 { SWIG_PY_INT, (char *)"PD_ELAPSED_TIME", (long) wxPD_ELAPSED_TIME, 0, 0, 0},
37975 { SWIG_PY_INT, (char *)"PD_ESTIMATED_TIME", (long) wxPD_ESTIMATED_TIME, 0, 0, 0},
37976 { SWIG_PY_INT, (char *)"PD_REMAINING_TIME", (long) wxPD_REMAINING_TIME, 0, 0, 0},
37977 { SWIG_PY_INT, (char *)"DD_NEW_DIR_BUTTON", (long) wxDD_NEW_DIR_BUTTON, 0, 0, 0},
37978 { SWIG_PY_INT, (char *)"DD_DEFAULT_STYLE", (long) wxDD_DEFAULT_STYLE, 0, 0, 0},
37979 { SWIG_PY_INT, (char *)"MENU_TEAROFF", (long) wxMENU_TEAROFF, 0, 0, 0},
37980 { SWIG_PY_INT, (char *)"MB_DOCKABLE", (long) wxMB_DOCKABLE, 0, 0, 0},
37981 { SWIG_PY_INT, (char *)"NO_FULL_REPAINT_ON_RESIZE", (long) wxNO_FULL_REPAINT_ON_RESIZE, 0, 0, 0},
37982 { SWIG_PY_INT, (char *)"FULL_REPAINT_ON_RESIZE", (long) wxFULL_REPAINT_ON_RESIZE, 0, 0, 0},
37983 { SWIG_PY_INT, (char *)"LI_HORIZONTAL", (long) wxLI_HORIZONTAL, 0, 0, 0},
37984 { SWIG_PY_INT, (char *)"LI_VERTICAL", (long) wxLI_VERTICAL, 0, 0, 0},
37985 { SWIG_PY_INT, (char *)"WS_EX_VALIDATE_RECURSIVELY", (long) wxWS_EX_VALIDATE_RECURSIVELY, 0, 0, 0},
37986 { SWIG_PY_INT, (char *)"WS_EX_BLOCK_EVENTS", (long) wxWS_EX_BLOCK_EVENTS, 0, 0, 0},
37987 { SWIG_PY_INT, (char *)"WS_EX_TRANSIENT", (long) wxWS_EX_TRANSIENT, 0, 0, 0},
37988 { SWIG_PY_INT, (char *)"WS_EX_THEMED_BACKGROUND", (long) wxWS_EX_THEMED_BACKGROUND, 0, 0, 0},
37989 { SWIG_PY_INT, (char *)"WS_EX_PROCESS_IDLE", (long) wxWS_EX_PROCESS_IDLE, 0, 0, 0},
37990 { SWIG_PY_INT, (char *)"WS_EX_PROCESS_UI_UPDATES", (long) wxWS_EX_PROCESS_UI_UPDATES, 0, 0, 0},
37991 { SWIG_PY_INT, (char *)"MM_TEXT", (long) wxMM_TEXT, 0, 0, 0},
37992 { SWIG_PY_INT, (char *)"MM_LOMETRIC", (long) wxMM_LOMETRIC, 0, 0, 0},
37993 { SWIG_PY_INT, (char *)"MM_HIMETRIC", (long) wxMM_HIMETRIC, 0, 0, 0},
37994 { SWIG_PY_INT, (char *)"MM_LOENGLISH", (long) wxMM_LOENGLISH, 0, 0, 0},
37995 { SWIG_PY_INT, (char *)"MM_HIENGLISH", (long) wxMM_HIENGLISH, 0, 0, 0},
37996 { SWIG_PY_INT, (char *)"MM_TWIPS", (long) wxMM_TWIPS, 0, 0, 0},
37997 { SWIG_PY_INT, (char *)"MM_ISOTROPIC", (long) wxMM_ISOTROPIC, 0, 0, 0},
37998 { SWIG_PY_INT, (char *)"MM_ANISOTROPIC", (long) wxMM_ANISOTROPIC, 0, 0, 0},
37999 { SWIG_PY_INT, (char *)"MM_POINTS", (long) wxMM_POINTS, 0, 0, 0},
38000 { SWIG_PY_INT, (char *)"MM_METRIC", (long) wxMM_METRIC, 0, 0, 0},
38001 { SWIG_PY_INT, (char *)"CENTRE", (long) wxCENTRE, 0, 0, 0},
38002 { SWIG_PY_INT, (char *)"CENTER", (long) wxCENTER, 0, 0, 0},
38003 { SWIG_PY_INT, (char *)"HORIZONTAL", (long) wxHORIZONTAL, 0, 0, 0},
38004 { SWIG_PY_INT, (char *)"VERTICAL", (long) wxVERTICAL, 0, 0, 0},
38005 { SWIG_PY_INT, (char *)"BOTH", (long) wxBOTH, 0, 0, 0},
38006 { SWIG_PY_INT, (char *)"LEFT", (long) wxLEFT, 0, 0, 0},
38007 { SWIG_PY_INT, (char *)"RIGHT", (long) wxRIGHT, 0, 0, 0},
38008 { SWIG_PY_INT, (char *)"UP", (long) wxUP, 0, 0, 0},
38009 { SWIG_PY_INT, (char *)"DOWN", (long) wxDOWN, 0, 0, 0},
38010 { SWIG_PY_INT, (char *)"TOP", (long) wxTOP, 0, 0, 0},
38011 { SWIG_PY_INT, (char *)"BOTTOM", (long) wxBOTTOM, 0, 0, 0},
38012 { SWIG_PY_INT, (char *)"NORTH", (long) wxNORTH, 0, 0, 0},
38013 { SWIG_PY_INT, (char *)"SOUTH", (long) wxSOUTH, 0, 0, 0},
38014 { SWIG_PY_INT, (char *)"WEST", (long) wxWEST, 0, 0, 0},
38015 { SWIG_PY_INT, (char *)"EAST", (long) wxEAST, 0, 0, 0},
38016 { SWIG_PY_INT, (char *)"ALL", (long) wxALL, 0, 0, 0},
38017 { SWIG_PY_INT, (char *)"ALIGN_NOT", (long) wxALIGN_NOT, 0, 0, 0},
38018 { SWIG_PY_INT, (char *)"ALIGN_CENTER_HORIZONTAL", (long) wxALIGN_CENTER_HORIZONTAL, 0, 0, 0},
38019 { SWIG_PY_INT, (char *)"ALIGN_CENTRE_HORIZONTAL", (long) wxALIGN_CENTRE_HORIZONTAL, 0, 0, 0},
38020 { SWIG_PY_INT, (char *)"ALIGN_LEFT", (long) wxALIGN_LEFT, 0, 0, 0},
38021 { SWIG_PY_INT, (char *)"ALIGN_TOP", (long) wxALIGN_TOP, 0, 0, 0},
38022 { SWIG_PY_INT, (char *)"ALIGN_RIGHT", (long) wxALIGN_RIGHT, 0, 0, 0},
38023 { SWIG_PY_INT, (char *)"ALIGN_BOTTOM", (long) wxALIGN_BOTTOM, 0, 0, 0},
38024 { SWIG_PY_INT, (char *)"ALIGN_CENTER_VERTICAL", (long) wxALIGN_CENTER_VERTICAL, 0, 0, 0},
38025 { SWIG_PY_INT, (char *)"ALIGN_CENTRE_VERTICAL", (long) wxALIGN_CENTRE_VERTICAL, 0, 0, 0},
38026 { SWIG_PY_INT, (char *)"ALIGN_CENTER", (long) wxALIGN_CENTER, 0, 0, 0},
38027 { SWIG_PY_INT, (char *)"ALIGN_CENTRE", (long) wxALIGN_CENTRE, 0, 0, 0},
38028 { SWIG_PY_INT, (char *)"ALIGN_MASK", (long) wxALIGN_MASK, 0, 0, 0},
38029 { SWIG_PY_INT, (char *)"STRETCH_NOT", (long) wxSTRETCH_NOT, 0, 0, 0},
38030 { SWIG_PY_INT, (char *)"SHRINK", (long) wxSHRINK, 0, 0, 0},
38031 { SWIG_PY_INT, (char *)"GROW", (long) wxGROW, 0, 0, 0},
38032 { SWIG_PY_INT, (char *)"EXPAND", (long) wxEXPAND, 0, 0, 0},
38033 { SWIG_PY_INT, (char *)"SHAPED", (long) wxSHAPED, 0, 0, 0},
38034 { SWIG_PY_INT, (char *)"ADJUST_MINSIZE", (long) wxADJUST_MINSIZE, 0, 0, 0},
38035 { SWIG_PY_INT, (char *)"TILE", (long) wxTILE, 0, 0, 0},
38036 { SWIG_PY_INT, (char *)"BORDER_DEFAULT", (long) wxBORDER_DEFAULT, 0, 0, 0},
38037 { SWIG_PY_INT, (char *)"BORDER_NONE", (long) wxBORDER_NONE, 0, 0, 0},
38038 { SWIG_PY_INT, (char *)"BORDER_STATIC", (long) wxBORDER_STATIC, 0, 0, 0},
38039 { SWIG_PY_INT, (char *)"BORDER_SIMPLE", (long) wxBORDER_SIMPLE, 0, 0, 0},
38040 { SWIG_PY_INT, (char *)"BORDER_RAISED", (long) wxBORDER_RAISED, 0, 0, 0},
38041 { SWIG_PY_INT, (char *)"BORDER_SUNKEN", (long) wxBORDER_SUNKEN, 0, 0, 0},
38042 { SWIG_PY_INT, (char *)"BORDER_DOUBLE", (long) wxBORDER_DOUBLE, 0, 0, 0},
38043 { SWIG_PY_INT, (char *)"BORDER_MASK", (long) wxBORDER_MASK, 0, 0, 0},
38044 { SWIG_PY_INT, (char *)"DEFAULT", (long) wxDEFAULT, 0, 0, 0},
38045 { SWIG_PY_INT, (char *)"DECORATIVE", (long) wxDECORATIVE, 0, 0, 0},
38046 { SWIG_PY_INT, (char *)"ROMAN", (long) wxROMAN, 0, 0, 0},
38047 { SWIG_PY_INT, (char *)"SCRIPT", (long) wxSCRIPT, 0, 0, 0},
38048 { SWIG_PY_INT, (char *)"SWISS", (long) wxSWISS, 0, 0, 0},
38049 { SWIG_PY_INT, (char *)"MODERN", (long) wxMODERN, 0, 0, 0},
38050 { SWIG_PY_INT, (char *)"TELETYPE", (long) wxTELETYPE, 0, 0, 0},
38051 { SWIG_PY_INT, (char *)"VARIABLE", (long) wxVARIABLE, 0, 0, 0},
38052 { SWIG_PY_INT, (char *)"FIXED", (long) wxFIXED, 0, 0, 0},
38053 { SWIG_PY_INT, (char *)"NORMAL", (long) wxNORMAL, 0, 0, 0},
38054 { SWIG_PY_INT, (char *)"LIGHT", (long) wxLIGHT, 0, 0, 0},
38055 { SWIG_PY_INT, (char *)"BOLD", (long) wxBOLD, 0, 0, 0},
38056 { SWIG_PY_INT, (char *)"ITALIC", (long) wxITALIC, 0, 0, 0},
38057 { SWIG_PY_INT, (char *)"SLANT", (long) wxSLANT, 0, 0, 0},
38058 { SWIG_PY_INT, (char *)"SOLID", (long) wxSOLID, 0, 0, 0},
38059 { SWIG_PY_INT, (char *)"DOT", (long) wxDOT, 0, 0, 0},
38060 { SWIG_PY_INT, (char *)"LONG_DASH", (long) wxLONG_DASH, 0, 0, 0},
38061 { SWIG_PY_INT, (char *)"SHORT_DASH", (long) wxSHORT_DASH, 0, 0, 0},
38062 { SWIG_PY_INT, (char *)"DOT_DASH", (long) wxDOT_DASH, 0, 0, 0},
38063 { SWIG_PY_INT, (char *)"USER_DASH", (long) wxUSER_DASH, 0, 0, 0},
38064 { SWIG_PY_INT, (char *)"TRANSPARENT", (long) wxTRANSPARENT, 0, 0, 0},
38065 { SWIG_PY_INT, (char *)"STIPPLE", (long) wxSTIPPLE, 0, 0, 0},
38066 { SWIG_PY_INT, (char *)"BDIAGONAL_HATCH", (long) wxBDIAGONAL_HATCH, 0, 0, 0},
38067 { SWIG_PY_INT, (char *)"CROSSDIAG_HATCH", (long) wxCROSSDIAG_HATCH, 0, 0, 0},
38068 { SWIG_PY_INT, (char *)"FDIAGONAL_HATCH", (long) wxFDIAGONAL_HATCH, 0, 0, 0},
38069 { SWIG_PY_INT, (char *)"CROSS_HATCH", (long) wxCROSS_HATCH, 0, 0, 0},
38070 { SWIG_PY_INT, (char *)"HORIZONTAL_HATCH", (long) wxHORIZONTAL_HATCH, 0, 0, 0},
38071 { SWIG_PY_INT, (char *)"VERTICAL_HATCH", (long) wxVERTICAL_HATCH, 0, 0, 0},
38072 { SWIG_PY_INT, (char *)"JOIN_BEVEL", (long) wxJOIN_BEVEL, 0, 0, 0},
38073 { SWIG_PY_INT, (char *)"JOIN_MITER", (long) wxJOIN_MITER, 0, 0, 0},
38074 { SWIG_PY_INT, (char *)"JOIN_ROUND", (long) wxJOIN_ROUND, 0, 0, 0},
38075 { SWIG_PY_INT, (char *)"CAP_ROUND", (long) wxCAP_ROUND, 0, 0, 0},
38076 { SWIG_PY_INT, (char *)"CAP_PROJECTING", (long) wxCAP_PROJECTING, 0, 0, 0},
38077 { SWIG_PY_INT, (char *)"CAP_BUTT", (long) wxCAP_BUTT, 0, 0, 0},
38078 { SWIG_PY_INT, (char *)"CLEAR", (long) wxCLEAR, 0, 0, 0},
38079 { SWIG_PY_INT, (char *)"XOR", (long) wxXOR, 0, 0, 0},
38080 { SWIG_PY_INT, (char *)"INVERT", (long) wxINVERT, 0, 0, 0},
38081 { SWIG_PY_INT, (char *)"OR_REVERSE", (long) wxOR_REVERSE, 0, 0, 0},
38082 { SWIG_PY_INT, (char *)"AND_REVERSE", (long) wxAND_REVERSE, 0, 0, 0},
38083 { SWIG_PY_INT, (char *)"COPY", (long) wxCOPY, 0, 0, 0},
38084 { SWIG_PY_INT, (char *)"AND", (long) wxAND, 0, 0, 0},
38085 { SWIG_PY_INT, (char *)"AND_INVERT", (long) wxAND_INVERT, 0, 0, 0},
38086 { SWIG_PY_INT, (char *)"NO_OP", (long) wxNO_OP, 0, 0, 0},
38087 { SWIG_PY_INT, (char *)"NOR", (long) wxNOR, 0, 0, 0},
38088 { SWIG_PY_INT, (char *)"EQUIV", (long) wxEQUIV, 0, 0, 0},
38089 { SWIG_PY_INT, (char *)"SRC_INVERT", (long) wxSRC_INVERT, 0, 0, 0},
38090 { SWIG_PY_INT, (char *)"OR_INVERT", (long) wxOR_INVERT, 0, 0, 0},
38091 { SWIG_PY_INT, (char *)"NAND", (long) wxNAND, 0, 0, 0},
38092 { SWIG_PY_INT, (char *)"OR", (long) wxOR, 0, 0, 0},
38093 { SWIG_PY_INT, (char *)"SET", (long) wxSET, 0, 0, 0},
38094 { SWIG_PY_INT, (char *)"WXK_BACK", (long) WXK_BACK, 0, 0, 0},
38095 { SWIG_PY_INT, (char *)"WXK_TAB", (long) WXK_TAB, 0, 0, 0},
38096 { SWIG_PY_INT, (char *)"WXK_RETURN", (long) WXK_RETURN, 0, 0, 0},
38097 { SWIG_PY_INT, (char *)"WXK_ESCAPE", (long) WXK_ESCAPE, 0, 0, 0},
38098 { SWIG_PY_INT, (char *)"WXK_SPACE", (long) WXK_SPACE, 0, 0, 0},
38099 { SWIG_PY_INT, (char *)"WXK_DELETE", (long) WXK_DELETE, 0, 0, 0},
38100 { SWIG_PY_INT, (char *)"WXK_START", (long) WXK_START, 0, 0, 0},
38101 { SWIG_PY_INT, (char *)"WXK_LBUTTON", (long) WXK_LBUTTON, 0, 0, 0},
38102 { SWIG_PY_INT, (char *)"WXK_RBUTTON", (long) WXK_RBUTTON, 0, 0, 0},
38103 { SWIG_PY_INT, (char *)"WXK_CANCEL", (long) WXK_CANCEL, 0, 0, 0},
38104 { SWIG_PY_INT, (char *)"WXK_MBUTTON", (long) WXK_MBUTTON, 0, 0, 0},
38105 { SWIG_PY_INT, (char *)"WXK_CLEAR", (long) WXK_CLEAR, 0, 0, 0},
38106 { SWIG_PY_INT, (char *)"WXK_SHIFT", (long) WXK_SHIFT, 0, 0, 0},
38107 { SWIG_PY_INT, (char *)"WXK_ALT", (long) WXK_ALT, 0, 0, 0},
38108 { SWIG_PY_INT, (char *)"WXK_CONTROL", (long) WXK_CONTROL, 0, 0, 0},
38109 { SWIG_PY_INT, (char *)"WXK_MENU", (long) WXK_MENU, 0, 0, 0},
38110 { SWIG_PY_INT, (char *)"WXK_PAUSE", (long) WXK_PAUSE, 0, 0, 0},
38111 { SWIG_PY_INT, (char *)"WXK_CAPITAL", (long) WXK_CAPITAL, 0, 0, 0},
38112 { SWIG_PY_INT, (char *)"WXK_PRIOR", (long) WXK_PRIOR, 0, 0, 0},
38113 { SWIG_PY_INT, (char *)"WXK_NEXT", (long) WXK_NEXT, 0, 0, 0},
38114 { SWIG_PY_INT, (char *)"WXK_END", (long) WXK_END, 0, 0, 0},
38115 { SWIG_PY_INT, (char *)"WXK_HOME", (long) WXK_HOME, 0, 0, 0},
38116 { SWIG_PY_INT, (char *)"WXK_LEFT", (long) WXK_LEFT, 0, 0, 0},
38117 { SWIG_PY_INT, (char *)"WXK_UP", (long) WXK_UP, 0, 0, 0},
38118 { SWIG_PY_INT, (char *)"WXK_RIGHT", (long) WXK_RIGHT, 0, 0, 0},
38119 { SWIG_PY_INT, (char *)"WXK_DOWN", (long) WXK_DOWN, 0, 0, 0},
38120 { SWIG_PY_INT, (char *)"WXK_SELECT", (long) WXK_SELECT, 0, 0, 0},
38121 { SWIG_PY_INT, (char *)"WXK_PRINT", (long) WXK_PRINT, 0, 0, 0},
38122 { SWIG_PY_INT, (char *)"WXK_EXECUTE", (long) WXK_EXECUTE, 0, 0, 0},
38123 { SWIG_PY_INT, (char *)"WXK_SNAPSHOT", (long) WXK_SNAPSHOT, 0, 0, 0},
38124 { SWIG_PY_INT, (char *)"WXK_INSERT", (long) WXK_INSERT, 0, 0, 0},
38125 { SWIG_PY_INT, (char *)"WXK_HELP", (long) WXK_HELP, 0, 0, 0},
38126 { SWIG_PY_INT, (char *)"WXK_NUMPAD0", (long) WXK_NUMPAD0, 0, 0, 0},
38127 { SWIG_PY_INT, (char *)"WXK_NUMPAD1", (long) WXK_NUMPAD1, 0, 0, 0},
38128 { SWIG_PY_INT, (char *)"WXK_NUMPAD2", (long) WXK_NUMPAD2, 0, 0, 0},
38129 { SWIG_PY_INT, (char *)"WXK_NUMPAD3", (long) WXK_NUMPAD3, 0, 0, 0},
38130 { SWIG_PY_INT, (char *)"WXK_NUMPAD4", (long) WXK_NUMPAD4, 0, 0, 0},
38131 { SWIG_PY_INT, (char *)"WXK_NUMPAD5", (long) WXK_NUMPAD5, 0, 0, 0},
38132 { SWIG_PY_INT, (char *)"WXK_NUMPAD6", (long) WXK_NUMPAD6, 0, 0, 0},
38133 { SWIG_PY_INT, (char *)"WXK_NUMPAD7", (long) WXK_NUMPAD7, 0, 0, 0},
38134 { SWIG_PY_INT, (char *)"WXK_NUMPAD8", (long) WXK_NUMPAD8, 0, 0, 0},
38135 { SWIG_PY_INT, (char *)"WXK_NUMPAD9", (long) WXK_NUMPAD9, 0, 0, 0},
38136 { SWIG_PY_INT, (char *)"WXK_MULTIPLY", (long) WXK_MULTIPLY, 0, 0, 0},
38137 { SWIG_PY_INT, (char *)"WXK_ADD", (long) WXK_ADD, 0, 0, 0},
38138 { SWIG_PY_INT, (char *)"WXK_SEPARATOR", (long) WXK_SEPARATOR, 0, 0, 0},
38139 { SWIG_PY_INT, (char *)"WXK_SUBTRACT", (long) WXK_SUBTRACT, 0, 0, 0},
38140 { SWIG_PY_INT, (char *)"WXK_DECIMAL", (long) WXK_DECIMAL, 0, 0, 0},
38141 { SWIG_PY_INT, (char *)"WXK_DIVIDE", (long) WXK_DIVIDE, 0, 0, 0},
38142 { SWIG_PY_INT, (char *)"WXK_F1", (long) WXK_F1, 0, 0, 0},
38143 { SWIG_PY_INT, (char *)"WXK_F2", (long) WXK_F2, 0, 0, 0},
38144 { SWIG_PY_INT, (char *)"WXK_F3", (long) WXK_F3, 0, 0, 0},
38145 { SWIG_PY_INT, (char *)"WXK_F4", (long) WXK_F4, 0, 0, 0},
38146 { SWIG_PY_INT, (char *)"WXK_F5", (long) WXK_F5, 0, 0, 0},
38147 { SWIG_PY_INT, (char *)"WXK_F6", (long) WXK_F6, 0, 0, 0},
38148 { SWIG_PY_INT, (char *)"WXK_F7", (long) WXK_F7, 0, 0, 0},
38149 { SWIG_PY_INT, (char *)"WXK_F8", (long) WXK_F8, 0, 0, 0},
38150 { SWIG_PY_INT, (char *)"WXK_F9", (long) WXK_F9, 0, 0, 0},
38151 { SWIG_PY_INT, (char *)"WXK_F10", (long) WXK_F10, 0, 0, 0},
38152 { SWIG_PY_INT, (char *)"WXK_F11", (long) WXK_F11, 0, 0, 0},
38153 { SWIG_PY_INT, (char *)"WXK_F12", (long) WXK_F12, 0, 0, 0},
38154 { SWIG_PY_INT, (char *)"WXK_F13", (long) WXK_F13, 0, 0, 0},
38155 { SWIG_PY_INT, (char *)"WXK_F14", (long) WXK_F14, 0, 0, 0},
38156 { SWIG_PY_INT, (char *)"WXK_F15", (long) WXK_F15, 0, 0, 0},
38157 { SWIG_PY_INT, (char *)"WXK_F16", (long) WXK_F16, 0, 0, 0},
38158 { SWIG_PY_INT, (char *)"WXK_F17", (long) WXK_F17, 0, 0, 0},
38159 { SWIG_PY_INT, (char *)"WXK_F18", (long) WXK_F18, 0, 0, 0},
38160 { SWIG_PY_INT, (char *)"WXK_F19", (long) WXK_F19, 0, 0, 0},
38161 { SWIG_PY_INT, (char *)"WXK_F20", (long) WXK_F20, 0, 0, 0},
38162 { SWIG_PY_INT, (char *)"WXK_F21", (long) WXK_F21, 0, 0, 0},
38163 { SWIG_PY_INT, (char *)"WXK_F22", (long) WXK_F22, 0, 0, 0},
38164 { SWIG_PY_INT, (char *)"WXK_F23", (long) WXK_F23, 0, 0, 0},
38165 { SWIG_PY_INT, (char *)"WXK_F24", (long) WXK_F24, 0, 0, 0},
38166 { SWIG_PY_INT, (char *)"WXK_NUMLOCK", (long) WXK_NUMLOCK, 0, 0, 0},
38167 { SWIG_PY_INT, (char *)"WXK_SCROLL", (long) WXK_SCROLL, 0, 0, 0},
38168 { SWIG_PY_INT, (char *)"WXK_PAGEUP", (long) WXK_PAGEUP, 0, 0, 0},
38169 { SWIG_PY_INT, (char *)"WXK_PAGEDOWN", (long) WXK_PAGEDOWN, 0, 0, 0},
38170 { SWIG_PY_INT, (char *)"WXK_NUMPAD_SPACE", (long) WXK_NUMPAD_SPACE, 0, 0, 0},
38171 { SWIG_PY_INT, (char *)"WXK_NUMPAD_TAB", (long) WXK_NUMPAD_TAB, 0, 0, 0},
38172 { SWIG_PY_INT, (char *)"WXK_NUMPAD_ENTER", (long) WXK_NUMPAD_ENTER, 0, 0, 0},
38173 { SWIG_PY_INT, (char *)"WXK_NUMPAD_F1", (long) WXK_NUMPAD_F1, 0, 0, 0},
38174 { SWIG_PY_INT, (char *)"WXK_NUMPAD_F2", (long) WXK_NUMPAD_F2, 0, 0, 0},
38175 { SWIG_PY_INT, (char *)"WXK_NUMPAD_F3", (long) WXK_NUMPAD_F3, 0, 0, 0},
38176 { SWIG_PY_INT, (char *)"WXK_NUMPAD_F4", (long) WXK_NUMPAD_F4, 0, 0, 0},
38177 { SWIG_PY_INT, (char *)"WXK_NUMPAD_HOME", (long) WXK_NUMPAD_HOME, 0, 0, 0},
38178 { SWIG_PY_INT, (char *)"WXK_NUMPAD_LEFT", (long) WXK_NUMPAD_LEFT, 0, 0, 0},
38179 { SWIG_PY_INT, (char *)"WXK_NUMPAD_UP", (long) WXK_NUMPAD_UP, 0, 0, 0},
38180 { SWIG_PY_INT, (char *)"WXK_NUMPAD_RIGHT", (long) WXK_NUMPAD_RIGHT, 0, 0, 0},
38181 { SWIG_PY_INT, (char *)"WXK_NUMPAD_DOWN", (long) WXK_NUMPAD_DOWN, 0, 0, 0},
38182 { SWIG_PY_INT, (char *)"WXK_NUMPAD_PRIOR", (long) WXK_NUMPAD_PRIOR, 0, 0, 0},
38183 { SWIG_PY_INT, (char *)"WXK_NUMPAD_PAGEUP", (long) WXK_NUMPAD_PAGEUP, 0, 0, 0},
38184 { SWIG_PY_INT, (char *)"WXK_NUMPAD_NEXT", (long) WXK_NUMPAD_NEXT, 0, 0, 0},
38185 { SWIG_PY_INT, (char *)"WXK_NUMPAD_PAGEDOWN", (long) WXK_NUMPAD_PAGEDOWN, 0, 0, 0},
38186 { SWIG_PY_INT, (char *)"WXK_NUMPAD_END", (long) WXK_NUMPAD_END, 0, 0, 0},
38187 { SWIG_PY_INT, (char *)"WXK_NUMPAD_BEGIN", (long) WXK_NUMPAD_BEGIN, 0, 0, 0},
38188 { SWIG_PY_INT, (char *)"WXK_NUMPAD_INSERT", (long) WXK_NUMPAD_INSERT, 0, 0, 0},
38189 { SWIG_PY_INT, (char *)"WXK_NUMPAD_DELETE", (long) WXK_NUMPAD_DELETE, 0, 0, 0},
38190 { SWIG_PY_INT, (char *)"WXK_NUMPAD_EQUAL", (long) WXK_NUMPAD_EQUAL, 0, 0, 0},
38191 { SWIG_PY_INT, (char *)"WXK_NUMPAD_MULTIPLY", (long) WXK_NUMPAD_MULTIPLY, 0, 0, 0},
38192 { SWIG_PY_INT, (char *)"WXK_NUMPAD_ADD", (long) WXK_NUMPAD_ADD, 0, 0, 0},
38193 { SWIG_PY_INT, (char *)"WXK_NUMPAD_SEPARATOR", (long) WXK_NUMPAD_SEPARATOR, 0, 0, 0},
38194 { SWIG_PY_INT, (char *)"WXK_NUMPAD_SUBTRACT", (long) WXK_NUMPAD_SUBTRACT, 0, 0, 0},
38195 { SWIG_PY_INT, (char *)"WXK_NUMPAD_DECIMAL", (long) WXK_NUMPAD_DECIMAL, 0, 0, 0},
38196 { SWIG_PY_INT, (char *)"WXK_NUMPAD_DIVIDE", (long) WXK_NUMPAD_DIVIDE, 0, 0, 0},
38197 { SWIG_PY_INT, (char *)"WXK_WINDOWS_LEFT", (long) WXK_WINDOWS_LEFT, 0, 0, 0},
38198 { SWIG_PY_INT, (char *)"WXK_WINDOWS_RIGHT", (long) WXK_WINDOWS_RIGHT, 0, 0, 0},
38199 { SWIG_PY_INT, (char *)"WXK_WINDOWS_MENU", (long) WXK_WINDOWS_MENU, 0, 0, 0},
38200 { SWIG_PY_INT, (char *)"PAPER_NONE", (long) wxPAPER_NONE, 0, 0, 0},
38201 { SWIG_PY_INT, (char *)"PAPER_LETTER", (long) wxPAPER_LETTER, 0, 0, 0},
38202 { SWIG_PY_INT, (char *)"PAPER_LEGAL", (long) wxPAPER_LEGAL, 0, 0, 0},
38203 { SWIG_PY_INT, (char *)"PAPER_A4", (long) wxPAPER_A4, 0, 0, 0},
38204 { SWIG_PY_INT, (char *)"PAPER_CSHEET", (long) wxPAPER_CSHEET, 0, 0, 0},
38205 { SWIG_PY_INT, (char *)"PAPER_DSHEET", (long) wxPAPER_DSHEET, 0, 0, 0},
38206 { SWIG_PY_INT, (char *)"PAPER_ESHEET", (long) wxPAPER_ESHEET, 0, 0, 0},
38207 { SWIG_PY_INT, (char *)"PAPER_LETTERSMALL", (long) wxPAPER_LETTERSMALL, 0, 0, 0},
38208 { SWIG_PY_INT, (char *)"PAPER_TABLOID", (long) wxPAPER_TABLOID, 0, 0, 0},
38209 { SWIG_PY_INT, (char *)"PAPER_LEDGER", (long) wxPAPER_LEDGER, 0, 0, 0},
38210 { SWIG_PY_INT, (char *)"PAPER_STATEMENT", (long) wxPAPER_STATEMENT, 0, 0, 0},
38211 { SWIG_PY_INT, (char *)"PAPER_EXECUTIVE", (long) wxPAPER_EXECUTIVE, 0, 0, 0},
38212 { SWIG_PY_INT, (char *)"PAPER_A3", (long) wxPAPER_A3, 0, 0, 0},
38213 { SWIG_PY_INT, (char *)"PAPER_A4SMALL", (long) wxPAPER_A4SMALL, 0, 0, 0},
38214 { SWIG_PY_INT, (char *)"PAPER_A5", (long) wxPAPER_A5, 0, 0, 0},
38215 { SWIG_PY_INT, (char *)"PAPER_B4", (long) wxPAPER_B4, 0, 0, 0},
38216 { SWIG_PY_INT, (char *)"PAPER_B5", (long) wxPAPER_B5, 0, 0, 0},
38217 { SWIG_PY_INT, (char *)"PAPER_FOLIO", (long) wxPAPER_FOLIO, 0, 0, 0},
38218 { SWIG_PY_INT, (char *)"PAPER_QUARTO", (long) wxPAPER_QUARTO, 0, 0, 0},
38219 { SWIG_PY_INT, (char *)"PAPER_10X14", (long) wxPAPER_10X14, 0, 0, 0},
38220 { SWIG_PY_INT, (char *)"PAPER_11X17", (long) wxPAPER_11X17, 0, 0, 0},
38221 { SWIG_PY_INT, (char *)"PAPER_NOTE", (long) wxPAPER_NOTE, 0, 0, 0},
38222 { SWIG_PY_INT, (char *)"PAPER_ENV_9", (long) wxPAPER_ENV_9, 0, 0, 0},
38223 { SWIG_PY_INT, (char *)"PAPER_ENV_10", (long) wxPAPER_ENV_10, 0, 0, 0},
38224 { SWIG_PY_INT, (char *)"PAPER_ENV_11", (long) wxPAPER_ENV_11, 0, 0, 0},
38225 { SWIG_PY_INT, (char *)"PAPER_ENV_12", (long) wxPAPER_ENV_12, 0, 0, 0},
38226 { SWIG_PY_INT, (char *)"PAPER_ENV_14", (long) wxPAPER_ENV_14, 0, 0, 0},
38227 { SWIG_PY_INT, (char *)"PAPER_ENV_DL", (long) wxPAPER_ENV_DL, 0, 0, 0},
38228 { SWIG_PY_INT, (char *)"PAPER_ENV_C5", (long) wxPAPER_ENV_C5, 0, 0, 0},
38229 { SWIG_PY_INT, (char *)"PAPER_ENV_C3", (long) wxPAPER_ENV_C3, 0, 0, 0},
38230 { SWIG_PY_INT, (char *)"PAPER_ENV_C4", (long) wxPAPER_ENV_C4, 0, 0, 0},
38231 { SWIG_PY_INT, (char *)"PAPER_ENV_C6", (long) wxPAPER_ENV_C6, 0, 0, 0},
38232 { SWIG_PY_INT, (char *)"PAPER_ENV_C65", (long) wxPAPER_ENV_C65, 0, 0, 0},
38233 { SWIG_PY_INT, (char *)"PAPER_ENV_B4", (long) wxPAPER_ENV_B4, 0, 0, 0},
38234 { SWIG_PY_INT, (char *)"PAPER_ENV_B5", (long) wxPAPER_ENV_B5, 0, 0, 0},
38235 { SWIG_PY_INT, (char *)"PAPER_ENV_B6", (long) wxPAPER_ENV_B6, 0, 0, 0},
38236 { SWIG_PY_INT, (char *)"PAPER_ENV_ITALY", (long) wxPAPER_ENV_ITALY, 0, 0, 0},
38237 { SWIG_PY_INT, (char *)"PAPER_ENV_MONARCH", (long) wxPAPER_ENV_MONARCH, 0, 0, 0},
38238 { SWIG_PY_INT, (char *)"PAPER_ENV_PERSONAL", (long) wxPAPER_ENV_PERSONAL, 0, 0, 0},
38239 { SWIG_PY_INT, (char *)"PAPER_FANFOLD_US", (long) wxPAPER_FANFOLD_US, 0, 0, 0},
38240 { SWIG_PY_INT, (char *)"PAPER_FANFOLD_STD_GERMAN", (long) wxPAPER_FANFOLD_STD_GERMAN, 0, 0, 0},
38241 { SWIG_PY_INT, (char *)"PAPER_FANFOLD_LGL_GERMAN", (long) wxPAPER_FANFOLD_LGL_GERMAN, 0, 0, 0},
38242 { SWIG_PY_INT, (char *)"PAPER_ISO_B4", (long) wxPAPER_ISO_B4, 0, 0, 0},
38243 { SWIG_PY_INT, (char *)"PAPER_JAPANESE_POSTCARD", (long) wxPAPER_JAPANESE_POSTCARD, 0, 0, 0},
38244 { SWIG_PY_INT, (char *)"PAPER_9X11", (long) wxPAPER_9X11, 0, 0, 0},
38245 { SWIG_PY_INT, (char *)"PAPER_10X11", (long) wxPAPER_10X11, 0, 0, 0},
38246 { SWIG_PY_INT, (char *)"PAPER_15X11", (long) wxPAPER_15X11, 0, 0, 0},
38247 { SWIG_PY_INT, (char *)"PAPER_ENV_INVITE", (long) wxPAPER_ENV_INVITE, 0, 0, 0},
38248 { SWIG_PY_INT, (char *)"PAPER_LETTER_EXTRA", (long) wxPAPER_LETTER_EXTRA, 0, 0, 0},
38249 { SWIG_PY_INT, (char *)"PAPER_LEGAL_EXTRA", (long) wxPAPER_LEGAL_EXTRA, 0, 0, 0},
38250 { SWIG_PY_INT, (char *)"PAPER_TABLOID_EXTRA", (long) wxPAPER_TABLOID_EXTRA, 0, 0, 0},
38251 { SWIG_PY_INT, (char *)"PAPER_A4_EXTRA", (long) wxPAPER_A4_EXTRA, 0, 0, 0},
38252 { SWIG_PY_INT, (char *)"PAPER_LETTER_TRANSVERSE", (long) wxPAPER_LETTER_TRANSVERSE, 0, 0, 0},
38253 { SWIG_PY_INT, (char *)"PAPER_A4_TRANSVERSE", (long) wxPAPER_A4_TRANSVERSE, 0, 0, 0},
38254 { SWIG_PY_INT, (char *)"PAPER_LETTER_EXTRA_TRANSVERSE", (long) wxPAPER_LETTER_EXTRA_TRANSVERSE, 0, 0, 0},
38255 { SWIG_PY_INT, (char *)"PAPER_A_PLUS", (long) wxPAPER_A_PLUS, 0, 0, 0},
38256 { SWIG_PY_INT, (char *)"PAPER_B_PLUS", (long) wxPAPER_B_PLUS, 0, 0, 0},
38257 { SWIG_PY_INT, (char *)"PAPER_LETTER_PLUS", (long) wxPAPER_LETTER_PLUS, 0, 0, 0},
38258 { SWIG_PY_INT, (char *)"PAPER_A4_PLUS", (long) wxPAPER_A4_PLUS, 0, 0, 0},
38259 { SWIG_PY_INT, (char *)"PAPER_A5_TRANSVERSE", (long) wxPAPER_A5_TRANSVERSE, 0, 0, 0},
38260 { SWIG_PY_INT, (char *)"PAPER_B5_TRANSVERSE", (long) wxPAPER_B5_TRANSVERSE, 0, 0, 0},
38261 { SWIG_PY_INT, (char *)"PAPER_A3_EXTRA", (long) wxPAPER_A3_EXTRA, 0, 0, 0},
38262 { SWIG_PY_INT, (char *)"PAPER_A5_EXTRA", (long) wxPAPER_A5_EXTRA, 0, 0, 0},
38263 { SWIG_PY_INT, (char *)"PAPER_B5_EXTRA", (long) wxPAPER_B5_EXTRA, 0, 0, 0},
38264 { SWIG_PY_INT, (char *)"PAPER_A2", (long) wxPAPER_A2, 0, 0, 0},
38265 { SWIG_PY_INT, (char *)"PAPER_A3_TRANSVERSE", (long) wxPAPER_A3_TRANSVERSE, 0, 0, 0},
38266 { SWIG_PY_INT, (char *)"PAPER_A3_EXTRA_TRANSVERSE", (long) wxPAPER_A3_EXTRA_TRANSVERSE, 0, 0, 0},
38267 { SWIG_PY_INT, (char *)"DUPLEX_SIMPLEX", (long) wxDUPLEX_SIMPLEX, 0, 0, 0},
38268 { SWIG_PY_INT, (char *)"DUPLEX_HORIZONTAL", (long) wxDUPLEX_HORIZONTAL, 0, 0, 0},
38269 { SWIG_PY_INT, (char *)"DUPLEX_VERTICAL", (long) wxDUPLEX_VERTICAL, 0, 0, 0},
38270 { SWIG_PY_INT, (char *)"ITEM_SEPARATOR", (long) wxITEM_SEPARATOR, 0, 0, 0},
38271 { SWIG_PY_INT, (char *)"ITEM_NORMAL", (long) wxITEM_NORMAL, 0, 0, 0},
38272 { SWIG_PY_INT, (char *)"ITEM_CHECK", (long) wxITEM_CHECK, 0, 0, 0},
38273 { SWIG_PY_INT, (char *)"ITEM_RADIO", (long) wxITEM_RADIO, 0, 0, 0},
38274 { SWIG_PY_INT, (char *)"ITEM_MAX", (long) wxITEM_MAX, 0, 0, 0},
38275 { SWIG_PY_INT, (char *)"HT_NOWHERE", (long) wxHT_NOWHERE, 0, 0, 0},
38276 { SWIG_PY_INT, (char *)"HT_SCROLLBAR_FIRST", (long) wxHT_SCROLLBAR_FIRST, 0, 0, 0},
38277 { SWIG_PY_INT, (char *)"HT_SCROLLBAR_ARROW_LINE_1", (long) wxHT_SCROLLBAR_ARROW_LINE_1, 0, 0, 0},
38278 { SWIG_PY_INT, (char *)"HT_SCROLLBAR_ARROW_LINE_2", (long) wxHT_SCROLLBAR_ARROW_LINE_2, 0, 0, 0},
38279 { SWIG_PY_INT, (char *)"HT_SCROLLBAR_ARROW_PAGE_1", (long) wxHT_SCROLLBAR_ARROW_PAGE_1, 0, 0, 0},
38280 { SWIG_PY_INT, (char *)"HT_SCROLLBAR_ARROW_PAGE_2", (long) wxHT_SCROLLBAR_ARROW_PAGE_2, 0, 0, 0},
38281 { SWIG_PY_INT, (char *)"HT_SCROLLBAR_THUMB", (long) wxHT_SCROLLBAR_THUMB, 0, 0, 0},
38282 { SWIG_PY_INT, (char *)"HT_SCROLLBAR_BAR_1", (long) wxHT_SCROLLBAR_BAR_1, 0, 0, 0},
38283 { SWIG_PY_INT, (char *)"HT_SCROLLBAR_BAR_2", (long) wxHT_SCROLLBAR_BAR_2, 0, 0, 0},
38284 { SWIG_PY_INT, (char *)"HT_SCROLLBAR_LAST", (long) wxHT_SCROLLBAR_LAST, 0, 0, 0},
38285 { SWIG_PY_INT, (char *)"HT_WINDOW_OUTSIDE", (long) wxHT_WINDOW_OUTSIDE, 0, 0, 0},
38286 { SWIG_PY_INT, (char *)"HT_WINDOW_INSIDE", (long) wxHT_WINDOW_INSIDE, 0, 0, 0},
38287 { SWIG_PY_INT, (char *)"HT_WINDOW_VERT_SCROLLBAR", (long) wxHT_WINDOW_VERT_SCROLLBAR, 0, 0, 0},
38288 { SWIG_PY_INT, (char *)"HT_WINDOW_HORZ_SCROLLBAR", (long) wxHT_WINDOW_HORZ_SCROLLBAR, 0, 0, 0},
38289 { SWIG_PY_INT, (char *)"HT_WINDOW_CORNER", (long) wxHT_WINDOW_CORNER, 0, 0, 0},
38290 { SWIG_PY_INT, (char *)"HT_MAX", (long) wxHT_MAX, 0, 0, 0},
38291 { SWIG_PY_INT, (char *)"MOD_NONE", (long) wxMOD_NONE, 0, 0, 0},
38292 { SWIG_PY_INT, (char *)"MOD_ALT", (long) wxMOD_ALT, 0, 0, 0},
38293 { SWIG_PY_INT, (char *)"MOD_CONTROL", (long) wxMOD_CONTROL, 0, 0, 0},
38294 { SWIG_PY_INT, (char *)"MOD_SHIFT", (long) wxMOD_SHIFT, 0, 0, 0},
38295 { SWIG_PY_INT, (char *)"MOD_WIN", (long) wxMOD_WIN, 0, 0, 0},
38296 { SWIG_PY_INT, (char *)"UPDATE_UI_NONE", (long) wxUPDATE_UI_NONE, 0, 0, 0},
38297 { SWIG_PY_INT, (char *)"UPDATE_UI_RECURSE", (long) wxUPDATE_UI_RECURSE, 0, 0, 0},
38298 { SWIG_PY_INT, (char *)"UPDATE_UI_FROMIDLE", (long) wxUPDATE_UI_FROMIDLE, 0, 0, 0},
38299 { SWIG_PY_INT, (char *)"BITMAP_TYPE_INVALID", (long) wxBITMAP_TYPE_INVALID, 0, 0, 0},
38300 { SWIG_PY_INT, (char *)"BITMAP_TYPE_BMP", (long) wxBITMAP_TYPE_BMP, 0, 0, 0},
38301 { SWIG_PY_INT, (char *)"BITMAP_TYPE_BMP_RESOURCE", (long) wxBITMAP_TYPE_BMP_RESOURCE, 0, 0, 0},
38302 { SWIG_PY_INT, (char *)"BITMAP_TYPE_RESOURCE", (long) wxBITMAP_TYPE_RESOURCE, 0, 0, 0},
38303 { SWIG_PY_INT, (char *)"BITMAP_TYPE_ICO", (long) wxBITMAP_TYPE_ICO, 0, 0, 0},
38304 { SWIG_PY_INT, (char *)"BITMAP_TYPE_ICO_RESOURCE", (long) wxBITMAP_TYPE_ICO_RESOURCE, 0, 0, 0},
38305 { SWIG_PY_INT, (char *)"BITMAP_TYPE_CUR", (long) wxBITMAP_TYPE_CUR, 0, 0, 0},
38306 { SWIG_PY_INT, (char *)"BITMAP_TYPE_CUR_RESOURCE", (long) wxBITMAP_TYPE_CUR_RESOURCE, 0, 0, 0},
38307 { SWIG_PY_INT, (char *)"BITMAP_TYPE_XBM", (long) wxBITMAP_TYPE_XBM, 0, 0, 0},
38308 { SWIG_PY_INT, (char *)"BITMAP_TYPE_XBM_DATA", (long) wxBITMAP_TYPE_XBM_DATA, 0, 0, 0},
38309 { SWIG_PY_INT, (char *)"BITMAP_TYPE_XPM", (long) wxBITMAP_TYPE_XPM, 0, 0, 0},
38310 { SWIG_PY_INT, (char *)"BITMAP_TYPE_XPM_DATA", (long) wxBITMAP_TYPE_XPM_DATA, 0, 0, 0},
38311 { SWIG_PY_INT, (char *)"BITMAP_TYPE_TIF", (long) wxBITMAP_TYPE_TIF, 0, 0, 0},
38312 { SWIG_PY_INT, (char *)"BITMAP_TYPE_TIF_RESOURCE", (long) wxBITMAP_TYPE_TIF_RESOURCE, 0, 0, 0},
38313 { SWIG_PY_INT, (char *)"BITMAP_TYPE_GIF", (long) wxBITMAP_TYPE_GIF, 0, 0, 0},
38314 { SWIG_PY_INT, (char *)"BITMAP_TYPE_GIF_RESOURCE", (long) wxBITMAP_TYPE_GIF_RESOURCE, 0, 0, 0},
38315 { SWIG_PY_INT, (char *)"BITMAP_TYPE_PNG", (long) wxBITMAP_TYPE_PNG, 0, 0, 0},
38316 { SWIG_PY_INT, (char *)"BITMAP_TYPE_PNG_RESOURCE", (long) wxBITMAP_TYPE_PNG_RESOURCE, 0, 0, 0},
38317 { SWIG_PY_INT, (char *)"BITMAP_TYPE_JPEG", (long) wxBITMAP_TYPE_JPEG, 0, 0, 0},
38318 { SWIG_PY_INT, (char *)"BITMAP_TYPE_JPEG_RESOURCE", (long) wxBITMAP_TYPE_JPEG_RESOURCE, 0, 0, 0},
38319 { SWIG_PY_INT, (char *)"BITMAP_TYPE_PNM", (long) wxBITMAP_TYPE_PNM, 0, 0, 0},
38320 { SWIG_PY_INT, (char *)"BITMAP_TYPE_PNM_RESOURCE", (long) wxBITMAP_TYPE_PNM_RESOURCE, 0, 0, 0},
38321 { SWIG_PY_INT, (char *)"BITMAP_TYPE_PCX", (long) wxBITMAP_TYPE_PCX, 0, 0, 0},
38322 { SWIG_PY_INT, (char *)"BITMAP_TYPE_PCX_RESOURCE", (long) wxBITMAP_TYPE_PCX_RESOURCE, 0, 0, 0},
38323 { SWIG_PY_INT, (char *)"BITMAP_TYPE_PICT", (long) wxBITMAP_TYPE_PICT, 0, 0, 0},
38324 { SWIG_PY_INT, (char *)"BITMAP_TYPE_PICT_RESOURCE", (long) wxBITMAP_TYPE_PICT_RESOURCE, 0, 0, 0},
38325 { SWIG_PY_INT, (char *)"BITMAP_TYPE_ICON", (long) wxBITMAP_TYPE_ICON, 0, 0, 0},
38326 { SWIG_PY_INT, (char *)"BITMAP_TYPE_ICON_RESOURCE", (long) wxBITMAP_TYPE_ICON_RESOURCE, 0, 0, 0},
38327 { SWIG_PY_INT, (char *)"BITMAP_TYPE_ANI", (long) wxBITMAP_TYPE_ANI, 0, 0, 0},
38328 { SWIG_PY_INT, (char *)"BITMAP_TYPE_IFF", (long) wxBITMAP_TYPE_IFF, 0, 0, 0},
38329 { SWIG_PY_INT, (char *)"BITMAP_TYPE_MACCURSOR", (long) wxBITMAP_TYPE_MACCURSOR, 0, 0, 0},
38330 { SWIG_PY_INT, (char *)"BITMAP_TYPE_MACCURSOR_RESOURCE", (long) wxBITMAP_TYPE_MACCURSOR_RESOURCE, 0, 0, 0},
38331 { SWIG_PY_INT, (char *)"BITMAP_TYPE_ANY", (long) wxBITMAP_TYPE_ANY, 0, 0, 0},
38332 { SWIG_PY_INT, (char *)"CURSOR_NONE", (long) wxCURSOR_NONE, 0, 0, 0},
38333 { SWIG_PY_INT, (char *)"CURSOR_ARROW", (long) wxCURSOR_ARROW, 0, 0, 0},
38334 { SWIG_PY_INT, (char *)"CURSOR_RIGHT_ARROW", (long) wxCURSOR_RIGHT_ARROW, 0, 0, 0},
38335 { SWIG_PY_INT, (char *)"CURSOR_BULLSEYE", (long) wxCURSOR_BULLSEYE, 0, 0, 0},
38336 { SWIG_PY_INT, (char *)"CURSOR_CHAR", (long) wxCURSOR_CHAR, 0, 0, 0},
38337 { SWIG_PY_INT, (char *)"CURSOR_CROSS", (long) wxCURSOR_CROSS, 0, 0, 0},
38338 { SWIG_PY_INT, (char *)"CURSOR_HAND", (long) wxCURSOR_HAND, 0, 0, 0},
38339 { SWIG_PY_INT, (char *)"CURSOR_IBEAM", (long) wxCURSOR_IBEAM, 0, 0, 0},
38340 { SWIG_PY_INT, (char *)"CURSOR_LEFT_BUTTON", (long) wxCURSOR_LEFT_BUTTON, 0, 0, 0},
38341 { SWIG_PY_INT, (char *)"CURSOR_MAGNIFIER", (long) wxCURSOR_MAGNIFIER, 0, 0, 0},
38342 { SWIG_PY_INT, (char *)"CURSOR_MIDDLE_BUTTON", (long) wxCURSOR_MIDDLE_BUTTON, 0, 0, 0},
38343 { SWIG_PY_INT, (char *)"CURSOR_NO_ENTRY", (long) wxCURSOR_NO_ENTRY, 0, 0, 0},
38344 { SWIG_PY_INT, (char *)"CURSOR_PAINT_BRUSH", (long) wxCURSOR_PAINT_BRUSH, 0, 0, 0},
38345 { SWIG_PY_INT, (char *)"CURSOR_PENCIL", (long) wxCURSOR_PENCIL, 0, 0, 0},
38346 { SWIG_PY_INT, (char *)"CURSOR_POINT_LEFT", (long) wxCURSOR_POINT_LEFT, 0, 0, 0},
38347 { SWIG_PY_INT, (char *)"CURSOR_POINT_RIGHT", (long) wxCURSOR_POINT_RIGHT, 0, 0, 0},
38348 { SWIG_PY_INT, (char *)"CURSOR_QUESTION_ARROW", (long) wxCURSOR_QUESTION_ARROW, 0, 0, 0},
38349 { SWIG_PY_INT, (char *)"CURSOR_RIGHT_BUTTON", (long) wxCURSOR_RIGHT_BUTTON, 0, 0, 0},
38350 { SWIG_PY_INT, (char *)"CURSOR_SIZENESW", (long) wxCURSOR_SIZENESW, 0, 0, 0},
38351 { SWIG_PY_INT, (char *)"CURSOR_SIZENS", (long) wxCURSOR_SIZENS, 0, 0, 0},
38352 { SWIG_PY_INT, (char *)"CURSOR_SIZENWSE", (long) wxCURSOR_SIZENWSE, 0, 0, 0},
38353 { SWIG_PY_INT, (char *)"CURSOR_SIZEWE", (long) wxCURSOR_SIZEWE, 0, 0, 0},
38354 { SWIG_PY_INT, (char *)"CURSOR_SIZING", (long) wxCURSOR_SIZING, 0, 0, 0},
38355 { SWIG_PY_INT, (char *)"CURSOR_SPRAYCAN", (long) wxCURSOR_SPRAYCAN, 0, 0, 0},
38356 { SWIG_PY_INT, (char *)"CURSOR_WAIT", (long) wxCURSOR_WAIT, 0, 0, 0},
38357 { SWIG_PY_INT, (char *)"CURSOR_WATCH", (long) wxCURSOR_WATCH, 0, 0, 0},
38358 { SWIG_PY_INT, (char *)"CURSOR_BLANK", (long) wxCURSOR_BLANK, 0, 0, 0},
38359 { SWIG_PY_INT, (char *)"CURSOR_DEFAULT", (long) wxCURSOR_DEFAULT, 0, 0, 0},
38360 { SWIG_PY_INT, (char *)"CURSOR_COPY_ARROW", (long) wxCURSOR_COPY_ARROW, 0, 0, 0},
38361 { SWIG_PY_INT, (char *)"CURSOR_ARROWWAIT", (long) wxCURSOR_ARROWWAIT, 0, 0, 0},
38362 { SWIG_PY_INT, (char *)"CURSOR_MAX", (long) wxCURSOR_MAX, 0, 0, 0},
38363 { SWIG_PY_INT, (char *)"FromStart", (long) wxFromStart, 0, 0, 0},
38364 { SWIG_PY_INT, (char *)"FromCurrent", (long) wxFromCurrent, 0, 0, 0},
38365 { SWIG_PY_INT, (char *)"FromEnd", (long) wxFromEnd, 0, 0, 0},
38366 { SWIG_PY_INT, (char *)"IMAGE_RESOLUTION_INCHES", (long) wxIMAGE_RESOLUTION_INCHES, 0, 0, 0},
38367 { SWIG_PY_INT, (char *)"IMAGE_RESOLUTION_CM", (long) wxIMAGE_RESOLUTION_CM, 0, 0, 0},
38368 { SWIG_PY_INT, (char *)"BMP_24BPP", (long) wxBMP_24BPP, 0, 0, 0},
38369 { SWIG_PY_INT, (char *)"BMP_8BPP", (long) wxBMP_8BPP, 0, 0, 0},
38370 { SWIG_PY_INT, (char *)"BMP_8BPP_GREY", (long) wxBMP_8BPP_GREY, 0, 0, 0},
38371 { SWIG_PY_INT, (char *)"BMP_8BPP_GRAY", (long) wxBMP_8BPP_GRAY, 0, 0, 0},
38372 { SWIG_PY_INT, (char *)"BMP_8BPP_RED", (long) wxBMP_8BPP_RED, 0, 0, 0},
38373 { SWIG_PY_INT, (char *)"BMP_8BPP_PALETTE", (long) wxBMP_8BPP_PALETTE, 0, 0, 0},
38374 { SWIG_PY_INT, (char *)"BMP_4BPP", (long) wxBMP_4BPP, 0, 0, 0},
38375 { SWIG_PY_INT, (char *)"BMP_1BPP", (long) wxBMP_1BPP, 0, 0, 0},
38376 { SWIG_PY_INT, (char *)"BMP_1BPP_BW", (long) wxBMP_1BPP_BW, 0, 0, 0},
38377 { SWIG_PY_INT, (char *)"EVENT_PROPAGATE_NONE", (long) wxEVENT_PROPAGATE_NONE, 0, 0, 0},
38378 { SWIG_PY_INT, (char *)"EVENT_PROPAGATE_MAX", (long) wxEVENT_PROPAGATE_MAX, 0, 0, 0},
38379 { SWIG_PY_INT, (char *)"wxEVT_NULL", (long) wxEVT_NULL, 0, 0, 0},
38380 { SWIG_PY_INT, (char *)"wxEVT_FIRST", (long) wxEVT_FIRST, 0, 0, 0},
38381 { SWIG_PY_INT, (char *)"wxEVT_USER_FIRST", (long) wxEVT_USER_FIRST, 0, 0, 0},
38382 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_BUTTON_CLICKED", (long) wxEVT_COMMAND_BUTTON_CLICKED, 0, 0, 0},
38383 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_CHECKBOX_CLICKED", (long) wxEVT_COMMAND_CHECKBOX_CLICKED, 0, 0, 0},
38384 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_CHOICE_SELECTED", (long) wxEVT_COMMAND_CHOICE_SELECTED, 0, 0, 0},
38385 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LISTBOX_SELECTED", (long) wxEVT_COMMAND_LISTBOX_SELECTED, 0, 0, 0},
38386 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LISTBOX_DOUBLECLICKED", (long) wxEVT_COMMAND_LISTBOX_DOUBLECLICKED, 0, 0, 0},
38387 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_CHECKLISTBOX_TOGGLED", (long) wxEVT_COMMAND_CHECKLISTBOX_TOGGLED, 0, 0, 0},
38388 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_MENU_SELECTED", (long) wxEVT_COMMAND_MENU_SELECTED, 0, 0, 0},
38389 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TOOL_CLICKED", (long) wxEVT_COMMAND_TOOL_CLICKED, 0, 0, 0},
38390 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_SLIDER_UPDATED", (long) wxEVT_COMMAND_SLIDER_UPDATED, 0, 0, 0},
38391 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_RADIOBOX_SELECTED", (long) wxEVT_COMMAND_RADIOBOX_SELECTED, 0, 0, 0},
38392 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_RADIOBUTTON_SELECTED", (long) wxEVT_COMMAND_RADIOBUTTON_SELECTED, 0, 0, 0},
38393 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_SCROLLBAR_UPDATED", (long) wxEVT_COMMAND_SCROLLBAR_UPDATED, 0, 0, 0},
38394 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_VLBOX_SELECTED", (long) wxEVT_COMMAND_VLBOX_SELECTED, 0, 0, 0},
38395 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_COMBOBOX_SELECTED", (long) wxEVT_COMMAND_COMBOBOX_SELECTED, 0, 0, 0},
38396 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TOOL_RCLICKED", (long) wxEVT_COMMAND_TOOL_RCLICKED, 0, 0, 0},
38397 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TOOL_ENTER", (long) wxEVT_COMMAND_TOOL_ENTER, 0, 0, 0},
38398 { SWIG_PY_INT, (char *)"wxEVT_LEFT_DOWN", (long) wxEVT_LEFT_DOWN, 0, 0, 0},
38399 { SWIG_PY_INT, (char *)"wxEVT_LEFT_UP", (long) wxEVT_LEFT_UP, 0, 0, 0},
38400 { SWIG_PY_INT, (char *)"wxEVT_MIDDLE_DOWN", (long) wxEVT_MIDDLE_DOWN, 0, 0, 0},
38401 { SWIG_PY_INT, (char *)"wxEVT_MIDDLE_UP", (long) wxEVT_MIDDLE_UP, 0, 0, 0},
38402 { SWIG_PY_INT, (char *)"wxEVT_RIGHT_DOWN", (long) wxEVT_RIGHT_DOWN, 0, 0, 0},
38403 { SWIG_PY_INT, (char *)"wxEVT_RIGHT_UP", (long) wxEVT_RIGHT_UP, 0, 0, 0},
38404 { SWIG_PY_INT, (char *)"wxEVT_MOTION", (long) wxEVT_MOTION, 0, 0, 0},
38405 { SWIG_PY_INT, (char *)"wxEVT_ENTER_WINDOW", (long) wxEVT_ENTER_WINDOW, 0, 0, 0},
38406 { SWIG_PY_INT, (char *)"wxEVT_LEAVE_WINDOW", (long) wxEVT_LEAVE_WINDOW, 0, 0, 0},
38407 { SWIG_PY_INT, (char *)"wxEVT_LEFT_DCLICK", (long) wxEVT_LEFT_DCLICK, 0, 0, 0},
38408 { SWIG_PY_INT, (char *)"wxEVT_MIDDLE_DCLICK", (long) wxEVT_MIDDLE_DCLICK, 0, 0, 0},
38409 { SWIG_PY_INT, (char *)"wxEVT_RIGHT_DCLICK", (long) wxEVT_RIGHT_DCLICK, 0, 0, 0},
38410 { SWIG_PY_INT, (char *)"wxEVT_SET_FOCUS", (long) wxEVT_SET_FOCUS, 0, 0, 0},
38411 { SWIG_PY_INT, (char *)"wxEVT_KILL_FOCUS", (long) wxEVT_KILL_FOCUS, 0, 0, 0},
38412 { SWIG_PY_INT, (char *)"wxEVT_CHILD_FOCUS", (long) wxEVT_CHILD_FOCUS, 0, 0, 0},
38413 { SWIG_PY_INT, (char *)"wxEVT_MOUSEWHEEL", (long) wxEVT_MOUSEWHEEL, 0, 0, 0},
38414 { SWIG_PY_INT, (char *)"wxEVT_NC_LEFT_DOWN", (long) wxEVT_NC_LEFT_DOWN, 0, 0, 0},
38415 { SWIG_PY_INT, (char *)"wxEVT_NC_LEFT_UP", (long) wxEVT_NC_LEFT_UP, 0, 0, 0},
38416 { SWIG_PY_INT, (char *)"wxEVT_NC_MIDDLE_DOWN", (long) wxEVT_NC_MIDDLE_DOWN, 0, 0, 0},
38417 { SWIG_PY_INT, (char *)"wxEVT_NC_MIDDLE_UP", (long) wxEVT_NC_MIDDLE_UP, 0, 0, 0},
38418 { SWIG_PY_INT, (char *)"wxEVT_NC_RIGHT_DOWN", (long) wxEVT_NC_RIGHT_DOWN, 0, 0, 0},
38419 { SWIG_PY_INT, (char *)"wxEVT_NC_RIGHT_UP", (long) wxEVT_NC_RIGHT_UP, 0, 0, 0},
38420 { SWIG_PY_INT, (char *)"wxEVT_NC_MOTION", (long) wxEVT_NC_MOTION, 0, 0, 0},
38421 { SWIG_PY_INT, (char *)"wxEVT_NC_ENTER_WINDOW", (long) wxEVT_NC_ENTER_WINDOW, 0, 0, 0},
38422 { SWIG_PY_INT, (char *)"wxEVT_NC_LEAVE_WINDOW", (long) wxEVT_NC_LEAVE_WINDOW, 0, 0, 0},
38423 { SWIG_PY_INT, (char *)"wxEVT_NC_LEFT_DCLICK", (long) wxEVT_NC_LEFT_DCLICK, 0, 0, 0},
38424 { SWIG_PY_INT, (char *)"wxEVT_NC_MIDDLE_DCLICK", (long) wxEVT_NC_MIDDLE_DCLICK, 0, 0, 0},
38425 { SWIG_PY_INT, (char *)"wxEVT_NC_RIGHT_DCLICK", (long) wxEVT_NC_RIGHT_DCLICK, 0, 0, 0},
38426 { SWIG_PY_INT, (char *)"wxEVT_CHAR", (long) wxEVT_CHAR, 0, 0, 0},
38427 { SWIG_PY_INT, (char *)"wxEVT_CHAR_HOOK", (long) wxEVT_CHAR_HOOK, 0, 0, 0},
38428 { SWIG_PY_INT, (char *)"wxEVT_NAVIGATION_KEY", (long) wxEVT_NAVIGATION_KEY, 0, 0, 0},
38429 { SWIG_PY_INT, (char *)"wxEVT_KEY_DOWN", (long) wxEVT_KEY_DOWN, 0, 0, 0},
38430 { SWIG_PY_INT, (char *)"wxEVT_KEY_UP", (long) wxEVT_KEY_UP, 0, 0, 0},
38431 { SWIG_PY_INT, (char *)"wxEVT_HOTKEY", (long) wxEVT_HOTKEY, 0, 0, 0},
38432 { SWIG_PY_INT, (char *)"wxEVT_SET_CURSOR", (long) wxEVT_SET_CURSOR, 0, 0, 0},
38433 { SWIG_PY_INT, (char *)"wxEVT_SCROLL_TOP", (long) wxEVT_SCROLL_TOP, 0, 0, 0},
38434 { SWIG_PY_INT, (char *)"wxEVT_SCROLL_BOTTOM", (long) wxEVT_SCROLL_BOTTOM, 0, 0, 0},
38435 { SWIG_PY_INT, (char *)"wxEVT_SCROLL_LINEUP", (long) wxEVT_SCROLL_LINEUP, 0, 0, 0},
38436 { SWIG_PY_INT, (char *)"wxEVT_SCROLL_LINEDOWN", (long) wxEVT_SCROLL_LINEDOWN, 0, 0, 0},
38437 { SWIG_PY_INT, (char *)"wxEVT_SCROLL_PAGEUP", (long) wxEVT_SCROLL_PAGEUP, 0, 0, 0},
38438 { SWIG_PY_INT, (char *)"wxEVT_SCROLL_PAGEDOWN", (long) wxEVT_SCROLL_PAGEDOWN, 0, 0, 0},
38439 { SWIG_PY_INT, (char *)"wxEVT_SCROLL_THUMBTRACK", (long) wxEVT_SCROLL_THUMBTRACK, 0, 0, 0},
38440 { SWIG_PY_INT, (char *)"wxEVT_SCROLL_THUMBRELEASE", (long) wxEVT_SCROLL_THUMBRELEASE, 0, 0, 0},
38441 { SWIG_PY_INT, (char *)"wxEVT_SCROLL_ENDSCROLL", (long) wxEVT_SCROLL_ENDSCROLL, 0, 0, 0},
38442 { SWIG_PY_INT, (char *)"wxEVT_SCROLLWIN_TOP", (long) wxEVT_SCROLLWIN_TOP, 0, 0, 0},
38443 { SWIG_PY_INT, (char *)"wxEVT_SCROLLWIN_BOTTOM", (long) wxEVT_SCROLLWIN_BOTTOM, 0, 0, 0},
38444 { SWIG_PY_INT, (char *)"wxEVT_SCROLLWIN_LINEUP", (long) wxEVT_SCROLLWIN_LINEUP, 0, 0, 0},
38445 { SWIG_PY_INT, (char *)"wxEVT_SCROLLWIN_LINEDOWN", (long) wxEVT_SCROLLWIN_LINEDOWN, 0, 0, 0},
38446 { SWIG_PY_INT, (char *)"wxEVT_SCROLLWIN_PAGEUP", (long) wxEVT_SCROLLWIN_PAGEUP, 0, 0, 0},
38447 { SWIG_PY_INT, (char *)"wxEVT_SCROLLWIN_PAGEDOWN", (long) wxEVT_SCROLLWIN_PAGEDOWN, 0, 0, 0},
38448 { SWIG_PY_INT, (char *)"wxEVT_SCROLLWIN_THUMBTRACK", (long) wxEVT_SCROLLWIN_THUMBTRACK, 0, 0, 0},
38449 { SWIG_PY_INT, (char *)"wxEVT_SCROLLWIN_THUMBRELEASE", (long) wxEVT_SCROLLWIN_THUMBRELEASE, 0, 0, 0},
38450 { SWIG_PY_INT, (char *)"wxEVT_SIZE", (long) wxEVT_SIZE, 0, 0, 0},
38451 { SWIG_PY_INT, (char *)"wxEVT_MOVE", (long) wxEVT_MOVE, 0, 0, 0},
38452 { SWIG_PY_INT, (char *)"wxEVT_CLOSE_WINDOW", (long) wxEVT_CLOSE_WINDOW, 0, 0, 0},
38453 { SWIG_PY_INT, (char *)"wxEVT_END_SESSION", (long) wxEVT_END_SESSION, 0, 0, 0},
38454 { SWIG_PY_INT, (char *)"wxEVT_QUERY_END_SESSION", (long) wxEVT_QUERY_END_SESSION, 0, 0, 0},
38455 { SWIG_PY_INT, (char *)"wxEVT_ACTIVATE_APP", (long) wxEVT_ACTIVATE_APP, 0, 0, 0},
38456 { SWIG_PY_INT, (char *)"wxEVT_POWER", (long) wxEVT_POWER, 0, 0, 0},
38457 { SWIG_PY_INT, (char *)"wxEVT_ACTIVATE", (long) wxEVT_ACTIVATE, 0, 0, 0},
38458 { SWIG_PY_INT, (char *)"wxEVT_CREATE", (long) wxEVT_CREATE, 0, 0, 0},
38459 { SWIG_PY_INT, (char *)"wxEVT_DESTROY", (long) wxEVT_DESTROY, 0, 0, 0},
38460 { SWIG_PY_INT, (char *)"wxEVT_SHOW", (long) wxEVT_SHOW, 0, 0, 0},
38461 { SWIG_PY_INT, (char *)"wxEVT_ICONIZE", (long) wxEVT_ICONIZE, 0, 0, 0},
38462 { SWIG_PY_INT, (char *)"wxEVT_MAXIMIZE", (long) wxEVT_MAXIMIZE, 0, 0, 0},
38463 { SWIG_PY_INT, (char *)"wxEVT_MOUSE_CAPTURE_CHANGED", (long) wxEVT_MOUSE_CAPTURE_CHANGED, 0, 0, 0},
38464 { SWIG_PY_INT, (char *)"wxEVT_PAINT", (long) wxEVT_PAINT, 0, 0, 0},
38465 { SWIG_PY_INT, (char *)"wxEVT_ERASE_BACKGROUND", (long) wxEVT_ERASE_BACKGROUND, 0, 0, 0},
38466 { SWIG_PY_INT, (char *)"wxEVT_NC_PAINT", (long) wxEVT_NC_PAINT, 0, 0, 0},
38467 { SWIG_PY_INT, (char *)"wxEVT_PAINT_ICON", (long) wxEVT_PAINT_ICON, 0, 0, 0},
38468 { SWIG_PY_INT, (char *)"wxEVT_MENU_OPEN", (long) wxEVT_MENU_OPEN, 0, 0, 0},
38469 { SWIG_PY_INT, (char *)"wxEVT_MENU_CLOSE", (long) wxEVT_MENU_CLOSE, 0, 0, 0},
38470 { SWIG_PY_INT, (char *)"wxEVT_MENU_HIGHLIGHT", (long) wxEVT_MENU_HIGHLIGHT, 0, 0, 0},
38471 { SWIG_PY_INT, (char *)"wxEVT_CONTEXT_MENU", (long) wxEVT_CONTEXT_MENU, 0, 0, 0},
38472 { SWIG_PY_INT, (char *)"wxEVT_SYS_COLOUR_CHANGED", (long) wxEVT_SYS_COLOUR_CHANGED, 0, 0, 0},
38473 { SWIG_PY_INT, (char *)"wxEVT_DISPLAY_CHANGED", (long) wxEVT_DISPLAY_CHANGED, 0, 0, 0},
38474 { SWIG_PY_INT, (char *)"wxEVT_SETTING_CHANGED", (long) wxEVT_SETTING_CHANGED, 0, 0, 0},
38475 { SWIG_PY_INT, (char *)"wxEVT_QUERY_NEW_PALETTE", (long) wxEVT_QUERY_NEW_PALETTE, 0, 0, 0},
38476 { SWIG_PY_INT, (char *)"wxEVT_PALETTE_CHANGED", (long) wxEVT_PALETTE_CHANGED, 0, 0, 0},
38477 { SWIG_PY_INT, (char *)"wxEVT_DROP_FILES", (long) wxEVT_DROP_FILES, 0, 0, 0},
38478 { SWIG_PY_INT, (char *)"wxEVT_DRAW_ITEM", (long) wxEVT_DRAW_ITEM, 0, 0, 0},
38479 { SWIG_PY_INT, (char *)"wxEVT_MEASURE_ITEM", (long) wxEVT_MEASURE_ITEM, 0, 0, 0},
38480 { SWIG_PY_INT, (char *)"wxEVT_COMPARE_ITEM", (long) wxEVT_COMPARE_ITEM, 0, 0, 0},
38481 { SWIG_PY_INT, (char *)"wxEVT_INIT_DIALOG", (long) wxEVT_INIT_DIALOG, 0, 0, 0},
38482 { SWIG_PY_INT, (char *)"wxEVT_IDLE", (long) wxEVT_IDLE, 0, 0, 0},
38483 { SWIG_PY_INT, (char *)"wxEVT_UPDATE_UI", (long) wxEVT_UPDATE_UI, 0, 0, 0},
38484 { SWIG_PY_INT, (char *)"wxEVT_SIZING", (long) wxEVT_SIZING, 0, 0, 0},
38485 { SWIG_PY_INT, (char *)"wxEVT_MOVING", (long) wxEVT_MOVING, 0, 0, 0},
38486 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LEFT_CLICK", (long) wxEVT_COMMAND_LEFT_CLICK, 0, 0, 0},
38487 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LEFT_DCLICK", (long) wxEVT_COMMAND_LEFT_DCLICK, 0, 0, 0},
38488 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_RIGHT_CLICK", (long) wxEVT_COMMAND_RIGHT_CLICK, 0, 0, 0},
38489 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_RIGHT_DCLICK", (long) wxEVT_COMMAND_RIGHT_DCLICK, 0, 0, 0},
38490 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_SET_FOCUS", (long) wxEVT_COMMAND_SET_FOCUS, 0, 0, 0},
38491 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_KILL_FOCUS", (long) wxEVT_COMMAND_KILL_FOCUS, 0, 0, 0},
38492 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_ENTER", (long) wxEVT_COMMAND_ENTER, 0, 0, 0},
38493 { SWIG_PY_INT, (char *)"MOUSE_BTN_ANY", (long) wxMOUSE_BTN_ANY, 0, 0, 0},
38494 { SWIG_PY_INT, (char *)"MOUSE_BTN_NONE", (long) wxMOUSE_BTN_NONE, 0, 0, 0},
38495 { SWIG_PY_INT, (char *)"MOUSE_BTN_LEFT", (long) wxMOUSE_BTN_LEFT, 0, 0, 0},
38496 { SWIG_PY_INT, (char *)"MOUSE_BTN_MIDDLE", (long) wxMOUSE_BTN_MIDDLE, 0, 0, 0},
38497 { SWIG_PY_INT, (char *)"MOUSE_BTN_RIGHT", (long) wxMOUSE_BTN_RIGHT, 0, 0, 0},
38498 { SWIG_PY_INT, (char *)"UPDATE_UI_PROCESS_ALL", (long) wxUPDATE_UI_PROCESS_ALL, 0, 0, 0},
38499 { SWIG_PY_INT, (char *)"UPDATE_UI_PROCESS_SPECIFIED", (long) wxUPDATE_UI_PROCESS_SPECIFIED, 0, 0, 0},
38500 { SWIG_PY_INT, (char *)"IDLE_PROCESS_ALL", (long) wxIDLE_PROCESS_ALL, 0, 0, 0},
38501 { SWIG_PY_INT, (char *)"IDLE_PROCESS_SPECIFIED", (long) wxIDLE_PROCESS_SPECIFIED, 0, 0, 0},
38502 { SWIG_PY_INT, (char *)"PYAPP_ASSERT_SUPPRESS", (long) wxPYAPP_ASSERT_SUPPRESS, 0, 0, 0},
38503 { SWIG_PY_INT, (char *)"PYAPP_ASSERT_EXCEPTION", (long) wxPYAPP_ASSERT_EXCEPTION, 0, 0, 0},
38504 { SWIG_PY_INT, (char *)"PYAPP_ASSERT_DIALOG", (long) wxPYAPP_ASSERT_DIALOG, 0, 0, 0},
38505 { SWIG_PY_INT, (char *)"PYAPP_ASSERT_LOG", (long) wxPYAPP_ASSERT_LOG, 0, 0, 0},
38506 { SWIG_PY_INT, (char *)"PRINT_WINDOWS", (long) wxPRINT_WINDOWS, 0, 0, 0},
38507 { SWIG_PY_INT, (char *)"PRINT_POSTSCRIPT", (long) wxPRINT_POSTSCRIPT, 0, 0, 0},
38508 { SWIG_PY_INT, (char *)"FLEX_GROWMODE_NONE", (long) wxFLEX_GROWMODE_NONE, 0, 0, 0},
38509 { SWIG_PY_INT, (char *)"FLEX_GROWMODE_SPECIFIED", (long) wxFLEX_GROWMODE_SPECIFIED, 0, 0, 0},
38510 { SWIG_PY_INT, (char *)"FLEX_GROWMODE_ALL", (long) wxFLEX_GROWMODE_ALL, 0, 0, 0},
38511 { SWIG_PY_INT, (char *)"Left", (long) wxLeft, 0, 0, 0},
38512 { SWIG_PY_INT, (char *)"Top", (long) wxTop, 0, 0, 0},
38513 { SWIG_PY_INT, (char *)"Right", (long) wxRight, 0, 0, 0},
38514 { SWIG_PY_INT, (char *)"Bottom", (long) wxBottom, 0, 0, 0},
38515 { SWIG_PY_INT, (char *)"Width", (long) wxWidth, 0, 0, 0},
38516 { SWIG_PY_INT, (char *)"Height", (long) wxHeight, 0, 0, 0},
38517 { SWIG_PY_INT, (char *)"Centre", (long) wxCentre, 0, 0, 0},
38518 { SWIG_PY_INT, (char *)"Center", (long) wxCenter, 0, 0, 0},
38519 { SWIG_PY_INT, (char *)"CentreX", (long) wxCentreX, 0, 0, 0},
38520 { SWIG_PY_INT, (char *)"CentreY", (long) wxCentreY, 0, 0, 0},
38521 { SWIG_PY_INT, (char *)"Unconstrained", (long) wxUnconstrained, 0, 0, 0},
38522 { SWIG_PY_INT, (char *)"AsIs", (long) wxAsIs, 0, 0, 0},
38523 { SWIG_PY_INT, (char *)"PercentOf", (long) wxPercentOf, 0, 0, 0},
38524 { SWIG_PY_INT, (char *)"Above", (long) wxAbove, 0, 0, 0},
38525 { SWIG_PY_INT, (char *)"Below", (long) wxBelow, 0, 0, 0},
38526 { SWIG_PY_INT, (char *)"LeftOf", (long) wxLeftOf, 0, 0, 0},
38527 { SWIG_PY_INT, (char *)"RightOf", (long) wxRightOf, 0, 0, 0},
38528 { SWIG_PY_INT, (char *)"SameAs", (long) wxSameAs, 0, 0, 0},
38529 { SWIG_PY_INT, (char *)"Absolute", (long) wxAbsolute, 0, 0, 0},
38530 {0}};
38531
38532 #ifdef __cplusplus
38533 }
38534 #endif
38535
38536 #ifdef __cplusplus
38537 extern "C"
38538 #endif
38539 SWIGEXPORT(void) SWIG_init(void) {
38540 static PyObject *SWIG_globals = 0;
38541 static int typeinit = 0;
38542 PyObject *m, *d;
38543 int i;
38544 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
38545 m = Py_InitModule((char *) SWIG_name, SwigMethods);
38546 d = PyModule_GetDict(m);
38547
38548 if (!typeinit) {
38549 for (i = 0; swig_types_initial[i]; i++) {
38550 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
38551 }
38552 typeinit = 1;
38553 }
38554 SWIG_InstallConstants(d,swig_const_table);
38555
38556
38557 #ifndef wxPyUSE_EXPORT
38558 // Make our API structure a CObject so other modules can import it
38559 // from this module.
38560 PyObject* cobj = PyCObject_FromVoidPtr(&API, NULL);
38561 PyDict_SetItemString(d,"_wxPyCoreAPI", cobj);
38562 Py_XDECREF(cobj);
38563 #endif
38564
38565 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
38566 SWIG_addvarlink(SWIG_globals,(char*)"DefaultPosition",_wrap_DefaultPosition_get, _wrap_DefaultPosition_set);
38567 SWIG_addvarlink(SWIG_globals,(char*)"DefaultSize",_wrap_DefaultSize_get, _wrap_DefaultSize_set);
38568
38569 wxPyPtrTypeMap_Add("wxInputStream", "wxPyInputStream");
38570
38571
38572 wxPyPtrTypeMap_Add("wxFileSystemHandler", "wxPyFileSystemHandler");
38573
38574 SWIG_addvarlink(SWIG_globals,(char*)"NullImage",_wrap_NullImage_get, _wrap_NullImage_set);
38575 SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_BMP_FORMAT",_wrap_IMAGE_OPTION_BMP_FORMAT_get, _wrap_IMAGE_OPTION_BMP_FORMAT_set);
38576 SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_CUR_HOTSPOT_X",_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get, _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set);
38577 SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_CUR_HOTSPOT_Y",_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get, _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set);
38578 SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_RESOLUTION",_wrap_IMAGE_OPTION_RESOLUTION_get, _wrap_IMAGE_OPTION_RESOLUTION_set);
38579 SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_RESOLUTIONUNIT",_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get, _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set);
38580 PyDict_SetItemString(d, "wxEVT_NULL", PyInt_FromLong(wxEVT_NULL));
38581 PyDict_SetItemString(d, "wxEVT_FIRST", PyInt_FromLong(wxEVT_FIRST));
38582 PyDict_SetItemString(d, "wxEVT_USER_FIRST", PyInt_FromLong(wxEVT_USER_FIRST));
38583 PyDict_SetItemString(d, "wxEVT_COMMAND_BUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_BUTTON_CLICKED));
38584 PyDict_SetItemString(d, "wxEVT_COMMAND_CHECKBOX_CLICKED", PyInt_FromLong(wxEVT_COMMAND_CHECKBOX_CLICKED));
38585 PyDict_SetItemString(d, "wxEVT_COMMAND_CHOICE_SELECTED", PyInt_FromLong(wxEVT_COMMAND_CHOICE_SELECTED));
38586 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_SELECTED));
38587 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOX_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_DOUBLECLICKED));
38588 PyDict_SetItemString(d, "wxEVT_COMMAND_CHECKLISTBOX_TOGGLED", PyInt_FromLong(wxEVT_COMMAND_CHECKLISTBOX_TOGGLED));
38589 PyDict_SetItemString(d, "wxEVT_COMMAND_MENU_SELECTED", PyInt_FromLong(wxEVT_COMMAND_MENU_SELECTED));
38590 PyDict_SetItemString(d, "wxEVT_COMMAND_TOOL_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_CLICKED));
38591 PyDict_SetItemString(d, "wxEVT_COMMAND_SLIDER_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SLIDER_UPDATED));
38592 PyDict_SetItemString(d, "wxEVT_COMMAND_RADIOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBOX_SELECTED));
38593 PyDict_SetItemString(d, "wxEVT_COMMAND_RADIOBUTTON_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBUTTON_SELECTED));
38594 PyDict_SetItemString(d, "wxEVT_COMMAND_SCROLLBAR_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SCROLLBAR_UPDATED));
38595 PyDict_SetItemString(d, "wxEVT_COMMAND_VLBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_VLBOX_SELECTED));
38596 PyDict_SetItemString(d, "wxEVT_COMMAND_COMBOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_COMBOBOX_SELECTED));
38597 PyDict_SetItemString(d, "wxEVT_COMMAND_TOOL_RCLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_RCLICKED));
38598 PyDict_SetItemString(d, "wxEVT_COMMAND_TOOL_ENTER", PyInt_FromLong(wxEVT_COMMAND_TOOL_ENTER));
38599 PyDict_SetItemString(d, "wxEVT_LEFT_DOWN", PyInt_FromLong(wxEVT_LEFT_DOWN));
38600 PyDict_SetItemString(d, "wxEVT_LEFT_UP", PyInt_FromLong(wxEVT_LEFT_UP));
38601 PyDict_SetItemString(d, "wxEVT_MIDDLE_DOWN", PyInt_FromLong(wxEVT_MIDDLE_DOWN));
38602 PyDict_SetItemString(d, "wxEVT_MIDDLE_UP", PyInt_FromLong(wxEVT_MIDDLE_UP));
38603 PyDict_SetItemString(d, "wxEVT_RIGHT_DOWN", PyInt_FromLong(wxEVT_RIGHT_DOWN));
38604 PyDict_SetItemString(d, "wxEVT_RIGHT_UP", PyInt_FromLong(wxEVT_RIGHT_UP));
38605 PyDict_SetItemString(d, "wxEVT_MOTION", PyInt_FromLong(wxEVT_MOTION));
38606 PyDict_SetItemString(d, "wxEVT_ENTER_WINDOW", PyInt_FromLong(wxEVT_ENTER_WINDOW));
38607 PyDict_SetItemString(d, "wxEVT_LEAVE_WINDOW", PyInt_FromLong(wxEVT_LEAVE_WINDOW));
38608 PyDict_SetItemString(d, "wxEVT_LEFT_DCLICK", PyInt_FromLong(wxEVT_LEFT_DCLICK));
38609 PyDict_SetItemString(d, "wxEVT_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_MIDDLE_DCLICK));
38610 PyDict_SetItemString(d, "wxEVT_RIGHT_DCLICK", PyInt_FromLong(wxEVT_RIGHT_DCLICK));
38611 PyDict_SetItemString(d, "wxEVT_SET_FOCUS", PyInt_FromLong(wxEVT_SET_FOCUS));
38612 PyDict_SetItemString(d, "wxEVT_KILL_FOCUS", PyInt_FromLong(wxEVT_KILL_FOCUS));
38613 PyDict_SetItemString(d, "wxEVT_CHILD_FOCUS", PyInt_FromLong(wxEVT_CHILD_FOCUS));
38614 PyDict_SetItemString(d, "wxEVT_MOUSEWHEEL", PyInt_FromLong(wxEVT_MOUSEWHEEL));
38615 PyDict_SetItemString(d, "wxEVT_NC_LEFT_DOWN", PyInt_FromLong(wxEVT_NC_LEFT_DOWN));
38616 PyDict_SetItemString(d, "wxEVT_NC_LEFT_UP", PyInt_FromLong(wxEVT_NC_LEFT_UP));
38617 PyDict_SetItemString(d, "wxEVT_NC_MIDDLE_DOWN", PyInt_FromLong(wxEVT_NC_MIDDLE_DOWN));
38618 PyDict_SetItemString(d, "wxEVT_NC_MIDDLE_UP", PyInt_FromLong(wxEVT_NC_MIDDLE_UP));
38619 PyDict_SetItemString(d, "wxEVT_NC_RIGHT_DOWN", PyInt_FromLong(wxEVT_NC_RIGHT_DOWN));
38620 PyDict_SetItemString(d, "wxEVT_NC_RIGHT_UP", PyInt_FromLong(wxEVT_NC_RIGHT_UP));
38621 PyDict_SetItemString(d, "wxEVT_NC_MOTION", PyInt_FromLong(wxEVT_NC_MOTION));
38622 PyDict_SetItemString(d, "wxEVT_NC_ENTER_WINDOW", PyInt_FromLong(wxEVT_NC_ENTER_WINDOW));
38623 PyDict_SetItemString(d, "wxEVT_NC_LEAVE_WINDOW", PyInt_FromLong(wxEVT_NC_LEAVE_WINDOW));
38624 PyDict_SetItemString(d, "wxEVT_NC_LEFT_DCLICK", PyInt_FromLong(wxEVT_NC_LEFT_DCLICK));
38625 PyDict_SetItemString(d, "wxEVT_NC_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_NC_MIDDLE_DCLICK));
38626 PyDict_SetItemString(d, "wxEVT_NC_RIGHT_DCLICK", PyInt_FromLong(wxEVT_NC_RIGHT_DCLICK));
38627 PyDict_SetItemString(d, "wxEVT_CHAR", PyInt_FromLong(wxEVT_CHAR));
38628 PyDict_SetItemString(d, "wxEVT_CHAR_HOOK", PyInt_FromLong(wxEVT_CHAR_HOOK));
38629 PyDict_SetItemString(d, "wxEVT_NAVIGATION_KEY", PyInt_FromLong(wxEVT_NAVIGATION_KEY));
38630 PyDict_SetItemString(d, "wxEVT_KEY_DOWN", PyInt_FromLong(wxEVT_KEY_DOWN));
38631 PyDict_SetItemString(d, "wxEVT_KEY_UP", PyInt_FromLong(wxEVT_KEY_UP));
38632 PyDict_SetItemString(d, "wxEVT_HOTKEY", PyInt_FromLong(wxEVT_HOTKEY));
38633 PyDict_SetItemString(d, "wxEVT_SET_CURSOR", PyInt_FromLong(wxEVT_SET_CURSOR));
38634 PyDict_SetItemString(d, "wxEVT_SCROLL_TOP", PyInt_FromLong(wxEVT_SCROLL_TOP));
38635 PyDict_SetItemString(d, "wxEVT_SCROLL_BOTTOM", PyInt_FromLong(wxEVT_SCROLL_BOTTOM));
38636 PyDict_SetItemString(d, "wxEVT_SCROLL_LINEUP", PyInt_FromLong(wxEVT_SCROLL_LINEUP));
38637 PyDict_SetItemString(d, "wxEVT_SCROLL_LINEDOWN", PyInt_FromLong(wxEVT_SCROLL_LINEDOWN));
38638 PyDict_SetItemString(d, "wxEVT_SCROLL_PAGEUP", PyInt_FromLong(wxEVT_SCROLL_PAGEUP));
38639 PyDict_SetItemString(d, "wxEVT_SCROLL_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLL_PAGEDOWN));
38640 PyDict_SetItemString(d, "wxEVT_SCROLL_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLL_THUMBTRACK));
38641 PyDict_SetItemString(d, "wxEVT_SCROLL_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLL_THUMBRELEASE));
38642 PyDict_SetItemString(d, "wxEVT_SCROLL_ENDSCROLL", PyInt_FromLong(wxEVT_SCROLL_ENDSCROLL));
38643 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_TOP", PyInt_FromLong(wxEVT_SCROLLWIN_TOP));
38644 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_BOTTOM", PyInt_FromLong(wxEVT_SCROLLWIN_BOTTOM));
38645 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_LINEUP", PyInt_FromLong(wxEVT_SCROLLWIN_LINEUP));
38646 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_LINEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_LINEDOWN));
38647 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_PAGEUP", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEUP));
38648 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEDOWN));
38649 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBTRACK));
38650 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBRELEASE));
38651 PyDict_SetItemString(d, "wxEVT_SIZE", PyInt_FromLong(wxEVT_SIZE));
38652 PyDict_SetItemString(d, "wxEVT_MOVE", PyInt_FromLong(wxEVT_MOVE));
38653 PyDict_SetItemString(d, "wxEVT_CLOSE_WINDOW", PyInt_FromLong(wxEVT_CLOSE_WINDOW));
38654 PyDict_SetItemString(d, "wxEVT_END_SESSION", PyInt_FromLong(wxEVT_END_SESSION));
38655 PyDict_SetItemString(d, "wxEVT_QUERY_END_SESSION", PyInt_FromLong(wxEVT_QUERY_END_SESSION));
38656 PyDict_SetItemString(d, "wxEVT_ACTIVATE_APP", PyInt_FromLong(wxEVT_ACTIVATE_APP));
38657 PyDict_SetItemString(d, "wxEVT_POWER", PyInt_FromLong(wxEVT_POWER));
38658 PyDict_SetItemString(d, "wxEVT_ACTIVATE", PyInt_FromLong(wxEVT_ACTIVATE));
38659 PyDict_SetItemString(d, "wxEVT_CREATE", PyInt_FromLong(wxEVT_CREATE));
38660 PyDict_SetItemString(d, "wxEVT_DESTROY", PyInt_FromLong(wxEVT_DESTROY));
38661 PyDict_SetItemString(d, "wxEVT_SHOW", PyInt_FromLong(wxEVT_SHOW));
38662 PyDict_SetItemString(d, "wxEVT_ICONIZE", PyInt_FromLong(wxEVT_ICONIZE));
38663 PyDict_SetItemString(d, "wxEVT_MAXIMIZE", PyInt_FromLong(wxEVT_MAXIMIZE));
38664 PyDict_SetItemString(d, "wxEVT_MOUSE_CAPTURE_CHANGED", PyInt_FromLong(wxEVT_MOUSE_CAPTURE_CHANGED));
38665 PyDict_SetItemString(d, "wxEVT_PAINT", PyInt_FromLong(wxEVT_PAINT));
38666 PyDict_SetItemString(d, "wxEVT_ERASE_BACKGROUND", PyInt_FromLong(wxEVT_ERASE_BACKGROUND));
38667 PyDict_SetItemString(d, "wxEVT_NC_PAINT", PyInt_FromLong(wxEVT_NC_PAINT));
38668 PyDict_SetItemString(d, "wxEVT_PAINT_ICON", PyInt_FromLong(wxEVT_PAINT_ICON));
38669 PyDict_SetItemString(d, "wxEVT_MENU_OPEN", PyInt_FromLong(wxEVT_MENU_OPEN));
38670 PyDict_SetItemString(d, "wxEVT_MENU_CLOSE", PyInt_FromLong(wxEVT_MENU_CLOSE));
38671 PyDict_SetItemString(d, "wxEVT_MENU_HIGHLIGHT", PyInt_FromLong(wxEVT_MENU_HIGHLIGHT));
38672 PyDict_SetItemString(d, "wxEVT_CONTEXT_MENU", PyInt_FromLong(wxEVT_CONTEXT_MENU));
38673 PyDict_SetItemString(d, "wxEVT_SYS_COLOUR_CHANGED", PyInt_FromLong(wxEVT_SYS_COLOUR_CHANGED));
38674 PyDict_SetItemString(d, "wxEVT_DISPLAY_CHANGED", PyInt_FromLong(wxEVT_DISPLAY_CHANGED));
38675 PyDict_SetItemString(d, "wxEVT_SETTING_CHANGED", PyInt_FromLong(wxEVT_SETTING_CHANGED));
38676 PyDict_SetItemString(d, "wxEVT_QUERY_NEW_PALETTE", PyInt_FromLong(wxEVT_QUERY_NEW_PALETTE));
38677 PyDict_SetItemString(d, "wxEVT_PALETTE_CHANGED", PyInt_FromLong(wxEVT_PALETTE_CHANGED));
38678 PyDict_SetItemString(d, "wxEVT_DROP_FILES", PyInt_FromLong(wxEVT_DROP_FILES));
38679 PyDict_SetItemString(d, "wxEVT_DRAW_ITEM", PyInt_FromLong(wxEVT_DRAW_ITEM));
38680 PyDict_SetItemString(d, "wxEVT_MEASURE_ITEM", PyInt_FromLong(wxEVT_MEASURE_ITEM));
38681 PyDict_SetItemString(d, "wxEVT_COMPARE_ITEM", PyInt_FromLong(wxEVT_COMPARE_ITEM));
38682 PyDict_SetItemString(d, "wxEVT_INIT_DIALOG", PyInt_FromLong(wxEVT_INIT_DIALOG));
38683 PyDict_SetItemString(d, "wxEVT_IDLE", PyInt_FromLong(wxEVT_IDLE));
38684 PyDict_SetItemString(d, "wxEVT_UPDATE_UI", PyInt_FromLong(wxEVT_UPDATE_UI));
38685 PyDict_SetItemString(d, "wxEVT_SIZING", PyInt_FromLong(wxEVT_SIZING));
38686 PyDict_SetItemString(d, "wxEVT_MOVING", PyInt_FromLong(wxEVT_MOVING));
38687 PyDict_SetItemString(d, "wxEVT_COMMAND_LEFT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_CLICK));
38688 PyDict_SetItemString(d, "wxEVT_COMMAND_LEFT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_DCLICK));
38689 PyDict_SetItemString(d, "wxEVT_COMMAND_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_CLICK));
38690 PyDict_SetItemString(d, "wxEVT_COMMAND_RIGHT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_DCLICK));
38691 PyDict_SetItemString(d, "wxEVT_COMMAND_SET_FOCUS", PyInt_FromLong(wxEVT_COMMAND_SET_FOCUS));
38692 PyDict_SetItemString(d, "wxEVT_COMMAND_KILL_FOCUS", PyInt_FromLong(wxEVT_COMMAND_KILL_FOCUS));
38693 PyDict_SetItemString(d, "wxEVT_COMMAND_ENTER", PyInt_FromLong(wxEVT_COMMAND_ENTER));
38694 SWIG_addvarlink(SWIG_globals,(char*)"NullAcceleratorTable",_wrap_NullAcceleratorTable_get, _wrap_NullAcceleratorTable_set);
38695 SWIG_addvarlink(SWIG_globals,(char*)"PanelNameStr",_wrap_PanelNameStr_get, _wrap_PanelNameStr_set);
38696 SWIG_addvarlink(SWIG_globals,(char*)"DefaultValidator",_wrap_DefaultValidator_get, _wrap_DefaultValidator_set);
38697 SWIG_addvarlink(SWIG_globals,(char*)"DefaultSpan",_wrap_DefaultSpan_get, _wrap_DefaultSpan_set);
38698
38699 // Initialize threading, some globals and such
38700 __wxPyPreStart(d);
38701
38702
38703 // Although these are defined in __version__ they need to be here too so
38704 // that an assert can be done to ensure that the wxPython and the wxWindows
38705 // versions match.
38706 PyDict_SetItemString(d,"MAJOR_VERSION", PyInt_FromLong((long)wxMAJOR_VERSION ));
38707 PyDict_SetItemString(d,"MINOR_VERSION", PyInt_FromLong((long)wxMINOR_VERSION ));
38708 PyDict_SetItemString(d,"RELEASE_VERSION", PyInt_FromLong((long)wxRELEASE_NUMBER ));
38709
38710 }
38711