1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
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 * ----------------------------------------------------------------------------- */
12 #define SWIG_NOINCLUDE
15 template<class T
> class SwigValueWrapper
{
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
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
39 ************************************************************************/
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_TypePrettyName SWIG_Python_TypePrettyName
47 #define SWIG_TypeQuery SWIG_Python_TypeQuery
48 #define SWIG_TypeClientData SWIG_Python_TypeClientData
49 #define SWIG_PackData SWIG_Python_PackData
50 #define SWIG_UnpackData SWIG_Python_UnpackData
53 /***********************************************************************
54 * common.swg for wxPython
56 * Include only the function prototypes and such from SWIG's common.swg,
57 * but not the runtime functions themselves. This helps keep the
58 * wrapper files clean of unnecessary stuff that is in the libpy.c file
61 ************************************************************************/
65 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
66 # if defined(_MSC_VER) || defined(__GNUC__)
67 # if defined(STATIC_LINKED)
68 # define SWIGEXPORT(a) a
69 # define SWIGIMPORT(a) extern a
71 # define SWIGEXPORT(a) __declspec(dllexport) a
72 # define SWIGIMPORT(a) extern a
75 # if defined(__BORLANDC__)
76 # define SWIGEXPORT(a) a _export
77 # define SWIGIMPORT(a) a _export
79 # define SWIGEXPORT(a) a
80 # define SWIGIMPORT(a) a
84 # define SWIGEXPORT(a) a
85 # define SWIGIMPORT(a) a
89 # define SWIGRUNTIME(a) SWIGEXPORT(a)
91 # define SWIGRUNTIME(a) static a
98 typedef void *(*swig_converter_func
)(void *);
99 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
101 typedef struct swig_type_info
{
103 swig_converter_func converter
;
106 swig_dycast_func dcast
;
107 struct swig_type_info
*next
;
108 struct swig_type_info
*prev
;
112 SWIGIMPORT(swig_type_info
*) SWIG_TypeRegister(swig_type_info
*);
113 SWIGIMPORT(swig_type_info
*) SWIG_TypeCheck(char *c
, swig_type_info
*);
114 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info
*, void *);
115 SWIGIMPORT(swig_type_info
*) SWIG_TypeDynamicCast(swig_type_info
*, void **);
116 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info
*);
117 SWIGIMPORT(const char *) SWIG_TypePrettyName(const swig_type_info
*);
118 SWIGIMPORT(swig_type_info
*) SWIG_TypeQuery(const char *);
119 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info
*, void *);
120 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
121 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
129 /***********************************************************************
130 * pyrun.swg for wxPython
132 * Include only the function prototypes and such from SWIG's pyrun.swg,
133 * but not the runtime functions themselves. This helps keep the
134 * wrapper files clean of unnecessary stuff that is in the libpy.c file
137 ************************************************************************/
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
149 /* Flags for pointer conversion */
151 #define SWIG_POINTER_EXCEPTION 0x1
152 #define SWIG_POINTER_DISOWN 0x2
154 /* Exception handling in wrappers */
155 #define SWIG_fail goto fail
157 /* Constant information structure */
158 typedef struct swig_const_info
{
164 swig_type_info
**ptype
;
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)
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)
187 typedef double (*py_objasdbl_conv
)(PyObject
*obj
);
189 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject
*, void **, swig_type_info
*, int);
190 SWIGIMPORT(PyObject
*) SWIG_Python_NewPointerObj(void *, swig_type_info
*,int own
);
191 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject
*, swig_type_info
*, int, int);
192 SWIGIMPORT(PyObject
*) SWIG_Python_newvarlink(void);
193 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
194 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject
*, void *, int sz
, swig_type_info
*, int);
195 SWIGIMPORT(PyObject
*) SWIG_Python_NewPackedObj(void *, int sz
, swig_type_info
*);
196 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]);
199 /* Contract support */
201 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
209 /* -------- TYPES TABLE (BEGIN) -------- */
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_wxEventLoop swig_types[5]
217 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[6]
218 #define SWIGTYPE_p_wxSizer swig_types[7]
219 #define SWIGTYPE_p_wxBoxSizer swig_types[8]
220 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[9]
221 #define SWIGTYPE_p_wxGridBagSizer swig_types[10]
222 #define SWIGTYPE_p_wxAcceleratorEntry swig_types[11]
223 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[12]
224 #define SWIGTYPE_p_wxMenu swig_types[13]
225 #define SWIGTYPE_p_wxEvent swig_types[14]
226 #define SWIGTYPE_p_wxGridSizer swig_types[15]
227 #define SWIGTYPE_p_wxFlexGridSizer swig_types[16]
228 #define SWIGTYPE_p_wxInitDialogEvent swig_types[17]
229 #define SWIGTYPE_p_wxItemContainer swig_types[18]
230 #define SWIGTYPE_p_wxNcPaintEvent swig_types[19]
231 #define SWIGTYPE_p_wxPaintEvent swig_types[20]
232 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[21]
233 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[22]
234 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[23]
235 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[24]
236 #define SWIGTYPE_p_wxControl swig_types[25]
237 #define SWIGTYPE_p_wxFont swig_types[26]
238 #define SWIGTYPE_p_wxMenuBarBase swig_types[27]
239 #define SWIGTYPE_p_wxSetCursorEvent swig_types[28]
240 #define SWIGTYPE_p_wxFSFile swig_types[29]
241 #define SWIGTYPE_p_wxCaret swig_types[30]
242 #define SWIGTYPE_p_wxRegion swig_types[31]
243 #define SWIGTYPE_p_wxPoint2D swig_types[32]
244 #define SWIGTYPE_p_int swig_types[33]
245 #define SWIGTYPE_p_wxSize swig_types[34]
246 #define SWIGTYPE_p_wxDC swig_types[35]
247 #define SWIGTYPE_p_wxPySizer swig_types[36]
248 #define SWIGTYPE_p_wxVisualAttributes swig_types[37]
249 #define SWIGTYPE_p_wxNotifyEvent swig_types[38]
250 #define SWIGTYPE_p_wxPyEvent swig_types[39]
251 #define SWIGTYPE_p_wxPropagationDisabler swig_types[40]
252 #define SWIGTYPE_p_wxAppTraits swig_types[41]
253 #define SWIGTYPE_p_wxArrayString swig_types[42]
254 #define SWIGTYPE_p_wxShowEvent swig_types[43]
255 #define SWIGTYPE_p_wxToolTip swig_types[44]
256 #define SWIGTYPE_p_wxIconizeEvent swig_types[45]
257 #define SWIGTYPE_p_wxActivateEvent swig_types[46]
258 #define SWIGTYPE_p_wxMoveEvent swig_types[47]
259 #define SWIGTYPE_p_wxSizeEvent swig_types[48]
260 #define SWIGTYPE_p_wxMaximizeEvent swig_types[49]
261 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[50]
262 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[51]
263 #define SWIGTYPE_p_wxIdleEvent swig_types[52]
264 #define SWIGTYPE_p_wxMenuItem swig_types[53]
265 #define SWIGTYPE_p_wxStaticBox swig_types[54]
266 #define SWIGTYPE_p_long swig_types[55]
267 #define SWIGTYPE_p_wxTIFFHandler swig_types[56]
268 #define SWIGTYPE_p_wxXPMHandler swig_types[57]
269 #define SWIGTYPE_p_wxPNMHandler swig_types[58]
270 #define SWIGTYPE_p_wxJPEGHandler swig_types[59]
271 #define SWIGTYPE_p_wxPCXHandler swig_types[60]
272 #define SWIGTYPE_p_wxGIFHandler swig_types[61]
273 #define SWIGTYPE_p_wxPNGHandler swig_types[62]
274 #define SWIGTYPE_p_wxANIHandler swig_types[63]
275 #define SWIGTYPE_p_wxMemoryFSHandler swig_types[64]
276 #define SWIGTYPE_p_wxEvtHandler swig_types[65]
277 #define SWIGTYPE_p_wxCURHandler swig_types[66]
278 #define SWIGTYPE_p_wxICOHandler swig_types[67]
279 #define SWIGTYPE_p_wxBMPHandler swig_types[68]
280 #define SWIGTYPE_p_wxImageHandler swig_types[69]
281 #define SWIGTYPE_p_wxFileSystemHandler swig_types[70]
282 #define SWIGTYPE_p_wxPyFileSystemHandler swig_types[71]
283 #define SWIGTYPE_p_wxInternetFSHandler swig_types[72]
284 #define SWIGTYPE_p_wxZipFSHandler swig_types[73]
285 #define SWIGTYPE_p_wxRect swig_types[74]
286 #define SWIGTYPE_p_wxGBSpan swig_types[75]
287 #define SWIGTYPE_p_wxPropagateOnce swig_types[76]
288 #define SWIGTYPE_p_wxAcceleratorTable swig_types[77]
289 #define SWIGTYPE_p_char swig_types[78]
290 #define SWIGTYPE_p_wxGBPosition swig_types[79]
291 #define SWIGTYPE_p_wxImage swig_types[80]
292 #define SWIGTYPE_p_wxFrame swig_types[81]
293 #define SWIGTYPE_p_wxScrollWinEvent swig_types[82]
294 #define SWIGTYPE_p_wxImageHistogram swig_types[83]
295 #define SWIGTYPE_p_byte swig_types[84]
296 #define SWIGTYPE_p_wxPoint swig_types[85]
297 #define SWIGTYPE_p_wxCursor swig_types[86]
298 #define SWIGTYPE_p_wxObject swig_types[87]
299 #define SWIGTYPE_p_wxPyInputStream swig_types[88]
300 #define SWIGTYPE_p_wxOutputStream swig_types[89]
301 #define SWIGTYPE_p_wxInputStream swig_types[90]
302 #define SWIGTYPE_p_wxDateTime swig_types[91]
303 #define SWIGTYPE_p_wxKeyEvent swig_types[92]
304 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[93]
305 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[94]
306 #define SWIGTYPE_p_wxWindow swig_types[95]
307 #define SWIGTYPE_p_wxMenuBar swig_types[96]
308 #define SWIGTYPE_p_wxFileSystem swig_types[97]
309 #define SWIGTYPE_p_wxBitmap swig_types[98]
310 #define SWIGTYPE_p_wxMenuEvent swig_types[99]
311 #define SWIGTYPE_p_wxContextMenuEvent swig_types[100]
312 #define SWIGTYPE_p_unsigned_char swig_types[101]
313 #define SWIGTYPE_p_wxCloseEvent swig_types[102]
314 #define SWIGTYPE_p_wxEraseEvent swig_types[103]
315 #define SWIGTYPE_p_wxMouseEvent swig_types[104]
316 #define SWIGTYPE_p_wxPyApp swig_types[105]
317 #define SWIGTYPE_p_wxCommandEvent swig_types[106]
318 #define SWIGTYPE_p_wxPyCommandEvent swig_types[107]
319 #define SWIGTYPE_p_wxPyDropTarget swig_types[108]
320 #define SWIGTYPE_p_wxQuantize swig_types[109]
321 #define SWIGTYPE_p_wxChildFocusEvent swig_types[110]
322 #define SWIGTYPE_p_wxFocusEvent swig_types[111]
323 #define SWIGTYPE_p_wxDropFilesEvent swig_types[112]
324 #define SWIGTYPE_p_wxControlWithItems swig_types[113]
325 #define SWIGTYPE_p_wxColour swig_types[114]
326 #define SWIGTYPE_p_wxValidator swig_types[115]
327 #define SWIGTYPE_p_wxPyValidator swig_types[116]
328 static swig_type_info
*swig_types
[118];
330 /* -------- TYPES TABLE (END) -------- */
333 /*-----------------------------------------------
334 @(target):= _core_.so
335 ------------------------------------------------*/
336 #define SWIG_init init_core_
338 #define SWIG_name "_core_"
340 /* Auxiliar swig macros that appear in the header */
342 #define SWIG_OLDOBJ 1
343 #define SWIG_NEWOBJ SWIG_OLDOBJ + 1
344 #define SWIG_PYSTR SWIG_NEWOBJ + 1
347 #define SWIGSTATICINLINE(a) static inline a
348 #define SWIGSTATIC(a) static a
349 #define swig_new_array(size,Type) (new Type[(size)])
350 #define swig_delete(cptr) delete cptr
351 #define swig_delete_array(cptr) delete[] cptr
352 #define swig_const_cast(a,Type) const_cast<Type >(a)
353 #define swig_static_cast(a,Type) static_cast<Type >(a)
354 #define swig_reinterpret_cast(a,Type) reinterpret_cast<Type >(a)
355 #define swig_new_copy(ptr,Type) (new Type(*ptr))
356 #define swig_numeric_cast(a,Type) static_cast<Type >(a)
360 #define SWIGSTATICINLINE(a) static a
361 #define SWIGSTATIC(a) static a
362 #define swig_new_array(size,Type) ((Type*) malloc((size)*sizeof(Type)))
363 #define swig_delete(cptr) free((char*)cptr)
364 #define swig_delete_array(cptr) free((char*)cptr)
365 #define swig_const_cast(a,Type) (Type)(a)
366 #define swig_static_cast(a,Type) (Type)(a)
367 #define swig_reinterpret_cast(a,Type) (Type)(a)
368 #define swig_numeric_cast(a,Type) (Type)(a)
369 #define swig_new_copy(ptr,Type) ((Type*)memcpy(malloc(sizeof(Type)),ptr,sizeof(Type)))
371 #endif /* __cplusplus */
374 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
375 #define SWIG_From_signed_SS_char PyInt_FromLong
377 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
378 #define SWIG_From_unsigned_SS_char PyInt_FromLong
380 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
381 #define SWIG_From_short PyInt_FromLong
383 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
384 #define SWIG_From_unsigned_SS_short PyInt_FromLong
386 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
387 #define SWIG_From_int PyInt_FromLong
389 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
390 #define SWIG_From_long PyInt_FromLong
392 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
393 #define SWIG_From_float PyFloat_FromDouble
395 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
396 #define SWIG_From_double PyFloat_FromDouble
400 #include "wx/wxPython/wxPython_int.h"
401 #include "wx/wxPython/pyclasses.h"
404 #ifndef wxPyUSE_EXPORT
405 // Helper functions for dealing with SWIG objects and such. These are
406 // located here so they know about the SWIG types and functions declared
407 // in the wrapper code.
409 #include <wx/hashmap.h>
410 WX_DECLARE_STRING_HASH_MAP( swig_type_info
*, wxPyTypeInfoHashMap
);
413 // Maintains a hashmap of className to swig_type_info pointers. Given the
414 // name of a class either looks up the type info in the cache, or scans the
415 // SWIG tables for it.
416 extern PyObject
* wxPyPtrTypeMap
;
418 swig_type_info
* wxPyFindSwigType(const wxChar
* className
) {
420 static wxPyTypeInfoHashMap
* typeInfoCache
= NULL
;
422 if (typeInfoCache
== NULL
)
423 typeInfoCache
= new wxPyTypeInfoHashMap
;
425 wxString
name(className
);
426 swig_type_info
* swigType
= (*typeInfoCache
)[name
];
429 // it wasn't in the cache, so look it up from SWIG
430 name
.Append(wxT(" *"));
431 swigType
= SWIG_Python_TypeQuery(name
.mb_str());
433 // if it still wasn't found, try looking for a mapped name
438 if ((item
= PyDict_GetItemString(wxPyPtrTypeMap
,
439 (char*)(const char*)name
.mbc_str())) != NULL
) {
440 name
= wxString(PyString_AsString(item
), *wxConvCurrent
);
441 name
.Append(wxT(" *"));
442 swigType
= SWIG_Python_TypeQuery(name
.mb_str());
446 // and add it to the map if found
447 (*typeInfoCache
)[className
] = swigType
;
454 // Check if a class name is a type known to SWIG
455 bool wxPyCheckSwigType(const wxChar
* className
) {
457 swig_type_info
* swigType
= wxPyFindSwigType(className
);
458 return swigType
!= NULL
;
462 // Given a pointer to a C++ object and a class name, construct a Python proxy
464 PyObject
* wxPyConstructObject(void* ptr
,
465 const wxChar
* className
,
468 swig_type_info
* swigType
= wxPyFindSwigType(className
);
469 wxCHECK_MSG(swigType
!= NULL
, NULL
, wxT("Unknown type in wxPyConstructObject"));
471 return SWIG_Python_NewPointerObj(ptr
, swigType
, setThisOwn
);
475 // Extract a pointer to the wrapped C++ object from a Python proxy object.
476 // Ensures that the proxy object is of the specified (or derived) type. If
477 // not able to perform the conversion then a Python exception is set and the
478 // error should be handled properly in the caller. Returns True on success.
479 bool wxPyConvertSwigPtr(PyObject
* obj
, void **ptr
,
480 const wxChar
* className
) {
482 swig_type_info
* swigType
= wxPyFindSwigType(className
);
483 wxCHECK_MSG(swigType
!= NULL
, false, wxT("Unknown type in wxPyConvertSwigPtr"));
485 return SWIG_Python_ConvertPtr(obj
, ptr
, swigType
, SWIG_POINTER_EXCEPTION
) != -1;
489 // Make a SWIGified pointer object suitable for a .this attribute
490 PyObject
* wxPyMakeSwigPtr(void* ptr
, const wxChar
* className
) {
492 PyObject
* robj
= NULL
;
494 swig_type_info
* swigType
= wxPyFindSwigType(className
);
495 wxCHECK_MSG(swigType
!= NULL
, NULL
, wxT("Unknown type in wxPyConvertSwigPtr"));
497 #ifdef SWIG_COBJECT_TYPES
498 robj
= PyCObject_FromVoidPtrAndDesc((void *) ptr
, (char *) swigType
->name
, NULL
);
504 r
= SWIG_Python_PackData(r
, &ptr
, sizeof(void *));
505 strcpy(r
, swigType
->name
);
506 robj
= PyString_FromString(result
);
516 // Export a C API in a struct. Other modules will be able to load this from
517 // the wx._core_ module and will then have safe access to these functions,
518 // even if they are located in another shared library.
519 static wxPyCoreAPI API
= {
521 (p_SWIG_Python_TypeRegister_t
)SWIG_Python_TypeRegister
,
522 (p_SWIG_Python_TypeCheck_t
)SWIG_Python_TypeCheck
,
523 (p_SWIG_Python_TypeCast_t
)SWIG_Python_TypeCast
,
524 (p_SWIG_Python_TypeDynamicCast_t
)SWIG_Python_TypeDynamicCast
,
525 (p_SWIG_Python_TypeName_t
)SWIG_Python_TypeName
,
526 (p_SWIG_Python_TypePrettyName_t
)SWIG_Python_TypePrettyName
,
527 (p_SWIG_Python_TypeQuery_t
)SWIG_Python_TypeQuery
,
528 (p_SWIG_Python_TypeClientData_t
)SWIG_Python_TypeClientData
,
529 (p_SWIG_Python_newvarlink_t
)SWIG_Python_newvarlink
,
530 (p_SWIG_Python_addvarlink_t
)SWIG_Python_addvarlink
,
531 (p_SWIG_Python_ConvertPtr_t
)SWIG_Python_ConvertPtr
,
532 (p_SWIG_Python_ConvertPacked_t
)SWIG_Python_ConvertPacked
,
533 (p_SWIG_Python_PackData_t
)SWIG_Python_PackData
,
534 (p_SWIG_Python_UnpackData_t
)SWIG_Python_UnpackData
,
535 (p_SWIG_Python_NewPointerObj_t
)SWIG_Python_NewPointerObj
,
536 (p_SWIG_Python_NewPackedObj_t
)SWIG_Python_NewPackedObj
,
537 (p_SWIG_Python_InstallConstants_t
)SWIG_Python_InstallConstants
,
538 (p_SWIG_Python_MustGetPtr_t
)SWIG_Python_MustGetPtr
,
545 wxPyBeginAllowThreads
,
547 wxPyBeginBlockThreads
,
561 wxBitmap_LIST_helper
,
562 wxString_LIST_helper
,
563 wxAcceleratorEntry_LIST_helper
,
572 wxPySimple_typecheck
,
575 wxPyCBH_setCallbackInfo
,
576 wxPyCBH_findCallback
,
577 wxPyCBH_callCallback
,
578 wxPyCBH_callCallbackObj
,
586 wxArrayString2PyList_helper
,
587 wxArrayInt2PyList_helper
,
591 wxPyOORClientData_dtor
,
593 wxPyCBInputStream_create
,
596 wxPySwigInstance_Check
,
606 enum wxHotkeyModifier
614 #define wxEVT_HOTKEY 9999
617 static const wxString
wxPyEmptyString(wxEmptyString
);
618 wxString
wxObject_GetClassName(wxObject
*self
){
619 return self
->GetClassInfo()->GetClassName();
621 void wxObject_Destroy(wxObject
*self
){
626 #define wxCURSOR_COPY_ARROW wxCURSOR_ARROW
633 SWIGSTATICINLINE(int)
634 SWIG_CheckLongInRange(long value
, long min_value
, long max_value
,
637 if (value
< min_value
) {
639 PyErr_Format(PyExc_OverflowError
,
640 "value %ld is less than '%s' minimum %ld",
641 value
, errmsg
, min_value
);
644 } else if (value
> max_value
) {
646 PyErr_Format(PyExc_OverflowError
,
647 "value %ld is greater than '%s' maximum %ld",
648 value
, errmsg
, max_value
);
656 // See my_fragments.i
657 SWIGSTATICINLINE(int)
658 SWIG_AsVal_long(PyObject
* obj
, long* val
)
660 if (PyNumber_Check(obj
)) {
661 if (val
) *val
= PyInt_AsLong(obj
);
665 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
666 obj
->ob_type
->tp_name
);
667 PyErr_SetObject(PyExc_TypeError
, errmsg
);
674 #if INT_MAX != LONG_MAX
675 SWIGSTATICINLINE(int)
676 SWIG_AsVal_int(PyObject
*obj
, int *val
)
678 const char* errmsg
= val
? "int" : 0;
680 if (SWIG_AsVal_long(obj
, &v
)) {
681 if (SWIG_CheckLongInRange(v
, INT_MIN
,INT_MAX
, errmsg
)) {
682 if (val
) *val
= swig_numeric_cast(v
, int);
691 PyErr_SetString(PyExc_TypeError
, "an int is expected");
696 SWIGSTATICINLINE(int)
697 SWIG_AsVal_int(PyObject
*obj
, int *val
)
699 return SWIG_AsVal_long(obj
,(long*)val
);
704 SWIGSTATICINLINE(int)
705 SWIG_As_int(PyObject
* obj
)
708 if (!SWIG_AsVal_int(obj
, &v
)) {
710 this is needed to make valgrind/purify happier. the other
711 solution is throw an exception, but since this code should work
714 memset((void*)&v
, 0, sizeof(int));
720 SWIGSTATICINLINE(int)
721 SWIG_Check_int(PyObject
* obj
)
723 return SWIG_AsVal_int(obj
, (int*)0);
726 PyObject
*wxSize_Get(wxSize
*self
){
727 bool blocked
= wxPyBeginBlockThreads();
728 PyObject
* tup
= PyTuple_New(2);
729 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
730 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
731 wxPyEndBlockThreads(blocked
);
735 // See my_fragments.i
736 SWIGSTATICINLINE(int)
737 SWIG_AsVal_double(PyObject
*obj
, double* val
)
739 if (PyNumber_Check(obj
)) {
740 if (val
) *val
= PyFloat_AsDouble(obj
);
744 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
745 obj
->ob_type
->tp_name
);
746 PyErr_SetObject(PyExc_TypeError
, errmsg
);
753 SWIGSTATICINLINE(double)
754 SWIG_As_double(PyObject
* obj
)
757 if (!SWIG_AsVal_double(obj
, &v
)) {
759 this is needed to make valgrind/purify happier. the other
760 solution is throw an exception, but since this code should work
763 memset((void*)&v
, 0, sizeof(double));
769 SWIGSTATICINLINE(int)
770 SWIG_Check_double(PyObject
* obj
)
772 return SWIG_AsVal_double(obj
, (double*)0);
775 void wxRealPoint_Set(wxRealPoint
*self
,double x
,double y
){
779 PyObject
*wxRealPoint_Get(wxRealPoint
*self
){
780 bool blocked
= wxPyBeginBlockThreads();
781 PyObject
* tup
= PyTuple_New(2);
782 PyTuple_SET_ITEM(tup
, 0, PyFloat_FromDouble(self
->x
));
783 PyTuple_SET_ITEM(tup
, 1, PyFloat_FromDouble(self
->y
));
784 wxPyEndBlockThreads(blocked
);
788 SWIGSTATICINLINE(long)
789 SWIG_As_long(PyObject
* obj
)
792 if (!SWIG_AsVal_long(obj
, &v
)) {
794 this is needed to make valgrind/purify happier. the other
795 solution is throw an exception, but since this code should work
798 memset((void*)&v
, 0, sizeof(long));
804 SWIGSTATICINLINE(int)
805 SWIG_Check_long(PyObject
* obj
)
807 return SWIG_AsVal_long(obj
, (long*)0);
810 void wxPoint_Set(wxPoint
*self
,long x
,long y
){
814 PyObject
*wxPoint_Get(wxPoint
*self
){
815 bool blocked
= wxPyBeginBlockThreads();
816 PyObject
* tup
= PyTuple_New(2);
817 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
818 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
819 wxPyEndBlockThreads(blocked
);
822 void wxRect_Set(wxRect
*self
,int x
,int y
,int width
,int height
){
826 self
->height
= height
;
828 PyObject
*wxRect_Get(wxRect
*self
){
829 bool blocked
= wxPyBeginBlockThreads();
830 PyObject
* tup
= PyTuple_New(4);
831 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
832 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
833 PyTuple_SET_ITEM(tup
, 2, PyInt_FromLong(self
->width
));
834 PyTuple_SET_ITEM(tup
, 3, PyInt_FromLong(self
->height
));
835 wxPyEndBlockThreads(blocked
);
839 PyObject
* wxIntersectRect(wxRect
* r1
, wxRect
* r2
) {
842 wxRect
dest(0,0,0,0);
845 reg1
.Intersect(reg2
);
846 dest
= reg1
.GetBox();
848 if (dest
!= wxRect(0,0,0,0)) {
849 bool blocked
= wxPyBeginBlockThreads();
850 wxRect
* newRect
= new wxRect(dest
);
851 obj
= wxPyConstructObject((void*)newRect
, wxT("wxRect"), true);
852 wxPyEndBlockThreads(blocked
);
860 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
866 } else if (target
== Py_None
) {
870 if (!PyTuple_Check(target
)) {
872 target
= PyTuple_New(1);
873 PyTuple_SetItem(target
, 0, o2
);
876 PyTuple_SetItem(o3
, 0, o
);
879 target
= PySequence_Concat(o2
, o3
);
887 void wxPoint2D_Set(wxPoint2D
*self
,double x
,double y
){
891 PyObject
*wxPoint2D_Get(wxPoint2D
*self
){
892 bool blocked
= wxPyBeginBlockThreads();
893 PyObject
* tup
= PyTuple_New(2);
894 PyTuple_SET_ITEM(tup
, 0, PyFloat_FromDouble(self
->m_x
));
895 PyTuple_SET_ITEM(tup
, 1, PyFloat_FromDouble(self
->m_y
));
896 wxPyEndBlockThreads(blocked
);
900 #include "wx/wxPython/pyistream.h"
902 wxPyInputStream
*new_wxPyInputStream(PyObject
*p
){
903 wxInputStream
* wxis
= wxPyCBInputStream::create(p
);
905 return new wxPyInputStream(wxis
);
910 SWIGSTATICINLINE(PyObject
*)
911 SWIG_From_char(char c
)
913 return PyString_FromStringAndSize(&c
,1);
917 SWIGSTATICINLINE(PyObject
* )
918 SWIG_From_unsigned_SS_long(unsigned long value
)
920 return (value
> LONG_MAX
) ?
921 PyLong_FromUnsignedLong(value
)
922 : PyInt_FromLong(swig_numeric_cast(value
,long));
926 /* returns SWIG_OLDOBJ if the input is a raw char*, SWIG_PYSTR if is a PyString */
928 SWIG_AsCharPtrAndSize(PyObject
*obj
, char** cptr
, size_t* psize
)
930 static swig_type_info
* pchar_info
= 0;
932 if (!pchar_info
) pchar_info
= SWIG_TypeQuery("char *");
933 if (SWIG_ConvertPtr(obj
, (void**)&vptr
, pchar_info
, 0) != -1) {
934 if (cptr
) *cptr
= vptr
;
935 if (psize
) *psize
= vptr
? (strlen(vptr
) + 1) : 0;
938 if (PyString_Check(obj
)) {
940 *cptr
= PyString_AS_STRING(obj
);
942 *psize
= PyString_GET_SIZE(obj
) + 1;
949 PyErr_SetString(PyExc_TypeError
, "a string is expected");
956 SWIG_AsCharArray(PyObject
*obj
, char *val
, size_t size
)
958 char* cptr
; size_t csize
;
959 if (SWIG_AsCharPtrAndSize(obj
, &cptr
, &csize
)) {
964 ie, assing the array using an extra '0' char.
966 if ((csize
== size
+ 1) && !(cptr
[csize
-1])) --csize
;
969 if (csize
) memcpy(val
, cptr
, csize
);
970 if (csize
< size
) memset(val
+ csize
, 0, size
- csize
);
976 PyErr_Format(PyExc_TypeError
,
977 "a char array of maximum size %ld is expected",
984 SWIGSTATICINLINE(int)
985 SWIG_AsVal_char(PyObject
*obj
, char *val
)
987 const char* errmsg
= val
? "char" : 0;
989 if (SWIG_AsVal_long(obj
, &v
)) {
990 if (SWIG_CheckLongInRange(v
, CHAR_MIN
,CHAR_MAX
, errmsg
)) {
998 return SWIG_AsCharArray(obj
, val
, 1);
1003 SWIGSTATICINLINE(char)
1004 SWIG_As_char(PyObject
* obj
)
1007 if (!SWIG_AsVal_char(obj
, &v
)) {
1009 this is needed to make valgrind/purify happier. the other
1010 solution is throw an exception, but since this code should work
1013 memset((void*)&v
, 0, sizeof(char));
1019 SWIGSTATICINLINE(int)
1020 SWIG_Check_char(PyObject
* obj
)
1022 return SWIG_AsVal_char(obj
, (char*)0);
1025 void wxOutputStream_write(wxOutputStream
*self
,PyObject
*obj
){
1026 // We use only strings for the streams, not unicode
1027 PyObject
* str
= PyObject_Str(obj
);
1029 PyErr_SetString(PyExc_TypeError
, "Unable to convert to string");
1032 self
->Write(PyString_AS_STRING(str
),
1033 PyString_GET_SIZE(str
));
1037 #include "wx/wxPython/pyistream.h"
1040 class wxPyFileSystemHandler
: public wxFileSystemHandler
1043 wxPyFileSystemHandler() : wxFileSystemHandler() {}
1045 DEC_PYCALLBACK_BOOL_STRING_pure(CanOpen
);
1046 DEC_PYCALLBACK_FSF_FSSTRING_pure(OpenFile
);
1047 DEC_PYCALLBACK_STRING_STRINGINT_pure(FindFirst
);
1048 DEC_PYCALLBACK_STRING__pure(FindNext
);
1050 wxString
GetProtocol(const wxString
& location
) {
1051 return wxFileSystemHandler::GetProtocol(location
);
1054 wxString
GetLeftLocation(const wxString
& location
) {
1055 return wxFileSystemHandler::GetLeftLocation(location
);
1058 wxString
GetAnchor(const wxString
& location
) {
1059 return wxFileSystemHandler::GetAnchor(location
);
1062 wxString
GetRightLocation(const wxString
& location
) {
1063 return wxFileSystemHandler::GetRightLocation(location
);
1066 wxString
GetMimeTypeFromExt(const wxString
& location
) {
1067 return wxFileSystemHandler::GetMimeTypeFromExt(location
);
1074 IMP_PYCALLBACK_BOOL_STRING_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, CanOpen
);
1075 IMP_PYCALLBACK_FSF_FSSTRING_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, OpenFile
);
1076 IMP_PYCALLBACK_STRING_STRINGINT_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, FindFirst
);
1077 IMP_PYCALLBACK_STRING__pure(wxPyFileSystemHandler
, wxFileSystemHandler
, FindNext
);
1080 SWIGSTATICINLINE(int)
1081 SWIG_AsVal_bool(PyObject
*obj
, bool *val
)
1083 /* if (val) *val = PyObject_IsTrue(obj); return 1; */
1084 if (obj
== Py_True
) {
1085 if (val
) *val
= true;
1088 if (obj
== Py_False
) {
1089 if (val
) *val
= false;
1093 if (SWIG_AsVal_int(obj
, &res
)) {
1094 if (val
) *val
= (bool)res
;
1098 PyErr_SetString(PyExc_TypeError
, "a bool is expected");
1104 SWIGSTATICINLINE(bool)
1105 SWIG_As_bool(PyObject
* obj
)
1108 if (!SWIG_AsVal_bool(obj
, &v
)) {
1110 this is needed to make valgrind/purify happier. the other
1111 solution is throw an exception, but since this code should work
1114 memset((void*)&v
, 0, sizeof(bool));
1120 SWIGSTATICINLINE(int)
1121 SWIG_Check_bool(PyObject
* obj
)
1123 return SWIG_AsVal_bool(obj
, (bool*)0);
1126 wxString
FileSystem_URLToFileName(wxString
const &url
){
1127 wxFileName fname
= wxFileSystem::URLToFileName(url
);
1128 return fname
.GetFullPath();
1131 void __wxMemoryFSHandler_AddFile_wxImage(const wxString
& filename
,
1134 wxMemoryFSHandler::AddFile(filename
, image
, type
);
1137 void __wxMemoryFSHandler_AddFile_wxBitmap(const wxString
& filename
,
1138 const wxBitmap
& bitmap
,
1140 wxMemoryFSHandler::AddFile(filename
, bitmap
, type
);
1143 void __wxMemoryFSHandler_AddFile_Data(const wxString
& filename
,
1145 if (! PyString_Check(data
)) {
1146 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError
,
1147 "Expected string object"));
1151 bool blocked
= wxPyBeginBlockThreads();
1152 void* ptr
= (void*)PyString_AsString(data
);
1153 size_t size
= PyString_Size(data
);
1154 wxPyEndBlockThreads(blocked
);
1156 wxMemoryFSHandler::AddFile(filename
, ptr
, size
);
1160 #include "wx/wxPython/pyistream.h"
1163 // See my_fragments.i
1164 SWIGSTATICINLINE(int)
1165 SWIG_AsVal_unsigned_SS_long(PyObject
* obj
, unsigned long* val
)
1168 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
1169 PyErr_SetString(PyExc_TypeError
, "negative value received for unsigned type");
1173 *val
= (unsigned long)v
;
1178 SWIGSTATICINLINE(int)
1179 SWIG_CheckUnsignedLongInRange(unsigned long value
,
1180 unsigned long max_value
,
1183 if (value
> max_value
) {
1185 PyErr_Format(PyExc_OverflowError
,
1186 "value %ld is greater than '%s' minimum %ld",
1187 value
, errmsg
, max_value
);
1195 SWIGSTATICINLINE(int)
1196 SWIG_AsVal_unsigned_SS_char(PyObject
*obj
, unsigned char *val
)
1198 const char* errmsg
= val
? "unsigned char" : 0;
1200 if (SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
1201 if (SWIG_CheckUnsignedLongInRange(v
, UCHAR_MAX
,errmsg
)) {
1202 if (val
) *val
= swig_numeric_cast(v
, unsigned char);
1211 PyErr_SetString(PyExc_TypeError
, "an unsigned char is expected");
1217 SWIGSTATICINLINE(unsigned char)
1218 SWIG_As_unsigned_SS_char(PyObject
* obj
)
1221 if (!SWIG_AsVal_unsigned_SS_char(obj
, &v
)) {
1223 this is needed to make valgrind/purify happier. the other
1224 solution is throw an exception, but since this code should work
1227 memset((void*)&v
, 0, sizeof(unsigned char));
1233 SWIGSTATICINLINE(int)
1234 SWIG_Check_unsigned_SS_char(PyObject
* obj
)
1236 return SWIG_AsVal_unsigned_SS_char(obj
, (unsigned char*)0);
1240 wxImage
*new_wxImage(int width
,int height
,bool clear
){
1241 if (width
> 0 && height
> 0)
1242 return new wxImage(width
, height
, clear
);
1246 wxImage
*new_wxImage(wxBitmap
const &bitmap
){
1247 return new wxImage(bitmap
.ConvertToImage());
1249 wxImage
*new_wxImage(int width
,int height
,unsigned char *data
){
1250 // Copy the source data so the wxImage can clean it up later
1251 unsigned char* copy
= (unsigned char*)malloc(width
*height
*3);
1256 memcpy(copy
, data
, width
*height
*3);
1257 return new wxImage(width
, height
, copy
, false);
1259 wxSize
wxImage_GetSize(wxImage
*self
){
1260 wxSize
size(self
->GetWidth(), self
->GetHeight());
1263 PyObject
*wxImage_GetData(wxImage
*self
){
1264 unsigned char* data
= self
->GetData();
1265 int len
= self
->GetWidth() * self
->GetHeight() * 3;
1267 wxPyBLOCK_THREADS( rv
= PyString_FromStringAndSize((char*)data
, len
));
1270 void wxImage_SetData(wxImage
*self
,PyObject
*data
){
1271 unsigned char* dataPtr
;
1273 if (! PyString_Check(data
)) {
1274 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError
,
1275 "Expected string object"));
1279 size_t len
= self
->GetWidth() * self
->GetHeight() * 3;
1280 dataPtr
= (unsigned char*) malloc(len
);
1281 wxPyBLOCK_THREADS( memcpy(dataPtr
, PyString_AsString(data
), len
) );
1282 self
->SetData(dataPtr
);
1283 // wxImage takes ownership of dataPtr...
1285 PyObject
*wxImage_GetDataBuffer(wxImage
*self
){
1286 unsigned char* data
= self
->GetData();
1287 int len
= self
->GetWidth() * self
->GetHeight() * 3;
1289 wxPyBLOCK_THREADS( rv
= PyBuffer_FromReadWriteMemory(data
, len
) );
1292 void wxImage_SetDataBuffer(wxImage
*self
,PyObject
*data
){
1293 unsigned char* buffer
;
1296 bool blocked
= wxPyBeginBlockThreads();
1297 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
1300 if (size
!= self
->GetWidth() * self
->GetHeight() * 3) {
1301 PyErr_SetString(PyExc_TypeError
, "Incorrect buffer size");
1304 self
->SetData(buffer
);
1306 wxPyEndBlockThreads(blocked
);
1308 PyObject
*wxImage_GetAlphaData(wxImage
*self
){
1309 unsigned char* data
= self
->GetAlpha();
1313 int len
= self
->GetWidth() * self
->GetHeight();
1315 wxPyBLOCK_THREADS( rv
= PyString_FromStringAndSize((char*)data
, len
) );
1319 void wxImage_SetAlphaData(wxImage
*self
,PyObject
*data
){
1320 unsigned char* dataPtr
;
1322 if (! PyString_Check(data
)) {
1323 PyErr_SetString(PyExc_TypeError
, "Expected string object");
1327 size_t len
= self
->GetWidth() * self
->GetHeight();
1328 dataPtr
= (unsigned char*) malloc(len
);
1329 wxPyBLOCK_THREADS( memcpy(dataPtr
, PyString_AsString(data
), len
) );
1330 self
->SetAlpha(dataPtr
);
1331 // wxImage takes ownership of dataPtr...
1333 PyObject
*wxImage_GetAlphaBuffer(wxImage
*self
){
1334 unsigned char* data
= self
->GetAlpha();
1335 int len
= self
->GetWidth() * self
->GetHeight();
1337 wxPyBLOCK_THREADS( rv
= PyBuffer_FromReadWriteMemory(data
, len
) );
1340 void wxImage_SetAlphaBuffer(wxImage
*self
,PyObject
*data
){
1341 unsigned char* buffer
;
1344 bool blocked
= wxPyBeginBlockThreads();
1345 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
1348 if (size
!= self
->GetWidth() * self
->GetHeight()) {
1349 PyErr_SetString(PyExc_TypeError
, "Incorrect buffer size");
1352 self
->SetAlpha(buffer
);
1354 wxPyEndBlockThreads(blocked
);
1357 SWIGSTATICINLINE(unsigned long)
1358 SWIG_As_unsigned_SS_long(PyObject
* obj
)
1361 if (!SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
1363 this is needed to make valgrind/purify happier. the other
1364 solution is throw an exception, but since this code should work
1367 memset((void*)&v
, 0, sizeof(unsigned long));
1373 SWIGSTATICINLINE(int)
1374 SWIG_Check_unsigned_SS_long(PyObject
* obj
)
1376 return SWIG_AsVal_unsigned_SS_long(obj
, (unsigned long*)0);
1379 wxBitmap
wxImage_ConvertToBitmap(wxImage
*self
,int depth
){
1380 wxBitmap
bitmap(*self
, depth
);
1383 wxBitmap
wxImage_ConvertToMonoBitmap(wxImage
*self
,unsigned char red
,unsigned char green
,unsigned char blue
){
1384 wxImage mono
= self
->ConvertToMono( red
, green
, blue
);
1385 wxBitmap
bitmap( mono
, 1 );
1388 static const wxString
wxPyIMAGE_OPTION_BMP_FORMAT(wxIMAGE_OPTION_BMP_FORMAT
);
1389 static const wxString
wxPyIMAGE_OPTION_CUR_HOTSPOT_X(wxIMAGE_OPTION_CUR_HOTSPOT_X
);
1390 static const wxString
wxPyIMAGE_OPTION_CUR_HOTSPOT_Y(wxIMAGE_OPTION_CUR_HOTSPOT_Y
);
1391 static const wxString
wxPyIMAGE_OPTION_RESOLUTION(wxIMAGE_OPTION_RESOLUTION
);
1392 static const wxString
wxPyIMAGE_OPTION_RESOLUTIONUNIT(wxIMAGE_OPTION_RESOLUTIONUNIT
);
1394 #include <wx/quantize.h>
1396 bool Quantize_Quantize(wxImage
const &src
,wxImage
&dest
,int desiredNoColours
,int flags
){
1397 return wxQuantize::Quantize(src
, dest
,
1400 NULL
, // eightBitData
1403 void wxEvtHandler_Connect(wxEvtHandler
*self
,int id
,int lastId
,int eventType
,PyObject
*func
){
1404 if (PyCallable_Check(func
)) {
1405 self
->Connect(id
, lastId
, eventType
,
1406 (wxObjectEventFunction
) &wxPyCallback::EventThunker
,
1407 new wxPyCallback(func
));
1409 else if (func
== Py_None
) {
1410 self
->Disconnect(id
, lastId
, eventType
,
1411 (wxObjectEventFunction
)
1412 &wxPyCallback::EventThunker
);
1416 PyErr_SetString(PyExc_TypeError
, "Expected callable object or None."));
1419 bool wxEvtHandler_Disconnect(wxEvtHandler
*self
,int id
,int lastId
,wxEventType eventType
){
1420 return self
->Disconnect(id
, lastId
, eventType
,
1421 (wxObjectEventFunction
)
1422 &wxPyCallback::EventThunker
);
1424 void wxEvtHandler__setOORInfo(wxEvtHandler
*self
,PyObject
*_self
){
1425 if (_self
&& _self
!= Py_None
) {
1426 self
->SetClientObject(new wxPyOORClientData(_self
));
1429 wxPyOORClientData
* data
= (wxPyOORClientData
*)self
->GetClientObject();
1431 self
->SetClientObject(NULL
); // This will delete it too
1436 int wxKeyEvent_GetUnicodeKey(wxKeyEvent
*self
){
1438 return self
->GetUnicodeKey();
1444 #if UINT_MAX < LONG_MAX
1445 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
1446 #define SWIG_From_unsigned_SS_int SWIG_From_long
1449 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
1450 #define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long
1455 #if UINT_MAX != ULONG_MAX
1456 SWIGSTATICINLINE(int)
1457 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
1459 const char* errmsg
= val
? "unsigned int" : 0;
1461 if (SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
1462 if (SWIG_CheckUnsignedLongInRange(v
, INT_MAX
, errmsg
)) {
1463 if (val
) *val
= swig_numeric_cast(v
, unsigned int);
1470 PyErr_SetString(PyExc_TypeError
, "an unsigned int is expected");
1475 SWIGSTATICINLINE(unsigned int)
1476 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
1478 return SWIG_AsVal_unsigned_SS_long(obj
,(unsigned long *)val
);
1483 SWIGSTATICINLINE(unsigned int)
1484 SWIG_As_unsigned_SS_int(PyObject
* obj
)
1487 if (!SWIG_AsVal_unsigned_SS_int(obj
, &v
)) {
1489 this is needed to make valgrind/purify happier. the other
1490 solution is throw an exception, but since this code should work
1493 memset((void*)&v
, 0, sizeof(unsigned int));
1499 SWIGSTATICINLINE(int)
1500 SWIG_Check_unsigned_SS_int(PyObject
* obj
)
1502 return SWIG_AsVal_unsigned_SS_int(obj
, (unsigned int*)0);
1505 void wxSizeEvent_SetSize(wxSizeEvent
*self
,wxSize size
){
1506 self
->m_size
= size
;
1508 void wxMoveEvent_SetPosition(wxMoveEvent
*self
,wxPoint pos
){
1511 PyObject
*wxDropFilesEvent_GetFiles(wxDropFilesEvent
*self
){
1512 int count
= self
->GetNumberOfFiles();
1513 wxString
* files
= self
->GetFiles();
1514 PyObject
* list
= PyList_New(count
);
1517 PyErr_SetString(PyExc_MemoryError
, "Can't allocate list of files!");
1521 for (int i
=0; i
<count
; i
++) {
1522 PyList_SetItem(list
, i
, wx2PyString(files
[i
]));
1528 wxPyApp
*new_wxPyApp(){
1529 wxPythonApp
= new wxPyApp();
1533 void wxApp_CleanUp() {
1538 wxPyApp
* wxPyGetApp() { return (wxPyApp
*)wxTheApp
; }
1543 // A dummy class that raises an exception if used...
1547 wxEventLoop() { wxPyRaiseNotImplemented(); }
1548 int Run() { return 0; }
1549 void Exit(int rc
= 0) {}
1550 bool Pending() const { return false; }
1551 bool Dispatch() { return false; }
1552 bool IsRunning() const { return false; }
1553 static wxEventLoop
*GetActive() { wxPyRaiseNotImplemented(); return NULL
; }
1554 static void SetActive(wxEventLoop
* loop
) { wxPyRaiseNotImplemented(); }
1559 #include <wx/evtloop.h>
1565 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
1566 wxVisualAttributes
*new_wxVisualAttributes(){ return new wxVisualAttributes
; }
1567 void delete_wxVisualAttributes(wxVisualAttributes
*self
){ delete self
; }
1568 PyObject
*wxWindow_GetChildren(wxWindow
*self
){
1569 wxWindowList
& list
= self
->GetChildren();
1570 return wxPy_ConvertList(&list
);
1572 bool wxWindow_RegisterHotKey(wxWindow
*self
,int hotkeyId
,int modifiers
,int keycode
){
1574 return self
->RegisterHotKey(hotkeyId
, modifiers
, keycode
);
1579 bool wxWindow_UnregisterHotKey(wxWindow
*self
,int hotkeyId
){
1586 long wxWindow_GetHandle(wxWindow
*self
){
1587 return wxPyGetWinHandle(self
);
1589 void wxWindow_AssociateHandle(wxWindow
*self
,long handle
){
1590 self
->AssociateHandle((WXWidget
)handle
);
1593 wxWindow
* wxFindWindowById( long id
, const wxWindow
*parent
= NULL
) {
1594 return wxWindow::FindWindowById(id
, parent
);
1597 wxWindow
* wxFindWindowByName( const wxString
& name
,
1598 const wxWindow
*parent
= NULL
) {
1599 return wxWindow::FindWindowByName(name
, parent
);
1602 wxWindow
* wxFindWindowByLabel( const wxString
& label
,
1603 const wxWindow
*parent
= NULL
) {
1604 return wxWindow::FindWindowByLabel(label
, parent
);
1609 #include <wx/msw/private.h> // to get wxGetWindowId
1613 wxWindow
* wxWindow_FromHWND(wxWindow
* parent
, unsigned long _hWnd
) {
1615 WXHWND hWnd
= (WXHWND
)_hWnd
;
1616 long id
= wxGetWindowId(hWnd
);
1617 wxWindow
* win
= new wxWindow
;
1618 parent
->AddChild(win
);
1619 win
->SetEventHandler(win
);
1622 win
->SubclassWin(hWnd
);
1623 win
->AdoptAttributesFromHWND();
1624 win
->SetupColours();
1627 wxPyRaiseNotImplemented();
1633 IMP_PYCALLBACK_BOOL_WXWIN(wxPyValidator
, wxValidator
, Validate
);
1634 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferToWindow
);
1635 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferFromWindow
);
1637 IMPLEMENT_DYNAMIC_CLASS(wxPyValidator
, wxValidator
);
1639 void wxMenu_Destroy(wxMenu
*self
){ delete self
; }
1640 PyObject
*wxMenu_GetMenuItems(wxMenu
*self
){
1641 wxMenuItemList
& list
= self
->GetMenuItems();
1642 return wxPy_ConvertList(&list
);
1644 static const wxString
wxPyControlNameStr(wxControlNameStr
);
1645 int wxItemContainer_Append(wxItemContainer
*self
,wxString
const &item
,PyObject
*clientData
){
1647 wxPyClientData
* data
= new wxPyClientData(clientData
);
1648 return self
->Append(item
, data
);
1650 return self
->Append(item
);
1652 int wxItemContainer_Insert(wxItemContainer
*self
,wxString
const &item
,int pos
,PyObject
*clientData
){
1654 wxPyClientData
* data
= new wxPyClientData(clientData
);
1655 return self
->Insert(item
, pos
, data
);
1657 return self
->Insert(item
, pos
);
1659 PyObject
*wxItemContainer_GetClientData(wxItemContainer
*self
,int n
){
1660 wxPyClientData
* data
= (wxPyClientData
*)self
->GetClientObject(n
);
1662 Py_INCREF(data
->m_obj
);
1669 void wxItemContainer_SetClientData(wxItemContainer
*self
,int n
,PyObject
*clientData
){
1670 wxPyClientData
* data
= new wxPyClientData(clientData
);
1671 self
->SetClientObject(n
, data
);
1675 wxSizerItem
*new_wxSizerItem(wxWindow
*window
,int proportion
,int flag
,int border
,PyObject
*userData
){
1676 wxPyUserData
* data
= NULL
;
1678 bool blocked
= wxPyBeginBlockThreads();
1679 data
= new wxPyUserData(userData
);
1680 wxPyEndBlockThreads(blocked
);
1682 return new wxSizerItem(window
, proportion
, flag
, border
, data
);
1684 wxSizerItem
*new_wxSizerItem(int width
,int height
,int proportion
,int flag
,int border
,PyObject
*userData
){
1685 wxPyUserData
* data
= NULL
;
1687 bool blocked
= wxPyBeginBlockThreads();
1688 data
= new wxPyUserData(userData
);
1689 wxPyEndBlockThreads(blocked
);
1691 return new wxSizerItem(width
, height
, proportion
, flag
, border
, data
);
1693 wxSizerItem
*new_wxSizerItem(wxSizer
*sizer
,int proportion
,int flag
,int border
,PyObject
*userData
){
1694 wxPyUserData
* data
= NULL
;
1696 bool blocked
= wxPyBeginBlockThreads();
1697 data
= new wxPyUserData(userData
);
1698 wxPyEndBlockThreads(blocked
);
1700 return new wxSizerItem(sizer
, proportion
, flag
, border
, data
);
1704 SWIGSTATICINLINE(int)
1705 SWIG_CheckDoubleInRange(double value
, double min_value
,
1706 double max_value
, const char* errmsg
)
1708 if (value
< min_value
) {
1710 PyErr_Format(PyExc_OverflowError
,
1711 "value %g is less than %s minimum %g",
1712 value
, errmsg
, min_value
);
1715 } else if (value
> max_value
) {
1717 PyErr_Format(PyExc_OverflowError
,
1718 "value %g is greater than %s maximum %g",
1719 value
, errmsg
, max_value
);
1727 SWIGSTATICINLINE(int)
1728 SWIG_AsVal_float(PyObject
*obj
, float *val
)
1730 const char* errmsg
= val
? "float" : 0;
1732 if (SWIG_AsVal_double(obj
, &v
)) {
1733 if (SWIG_CheckDoubleInRange(v
, -FLT_MAX
, FLT_MAX
, errmsg
)) {
1743 PyErr_SetString(PyExc_TypeError
, "a float is expected");
1749 SWIGSTATICINLINE(float)
1750 SWIG_As_float(PyObject
* obj
)
1753 if (!SWIG_AsVal_float(obj
, &v
)) {
1755 this is needed to make valgrind/purify happier. the other
1756 solution is throw an exception, but since this code should work
1759 memset((void*)&v
, 0, sizeof(float));
1765 SWIGSTATICINLINE(int)
1766 SWIG_Check_float(PyObject
* obj
)
1768 return SWIG_AsVal_float(obj
, (float*)0);
1771 PyObject
*wxSizerItem_GetUserData(wxSizerItem
*self
){
1772 wxPyUserData
* data
= (wxPyUserData
*)self
->GetUserData();
1774 Py_INCREF(data
->m_obj
);
1782 // Figure out the type of the sizer item
1784 struct wxPySizerItemInfo
{
1786 : window(NULL
), sizer(NULL
), gotSize(false),
1787 size(wxDefaultSize
), gotPos(false), pos(-1)
1798 static wxPySizerItemInfo
wxPySizerItemTypeHelper(PyObject
* item
, bool checkSize
, bool checkIdx
) {
1800 wxPySizerItemInfo info
;
1802 wxSize
* sizePtr
= &size
;
1804 // Find out what the type of the item is
1806 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.window
, wxT("wxWindow")) ) {
1811 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.sizer
, wxT("wxSizer")) ) {
1815 // try wxSize or (w,h)
1816 if ( checkSize
&& wxSize_helper(item
, &sizePtr
)) {
1817 info
.size
= *sizePtr
;
1818 info
.gotSize
= true;
1822 if (checkIdx
&& PyInt_Check(item
)) {
1823 info
.pos
= PyInt_AsLong(item
);
1829 if ( !(info
.window
|| info
.sizer
|| (checkSize
&& info
.gotSize
) || (checkIdx
&& info
.gotPos
)) ) {
1830 // no expected type, figure out what kind of error message to generate
1831 if ( !checkSize
&& !checkIdx
)
1832 PyErr_SetString(PyExc_TypeError
, "wxWindow or wxSizer expected for item");
1833 else if ( checkSize
&& !checkIdx
)
1834 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer, wxSize, or (w,h) expected for item");
1835 else if ( !checkSize
&& checkIdx
)
1836 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer or int (position) expected for item");
1838 // can this one happen?
1839 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer, wxSize, or (w,h) or int (position) expected for item");
1845 void wxSizer__setOORInfo(wxSizer
*self
,PyObject
*_self
){
1846 if (!self
->GetClientObject())
1847 self
->SetClientObject(new wxPyOORClientData(_self
));
1849 wxSizerItem
*wxSizer_Add(wxSizer
*self
,PyObject
*item
,int proportion
,int flag
,int border
,PyObject
*userData
){
1851 wxPyUserData
* data
= NULL
;
1852 bool blocked
= wxPyBeginBlockThreads();
1853 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
1854 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1855 data
= new wxPyUserData(userData
);
1856 wxPyEndBlockThreads(blocked
);
1858 // Now call the real Add method if a valid item type was found
1860 return self
->Add(info
.window
, proportion
, flag
, border
, data
);
1861 else if ( info
.sizer
)
1862 return self
->Add(info
.sizer
, proportion
, flag
, border
, data
);
1863 else if (info
.gotSize
)
1864 return self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
1865 proportion
, flag
, border
, data
);
1869 wxSizerItem
*wxSizer_Insert(wxSizer
*self
,int before
,PyObject
*item
,int proportion
,int flag
,int border
,PyObject
*userData
){
1871 wxPyUserData
* data
= NULL
;
1872 bool blocked
= wxPyBeginBlockThreads();
1873 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
1874 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1875 data
= new wxPyUserData(userData
);
1876 wxPyEndBlockThreads(blocked
);
1878 // Now call the real Insert method if a valid item type was found
1880 return self
->Insert(before
, info
.window
, proportion
, flag
, border
, data
);
1881 else if ( info
.sizer
)
1882 return self
->Insert(before
, info
.sizer
, proportion
, flag
, border
, data
);
1883 else if (info
.gotSize
)
1884 return self
->Insert(before
, info
.size
.GetWidth(), info
.size
.GetHeight(),
1885 proportion
, flag
, border
, data
);
1889 wxSizerItem
*wxSizer_Prepend(wxSizer
*self
,PyObject
*item
,int proportion
,int flag
,int border
,PyObject
*userData
){
1891 wxPyUserData
* data
= NULL
;
1892 bool blocked
= wxPyBeginBlockThreads();
1893 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
1894 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1895 data
= new wxPyUserData(userData
);
1896 wxPyEndBlockThreads(blocked
);
1898 // Now call the real Prepend method if a valid item type was found
1900 return self
->Prepend(info
.window
, proportion
, flag
, border
, data
);
1901 else if ( info
.sizer
)
1902 return self
->Prepend(info
.sizer
, proportion
, flag
, border
, data
);
1903 else if (info
.gotSize
)
1904 return self
->Prepend(info
.size
.GetWidth(), info
.size
.GetHeight(),
1905 proportion
, flag
, border
, data
);
1909 bool wxSizer_Remove(wxSizer
*self
,PyObject
*item
){
1910 bool blocked
= wxPyBeginBlockThreads();
1911 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
1912 wxPyEndBlockThreads(blocked
);
1914 return self
->Remove(info
.window
);
1915 else if ( info
.sizer
)
1916 return self
->Remove(info
.sizer
);
1917 else if ( info
.gotPos
)
1918 return self
->Remove(info
.pos
);
1922 bool wxSizer_Detach(wxSizer
*self
,PyObject
*item
){
1923 bool blocked
= wxPyBeginBlockThreads();
1924 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
1925 wxPyEndBlockThreads(blocked
);
1927 return self
->Detach(info
.window
);
1928 else if ( info
.sizer
)
1929 return self
->Detach(info
.sizer
);
1930 else if ( info
.gotPos
)
1931 return self
->Detach(info
.pos
);
1935 wxSizerItem
*wxSizer_GetItem(wxSizer
*self
,PyObject
*item
){
1936 bool blocked
= wxPyBeginBlockThreads();
1937 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
1938 wxPyEndBlockThreads(blocked
);
1940 return self
->GetItem(info
.window
);
1941 else if ( info
.sizer
)
1942 return self
->GetItem(info
.sizer
);
1943 else if ( info
.gotPos
)
1944 return self
->GetItem(info
.pos
);
1948 void wxSizer__SetItemMinSize(wxSizer
*self
,PyObject
*item
,wxSize
const &size
){
1949 bool blocked
= wxPyBeginBlockThreads();
1950 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
1951 wxPyEndBlockThreads(blocked
);
1953 self
->SetItemMinSize(info
.window
, size
);
1954 else if ( info
.sizer
)
1955 self
->SetItemMinSize(info
.sizer
, size
);
1956 else if ( info
.gotPos
)
1957 self
->SetItemMinSize(info
.pos
, size
);
1959 PyObject
*wxSizer_GetChildren(wxSizer
*self
){
1960 wxSizerItemList
& list
= self
->GetChildren();
1961 return wxPy_ConvertList(&list
);
1963 bool wxSizer_Show(wxSizer
*self
,PyObject
*item
,bool show
,bool recursive
){
1964 bool blocked
= wxPyBeginBlockThreads();
1965 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
1966 wxPyEndBlockThreads(blocked
);
1968 return self
->Show(info
.window
, show
, recursive
);
1969 else if ( info
.sizer
)
1970 return self
->Show(info
.sizer
, show
, recursive
);
1971 else if ( info
.gotPos
)
1972 return self
->Show(info
.pos
, show
);
1976 bool wxSizer_IsShown(wxSizer
*self
,PyObject
*item
){
1977 bool blocked
= wxPyBeginBlockThreads();
1978 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, false);
1979 wxPyEndBlockThreads(blocked
);
1981 return self
->IsShown(info
.window
);
1982 else if ( info
.sizer
)
1983 return self
->IsShown(info
.sizer
);
1984 else if ( info
.gotPos
)
1985 return self
->IsShown(info
.pos
);
1991 IMP_PYCALLBACK___pure(wxPySizer
, wxSizer
, RecalcSizes
);
1992 IMP_PYCALLBACK_wxSize__pure(wxPySizer
, wxSizer
, CalcMin
);
1993 IMPLEMENT_DYNAMIC_CLASS(wxPySizer
, wxSizer
);
1998 bool wxGBPosition_helper(PyObject
* source
, wxGBPosition
** obj
)
2000 if (source
== Py_None
) {
2001 **obj
= wxGBPosition(-1,-1);
2004 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBPosition"));
2007 bool wxGBSpan_helper(PyObject
* source
, wxGBSpan
** obj
)
2009 if (source
== Py_None
) {
2010 **obj
= wxGBSpan(-1,-1);
2013 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBSpan"));
2017 void wxGBPosition_Set(wxGBPosition
*self
,int row
,int col
){
2021 PyObject
*wxGBPosition_Get(wxGBPosition
*self
){
2022 bool blocked
= wxPyBeginBlockThreads();
2023 PyObject
* tup
= PyTuple_New(2);
2024 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRow()));
2025 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetCol()));
2026 wxPyEndBlockThreads(blocked
);
2029 void wxGBSpan_Set(wxGBSpan
*self
,int rowspan
,int colspan
){
2030 self
->SetRowspan(rowspan
);
2031 self
->SetColspan(colspan
);
2033 PyObject
*wxGBSpan_Get(wxGBSpan
*self
){
2034 bool blocked
= wxPyBeginBlockThreads();
2035 PyObject
* tup
= PyTuple_New(2);
2036 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRowspan()));
2037 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetColspan()));
2038 wxPyEndBlockThreads(blocked
);
2041 wxGBSizerItem
*new_wxGBSizerItem(wxWindow
*window
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
){
2042 wxPyUserData
* data
= NULL
;
2044 bool blocked
= wxPyBeginBlockThreads();
2045 data
= new wxPyUserData(userData
);
2046 wxPyEndBlockThreads(blocked
);
2048 return new wxGBSizerItem(window
, pos
, span
, flag
, border
, data
);
2050 wxGBSizerItem
*new_wxGBSizerItem(wxSizer
*sizer
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
){
2051 wxPyUserData
* data
= NULL
;
2053 bool blocked
= wxPyBeginBlockThreads();
2054 data
= new wxPyUserData(userData
);
2055 wxPyEndBlockThreads(blocked
);
2057 return new wxGBSizerItem(sizer
, pos
, span
, flag
, border
, data
);
2059 wxGBSizerItem
*new_wxGBSizerItem(int width
,int height
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
){
2060 wxPyUserData
* data
= NULL
;
2062 bool blocked
= wxPyBeginBlockThreads();
2063 data
= new wxPyUserData(userData
);
2064 wxPyEndBlockThreads(blocked
);
2066 return new wxGBSizerItem(width
, height
, pos
, span
, flag
, border
, data
);
2068 wxGBPosition
wxGBSizerItem_GetEndPos(wxGBSizerItem
*self
){
2070 self
->GetEndPos(row
, col
);
2071 return wxGBPosition(row
, col
);
2073 wxGBSizerItem
*wxGridBagSizer_Add(wxGridBagSizer
*self
,PyObject
*item
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
){
2075 wxPyUserData
* data
= NULL
;
2076 bool blocked
= wxPyBeginBlockThreads();
2077 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
2078 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
2079 data
= new wxPyUserData(userData
);
2080 wxPyEndBlockThreads(blocked
);
2082 // Now call the real Add method if a valid item type was found
2084 return (wxGBSizerItem
*)self
->Add(info
.window
, pos
, span
, flag
, border
, data
);
2085 else if ( info
.sizer
)
2086 return (wxGBSizerItem
*)self
->Add(info
.sizer
, pos
, span
, flag
, border
, data
);
2087 else if (info
.gotSize
)
2088 return (wxGBSizerItem
*)self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
2089 pos
, span
, flag
, border
, data
);
2097 static int _wrap_EmptyString_set(PyObject
*) {
2098 PyErr_SetString(PyExc_TypeError
,"Variable EmptyString is read-only.");
2103 static PyObject
*_wrap_EmptyString_get() {
2108 pyobj
= PyUnicode_FromWideChar((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
2110 pyobj
= PyString_FromStringAndSize((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
2117 static PyObject
*_wrap_Object_GetClassName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2118 PyObject
*resultobj
;
2119 wxObject
*arg1
= (wxObject
*) 0 ;
2121 PyObject
* obj0
= 0 ;
2123 (char *) "self", NULL
2126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_GetClassName",kwnames
,&obj0
)) goto fail
;
2127 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxObject
,
2128 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2131 result
= wxObject_GetClassName(arg1
);
2133 wxPyEndAllowThreads(__tstate
);
2134 if (PyErr_Occurred()) SWIG_fail
;
2138 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2140 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2149 static PyObject
*_wrap_Object_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2150 PyObject
*resultobj
;
2151 wxObject
*arg1
= (wxObject
*) 0 ;
2152 PyObject
* obj0
= 0 ;
2154 (char *) "self", NULL
2157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_Destroy",kwnames
,&obj0
)) goto fail
;
2158 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxObject
,
2159 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2162 wxObject_Destroy(arg1
);
2164 wxPyEndAllowThreads(__tstate
);
2165 if (PyErr_Occurred()) SWIG_fail
;
2167 Py_INCREF(Py_None
); resultobj
= Py_None
;
2174 static PyObject
* Object_swigregister(PyObject
*, PyObject
*args
) {
2176 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2177 SWIG_TypeClientData(SWIGTYPE_p_wxObject
, obj
);
2179 return Py_BuildValue((char *)"");
2181 static PyObject
*_wrap_Size_width_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2182 PyObject
*resultobj
;
2183 wxSize
*arg1
= (wxSize
*) 0 ;
2185 PyObject
* obj0
= 0 ;
2186 PyObject
* obj1
= 0 ;
2188 (char *) "self",(char *) "x", NULL
2191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2192 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2193 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2194 arg2
= (int)SWIG_As_int(obj1
);
2195 if (PyErr_Occurred()) SWIG_fail
;
2196 if (arg1
) (arg1
)->x
= arg2
;
2198 Py_INCREF(Py_None
); resultobj
= Py_None
;
2205 static PyObject
*_wrap_Size_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2206 PyObject
*resultobj
;
2207 wxSize
*arg1
= (wxSize
*) 0 ;
2209 PyObject
* obj0
= 0 ;
2211 (char *) "self", NULL
2214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_width_get",kwnames
,&obj0
)) goto fail
;
2215 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2216 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2217 result
= (int) ((arg1
)->x
);
2219 resultobj
= SWIG_From_int((int)result
);
2226 static PyObject
*_wrap_Size_height_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2227 PyObject
*resultobj
;
2228 wxSize
*arg1
= (wxSize
*) 0 ;
2230 PyObject
* obj0
= 0 ;
2231 PyObject
* obj1
= 0 ;
2233 (char *) "self",(char *) "y", NULL
2236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_height_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2237 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2238 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2239 arg2
= (int)SWIG_As_int(obj1
);
2240 if (PyErr_Occurred()) SWIG_fail
;
2241 if (arg1
) (arg1
)->y
= arg2
;
2243 Py_INCREF(Py_None
); resultobj
= Py_None
;
2250 static PyObject
*_wrap_Size_height_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2251 PyObject
*resultobj
;
2252 wxSize
*arg1
= (wxSize
*) 0 ;
2254 PyObject
* obj0
= 0 ;
2256 (char *) "self", NULL
2259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_height_get",kwnames
,&obj0
)) goto fail
;
2260 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2261 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2262 result
= (int) ((arg1
)->y
);
2264 resultobj
= SWIG_From_int((int)result
);
2271 static PyObject
*_wrap_new_Size(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2272 PyObject
*resultobj
;
2273 int arg1
= (int) 0 ;
2274 int arg2
= (int) 0 ;
2276 PyObject
* obj0
= 0 ;
2277 PyObject
* obj1
= 0 ;
2279 (char *) "w",(char *) "h", NULL
2282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Size",kwnames
,&obj0
,&obj1
)) goto fail
;
2284 arg1
= (int)SWIG_As_int(obj0
);
2285 if (PyErr_Occurred()) SWIG_fail
;
2288 arg2
= (int)SWIG_As_int(obj1
);
2289 if (PyErr_Occurred()) SWIG_fail
;
2292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2293 result
= (wxSize
*)new wxSize(arg1
,arg2
);
2295 wxPyEndAllowThreads(__tstate
);
2296 if (PyErr_Occurred()) SWIG_fail
;
2298 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 1);
2305 static PyObject
*_wrap_delete_Size(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2306 PyObject
*resultobj
;
2307 wxSize
*arg1
= (wxSize
*) 0 ;
2308 PyObject
* obj0
= 0 ;
2310 (char *) "self", NULL
2313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Size",kwnames
,&obj0
)) goto fail
;
2314 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2315 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2320 wxPyEndAllowThreads(__tstate
);
2321 if (PyErr_Occurred()) SWIG_fail
;
2323 Py_INCREF(Py_None
); resultobj
= Py_None
;
2330 static PyObject
*_wrap_Size___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2331 PyObject
*resultobj
;
2332 wxSize
*arg1
= (wxSize
*) 0 ;
2336 PyObject
* obj0
= 0 ;
2337 PyObject
* obj1
= 0 ;
2339 (char *) "self",(char *) "sz", NULL
2342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
2343 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2347 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2351 result
= (bool)(arg1
)->operator ==((wxSize
const &)*arg2
);
2353 wxPyEndAllowThreads(__tstate
);
2354 if (PyErr_Occurred()) SWIG_fail
;
2357 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2365 static PyObject
*_wrap_Size___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2366 PyObject
*resultobj
;
2367 wxSize
*arg1
= (wxSize
*) 0 ;
2371 PyObject
* obj0
= 0 ;
2372 PyObject
* obj1
= 0 ;
2374 (char *) "self",(char *) "sz", NULL
2377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
2378 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2379 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2382 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2386 result
= (bool)(arg1
)->operator !=((wxSize
const &)*arg2
);
2388 wxPyEndAllowThreads(__tstate
);
2389 if (PyErr_Occurred()) SWIG_fail
;
2392 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2400 static PyObject
*_wrap_Size___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2401 PyObject
*resultobj
;
2402 wxSize
*arg1
= (wxSize
*) 0 ;
2406 PyObject
* obj0
= 0 ;
2407 PyObject
* obj1
= 0 ;
2409 (char *) "self",(char *) "sz", NULL
2412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
2413 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2417 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2421 result
= (arg1
)->operator +((wxSize
const &)*arg2
);
2423 wxPyEndAllowThreads(__tstate
);
2424 if (PyErr_Occurred()) SWIG_fail
;
2428 resultptr
= new wxSize((wxSize
&) result
);
2429 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
2437 static PyObject
*_wrap_Size___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2438 PyObject
*resultobj
;
2439 wxSize
*arg1
= (wxSize
*) 0 ;
2443 PyObject
* obj0
= 0 ;
2444 PyObject
* obj1
= 0 ;
2446 (char *) "self",(char *) "sz", NULL
2449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
2450 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2451 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2454 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2458 result
= (arg1
)->operator -((wxSize
const &)*arg2
);
2460 wxPyEndAllowThreads(__tstate
);
2461 if (PyErr_Occurred()) SWIG_fail
;
2465 resultptr
= new wxSize((wxSize
&) result
);
2466 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
2474 static PyObject
*_wrap_Size_IncTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2475 PyObject
*resultobj
;
2476 wxSize
*arg1
= (wxSize
*) 0 ;
2479 PyObject
* obj0
= 0 ;
2480 PyObject
* obj1
= 0 ;
2482 (char *) "self",(char *) "sz", NULL
2485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_IncTo",kwnames
,&obj0
,&obj1
)) goto fail
;
2486 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2487 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2490 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2494 (arg1
)->IncTo((wxSize
const &)*arg2
);
2496 wxPyEndAllowThreads(__tstate
);
2497 if (PyErr_Occurred()) SWIG_fail
;
2499 Py_INCREF(Py_None
); resultobj
= Py_None
;
2506 static PyObject
*_wrap_Size_DecTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2507 PyObject
*resultobj
;
2508 wxSize
*arg1
= (wxSize
*) 0 ;
2511 PyObject
* obj0
= 0 ;
2512 PyObject
* obj1
= 0 ;
2514 (char *) "self",(char *) "sz", NULL
2517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_DecTo",kwnames
,&obj0
,&obj1
)) goto fail
;
2518 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2519 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2522 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2526 (arg1
)->DecTo((wxSize
const &)*arg2
);
2528 wxPyEndAllowThreads(__tstate
);
2529 if (PyErr_Occurred()) SWIG_fail
;
2531 Py_INCREF(Py_None
); resultobj
= Py_None
;
2538 static PyObject
*_wrap_Size_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2539 PyObject
*resultobj
;
2540 wxSize
*arg1
= (wxSize
*) 0 ;
2543 PyObject
* obj0
= 0 ;
2544 PyObject
* obj1
= 0 ;
2545 PyObject
* obj2
= 0 ;
2547 (char *) "self",(char *) "w",(char *) "h", NULL
2550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Size_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2551 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2552 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2553 arg2
= (int)SWIG_As_int(obj1
);
2554 if (PyErr_Occurred()) SWIG_fail
;
2555 arg3
= (int)SWIG_As_int(obj2
);
2556 if (PyErr_Occurred()) SWIG_fail
;
2558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2559 (arg1
)->Set(arg2
,arg3
);
2561 wxPyEndAllowThreads(__tstate
);
2562 if (PyErr_Occurred()) SWIG_fail
;
2564 Py_INCREF(Py_None
); resultobj
= Py_None
;
2571 static PyObject
*_wrap_Size_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2572 PyObject
*resultobj
;
2573 wxSize
*arg1
= (wxSize
*) 0 ;
2575 PyObject
* obj0
= 0 ;
2576 PyObject
* obj1
= 0 ;
2578 (char *) "self",(char *) "w", NULL
2581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
2582 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2583 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2584 arg2
= (int)SWIG_As_int(obj1
);
2585 if (PyErr_Occurred()) SWIG_fail
;
2587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2588 (arg1
)->SetWidth(arg2
);
2590 wxPyEndAllowThreads(__tstate
);
2591 if (PyErr_Occurred()) SWIG_fail
;
2593 Py_INCREF(Py_None
); resultobj
= Py_None
;
2600 static PyObject
*_wrap_Size_SetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2601 PyObject
*resultobj
;
2602 wxSize
*arg1
= (wxSize
*) 0 ;
2604 PyObject
* obj0
= 0 ;
2605 PyObject
* obj1
= 0 ;
2607 (char *) "self",(char *) "h", NULL
2610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
2611 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2612 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2613 arg2
= (int)SWIG_As_int(obj1
);
2614 if (PyErr_Occurred()) SWIG_fail
;
2616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2617 (arg1
)->SetHeight(arg2
);
2619 wxPyEndAllowThreads(__tstate
);
2620 if (PyErr_Occurred()) SWIG_fail
;
2622 Py_INCREF(Py_None
); resultobj
= Py_None
;
2629 static PyObject
*_wrap_Size_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2630 PyObject
*resultobj
;
2631 wxSize
*arg1
= (wxSize
*) 0 ;
2633 PyObject
* obj0
= 0 ;
2635 (char *) "self", NULL
2638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetWidth",kwnames
,&obj0
)) goto fail
;
2639 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2643 result
= (int)((wxSize
const *)arg1
)->GetWidth();
2645 wxPyEndAllowThreads(__tstate
);
2646 if (PyErr_Occurred()) SWIG_fail
;
2648 resultobj
= SWIG_From_int((int)result
);
2655 static PyObject
*_wrap_Size_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2656 PyObject
*resultobj
;
2657 wxSize
*arg1
= (wxSize
*) 0 ;
2659 PyObject
* obj0
= 0 ;
2661 (char *) "self", NULL
2664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetHeight",kwnames
,&obj0
)) goto fail
;
2665 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2666 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2669 result
= (int)((wxSize
const *)arg1
)->GetHeight();
2671 wxPyEndAllowThreads(__tstate
);
2672 if (PyErr_Occurred()) SWIG_fail
;
2674 resultobj
= SWIG_From_int((int)result
);
2681 static PyObject
*_wrap_Size_IsFullySpecified(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2682 PyObject
*resultobj
;
2683 wxSize
*arg1
= (wxSize
*) 0 ;
2685 PyObject
* obj0
= 0 ;
2687 (char *) "self", NULL
2690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_IsFullySpecified",kwnames
,&obj0
)) goto fail
;
2691 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2692 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2695 result
= (bool)((wxSize
const *)arg1
)->IsFullySpecified();
2697 wxPyEndAllowThreads(__tstate
);
2698 if (PyErr_Occurred()) SWIG_fail
;
2701 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2709 static PyObject
*_wrap_Size_SetDefaults(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2710 PyObject
*resultobj
;
2711 wxSize
*arg1
= (wxSize
*) 0 ;
2714 PyObject
* obj0
= 0 ;
2715 PyObject
* obj1
= 0 ;
2717 (char *) "self",(char *) "size", NULL
2720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetDefaults",kwnames
,&obj0
,&obj1
)) goto fail
;
2721 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2722 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2725 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2729 (arg1
)->SetDefaults((wxSize
const &)*arg2
);
2731 wxPyEndAllowThreads(__tstate
);
2732 if (PyErr_Occurred()) SWIG_fail
;
2734 Py_INCREF(Py_None
); resultobj
= Py_None
;
2741 static PyObject
*_wrap_Size_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2742 PyObject
*resultobj
;
2743 wxSize
*arg1
= (wxSize
*) 0 ;
2745 PyObject
* obj0
= 0 ;
2747 (char *) "self", NULL
2750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_Get",kwnames
,&obj0
)) goto fail
;
2751 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2752 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2755 result
= (PyObject
*)wxSize_Get(arg1
);
2757 wxPyEndAllowThreads(__tstate
);
2758 if (PyErr_Occurred()) SWIG_fail
;
2767 static PyObject
* Size_swigregister(PyObject
*, PyObject
*args
) {
2769 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2770 SWIG_TypeClientData(SWIGTYPE_p_wxSize
, obj
);
2772 return Py_BuildValue((char *)"");
2774 static PyObject
*_wrap_RealPoint_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2775 PyObject
*resultobj
;
2776 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2778 PyObject
* obj0
= 0 ;
2779 PyObject
* obj1
= 0 ;
2781 (char *) "self",(char *) "x", NULL
2784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2785 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2787 arg2
= (double)SWIG_As_double(obj1
);
2788 if (PyErr_Occurred()) SWIG_fail
;
2789 if (arg1
) (arg1
)->x
= arg2
;
2791 Py_INCREF(Py_None
); resultobj
= Py_None
;
2798 static PyObject
*_wrap_RealPoint_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2799 PyObject
*resultobj
;
2800 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2802 PyObject
* obj0
= 0 ;
2804 (char *) "self", NULL
2807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_x_get",kwnames
,&obj0
)) goto fail
;
2808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2810 result
= (double) ((arg1
)->x
);
2812 resultobj
= SWIG_From_double((double)result
);
2819 static PyObject
*_wrap_RealPoint_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2820 PyObject
*resultobj
;
2821 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2823 PyObject
* obj0
= 0 ;
2824 PyObject
* obj1
= 0 ;
2826 (char *) "self",(char *) "y", NULL
2829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2830 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2831 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2832 arg2
= (double)SWIG_As_double(obj1
);
2833 if (PyErr_Occurred()) SWIG_fail
;
2834 if (arg1
) (arg1
)->y
= arg2
;
2836 Py_INCREF(Py_None
); resultobj
= Py_None
;
2843 static PyObject
*_wrap_RealPoint_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2844 PyObject
*resultobj
;
2845 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2847 PyObject
* obj0
= 0 ;
2849 (char *) "self", NULL
2852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_y_get",kwnames
,&obj0
)) goto fail
;
2853 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2855 result
= (double) ((arg1
)->y
);
2857 resultobj
= SWIG_From_double((double)result
);
2864 static PyObject
*_wrap_new_RealPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2865 PyObject
*resultobj
;
2866 double arg1
= (double) 0.0 ;
2867 double arg2
= (double) 0.0 ;
2868 wxRealPoint
*result
;
2869 PyObject
* obj0
= 0 ;
2870 PyObject
* obj1
= 0 ;
2872 (char *) "x",(char *) "y", NULL
2875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_RealPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
2877 arg1
= (double)SWIG_As_double(obj0
);
2878 if (PyErr_Occurred()) SWIG_fail
;
2881 arg2
= (double)SWIG_As_double(obj1
);
2882 if (PyErr_Occurred()) SWIG_fail
;
2885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2886 result
= (wxRealPoint
*)new wxRealPoint(arg1
,arg2
);
2888 wxPyEndAllowThreads(__tstate
);
2889 if (PyErr_Occurred()) SWIG_fail
;
2891 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRealPoint
, 1);
2898 static PyObject
*_wrap_delete_RealPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2899 PyObject
*resultobj
;
2900 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2901 PyObject
* obj0
= 0 ;
2903 (char *) "self", NULL
2906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_RealPoint",kwnames
,&obj0
)) goto fail
;
2907 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2908 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2913 wxPyEndAllowThreads(__tstate
);
2914 if (PyErr_Occurred()) SWIG_fail
;
2916 Py_INCREF(Py_None
); resultobj
= Py_None
;
2923 static PyObject
*_wrap_RealPoint___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2924 PyObject
*resultobj
;
2925 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2926 wxRealPoint
*arg2
= 0 ;
2929 PyObject
* obj0
= 0 ;
2930 PyObject
* obj1
= 0 ;
2932 (char *) "self",(char *) "pt", NULL
2935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
2936 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2937 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2940 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2944 result
= (bool)(arg1
)->operator ==((wxRealPoint
const &)*arg2
);
2946 wxPyEndAllowThreads(__tstate
);
2947 if (PyErr_Occurred()) SWIG_fail
;
2950 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2958 static PyObject
*_wrap_RealPoint___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2959 PyObject
*resultobj
;
2960 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2961 wxRealPoint
*arg2
= 0 ;
2964 PyObject
* obj0
= 0 ;
2965 PyObject
* obj1
= 0 ;
2967 (char *) "self",(char *) "pt", NULL
2970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
2971 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2972 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2975 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2979 result
= (bool)(arg1
)->operator !=((wxRealPoint
const &)*arg2
);
2981 wxPyEndAllowThreads(__tstate
);
2982 if (PyErr_Occurred()) SWIG_fail
;
2985 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2993 static PyObject
*_wrap_RealPoint___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2994 PyObject
*resultobj
;
2995 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2996 wxRealPoint
*arg2
= 0 ;
2999 PyObject
* obj0
= 0 ;
3000 PyObject
* obj1
= 0 ;
3002 (char *) "self",(char *) "pt", NULL
3005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
3006 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
3007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3010 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3014 result
= (arg1
)->operator +((wxRealPoint
const &)*arg2
);
3016 wxPyEndAllowThreads(__tstate
);
3017 if (PyErr_Occurred()) SWIG_fail
;
3020 wxRealPoint
* resultptr
;
3021 resultptr
= new wxRealPoint((wxRealPoint
&) result
);
3022 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRealPoint
, 1);
3030 static PyObject
*_wrap_RealPoint___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3031 PyObject
*resultobj
;
3032 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
3033 wxRealPoint
*arg2
= 0 ;
3036 PyObject
* obj0
= 0 ;
3037 PyObject
* obj1
= 0 ;
3039 (char *) "self",(char *) "pt", NULL
3042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
3043 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
3044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3047 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3051 result
= (arg1
)->operator -((wxRealPoint
const &)*arg2
);
3053 wxPyEndAllowThreads(__tstate
);
3054 if (PyErr_Occurred()) SWIG_fail
;
3057 wxRealPoint
* resultptr
;
3058 resultptr
= new wxRealPoint((wxRealPoint
&) result
);
3059 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRealPoint
, 1);
3067 static PyObject
*_wrap_RealPoint_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3068 PyObject
*resultobj
;
3069 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
3072 PyObject
* obj0
= 0 ;
3073 PyObject
* obj1
= 0 ;
3074 PyObject
* obj2
= 0 ;
3076 (char *) "self",(char *) "x",(char *) "y", NULL
3079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RealPoint_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
3081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3082 arg2
= (double)SWIG_As_double(obj1
);
3083 if (PyErr_Occurred()) SWIG_fail
;
3084 arg3
= (double)SWIG_As_double(obj2
);
3085 if (PyErr_Occurred()) SWIG_fail
;
3087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3088 wxRealPoint_Set(arg1
,arg2
,arg3
);
3090 wxPyEndAllowThreads(__tstate
);
3091 if (PyErr_Occurred()) SWIG_fail
;
3093 Py_INCREF(Py_None
); resultobj
= Py_None
;
3100 static PyObject
*_wrap_RealPoint_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3101 PyObject
*resultobj
;
3102 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
3104 PyObject
* obj0
= 0 ;
3106 (char *) "self", NULL
3109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_Get",kwnames
,&obj0
)) goto fail
;
3110 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
3111 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3114 result
= (PyObject
*)wxRealPoint_Get(arg1
);
3116 wxPyEndAllowThreads(__tstate
);
3117 if (PyErr_Occurred()) SWIG_fail
;
3126 static PyObject
* RealPoint_swigregister(PyObject
*, PyObject
*args
) {
3128 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3129 SWIG_TypeClientData(SWIGTYPE_p_wxRealPoint
, obj
);
3131 return Py_BuildValue((char *)"");
3133 static PyObject
*_wrap_Point_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3134 PyObject
*resultobj
;
3135 wxPoint
*arg1
= (wxPoint
*) 0 ;
3137 PyObject
* obj0
= 0 ;
3138 PyObject
* obj1
= 0 ;
3140 (char *) "self",(char *) "x", NULL
3143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
3144 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3145 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3146 arg2
= (int)SWIG_As_int(obj1
);
3147 if (PyErr_Occurred()) SWIG_fail
;
3148 if (arg1
) (arg1
)->x
= arg2
;
3150 Py_INCREF(Py_None
); resultobj
= Py_None
;
3157 static PyObject
*_wrap_Point_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3158 PyObject
*resultobj
;
3159 wxPoint
*arg1
= (wxPoint
*) 0 ;
3161 PyObject
* obj0
= 0 ;
3163 (char *) "self", NULL
3166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_x_get",kwnames
,&obj0
)) goto fail
;
3167 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3168 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3169 result
= (int) ((arg1
)->x
);
3171 resultobj
= SWIG_From_int((int)result
);
3178 static PyObject
*_wrap_Point_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3179 PyObject
*resultobj
;
3180 wxPoint
*arg1
= (wxPoint
*) 0 ;
3182 PyObject
* obj0
= 0 ;
3183 PyObject
* obj1
= 0 ;
3185 (char *) "self",(char *) "y", NULL
3188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
3189 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3190 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3191 arg2
= (int)SWIG_As_int(obj1
);
3192 if (PyErr_Occurred()) SWIG_fail
;
3193 if (arg1
) (arg1
)->y
= arg2
;
3195 Py_INCREF(Py_None
); resultobj
= Py_None
;
3202 static PyObject
*_wrap_Point_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3203 PyObject
*resultobj
;
3204 wxPoint
*arg1
= (wxPoint
*) 0 ;
3206 PyObject
* obj0
= 0 ;
3208 (char *) "self", NULL
3211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_y_get",kwnames
,&obj0
)) goto fail
;
3212 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3213 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3214 result
= (int) ((arg1
)->y
);
3216 resultobj
= SWIG_From_int((int)result
);
3223 static PyObject
*_wrap_new_Point(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3224 PyObject
*resultobj
;
3225 int arg1
= (int) 0 ;
3226 int arg2
= (int) 0 ;
3228 PyObject
* obj0
= 0 ;
3229 PyObject
* obj1
= 0 ;
3231 (char *) "x",(char *) "y", NULL
3234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point",kwnames
,&obj0
,&obj1
)) goto fail
;
3236 arg1
= (int)SWIG_As_int(obj0
);
3237 if (PyErr_Occurred()) SWIG_fail
;
3240 arg2
= (int)SWIG_As_int(obj1
);
3241 if (PyErr_Occurred()) SWIG_fail
;
3244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3245 result
= (wxPoint
*)new wxPoint(arg1
,arg2
);
3247 wxPyEndAllowThreads(__tstate
);
3248 if (PyErr_Occurred()) SWIG_fail
;
3250 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 1);
3257 static PyObject
*_wrap_delete_Point(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3258 PyObject
*resultobj
;
3259 wxPoint
*arg1
= (wxPoint
*) 0 ;
3260 PyObject
* obj0
= 0 ;
3262 (char *) "self", NULL
3265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Point",kwnames
,&obj0
)) goto fail
;
3266 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3267 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3272 wxPyEndAllowThreads(__tstate
);
3273 if (PyErr_Occurred()) SWIG_fail
;
3275 Py_INCREF(Py_None
); resultobj
= Py_None
;
3282 static PyObject
*_wrap_Point___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3283 PyObject
*resultobj
;
3284 wxPoint
*arg1
= (wxPoint
*) 0 ;
3288 PyObject
* obj0
= 0 ;
3289 PyObject
* obj1
= 0 ;
3291 (char *) "self",(char *) "pt", NULL
3294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
3295 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3299 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3303 result
= (bool)(arg1
)->operator ==((wxPoint
const &)*arg2
);
3305 wxPyEndAllowThreads(__tstate
);
3306 if (PyErr_Occurred()) SWIG_fail
;
3309 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3317 static PyObject
*_wrap_Point___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3318 PyObject
*resultobj
;
3319 wxPoint
*arg1
= (wxPoint
*) 0 ;
3323 PyObject
* obj0
= 0 ;
3324 PyObject
* obj1
= 0 ;
3326 (char *) "self",(char *) "pt", NULL
3329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
3330 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3331 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3334 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3338 result
= (bool)(arg1
)->operator !=((wxPoint
const &)*arg2
);
3340 wxPyEndAllowThreads(__tstate
);
3341 if (PyErr_Occurred()) SWIG_fail
;
3344 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3352 static PyObject
*_wrap_Point___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3353 PyObject
*resultobj
;
3354 wxPoint
*arg1
= (wxPoint
*) 0 ;
3358 PyObject
* obj0
= 0 ;
3359 PyObject
* obj1
= 0 ;
3361 (char *) "self",(char *) "pt", NULL
3364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
3365 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3369 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3373 result
= (arg1
)->operator +((wxPoint
const &)*arg2
);
3375 wxPyEndAllowThreads(__tstate
);
3376 if (PyErr_Occurred()) SWIG_fail
;
3379 wxPoint
* resultptr
;
3380 resultptr
= new wxPoint((wxPoint
&) result
);
3381 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3389 static PyObject
*_wrap_Point___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3390 PyObject
*resultobj
;
3391 wxPoint
*arg1
= (wxPoint
*) 0 ;
3395 PyObject
* obj0
= 0 ;
3396 PyObject
* obj1
= 0 ;
3398 (char *) "self",(char *) "pt", NULL
3401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
3402 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3403 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3406 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3410 result
= (arg1
)->operator -((wxPoint
const &)*arg2
);
3412 wxPyEndAllowThreads(__tstate
);
3413 if (PyErr_Occurred()) SWIG_fail
;
3416 wxPoint
* resultptr
;
3417 resultptr
= new wxPoint((wxPoint
&) result
);
3418 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3426 static PyObject
*_wrap_Point___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3427 PyObject
*resultobj
;
3428 wxPoint
*arg1
= (wxPoint
*) 0 ;
3432 PyObject
* obj0
= 0 ;
3433 PyObject
* obj1
= 0 ;
3435 (char *) "self",(char *) "pt", NULL
3438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
3439 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3440 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
3443 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3448 wxPoint
&_result_ref
= (arg1
)->operator +=((wxPoint
const &)*arg2
);
3449 result
= (wxPoint
*) &_result_ref
;
3452 wxPyEndAllowThreads(__tstate
);
3453 if (PyErr_Occurred()) SWIG_fail
;
3455 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 1);
3462 static PyObject
*_wrap_Point___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3463 PyObject
*resultobj
;
3464 wxPoint
*arg1
= (wxPoint
*) 0 ;
3468 PyObject
* obj0
= 0 ;
3469 PyObject
* obj1
= 0 ;
3471 (char *) "self",(char *) "pt", NULL
3474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
3475 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3476 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
3479 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3484 wxPoint
&_result_ref
= (arg1
)->operator -=((wxPoint
const &)*arg2
);
3485 result
= (wxPoint
*) &_result_ref
;
3488 wxPyEndAllowThreads(__tstate
);
3489 if (PyErr_Occurred()) SWIG_fail
;
3491 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 1);
3498 static PyObject
*_wrap_Point_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3499 PyObject
*resultobj
;
3500 wxPoint
*arg1
= (wxPoint
*) 0 ;
3503 PyObject
* obj0
= 0 ;
3504 PyObject
* obj1
= 0 ;
3505 PyObject
* obj2
= 0 ;
3507 (char *) "self",(char *) "x",(char *) "y", NULL
3510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Point_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3511 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3512 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3513 arg2
= (long)SWIG_As_long(obj1
);
3514 if (PyErr_Occurred()) SWIG_fail
;
3515 arg3
= (long)SWIG_As_long(obj2
);
3516 if (PyErr_Occurred()) SWIG_fail
;
3518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3519 wxPoint_Set(arg1
,arg2
,arg3
);
3521 wxPyEndAllowThreads(__tstate
);
3522 if (PyErr_Occurred()) SWIG_fail
;
3524 Py_INCREF(Py_None
); resultobj
= Py_None
;
3531 static PyObject
*_wrap_Point_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3532 PyObject
*resultobj
;
3533 wxPoint
*arg1
= (wxPoint
*) 0 ;
3535 PyObject
* obj0
= 0 ;
3537 (char *) "self", NULL
3540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_Get",kwnames
,&obj0
)) goto fail
;
3541 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3545 result
= (PyObject
*)wxPoint_Get(arg1
);
3547 wxPyEndAllowThreads(__tstate
);
3548 if (PyErr_Occurred()) SWIG_fail
;
3557 static PyObject
* Point_swigregister(PyObject
*, PyObject
*args
) {
3559 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3560 SWIG_TypeClientData(SWIGTYPE_p_wxPoint
, obj
);
3562 return Py_BuildValue((char *)"");
3564 static PyObject
*_wrap_new_Rect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3565 PyObject
*resultobj
;
3566 int arg1
= (int) 0 ;
3567 int arg2
= (int) 0 ;
3568 int arg3
= (int) 0 ;
3569 int arg4
= (int) 0 ;
3571 PyObject
* obj0
= 0 ;
3572 PyObject
* obj1
= 0 ;
3573 PyObject
* obj2
= 0 ;
3574 PyObject
* obj3
= 0 ;
3576 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
3579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Rect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3581 arg1
= (int)SWIG_As_int(obj0
);
3582 if (PyErr_Occurred()) SWIG_fail
;
3585 arg2
= (int)SWIG_As_int(obj1
);
3586 if (PyErr_Occurred()) SWIG_fail
;
3589 arg3
= (int)SWIG_As_int(obj2
);
3590 if (PyErr_Occurred()) SWIG_fail
;
3593 arg4
= (int)SWIG_As_int(obj3
);
3594 if (PyErr_Occurred()) SWIG_fail
;
3597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3598 result
= (wxRect
*)new wxRect(arg1
,arg2
,arg3
,arg4
);
3600 wxPyEndAllowThreads(__tstate
);
3601 if (PyErr_Occurred()) SWIG_fail
;
3603 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
3610 static PyObject
*_wrap_new_RectPP(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3611 PyObject
*resultobj
;
3617 PyObject
* obj0
= 0 ;
3618 PyObject
* obj1
= 0 ;
3620 (char *) "topLeft",(char *) "bottomRight", NULL
3623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPP",kwnames
,&obj0
,&obj1
)) goto fail
;
3626 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
3630 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3634 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxPoint
const &)*arg2
);
3636 wxPyEndAllowThreads(__tstate
);
3637 if (PyErr_Occurred()) SWIG_fail
;
3639 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
3646 static PyObject
*_wrap_new_RectPS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3647 PyObject
*resultobj
;
3653 PyObject
* obj0
= 0 ;
3654 PyObject
* obj1
= 0 ;
3656 (char *) "pos",(char *) "size", NULL
3659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPS",kwnames
,&obj0
,&obj1
)) goto fail
;
3662 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
3666 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3670 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxSize
const &)*arg2
);
3672 wxPyEndAllowThreads(__tstate
);
3673 if (PyErr_Occurred()) SWIG_fail
;
3675 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
3682 static PyObject
*_wrap_new_RectS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3683 PyObject
*resultobj
;
3687 PyObject
* obj0
= 0 ;
3689 (char *) "size", NULL
3692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RectS",kwnames
,&obj0
)) goto fail
;
3695 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
3698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3699 result
= (wxRect
*)new wxRect((wxSize
const &)*arg1
);
3701 wxPyEndAllowThreads(__tstate
);
3702 if (PyErr_Occurred()) SWIG_fail
;
3704 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
3711 static PyObject
*_wrap_delete_Rect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3712 PyObject
*resultobj
;
3713 wxRect
*arg1
= (wxRect
*) 0 ;
3714 PyObject
* obj0
= 0 ;
3716 (char *) "self", NULL
3719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Rect",kwnames
,&obj0
)) goto fail
;
3720 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3721 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3726 wxPyEndAllowThreads(__tstate
);
3727 if (PyErr_Occurred()) SWIG_fail
;
3729 Py_INCREF(Py_None
); resultobj
= Py_None
;
3736 static PyObject
*_wrap_Rect_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3737 PyObject
*resultobj
;
3738 wxRect
*arg1
= (wxRect
*) 0 ;
3740 PyObject
* obj0
= 0 ;
3742 (char *) "self", NULL
3745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetX",kwnames
,&obj0
)) goto fail
;
3746 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3747 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3750 result
= (int)((wxRect
const *)arg1
)->GetX();
3752 wxPyEndAllowThreads(__tstate
);
3753 if (PyErr_Occurred()) SWIG_fail
;
3755 resultobj
= SWIG_From_int((int)result
);
3762 static PyObject
*_wrap_Rect_SetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3763 PyObject
*resultobj
;
3764 wxRect
*arg1
= (wxRect
*) 0 ;
3766 PyObject
* obj0
= 0 ;
3767 PyObject
* obj1
= 0 ;
3769 (char *) "self",(char *) "x", NULL
3772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetX",kwnames
,&obj0
,&obj1
)) goto fail
;
3773 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3774 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3775 arg2
= (int)SWIG_As_int(obj1
);
3776 if (PyErr_Occurred()) SWIG_fail
;
3778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3781 wxPyEndAllowThreads(__tstate
);
3782 if (PyErr_Occurred()) SWIG_fail
;
3784 Py_INCREF(Py_None
); resultobj
= Py_None
;
3791 static PyObject
*_wrap_Rect_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3792 PyObject
*resultobj
;
3793 wxRect
*arg1
= (wxRect
*) 0 ;
3795 PyObject
* obj0
= 0 ;
3797 (char *) "self", NULL
3800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetY",kwnames
,&obj0
)) goto fail
;
3801 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3802 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3805 result
= (int)(arg1
)->GetY();
3807 wxPyEndAllowThreads(__tstate
);
3808 if (PyErr_Occurred()) SWIG_fail
;
3810 resultobj
= SWIG_From_int((int)result
);
3817 static PyObject
*_wrap_Rect_SetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3818 PyObject
*resultobj
;
3819 wxRect
*arg1
= (wxRect
*) 0 ;
3821 PyObject
* obj0
= 0 ;
3822 PyObject
* obj1
= 0 ;
3824 (char *) "self",(char *) "y", NULL
3827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetY",kwnames
,&obj0
,&obj1
)) goto fail
;
3828 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3830 arg2
= (int)SWIG_As_int(obj1
);
3831 if (PyErr_Occurred()) SWIG_fail
;
3833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3836 wxPyEndAllowThreads(__tstate
);
3837 if (PyErr_Occurred()) SWIG_fail
;
3839 Py_INCREF(Py_None
); resultobj
= Py_None
;
3846 static PyObject
*_wrap_Rect_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3847 PyObject
*resultobj
;
3848 wxRect
*arg1
= (wxRect
*) 0 ;
3850 PyObject
* obj0
= 0 ;
3852 (char *) "self", NULL
3855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetWidth",kwnames
,&obj0
)) goto fail
;
3856 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3857 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3860 result
= (int)((wxRect
const *)arg1
)->GetWidth();
3862 wxPyEndAllowThreads(__tstate
);
3863 if (PyErr_Occurred()) SWIG_fail
;
3865 resultobj
= SWIG_From_int((int)result
);
3872 static PyObject
*_wrap_Rect_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3873 PyObject
*resultobj
;
3874 wxRect
*arg1
= (wxRect
*) 0 ;
3876 PyObject
* obj0
= 0 ;
3877 PyObject
* obj1
= 0 ;
3879 (char *) "self",(char *) "w", NULL
3882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3883 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3884 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3885 arg2
= (int)SWIG_As_int(obj1
);
3886 if (PyErr_Occurred()) SWIG_fail
;
3888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3889 (arg1
)->SetWidth(arg2
);
3891 wxPyEndAllowThreads(__tstate
);
3892 if (PyErr_Occurred()) SWIG_fail
;
3894 Py_INCREF(Py_None
); resultobj
= Py_None
;
3901 static PyObject
*_wrap_Rect_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3902 PyObject
*resultobj
;
3903 wxRect
*arg1
= (wxRect
*) 0 ;
3905 PyObject
* obj0
= 0 ;
3907 (char *) "self", NULL
3910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetHeight",kwnames
,&obj0
)) goto fail
;
3911 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3912 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3915 result
= (int)((wxRect
const *)arg1
)->GetHeight();
3917 wxPyEndAllowThreads(__tstate
);
3918 if (PyErr_Occurred()) SWIG_fail
;
3920 resultobj
= SWIG_From_int((int)result
);
3927 static PyObject
*_wrap_Rect_SetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3928 PyObject
*resultobj
;
3929 wxRect
*arg1
= (wxRect
*) 0 ;
3931 PyObject
* obj0
= 0 ;
3932 PyObject
* obj1
= 0 ;
3934 (char *) "self",(char *) "h", NULL
3937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
3938 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3939 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3940 arg2
= (int)SWIG_As_int(obj1
);
3941 if (PyErr_Occurred()) SWIG_fail
;
3943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3944 (arg1
)->SetHeight(arg2
);
3946 wxPyEndAllowThreads(__tstate
);
3947 if (PyErr_Occurred()) SWIG_fail
;
3949 Py_INCREF(Py_None
); resultobj
= Py_None
;
3956 static PyObject
*_wrap_Rect_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3957 PyObject
*resultobj
;
3958 wxRect
*arg1
= (wxRect
*) 0 ;
3960 PyObject
* obj0
= 0 ;
3962 (char *) "self", NULL
3965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetPosition",kwnames
,&obj0
)) goto fail
;
3966 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3967 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3970 result
= ((wxRect
const *)arg1
)->GetPosition();
3972 wxPyEndAllowThreads(__tstate
);
3973 if (PyErr_Occurred()) SWIG_fail
;
3976 wxPoint
* resultptr
;
3977 resultptr
= new wxPoint((wxPoint
&) result
);
3978 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3986 static PyObject
*_wrap_Rect_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3987 PyObject
*resultobj
;
3988 wxRect
*arg1
= (wxRect
*) 0 ;
3991 PyObject
* obj0
= 0 ;
3992 PyObject
* obj1
= 0 ;
3994 (char *) "self",(char *) "p", NULL
3997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
3998 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3999 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4002 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4006 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
4008 wxPyEndAllowThreads(__tstate
);
4009 if (PyErr_Occurred()) SWIG_fail
;
4011 Py_INCREF(Py_None
); resultobj
= Py_None
;
4018 static PyObject
*_wrap_Rect_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4019 PyObject
*resultobj
;
4020 wxRect
*arg1
= (wxRect
*) 0 ;
4022 PyObject
* obj0
= 0 ;
4024 (char *) "self", NULL
4027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetSize",kwnames
,&obj0
)) goto fail
;
4028 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4029 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4032 result
= ((wxRect
const *)arg1
)->GetSize();
4034 wxPyEndAllowThreads(__tstate
);
4035 if (PyErr_Occurred()) SWIG_fail
;
4039 resultptr
= new wxSize((wxSize
&) result
);
4040 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
4048 static PyObject
*_wrap_Rect_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4049 PyObject
*resultobj
;
4050 wxRect
*arg1
= (wxRect
*) 0 ;
4053 PyObject
* obj0
= 0 ;
4054 PyObject
* obj1
= 0 ;
4056 (char *) "self",(char *) "s", NULL
4059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
4060 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4061 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4064 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4068 (arg1
)->SetSize((wxSize
const &)*arg2
);
4070 wxPyEndAllowThreads(__tstate
);
4071 if (PyErr_Occurred()) SWIG_fail
;
4073 Py_INCREF(Py_None
); resultobj
= Py_None
;
4080 static PyObject
*_wrap_Rect_GetTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4081 PyObject
*resultobj
;
4082 wxRect
*arg1
= (wxRect
*) 0 ;
4084 PyObject
* obj0
= 0 ;
4086 (char *) "self", NULL
4089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetTopLeft",kwnames
,&obj0
)) goto fail
;
4090 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4094 result
= ((wxRect
const *)arg1
)->GetTopLeft();
4096 wxPyEndAllowThreads(__tstate
);
4097 if (PyErr_Occurred()) SWIG_fail
;
4100 wxPoint
* resultptr
;
4101 resultptr
= new wxPoint((wxPoint
&) result
);
4102 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
4110 static PyObject
*_wrap_Rect_SetTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4111 PyObject
*resultobj
;
4112 wxRect
*arg1
= (wxRect
*) 0 ;
4115 PyObject
* obj0
= 0 ;
4116 PyObject
* obj1
= 0 ;
4118 (char *) "self",(char *) "p", NULL
4121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
4122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4126 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4130 (arg1
)->SetTopLeft((wxPoint
const &)*arg2
);
4132 wxPyEndAllowThreads(__tstate
);
4133 if (PyErr_Occurred()) SWIG_fail
;
4135 Py_INCREF(Py_None
); resultobj
= Py_None
;
4142 static PyObject
*_wrap_Rect_GetBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4143 PyObject
*resultobj
;
4144 wxRect
*arg1
= (wxRect
*) 0 ;
4146 PyObject
* obj0
= 0 ;
4148 (char *) "self", NULL
4151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetBottomRight",kwnames
,&obj0
)) goto fail
;
4152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4156 result
= ((wxRect
const *)arg1
)->GetBottomRight();
4158 wxPyEndAllowThreads(__tstate
);
4159 if (PyErr_Occurred()) SWIG_fail
;
4162 wxPoint
* resultptr
;
4163 resultptr
= new wxPoint((wxPoint
&) result
);
4164 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
4172 static PyObject
*_wrap_Rect_SetBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4173 PyObject
*resultobj
;
4174 wxRect
*arg1
= (wxRect
*) 0 ;
4177 PyObject
* obj0
= 0 ;
4178 PyObject
* obj1
= 0 ;
4180 (char *) "self",(char *) "p", NULL
4183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
4184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4188 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4192 (arg1
)->SetBottomRight((wxPoint
const &)*arg2
);
4194 wxPyEndAllowThreads(__tstate
);
4195 if (PyErr_Occurred()) SWIG_fail
;
4197 Py_INCREF(Py_None
); resultobj
= Py_None
;
4204 static PyObject
*_wrap_Rect_GetLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4205 PyObject
*resultobj
;
4206 wxRect
*arg1
= (wxRect
*) 0 ;
4208 PyObject
* obj0
= 0 ;
4210 (char *) "self", NULL
4213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetLeft",kwnames
,&obj0
)) goto fail
;
4214 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4215 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4218 result
= (int)((wxRect
const *)arg1
)->GetLeft();
4220 wxPyEndAllowThreads(__tstate
);
4221 if (PyErr_Occurred()) SWIG_fail
;
4223 resultobj
= SWIG_From_int((int)result
);
4230 static PyObject
*_wrap_Rect_GetTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4231 PyObject
*resultobj
;
4232 wxRect
*arg1
= (wxRect
*) 0 ;
4234 PyObject
* obj0
= 0 ;
4236 (char *) "self", NULL
4239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetTop",kwnames
,&obj0
)) goto fail
;
4240 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4241 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4244 result
= (int)((wxRect
const *)arg1
)->GetTop();
4246 wxPyEndAllowThreads(__tstate
);
4247 if (PyErr_Occurred()) SWIG_fail
;
4249 resultobj
= SWIG_From_int((int)result
);
4256 static PyObject
*_wrap_Rect_GetBottom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4257 PyObject
*resultobj
;
4258 wxRect
*arg1
= (wxRect
*) 0 ;
4260 PyObject
* obj0
= 0 ;
4262 (char *) "self", NULL
4265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetBottom",kwnames
,&obj0
)) goto fail
;
4266 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4267 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4270 result
= (int)((wxRect
const *)arg1
)->GetBottom();
4272 wxPyEndAllowThreads(__tstate
);
4273 if (PyErr_Occurred()) SWIG_fail
;
4275 resultobj
= SWIG_From_int((int)result
);
4282 static PyObject
*_wrap_Rect_GetRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4283 PyObject
*resultobj
;
4284 wxRect
*arg1
= (wxRect
*) 0 ;
4286 PyObject
* obj0
= 0 ;
4288 (char *) "self", NULL
4291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetRight",kwnames
,&obj0
)) goto fail
;
4292 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4296 result
= (int)((wxRect
const *)arg1
)->GetRight();
4298 wxPyEndAllowThreads(__tstate
);
4299 if (PyErr_Occurred()) SWIG_fail
;
4301 resultobj
= SWIG_From_int((int)result
);
4308 static PyObject
*_wrap_Rect_SetLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4309 PyObject
*resultobj
;
4310 wxRect
*arg1
= (wxRect
*) 0 ;
4312 PyObject
* obj0
= 0 ;
4313 PyObject
* obj1
= 0 ;
4315 (char *) "self",(char *) "left", NULL
4318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
4319 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4321 arg2
= (int)SWIG_As_int(obj1
);
4322 if (PyErr_Occurred()) SWIG_fail
;
4324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4325 (arg1
)->SetLeft(arg2
);
4327 wxPyEndAllowThreads(__tstate
);
4328 if (PyErr_Occurred()) SWIG_fail
;
4330 Py_INCREF(Py_None
); resultobj
= Py_None
;
4337 static PyObject
*_wrap_Rect_SetRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4338 PyObject
*resultobj
;
4339 wxRect
*arg1
= (wxRect
*) 0 ;
4341 PyObject
* obj0
= 0 ;
4342 PyObject
* obj1
= 0 ;
4344 (char *) "self",(char *) "right", NULL
4347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetRight",kwnames
,&obj0
,&obj1
)) goto fail
;
4348 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4350 arg2
= (int)SWIG_As_int(obj1
);
4351 if (PyErr_Occurred()) SWIG_fail
;
4353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4354 (arg1
)->SetRight(arg2
);
4356 wxPyEndAllowThreads(__tstate
);
4357 if (PyErr_Occurred()) SWIG_fail
;
4359 Py_INCREF(Py_None
); resultobj
= Py_None
;
4366 static PyObject
*_wrap_Rect_SetTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4367 PyObject
*resultobj
;
4368 wxRect
*arg1
= (wxRect
*) 0 ;
4370 PyObject
* obj0
= 0 ;
4371 PyObject
* obj1
= 0 ;
4373 (char *) "self",(char *) "top", NULL
4376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTop",kwnames
,&obj0
,&obj1
)) goto fail
;
4377 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4378 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4379 arg2
= (int)SWIG_As_int(obj1
);
4380 if (PyErr_Occurred()) SWIG_fail
;
4382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4383 (arg1
)->SetTop(arg2
);
4385 wxPyEndAllowThreads(__tstate
);
4386 if (PyErr_Occurred()) SWIG_fail
;
4388 Py_INCREF(Py_None
); resultobj
= Py_None
;
4395 static PyObject
*_wrap_Rect_SetBottom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4396 PyObject
*resultobj
;
4397 wxRect
*arg1
= (wxRect
*) 0 ;
4399 PyObject
* obj0
= 0 ;
4400 PyObject
* obj1
= 0 ;
4402 (char *) "self",(char *) "bottom", NULL
4405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottom",kwnames
,&obj0
,&obj1
)) goto fail
;
4406 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4407 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4408 arg2
= (int)SWIG_As_int(obj1
);
4409 if (PyErr_Occurred()) SWIG_fail
;
4411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4412 (arg1
)->SetBottom(arg2
);
4414 wxPyEndAllowThreads(__tstate
);
4415 if (PyErr_Occurred()) SWIG_fail
;
4417 Py_INCREF(Py_None
); resultobj
= Py_None
;
4424 static PyObject
*_wrap_Rect_Inflate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4425 PyObject
*resultobj
;
4426 wxRect
*arg1
= (wxRect
*) 0 ;
4430 PyObject
* obj0
= 0 ;
4431 PyObject
* obj1
= 0 ;
4432 PyObject
* obj2
= 0 ;
4434 (char *) "self",(char *) "dx",(char *) "dy", NULL
4437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_Inflate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4438 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4440 arg2
= (int)SWIG_As_int(obj1
);
4441 if (PyErr_Occurred()) SWIG_fail
;
4442 arg3
= (int)SWIG_As_int(obj2
);
4443 if (PyErr_Occurred()) SWIG_fail
;
4445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4447 wxRect
&_result_ref
= (arg1
)->Inflate(arg2
,arg3
);
4448 result
= (wxRect
*) &_result_ref
;
4451 wxPyEndAllowThreads(__tstate
);
4452 if (PyErr_Occurred()) SWIG_fail
;
4454 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
4461 static PyObject
*_wrap_Rect_Deflate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4462 PyObject
*resultobj
;
4463 wxRect
*arg1
= (wxRect
*) 0 ;
4467 PyObject
* obj0
= 0 ;
4468 PyObject
* obj1
= 0 ;
4469 PyObject
* obj2
= 0 ;
4471 (char *) "self",(char *) "dx",(char *) "dy", NULL
4474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_Deflate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4475 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4476 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4477 arg2
= (int)SWIG_As_int(obj1
);
4478 if (PyErr_Occurred()) SWIG_fail
;
4479 arg3
= (int)SWIG_As_int(obj2
);
4480 if (PyErr_Occurred()) SWIG_fail
;
4482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4484 wxRect
&_result_ref
= (arg1
)->Deflate(arg2
,arg3
);
4485 result
= (wxRect
*) &_result_ref
;
4488 wxPyEndAllowThreads(__tstate
);
4489 if (PyErr_Occurred()) SWIG_fail
;
4491 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
4498 static PyObject
*_wrap_Rect_OffsetXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4499 PyObject
*resultobj
;
4500 wxRect
*arg1
= (wxRect
*) 0 ;
4503 PyObject
* obj0
= 0 ;
4504 PyObject
* obj1
= 0 ;
4505 PyObject
* obj2
= 0 ;
4507 (char *) "self",(char *) "dx",(char *) "dy", NULL
4510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_OffsetXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4511 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4512 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4513 arg2
= (int)SWIG_As_int(obj1
);
4514 if (PyErr_Occurred()) SWIG_fail
;
4515 arg3
= (int)SWIG_As_int(obj2
);
4516 if (PyErr_Occurred()) SWIG_fail
;
4518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4519 (arg1
)->Offset(arg2
,arg3
);
4521 wxPyEndAllowThreads(__tstate
);
4522 if (PyErr_Occurred()) SWIG_fail
;
4524 Py_INCREF(Py_None
); resultobj
= Py_None
;
4531 static PyObject
*_wrap_Rect_Offset(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4532 PyObject
*resultobj
;
4533 wxRect
*arg1
= (wxRect
*) 0 ;
4536 PyObject
* obj0
= 0 ;
4537 PyObject
* obj1
= 0 ;
4539 (char *) "self",(char *) "pt", NULL
4542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Offset",kwnames
,&obj0
,&obj1
)) goto fail
;
4543 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4544 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4547 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4551 (arg1
)->Offset((wxPoint
const &)*arg2
);
4553 wxPyEndAllowThreads(__tstate
);
4554 if (PyErr_Occurred()) SWIG_fail
;
4556 Py_INCREF(Py_None
); resultobj
= Py_None
;
4563 static PyObject
*_wrap_Rect_Intersect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4564 PyObject
*resultobj
;
4565 wxRect
*arg1
= (wxRect
*) 0 ;
4569 PyObject
* obj0
= 0 ;
4570 PyObject
* obj1
= 0 ;
4572 (char *) "self",(char *) "rect", NULL
4575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersect",kwnames
,&obj0
,&obj1
)) goto fail
;
4576 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4580 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4585 wxRect
&_result_ref
= (arg1
)->Intersect((wxRect
const &)*arg2
);
4586 result
= (wxRect
*) &_result_ref
;
4589 wxPyEndAllowThreads(__tstate
);
4590 if (PyErr_Occurred()) SWIG_fail
;
4592 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
4599 static PyObject
*_wrap_Rect___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4600 PyObject
*resultobj
;
4601 wxRect
*arg1
= (wxRect
*) 0 ;
4605 PyObject
* obj0
= 0 ;
4606 PyObject
* obj1
= 0 ;
4608 (char *) "self",(char *) "rect", NULL
4611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
4612 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4613 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4616 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4620 result
= ((wxRect
const *)arg1
)->operator +((wxRect
const &)*arg2
);
4622 wxPyEndAllowThreads(__tstate
);
4623 if (PyErr_Occurred()) SWIG_fail
;
4627 resultptr
= new wxRect((wxRect
&) result
);
4628 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
4636 static PyObject
*_wrap_Rect___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4637 PyObject
*resultobj
;
4638 wxRect
*arg1
= (wxRect
*) 0 ;
4642 PyObject
* obj0
= 0 ;
4643 PyObject
* obj1
= 0 ;
4645 (char *) "self",(char *) "rect", NULL
4648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
4649 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4650 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
4653 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4658 wxRect
&_result_ref
= (arg1
)->operator +=((wxRect
const &)*arg2
);
4659 result
= (wxRect
*) &_result_ref
;
4662 wxPyEndAllowThreads(__tstate
);
4663 if (PyErr_Occurred()) SWIG_fail
;
4665 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
4672 static PyObject
*_wrap_Rect___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4673 PyObject
*resultobj
;
4674 wxRect
*arg1
= (wxRect
*) 0 ;
4678 PyObject
* obj0
= 0 ;
4679 PyObject
* obj1
= 0 ;
4681 (char *) "self",(char *) "rect", NULL
4684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
4685 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4686 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4689 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4693 result
= (bool)((wxRect
const *)arg1
)->operator ==((wxRect
const &)*arg2
);
4695 wxPyEndAllowThreads(__tstate
);
4696 if (PyErr_Occurred()) SWIG_fail
;
4699 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4707 static PyObject
*_wrap_Rect___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4708 PyObject
*resultobj
;
4709 wxRect
*arg1
= (wxRect
*) 0 ;
4713 PyObject
* obj0
= 0 ;
4714 PyObject
* obj1
= 0 ;
4716 (char *) "self",(char *) "rect", NULL
4719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
4720 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4721 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4724 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4728 result
= (bool)((wxRect
const *)arg1
)->operator !=((wxRect
const &)*arg2
);
4730 wxPyEndAllowThreads(__tstate
);
4731 if (PyErr_Occurred()) SWIG_fail
;
4734 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4742 static PyObject
*_wrap_Rect_InsideXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4743 PyObject
*resultobj
;
4744 wxRect
*arg1
= (wxRect
*) 0 ;
4748 PyObject
* obj0
= 0 ;
4749 PyObject
* obj1
= 0 ;
4750 PyObject
* obj2
= 0 ;
4752 (char *) "self",(char *) "x",(char *) "y", NULL
4755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_InsideXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4756 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4757 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4758 arg2
= (int)SWIG_As_int(obj1
);
4759 if (PyErr_Occurred()) SWIG_fail
;
4760 arg3
= (int)SWIG_As_int(obj2
);
4761 if (PyErr_Occurred()) SWIG_fail
;
4763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4764 result
= (bool)((wxRect
const *)arg1
)->Inside(arg2
,arg3
);
4766 wxPyEndAllowThreads(__tstate
);
4767 if (PyErr_Occurred()) SWIG_fail
;
4770 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4778 static PyObject
*_wrap_Rect_Inside(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4779 PyObject
*resultobj
;
4780 wxRect
*arg1
= (wxRect
*) 0 ;
4784 PyObject
* obj0
= 0 ;
4785 PyObject
* obj1
= 0 ;
4787 (char *) "self",(char *) "pt", NULL
4790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Inside",kwnames
,&obj0
,&obj1
)) goto fail
;
4791 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4795 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4799 result
= (bool)((wxRect
const *)arg1
)->Inside((wxPoint
const &)*arg2
);
4801 wxPyEndAllowThreads(__tstate
);
4802 if (PyErr_Occurred()) SWIG_fail
;
4805 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4813 static PyObject
*_wrap_Rect_Intersects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4814 PyObject
*resultobj
;
4815 wxRect
*arg1
= (wxRect
*) 0 ;
4819 PyObject
* obj0
= 0 ;
4820 PyObject
* obj1
= 0 ;
4822 (char *) "self",(char *) "rect", NULL
4825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersects",kwnames
,&obj0
,&obj1
)) goto fail
;
4826 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4827 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4830 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4834 result
= (bool)((wxRect
const *)arg1
)->Intersects((wxRect
const &)*arg2
);
4836 wxPyEndAllowThreads(__tstate
);
4837 if (PyErr_Occurred()) SWIG_fail
;
4840 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4848 static PyObject
*_wrap_Rect_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4849 PyObject
*resultobj
;
4850 wxRect
*arg1
= (wxRect
*) 0 ;
4852 PyObject
* obj0
= 0 ;
4853 PyObject
* obj1
= 0 ;
4855 (char *) "self",(char *) "x", NULL
4858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4859 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4861 arg2
= (int)SWIG_As_int(obj1
);
4862 if (PyErr_Occurred()) SWIG_fail
;
4863 if (arg1
) (arg1
)->x
= arg2
;
4865 Py_INCREF(Py_None
); resultobj
= Py_None
;
4872 static PyObject
*_wrap_Rect_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4873 PyObject
*resultobj
;
4874 wxRect
*arg1
= (wxRect
*) 0 ;
4876 PyObject
* obj0
= 0 ;
4878 (char *) "self", NULL
4881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_x_get",kwnames
,&obj0
)) goto fail
;
4882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4884 result
= (int) ((arg1
)->x
);
4886 resultobj
= SWIG_From_int((int)result
);
4893 static PyObject
*_wrap_Rect_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4894 PyObject
*resultobj
;
4895 wxRect
*arg1
= (wxRect
*) 0 ;
4897 PyObject
* obj0
= 0 ;
4898 PyObject
* obj1
= 0 ;
4900 (char *) "self",(char *) "y", NULL
4903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4904 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4905 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4906 arg2
= (int)SWIG_As_int(obj1
);
4907 if (PyErr_Occurred()) SWIG_fail
;
4908 if (arg1
) (arg1
)->y
= arg2
;
4910 Py_INCREF(Py_None
); resultobj
= Py_None
;
4917 static PyObject
*_wrap_Rect_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4918 PyObject
*resultobj
;
4919 wxRect
*arg1
= (wxRect
*) 0 ;
4921 PyObject
* obj0
= 0 ;
4923 (char *) "self", NULL
4926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_y_get",kwnames
,&obj0
)) goto fail
;
4927 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4929 result
= (int) ((arg1
)->y
);
4931 resultobj
= SWIG_From_int((int)result
);
4938 static PyObject
*_wrap_Rect_width_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4939 PyObject
*resultobj
;
4940 wxRect
*arg1
= (wxRect
*) 0 ;
4942 PyObject
* obj0
= 0 ;
4943 PyObject
* obj1
= 0 ;
4945 (char *) "self",(char *) "width", NULL
4948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4949 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4951 arg2
= (int)SWIG_As_int(obj1
);
4952 if (PyErr_Occurred()) SWIG_fail
;
4953 if (arg1
) (arg1
)->width
= arg2
;
4955 Py_INCREF(Py_None
); resultobj
= Py_None
;
4962 static PyObject
*_wrap_Rect_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4963 PyObject
*resultobj
;
4964 wxRect
*arg1
= (wxRect
*) 0 ;
4966 PyObject
* obj0
= 0 ;
4968 (char *) "self", NULL
4971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_width_get",kwnames
,&obj0
)) goto fail
;
4972 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4973 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4974 result
= (int) ((arg1
)->width
);
4976 resultobj
= SWIG_From_int((int)result
);
4983 static PyObject
*_wrap_Rect_height_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4984 PyObject
*resultobj
;
4985 wxRect
*arg1
= (wxRect
*) 0 ;
4987 PyObject
* obj0
= 0 ;
4988 PyObject
* obj1
= 0 ;
4990 (char *) "self",(char *) "height", NULL
4993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_height_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4994 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4995 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4996 arg2
= (int)SWIG_As_int(obj1
);
4997 if (PyErr_Occurred()) SWIG_fail
;
4998 if (arg1
) (arg1
)->height
= arg2
;
5000 Py_INCREF(Py_None
); resultobj
= Py_None
;
5007 static PyObject
*_wrap_Rect_height_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5008 PyObject
*resultobj
;
5009 wxRect
*arg1
= (wxRect
*) 0 ;
5011 PyObject
* obj0
= 0 ;
5013 (char *) "self", NULL
5016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_height_get",kwnames
,&obj0
)) goto fail
;
5017 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
5018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5019 result
= (int) ((arg1
)->height
);
5021 resultobj
= SWIG_From_int((int)result
);
5028 static PyObject
*_wrap_Rect_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5029 PyObject
*resultobj
;
5030 wxRect
*arg1
= (wxRect
*) 0 ;
5031 int arg2
= (int) 0 ;
5032 int arg3
= (int) 0 ;
5033 int arg4
= (int) 0 ;
5034 int arg5
= (int) 0 ;
5035 PyObject
* obj0
= 0 ;
5036 PyObject
* obj1
= 0 ;
5037 PyObject
* obj2
= 0 ;
5038 PyObject
* obj3
= 0 ;
5039 PyObject
* obj4
= 0 ;
5041 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Rect_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5045 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
5046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5048 arg2
= (int)SWIG_As_int(obj1
);
5049 if (PyErr_Occurred()) SWIG_fail
;
5052 arg3
= (int)SWIG_As_int(obj2
);
5053 if (PyErr_Occurred()) SWIG_fail
;
5056 arg4
= (int)SWIG_As_int(obj3
);
5057 if (PyErr_Occurred()) SWIG_fail
;
5060 arg5
= (int)SWIG_As_int(obj4
);
5061 if (PyErr_Occurred()) SWIG_fail
;
5064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5065 wxRect_Set(arg1
,arg2
,arg3
,arg4
,arg5
);
5067 wxPyEndAllowThreads(__tstate
);
5068 if (PyErr_Occurred()) SWIG_fail
;
5070 Py_INCREF(Py_None
); resultobj
= Py_None
;
5077 static PyObject
*_wrap_Rect_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5078 PyObject
*resultobj
;
5079 wxRect
*arg1
= (wxRect
*) 0 ;
5081 PyObject
* obj0
= 0 ;
5083 (char *) "self", NULL
5086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_Get",kwnames
,&obj0
)) goto fail
;
5087 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
5088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5091 result
= (PyObject
*)wxRect_Get(arg1
);
5093 wxPyEndAllowThreads(__tstate
);
5094 if (PyErr_Occurred()) SWIG_fail
;
5103 static PyObject
* Rect_swigregister(PyObject
*, PyObject
*args
) {
5105 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5106 SWIG_TypeClientData(SWIGTYPE_p_wxRect
, obj
);
5108 return Py_BuildValue((char *)"");
5110 static PyObject
*_wrap_IntersectRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5111 PyObject
*resultobj
;
5112 wxRect
*arg1
= (wxRect
*) 0 ;
5113 wxRect
*arg2
= (wxRect
*) 0 ;
5115 PyObject
* obj0
= 0 ;
5116 PyObject
* obj1
= 0 ;
5118 (char *) "r1",(char *) "r2", NULL
5121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IntersectRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
5123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5124 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRect
,
5125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5127 if (!wxPyCheckForApp()) SWIG_fail
;
5128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5129 result
= (PyObject
*)wxIntersectRect(arg1
,arg2
);
5131 wxPyEndAllowThreads(__tstate
);
5132 if (PyErr_Occurred()) SWIG_fail
;
5141 static PyObject
*_wrap_new_Point2D(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5142 PyObject
*resultobj
;
5143 double arg1
= (double) 0.0 ;
5144 double arg2
= (double) 0.0 ;
5146 PyObject
* obj0
= 0 ;
5147 PyObject
* obj1
= 0 ;
5149 (char *) "x",(char *) "y", NULL
5152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point2D",kwnames
,&obj0
,&obj1
)) goto fail
;
5154 arg1
= (double)SWIG_As_double(obj0
);
5155 if (PyErr_Occurred()) SWIG_fail
;
5158 arg2
= (double)SWIG_As_double(obj1
);
5159 if (PyErr_Occurred()) SWIG_fail
;
5162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5163 result
= (wxPoint2D
*)new wxPoint2D(arg1
,arg2
);
5165 wxPyEndAllowThreads(__tstate
);
5166 if (PyErr_Occurred()) SWIG_fail
;
5168 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
5175 static PyObject
*_wrap_new_Point2DCopy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5176 PyObject
*resultobj
;
5177 wxPoint2D
*arg1
= 0 ;
5180 PyObject
* obj0
= 0 ;
5185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DCopy",kwnames
,&obj0
)) goto fail
;
5188 if ( ! wxPoint2D_helper(obj0
, &arg1
)) SWIG_fail
;
5191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5192 result
= (wxPoint2D
*)new wxPoint2D((wxPoint2D
const &)*arg1
);
5194 wxPyEndAllowThreads(__tstate
);
5195 if (PyErr_Occurred()) SWIG_fail
;
5197 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
5204 static PyObject
*_wrap_new_Point2DFromPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5205 PyObject
*resultobj
;
5209 PyObject
* obj0
= 0 ;
5214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DFromPoint",kwnames
,&obj0
)) goto fail
;
5217 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
5220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5221 result
= (wxPoint2D
*)new wxPoint2D((wxPoint
const &)*arg1
);
5223 wxPyEndAllowThreads(__tstate
);
5224 if (PyErr_Occurred()) SWIG_fail
;
5226 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
5233 static PyObject
*_wrap_Point2D_GetFloor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5234 PyObject
*resultobj
;
5235 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5236 int *arg2
= (int *) 0 ;
5237 int *arg3
= (int *) 0 ;
5242 PyObject
* obj0
= 0 ;
5244 (char *) "self", NULL
5247 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
5248 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
5249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetFloor",kwnames
,&obj0
)) goto fail
;
5250 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5251 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5254 ((wxPoint2D
const *)arg1
)->GetFloor(arg2
,arg3
);
5256 wxPyEndAllowThreads(__tstate
);
5257 if (PyErr_Occurred()) SWIG_fail
;
5259 Py_INCREF(Py_None
); resultobj
= Py_None
;
5260 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
5261 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
5262 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
5263 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
5270 static PyObject
*_wrap_Point2D_GetRounded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5271 PyObject
*resultobj
;
5272 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5273 int *arg2
= (int *) 0 ;
5274 int *arg3
= (int *) 0 ;
5279 PyObject
* obj0
= 0 ;
5281 (char *) "self", NULL
5284 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
5285 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
5286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetRounded",kwnames
,&obj0
)) goto fail
;
5287 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5291 ((wxPoint2D
const *)arg1
)->GetRounded(arg2
,arg3
);
5293 wxPyEndAllowThreads(__tstate
);
5294 if (PyErr_Occurred()) SWIG_fail
;
5296 Py_INCREF(Py_None
); resultobj
= Py_None
;
5297 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
5298 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
5299 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
5300 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
5307 static PyObject
*_wrap_Point2D_GetVectorLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5308 PyObject
*resultobj
;
5309 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5311 PyObject
* obj0
= 0 ;
5313 (char *) "self", NULL
5316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetVectorLength",kwnames
,&obj0
)) goto fail
;
5317 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5321 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorLength();
5323 wxPyEndAllowThreads(__tstate
);
5324 if (PyErr_Occurred()) SWIG_fail
;
5326 resultobj
= SWIG_From_double((double)result
);
5333 static PyObject
*_wrap_Point2D_GetVectorAngle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5334 PyObject
*resultobj
;
5335 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5337 PyObject
* obj0
= 0 ;
5339 (char *) "self", NULL
5342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetVectorAngle",kwnames
,&obj0
)) goto fail
;
5343 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5347 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorAngle();
5349 wxPyEndAllowThreads(__tstate
);
5350 if (PyErr_Occurred()) SWIG_fail
;
5352 resultobj
= SWIG_From_double((double)result
);
5359 static PyObject
*_wrap_Point2D_SetVectorLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5360 PyObject
*resultobj
;
5361 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5363 PyObject
* obj0
= 0 ;
5364 PyObject
* obj1
= 0 ;
5366 (char *) "self",(char *) "length", NULL
5369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorLength",kwnames
,&obj0
,&obj1
)) goto fail
;
5370 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5372 arg2
= (double)SWIG_As_double(obj1
);
5373 if (PyErr_Occurred()) SWIG_fail
;
5375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5376 (arg1
)->SetVectorLength(arg2
);
5378 wxPyEndAllowThreads(__tstate
);
5379 if (PyErr_Occurred()) SWIG_fail
;
5381 Py_INCREF(Py_None
); resultobj
= Py_None
;
5388 static PyObject
*_wrap_Point2D_SetVectorAngle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5389 PyObject
*resultobj
;
5390 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5392 PyObject
* obj0
= 0 ;
5393 PyObject
* obj1
= 0 ;
5395 (char *) "self",(char *) "degrees", NULL
5398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorAngle",kwnames
,&obj0
,&obj1
)) goto fail
;
5399 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5401 arg2
= (double)SWIG_As_double(obj1
);
5402 if (PyErr_Occurred()) SWIG_fail
;
5404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5405 (arg1
)->SetVectorAngle(arg2
);
5407 wxPyEndAllowThreads(__tstate
);
5408 if (PyErr_Occurred()) SWIG_fail
;
5410 Py_INCREF(Py_None
); resultobj
= Py_None
;
5417 static PyObject
*_wrap_Point2D_GetDistance(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5418 PyObject
*resultobj
;
5419 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5420 wxPoint2D
*arg2
= 0 ;
5423 PyObject
* obj0
= 0 ;
5424 PyObject
* obj1
= 0 ;
5426 (char *) "self",(char *) "pt", NULL
5429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistance",kwnames
,&obj0
,&obj1
)) goto fail
;
5430 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5431 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5434 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5438 result
= (double)((wxPoint2D
const *)arg1
)->GetDistance((wxPoint2D
const &)*arg2
);
5440 wxPyEndAllowThreads(__tstate
);
5441 if (PyErr_Occurred()) SWIG_fail
;
5443 resultobj
= SWIG_From_double((double)result
);
5450 static PyObject
*_wrap_Point2D_GetDistanceSquare(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5451 PyObject
*resultobj
;
5452 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5453 wxPoint2D
*arg2
= 0 ;
5456 PyObject
* obj0
= 0 ;
5457 PyObject
* obj1
= 0 ;
5459 (char *) "self",(char *) "pt", NULL
5462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistanceSquare",kwnames
,&obj0
,&obj1
)) goto fail
;
5463 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5467 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5471 result
= (double)((wxPoint2D
const *)arg1
)->GetDistanceSquare((wxPoint2D
const &)*arg2
);
5473 wxPyEndAllowThreads(__tstate
);
5474 if (PyErr_Occurred()) SWIG_fail
;
5476 resultobj
= SWIG_From_double((double)result
);
5483 static PyObject
*_wrap_Point2D_GetDotProduct(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5484 PyObject
*resultobj
;
5485 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5486 wxPoint2D
*arg2
= 0 ;
5489 PyObject
* obj0
= 0 ;
5490 PyObject
* obj1
= 0 ;
5492 (char *) "self",(char *) "vec", NULL
5495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDotProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
5496 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5497 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5500 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5504 result
= (double)((wxPoint2D
const *)arg1
)->GetDotProduct((wxPoint2D
const &)*arg2
);
5506 wxPyEndAllowThreads(__tstate
);
5507 if (PyErr_Occurred()) SWIG_fail
;
5509 resultobj
= SWIG_From_double((double)result
);
5516 static PyObject
*_wrap_Point2D_GetCrossProduct(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5517 PyObject
*resultobj
;
5518 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5519 wxPoint2D
*arg2
= 0 ;
5522 PyObject
* obj0
= 0 ;
5523 PyObject
* obj1
= 0 ;
5525 (char *) "self",(char *) "vec", NULL
5528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetCrossProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
5529 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5533 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5537 result
= (double)((wxPoint2D
const *)arg1
)->GetCrossProduct((wxPoint2D
const &)*arg2
);
5539 wxPyEndAllowThreads(__tstate
);
5540 if (PyErr_Occurred()) SWIG_fail
;
5542 resultobj
= SWIG_From_double((double)result
);
5549 static PyObject
*_wrap_Point2D___neg__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5550 PyObject
*resultobj
;
5551 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5553 PyObject
* obj0
= 0 ;
5555 (char *) "self", NULL
5558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D___neg__",kwnames
,&obj0
)) goto fail
;
5559 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5560 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5563 result
= (arg1
)->operator -();
5565 wxPyEndAllowThreads(__tstate
);
5566 if (PyErr_Occurred()) SWIG_fail
;
5569 wxPoint2D
* resultptr
;
5570 resultptr
= new wxPoint2D((wxPoint2D
&) result
);
5571 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint2D
, 1);
5579 static PyObject
*_wrap_Point2D___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5580 PyObject
*resultobj
;
5581 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5582 wxPoint2D
*arg2
= 0 ;
5585 PyObject
* obj0
= 0 ;
5586 PyObject
* obj1
= 0 ;
5588 (char *) "self",(char *) "pt", NULL
5591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
5592 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5593 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
5596 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5601 wxPoint2D
&_result_ref
= (arg1
)->operator +=((wxPoint2D
const &)*arg2
);
5602 result
= (wxPoint2D
*) &_result_ref
;
5605 wxPyEndAllowThreads(__tstate
);
5606 if (PyErr_Occurred()) SWIG_fail
;
5608 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
5615 static PyObject
*_wrap_Point2D___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5616 PyObject
*resultobj
;
5617 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5618 wxPoint2D
*arg2
= 0 ;
5621 PyObject
* obj0
= 0 ;
5622 PyObject
* obj1
= 0 ;
5624 (char *) "self",(char *) "pt", NULL
5627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
5628 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5629 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
5632 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5637 wxPoint2D
&_result_ref
= (arg1
)->operator -=((wxPoint2D
const &)*arg2
);
5638 result
= (wxPoint2D
*) &_result_ref
;
5641 wxPyEndAllowThreads(__tstate
);
5642 if (PyErr_Occurred()) SWIG_fail
;
5644 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
5651 static PyObject
*_wrap_Point2D___imul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5652 PyObject
*resultobj
;
5653 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5654 wxPoint2D
*arg2
= 0 ;
5657 PyObject
* obj0
= 0 ;
5658 PyObject
* obj1
= 0 ;
5660 (char *) "self",(char *) "pt", NULL
5663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
5664 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5665 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
5668 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5673 wxPoint2D
&_result_ref
= (arg1
)->operator *=((wxPoint2D
const &)*arg2
);
5674 result
= (wxPoint2D
*) &_result_ref
;
5677 wxPyEndAllowThreads(__tstate
);
5678 if (PyErr_Occurred()) SWIG_fail
;
5680 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
5687 static PyObject
*_wrap_Point2D___idiv__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5688 PyObject
*resultobj
;
5689 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5690 wxPoint2D
*arg2
= 0 ;
5693 PyObject
* obj0
= 0 ;
5694 PyObject
* obj1
= 0 ;
5696 (char *) "self",(char *) "pt", NULL
5699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___idiv__",kwnames
,&obj0
,&obj1
)) goto fail
;
5700 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5701 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
5704 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5709 wxPoint2D
&_result_ref
= (arg1
)->operator /=((wxPoint2D
const &)*arg2
);
5710 result
= (wxPoint2D
*) &_result_ref
;
5713 wxPyEndAllowThreads(__tstate
);
5714 if (PyErr_Occurred()) SWIG_fail
;
5716 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
5723 static PyObject
*_wrap_Point2D___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5724 PyObject
*resultobj
;
5725 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5726 wxPoint2D
*arg2
= 0 ;
5729 PyObject
* obj0
= 0 ;
5730 PyObject
* obj1
= 0 ;
5732 (char *) "self",(char *) "pt", NULL
5735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
5736 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5737 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5740 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5744 result
= (bool)((wxPoint2D
const *)arg1
)->operator ==((wxPoint2D
const &)*arg2
);
5746 wxPyEndAllowThreads(__tstate
);
5747 if (PyErr_Occurred()) SWIG_fail
;
5750 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5758 static PyObject
*_wrap_Point2D___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5759 PyObject
*resultobj
;
5760 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5761 wxPoint2D
*arg2
= 0 ;
5764 PyObject
* obj0
= 0 ;
5765 PyObject
* obj1
= 0 ;
5767 (char *) "self",(char *) "pt", NULL
5770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
5771 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5772 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5775 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5779 result
= (bool)((wxPoint2D
const *)arg1
)->operator !=((wxPoint2D
const &)*arg2
);
5781 wxPyEndAllowThreads(__tstate
);
5782 if (PyErr_Occurred()) SWIG_fail
;
5785 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5793 static PyObject
*_wrap_Point2D_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5794 PyObject
*resultobj
;
5795 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5797 PyObject
* obj0
= 0 ;
5798 PyObject
* obj1
= 0 ;
5800 (char *) "self",(char *) "m_x", NULL
5803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
5804 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5806 arg2
= (double)SWIG_As_double(obj1
);
5807 if (PyErr_Occurred()) SWIG_fail
;
5808 if (arg1
) (arg1
)->m_x
= arg2
;
5810 Py_INCREF(Py_None
); resultobj
= Py_None
;
5817 static PyObject
*_wrap_Point2D_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5818 PyObject
*resultobj
;
5819 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5821 PyObject
* obj0
= 0 ;
5823 (char *) "self", NULL
5826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_x_get",kwnames
,&obj0
)) goto fail
;
5827 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5828 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5829 result
= (double) ((arg1
)->m_x
);
5831 resultobj
= SWIG_From_double((double)result
);
5838 static PyObject
*_wrap_Point2D_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5839 PyObject
*resultobj
;
5840 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5842 PyObject
* obj0
= 0 ;
5843 PyObject
* obj1
= 0 ;
5845 (char *) "self",(char *) "m_y", NULL
5848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
5849 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5851 arg2
= (double)SWIG_As_double(obj1
);
5852 if (PyErr_Occurred()) SWIG_fail
;
5853 if (arg1
) (arg1
)->m_y
= arg2
;
5855 Py_INCREF(Py_None
); resultobj
= Py_None
;
5862 static PyObject
*_wrap_Point2D_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5863 PyObject
*resultobj
;
5864 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5866 PyObject
* obj0
= 0 ;
5868 (char *) "self", NULL
5871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_y_get",kwnames
,&obj0
)) goto fail
;
5872 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5873 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5874 result
= (double) ((arg1
)->m_y
);
5876 resultobj
= SWIG_From_double((double)result
);
5883 static PyObject
*_wrap_Point2D_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5884 PyObject
*resultobj
;
5885 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5886 double arg2
= (double) 0 ;
5887 double arg3
= (double) 0 ;
5888 PyObject
* obj0
= 0 ;
5889 PyObject
* obj1
= 0 ;
5890 PyObject
* obj2
= 0 ;
5892 (char *) "self",(char *) "x",(char *) "y", NULL
5895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Point2D_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5899 arg2
= (double)SWIG_As_double(obj1
);
5900 if (PyErr_Occurred()) SWIG_fail
;
5903 arg3
= (double)SWIG_As_double(obj2
);
5904 if (PyErr_Occurred()) SWIG_fail
;
5907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5908 wxPoint2D_Set(arg1
,arg2
,arg3
);
5910 wxPyEndAllowThreads(__tstate
);
5911 if (PyErr_Occurred()) SWIG_fail
;
5913 Py_INCREF(Py_None
); resultobj
= Py_None
;
5920 static PyObject
*_wrap_Point2D_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5921 PyObject
*resultobj
;
5922 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5924 PyObject
* obj0
= 0 ;
5926 (char *) "self", NULL
5929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_Get",kwnames
,&obj0
)) goto fail
;
5930 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5934 result
= (PyObject
*)wxPoint2D_Get(arg1
);
5936 wxPyEndAllowThreads(__tstate
);
5937 if (PyErr_Occurred()) SWIG_fail
;
5946 static PyObject
* Point2D_swigregister(PyObject
*, PyObject
*args
) {
5948 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5949 SWIG_TypeClientData(SWIGTYPE_p_wxPoint2D
, obj
);
5951 return Py_BuildValue((char *)"");
5953 static int _wrap_DefaultPosition_set(PyObject
*) {
5954 PyErr_SetString(PyExc_TypeError
,"Variable DefaultPosition is read-only.");
5959 static PyObject
*_wrap_DefaultPosition_get() {
5962 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultPosition
), SWIGTYPE_p_wxPoint
, 0);
5967 static int _wrap_DefaultSize_set(PyObject
*) {
5968 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSize is read-only.");
5973 static PyObject
*_wrap_DefaultSize_get() {
5976 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultSize
), SWIGTYPE_p_wxSize
, 0);
5981 static PyObject
*_wrap_new_InputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5982 PyObject
*resultobj
;
5983 PyObject
*arg1
= (PyObject
*) 0 ;
5984 wxPyInputStream
*result
;
5985 PyObject
* obj0
= 0 ;
5990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_InputStream",kwnames
,&obj0
)) goto fail
;
5993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5994 result
= (wxPyInputStream
*)new_wxPyInputStream(arg1
);
5996 wxPyEndAllowThreads(__tstate
);
5997 if (PyErr_Occurred()) SWIG_fail
;
5999 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyInputStream
, 1);
6006 static PyObject
*_wrap_delete_InputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6007 PyObject
*resultobj
;
6008 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6009 PyObject
* obj0
= 0 ;
6011 (char *) "self", NULL
6014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_InputStream",kwnames
,&obj0
)) goto fail
;
6015 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6016 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6021 wxPyEndAllowThreads(__tstate
);
6022 if (PyErr_Occurred()) SWIG_fail
;
6024 Py_INCREF(Py_None
); resultobj
= Py_None
;
6031 static PyObject
*_wrap_InputStream_close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6032 PyObject
*resultobj
;
6033 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6034 PyObject
* obj0
= 0 ;
6036 (char *) "self", NULL
6039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_close",kwnames
,&obj0
)) goto fail
;
6040 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6041 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6046 wxPyEndAllowThreads(__tstate
);
6047 if (PyErr_Occurred()) SWIG_fail
;
6049 Py_INCREF(Py_None
); resultobj
= Py_None
;
6056 static PyObject
*_wrap_InputStream_flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6057 PyObject
*resultobj
;
6058 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6059 PyObject
* obj0
= 0 ;
6061 (char *) "self", NULL
6064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_flush",kwnames
,&obj0
)) goto fail
;
6065 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6066 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6071 wxPyEndAllowThreads(__tstate
);
6072 if (PyErr_Occurred()) SWIG_fail
;
6074 Py_INCREF(Py_None
); resultobj
= Py_None
;
6081 static PyObject
*_wrap_InputStream_eof(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6082 PyObject
*resultobj
;
6083 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6085 PyObject
* obj0
= 0 ;
6087 (char *) "self", NULL
6090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_eof",kwnames
,&obj0
)) goto fail
;
6091 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6095 result
= (bool)(arg1
)->eof();
6097 wxPyEndAllowThreads(__tstate
);
6098 if (PyErr_Occurred()) SWIG_fail
;
6101 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6109 static PyObject
*_wrap_InputStream_read(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6110 PyObject
*resultobj
;
6111 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6112 int arg2
= (int) -1 ;
6114 PyObject
* obj0
= 0 ;
6115 PyObject
* obj1
= 0 ;
6117 (char *) "self",(char *) "size", NULL
6120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_read",kwnames
,&obj0
,&obj1
)) goto fail
;
6121 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6124 arg2
= (int)SWIG_As_int(obj1
);
6125 if (PyErr_Occurred()) SWIG_fail
;
6128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6129 result
= (PyObject
*)(arg1
)->read(arg2
);
6131 wxPyEndAllowThreads(__tstate
);
6132 if (PyErr_Occurred()) SWIG_fail
;
6141 static PyObject
*_wrap_InputStream_readline(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6142 PyObject
*resultobj
;
6143 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6144 int arg2
= (int) -1 ;
6146 PyObject
* obj0
= 0 ;
6147 PyObject
* obj1
= 0 ;
6149 (char *) "self",(char *) "size", NULL
6152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readline",kwnames
,&obj0
,&obj1
)) goto fail
;
6153 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6154 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6156 arg2
= (int)SWIG_As_int(obj1
);
6157 if (PyErr_Occurred()) SWIG_fail
;
6160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6161 result
= (PyObject
*)(arg1
)->readline(arg2
);
6163 wxPyEndAllowThreads(__tstate
);
6164 if (PyErr_Occurred()) SWIG_fail
;
6173 static PyObject
*_wrap_InputStream_readlines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6174 PyObject
*resultobj
;
6175 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6176 int arg2
= (int) -1 ;
6178 PyObject
* obj0
= 0 ;
6179 PyObject
* obj1
= 0 ;
6181 (char *) "self",(char *) "sizehint", NULL
6184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readlines",kwnames
,&obj0
,&obj1
)) goto fail
;
6185 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6186 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6188 arg2
= (int)SWIG_As_int(obj1
);
6189 if (PyErr_Occurred()) SWIG_fail
;
6192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6193 result
= (PyObject
*)(arg1
)->readlines(arg2
);
6195 wxPyEndAllowThreads(__tstate
);
6196 if (PyErr_Occurred()) SWIG_fail
;
6205 static PyObject
*_wrap_InputStream_seek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6206 PyObject
*resultobj
;
6207 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6209 int arg3
= (int) 0 ;
6210 PyObject
* obj0
= 0 ;
6211 PyObject
* obj1
= 0 ;
6212 PyObject
* obj2
= 0 ;
6214 (char *) "self",(char *) "offset",(char *) "whence", NULL
6217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_seek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6220 arg2
= (int)SWIG_As_int(obj1
);
6221 if (PyErr_Occurred()) SWIG_fail
;
6223 arg3
= (int)SWIG_As_int(obj2
);
6224 if (PyErr_Occurred()) SWIG_fail
;
6227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6228 (arg1
)->seek(arg2
,arg3
);
6230 wxPyEndAllowThreads(__tstate
);
6231 if (PyErr_Occurred()) SWIG_fail
;
6233 Py_INCREF(Py_None
); resultobj
= Py_None
;
6240 static PyObject
*_wrap_InputStream_tell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6241 PyObject
*resultobj
;
6242 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6244 PyObject
* obj0
= 0 ;
6246 (char *) "self", NULL
6249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_tell",kwnames
,&obj0
)) goto fail
;
6250 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6251 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6254 result
= (int)(arg1
)->tell();
6256 wxPyEndAllowThreads(__tstate
);
6257 if (PyErr_Occurred()) SWIG_fail
;
6259 resultobj
= SWIG_From_int((int)result
);
6266 static PyObject
*_wrap_InputStream_Peek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6267 PyObject
*resultobj
;
6268 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6270 PyObject
* obj0
= 0 ;
6272 (char *) "self", NULL
6275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Peek",kwnames
,&obj0
)) goto fail
;
6276 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6280 result
= (char)(arg1
)->Peek();
6282 wxPyEndAllowThreads(__tstate
);
6283 if (PyErr_Occurred()) SWIG_fail
;
6285 resultobj
= SWIG_From_char((char)result
);
6292 static PyObject
*_wrap_InputStream_GetC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6293 PyObject
*resultobj
;
6294 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6296 PyObject
* obj0
= 0 ;
6298 (char *) "self", NULL
6301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_GetC",kwnames
,&obj0
)) goto fail
;
6302 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6303 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6306 result
= (char)(arg1
)->GetC();
6308 wxPyEndAllowThreads(__tstate
);
6309 if (PyErr_Occurred()) SWIG_fail
;
6311 resultobj
= SWIG_From_char((char)result
);
6318 static PyObject
*_wrap_InputStream_LastRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6319 PyObject
*resultobj
;
6320 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6322 PyObject
* obj0
= 0 ;
6324 (char *) "self", NULL
6327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_LastRead",kwnames
,&obj0
)) goto fail
;
6328 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6329 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6332 result
= (size_t)(arg1
)->LastRead();
6334 wxPyEndAllowThreads(__tstate
);
6335 if (PyErr_Occurred()) SWIG_fail
;
6337 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
6344 static PyObject
*_wrap_InputStream_CanRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6345 PyObject
*resultobj
;
6346 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6348 PyObject
* obj0
= 0 ;
6350 (char *) "self", NULL
6353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_CanRead",kwnames
,&obj0
)) goto fail
;
6354 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6358 result
= (bool)(arg1
)->CanRead();
6360 wxPyEndAllowThreads(__tstate
);
6361 if (PyErr_Occurred()) SWIG_fail
;
6364 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6372 static PyObject
*_wrap_InputStream_Eof(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6373 PyObject
*resultobj
;
6374 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6376 PyObject
* obj0
= 0 ;
6378 (char *) "self", NULL
6381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Eof",kwnames
,&obj0
)) goto fail
;
6382 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6386 result
= (bool)(arg1
)->Eof();
6388 wxPyEndAllowThreads(__tstate
);
6389 if (PyErr_Occurred()) SWIG_fail
;
6392 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6400 static PyObject
*_wrap_InputStream_Ungetch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6401 PyObject
*resultobj
;
6402 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6405 PyObject
* obj0
= 0 ;
6406 PyObject
* obj1
= 0 ;
6408 (char *) "self",(char *) "c", NULL
6411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InputStream_Ungetch",kwnames
,&obj0
,&obj1
)) goto fail
;
6412 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6413 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6414 arg2
= (char)SWIG_As_char(obj1
);
6415 if (PyErr_Occurred()) SWIG_fail
;
6417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6418 result
= (bool)(arg1
)->Ungetch(arg2
);
6420 wxPyEndAllowThreads(__tstate
);
6421 if (PyErr_Occurred()) SWIG_fail
;
6424 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6432 static PyObject
*_wrap_InputStream_SeekI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6433 PyObject
*resultobj
;
6434 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6436 int arg3
= (int) wxFromStart
;
6438 PyObject
* obj0
= 0 ;
6439 PyObject
* obj1
= 0 ;
6440 PyObject
* obj2
= 0 ;
6442 (char *) "self",(char *) "pos",(char *) "mode", NULL
6445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_SeekI",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6446 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6447 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6448 arg2
= (long)SWIG_As_long(obj1
);
6449 if (PyErr_Occurred()) SWIG_fail
;
6451 arg3
= (int)SWIG_As_int(obj2
);
6452 if (PyErr_Occurred()) SWIG_fail
;
6455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6456 result
= (long)(arg1
)->SeekI(arg2
,(wxSeekMode
)arg3
);
6458 wxPyEndAllowThreads(__tstate
);
6459 if (PyErr_Occurred()) SWIG_fail
;
6461 resultobj
= SWIG_From_long((long)result
);
6468 static PyObject
*_wrap_InputStream_TellI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6469 PyObject
*resultobj
;
6470 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6472 PyObject
* obj0
= 0 ;
6474 (char *) "self", NULL
6477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_TellI",kwnames
,&obj0
)) goto fail
;
6478 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6479 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6482 result
= (long)(arg1
)->TellI();
6484 wxPyEndAllowThreads(__tstate
);
6485 if (PyErr_Occurred()) SWIG_fail
;
6487 resultobj
= SWIG_From_long((long)result
);
6494 static PyObject
* InputStream_swigregister(PyObject
*, PyObject
*args
) {
6496 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6497 SWIG_TypeClientData(SWIGTYPE_p_wxPyInputStream
, obj
);
6499 return Py_BuildValue((char *)"");
6501 static PyObject
*_wrap_OutputStream_write(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6502 PyObject
*resultobj
;
6503 wxOutputStream
*arg1
= (wxOutputStream
*) 0 ;
6504 PyObject
*arg2
= (PyObject
*) 0 ;
6505 PyObject
* obj0
= 0 ;
6506 PyObject
* obj1
= 0 ;
6508 (char *) "self",(char *) "obj", NULL
6511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:OutputStream_write",kwnames
,&obj0
,&obj1
)) goto fail
;
6512 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxOutputStream
,
6513 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6517 wxOutputStream_write(arg1
,arg2
);
6519 wxPyEndAllowThreads(__tstate
);
6520 if (PyErr_Occurred()) SWIG_fail
;
6522 Py_INCREF(Py_None
); resultobj
= Py_None
;
6529 static PyObject
* OutputStream_swigregister(PyObject
*, PyObject
*args
) {
6531 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6532 SWIG_TypeClientData(SWIGTYPE_p_wxOutputStream
, obj
);
6534 return Py_BuildValue((char *)"");
6536 static PyObject
*_wrap_new_FSFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6537 PyObject
*resultobj
;
6538 wxInputStream
*arg1
= (wxInputStream
*) 0 ;
6539 wxString
*arg2
= 0 ;
6540 wxString
*arg3
= 0 ;
6541 wxString
*arg4
= 0 ;
6544 wxPyInputStream
*temp1
;
6546 bool temp2
= false ;
6547 bool temp3
= false ;
6548 bool temp4
= false ;
6550 PyObject
* obj0
= 0 ;
6551 PyObject
* obj1
= 0 ;
6552 PyObject
* obj2
= 0 ;
6553 PyObject
* obj3
= 0 ;
6554 PyObject
* obj4
= 0 ;
6556 (char *) "stream",(char *) "loc",(char *) "mimetype",(char *) "anchor",(char *) "modif", NULL
6559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:new_FSFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
6561 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
6562 arg1
= temp1
->m_wxis
;
6565 PyErr_Clear(); // clear the failure of the wxPyConvert above
6566 arg1
= wxPyCBInputStream_create(obj0
, false);
6568 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
6575 arg2
= wxString_in_helper(obj1
);
6576 if (arg2
== NULL
) SWIG_fail
;
6580 arg3
= wxString_in_helper(obj2
);
6581 if (arg3
== NULL
) SWIG_fail
;
6585 arg4
= wxString_in_helper(obj3
);
6586 if (arg4
== NULL
) SWIG_fail
;
6589 if ((SWIG_ConvertPtr(obj4
,(void **)(&argp5
),SWIGTYPE_p_wxDateTime
,
6590 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
6593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6594 result
= (wxFSFile
*)new wxFSFile(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
6596 wxPyEndAllowThreads(__tstate
);
6597 if (PyErr_Occurred()) SWIG_fail
;
6600 resultobj
= wxPyMake_wxObject(result
, 1);
6640 static PyObject
*_wrap_delete_FSFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6641 PyObject
*resultobj
;
6642 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6643 PyObject
* obj0
= 0 ;
6645 (char *) "self", NULL
6648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FSFile",kwnames
,&obj0
)) goto fail
;
6649 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6655 wxPyEndAllowThreads(__tstate
);
6656 if (PyErr_Occurred()) SWIG_fail
;
6658 Py_INCREF(Py_None
); resultobj
= Py_None
;
6665 static PyObject
*_wrap_FSFile_GetStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6666 PyObject
*resultobj
;
6667 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6668 wxInputStream
*result
;
6669 PyObject
* obj0
= 0 ;
6671 (char *) "self", NULL
6674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetStream",kwnames
,&obj0
)) goto fail
;
6675 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6676 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6679 result
= (wxInputStream
*)(arg1
)->GetStream();
6681 wxPyEndAllowThreads(__tstate
);
6682 if (PyErr_Occurred()) SWIG_fail
;
6685 wxPyInputStream
* _ptr
= NULL
;
6688 _ptr
= new wxPyInputStream(result
);
6690 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), 0);
6698 static PyObject
*_wrap_FSFile_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6699 PyObject
*resultobj
;
6700 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6702 PyObject
* obj0
= 0 ;
6704 (char *) "self", NULL
6707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetMimeType",kwnames
,&obj0
)) goto fail
;
6708 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6709 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6713 wxString
const &_result_ref
= (arg1
)->GetMimeType();
6714 result
= (wxString
*) &_result_ref
;
6717 wxPyEndAllowThreads(__tstate
);
6718 if (PyErr_Occurred()) SWIG_fail
;
6722 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
6724 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
6733 static PyObject
*_wrap_FSFile_GetLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6734 PyObject
*resultobj
;
6735 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6737 PyObject
* obj0
= 0 ;
6739 (char *) "self", NULL
6742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetLocation",kwnames
,&obj0
)) goto fail
;
6743 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6744 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6748 wxString
const &_result_ref
= (arg1
)->GetLocation();
6749 result
= (wxString
*) &_result_ref
;
6752 wxPyEndAllowThreads(__tstate
);
6753 if (PyErr_Occurred()) SWIG_fail
;
6757 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
6759 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
6768 static PyObject
*_wrap_FSFile_GetAnchor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6769 PyObject
*resultobj
;
6770 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6772 PyObject
* obj0
= 0 ;
6774 (char *) "self", NULL
6777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetAnchor",kwnames
,&obj0
)) goto fail
;
6778 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6779 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6783 wxString
const &_result_ref
= (arg1
)->GetAnchor();
6784 result
= (wxString
*) &_result_ref
;
6787 wxPyEndAllowThreads(__tstate
);
6788 if (PyErr_Occurred()) SWIG_fail
;
6792 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
6794 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
6803 static PyObject
*_wrap_FSFile_GetModificationTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6804 PyObject
*resultobj
;
6805 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6807 PyObject
* obj0
= 0 ;
6809 (char *) "self", NULL
6812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetModificationTime",kwnames
,&obj0
)) goto fail
;
6813 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6814 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6817 result
= (arg1
)->GetModificationTime();
6819 wxPyEndAllowThreads(__tstate
);
6820 if (PyErr_Occurred()) SWIG_fail
;
6823 wxDateTime
* resultptr
;
6824 resultptr
= new wxDateTime((wxDateTime
&) result
);
6825 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
6833 static PyObject
* FSFile_swigregister(PyObject
*, PyObject
*args
) {
6835 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6836 SWIG_TypeClientData(SWIGTYPE_p_wxFSFile
, obj
);
6838 return Py_BuildValue((char *)"");
6840 static PyObject
* CPPFileSystemHandler_swigregister(PyObject
*, PyObject
*args
) {
6842 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6843 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystemHandler
, obj
);
6845 return Py_BuildValue((char *)"");
6847 static PyObject
*_wrap_new_FileSystemHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6848 PyObject
*resultobj
;
6849 wxPyFileSystemHandler
*result
;
6854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystemHandler",kwnames
)) goto fail
;
6856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6857 result
= (wxPyFileSystemHandler
*)new wxPyFileSystemHandler();
6859 wxPyEndAllowThreads(__tstate
);
6860 if (PyErr_Occurred()) SWIG_fail
;
6862 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFileSystemHandler
, 1);
6869 static PyObject
*_wrap_FileSystemHandler__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6870 PyObject
*resultobj
;
6871 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6872 PyObject
*arg2
= (PyObject
*) 0 ;
6873 PyObject
*arg3
= (PyObject
*) 0 ;
6874 PyObject
* obj0
= 0 ;
6875 PyObject
* obj1
= 0 ;
6876 PyObject
* obj2
= 0 ;
6878 (char *) "self",(char *) "self",(char *) "_class", NULL
6881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6888 (arg1
)->_setCallbackInfo(arg2
,arg3
);
6890 wxPyEndAllowThreads(__tstate
);
6891 if (PyErr_Occurred()) SWIG_fail
;
6893 Py_INCREF(Py_None
); resultobj
= Py_None
;
6900 static PyObject
*_wrap_FileSystemHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6901 PyObject
*resultobj
;
6902 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6903 wxString
*arg2
= 0 ;
6905 bool temp2
= false ;
6906 PyObject
* obj0
= 0 ;
6907 PyObject
* obj1
= 0 ;
6909 (char *) "self",(char *) "location", NULL
6912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
6913 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6914 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6916 arg2
= wxString_in_helper(obj1
);
6917 if (arg2
== NULL
) SWIG_fail
;
6921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6922 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
6924 wxPyEndAllowThreads(__tstate
);
6925 if (PyErr_Occurred()) SWIG_fail
;
6928 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6944 static PyObject
*_wrap_FileSystemHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6945 PyObject
*resultobj
;
6946 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6947 wxFileSystem
*arg2
= 0 ;
6948 wxString
*arg3
= 0 ;
6950 bool temp3
= false ;
6951 PyObject
* obj0
= 0 ;
6952 PyObject
* obj1
= 0 ;
6953 PyObject
* obj2
= 0 ;
6955 (char *) "self",(char *) "fs",(char *) "location", NULL
6958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6959 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6960 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6961 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileSystem
,
6962 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6965 PyErr_SetString(PyExc_TypeError
,"null reference");
6969 arg3
= wxString_in_helper(obj2
);
6970 if (arg3
== NULL
) SWIG_fail
;
6974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6975 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
6977 wxPyEndAllowThreads(__tstate
);
6978 if (PyErr_Occurred()) SWIG_fail
;
6981 resultobj
= wxPyMake_wxObject(result
, 1);
6997 static PyObject
*_wrap_FileSystemHandler_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6998 PyObject
*resultobj
;
6999 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
7000 wxString
*arg2
= 0 ;
7001 int arg3
= (int) 0 ;
7003 bool temp2
= false ;
7004 PyObject
* obj0
= 0 ;
7005 PyObject
* obj1
= 0 ;
7006 PyObject
* obj2
= 0 ;
7008 (char *) "self",(char *) "spec",(char *) "flags", NULL
7011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystemHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7012 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
7013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7015 arg2
= wxString_in_helper(obj1
);
7016 if (arg2
== NULL
) SWIG_fail
;
7020 arg3
= (int)SWIG_As_int(obj2
);
7021 if (PyErr_Occurred()) SWIG_fail
;
7024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7025 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
7027 wxPyEndAllowThreads(__tstate
);
7028 if (PyErr_Occurred()) SWIG_fail
;
7032 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7034 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7051 static PyObject
*_wrap_FileSystemHandler_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7052 PyObject
*resultobj
;
7053 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
7055 PyObject
* obj0
= 0 ;
7057 (char *) "self", NULL
7060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystemHandler_FindNext",kwnames
,&obj0
)) goto fail
;
7061 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
7062 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7065 result
= (arg1
)->FindNext();
7067 wxPyEndAllowThreads(__tstate
);
7068 if (PyErr_Occurred()) SWIG_fail
;
7072 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7074 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7083 static PyObject
*_wrap_FileSystemHandler_GetProtocol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7084 PyObject
*resultobj
;
7085 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
7086 wxString
*arg2
= 0 ;
7088 bool temp2
= false ;
7089 PyObject
* obj0
= 0 ;
7090 PyObject
* obj1
= 0 ;
7092 (char *) "self",(char *) "location", NULL
7095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetProtocol",kwnames
,&obj0
,&obj1
)) goto fail
;
7096 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
7097 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7099 arg2
= wxString_in_helper(obj1
);
7100 if (arg2
== NULL
) SWIG_fail
;
7104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7105 result
= (arg1
)->GetProtocol((wxString
const &)*arg2
);
7107 wxPyEndAllowThreads(__tstate
);
7108 if (PyErr_Occurred()) SWIG_fail
;
7112 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7114 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7131 static PyObject
*_wrap_FileSystemHandler_GetLeftLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7132 PyObject
*resultobj
;
7133 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
7134 wxString
*arg2
= 0 ;
7136 bool temp2
= false ;
7137 PyObject
* obj0
= 0 ;
7138 PyObject
* obj1
= 0 ;
7140 (char *) "self",(char *) "location", NULL
7143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetLeftLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
7144 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
7145 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7147 arg2
= wxString_in_helper(obj1
);
7148 if (arg2
== NULL
) SWIG_fail
;
7152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7153 result
= (arg1
)->GetLeftLocation((wxString
const &)*arg2
);
7155 wxPyEndAllowThreads(__tstate
);
7156 if (PyErr_Occurred()) SWIG_fail
;
7160 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7162 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7179 static PyObject
*_wrap_FileSystemHandler_GetAnchor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7180 PyObject
*resultobj
;
7181 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
7182 wxString
*arg2
= 0 ;
7184 bool temp2
= false ;
7185 PyObject
* obj0
= 0 ;
7186 PyObject
* obj1
= 0 ;
7188 (char *) "self",(char *) "location", NULL
7191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetAnchor",kwnames
,&obj0
,&obj1
)) goto fail
;
7192 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
7193 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7195 arg2
= wxString_in_helper(obj1
);
7196 if (arg2
== NULL
) SWIG_fail
;
7200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7201 result
= (arg1
)->GetAnchor((wxString
const &)*arg2
);
7203 wxPyEndAllowThreads(__tstate
);
7204 if (PyErr_Occurred()) SWIG_fail
;
7208 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7210 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7227 static PyObject
*_wrap_FileSystemHandler_GetRightLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7228 PyObject
*resultobj
;
7229 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
7230 wxString
*arg2
= 0 ;
7232 bool temp2
= false ;
7233 PyObject
* obj0
= 0 ;
7234 PyObject
* obj1
= 0 ;
7236 (char *) "self",(char *) "location", NULL
7239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetRightLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
7240 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
7241 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7243 arg2
= wxString_in_helper(obj1
);
7244 if (arg2
== NULL
) SWIG_fail
;
7248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7249 result
= (arg1
)->GetRightLocation((wxString
const &)*arg2
);
7251 wxPyEndAllowThreads(__tstate
);
7252 if (PyErr_Occurred()) SWIG_fail
;
7256 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7258 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7275 static PyObject
*_wrap_FileSystemHandler_GetMimeTypeFromExt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7276 PyObject
*resultobj
;
7277 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
7278 wxString
*arg2
= 0 ;
7280 bool temp2
= false ;
7281 PyObject
* obj0
= 0 ;
7282 PyObject
* obj1
= 0 ;
7284 (char *) "self",(char *) "location", NULL
7287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetMimeTypeFromExt",kwnames
,&obj0
,&obj1
)) goto fail
;
7288 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
7289 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7291 arg2
= wxString_in_helper(obj1
);
7292 if (arg2
== NULL
) SWIG_fail
;
7296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7297 result
= (arg1
)->GetMimeTypeFromExt((wxString
const &)*arg2
);
7299 wxPyEndAllowThreads(__tstate
);
7300 if (PyErr_Occurred()) SWIG_fail
;
7304 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7306 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7323 static PyObject
* FileSystemHandler_swigregister(PyObject
*, PyObject
*args
) {
7325 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7326 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileSystemHandler
, obj
);
7328 return Py_BuildValue((char *)"");
7330 static PyObject
*_wrap_new_FileSystem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7331 PyObject
*resultobj
;
7332 wxFileSystem
*result
;
7337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystem",kwnames
)) goto fail
;
7339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7340 result
= (wxFileSystem
*)new wxFileSystem();
7342 wxPyEndAllowThreads(__tstate
);
7343 if (PyErr_Occurred()) SWIG_fail
;
7346 resultobj
= wxPyMake_wxObject(result
, 1);
7354 static PyObject
*_wrap_delete_FileSystem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7355 PyObject
*resultobj
;
7356 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7357 PyObject
* obj0
= 0 ;
7359 (char *) "self", NULL
7362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileSystem",kwnames
,&obj0
)) goto fail
;
7363 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7364 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7369 wxPyEndAllowThreads(__tstate
);
7370 if (PyErr_Occurred()) SWIG_fail
;
7372 Py_INCREF(Py_None
); resultobj
= Py_None
;
7379 static PyObject
*_wrap_FileSystem_ChangePathTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7380 PyObject
*resultobj
;
7381 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7382 wxString
*arg2
= 0 ;
7383 bool arg3
= (bool) false ;
7384 bool temp2
= false ;
7385 PyObject
* obj0
= 0 ;
7386 PyObject
* obj1
= 0 ;
7387 PyObject
* obj2
= 0 ;
7389 (char *) "self",(char *) "location",(char *) "is_dir", NULL
7392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_ChangePathTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7393 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7394 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7396 arg2
= wxString_in_helper(obj1
);
7397 if (arg2
== NULL
) SWIG_fail
;
7401 arg3
= (bool)SWIG_As_bool(obj2
);
7402 if (PyErr_Occurred()) SWIG_fail
;
7405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7406 (arg1
)->ChangePathTo((wxString
const &)*arg2
,arg3
);
7408 wxPyEndAllowThreads(__tstate
);
7409 if (PyErr_Occurred()) SWIG_fail
;
7411 Py_INCREF(Py_None
); resultobj
= Py_None
;
7426 static PyObject
*_wrap_FileSystem_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7427 PyObject
*resultobj
;
7428 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7430 PyObject
* obj0
= 0 ;
7432 (char *) "self", NULL
7435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_GetPath",kwnames
,&obj0
)) goto fail
;
7436 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7440 result
= (arg1
)->GetPath();
7442 wxPyEndAllowThreads(__tstate
);
7443 if (PyErr_Occurred()) SWIG_fail
;
7447 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7449 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7458 static PyObject
*_wrap_FileSystem_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7459 PyObject
*resultobj
;
7460 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7461 wxString
*arg2
= 0 ;
7463 bool temp2
= false ;
7464 PyObject
* obj0
= 0 ;
7465 PyObject
* obj1
= 0 ;
7467 (char *) "self",(char *) "location", NULL
7470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystem_OpenFile",kwnames
,&obj0
,&obj1
)) goto fail
;
7471 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7472 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7474 arg2
= wxString_in_helper(obj1
);
7475 if (arg2
== NULL
) SWIG_fail
;
7479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7480 result
= (wxFSFile
*)(arg1
)->OpenFile((wxString
const &)*arg2
);
7482 wxPyEndAllowThreads(__tstate
);
7483 if (PyErr_Occurred()) SWIG_fail
;
7486 resultobj
= wxPyMake_wxObject(result
, 1);
7502 static PyObject
*_wrap_FileSystem_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7503 PyObject
*resultobj
;
7504 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7505 wxString
*arg2
= 0 ;
7506 int arg3
= (int) 0 ;
7508 bool temp2
= false ;
7509 PyObject
* obj0
= 0 ;
7510 PyObject
* obj1
= 0 ;
7511 PyObject
* obj2
= 0 ;
7513 (char *) "self",(char *) "spec",(char *) "flags", NULL
7516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7517 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7518 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7520 arg2
= wxString_in_helper(obj1
);
7521 if (arg2
== NULL
) SWIG_fail
;
7525 arg3
= (int)SWIG_As_int(obj2
);
7526 if (PyErr_Occurred()) SWIG_fail
;
7529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7530 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
7532 wxPyEndAllowThreads(__tstate
);
7533 if (PyErr_Occurred()) SWIG_fail
;
7537 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7539 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7556 static PyObject
*_wrap_FileSystem_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7557 PyObject
*resultobj
;
7558 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7560 PyObject
* obj0
= 0 ;
7562 (char *) "self", NULL
7565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FindNext",kwnames
,&obj0
)) goto fail
;
7566 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7570 result
= (arg1
)->FindNext();
7572 wxPyEndAllowThreads(__tstate
);
7573 if (PyErr_Occurred()) SWIG_fail
;
7577 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7579 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7588 static PyObject
*_wrap_FileSystem_AddHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7589 PyObject
*resultobj
;
7590 wxFileSystemHandler
*arg1
= (wxFileSystemHandler
*) 0 ;
7591 PyObject
* obj0
= 0 ;
7593 (char *) "handler", NULL
7596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_AddHandler",kwnames
,&obj0
)) goto fail
;
7597 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystemHandler
,
7598 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7601 wxFileSystem::AddHandler(arg1
);
7603 wxPyEndAllowThreads(__tstate
);
7604 if (PyErr_Occurred()) SWIG_fail
;
7606 Py_INCREF(Py_None
); resultobj
= Py_None
;
7613 static PyObject
*_wrap_FileSystem_CleanUpHandlers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7614 PyObject
*resultobj
;
7619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FileSystem_CleanUpHandlers",kwnames
)) goto fail
;
7621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7622 wxFileSystem::CleanUpHandlers();
7624 wxPyEndAllowThreads(__tstate
);
7625 if (PyErr_Occurred()) SWIG_fail
;
7627 Py_INCREF(Py_None
); resultobj
= Py_None
;
7634 static PyObject
*_wrap_FileSystem_FileNameToURL(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7635 PyObject
*resultobj
;
7636 wxString
*arg1
= 0 ;
7638 bool temp1
= false ;
7639 PyObject
* obj0
= 0 ;
7641 (char *) "filename", NULL
7644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FileNameToURL",kwnames
,&obj0
)) goto fail
;
7646 arg1
= wxString_in_helper(obj0
);
7647 if (arg1
== NULL
) SWIG_fail
;
7651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7652 result
= wxFileSystem::FileNameToURL((wxString
const &)*arg1
);
7654 wxPyEndAllowThreads(__tstate
);
7655 if (PyErr_Occurred()) SWIG_fail
;
7659 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7661 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7678 static PyObject
*_wrap_FileSystem_URLToFileName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7679 PyObject
*resultobj
;
7680 wxString
*arg1
= 0 ;
7682 bool temp1
= false ;
7683 PyObject
* obj0
= 0 ;
7685 (char *) "url", NULL
7688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_URLToFileName",kwnames
,&obj0
)) goto fail
;
7690 arg1
= wxString_in_helper(obj0
);
7691 if (arg1
== NULL
) SWIG_fail
;
7695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7696 result
= FileSystem_URLToFileName((wxString
const &)*arg1
);
7698 wxPyEndAllowThreads(__tstate
);
7699 if (PyErr_Occurred()) SWIG_fail
;
7703 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7705 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7722 static PyObject
* FileSystem_swigregister(PyObject
*, PyObject
*args
) {
7724 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7725 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystem
, obj
);
7727 return Py_BuildValue((char *)"");
7729 static PyObject
*_wrap_new_InternetFSHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7730 PyObject
*resultobj
;
7731 wxInternetFSHandler
*result
;
7736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_InternetFSHandler",kwnames
)) goto fail
;
7738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7739 result
= (wxInternetFSHandler
*)new wxInternetFSHandler();
7741 wxPyEndAllowThreads(__tstate
);
7742 if (PyErr_Occurred()) SWIG_fail
;
7744 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxInternetFSHandler
, 1);
7751 static PyObject
*_wrap_InternetFSHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7752 PyObject
*resultobj
;
7753 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
7754 wxString
*arg2
= 0 ;
7756 bool temp2
= false ;
7757 PyObject
* obj0
= 0 ;
7758 PyObject
* obj1
= 0 ;
7760 (char *) "self",(char *) "location", NULL
7763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InternetFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
7764 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxInternetFSHandler
,
7765 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7767 arg2
= wxString_in_helper(obj1
);
7768 if (arg2
== NULL
) SWIG_fail
;
7772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7773 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
7775 wxPyEndAllowThreads(__tstate
);
7776 if (PyErr_Occurred()) SWIG_fail
;
7779 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7795 static PyObject
*_wrap_InternetFSHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7796 PyObject
*resultobj
;
7797 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
7798 wxFileSystem
*arg2
= 0 ;
7799 wxString
*arg3
= 0 ;
7801 bool temp3
= false ;
7802 PyObject
* obj0
= 0 ;
7803 PyObject
* obj1
= 0 ;
7804 PyObject
* obj2
= 0 ;
7806 (char *) "self",(char *) "fs",(char *) "location", NULL
7809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:InternetFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7810 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxInternetFSHandler
,
7811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7812 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileSystem
,
7813 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7816 PyErr_SetString(PyExc_TypeError
,"null reference");
7820 arg3
= wxString_in_helper(obj2
);
7821 if (arg3
== NULL
) SWIG_fail
;
7825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7826 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
7828 wxPyEndAllowThreads(__tstate
);
7829 if (PyErr_Occurred()) SWIG_fail
;
7832 resultobj
= wxPyMake_wxObject(result
, 1);
7848 static PyObject
* InternetFSHandler_swigregister(PyObject
*, PyObject
*args
) {
7850 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7851 SWIG_TypeClientData(SWIGTYPE_p_wxInternetFSHandler
, obj
);
7853 return Py_BuildValue((char *)"");
7855 static PyObject
*_wrap_new_ZipFSHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7856 PyObject
*resultobj
;
7857 wxZipFSHandler
*result
;
7862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ZipFSHandler",kwnames
)) goto fail
;
7864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7865 result
= (wxZipFSHandler
*)new wxZipFSHandler();
7867 wxPyEndAllowThreads(__tstate
);
7868 if (PyErr_Occurred()) SWIG_fail
;
7870 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxZipFSHandler
, 1);
7877 static PyObject
*_wrap_ZipFSHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7878 PyObject
*resultobj
;
7879 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7880 wxString
*arg2
= 0 ;
7882 bool temp2
= false ;
7883 PyObject
* obj0
= 0 ;
7884 PyObject
* obj1
= 0 ;
7886 (char *) "self",(char *) "location", NULL
7889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ZipFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
7890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxZipFSHandler
,
7891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7893 arg2
= wxString_in_helper(obj1
);
7894 if (arg2
== NULL
) SWIG_fail
;
7898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7899 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
7901 wxPyEndAllowThreads(__tstate
);
7902 if (PyErr_Occurred()) SWIG_fail
;
7905 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7921 static PyObject
*_wrap_ZipFSHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7922 PyObject
*resultobj
;
7923 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7924 wxFileSystem
*arg2
= 0 ;
7925 wxString
*arg3
= 0 ;
7927 bool temp3
= false ;
7928 PyObject
* obj0
= 0 ;
7929 PyObject
* obj1
= 0 ;
7930 PyObject
* obj2
= 0 ;
7932 (char *) "self",(char *) "fs",(char *) "location", NULL
7935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ZipFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7936 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxZipFSHandler
,
7937 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7938 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileSystem
,
7939 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7942 PyErr_SetString(PyExc_TypeError
,"null reference");
7946 arg3
= wxString_in_helper(obj2
);
7947 if (arg3
== NULL
) SWIG_fail
;
7951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7952 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
7954 wxPyEndAllowThreads(__tstate
);
7955 if (PyErr_Occurred()) SWIG_fail
;
7958 resultobj
= wxPyMake_wxObject(result
, 1);
7974 static PyObject
*_wrap_ZipFSHandler_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7975 PyObject
*resultobj
;
7976 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7977 wxString
*arg2
= 0 ;
7978 int arg3
= (int) 0 ;
7980 bool temp2
= false ;
7981 PyObject
* obj0
= 0 ;
7982 PyObject
* obj1
= 0 ;
7983 PyObject
* obj2
= 0 ;
7985 (char *) "self",(char *) "spec",(char *) "flags", NULL
7988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ZipFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7989 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxZipFSHandler
,
7990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7992 arg2
= wxString_in_helper(obj1
);
7993 if (arg2
== NULL
) SWIG_fail
;
7997 arg3
= (int)SWIG_As_int(obj2
);
7998 if (PyErr_Occurred()) SWIG_fail
;
8001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8002 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
8004 wxPyEndAllowThreads(__tstate
);
8005 if (PyErr_Occurred()) SWIG_fail
;
8009 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8011 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8028 static PyObject
*_wrap_ZipFSHandler_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8029 PyObject
*resultobj
;
8030 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
8032 PyObject
* obj0
= 0 ;
8034 (char *) "self", NULL
8037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ZipFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
8038 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxZipFSHandler
,
8039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8042 result
= (arg1
)->FindNext();
8044 wxPyEndAllowThreads(__tstate
);
8045 if (PyErr_Occurred()) SWIG_fail
;
8049 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8051 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8060 static PyObject
* ZipFSHandler_swigregister(PyObject
*, PyObject
*args
) {
8062 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8063 SWIG_TypeClientData(SWIGTYPE_p_wxZipFSHandler
, obj
);
8065 return Py_BuildValue((char *)"");
8067 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8068 PyObject
*resultobj
;
8069 wxString
*arg1
= 0 ;
8072 bool temp1
= false ;
8073 PyObject
* obj0
= 0 ;
8074 PyObject
* obj1
= 0 ;
8075 PyObject
* obj2
= 0 ;
8077 (char *) "filename",(char *) "image",(char *) "type", NULL
8080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8082 arg1
= wxString_in_helper(obj0
);
8083 if (arg1
== NULL
) SWIG_fail
;
8086 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImage
,
8087 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8090 PyErr_SetString(PyExc_TypeError
,"null reference");
8093 arg3
= (long)SWIG_As_long(obj2
);
8094 if (PyErr_Occurred()) SWIG_fail
;
8096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8097 __wxMemoryFSHandler_AddFile_wxImage((wxString
const &)*arg1
,*arg2
,arg3
);
8099 wxPyEndAllowThreads(__tstate
);
8100 if (PyErr_Occurred()) SWIG_fail
;
8102 Py_INCREF(Py_None
); resultobj
= Py_None
;
8117 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8118 PyObject
*resultobj
;
8119 wxString
*arg1
= 0 ;
8120 wxBitmap
*arg2
= 0 ;
8122 bool temp1
= false ;
8123 PyObject
* obj0
= 0 ;
8124 PyObject
* obj1
= 0 ;
8125 PyObject
* obj2
= 0 ;
8127 (char *) "filename",(char *) "bitmap",(char *) "type", NULL
8130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8132 arg1
= wxString_in_helper(obj0
);
8133 if (arg1
== NULL
) SWIG_fail
;
8136 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
8137 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8140 PyErr_SetString(PyExc_TypeError
,"null reference");
8143 arg3
= (long)SWIG_As_long(obj2
);
8144 if (PyErr_Occurred()) SWIG_fail
;
8146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8147 __wxMemoryFSHandler_AddFile_wxBitmap((wxString
const &)*arg1
,(wxBitmap
const &)*arg2
,arg3
);
8149 wxPyEndAllowThreads(__tstate
);
8150 if (PyErr_Occurred()) SWIG_fail
;
8152 Py_INCREF(Py_None
); resultobj
= Py_None
;
8167 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_Data(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8168 PyObject
*resultobj
;
8169 wxString
*arg1
= 0 ;
8170 PyObject
*arg2
= (PyObject
*) 0 ;
8171 bool temp1
= false ;
8172 PyObject
* obj0
= 0 ;
8173 PyObject
* obj1
= 0 ;
8175 (char *) "filename",(char *) "data", NULL
8178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:__wxMemoryFSHandler_AddFile_Data",kwnames
,&obj0
,&obj1
)) goto fail
;
8180 arg1
= wxString_in_helper(obj0
);
8181 if (arg1
== NULL
) SWIG_fail
;
8186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8187 __wxMemoryFSHandler_AddFile_Data((wxString
const &)*arg1
,arg2
);
8189 wxPyEndAllowThreads(__tstate
);
8190 if (PyErr_Occurred()) SWIG_fail
;
8192 Py_INCREF(Py_None
); resultobj
= Py_None
;
8207 static PyObject
*_wrap_new_MemoryFSHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8208 PyObject
*resultobj
;
8209 wxMemoryFSHandler
*result
;
8214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MemoryFSHandler",kwnames
)) goto fail
;
8216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8217 result
= (wxMemoryFSHandler
*)new wxMemoryFSHandler();
8219 wxPyEndAllowThreads(__tstate
);
8220 if (PyErr_Occurred()) SWIG_fail
;
8222 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryFSHandler
, 1);
8229 static PyObject
*_wrap_MemoryFSHandler_RemoveFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8230 PyObject
*resultobj
;
8231 wxString
*arg1
= 0 ;
8232 bool temp1
= false ;
8233 PyObject
* obj0
= 0 ;
8235 (char *) "filename", NULL
8238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_RemoveFile",kwnames
,&obj0
)) goto fail
;
8240 arg1
= wxString_in_helper(obj0
);
8241 if (arg1
== NULL
) SWIG_fail
;
8245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8246 wxMemoryFSHandler::RemoveFile((wxString
const &)*arg1
);
8248 wxPyEndAllowThreads(__tstate
);
8249 if (PyErr_Occurred()) SWIG_fail
;
8251 Py_INCREF(Py_None
); resultobj
= Py_None
;
8266 static PyObject
*_wrap_MemoryFSHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8267 PyObject
*resultobj
;
8268 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
8269 wxString
*arg2
= 0 ;
8271 bool temp2
= false ;
8272 PyObject
* obj0
= 0 ;
8273 PyObject
* obj1
= 0 ;
8275 (char *) "self",(char *) "location", NULL
8278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
8279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryFSHandler
,
8280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8282 arg2
= wxString_in_helper(obj1
);
8283 if (arg2
== NULL
) SWIG_fail
;
8287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8288 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
8290 wxPyEndAllowThreads(__tstate
);
8291 if (PyErr_Occurred()) SWIG_fail
;
8294 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8310 static PyObject
*_wrap_MemoryFSHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8311 PyObject
*resultobj
;
8312 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
8313 wxFileSystem
*arg2
= 0 ;
8314 wxString
*arg3
= 0 ;
8316 bool temp3
= false ;
8317 PyObject
* obj0
= 0 ;
8318 PyObject
* obj1
= 0 ;
8319 PyObject
* obj2
= 0 ;
8321 (char *) "self",(char *) "fs",(char *) "location", NULL
8324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MemoryFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8325 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryFSHandler
,
8326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8327 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileSystem
,
8328 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8331 PyErr_SetString(PyExc_TypeError
,"null reference");
8335 arg3
= wxString_in_helper(obj2
);
8336 if (arg3
== NULL
) SWIG_fail
;
8340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8341 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
8343 wxPyEndAllowThreads(__tstate
);
8344 if (PyErr_Occurred()) SWIG_fail
;
8347 resultobj
= wxPyMake_wxObject(result
, 1);
8363 static PyObject
*_wrap_MemoryFSHandler_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8364 PyObject
*resultobj
;
8365 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
8366 wxString
*arg2
= 0 ;
8367 int arg3
= (int) 0 ;
8369 bool temp2
= false ;
8370 PyObject
* obj0
= 0 ;
8371 PyObject
* obj1
= 0 ;
8372 PyObject
* obj2
= 0 ;
8374 (char *) "self",(char *) "spec",(char *) "flags", NULL
8377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MemoryFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8378 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryFSHandler
,
8379 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8381 arg2
= wxString_in_helper(obj1
);
8382 if (arg2
== NULL
) SWIG_fail
;
8386 arg3
= (int)SWIG_As_int(obj2
);
8387 if (PyErr_Occurred()) SWIG_fail
;
8390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8391 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
8393 wxPyEndAllowThreads(__tstate
);
8394 if (PyErr_Occurred()) SWIG_fail
;
8398 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8400 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8417 static PyObject
*_wrap_MemoryFSHandler_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8418 PyObject
*resultobj
;
8419 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
8421 PyObject
* obj0
= 0 ;
8423 (char *) "self", NULL
8426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
8427 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryFSHandler
,
8428 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8431 result
= (arg1
)->FindNext();
8433 wxPyEndAllowThreads(__tstate
);
8434 if (PyErr_Occurred()) SWIG_fail
;
8438 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8440 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8449 static PyObject
* MemoryFSHandler_swigregister(PyObject
*, PyObject
*args
) {
8451 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8452 SWIG_TypeClientData(SWIGTYPE_p_wxMemoryFSHandler
, obj
);
8454 return Py_BuildValue((char *)"");
8456 static PyObject
*_wrap_ImageHandler_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8457 PyObject
*resultobj
;
8458 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8460 PyObject
* obj0
= 0 ;
8462 (char *) "self", NULL
8465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetName",kwnames
,&obj0
)) goto fail
;
8466 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8467 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8470 result
= (arg1
)->GetName();
8472 wxPyEndAllowThreads(__tstate
);
8473 if (PyErr_Occurred()) SWIG_fail
;
8477 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8479 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8488 static PyObject
*_wrap_ImageHandler_GetExtension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8489 PyObject
*resultobj
;
8490 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8492 PyObject
* obj0
= 0 ;
8494 (char *) "self", NULL
8497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetExtension",kwnames
,&obj0
)) goto fail
;
8498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8502 result
= (arg1
)->GetExtension();
8504 wxPyEndAllowThreads(__tstate
);
8505 if (PyErr_Occurred()) SWIG_fail
;
8509 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8511 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8520 static PyObject
*_wrap_ImageHandler_GetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8521 PyObject
*resultobj
;
8522 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8524 PyObject
* obj0
= 0 ;
8526 (char *) "self", NULL
8529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetType",kwnames
,&obj0
)) goto fail
;
8530 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8534 result
= (long)(arg1
)->GetType();
8536 wxPyEndAllowThreads(__tstate
);
8537 if (PyErr_Occurred()) SWIG_fail
;
8539 resultobj
= SWIG_From_long((long)result
);
8546 static PyObject
*_wrap_ImageHandler_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8547 PyObject
*resultobj
;
8548 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8550 PyObject
* obj0
= 0 ;
8552 (char *) "self", NULL
8555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetMimeType",kwnames
,&obj0
)) goto fail
;
8556 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8560 result
= (arg1
)->GetMimeType();
8562 wxPyEndAllowThreads(__tstate
);
8563 if (PyErr_Occurred()) SWIG_fail
;
8567 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8569 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8578 static PyObject
*_wrap_ImageHandler_CanRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8579 PyObject
*resultobj
;
8580 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8581 wxString
*arg2
= 0 ;
8583 bool temp2
= false ;
8584 PyObject
* obj0
= 0 ;
8585 PyObject
* obj1
= 0 ;
8587 (char *) "self",(char *) "name", NULL
8590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_CanRead",kwnames
,&obj0
,&obj1
)) goto fail
;
8591 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8594 arg2
= wxString_in_helper(obj1
);
8595 if (arg2
== NULL
) SWIG_fail
;
8599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8600 result
= (bool)(arg1
)->CanRead((wxString
const &)*arg2
);
8602 wxPyEndAllowThreads(__tstate
);
8603 if (PyErr_Occurred()) SWIG_fail
;
8606 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8622 static PyObject
*_wrap_ImageHandler_SetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8623 PyObject
*resultobj
;
8624 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8625 wxString
*arg2
= 0 ;
8626 bool temp2
= false ;
8627 PyObject
* obj0
= 0 ;
8628 PyObject
* obj1
= 0 ;
8630 (char *) "self",(char *) "name", NULL
8633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
8634 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8635 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8637 arg2
= wxString_in_helper(obj1
);
8638 if (arg2
== NULL
) SWIG_fail
;
8642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8643 (arg1
)->SetName((wxString
const &)*arg2
);
8645 wxPyEndAllowThreads(__tstate
);
8646 if (PyErr_Occurred()) SWIG_fail
;
8648 Py_INCREF(Py_None
); resultobj
= Py_None
;
8663 static PyObject
*_wrap_ImageHandler_SetExtension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8664 PyObject
*resultobj
;
8665 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8666 wxString
*arg2
= 0 ;
8667 bool temp2
= false ;
8668 PyObject
* obj0
= 0 ;
8669 PyObject
* obj1
= 0 ;
8671 (char *) "self",(char *) "extension", NULL
8674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetExtension",kwnames
,&obj0
,&obj1
)) goto fail
;
8675 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8676 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8678 arg2
= wxString_in_helper(obj1
);
8679 if (arg2
== NULL
) SWIG_fail
;
8683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8684 (arg1
)->SetExtension((wxString
const &)*arg2
);
8686 wxPyEndAllowThreads(__tstate
);
8687 if (PyErr_Occurred()) SWIG_fail
;
8689 Py_INCREF(Py_None
); resultobj
= Py_None
;
8704 static PyObject
*_wrap_ImageHandler_SetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8705 PyObject
*resultobj
;
8706 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8708 PyObject
* obj0
= 0 ;
8709 PyObject
* obj1
= 0 ;
8711 (char *) "self",(char *) "type", NULL
8714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetType",kwnames
,&obj0
,&obj1
)) goto fail
;
8715 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8716 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8717 arg2
= (long)SWIG_As_long(obj1
);
8718 if (PyErr_Occurred()) SWIG_fail
;
8720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8721 (arg1
)->SetType(arg2
);
8723 wxPyEndAllowThreads(__tstate
);
8724 if (PyErr_Occurred()) SWIG_fail
;
8726 Py_INCREF(Py_None
); resultobj
= Py_None
;
8733 static PyObject
*_wrap_ImageHandler_SetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8734 PyObject
*resultobj
;
8735 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8736 wxString
*arg2
= 0 ;
8737 bool temp2
= false ;
8738 PyObject
* obj0
= 0 ;
8739 PyObject
* obj1
= 0 ;
8741 (char *) "self",(char *) "mimetype", NULL
8744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetMimeType",kwnames
,&obj0
,&obj1
)) goto fail
;
8745 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8746 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8748 arg2
= wxString_in_helper(obj1
);
8749 if (arg2
== NULL
) SWIG_fail
;
8753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8754 (arg1
)->SetMimeType((wxString
const &)*arg2
);
8756 wxPyEndAllowThreads(__tstate
);
8757 if (PyErr_Occurred()) SWIG_fail
;
8759 Py_INCREF(Py_None
); resultobj
= Py_None
;
8774 static PyObject
* ImageHandler_swigregister(PyObject
*, PyObject
*args
) {
8776 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8777 SWIG_TypeClientData(SWIGTYPE_p_wxImageHandler
, obj
);
8779 return Py_BuildValue((char *)"");
8781 static PyObject
*_wrap_new_ImageHistogram(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8782 PyObject
*resultobj
;
8783 wxImageHistogram
*result
;
8788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ImageHistogram",kwnames
)) goto fail
;
8790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8791 result
= (wxImageHistogram
*)new wxImageHistogram();
8793 wxPyEndAllowThreads(__tstate
);
8794 if (PyErr_Occurred()) SWIG_fail
;
8796 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImageHistogram
, 1);
8803 static PyObject
*_wrap_ImageHistogram_MakeKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8804 PyObject
*resultobj
;
8805 unsigned char arg1
;
8806 unsigned char arg2
;
8807 unsigned char arg3
;
8808 unsigned long result
;
8809 PyObject
* obj0
= 0 ;
8810 PyObject
* obj1
= 0 ;
8811 PyObject
* obj2
= 0 ;
8813 (char *) "r",(char *) "g",(char *) "b", NULL
8816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageHistogram_MakeKey",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8817 arg1
= (unsigned char)SWIG_As_unsigned_SS_char(obj0
);
8818 if (PyErr_Occurred()) SWIG_fail
;
8819 arg2
= (unsigned char)SWIG_As_unsigned_SS_char(obj1
);
8820 if (PyErr_Occurred()) SWIG_fail
;
8821 arg3
= (unsigned char)SWIG_As_unsigned_SS_char(obj2
);
8822 if (PyErr_Occurred()) SWIG_fail
;
8824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8825 result
= (unsigned long)wxImageHistogram::MakeKey(arg1
,arg2
,arg3
);
8827 wxPyEndAllowThreads(__tstate
);
8828 if (PyErr_Occurred()) SWIG_fail
;
8830 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
8837 static PyObject
*_wrap_ImageHistogram_FindFirstUnusedColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8838 PyObject
*resultobj
;
8839 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
8840 unsigned char *arg2
= (unsigned char *) 0 ;
8841 unsigned char *arg3
= (unsigned char *) 0 ;
8842 unsigned char *arg4
= (unsigned char *) 0 ;
8843 unsigned char arg5
= (unsigned char) 1 ;
8844 unsigned char arg6
= (unsigned char) 0 ;
8845 unsigned char arg7
= (unsigned char) 0 ;
8847 unsigned char temp2
;
8849 unsigned char temp3
;
8851 unsigned char temp4
;
8853 PyObject
* obj0
= 0 ;
8854 PyObject
* obj1
= 0 ;
8855 PyObject
* obj2
= 0 ;
8856 PyObject
* obj3
= 0 ;
8858 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
8861 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
8862 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
8863 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
8864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:ImageHistogram_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8865 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHistogram
,
8866 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8868 arg5
= (unsigned char)SWIG_As_unsigned_SS_char(obj1
);
8869 if (PyErr_Occurred()) SWIG_fail
;
8872 arg6
= (unsigned char)SWIG_As_unsigned_SS_char(obj2
);
8873 if (PyErr_Occurred()) SWIG_fail
;
8876 arg7
= (unsigned char)SWIG_As_unsigned_SS_char(obj3
);
8877 if (PyErr_Occurred()) SWIG_fail
;
8880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8881 result
= (bool)((wxImageHistogram
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
8883 wxPyEndAllowThreads(__tstate
);
8884 if (PyErr_Occurred()) SWIG_fail
;
8887 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8889 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
8890 SWIG_From_unsigned_SS_char((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_unsigned_char
, 0)));
8891 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
8892 SWIG_From_unsigned_SS_char((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, 0)));
8893 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
8894 SWIG_From_unsigned_SS_char((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, 0)));
8901 static PyObject
* ImageHistogram_swigregister(PyObject
*, PyObject
*args
) {
8903 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8904 SWIG_TypeClientData(SWIGTYPE_p_wxImageHistogram
, obj
);
8906 return Py_BuildValue((char *)"");
8908 static PyObject
*_wrap_new_Image(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8909 PyObject
*resultobj
;
8910 wxString
*arg1
= 0 ;
8911 long arg2
= (long) wxBITMAP_TYPE_ANY
;
8912 int arg3
= (int) -1 ;
8914 bool temp1
= false ;
8915 PyObject
* obj0
= 0 ;
8916 PyObject
* obj1
= 0 ;
8917 PyObject
* obj2
= 0 ;
8919 (char *) "name",(char *) "type",(char *) "index", NULL
8922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Image",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8924 arg1
= wxString_in_helper(obj0
);
8925 if (arg1
== NULL
) SWIG_fail
;
8929 arg2
= (long)SWIG_As_long(obj1
);
8930 if (PyErr_Occurred()) SWIG_fail
;
8933 arg3
= (int)SWIG_As_int(obj2
);
8934 if (PyErr_Occurred()) SWIG_fail
;
8937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8938 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,arg2
,arg3
);
8940 wxPyEndAllowThreads(__tstate
);
8941 if (PyErr_Occurred()) SWIG_fail
;
8943 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8958 static PyObject
*_wrap_delete_Image(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8959 PyObject
*resultobj
;
8960 wxImage
*arg1
= (wxImage
*) 0 ;
8961 PyObject
* obj0
= 0 ;
8963 (char *) "self", NULL
8966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Image",kwnames
,&obj0
)) goto fail
;
8967 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
8968 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8973 wxPyEndAllowThreads(__tstate
);
8974 if (PyErr_Occurred()) SWIG_fail
;
8976 Py_INCREF(Py_None
); resultobj
= Py_None
;
8983 static PyObject
*_wrap_new_ImageFromMime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8984 PyObject
*resultobj
;
8985 wxString
*arg1
= 0 ;
8986 wxString
*arg2
= 0 ;
8987 int arg3
= (int) -1 ;
8989 bool temp1
= false ;
8990 bool temp2
= false ;
8991 PyObject
* obj0
= 0 ;
8992 PyObject
* obj1
= 0 ;
8993 PyObject
* obj2
= 0 ;
8995 (char *) "name",(char *) "mimetype",(char *) "index", NULL
8998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromMime",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9000 arg1
= wxString_in_helper(obj0
);
9001 if (arg1
== NULL
) SWIG_fail
;
9005 arg2
= wxString_in_helper(obj1
);
9006 if (arg2
== NULL
) SWIG_fail
;
9010 arg3
= (int)SWIG_As_int(obj2
);
9011 if (PyErr_Occurred()) SWIG_fail
;
9014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9015 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
9017 wxPyEndAllowThreads(__tstate
);
9018 if (PyErr_Occurred()) SWIG_fail
;
9020 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
9043 static PyObject
*_wrap_new_ImageFromStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9044 PyObject
*resultobj
;
9045 wxInputStream
*arg1
= 0 ;
9046 long arg2
= (long) wxBITMAP_TYPE_ANY
;
9047 int arg3
= (int) -1 ;
9049 wxPyInputStream
*temp1
;
9051 PyObject
* obj0
= 0 ;
9052 PyObject
* obj1
= 0 ;
9053 PyObject
* obj2
= 0 ;
9055 (char *) "stream",(char *) "type",(char *) "index", NULL
9058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_ImageFromStream",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9060 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
9061 arg1
= temp1
->m_wxis
;
9064 PyErr_Clear(); // clear the failure of the wxPyConvert above
9065 arg1
= wxPyCBInputStream_create(obj0
, false);
9067 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
9074 arg2
= (long)SWIG_As_long(obj1
);
9075 if (PyErr_Occurred()) SWIG_fail
;
9078 arg3
= (int)SWIG_As_int(obj2
);
9079 if (PyErr_Occurred()) SWIG_fail
;
9082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9083 result
= (wxImage
*)new wxImage(*arg1
,arg2
,arg3
);
9085 wxPyEndAllowThreads(__tstate
);
9086 if (PyErr_Occurred()) SWIG_fail
;
9088 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
9103 static PyObject
*_wrap_new_ImageFromStreamMime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9104 PyObject
*resultobj
;
9105 wxInputStream
*arg1
= 0 ;
9106 wxString
*arg2
= 0 ;
9107 int arg3
= (int) -1 ;
9109 wxPyInputStream
*temp1
;
9111 bool temp2
= false ;
9112 PyObject
* obj0
= 0 ;
9113 PyObject
* obj1
= 0 ;
9114 PyObject
* obj2
= 0 ;
9116 (char *) "stream",(char *) "mimetype",(char *) "index", NULL
9119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromStreamMime",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9121 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
9122 arg1
= temp1
->m_wxis
;
9125 PyErr_Clear(); // clear the failure of the wxPyConvert above
9126 arg1
= wxPyCBInputStream_create(obj0
, false);
9128 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
9135 arg2
= wxString_in_helper(obj1
);
9136 if (arg2
== NULL
) SWIG_fail
;
9140 arg3
= (int)SWIG_As_int(obj2
);
9141 if (PyErr_Occurred()) SWIG_fail
;
9144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9145 result
= (wxImage
*)new wxImage(*arg1
,(wxString
const &)*arg2
,arg3
);
9147 wxPyEndAllowThreads(__tstate
);
9148 if (PyErr_Occurred()) SWIG_fail
;
9150 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
9173 static PyObject
*_wrap_new_EmptyImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9174 PyObject
*resultobj
;
9175 int arg1
= (int) 0 ;
9176 int arg2
= (int) 0 ;
9177 bool arg3
= (bool) true ;
9179 PyObject
* obj0
= 0 ;
9180 PyObject
* obj1
= 0 ;
9181 PyObject
* obj2
= 0 ;
9183 (char *) "width",(char *) "height",(char *) "clear", NULL
9186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_EmptyImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9188 arg1
= (int)SWIG_As_int(obj0
);
9189 if (PyErr_Occurred()) SWIG_fail
;
9192 arg2
= (int)SWIG_As_int(obj1
);
9193 if (PyErr_Occurred()) SWIG_fail
;
9196 arg3
= (bool)SWIG_As_bool(obj2
);
9197 if (PyErr_Occurred()) SWIG_fail
;
9200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9201 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
);
9203 wxPyEndAllowThreads(__tstate
);
9204 if (PyErr_Occurred()) SWIG_fail
;
9206 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
9213 static PyObject
*_wrap_new_ImageFromBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9214 PyObject
*resultobj
;
9215 wxBitmap
*arg1
= 0 ;
9217 PyObject
* obj0
= 0 ;
9219 (char *) "bitmap", NULL
9222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ImageFromBitmap",kwnames
,&obj0
)) goto fail
;
9223 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
9224 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9227 PyErr_SetString(PyExc_TypeError
,"null reference");
9231 if (!wxPyCheckForApp()) SWIG_fail
;
9232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9233 result
= (wxImage
*)new_wxImage((wxBitmap
const &)*arg1
);
9235 wxPyEndAllowThreads(__tstate
);
9236 if (PyErr_Occurred()) SWIG_fail
;
9238 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
9245 static PyObject
*_wrap_new_ImageFromData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9246 PyObject
*resultobj
;
9249 unsigned char *arg3
= (unsigned char *) 0 ;
9251 PyObject
* obj0
= 0 ;
9252 PyObject
* obj1
= 0 ;
9253 PyObject
* obj2
= 0 ;
9255 (char *) "width",(char *) "height",(char *) "data", NULL
9258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_ImageFromData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9259 arg1
= (int)SWIG_As_int(obj0
);
9260 if (PyErr_Occurred()) SWIG_fail
;
9261 arg2
= (int)SWIG_As_int(obj1
);
9262 if (PyErr_Occurred()) SWIG_fail
;
9263 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_unsigned_char
,
9264 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9267 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
);
9269 wxPyEndAllowThreads(__tstate
);
9270 if (PyErr_Occurred()) SWIG_fail
;
9272 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
9279 static PyObject
*_wrap_Image_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9280 PyObject
*resultobj
;
9281 wxImage
*arg1
= (wxImage
*) 0 ;
9284 PyObject
* obj0
= 0 ;
9285 PyObject
* obj1
= 0 ;
9286 PyObject
* obj2
= 0 ;
9288 (char *) "self",(char *) "width",(char *) "height", NULL
9291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9292 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9294 arg2
= (int)SWIG_As_int(obj1
);
9295 if (PyErr_Occurred()) SWIG_fail
;
9296 arg3
= (int)SWIG_As_int(obj2
);
9297 if (PyErr_Occurred()) SWIG_fail
;
9299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9300 (arg1
)->Create(arg2
,arg3
);
9302 wxPyEndAllowThreads(__tstate
);
9303 if (PyErr_Occurred()) SWIG_fail
;
9305 Py_INCREF(Py_None
); resultobj
= Py_None
;
9312 static PyObject
*_wrap_Image_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9313 PyObject
*resultobj
;
9314 wxImage
*arg1
= (wxImage
*) 0 ;
9315 PyObject
* obj0
= 0 ;
9317 (char *) "self", NULL
9320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Destroy",kwnames
,&obj0
)) goto fail
;
9321 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9322 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9327 wxPyEndAllowThreads(__tstate
);
9328 if (PyErr_Occurred()) SWIG_fail
;
9330 Py_INCREF(Py_None
); resultobj
= Py_None
;
9337 static PyObject
*_wrap_Image_Scale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9338 PyObject
*resultobj
;
9339 wxImage
*arg1
= (wxImage
*) 0 ;
9342 SwigValueWrapper
< wxImage
> result
;
9343 PyObject
* obj0
= 0 ;
9344 PyObject
* obj1
= 0 ;
9345 PyObject
* obj2
= 0 ;
9347 (char *) "self",(char *) "width",(char *) "height", NULL
9350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9351 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9352 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9353 arg2
= (int)SWIG_As_int(obj1
);
9354 if (PyErr_Occurred()) SWIG_fail
;
9355 arg3
= (int)SWIG_As_int(obj2
);
9356 if (PyErr_Occurred()) SWIG_fail
;
9358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9359 result
= (arg1
)->Scale(arg2
,arg3
);
9361 wxPyEndAllowThreads(__tstate
);
9362 if (PyErr_Occurred()) SWIG_fail
;
9365 wxImage
* resultptr
;
9366 resultptr
= new wxImage((wxImage
&) result
);
9367 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
9375 static PyObject
*_wrap_Image_ShrinkBy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9376 PyObject
*resultobj
;
9377 wxImage
*arg1
= (wxImage
*) 0 ;
9380 SwigValueWrapper
< wxImage
> result
;
9381 PyObject
* obj0
= 0 ;
9382 PyObject
* obj1
= 0 ;
9383 PyObject
* obj2
= 0 ;
9385 (char *) "self",(char *) "xFactor",(char *) "yFactor", NULL
9388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_ShrinkBy",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9389 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9391 arg2
= (int)SWIG_As_int(obj1
);
9392 if (PyErr_Occurred()) SWIG_fail
;
9393 arg3
= (int)SWIG_As_int(obj2
);
9394 if (PyErr_Occurred()) SWIG_fail
;
9396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9397 result
= ((wxImage
const *)arg1
)->ShrinkBy(arg2
,arg3
);
9399 wxPyEndAllowThreads(__tstate
);
9400 if (PyErr_Occurred()) SWIG_fail
;
9403 wxImage
* resultptr
;
9404 resultptr
= new wxImage((wxImage
&) result
);
9405 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
9413 static PyObject
*_wrap_Image_Rescale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9414 PyObject
*resultobj
;
9415 wxImage
*arg1
= (wxImage
*) 0 ;
9419 PyObject
* obj0
= 0 ;
9420 PyObject
* obj1
= 0 ;
9421 PyObject
* obj2
= 0 ;
9423 (char *) "self",(char *) "width",(char *) "height", NULL
9426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Rescale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9427 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9428 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9429 arg2
= (int)SWIG_As_int(obj1
);
9430 if (PyErr_Occurred()) SWIG_fail
;
9431 arg3
= (int)SWIG_As_int(obj2
);
9432 if (PyErr_Occurred()) SWIG_fail
;
9434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9436 wxImage
&_result_ref
= (arg1
)->Rescale(arg2
,arg3
);
9437 result
= (wxImage
*) &_result_ref
;
9440 wxPyEndAllowThreads(__tstate
);
9441 if (PyErr_Occurred()) SWIG_fail
;
9443 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 0);
9450 static PyObject
*_wrap_Image_SetRGB(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9451 PyObject
*resultobj
;
9452 wxImage
*arg1
= (wxImage
*) 0 ;
9455 unsigned char arg4
;
9456 unsigned char arg5
;
9457 unsigned char arg6
;
9458 PyObject
* obj0
= 0 ;
9459 PyObject
* obj1
= 0 ;
9460 PyObject
* obj2
= 0 ;
9461 PyObject
* obj3
= 0 ;
9462 PyObject
* obj4
= 0 ;
9463 PyObject
* obj5
= 0 ;
9465 (char *) "self",(char *) "x",(char *) "y",(char *) "r",(char *) "g",(char *) "b", NULL
9468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Image_SetRGB",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9471 arg2
= (int)SWIG_As_int(obj1
);
9472 if (PyErr_Occurred()) SWIG_fail
;
9473 arg3
= (int)SWIG_As_int(obj2
);
9474 if (PyErr_Occurred()) SWIG_fail
;
9475 arg4
= (unsigned char)SWIG_As_unsigned_SS_char(obj3
);
9476 if (PyErr_Occurred()) SWIG_fail
;
9477 arg5
= (unsigned char)SWIG_As_unsigned_SS_char(obj4
);
9478 if (PyErr_Occurred()) SWIG_fail
;
9479 arg6
= (unsigned char)SWIG_As_unsigned_SS_char(obj5
);
9480 if (PyErr_Occurred()) SWIG_fail
;
9482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9483 (arg1
)->SetRGB(arg2
,arg3
,arg4
,arg5
,arg6
);
9485 wxPyEndAllowThreads(__tstate
);
9486 if (PyErr_Occurred()) SWIG_fail
;
9488 Py_INCREF(Py_None
); resultobj
= Py_None
;
9495 static PyObject
*_wrap_Image_GetRed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9496 PyObject
*resultobj
;
9497 wxImage
*arg1
= (wxImage
*) 0 ;
9500 unsigned char result
;
9501 PyObject
* obj0
= 0 ;
9502 PyObject
* obj1
= 0 ;
9503 PyObject
* obj2
= 0 ;
9505 (char *) "self",(char *) "x",(char *) "y", NULL
9508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetRed",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9509 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9510 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9511 arg2
= (int)SWIG_As_int(obj1
);
9512 if (PyErr_Occurred()) SWIG_fail
;
9513 arg3
= (int)SWIG_As_int(obj2
);
9514 if (PyErr_Occurred()) SWIG_fail
;
9516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9517 result
= (unsigned char)(arg1
)->GetRed(arg2
,arg3
);
9519 wxPyEndAllowThreads(__tstate
);
9520 if (PyErr_Occurred()) SWIG_fail
;
9522 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)result
);
9529 static PyObject
*_wrap_Image_GetGreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9530 PyObject
*resultobj
;
9531 wxImage
*arg1
= (wxImage
*) 0 ;
9534 unsigned char result
;
9535 PyObject
* obj0
= 0 ;
9536 PyObject
* obj1
= 0 ;
9537 PyObject
* obj2
= 0 ;
9539 (char *) "self",(char *) "x",(char *) "y", NULL
9542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetGreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9543 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9544 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9545 arg2
= (int)SWIG_As_int(obj1
);
9546 if (PyErr_Occurred()) SWIG_fail
;
9547 arg3
= (int)SWIG_As_int(obj2
);
9548 if (PyErr_Occurred()) SWIG_fail
;
9550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9551 result
= (unsigned char)(arg1
)->GetGreen(arg2
,arg3
);
9553 wxPyEndAllowThreads(__tstate
);
9554 if (PyErr_Occurred()) SWIG_fail
;
9556 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)result
);
9563 static PyObject
*_wrap_Image_GetBlue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9564 PyObject
*resultobj
;
9565 wxImage
*arg1
= (wxImage
*) 0 ;
9568 unsigned char result
;
9569 PyObject
* obj0
= 0 ;
9570 PyObject
* obj1
= 0 ;
9571 PyObject
* obj2
= 0 ;
9573 (char *) "self",(char *) "x",(char *) "y", NULL
9576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetBlue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9577 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9578 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9579 arg2
= (int)SWIG_As_int(obj1
);
9580 if (PyErr_Occurred()) SWIG_fail
;
9581 arg3
= (int)SWIG_As_int(obj2
);
9582 if (PyErr_Occurred()) SWIG_fail
;
9584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9585 result
= (unsigned char)(arg1
)->GetBlue(arg2
,arg3
);
9587 wxPyEndAllowThreads(__tstate
);
9588 if (PyErr_Occurred()) SWIG_fail
;
9590 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)result
);
9597 static PyObject
*_wrap_Image_SetAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9598 PyObject
*resultobj
;
9599 wxImage
*arg1
= (wxImage
*) 0 ;
9602 unsigned char arg4
;
9603 PyObject
* obj0
= 0 ;
9604 PyObject
* obj1
= 0 ;
9605 PyObject
* obj2
= 0 ;
9606 PyObject
* obj3
= 0 ;
9608 (char *) "self",(char *) "x",(char *) "y",(char *) "alpha", NULL
9611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9612 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9613 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9614 arg2
= (int)SWIG_As_int(obj1
);
9615 if (PyErr_Occurred()) SWIG_fail
;
9616 arg3
= (int)SWIG_As_int(obj2
);
9617 if (PyErr_Occurred()) SWIG_fail
;
9618 arg4
= (unsigned char)SWIG_As_unsigned_SS_char(obj3
);
9619 if (PyErr_Occurred()) SWIG_fail
;
9621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9622 (arg1
)->SetAlpha(arg2
,arg3
,arg4
);
9624 wxPyEndAllowThreads(__tstate
);
9625 if (PyErr_Occurred()) SWIG_fail
;
9627 Py_INCREF(Py_None
); resultobj
= Py_None
;
9634 static PyObject
*_wrap_Image_GetAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9635 PyObject
*resultobj
;
9636 wxImage
*arg1
= (wxImage
*) 0 ;
9639 unsigned char result
;
9640 PyObject
* obj0
= 0 ;
9641 PyObject
* obj1
= 0 ;
9642 PyObject
* obj2
= 0 ;
9644 (char *) "self",(char *) "x",(char *) "y", NULL
9647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetAlpha",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9650 arg2
= (int)SWIG_As_int(obj1
);
9651 if (PyErr_Occurred()) SWIG_fail
;
9652 arg3
= (int)SWIG_As_int(obj2
);
9653 if (PyErr_Occurred()) SWIG_fail
;
9655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9656 result
= (unsigned char)(arg1
)->GetAlpha(arg2
,arg3
);
9658 wxPyEndAllowThreads(__tstate
);
9659 if (PyErr_Occurred()) SWIG_fail
;
9661 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)result
);
9668 static PyObject
*_wrap_Image_HasAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9669 PyObject
*resultobj
;
9670 wxImage
*arg1
= (wxImage
*) 0 ;
9672 PyObject
* obj0
= 0 ;
9674 (char *) "self", NULL
9677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HasAlpha",kwnames
,&obj0
)) goto fail
;
9678 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9679 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9682 result
= (bool)(arg1
)->HasAlpha();
9684 wxPyEndAllowThreads(__tstate
);
9685 if (PyErr_Occurred()) SWIG_fail
;
9688 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9696 static PyObject
*_wrap_Image_FindFirstUnusedColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9697 PyObject
*resultobj
;
9698 wxImage
*arg1
= (wxImage
*) 0 ;
9699 byte
*arg2
= (byte
*) 0 ;
9700 byte
*arg3
= (byte
*) 0 ;
9701 byte
*arg4
= (byte
*) 0 ;
9702 byte arg5
= (byte
) 0 ;
9703 byte arg6
= (byte
) 0 ;
9704 byte arg7
= (byte
) 0 ;
9712 PyObject
* obj0
= 0 ;
9713 PyObject
* obj1
= 0 ;
9714 PyObject
* obj2
= 0 ;
9715 PyObject
* obj3
= 0 ;
9717 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
9720 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
9721 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
9722 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
9723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Image_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9724 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9727 arg5
= (byte
)SWIG_As_unsigned_SS_char(obj1
);
9728 if (PyErr_Occurred()) SWIG_fail
;
9731 arg6
= (byte
)SWIG_As_unsigned_SS_char(obj2
);
9732 if (PyErr_Occurred()) SWIG_fail
;
9735 arg7
= (byte
)SWIG_As_unsigned_SS_char(obj3
);
9736 if (PyErr_Occurred()) SWIG_fail
;
9739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9740 result
= (bool)((wxImage
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
9742 wxPyEndAllowThreads(__tstate
);
9743 if (PyErr_Occurred()) SWIG_fail
;
9746 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9748 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
9749 SWIG_From_unsigned_SS_char((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_byte
, 0)));
9750 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
9751 SWIG_From_unsigned_SS_char((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_byte
, 0)));
9752 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
9753 SWIG_From_unsigned_SS_char((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_byte
, 0)));
9760 static PyObject
*_wrap_Image_ConvertAlphaToMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9761 PyObject
*resultobj
;
9762 wxImage
*arg1
= (wxImage
*) 0 ;
9763 byte arg2
= (byte
) 128 ;
9765 PyObject
* obj0
= 0 ;
9766 PyObject
* obj1
= 0 ;
9768 (char *) "self",(char *) "threshold", NULL
9771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_ConvertAlphaToMask",kwnames
,&obj0
,&obj1
)) goto fail
;
9772 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9775 arg2
= (byte
)SWIG_As_unsigned_SS_char(obj1
);
9776 if (PyErr_Occurred()) SWIG_fail
;
9779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9780 result
= (bool)(arg1
)->ConvertAlphaToMask(arg2
);
9782 wxPyEndAllowThreads(__tstate
);
9783 if (PyErr_Occurred()) SWIG_fail
;
9786 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9794 static PyObject
*_wrap_Image_ConvertColourToAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9795 PyObject
*resultobj
;
9796 wxImage
*arg1
= (wxImage
*) 0 ;
9797 unsigned char arg2
;
9798 unsigned char arg3
;
9799 unsigned char arg4
;
9801 PyObject
* obj0
= 0 ;
9802 PyObject
* obj1
= 0 ;
9803 PyObject
* obj2
= 0 ;
9804 PyObject
* obj3
= 0 ;
9806 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
9809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertColourToAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9810 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9812 arg2
= (unsigned char)SWIG_As_unsigned_SS_char(obj1
);
9813 if (PyErr_Occurred()) SWIG_fail
;
9814 arg3
= (unsigned char)SWIG_As_unsigned_SS_char(obj2
);
9815 if (PyErr_Occurred()) SWIG_fail
;
9816 arg4
= (unsigned char)SWIG_As_unsigned_SS_char(obj3
);
9817 if (PyErr_Occurred()) SWIG_fail
;
9819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9820 result
= (bool)(arg1
)->ConvertColourToAlpha(arg2
,arg3
,arg4
);
9822 wxPyEndAllowThreads(__tstate
);
9823 if (PyErr_Occurred()) SWIG_fail
;
9826 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9834 static PyObject
*_wrap_Image_SetMaskFromImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9835 PyObject
*resultobj
;
9836 wxImage
*arg1
= (wxImage
*) 0 ;
9842 PyObject
* obj0
= 0 ;
9843 PyObject
* obj1
= 0 ;
9844 PyObject
* obj2
= 0 ;
9845 PyObject
* obj3
= 0 ;
9846 PyObject
* obj4
= 0 ;
9848 (char *) "self",(char *) "mask",(char *) "mr",(char *) "mg",(char *) "mb", NULL
9851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Image_SetMaskFromImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
9852 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9854 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImage
,
9855 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9858 PyErr_SetString(PyExc_TypeError
,"null reference");
9861 arg3
= (byte
)SWIG_As_unsigned_SS_char(obj2
);
9862 if (PyErr_Occurred()) SWIG_fail
;
9863 arg4
= (byte
)SWIG_As_unsigned_SS_char(obj3
);
9864 if (PyErr_Occurred()) SWIG_fail
;
9865 arg5
= (byte
)SWIG_As_unsigned_SS_char(obj4
);
9866 if (PyErr_Occurred()) SWIG_fail
;
9868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9869 result
= (bool)(arg1
)->SetMaskFromImage((wxImage
const &)*arg2
,arg3
,arg4
,arg5
);
9871 wxPyEndAllowThreads(__tstate
);
9872 if (PyErr_Occurred()) SWIG_fail
;
9875 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9883 static PyObject
*_wrap_Image_CanRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9884 PyObject
*resultobj
;
9885 wxString
*arg1
= 0 ;
9887 bool temp1
= false ;
9888 PyObject
* obj0
= 0 ;
9890 (char *) "name", NULL
9893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanRead",kwnames
,&obj0
)) goto fail
;
9895 arg1
= wxString_in_helper(obj0
);
9896 if (arg1
== NULL
) SWIG_fail
;
9900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9901 result
= (bool)wxImage::CanRead((wxString
const &)*arg1
);
9903 wxPyEndAllowThreads(__tstate
);
9904 if (PyErr_Occurred()) SWIG_fail
;
9907 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9923 static PyObject
*_wrap_Image_GetImageCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9924 PyObject
*resultobj
;
9925 wxString
*arg1
= 0 ;
9926 long arg2
= (long) wxBITMAP_TYPE_ANY
;
9928 bool temp1
= false ;
9929 PyObject
* obj0
= 0 ;
9930 PyObject
* obj1
= 0 ;
9932 (char *) "name",(char *) "type", NULL
9935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_GetImageCount",kwnames
,&obj0
,&obj1
)) goto fail
;
9937 arg1
= wxString_in_helper(obj0
);
9938 if (arg1
== NULL
) SWIG_fail
;
9942 arg2
= (long)SWIG_As_long(obj1
);
9943 if (PyErr_Occurred()) SWIG_fail
;
9946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9947 result
= (int)wxImage::GetImageCount((wxString
const &)*arg1
,arg2
);
9949 wxPyEndAllowThreads(__tstate
);
9950 if (PyErr_Occurred()) SWIG_fail
;
9952 resultobj
= SWIG_From_int((int)result
);
9967 static PyObject
*_wrap_Image_LoadFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9968 PyObject
*resultobj
;
9969 wxImage
*arg1
= (wxImage
*) 0 ;
9970 wxString
*arg2
= 0 ;
9971 long arg3
= (long) wxBITMAP_TYPE_ANY
;
9972 int arg4
= (int) -1 ;
9974 bool temp2
= false ;
9975 PyObject
* obj0
= 0 ;
9976 PyObject
* obj1
= 0 ;
9977 PyObject
* obj2
= 0 ;
9978 PyObject
* obj3
= 0 ;
9980 (char *) "self",(char *) "name",(char *) "type",(char *) "index", NULL
9983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9984 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9985 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9987 arg2
= wxString_in_helper(obj1
);
9988 if (arg2
== NULL
) SWIG_fail
;
9992 arg3
= (long)SWIG_As_long(obj2
);
9993 if (PyErr_Occurred()) SWIG_fail
;
9996 arg4
= (int)SWIG_As_int(obj3
);
9997 if (PyErr_Occurred()) SWIG_fail
;
10000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10001 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
,arg4
);
10003 wxPyEndAllowThreads(__tstate
);
10004 if (PyErr_Occurred()) SWIG_fail
;
10007 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10023 static PyObject
*_wrap_Image_LoadMimeFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10024 PyObject
*resultobj
;
10025 wxImage
*arg1
= (wxImage
*) 0 ;
10026 wxString
*arg2
= 0 ;
10027 wxString
*arg3
= 0 ;
10028 int arg4
= (int) -1 ;
10030 bool temp2
= false ;
10031 bool temp3
= false ;
10032 PyObject
* obj0
= 0 ;
10033 PyObject
* obj1
= 0 ;
10034 PyObject
* obj2
= 0 ;
10035 PyObject
* obj3
= 0 ;
10036 char *kwnames
[] = {
10037 (char *) "self",(char *) "name",(char *) "mimetype",(char *) "index", NULL
10040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10041 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10042 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10044 arg2
= wxString_in_helper(obj1
);
10045 if (arg2
== NULL
) SWIG_fail
;
10049 arg3
= wxString_in_helper(obj2
);
10050 if (arg3
== NULL
) SWIG_fail
;
10054 arg4
= (int)SWIG_As_int(obj3
);
10055 if (PyErr_Occurred()) SWIG_fail
;
10058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10059 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
10061 wxPyEndAllowThreads(__tstate
);
10062 if (PyErr_Occurred()) SWIG_fail
;
10065 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10089 static PyObject
*_wrap_Image_SaveFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10090 PyObject
*resultobj
;
10091 wxImage
*arg1
= (wxImage
*) 0 ;
10092 wxString
*arg2
= 0 ;
10095 bool temp2
= false ;
10096 PyObject
* obj0
= 0 ;
10097 PyObject
* obj1
= 0 ;
10098 PyObject
* obj2
= 0 ;
10099 char *kwnames
[] = {
10100 (char *) "self",(char *) "name",(char *) "type", NULL
10103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10104 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10105 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10107 arg2
= wxString_in_helper(obj1
);
10108 if (arg2
== NULL
) SWIG_fail
;
10111 arg3
= (int)SWIG_As_int(obj2
);
10112 if (PyErr_Occurred()) SWIG_fail
;
10114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10115 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
);
10117 wxPyEndAllowThreads(__tstate
);
10118 if (PyErr_Occurred()) SWIG_fail
;
10121 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10137 static PyObject
*_wrap_Image_SaveMimeFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10138 PyObject
*resultobj
;
10139 wxImage
*arg1
= (wxImage
*) 0 ;
10140 wxString
*arg2
= 0 ;
10141 wxString
*arg3
= 0 ;
10143 bool temp2
= false ;
10144 bool temp3
= false ;
10145 PyObject
* obj0
= 0 ;
10146 PyObject
* obj1
= 0 ;
10147 PyObject
* obj2
= 0 ;
10148 char *kwnames
[] = {
10149 (char *) "self",(char *) "name",(char *) "mimetype", NULL
10152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveMimeFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10153 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10154 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10156 arg2
= wxString_in_helper(obj1
);
10157 if (arg2
== NULL
) SWIG_fail
;
10161 arg3
= wxString_in_helper(obj2
);
10162 if (arg3
== NULL
) SWIG_fail
;
10166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10167 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,(wxString
const &)*arg3
);
10169 wxPyEndAllowThreads(__tstate
);
10170 if (PyErr_Occurred()) SWIG_fail
;
10173 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10197 static PyObject
*_wrap_Image_CanReadStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10198 PyObject
*resultobj
;
10199 wxInputStream
*arg1
= 0 ;
10201 wxPyInputStream
*temp1
;
10203 PyObject
* obj0
= 0 ;
10204 char *kwnames
[] = {
10205 (char *) "stream", NULL
10208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanReadStream",kwnames
,&obj0
)) goto fail
;
10210 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
10211 arg1
= temp1
->m_wxis
;
10214 PyErr_Clear(); // clear the failure of the wxPyConvert above
10215 arg1
= wxPyCBInputStream_create(obj0
, false);
10216 if (arg1
== NULL
) {
10217 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
10224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10225 result
= (bool)wxImage::CanRead(*arg1
);
10227 wxPyEndAllowThreads(__tstate
);
10228 if (PyErr_Occurred()) SWIG_fail
;
10231 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10247 static PyObject
*_wrap_Image_LoadStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10248 PyObject
*resultobj
;
10249 wxImage
*arg1
= (wxImage
*) 0 ;
10250 wxInputStream
*arg2
= 0 ;
10251 long arg3
= (long) wxBITMAP_TYPE_ANY
;
10252 int arg4
= (int) -1 ;
10254 wxPyInputStream
*temp2
;
10256 PyObject
* obj0
= 0 ;
10257 PyObject
* obj1
= 0 ;
10258 PyObject
* obj2
= 0 ;
10259 PyObject
* obj3
= 0 ;
10260 char *kwnames
[] = {
10261 (char *) "self",(char *) "stream",(char *) "type",(char *) "index", NULL
10264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10268 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
10269 arg2
= temp2
->m_wxis
;
10272 PyErr_Clear(); // clear the failure of the wxPyConvert above
10273 arg2
= wxPyCBInputStream_create(obj1
, false);
10274 if (arg2
== NULL
) {
10275 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
10282 arg3
= (long)SWIG_As_long(obj2
);
10283 if (PyErr_Occurred()) SWIG_fail
;
10286 arg4
= (int)SWIG_As_int(obj3
);
10287 if (PyErr_Occurred()) SWIG_fail
;
10290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10291 result
= (bool)(arg1
)->LoadFile(*arg2
,arg3
,arg4
);
10293 wxPyEndAllowThreads(__tstate
);
10294 if (PyErr_Occurred()) SWIG_fail
;
10297 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10313 static PyObject
*_wrap_Image_LoadMimeStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10314 PyObject
*resultobj
;
10315 wxImage
*arg1
= (wxImage
*) 0 ;
10316 wxInputStream
*arg2
= 0 ;
10317 wxString
*arg3
= 0 ;
10318 int arg4
= (int) -1 ;
10320 wxPyInputStream
*temp2
;
10322 bool temp3
= false ;
10323 PyObject
* obj0
= 0 ;
10324 PyObject
* obj1
= 0 ;
10325 PyObject
* obj2
= 0 ;
10326 PyObject
* obj3
= 0 ;
10327 char *kwnames
[] = {
10328 (char *) "self",(char *) "stream",(char *) "mimetype",(char *) "index", NULL
10331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10332 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10333 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10335 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
10336 arg2
= temp2
->m_wxis
;
10339 PyErr_Clear(); // clear the failure of the wxPyConvert above
10340 arg2
= wxPyCBInputStream_create(obj1
, false);
10341 if (arg2
== NULL
) {
10342 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
10349 arg3
= wxString_in_helper(obj2
);
10350 if (arg3
== NULL
) SWIG_fail
;
10354 arg4
= (int)SWIG_As_int(obj3
);
10355 if (PyErr_Occurred()) SWIG_fail
;
10358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10359 result
= (bool)(arg1
)->LoadFile(*arg2
,(wxString
const &)*arg3
,arg4
);
10361 wxPyEndAllowThreads(__tstate
);
10362 if (PyErr_Occurred()) SWIG_fail
;
10365 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10389 static PyObject
*_wrap_Image_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10390 PyObject
*resultobj
;
10391 wxImage
*arg1
= (wxImage
*) 0 ;
10393 PyObject
* obj0
= 0 ;
10394 char *kwnames
[] = {
10395 (char *) "self", NULL
10398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Ok",kwnames
,&obj0
)) goto fail
;
10399 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10403 result
= (bool)(arg1
)->Ok();
10405 wxPyEndAllowThreads(__tstate
);
10406 if (PyErr_Occurred()) SWIG_fail
;
10409 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10417 static PyObject
*_wrap_Image_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10418 PyObject
*resultobj
;
10419 wxImage
*arg1
= (wxImage
*) 0 ;
10421 PyObject
* obj0
= 0 ;
10422 char *kwnames
[] = {
10423 (char *) "self", NULL
10426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetWidth",kwnames
,&obj0
)) goto fail
;
10427 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10428 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10431 result
= (int)(arg1
)->GetWidth();
10433 wxPyEndAllowThreads(__tstate
);
10434 if (PyErr_Occurred()) SWIG_fail
;
10436 resultobj
= SWIG_From_int((int)result
);
10443 static PyObject
*_wrap_Image_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10444 PyObject
*resultobj
;
10445 wxImage
*arg1
= (wxImage
*) 0 ;
10447 PyObject
* obj0
= 0 ;
10448 char *kwnames
[] = {
10449 (char *) "self", NULL
10452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetHeight",kwnames
,&obj0
)) goto fail
;
10453 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10457 result
= (int)(arg1
)->GetHeight();
10459 wxPyEndAllowThreads(__tstate
);
10460 if (PyErr_Occurred()) SWIG_fail
;
10462 resultobj
= SWIG_From_int((int)result
);
10469 static PyObject
*_wrap_Image_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10470 PyObject
*resultobj
;
10471 wxImage
*arg1
= (wxImage
*) 0 ;
10473 PyObject
* obj0
= 0 ;
10474 char *kwnames
[] = {
10475 (char *) "self", NULL
10478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetSize",kwnames
,&obj0
)) goto fail
;
10479 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10480 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10483 result
= wxImage_GetSize(arg1
);
10485 wxPyEndAllowThreads(__tstate
);
10486 if (PyErr_Occurred()) SWIG_fail
;
10489 wxSize
* resultptr
;
10490 resultptr
= new wxSize((wxSize
&) result
);
10491 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
10499 static PyObject
*_wrap_Image_GetSubImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10500 PyObject
*resultobj
;
10501 wxImage
*arg1
= (wxImage
*) 0 ;
10503 SwigValueWrapper
< wxImage
> result
;
10505 PyObject
* obj0
= 0 ;
10506 PyObject
* obj1
= 0 ;
10507 char *kwnames
[] = {
10508 (char *) "self",(char *) "rect", NULL
10511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetSubImage",kwnames
,&obj0
,&obj1
)) goto fail
;
10512 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10513 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10516 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10520 result
= (arg1
)->GetSubImage((wxRect
const &)*arg2
);
10522 wxPyEndAllowThreads(__tstate
);
10523 if (PyErr_Occurred()) SWIG_fail
;
10526 wxImage
* resultptr
;
10527 resultptr
= new wxImage((wxImage
&) result
);
10528 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10536 static PyObject
*_wrap_Image_Copy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10537 PyObject
*resultobj
;
10538 wxImage
*arg1
= (wxImage
*) 0 ;
10539 SwigValueWrapper
< wxImage
> result
;
10540 PyObject
* obj0
= 0 ;
10541 char *kwnames
[] = {
10542 (char *) "self", NULL
10545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Copy",kwnames
,&obj0
)) goto fail
;
10546 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10550 result
= (arg1
)->Copy();
10552 wxPyEndAllowThreads(__tstate
);
10553 if (PyErr_Occurred()) SWIG_fail
;
10556 wxImage
* resultptr
;
10557 resultptr
= new wxImage((wxImage
&) result
);
10558 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10566 static PyObject
*_wrap_Image_Paste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10567 PyObject
*resultobj
;
10568 wxImage
*arg1
= (wxImage
*) 0 ;
10569 wxImage
*arg2
= 0 ;
10572 PyObject
* obj0
= 0 ;
10573 PyObject
* obj1
= 0 ;
10574 PyObject
* obj2
= 0 ;
10575 PyObject
* obj3
= 0 ;
10576 char *kwnames
[] = {
10577 (char *) "self",(char *) "image",(char *) "x",(char *) "y", NULL
10580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_Paste",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10581 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10583 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImage
,
10584 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10586 if (arg2
== NULL
) {
10587 PyErr_SetString(PyExc_TypeError
,"null reference");
10590 arg3
= (int)SWIG_As_int(obj2
);
10591 if (PyErr_Occurred()) SWIG_fail
;
10592 arg4
= (int)SWIG_As_int(obj3
);
10593 if (PyErr_Occurred()) SWIG_fail
;
10595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10596 (arg1
)->Paste((wxImage
const &)*arg2
,arg3
,arg4
);
10598 wxPyEndAllowThreads(__tstate
);
10599 if (PyErr_Occurred()) SWIG_fail
;
10601 Py_INCREF(Py_None
); resultobj
= Py_None
;
10608 static PyObject
*_wrap_Image_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10609 PyObject
*resultobj
;
10610 wxImage
*arg1
= (wxImage
*) 0 ;
10612 PyObject
* obj0
= 0 ;
10613 char *kwnames
[] = {
10614 (char *) "self", NULL
10617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetData",kwnames
,&obj0
)) goto fail
;
10618 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10622 result
= (PyObject
*)wxImage_GetData(arg1
);
10624 wxPyEndAllowThreads(__tstate
);
10625 if (PyErr_Occurred()) SWIG_fail
;
10627 resultobj
= result
;
10634 static PyObject
*_wrap_Image_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10635 PyObject
*resultobj
;
10636 wxImage
*arg1
= (wxImage
*) 0 ;
10637 PyObject
*arg2
= (PyObject
*) 0 ;
10638 PyObject
* obj0
= 0 ;
10639 PyObject
* obj1
= 0 ;
10640 char *kwnames
[] = {
10641 (char *) "self",(char *) "data", NULL
10644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
10645 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10646 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10650 wxImage_SetData(arg1
,arg2
);
10652 wxPyEndAllowThreads(__tstate
);
10653 if (PyErr_Occurred()) SWIG_fail
;
10655 Py_INCREF(Py_None
); resultobj
= Py_None
;
10662 static PyObject
*_wrap_Image_GetDataBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10663 PyObject
*resultobj
;
10664 wxImage
*arg1
= (wxImage
*) 0 ;
10666 PyObject
* obj0
= 0 ;
10667 char *kwnames
[] = {
10668 (char *) "self", NULL
10671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetDataBuffer",kwnames
,&obj0
)) goto fail
;
10672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10676 result
= (PyObject
*)wxImage_GetDataBuffer(arg1
);
10678 wxPyEndAllowThreads(__tstate
);
10679 if (PyErr_Occurred()) SWIG_fail
;
10681 resultobj
= result
;
10688 static PyObject
*_wrap_Image_SetDataBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10689 PyObject
*resultobj
;
10690 wxImage
*arg1
= (wxImage
*) 0 ;
10691 PyObject
*arg2
= (PyObject
*) 0 ;
10692 PyObject
* obj0
= 0 ;
10693 PyObject
* obj1
= 0 ;
10694 char *kwnames
[] = {
10695 (char *) "self",(char *) "data", NULL
10698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetDataBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
10699 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10700 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10704 wxImage_SetDataBuffer(arg1
,arg2
);
10706 wxPyEndAllowThreads(__tstate
);
10707 if (PyErr_Occurred()) SWIG_fail
;
10709 Py_INCREF(Py_None
); resultobj
= Py_None
;
10716 static PyObject
*_wrap_Image_GetAlphaData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10717 PyObject
*resultobj
;
10718 wxImage
*arg1
= (wxImage
*) 0 ;
10720 PyObject
* obj0
= 0 ;
10721 char *kwnames
[] = {
10722 (char *) "self", NULL
10725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaData",kwnames
,&obj0
)) goto fail
;
10726 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10727 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10730 result
= (PyObject
*)wxImage_GetAlphaData(arg1
);
10732 wxPyEndAllowThreads(__tstate
);
10733 if (PyErr_Occurred()) SWIG_fail
;
10735 resultobj
= result
;
10742 static PyObject
*_wrap_Image_SetAlphaData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10743 PyObject
*resultobj
;
10744 wxImage
*arg1
= (wxImage
*) 0 ;
10745 PyObject
*arg2
= (PyObject
*) 0 ;
10746 PyObject
* obj0
= 0 ;
10747 PyObject
* obj1
= 0 ;
10748 char *kwnames
[] = {
10749 (char *) "self",(char *) "data", NULL
10752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaData",kwnames
,&obj0
,&obj1
)) goto fail
;
10753 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10754 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10758 wxImage_SetAlphaData(arg1
,arg2
);
10760 wxPyEndAllowThreads(__tstate
);
10761 if (PyErr_Occurred()) SWIG_fail
;
10763 Py_INCREF(Py_None
); resultobj
= Py_None
;
10770 static PyObject
*_wrap_Image_GetAlphaBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10771 PyObject
*resultobj
;
10772 wxImage
*arg1
= (wxImage
*) 0 ;
10774 PyObject
* obj0
= 0 ;
10775 char *kwnames
[] = {
10776 (char *) "self", NULL
10779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaBuffer",kwnames
,&obj0
)) goto fail
;
10780 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10781 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10784 result
= (PyObject
*)wxImage_GetAlphaBuffer(arg1
);
10786 wxPyEndAllowThreads(__tstate
);
10787 if (PyErr_Occurred()) SWIG_fail
;
10789 resultobj
= result
;
10796 static PyObject
*_wrap_Image_SetAlphaBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10797 PyObject
*resultobj
;
10798 wxImage
*arg1
= (wxImage
*) 0 ;
10799 PyObject
*arg2
= (PyObject
*) 0 ;
10800 PyObject
* obj0
= 0 ;
10801 PyObject
* obj1
= 0 ;
10802 char *kwnames
[] = {
10803 (char *) "self",(char *) "data", NULL
10806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
10807 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10812 wxImage_SetAlphaBuffer(arg1
,arg2
);
10814 wxPyEndAllowThreads(__tstate
);
10815 if (PyErr_Occurred()) SWIG_fail
;
10817 Py_INCREF(Py_None
); resultobj
= Py_None
;
10824 static PyObject
*_wrap_Image_SetMaskColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10825 PyObject
*resultobj
;
10826 wxImage
*arg1
= (wxImage
*) 0 ;
10827 unsigned char arg2
;
10828 unsigned char arg3
;
10829 unsigned char arg4
;
10830 PyObject
* obj0
= 0 ;
10831 PyObject
* obj1
= 0 ;
10832 PyObject
* obj2
= 0 ;
10833 PyObject
* obj3
= 0 ;
10834 char *kwnames
[] = {
10835 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
10838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetMaskColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10839 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10840 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10841 arg2
= (unsigned char)SWIG_As_unsigned_SS_char(obj1
);
10842 if (PyErr_Occurred()) SWIG_fail
;
10843 arg3
= (unsigned char)SWIG_As_unsigned_SS_char(obj2
);
10844 if (PyErr_Occurred()) SWIG_fail
;
10845 arg4
= (unsigned char)SWIG_As_unsigned_SS_char(obj3
);
10846 if (PyErr_Occurred()) SWIG_fail
;
10848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10849 (arg1
)->SetMaskColour(arg2
,arg3
,arg4
);
10851 wxPyEndAllowThreads(__tstate
);
10852 if (PyErr_Occurred()) SWIG_fail
;
10854 Py_INCREF(Py_None
); resultobj
= Py_None
;
10861 static PyObject
*_wrap_Image_GetMaskRed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10862 PyObject
*resultobj
;
10863 wxImage
*arg1
= (wxImage
*) 0 ;
10864 unsigned char result
;
10865 PyObject
* obj0
= 0 ;
10866 char *kwnames
[] = {
10867 (char *) "self", NULL
10870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskRed",kwnames
,&obj0
)) goto fail
;
10871 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10872 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10875 result
= (unsigned char)(arg1
)->GetMaskRed();
10877 wxPyEndAllowThreads(__tstate
);
10878 if (PyErr_Occurred()) SWIG_fail
;
10880 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)result
);
10887 static PyObject
*_wrap_Image_GetMaskGreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10888 PyObject
*resultobj
;
10889 wxImage
*arg1
= (wxImage
*) 0 ;
10890 unsigned char result
;
10891 PyObject
* obj0
= 0 ;
10892 char *kwnames
[] = {
10893 (char *) "self", NULL
10896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskGreen",kwnames
,&obj0
)) goto fail
;
10897 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10898 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10901 result
= (unsigned char)(arg1
)->GetMaskGreen();
10903 wxPyEndAllowThreads(__tstate
);
10904 if (PyErr_Occurred()) SWIG_fail
;
10906 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)result
);
10913 static PyObject
*_wrap_Image_GetMaskBlue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10914 PyObject
*resultobj
;
10915 wxImage
*arg1
= (wxImage
*) 0 ;
10916 unsigned char result
;
10917 PyObject
* obj0
= 0 ;
10918 char *kwnames
[] = {
10919 (char *) "self", NULL
10922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskBlue",kwnames
,&obj0
)) goto fail
;
10923 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10927 result
= (unsigned char)(arg1
)->GetMaskBlue();
10929 wxPyEndAllowThreads(__tstate
);
10930 if (PyErr_Occurred()) SWIG_fail
;
10932 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)result
);
10939 static PyObject
*_wrap_Image_SetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10940 PyObject
*resultobj
;
10941 wxImage
*arg1
= (wxImage
*) 0 ;
10942 bool arg2
= (bool) true ;
10943 PyObject
* obj0
= 0 ;
10944 PyObject
* obj1
= 0 ;
10945 char *kwnames
[] = {
10946 (char *) "self",(char *) "mask", NULL
10949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
10950 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10953 arg2
= (bool)SWIG_As_bool(obj1
);
10954 if (PyErr_Occurred()) SWIG_fail
;
10957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10958 (arg1
)->SetMask(arg2
);
10960 wxPyEndAllowThreads(__tstate
);
10961 if (PyErr_Occurred()) SWIG_fail
;
10963 Py_INCREF(Py_None
); resultobj
= Py_None
;
10970 static PyObject
*_wrap_Image_HasMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10971 PyObject
*resultobj
;
10972 wxImage
*arg1
= (wxImage
*) 0 ;
10974 PyObject
* obj0
= 0 ;
10975 char *kwnames
[] = {
10976 (char *) "self", NULL
10979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HasMask",kwnames
,&obj0
)) goto fail
;
10980 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10981 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10984 result
= (bool)(arg1
)->HasMask();
10986 wxPyEndAllowThreads(__tstate
);
10987 if (PyErr_Occurred()) SWIG_fail
;
10990 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10998 static PyObject
*_wrap_Image_Rotate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10999 PyObject
*resultobj
;
11000 wxImage
*arg1
= (wxImage
*) 0 ;
11002 wxPoint
*arg3
= 0 ;
11003 bool arg4
= (bool) true ;
11004 wxPoint
*arg5
= (wxPoint
*) NULL
;
11005 SwigValueWrapper
< wxImage
> result
;
11007 PyObject
* obj0
= 0 ;
11008 PyObject
* obj1
= 0 ;
11009 PyObject
* obj2
= 0 ;
11010 PyObject
* obj3
= 0 ;
11011 PyObject
* obj4
= 0 ;
11012 char *kwnames
[] = {
11013 (char *) "self",(char *) "angle",(char *) "centre_of_rotation",(char *) "interpolating",(char *) "offset_after_rotation", NULL
11016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Image_Rotate",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11017 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11019 arg2
= (double)SWIG_As_double(obj1
);
11020 if (PyErr_Occurred()) SWIG_fail
;
11023 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11026 arg4
= (bool)SWIG_As_bool(obj3
);
11027 if (PyErr_Occurred()) SWIG_fail
;
11030 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxPoint
,
11031 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11035 result
= ((wxImage
const *)arg1
)->Rotate(arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
11037 wxPyEndAllowThreads(__tstate
);
11038 if (PyErr_Occurred()) SWIG_fail
;
11041 wxImage
* resultptr
;
11042 resultptr
= new wxImage((wxImage
&) result
);
11043 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
11051 static PyObject
*_wrap_Image_Rotate90(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11052 PyObject
*resultobj
;
11053 wxImage
*arg1
= (wxImage
*) 0 ;
11054 bool arg2
= (bool) true ;
11055 SwigValueWrapper
< wxImage
> result
;
11056 PyObject
* obj0
= 0 ;
11057 PyObject
* obj1
= 0 ;
11058 char *kwnames
[] = {
11059 (char *) "self",(char *) "clockwise", NULL
11062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Rotate90",kwnames
,&obj0
,&obj1
)) goto fail
;
11063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11066 arg2
= (bool)SWIG_As_bool(obj1
);
11067 if (PyErr_Occurred()) SWIG_fail
;
11070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11071 result
= (arg1
)->Rotate90(arg2
);
11073 wxPyEndAllowThreads(__tstate
);
11074 if (PyErr_Occurred()) SWIG_fail
;
11077 wxImage
* resultptr
;
11078 resultptr
= new wxImage((wxImage
&) result
);
11079 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
11087 static PyObject
*_wrap_Image_Mirror(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11088 PyObject
*resultobj
;
11089 wxImage
*arg1
= (wxImage
*) 0 ;
11090 bool arg2
= (bool) true ;
11091 SwigValueWrapper
< wxImage
> result
;
11092 PyObject
* obj0
= 0 ;
11093 PyObject
* obj1
= 0 ;
11094 char *kwnames
[] = {
11095 (char *) "self",(char *) "horizontally", NULL
11098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Mirror",kwnames
,&obj0
,&obj1
)) goto fail
;
11099 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11100 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11102 arg2
= (bool)SWIG_As_bool(obj1
);
11103 if (PyErr_Occurred()) SWIG_fail
;
11106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11107 result
= (arg1
)->Mirror(arg2
);
11109 wxPyEndAllowThreads(__tstate
);
11110 if (PyErr_Occurred()) SWIG_fail
;
11113 wxImage
* resultptr
;
11114 resultptr
= new wxImage((wxImage
&) result
);
11115 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
11123 static PyObject
*_wrap_Image_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11124 PyObject
*resultobj
;
11125 wxImage
*arg1
= (wxImage
*) 0 ;
11126 unsigned char arg2
;
11127 unsigned char arg3
;
11128 unsigned char arg4
;
11129 unsigned char arg5
;
11130 unsigned char arg6
;
11131 unsigned char arg7
;
11132 PyObject
* obj0
= 0 ;
11133 PyObject
* obj1
= 0 ;
11134 PyObject
* obj2
= 0 ;
11135 PyObject
* obj3
= 0 ;
11136 PyObject
* obj4
= 0 ;
11137 PyObject
* obj5
= 0 ;
11138 PyObject
* obj6
= 0 ;
11139 char *kwnames
[] = {
11140 (char *) "self",(char *) "r1",(char *) "g1",(char *) "b1",(char *) "r2",(char *) "g2",(char *) "b2", NULL
11143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:Image_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11144 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11145 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11146 arg2
= (unsigned char)SWIG_As_unsigned_SS_char(obj1
);
11147 if (PyErr_Occurred()) SWIG_fail
;
11148 arg3
= (unsigned char)SWIG_As_unsigned_SS_char(obj2
);
11149 if (PyErr_Occurred()) SWIG_fail
;
11150 arg4
= (unsigned char)SWIG_As_unsigned_SS_char(obj3
);
11151 if (PyErr_Occurred()) SWIG_fail
;
11152 arg5
= (unsigned char)SWIG_As_unsigned_SS_char(obj4
);
11153 if (PyErr_Occurred()) SWIG_fail
;
11154 arg6
= (unsigned char)SWIG_As_unsigned_SS_char(obj5
);
11155 if (PyErr_Occurred()) SWIG_fail
;
11156 arg7
= (unsigned char)SWIG_As_unsigned_SS_char(obj6
);
11157 if (PyErr_Occurred()) SWIG_fail
;
11159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11160 (arg1
)->Replace(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
11162 wxPyEndAllowThreads(__tstate
);
11163 if (PyErr_Occurred()) SWIG_fail
;
11165 Py_INCREF(Py_None
); resultobj
= Py_None
;
11172 static PyObject
*_wrap_Image_ConvertToMono(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11173 PyObject
*resultobj
;
11174 wxImage
*arg1
= (wxImage
*) 0 ;
11175 unsigned char arg2
;
11176 unsigned char arg3
;
11177 unsigned char arg4
;
11178 SwigValueWrapper
< wxImage
> result
;
11179 PyObject
* obj0
= 0 ;
11180 PyObject
* obj1
= 0 ;
11181 PyObject
* obj2
= 0 ;
11182 PyObject
* obj3
= 0 ;
11183 char *kwnames
[] = {
11184 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
11187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMono",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11190 arg2
= (unsigned char)SWIG_As_unsigned_SS_char(obj1
);
11191 if (PyErr_Occurred()) SWIG_fail
;
11192 arg3
= (unsigned char)SWIG_As_unsigned_SS_char(obj2
);
11193 if (PyErr_Occurred()) SWIG_fail
;
11194 arg4
= (unsigned char)SWIG_As_unsigned_SS_char(obj3
);
11195 if (PyErr_Occurred()) SWIG_fail
;
11197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11198 result
= ((wxImage
const *)arg1
)->ConvertToMono(arg2
,arg3
,arg4
);
11200 wxPyEndAllowThreads(__tstate
);
11201 if (PyErr_Occurred()) SWIG_fail
;
11204 wxImage
* resultptr
;
11205 resultptr
= new wxImage((wxImage
&) result
);
11206 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
11214 static PyObject
*_wrap_Image_SetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11215 PyObject
*resultobj
;
11216 wxImage
*arg1
= (wxImage
*) 0 ;
11217 wxString
*arg2
= 0 ;
11218 wxString
*arg3
= 0 ;
11219 bool temp2
= false ;
11220 bool temp3
= false ;
11221 PyObject
* obj0
= 0 ;
11222 PyObject
* obj1
= 0 ;
11223 PyObject
* obj2
= 0 ;
11224 char *kwnames
[] = {
11225 (char *) "self",(char *) "name",(char *) "value", NULL
11228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOption",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11229 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11232 arg2
= wxString_in_helper(obj1
);
11233 if (arg2
== NULL
) SWIG_fail
;
11237 arg3
= wxString_in_helper(obj2
);
11238 if (arg3
== NULL
) SWIG_fail
;
11242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11243 (arg1
)->SetOption((wxString
const &)*arg2
,(wxString
const &)*arg3
);
11245 wxPyEndAllowThreads(__tstate
);
11246 if (PyErr_Occurred()) SWIG_fail
;
11248 Py_INCREF(Py_None
); resultobj
= Py_None
;
11271 static PyObject
*_wrap_Image_SetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11272 PyObject
*resultobj
;
11273 wxImage
*arg1
= (wxImage
*) 0 ;
11274 wxString
*arg2
= 0 ;
11276 bool temp2
= false ;
11277 PyObject
* obj0
= 0 ;
11278 PyObject
* obj1
= 0 ;
11279 PyObject
* obj2
= 0 ;
11280 char *kwnames
[] = {
11281 (char *) "self",(char *) "name",(char *) "value", NULL
11284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOptionInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11285 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11288 arg2
= wxString_in_helper(obj1
);
11289 if (arg2
== NULL
) SWIG_fail
;
11292 arg3
= (int)SWIG_As_int(obj2
);
11293 if (PyErr_Occurred()) SWIG_fail
;
11295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11296 (arg1
)->SetOption((wxString
const &)*arg2
,arg3
);
11298 wxPyEndAllowThreads(__tstate
);
11299 if (PyErr_Occurred()) SWIG_fail
;
11301 Py_INCREF(Py_None
); resultobj
= Py_None
;
11316 static PyObject
*_wrap_Image_GetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11317 PyObject
*resultobj
;
11318 wxImage
*arg1
= (wxImage
*) 0 ;
11319 wxString
*arg2
= 0 ;
11321 bool temp2
= false ;
11322 PyObject
* obj0
= 0 ;
11323 PyObject
* obj1
= 0 ;
11324 char *kwnames
[] = {
11325 (char *) "self",(char *) "name", NULL
11328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOption",kwnames
,&obj0
,&obj1
)) goto fail
;
11329 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11330 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11332 arg2
= wxString_in_helper(obj1
);
11333 if (arg2
== NULL
) SWIG_fail
;
11337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11338 result
= ((wxImage
const *)arg1
)->GetOption((wxString
const &)*arg2
);
11340 wxPyEndAllowThreads(__tstate
);
11341 if (PyErr_Occurred()) SWIG_fail
;
11345 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11347 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11364 static PyObject
*_wrap_Image_GetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11365 PyObject
*resultobj
;
11366 wxImage
*arg1
= (wxImage
*) 0 ;
11367 wxString
*arg2
= 0 ;
11369 bool temp2
= false ;
11370 PyObject
* obj0
= 0 ;
11371 PyObject
* obj1
= 0 ;
11372 char *kwnames
[] = {
11373 (char *) "self",(char *) "name", NULL
11376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOptionInt",kwnames
,&obj0
,&obj1
)) goto fail
;
11377 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11378 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11380 arg2
= wxString_in_helper(obj1
);
11381 if (arg2
== NULL
) SWIG_fail
;
11385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11386 result
= (int)((wxImage
const *)arg1
)->GetOptionInt((wxString
const &)*arg2
);
11388 wxPyEndAllowThreads(__tstate
);
11389 if (PyErr_Occurred()) SWIG_fail
;
11391 resultobj
= SWIG_From_int((int)result
);
11406 static PyObject
*_wrap_Image_HasOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11407 PyObject
*resultobj
;
11408 wxImage
*arg1
= (wxImage
*) 0 ;
11409 wxString
*arg2
= 0 ;
11411 bool temp2
= false ;
11412 PyObject
* obj0
= 0 ;
11413 PyObject
* obj1
= 0 ;
11414 char *kwnames
[] = {
11415 (char *) "self",(char *) "name", NULL
11418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_HasOption",kwnames
,&obj0
,&obj1
)) goto fail
;
11419 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11420 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11422 arg2
= wxString_in_helper(obj1
);
11423 if (arg2
== NULL
) SWIG_fail
;
11427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11428 result
= (bool)((wxImage
const *)arg1
)->HasOption((wxString
const &)*arg2
);
11430 wxPyEndAllowThreads(__tstate
);
11431 if (PyErr_Occurred()) SWIG_fail
;
11434 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11450 static PyObject
*_wrap_Image_CountColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11451 PyObject
*resultobj
;
11452 wxImage
*arg1
= (wxImage
*) 0 ;
11453 unsigned long arg2
= (unsigned long) (unsigned long) -1 ;
11454 unsigned long result
;
11455 PyObject
* obj0
= 0 ;
11456 PyObject
* obj1
= 0 ;
11457 char *kwnames
[] = {
11458 (char *) "self",(char *) "stopafter", NULL
11461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_CountColours",kwnames
,&obj0
,&obj1
)) goto fail
;
11462 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11463 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11465 arg2
= (unsigned long)SWIG_As_unsigned_SS_long(obj1
);
11466 if (PyErr_Occurred()) SWIG_fail
;
11469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11470 result
= (unsigned long)(arg1
)->CountColours(arg2
);
11472 wxPyEndAllowThreads(__tstate
);
11473 if (PyErr_Occurred()) SWIG_fail
;
11475 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
11482 static PyObject
*_wrap_Image_ComputeHistogram(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11483 PyObject
*resultobj
;
11484 wxImage
*arg1
= (wxImage
*) 0 ;
11485 wxImageHistogram
*arg2
= 0 ;
11486 unsigned long result
;
11487 PyObject
* obj0
= 0 ;
11488 PyObject
* obj1
= 0 ;
11489 char *kwnames
[] = {
11490 (char *) "self",(char *) "h", NULL
11493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_ComputeHistogram",kwnames
,&obj0
,&obj1
)) goto fail
;
11494 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11495 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11496 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageHistogram
,
11497 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11499 if (arg2
== NULL
) {
11500 PyErr_SetString(PyExc_TypeError
,"null reference");
11504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11505 result
= (unsigned long)(arg1
)->ComputeHistogram(*arg2
);
11507 wxPyEndAllowThreads(__tstate
);
11508 if (PyErr_Occurred()) SWIG_fail
;
11510 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
11517 static PyObject
*_wrap_Image_AddHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11518 PyObject
*resultobj
;
11519 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
11520 PyObject
* obj0
= 0 ;
11521 char *kwnames
[] = {
11522 (char *) "handler", NULL
11525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_AddHandler",kwnames
,&obj0
)) goto fail
;
11526 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
11527 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11530 wxImage::AddHandler(arg1
);
11532 wxPyEndAllowThreads(__tstate
);
11533 if (PyErr_Occurred()) SWIG_fail
;
11535 Py_INCREF(Py_None
); resultobj
= Py_None
;
11542 static PyObject
*_wrap_Image_InsertHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11543 PyObject
*resultobj
;
11544 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
11545 PyObject
* obj0
= 0 ;
11546 char *kwnames
[] = {
11547 (char *) "handler", NULL
11550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_InsertHandler",kwnames
,&obj0
)) goto fail
;
11551 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
11552 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11555 wxImage::InsertHandler(arg1
);
11557 wxPyEndAllowThreads(__tstate
);
11558 if (PyErr_Occurred()) SWIG_fail
;
11560 Py_INCREF(Py_None
); resultobj
= Py_None
;
11567 static PyObject
*_wrap_Image_RemoveHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11568 PyObject
*resultobj
;
11569 wxString
*arg1
= 0 ;
11571 bool temp1
= false ;
11572 PyObject
* obj0
= 0 ;
11573 char *kwnames
[] = {
11574 (char *) "name", NULL
11577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_RemoveHandler",kwnames
,&obj0
)) goto fail
;
11579 arg1
= wxString_in_helper(obj0
);
11580 if (arg1
== NULL
) SWIG_fail
;
11584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11585 result
= (bool)wxImage::RemoveHandler((wxString
const &)*arg1
);
11587 wxPyEndAllowThreads(__tstate
);
11588 if (PyErr_Occurred()) SWIG_fail
;
11591 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11607 static PyObject
*_wrap_Image_GetImageExtWildcard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11608 PyObject
*resultobj
;
11610 char *kwnames
[] = {
11614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Image_GetImageExtWildcard",kwnames
)) goto fail
;
11616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11617 result
= wxImage::GetImageExtWildcard();
11619 wxPyEndAllowThreads(__tstate
);
11620 if (PyErr_Occurred()) SWIG_fail
;
11624 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11626 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11635 static PyObject
*_wrap_Image_ConvertToBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11636 PyObject
*resultobj
;
11637 wxImage
*arg1
= (wxImage
*) 0 ;
11638 int arg2
= (int) -1 ;
11640 PyObject
* obj0
= 0 ;
11641 PyObject
* obj1
= 0 ;
11642 char *kwnames
[] = {
11643 (char *) "self",(char *) "depth", NULL
11646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_ConvertToBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
11647 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11650 arg2
= (int)SWIG_As_int(obj1
);
11651 if (PyErr_Occurred()) SWIG_fail
;
11654 if (!wxPyCheckForApp()) SWIG_fail
;
11655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11656 result
= wxImage_ConvertToBitmap(arg1
,arg2
);
11658 wxPyEndAllowThreads(__tstate
);
11659 if (PyErr_Occurred()) SWIG_fail
;
11662 wxBitmap
* resultptr
;
11663 resultptr
= new wxBitmap((wxBitmap
&) result
);
11664 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
11672 static PyObject
*_wrap_Image_ConvertToMonoBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11673 PyObject
*resultobj
;
11674 wxImage
*arg1
= (wxImage
*) 0 ;
11675 unsigned char arg2
;
11676 unsigned char arg3
;
11677 unsigned char arg4
;
11679 PyObject
* obj0
= 0 ;
11680 PyObject
* obj1
= 0 ;
11681 PyObject
* obj2
= 0 ;
11682 PyObject
* obj3
= 0 ;
11683 char *kwnames
[] = {
11684 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
11687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMonoBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11688 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11689 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11690 arg2
= (unsigned char)SWIG_As_unsigned_SS_char(obj1
);
11691 if (PyErr_Occurred()) SWIG_fail
;
11692 arg3
= (unsigned char)SWIG_As_unsigned_SS_char(obj2
);
11693 if (PyErr_Occurred()) SWIG_fail
;
11694 arg4
= (unsigned char)SWIG_As_unsigned_SS_char(obj3
);
11695 if (PyErr_Occurred()) SWIG_fail
;
11697 if (!wxPyCheckForApp()) SWIG_fail
;
11698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11699 result
= wxImage_ConvertToMonoBitmap(arg1
,arg2
,arg3
,arg4
);
11701 wxPyEndAllowThreads(__tstate
);
11702 if (PyErr_Occurred()) SWIG_fail
;
11705 wxBitmap
* resultptr
;
11706 resultptr
= new wxBitmap((wxBitmap
&) result
);
11707 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
11715 static PyObject
* Image_swigregister(PyObject
*, PyObject
*args
) {
11717 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11718 SWIG_TypeClientData(SWIGTYPE_p_wxImage
, obj
);
11720 return Py_BuildValue((char *)"");
11722 static int _wrap_NullImage_set(PyObject
*) {
11723 PyErr_SetString(PyExc_TypeError
,"Variable NullImage is read-only.");
11728 static PyObject
*_wrap_NullImage_get() {
11731 pyobj
= SWIG_NewPointerObj((void *)(&wxNullImage
), SWIGTYPE_p_wxImage
, 0);
11736 static int _wrap_IMAGE_OPTION_BMP_FORMAT_set(PyObject
*) {
11737 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_BMP_FORMAT is read-only.");
11742 static PyObject
*_wrap_IMAGE_OPTION_BMP_FORMAT_get() {
11747 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
11749 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
11756 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set(PyObject
*) {
11757 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_X is read-only.");
11762 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get() {
11767 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
11769 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
11776 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set(PyObject
*) {
11777 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_Y is read-only.");
11782 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get() {
11787 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
11789 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
11796 static int _wrap_IMAGE_OPTION_RESOLUTION_set(PyObject
*) {
11797 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTION is read-only.");
11802 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTION_get() {
11807 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
11809 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
11816 static int _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set(PyObject
*) {
11817 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTIONUNIT is read-only.");
11822 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get() {
11827 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
11829 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
11836 static PyObject
*_wrap_new_BMPHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11837 PyObject
*resultobj
;
11838 wxBMPHandler
*result
;
11839 char *kwnames
[] = {
11843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_BMPHandler",kwnames
)) goto fail
;
11845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11846 result
= (wxBMPHandler
*)new wxBMPHandler();
11848 wxPyEndAllowThreads(__tstate
);
11849 if (PyErr_Occurred()) SWIG_fail
;
11851 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBMPHandler
, 1);
11858 static PyObject
* BMPHandler_swigregister(PyObject
*, PyObject
*args
) {
11860 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11861 SWIG_TypeClientData(SWIGTYPE_p_wxBMPHandler
, obj
);
11863 return Py_BuildValue((char *)"");
11865 static PyObject
*_wrap_new_ICOHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11866 PyObject
*resultobj
;
11867 wxICOHandler
*result
;
11868 char *kwnames
[] = {
11872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ICOHandler",kwnames
)) goto fail
;
11874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11875 result
= (wxICOHandler
*)new wxICOHandler();
11877 wxPyEndAllowThreads(__tstate
);
11878 if (PyErr_Occurred()) SWIG_fail
;
11880 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxICOHandler
, 1);
11887 static PyObject
* ICOHandler_swigregister(PyObject
*, PyObject
*args
) {
11889 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11890 SWIG_TypeClientData(SWIGTYPE_p_wxICOHandler
, obj
);
11892 return Py_BuildValue((char *)"");
11894 static PyObject
*_wrap_new_CURHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11895 PyObject
*resultobj
;
11896 wxCURHandler
*result
;
11897 char *kwnames
[] = {
11901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_CURHandler",kwnames
)) goto fail
;
11903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11904 result
= (wxCURHandler
*)new wxCURHandler();
11906 wxPyEndAllowThreads(__tstate
);
11907 if (PyErr_Occurred()) SWIG_fail
;
11909 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCURHandler
, 1);
11916 static PyObject
* CURHandler_swigregister(PyObject
*, PyObject
*args
) {
11918 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11919 SWIG_TypeClientData(SWIGTYPE_p_wxCURHandler
, obj
);
11921 return Py_BuildValue((char *)"");
11923 static PyObject
*_wrap_new_ANIHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11924 PyObject
*resultobj
;
11925 wxANIHandler
*result
;
11926 char *kwnames
[] = {
11930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ANIHandler",kwnames
)) goto fail
;
11932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11933 result
= (wxANIHandler
*)new wxANIHandler();
11935 wxPyEndAllowThreads(__tstate
);
11936 if (PyErr_Occurred()) SWIG_fail
;
11938 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxANIHandler
, 1);
11945 static PyObject
* ANIHandler_swigregister(PyObject
*, PyObject
*args
) {
11947 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11948 SWIG_TypeClientData(SWIGTYPE_p_wxANIHandler
, obj
);
11950 return Py_BuildValue((char *)"");
11952 static PyObject
*_wrap_new_PNGHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11953 PyObject
*resultobj
;
11954 wxPNGHandler
*result
;
11955 char *kwnames
[] = {
11959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNGHandler",kwnames
)) goto fail
;
11961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11962 result
= (wxPNGHandler
*)new wxPNGHandler();
11964 wxPyEndAllowThreads(__tstate
);
11965 if (PyErr_Occurred()) SWIG_fail
;
11967 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPNGHandler
, 1);
11974 static PyObject
* PNGHandler_swigregister(PyObject
*, PyObject
*args
) {
11976 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11977 SWIG_TypeClientData(SWIGTYPE_p_wxPNGHandler
, obj
);
11979 return Py_BuildValue((char *)"");
11981 static PyObject
*_wrap_new_GIFHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11982 PyObject
*resultobj
;
11983 wxGIFHandler
*result
;
11984 char *kwnames
[] = {
11988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GIFHandler",kwnames
)) goto fail
;
11990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11991 result
= (wxGIFHandler
*)new wxGIFHandler();
11993 wxPyEndAllowThreads(__tstate
);
11994 if (PyErr_Occurred()) SWIG_fail
;
11996 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGIFHandler
, 1);
12003 static PyObject
* GIFHandler_swigregister(PyObject
*, PyObject
*args
) {
12005 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12006 SWIG_TypeClientData(SWIGTYPE_p_wxGIFHandler
, obj
);
12008 return Py_BuildValue((char *)"");
12010 static PyObject
*_wrap_new_PCXHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12011 PyObject
*resultobj
;
12012 wxPCXHandler
*result
;
12013 char *kwnames
[] = {
12017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PCXHandler",kwnames
)) goto fail
;
12019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12020 result
= (wxPCXHandler
*)new wxPCXHandler();
12022 wxPyEndAllowThreads(__tstate
);
12023 if (PyErr_Occurred()) SWIG_fail
;
12025 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPCXHandler
, 1);
12032 static PyObject
* PCXHandler_swigregister(PyObject
*, PyObject
*args
) {
12034 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12035 SWIG_TypeClientData(SWIGTYPE_p_wxPCXHandler
, obj
);
12037 return Py_BuildValue((char *)"");
12039 static PyObject
*_wrap_new_JPEGHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12040 PyObject
*resultobj
;
12041 wxJPEGHandler
*result
;
12042 char *kwnames
[] = {
12046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_JPEGHandler",kwnames
)) goto fail
;
12048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12049 result
= (wxJPEGHandler
*)new wxJPEGHandler();
12051 wxPyEndAllowThreads(__tstate
);
12052 if (PyErr_Occurred()) SWIG_fail
;
12054 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJPEGHandler
, 1);
12061 static PyObject
* JPEGHandler_swigregister(PyObject
*, PyObject
*args
) {
12063 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12064 SWIG_TypeClientData(SWIGTYPE_p_wxJPEGHandler
, obj
);
12066 return Py_BuildValue((char *)"");
12068 static PyObject
*_wrap_new_PNMHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12069 PyObject
*resultobj
;
12070 wxPNMHandler
*result
;
12071 char *kwnames
[] = {
12075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNMHandler",kwnames
)) goto fail
;
12077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12078 result
= (wxPNMHandler
*)new wxPNMHandler();
12080 wxPyEndAllowThreads(__tstate
);
12081 if (PyErr_Occurred()) SWIG_fail
;
12083 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPNMHandler
, 1);
12090 static PyObject
* PNMHandler_swigregister(PyObject
*, PyObject
*args
) {
12092 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12093 SWIG_TypeClientData(SWIGTYPE_p_wxPNMHandler
, obj
);
12095 return Py_BuildValue((char *)"");
12097 static PyObject
*_wrap_new_XPMHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12098 PyObject
*resultobj
;
12099 wxXPMHandler
*result
;
12100 char *kwnames
[] = {
12104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_XPMHandler",kwnames
)) goto fail
;
12106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12107 result
= (wxXPMHandler
*)new wxXPMHandler();
12109 wxPyEndAllowThreads(__tstate
);
12110 if (PyErr_Occurred()) SWIG_fail
;
12112 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxXPMHandler
, 1);
12119 static PyObject
* XPMHandler_swigregister(PyObject
*, PyObject
*args
) {
12121 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12122 SWIG_TypeClientData(SWIGTYPE_p_wxXPMHandler
, obj
);
12124 return Py_BuildValue((char *)"");
12126 static PyObject
*_wrap_new_TIFFHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12127 PyObject
*resultobj
;
12128 wxTIFFHandler
*result
;
12129 char *kwnames
[] = {
12133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TIFFHandler",kwnames
)) goto fail
;
12135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12136 result
= (wxTIFFHandler
*)new wxTIFFHandler();
12138 wxPyEndAllowThreads(__tstate
);
12139 if (PyErr_Occurred()) SWIG_fail
;
12141 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTIFFHandler
, 1);
12148 static PyObject
* TIFFHandler_swigregister(PyObject
*, PyObject
*args
) {
12150 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12151 SWIG_TypeClientData(SWIGTYPE_p_wxTIFFHandler
, obj
);
12153 return Py_BuildValue((char *)"");
12155 static PyObject
*_wrap_Quantize_Quantize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12156 PyObject
*resultobj
;
12157 wxImage
*arg1
= 0 ;
12158 wxImage
*arg2
= 0 ;
12159 int arg3
= (int) 236 ;
12160 int arg4
= (int) wxQUANTIZE_INCLUDE_WINDOWS_COLOURS
|wxQUANTIZE_FILL_DESTINATION_IMAGE
;
12162 PyObject
* obj0
= 0 ;
12163 PyObject
* obj1
= 0 ;
12164 PyObject
* obj2
= 0 ;
12165 PyObject
* obj3
= 0 ;
12166 char *kwnames
[] = {
12167 (char *) "src",(char *) "dest",(char *) "desiredNoColours",(char *) "flags", NULL
12170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Quantize_Quantize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12171 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
12172 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12174 if (arg1
== NULL
) {
12175 PyErr_SetString(PyExc_TypeError
,"null reference");
12178 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImage
,
12179 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12181 if (arg2
== NULL
) {
12182 PyErr_SetString(PyExc_TypeError
,"null reference");
12186 arg3
= (int)SWIG_As_int(obj2
);
12187 if (PyErr_Occurred()) SWIG_fail
;
12190 arg4
= (int)SWIG_As_int(obj3
);
12191 if (PyErr_Occurred()) SWIG_fail
;
12194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12195 result
= (bool)Quantize_Quantize((wxImage
const &)*arg1
,*arg2
,arg3
,arg4
);
12197 wxPyEndAllowThreads(__tstate
);
12198 if (PyErr_Occurred()) SWIG_fail
;
12201 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12209 static PyObject
* Quantize_swigregister(PyObject
*, PyObject
*args
) {
12211 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12212 SWIG_TypeClientData(SWIGTYPE_p_wxQuantize
, obj
);
12214 return Py_BuildValue((char *)"");
12216 static PyObject
*_wrap_new_EvtHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12217 PyObject
*resultobj
;
12218 wxEvtHandler
*result
;
12219 char *kwnames
[] = {
12223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EvtHandler",kwnames
)) goto fail
;
12225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12226 result
= (wxEvtHandler
*)new wxEvtHandler();
12228 wxPyEndAllowThreads(__tstate
);
12229 if (PyErr_Occurred()) SWIG_fail
;
12231 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvtHandler
, 1);
12238 static PyObject
*_wrap_EvtHandler_GetNextHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12239 PyObject
*resultobj
;
12240 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12241 wxEvtHandler
*result
;
12242 PyObject
* obj0
= 0 ;
12243 char *kwnames
[] = {
12244 (char *) "self", NULL
12247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetNextHandler",kwnames
,&obj0
)) goto fail
;
12248 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12252 result
= (wxEvtHandler
*)(arg1
)->GetNextHandler();
12254 wxPyEndAllowThreads(__tstate
);
12255 if (PyErr_Occurred()) SWIG_fail
;
12258 resultobj
= wxPyMake_wxObject(result
, 0);
12266 static PyObject
*_wrap_EvtHandler_GetPreviousHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12267 PyObject
*resultobj
;
12268 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12269 wxEvtHandler
*result
;
12270 PyObject
* obj0
= 0 ;
12271 char *kwnames
[] = {
12272 (char *) "self", NULL
12275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetPreviousHandler",kwnames
,&obj0
)) goto fail
;
12276 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12280 result
= (wxEvtHandler
*)(arg1
)->GetPreviousHandler();
12282 wxPyEndAllowThreads(__tstate
);
12283 if (PyErr_Occurred()) SWIG_fail
;
12286 resultobj
= wxPyMake_wxObject(result
, 0);
12294 static PyObject
*_wrap_EvtHandler_SetNextHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12295 PyObject
*resultobj
;
12296 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12297 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
12298 PyObject
* obj0
= 0 ;
12299 PyObject
* obj1
= 0 ;
12300 char *kwnames
[] = {
12301 (char *) "self",(char *) "handler", NULL
12304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetNextHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
12305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12307 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
12308 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12311 (arg1
)->SetNextHandler(arg2
);
12313 wxPyEndAllowThreads(__tstate
);
12314 if (PyErr_Occurred()) SWIG_fail
;
12316 Py_INCREF(Py_None
); resultobj
= Py_None
;
12323 static PyObject
*_wrap_EvtHandler_SetPreviousHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12324 PyObject
*resultobj
;
12325 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12326 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
12327 PyObject
* obj0
= 0 ;
12328 PyObject
* obj1
= 0 ;
12329 char *kwnames
[] = {
12330 (char *) "self",(char *) "handler", NULL
12333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetPreviousHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
12334 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12335 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12336 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
12337 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12340 (arg1
)->SetPreviousHandler(arg2
);
12342 wxPyEndAllowThreads(__tstate
);
12343 if (PyErr_Occurred()) SWIG_fail
;
12345 Py_INCREF(Py_None
); resultobj
= Py_None
;
12352 static PyObject
*_wrap_EvtHandler_GetEvtHandlerEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12353 PyObject
*resultobj
;
12354 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12356 PyObject
* obj0
= 0 ;
12357 char *kwnames
[] = {
12358 (char *) "self", NULL
12361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetEvtHandlerEnabled",kwnames
,&obj0
)) goto fail
;
12362 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12366 result
= (bool)(arg1
)->GetEvtHandlerEnabled();
12368 wxPyEndAllowThreads(__tstate
);
12369 if (PyErr_Occurred()) SWIG_fail
;
12372 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12380 static PyObject
*_wrap_EvtHandler_SetEvtHandlerEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12381 PyObject
*resultobj
;
12382 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12384 PyObject
* obj0
= 0 ;
12385 PyObject
* obj1
= 0 ;
12386 char *kwnames
[] = {
12387 (char *) "self",(char *) "enabled", NULL
12390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetEvtHandlerEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
12391 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12393 arg2
= (bool)SWIG_As_bool(obj1
);
12394 if (PyErr_Occurred()) SWIG_fail
;
12396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12397 (arg1
)->SetEvtHandlerEnabled(arg2
);
12399 wxPyEndAllowThreads(__tstate
);
12400 if (PyErr_Occurred()) SWIG_fail
;
12402 Py_INCREF(Py_None
); resultobj
= Py_None
;
12409 static PyObject
*_wrap_EvtHandler_ProcessEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12410 PyObject
*resultobj
;
12411 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12412 wxEvent
*arg2
= 0 ;
12414 PyObject
* obj0
= 0 ;
12415 PyObject
* obj1
= 0 ;
12416 char *kwnames
[] = {
12417 (char *) "self",(char *) "event", NULL
12420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_ProcessEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
12421 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12422 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12423 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvent
,
12424 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12426 if (arg2
== NULL
) {
12427 PyErr_SetString(PyExc_TypeError
,"null reference");
12431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12432 result
= (bool)(arg1
)->ProcessEvent(*arg2
);
12434 wxPyEndAllowThreads(__tstate
);
12435 if (PyErr_Occurred()) SWIG_fail
;
12438 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12446 static PyObject
*_wrap_EvtHandler_AddPendingEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12447 PyObject
*resultobj
;
12448 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12449 wxEvent
*arg2
= 0 ;
12450 PyObject
* obj0
= 0 ;
12451 PyObject
* obj1
= 0 ;
12452 char *kwnames
[] = {
12453 (char *) "self",(char *) "event", NULL
12456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_AddPendingEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
12457 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12458 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12459 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvent
,
12460 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12462 if (arg2
== NULL
) {
12463 PyErr_SetString(PyExc_TypeError
,"null reference");
12467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12468 (arg1
)->AddPendingEvent(*arg2
);
12470 wxPyEndAllowThreads(__tstate
);
12471 if (PyErr_Occurred()) SWIG_fail
;
12473 Py_INCREF(Py_None
); resultobj
= Py_None
;
12480 static PyObject
*_wrap_EvtHandler_ProcessPendingEvents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12481 PyObject
*resultobj
;
12482 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12483 PyObject
* obj0
= 0 ;
12484 char *kwnames
[] = {
12485 (char *) "self", NULL
12488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
12489 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12490 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12493 (arg1
)->ProcessPendingEvents();
12495 wxPyEndAllowThreads(__tstate
);
12496 if (PyErr_Occurred()) SWIG_fail
;
12498 Py_INCREF(Py_None
); resultobj
= Py_None
;
12505 static PyObject
*_wrap_EvtHandler_Connect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12506 PyObject
*resultobj
;
12507 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12511 PyObject
*arg5
= (PyObject
*) 0 ;
12512 PyObject
* obj0
= 0 ;
12513 PyObject
* obj1
= 0 ;
12514 PyObject
* obj2
= 0 ;
12515 PyObject
* obj3
= 0 ;
12516 PyObject
* obj4
= 0 ;
12517 char *kwnames
[] = {
12518 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType",(char *) "func", NULL
12521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:EvtHandler_Connect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12522 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12523 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12524 arg2
= (int)SWIG_As_int(obj1
);
12525 if (PyErr_Occurred()) SWIG_fail
;
12526 arg3
= (int)SWIG_As_int(obj2
);
12527 if (PyErr_Occurred()) SWIG_fail
;
12528 arg4
= (int)SWIG_As_int(obj3
);
12529 if (PyErr_Occurred()) SWIG_fail
;
12532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12533 wxEvtHandler_Connect(arg1
,arg2
,arg3
,arg4
,arg5
);
12535 wxPyEndAllowThreads(__tstate
);
12536 if (PyErr_Occurred()) SWIG_fail
;
12538 Py_INCREF(Py_None
); resultobj
= Py_None
;
12545 static PyObject
*_wrap_EvtHandler_Disconnect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12546 PyObject
*resultobj
;
12547 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12549 int arg3
= (int) -1 ;
12550 wxEventType arg4
= (wxEventType
) wxEVT_NULL
;
12552 PyObject
* obj0
= 0 ;
12553 PyObject
* obj1
= 0 ;
12554 PyObject
* obj2
= 0 ;
12555 PyObject
* obj3
= 0 ;
12556 char *kwnames
[] = {
12557 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType", NULL
12560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:EvtHandler_Disconnect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12561 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12562 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12563 arg2
= (int)SWIG_As_int(obj1
);
12564 if (PyErr_Occurred()) SWIG_fail
;
12566 arg3
= (int)SWIG_As_int(obj2
);
12567 if (PyErr_Occurred()) SWIG_fail
;
12570 arg4
= (wxEventType
)SWIG_As_int(obj3
);
12571 if (PyErr_Occurred()) SWIG_fail
;
12574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12575 result
= (bool)wxEvtHandler_Disconnect(arg1
,arg2
,arg3
,arg4
);
12577 wxPyEndAllowThreads(__tstate
);
12578 if (PyErr_Occurred()) SWIG_fail
;
12581 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12589 static PyObject
*_wrap_EvtHandler__setOORInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12590 PyObject
*resultobj
;
12591 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12592 PyObject
*arg2
= (PyObject
*) 0 ;
12593 PyObject
* obj0
= 0 ;
12594 PyObject
* obj1
= 0 ;
12595 char *kwnames
[] = {
12596 (char *) "self",(char *) "_self", NULL
12599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
12600 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12601 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12605 wxEvtHandler__setOORInfo(arg1
,arg2
);
12607 wxPyEndAllowThreads(__tstate
);
12608 if (PyErr_Occurred()) SWIG_fail
;
12610 Py_INCREF(Py_None
); resultobj
= Py_None
;
12617 static PyObject
* EvtHandler_swigregister(PyObject
*, PyObject
*args
) {
12619 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12620 SWIG_TypeClientData(SWIGTYPE_p_wxEvtHandler
, obj
);
12622 return Py_BuildValue((char *)"");
12624 static PyObject
*_wrap_NewEventType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12625 PyObject
*resultobj
;
12626 wxEventType result
;
12627 char *kwnames
[] = {
12631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewEventType",kwnames
)) goto fail
;
12633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12634 result
= (wxEventType
)wxNewEventType();
12636 wxPyEndAllowThreads(__tstate
);
12637 if (PyErr_Occurred()) SWIG_fail
;
12639 resultobj
= SWIG_From_int((int)result
);
12646 static PyObject
*_wrap_delete_Event(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12647 PyObject
*resultobj
;
12648 wxEvent
*arg1
= (wxEvent
*) 0 ;
12649 PyObject
* obj0
= 0 ;
12650 char *kwnames
[] = {
12651 (char *) "self", NULL
12654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Event",kwnames
,&obj0
)) goto fail
;
12655 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12656 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12661 wxPyEndAllowThreads(__tstate
);
12662 if (PyErr_Occurred()) SWIG_fail
;
12664 Py_INCREF(Py_None
); resultobj
= Py_None
;
12671 static PyObject
*_wrap_Event_SetEventType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12672 PyObject
*resultobj
;
12673 wxEvent
*arg1
= (wxEvent
*) 0 ;
12675 PyObject
* obj0
= 0 ;
12676 PyObject
* obj1
= 0 ;
12677 char *kwnames
[] = {
12678 (char *) "self",(char *) "typ", NULL
12681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventType",kwnames
,&obj0
,&obj1
)) goto fail
;
12682 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12684 arg2
= (wxEventType
)SWIG_As_int(obj1
);
12685 if (PyErr_Occurred()) SWIG_fail
;
12687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12688 (arg1
)->SetEventType(arg2
);
12690 wxPyEndAllowThreads(__tstate
);
12691 if (PyErr_Occurred()) SWIG_fail
;
12693 Py_INCREF(Py_None
); resultobj
= Py_None
;
12700 static PyObject
*_wrap_Event_GetEventType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12701 PyObject
*resultobj
;
12702 wxEvent
*arg1
= (wxEvent
*) 0 ;
12703 wxEventType result
;
12704 PyObject
* obj0
= 0 ;
12705 char *kwnames
[] = {
12706 (char *) "self", NULL
12709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventType",kwnames
,&obj0
)) goto fail
;
12710 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12714 result
= (wxEventType
)((wxEvent
const *)arg1
)->GetEventType();
12716 wxPyEndAllowThreads(__tstate
);
12717 if (PyErr_Occurred()) SWIG_fail
;
12719 resultobj
= SWIG_From_int((int)result
);
12726 static PyObject
*_wrap_Event_GetEventObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12727 PyObject
*resultobj
;
12728 wxEvent
*arg1
= (wxEvent
*) 0 ;
12730 PyObject
* obj0
= 0 ;
12731 char *kwnames
[] = {
12732 (char *) "self", NULL
12735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventObject",kwnames
,&obj0
)) goto fail
;
12736 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12737 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12740 result
= (wxObject
*)((wxEvent
const *)arg1
)->GetEventObject();
12742 wxPyEndAllowThreads(__tstate
);
12743 if (PyErr_Occurred()) SWIG_fail
;
12746 resultobj
= wxPyMake_wxObject(result
, 0);
12754 static PyObject
*_wrap_Event_SetEventObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12755 PyObject
*resultobj
;
12756 wxEvent
*arg1
= (wxEvent
*) 0 ;
12757 wxObject
*arg2
= (wxObject
*) 0 ;
12758 PyObject
* obj0
= 0 ;
12759 PyObject
* obj1
= 0 ;
12760 char *kwnames
[] = {
12761 (char *) "self",(char *) "obj", NULL
12764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventObject",kwnames
,&obj0
,&obj1
)) goto fail
;
12765 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12766 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12767 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxObject
,
12768 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12771 (arg1
)->SetEventObject(arg2
);
12773 wxPyEndAllowThreads(__tstate
);
12774 if (PyErr_Occurred()) SWIG_fail
;
12776 Py_INCREF(Py_None
); resultobj
= Py_None
;
12783 static PyObject
*_wrap_Event_GetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12784 PyObject
*resultobj
;
12785 wxEvent
*arg1
= (wxEvent
*) 0 ;
12787 PyObject
* obj0
= 0 ;
12788 char *kwnames
[] = {
12789 (char *) "self", NULL
12792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetTimestamp",kwnames
,&obj0
)) goto fail
;
12793 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12794 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12797 result
= (long)((wxEvent
const *)arg1
)->GetTimestamp();
12799 wxPyEndAllowThreads(__tstate
);
12800 if (PyErr_Occurred()) SWIG_fail
;
12802 resultobj
= SWIG_From_long((long)result
);
12809 static PyObject
*_wrap_Event_SetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12810 PyObject
*resultobj
;
12811 wxEvent
*arg1
= (wxEvent
*) 0 ;
12812 long arg2
= (long) 0 ;
12813 PyObject
* obj0
= 0 ;
12814 PyObject
* obj1
= 0 ;
12815 char *kwnames
[] = {
12816 (char *) "self",(char *) "ts", NULL
12819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_SetTimestamp",kwnames
,&obj0
,&obj1
)) goto fail
;
12820 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12821 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12823 arg2
= (long)SWIG_As_long(obj1
);
12824 if (PyErr_Occurred()) SWIG_fail
;
12827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12828 (arg1
)->SetTimestamp(arg2
);
12830 wxPyEndAllowThreads(__tstate
);
12831 if (PyErr_Occurred()) SWIG_fail
;
12833 Py_INCREF(Py_None
); resultobj
= Py_None
;
12840 static PyObject
*_wrap_Event_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12841 PyObject
*resultobj
;
12842 wxEvent
*arg1
= (wxEvent
*) 0 ;
12844 PyObject
* obj0
= 0 ;
12845 char *kwnames
[] = {
12846 (char *) "self", NULL
12849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetId",kwnames
,&obj0
)) goto fail
;
12850 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12854 result
= (int)((wxEvent
const *)arg1
)->GetId();
12856 wxPyEndAllowThreads(__tstate
);
12857 if (PyErr_Occurred()) SWIG_fail
;
12859 resultobj
= SWIG_From_int((int)result
);
12866 static PyObject
*_wrap_Event_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12867 PyObject
*resultobj
;
12868 wxEvent
*arg1
= (wxEvent
*) 0 ;
12870 PyObject
* obj0
= 0 ;
12871 PyObject
* obj1
= 0 ;
12872 char *kwnames
[] = {
12873 (char *) "self",(char *) "Id", NULL
12876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
12877 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12878 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12879 arg2
= (int)SWIG_As_int(obj1
);
12880 if (PyErr_Occurred()) SWIG_fail
;
12882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12883 (arg1
)->SetId(arg2
);
12885 wxPyEndAllowThreads(__tstate
);
12886 if (PyErr_Occurred()) SWIG_fail
;
12888 Py_INCREF(Py_None
); resultobj
= Py_None
;
12895 static PyObject
*_wrap_Event_IsCommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12896 PyObject
*resultobj
;
12897 wxEvent
*arg1
= (wxEvent
*) 0 ;
12899 PyObject
* obj0
= 0 ;
12900 char *kwnames
[] = {
12901 (char *) "self", NULL
12904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_IsCommandEvent",kwnames
,&obj0
)) goto fail
;
12905 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12906 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12909 result
= (bool)((wxEvent
const *)arg1
)->IsCommandEvent();
12911 wxPyEndAllowThreads(__tstate
);
12912 if (PyErr_Occurred()) SWIG_fail
;
12915 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12923 static PyObject
*_wrap_Event_Skip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12924 PyObject
*resultobj
;
12925 wxEvent
*arg1
= (wxEvent
*) 0 ;
12926 bool arg2
= (bool) true ;
12927 PyObject
* obj0
= 0 ;
12928 PyObject
* obj1
= 0 ;
12929 char *kwnames
[] = {
12930 (char *) "self",(char *) "skip", NULL
12933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_Skip",kwnames
,&obj0
,&obj1
)) goto fail
;
12934 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12935 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12937 arg2
= (bool)SWIG_As_bool(obj1
);
12938 if (PyErr_Occurred()) SWIG_fail
;
12941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12942 (arg1
)->Skip(arg2
);
12944 wxPyEndAllowThreads(__tstate
);
12945 if (PyErr_Occurred()) SWIG_fail
;
12947 Py_INCREF(Py_None
); resultobj
= Py_None
;
12954 static PyObject
*_wrap_Event_GetSkipped(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12955 PyObject
*resultobj
;
12956 wxEvent
*arg1
= (wxEvent
*) 0 ;
12958 PyObject
* obj0
= 0 ;
12959 char *kwnames
[] = {
12960 (char *) "self", NULL
12963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetSkipped",kwnames
,&obj0
)) goto fail
;
12964 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12965 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12968 result
= (bool)((wxEvent
const *)arg1
)->GetSkipped();
12970 wxPyEndAllowThreads(__tstate
);
12971 if (PyErr_Occurred()) SWIG_fail
;
12974 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12982 static PyObject
*_wrap_Event_ShouldPropagate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12983 PyObject
*resultobj
;
12984 wxEvent
*arg1
= (wxEvent
*) 0 ;
12986 PyObject
* obj0
= 0 ;
12987 char *kwnames
[] = {
12988 (char *) "self", NULL
12991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_ShouldPropagate",kwnames
,&obj0
)) goto fail
;
12992 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12993 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12996 result
= (bool)((wxEvent
const *)arg1
)->ShouldPropagate();
12998 wxPyEndAllowThreads(__tstate
);
12999 if (PyErr_Occurred()) SWIG_fail
;
13002 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13010 static PyObject
*_wrap_Event_StopPropagation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13011 PyObject
*resultobj
;
13012 wxEvent
*arg1
= (wxEvent
*) 0 ;
13014 PyObject
* obj0
= 0 ;
13015 char *kwnames
[] = {
13016 (char *) "self", NULL
13019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_StopPropagation",kwnames
,&obj0
)) goto fail
;
13020 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
13021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13024 result
= (int)(arg1
)->StopPropagation();
13026 wxPyEndAllowThreads(__tstate
);
13027 if (PyErr_Occurred()) SWIG_fail
;
13029 resultobj
= SWIG_From_int((int)result
);
13036 static PyObject
*_wrap_Event_ResumePropagation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13037 PyObject
*resultobj
;
13038 wxEvent
*arg1
= (wxEvent
*) 0 ;
13040 PyObject
* obj0
= 0 ;
13041 PyObject
* obj1
= 0 ;
13042 char *kwnames
[] = {
13043 (char *) "self",(char *) "propagationLevel", NULL
13046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_ResumePropagation",kwnames
,&obj0
,&obj1
)) goto fail
;
13047 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
13048 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13049 arg2
= (int)SWIG_As_int(obj1
);
13050 if (PyErr_Occurred()) SWIG_fail
;
13052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13053 (arg1
)->ResumePropagation(arg2
);
13055 wxPyEndAllowThreads(__tstate
);
13056 if (PyErr_Occurred()) SWIG_fail
;
13058 Py_INCREF(Py_None
); resultobj
= Py_None
;
13065 static PyObject
*_wrap_Event_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13066 PyObject
*resultobj
;
13067 wxEvent
*arg1
= (wxEvent
*) 0 ;
13069 PyObject
* obj0
= 0 ;
13070 char *kwnames
[] = {
13071 (char *) "self", NULL
13074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_Clone",kwnames
,&obj0
)) goto fail
;
13075 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
13076 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13079 result
= (wxEvent
*)(arg1
)->Clone();
13081 wxPyEndAllowThreads(__tstate
);
13082 if (PyErr_Occurred()) SWIG_fail
;
13084 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvent
, 0);
13091 static PyObject
* Event_swigregister(PyObject
*, PyObject
*args
) {
13093 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13094 SWIG_TypeClientData(SWIGTYPE_p_wxEvent
, obj
);
13096 return Py_BuildValue((char *)"");
13098 static PyObject
*_wrap_new_PropagationDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13099 PyObject
*resultobj
;
13100 wxEvent
*arg1
= 0 ;
13101 wxPropagationDisabler
*result
;
13102 PyObject
* obj0
= 0 ;
13103 char *kwnames
[] = {
13104 (char *) "event", NULL
13107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
13108 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
13109 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13111 if (arg1
== NULL
) {
13112 PyErr_SetString(PyExc_TypeError
,"null reference");
13116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13117 result
= (wxPropagationDisabler
*)new wxPropagationDisabler(*arg1
);
13119 wxPyEndAllowThreads(__tstate
);
13120 if (PyErr_Occurred()) SWIG_fail
;
13122 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPropagationDisabler
, 1);
13129 static PyObject
*_wrap_delete_PropagationDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13130 PyObject
*resultobj
;
13131 wxPropagationDisabler
*arg1
= (wxPropagationDisabler
*) 0 ;
13132 PyObject
* obj0
= 0 ;
13133 char *kwnames
[] = {
13134 (char *) "self", NULL
13137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
13138 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPropagationDisabler
,
13139 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13144 wxPyEndAllowThreads(__tstate
);
13145 if (PyErr_Occurred()) SWIG_fail
;
13147 Py_INCREF(Py_None
); resultobj
= Py_None
;
13154 static PyObject
* PropagationDisabler_swigregister(PyObject
*, PyObject
*args
) {
13156 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13157 SWIG_TypeClientData(SWIGTYPE_p_wxPropagationDisabler
, obj
);
13159 return Py_BuildValue((char *)"");
13161 static PyObject
*_wrap_new_PropagateOnce(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13162 PyObject
*resultobj
;
13163 wxEvent
*arg1
= 0 ;
13164 wxPropagateOnce
*result
;
13165 PyObject
* obj0
= 0 ;
13166 char *kwnames
[] = {
13167 (char *) "event", NULL
13170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagateOnce",kwnames
,&obj0
)) goto fail
;
13171 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
13172 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13174 if (arg1
== NULL
) {
13175 PyErr_SetString(PyExc_TypeError
,"null reference");
13179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13180 result
= (wxPropagateOnce
*)new wxPropagateOnce(*arg1
);
13182 wxPyEndAllowThreads(__tstate
);
13183 if (PyErr_Occurred()) SWIG_fail
;
13185 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPropagateOnce
, 1);
13192 static PyObject
*_wrap_delete_PropagateOnce(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13193 PyObject
*resultobj
;
13194 wxPropagateOnce
*arg1
= (wxPropagateOnce
*) 0 ;
13195 PyObject
* obj0
= 0 ;
13196 char *kwnames
[] = {
13197 (char *) "self", NULL
13200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagateOnce",kwnames
,&obj0
)) goto fail
;
13201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPropagateOnce
,
13202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13207 wxPyEndAllowThreads(__tstate
);
13208 if (PyErr_Occurred()) SWIG_fail
;
13210 Py_INCREF(Py_None
); resultobj
= Py_None
;
13217 static PyObject
* PropagateOnce_swigregister(PyObject
*, PyObject
*args
) {
13219 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13220 SWIG_TypeClientData(SWIGTYPE_p_wxPropagateOnce
, obj
);
13222 return Py_BuildValue((char *)"");
13224 static PyObject
*_wrap_new_CommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13225 PyObject
*resultobj
;
13226 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13227 int arg2
= (int) 0 ;
13228 wxCommandEvent
*result
;
13229 PyObject
* obj0
= 0 ;
13230 PyObject
* obj1
= 0 ;
13231 char *kwnames
[] = {
13232 (char *) "commandType",(char *) "winid", NULL
13235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CommandEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
13237 arg1
= (wxEventType
)SWIG_As_int(obj0
);
13238 if (PyErr_Occurred()) SWIG_fail
;
13241 arg2
= (int)SWIG_As_int(obj1
);
13242 if (PyErr_Occurred()) SWIG_fail
;
13245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13246 result
= (wxCommandEvent
*)new wxCommandEvent(arg1
,arg2
);
13248 wxPyEndAllowThreads(__tstate
);
13249 if (PyErr_Occurred()) SWIG_fail
;
13251 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCommandEvent
, 1);
13258 static PyObject
*_wrap_CommandEvent_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13259 PyObject
*resultobj
;
13260 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13262 PyObject
* obj0
= 0 ;
13263 char *kwnames
[] = {
13264 (char *) "self", NULL
13267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
13268 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13272 result
= (int)((wxCommandEvent
const *)arg1
)->GetSelection();
13274 wxPyEndAllowThreads(__tstate
);
13275 if (PyErr_Occurred()) SWIG_fail
;
13277 resultobj
= SWIG_From_int((int)result
);
13284 static PyObject
*_wrap_CommandEvent_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13285 PyObject
*resultobj
;
13286 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13287 wxString
*arg2
= 0 ;
13288 bool temp2
= false ;
13289 PyObject
* obj0
= 0 ;
13290 PyObject
* obj1
= 0 ;
13291 char *kwnames
[] = {
13292 (char *) "self",(char *) "s", NULL
13295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetString",kwnames
,&obj0
,&obj1
)) goto fail
;
13296 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13299 arg2
= wxString_in_helper(obj1
);
13300 if (arg2
== NULL
) SWIG_fail
;
13304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13305 (arg1
)->SetString((wxString
const &)*arg2
);
13307 wxPyEndAllowThreads(__tstate
);
13308 if (PyErr_Occurred()) SWIG_fail
;
13310 Py_INCREF(Py_None
); resultobj
= Py_None
;
13325 static PyObject
*_wrap_CommandEvent_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13326 PyObject
*resultobj
;
13327 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13329 PyObject
* obj0
= 0 ;
13330 char *kwnames
[] = {
13331 (char *) "self", NULL
13334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetString",kwnames
,&obj0
)) goto fail
;
13335 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13339 result
= ((wxCommandEvent
const *)arg1
)->GetString();
13341 wxPyEndAllowThreads(__tstate
);
13342 if (PyErr_Occurred()) SWIG_fail
;
13346 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13348 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13357 static PyObject
*_wrap_CommandEvent_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13358 PyObject
*resultobj
;
13359 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13361 PyObject
* obj0
= 0 ;
13362 char *kwnames
[] = {
13363 (char *) "self", NULL
13366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsChecked",kwnames
,&obj0
)) goto fail
;
13367 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13371 result
= (bool)((wxCommandEvent
const *)arg1
)->IsChecked();
13373 wxPyEndAllowThreads(__tstate
);
13374 if (PyErr_Occurred()) SWIG_fail
;
13377 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13385 static PyObject
*_wrap_CommandEvent_IsSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13386 PyObject
*resultobj
;
13387 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13389 PyObject
* obj0
= 0 ;
13390 char *kwnames
[] = {
13391 (char *) "self", NULL
13394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsSelection",kwnames
,&obj0
)) goto fail
;
13395 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13396 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13399 result
= (bool)((wxCommandEvent
const *)arg1
)->IsSelection();
13401 wxPyEndAllowThreads(__tstate
);
13402 if (PyErr_Occurred()) SWIG_fail
;
13405 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13413 static PyObject
*_wrap_CommandEvent_SetExtraLong(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13414 PyObject
*resultobj
;
13415 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13417 PyObject
* obj0
= 0 ;
13418 PyObject
* obj1
= 0 ;
13419 char *kwnames
[] = {
13420 (char *) "self",(char *) "extraLong", NULL
13423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetExtraLong",kwnames
,&obj0
,&obj1
)) goto fail
;
13424 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13425 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13426 arg2
= (long)SWIG_As_long(obj1
);
13427 if (PyErr_Occurred()) SWIG_fail
;
13429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13430 (arg1
)->SetExtraLong(arg2
);
13432 wxPyEndAllowThreads(__tstate
);
13433 if (PyErr_Occurred()) SWIG_fail
;
13435 Py_INCREF(Py_None
); resultobj
= Py_None
;
13442 static PyObject
*_wrap_CommandEvent_GetExtraLong(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13443 PyObject
*resultobj
;
13444 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13446 PyObject
* obj0
= 0 ;
13447 char *kwnames
[] = {
13448 (char *) "self", NULL
13451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetExtraLong",kwnames
,&obj0
)) goto fail
;
13452 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13453 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13456 result
= (long)((wxCommandEvent
const *)arg1
)->GetExtraLong();
13458 wxPyEndAllowThreads(__tstate
);
13459 if (PyErr_Occurred()) SWIG_fail
;
13461 resultobj
= SWIG_From_long((long)result
);
13468 static PyObject
*_wrap_CommandEvent_SetInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13469 PyObject
*resultobj
;
13470 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13472 PyObject
* obj0
= 0 ;
13473 PyObject
* obj1
= 0 ;
13474 char *kwnames
[] = {
13475 (char *) "self",(char *) "i", NULL
13478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetInt",kwnames
,&obj0
,&obj1
)) goto fail
;
13479 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13480 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13481 arg2
= (int)SWIG_As_int(obj1
);
13482 if (PyErr_Occurred()) SWIG_fail
;
13484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13485 (arg1
)->SetInt(arg2
);
13487 wxPyEndAllowThreads(__tstate
);
13488 if (PyErr_Occurred()) SWIG_fail
;
13490 Py_INCREF(Py_None
); resultobj
= Py_None
;
13497 static PyObject
*_wrap_CommandEvent_GetInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13498 PyObject
*resultobj
;
13499 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13501 PyObject
* obj0
= 0 ;
13502 char *kwnames
[] = {
13503 (char *) "self", NULL
13506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetInt",kwnames
,&obj0
)) goto fail
;
13507 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13508 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13511 result
= (long)((wxCommandEvent
const *)arg1
)->GetInt();
13513 wxPyEndAllowThreads(__tstate
);
13514 if (PyErr_Occurred()) SWIG_fail
;
13516 resultobj
= SWIG_From_long((long)result
);
13523 static PyObject
*_wrap_CommandEvent_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13524 PyObject
*resultobj
;
13525 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13527 PyObject
* obj0
= 0 ;
13528 char *kwnames
[] = {
13529 (char *) "self", NULL
13532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_Clone",kwnames
,&obj0
)) goto fail
;
13533 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13534 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13537 result
= (wxEvent
*)((wxCommandEvent
const *)arg1
)->Clone();
13539 wxPyEndAllowThreads(__tstate
);
13540 if (PyErr_Occurred()) SWIG_fail
;
13542 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvent
, 0);
13549 static PyObject
* CommandEvent_swigregister(PyObject
*, PyObject
*args
) {
13551 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13552 SWIG_TypeClientData(SWIGTYPE_p_wxCommandEvent
, obj
);
13554 return Py_BuildValue((char *)"");
13556 static PyObject
*_wrap_new_NotifyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13557 PyObject
*resultobj
;
13558 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13559 int arg2
= (int) 0 ;
13560 wxNotifyEvent
*result
;
13561 PyObject
* obj0
= 0 ;
13562 PyObject
* obj1
= 0 ;
13563 char *kwnames
[] = {
13564 (char *) "commandType",(char *) "winid", NULL
13567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_NotifyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
13569 arg1
= (wxEventType
)SWIG_As_int(obj0
);
13570 if (PyErr_Occurred()) SWIG_fail
;
13573 arg2
= (int)SWIG_As_int(obj1
);
13574 if (PyErr_Occurred()) SWIG_fail
;
13577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13578 result
= (wxNotifyEvent
*)new wxNotifyEvent(arg1
,arg2
);
13580 wxPyEndAllowThreads(__tstate
);
13581 if (PyErr_Occurred()) SWIG_fail
;
13583 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotifyEvent
, 1);
13590 static PyObject
*_wrap_NotifyEvent_Veto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13591 PyObject
*resultobj
;
13592 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
13593 PyObject
* obj0
= 0 ;
13594 char *kwnames
[] = {
13595 (char *) "self", NULL
13598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Veto",kwnames
,&obj0
)) goto fail
;
13599 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotifyEvent
,
13600 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13605 wxPyEndAllowThreads(__tstate
);
13606 if (PyErr_Occurred()) SWIG_fail
;
13608 Py_INCREF(Py_None
); resultobj
= Py_None
;
13615 static PyObject
*_wrap_NotifyEvent_Allow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13616 PyObject
*resultobj
;
13617 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
13618 PyObject
* obj0
= 0 ;
13619 char *kwnames
[] = {
13620 (char *) "self", NULL
13623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Allow",kwnames
,&obj0
)) goto fail
;
13624 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotifyEvent
,
13625 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13630 wxPyEndAllowThreads(__tstate
);
13631 if (PyErr_Occurred()) SWIG_fail
;
13633 Py_INCREF(Py_None
); resultobj
= Py_None
;
13640 static PyObject
*_wrap_NotifyEvent_IsAllowed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13641 PyObject
*resultobj
;
13642 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
13644 PyObject
* obj0
= 0 ;
13645 char *kwnames
[] = {
13646 (char *) "self", NULL
13649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_IsAllowed",kwnames
,&obj0
)) goto fail
;
13650 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotifyEvent
,
13651 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13654 result
= (bool)(arg1
)->IsAllowed();
13656 wxPyEndAllowThreads(__tstate
);
13657 if (PyErr_Occurred()) SWIG_fail
;
13660 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13668 static PyObject
* NotifyEvent_swigregister(PyObject
*, PyObject
*args
) {
13670 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13671 SWIG_TypeClientData(SWIGTYPE_p_wxNotifyEvent
, obj
);
13673 return Py_BuildValue((char *)"");
13675 static PyObject
*_wrap_new_ScrollEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13676 PyObject
*resultobj
;
13677 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13678 int arg2
= (int) 0 ;
13679 int arg3
= (int) 0 ;
13680 int arg4
= (int) 0 ;
13681 wxScrollEvent
*result
;
13682 PyObject
* obj0
= 0 ;
13683 PyObject
* obj1
= 0 ;
13684 PyObject
* obj2
= 0 ;
13685 PyObject
* obj3
= 0 ;
13686 char *kwnames
[] = {
13687 (char *) "commandType",(char *) "winid",(char *) "pos",(char *) "orient", NULL
13690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ScrollEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13692 arg1
= (wxEventType
)SWIG_As_int(obj0
);
13693 if (PyErr_Occurred()) SWIG_fail
;
13696 arg2
= (int)SWIG_As_int(obj1
);
13697 if (PyErr_Occurred()) SWIG_fail
;
13700 arg3
= (int)SWIG_As_int(obj2
);
13701 if (PyErr_Occurred()) SWIG_fail
;
13704 arg4
= (int)SWIG_As_int(obj3
);
13705 if (PyErr_Occurred()) SWIG_fail
;
13708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13709 result
= (wxScrollEvent
*)new wxScrollEvent(arg1
,arg2
,arg3
,arg4
);
13711 wxPyEndAllowThreads(__tstate
);
13712 if (PyErr_Occurred()) SWIG_fail
;
13714 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollEvent
, 1);
13721 static PyObject
*_wrap_ScrollEvent_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13722 PyObject
*resultobj
;
13723 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13725 PyObject
* obj0
= 0 ;
13726 char *kwnames
[] = {
13727 (char *) "self", NULL
13730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
13731 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13732 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13735 result
= (int)((wxScrollEvent
const *)arg1
)->GetOrientation();
13737 wxPyEndAllowThreads(__tstate
);
13738 if (PyErr_Occurred()) SWIG_fail
;
13740 resultobj
= SWIG_From_int((int)result
);
13747 static PyObject
*_wrap_ScrollEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13748 PyObject
*resultobj
;
13749 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13751 PyObject
* obj0
= 0 ;
13752 char *kwnames
[] = {
13753 (char *) "self", NULL
13756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
13757 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13758 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13761 result
= (int)((wxScrollEvent
const *)arg1
)->GetPosition();
13763 wxPyEndAllowThreads(__tstate
);
13764 if (PyErr_Occurred()) SWIG_fail
;
13766 resultobj
= SWIG_From_int((int)result
);
13773 static PyObject
*_wrap_ScrollEvent_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13774 PyObject
*resultobj
;
13775 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13777 PyObject
* obj0
= 0 ;
13778 PyObject
* obj1
= 0 ;
13779 char *kwnames
[] = {
13780 (char *) "self",(char *) "orient", NULL
13783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
13784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13786 arg2
= (int)SWIG_As_int(obj1
);
13787 if (PyErr_Occurred()) SWIG_fail
;
13789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13790 (arg1
)->SetOrientation(arg2
);
13792 wxPyEndAllowThreads(__tstate
);
13793 if (PyErr_Occurred()) SWIG_fail
;
13795 Py_INCREF(Py_None
); resultobj
= Py_None
;
13802 static PyObject
*_wrap_ScrollEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13803 PyObject
*resultobj
;
13804 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13806 PyObject
* obj0
= 0 ;
13807 PyObject
* obj1
= 0 ;
13808 char *kwnames
[] = {
13809 (char *) "self",(char *) "pos", NULL
13812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
13813 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13814 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13815 arg2
= (int)SWIG_As_int(obj1
);
13816 if (PyErr_Occurred()) SWIG_fail
;
13818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13819 (arg1
)->SetPosition(arg2
);
13821 wxPyEndAllowThreads(__tstate
);
13822 if (PyErr_Occurred()) SWIG_fail
;
13824 Py_INCREF(Py_None
); resultobj
= Py_None
;
13831 static PyObject
* ScrollEvent_swigregister(PyObject
*, PyObject
*args
) {
13833 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13834 SWIG_TypeClientData(SWIGTYPE_p_wxScrollEvent
, obj
);
13836 return Py_BuildValue((char *)"");
13838 static PyObject
*_wrap_new_ScrollWinEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13839 PyObject
*resultobj
;
13840 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13841 int arg2
= (int) 0 ;
13842 int arg3
= (int) 0 ;
13843 wxScrollWinEvent
*result
;
13844 PyObject
* obj0
= 0 ;
13845 PyObject
* obj1
= 0 ;
13846 PyObject
* obj2
= 0 ;
13847 char *kwnames
[] = {
13848 (char *) "commandType",(char *) "pos",(char *) "orient", NULL
13851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ScrollWinEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13853 arg1
= (wxEventType
)SWIG_As_int(obj0
);
13854 if (PyErr_Occurred()) SWIG_fail
;
13857 arg2
= (int)SWIG_As_int(obj1
);
13858 if (PyErr_Occurred()) SWIG_fail
;
13861 arg3
= (int)SWIG_As_int(obj2
);
13862 if (PyErr_Occurred()) SWIG_fail
;
13865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13866 result
= (wxScrollWinEvent
*)new wxScrollWinEvent(arg1
,arg2
,arg3
);
13868 wxPyEndAllowThreads(__tstate
);
13869 if (PyErr_Occurred()) SWIG_fail
;
13871 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollWinEvent
, 1);
13878 static PyObject
*_wrap_ScrollWinEvent_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13879 PyObject
*resultobj
;
13880 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13882 PyObject
* obj0
= 0 ;
13883 char *kwnames
[] = {
13884 (char *) "self", NULL
13887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
13888 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
13889 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13892 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetOrientation();
13894 wxPyEndAllowThreads(__tstate
);
13895 if (PyErr_Occurred()) SWIG_fail
;
13897 resultobj
= SWIG_From_int((int)result
);
13904 static PyObject
*_wrap_ScrollWinEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13905 PyObject
*resultobj
;
13906 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13908 PyObject
* obj0
= 0 ;
13909 char *kwnames
[] = {
13910 (char *) "self", NULL
13913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
13914 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
13915 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13918 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetPosition();
13920 wxPyEndAllowThreads(__tstate
);
13921 if (PyErr_Occurred()) SWIG_fail
;
13923 resultobj
= SWIG_From_int((int)result
);
13930 static PyObject
*_wrap_ScrollWinEvent_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13931 PyObject
*resultobj
;
13932 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13934 PyObject
* obj0
= 0 ;
13935 PyObject
* obj1
= 0 ;
13936 char *kwnames
[] = {
13937 (char *) "self",(char *) "orient", NULL
13940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
13941 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
13942 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13943 arg2
= (int)SWIG_As_int(obj1
);
13944 if (PyErr_Occurred()) SWIG_fail
;
13946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13947 (arg1
)->SetOrientation(arg2
);
13949 wxPyEndAllowThreads(__tstate
);
13950 if (PyErr_Occurred()) SWIG_fail
;
13952 Py_INCREF(Py_None
); resultobj
= Py_None
;
13959 static PyObject
*_wrap_ScrollWinEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13960 PyObject
*resultobj
;
13961 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13963 PyObject
* obj0
= 0 ;
13964 PyObject
* obj1
= 0 ;
13965 char *kwnames
[] = {
13966 (char *) "self",(char *) "pos", NULL
13969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
13970 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
13971 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13972 arg2
= (int)SWIG_As_int(obj1
);
13973 if (PyErr_Occurred()) SWIG_fail
;
13975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13976 (arg1
)->SetPosition(arg2
);
13978 wxPyEndAllowThreads(__tstate
);
13979 if (PyErr_Occurred()) SWIG_fail
;
13981 Py_INCREF(Py_None
); resultobj
= Py_None
;
13988 static PyObject
* ScrollWinEvent_swigregister(PyObject
*, PyObject
*args
) {
13990 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13991 SWIG_TypeClientData(SWIGTYPE_p_wxScrollWinEvent
, obj
);
13993 return Py_BuildValue((char *)"");
13995 static PyObject
*_wrap_new_MouseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13996 PyObject
*resultobj
;
13997 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13998 wxMouseEvent
*result
;
13999 PyObject
* obj0
= 0 ;
14000 char *kwnames
[] = {
14001 (char *) "mouseType", NULL
14004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MouseEvent",kwnames
,&obj0
)) goto fail
;
14006 arg1
= (wxEventType
)SWIG_As_int(obj0
);
14007 if (PyErr_Occurred()) SWIG_fail
;
14010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14011 result
= (wxMouseEvent
*)new wxMouseEvent(arg1
);
14013 wxPyEndAllowThreads(__tstate
);
14014 if (PyErr_Occurred()) SWIG_fail
;
14017 resultobj
= wxPyMake_wxObject(result
, 1);
14025 static PyObject
*_wrap_MouseEvent_IsButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14026 PyObject
*resultobj
;
14027 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14029 PyObject
* obj0
= 0 ;
14030 char *kwnames
[] = {
14031 (char *) "self", NULL
14034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsButton",kwnames
,&obj0
)) goto fail
;
14035 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14039 result
= (bool)((wxMouseEvent
const *)arg1
)->IsButton();
14041 wxPyEndAllowThreads(__tstate
);
14042 if (PyErr_Occurred()) SWIG_fail
;
14045 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14053 static PyObject
*_wrap_MouseEvent_ButtonDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14054 PyObject
*resultobj
;
14055 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14056 int arg2
= (int) wxMOUSE_BTN_ANY
;
14058 PyObject
* obj0
= 0 ;
14059 PyObject
* obj1
= 0 ;
14060 char *kwnames
[] = {
14061 (char *) "self",(char *) "but", NULL
14064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) goto fail
;
14065 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14066 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14068 arg2
= (int)SWIG_As_int(obj1
);
14069 if (PyErr_Occurred()) SWIG_fail
;
14072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14073 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDown(arg2
);
14075 wxPyEndAllowThreads(__tstate
);
14076 if (PyErr_Occurred()) SWIG_fail
;
14079 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14087 static PyObject
*_wrap_MouseEvent_ButtonDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14088 PyObject
*resultobj
;
14089 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14090 int arg2
= (int) wxMOUSE_BTN_ANY
;
14092 PyObject
* obj0
= 0 ;
14093 PyObject
* obj1
= 0 ;
14094 char *kwnames
[] = {
14095 (char *) "self",(char *) "but", NULL
14098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDClick",kwnames
,&obj0
,&obj1
)) goto fail
;
14099 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14100 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14102 arg2
= (int)SWIG_As_int(obj1
);
14103 if (PyErr_Occurred()) SWIG_fail
;
14106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14107 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDClick(arg2
);
14109 wxPyEndAllowThreads(__tstate
);
14110 if (PyErr_Occurred()) SWIG_fail
;
14113 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14121 static PyObject
*_wrap_MouseEvent_ButtonUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14122 PyObject
*resultobj
;
14123 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14124 int arg2
= (int) wxMOUSE_BTN_ANY
;
14126 PyObject
* obj0
= 0 ;
14127 PyObject
* obj1
= 0 ;
14128 char *kwnames
[] = {
14129 (char *) "self",(char *) "but", NULL
14132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) goto fail
;
14133 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14134 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14136 arg2
= (int)SWIG_As_int(obj1
);
14137 if (PyErr_Occurred()) SWIG_fail
;
14140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14141 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonUp(arg2
);
14143 wxPyEndAllowThreads(__tstate
);
14144 if (PyErr_Occurred()) SWIG_fail
;
14147 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14155 static PyObject
*_wrap_MouseEvent_Button(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14156 PyObject
*resultobj
;
14157 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14160 PyObject
* obj0
= 0 ;
14161 PyObject
* obj1
= 0 ;
14162 char *kwnames
[] = {
14163 (char *) "self",(char *) "but", NULL
14166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_Button",kwnames
,&obj0
,&obj1
)) goto fail
;
14167 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14168 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14169 arg2
= (int)SWIG_As_int(obj1
);
14170 if (PyErr_Occurred()) SWIG_fail
;
14172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14173 result
= (bool)((wxMouseEvent
const *)arg1
)->Button(arg2
);
14175 wxPyEndAllowThreads(__tstate
);
14176 if (PyErr_Occurred()) SWIG_fail
;
14179 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14187 static PyObject
*_wrap_MouseEvent_ButtonIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14188 PyObject
*resultobj
;
14189 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14192 PyObject
* obj0
= 0 ;
14193 PyObject
* obj1
= 0 ;
14194 char *kwnames
[] = {
14195 (char *) "self",(char *) "but", NULL
14198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) goto fail
;
14199 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14200 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14201 arg2
= (int)SWIG_As_int(obj1
);
14202 if (PyErr_Occurred()) SWIG_fail
;
14204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14205 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonIsDown(arg2
);
14207 wxPyEndAllowThreads(__tstate
);
14208 if (PyErr_Occurred()) SWIG_fail
;
14211 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14219 static PyObject
*_wrap_MouseEvent_GetButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14220 PyObject
*resultobj
;
14221 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14223 PyObject
* obj0
= 0 ;
14224 char *kwnames
[] = {
14225 (char *) "self", NULL
14228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetButton",kwnames
,&obj0
)) goto fail
;
14229 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14233 result
= (int)((wxMouseEvent
const *)arg1
)->GetButton();
14235 wxPyEndAllowThreads(__tstate
);
14236 if (PyErr_Occurred()) SWIG_fail
;
14238 resultobj
= SWIG_From_int((int)result
);
14245 static PyObject
*_wrap_MouseEvent_ControlDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14246 PyObject
*resultobj
;
14247 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14249 PyObject
* obj0
= 0 ;
14250 char *kwnames
[] = {
14251 (char *) "self", NULL
14254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
14255 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14256 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14259 result
= (bool)((wxMouseEvent
const *)arg1
)->ControlDown();
14261 wxPyEndAllowThreads(__tstate
);
14262 if (PyErr_Occurred()) SWIG_fail
;
14265 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14273 static PyObject
*_wrap_MouseEvent_MetaDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14274 PyObject
*resultobj
;
14275 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14277 PyObject
* obj0
= 0 ;
14278 char *kwnames
[] = {
14279 (char *) "self", NULL
14282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
14283 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14284 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14287 result
= (bool)((wxMouseEvent
const *)arg1
)->MetaDown();
14289 wxPyEndAllowThreads(__tstate
);
14290 if (PyErr_Occurred()) SWIG_fail
;
14293 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14301 static PyObject
*_wrap_MouseEvent_AltDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14302 PyObject
*resultobj
;
14303 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14305 PyObject
* obj0
= 0 ;
14306 char *kwnames
[] = {
14307 (char *) "self", NULL
14310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_AltDown",kwnames
,&obj0
)) goto fail
;
14311 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14315 result
= (bool)((wxMouseEvent
const *)arg1
)->AltDown();
14317 wxPyEndAllowThreads(__tstate
);
14318 if (PyErr_Occurred()) SWIG_fail
;
14321 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14329 static PyObject
*_wrap_MouseEvent_ShiftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14330 PyObject
*resultobj
;
14331 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14333 PyObject
* obj0
= 0 ;
14334 char *kwnames
[] = {
14335 (char *) "self", NULL
14338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
14339 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14343 result
= (bool)((wxMouseEvent
const *)arg1
)->ShiftDown();
14345 wxPyEndAllowThreads(__tstate
);
14346 if (PyErr_Occurred()) SWIG_fail
;
14349 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14357 static PyObject
*_wrap_MouseEvent_CmdDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14358 PyObject
*resultobj
;
14359 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14361 PyObject
* obj0
= 0 ;
14362 char *kwnames
[] = {
14363 (char *) "self", NULL
14366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_CmdDown",kwnames
,&obj0
)) goto fail
;
14367 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14371 result
= (bool)((wxMouseEvent
const *)arg1
)->CmdDown();
14373 wxPyEndAllowThreads(__tstate
);
14374 if (PyErr_Occurred()) SWIG_fail
;
14377 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14385 static PyObject
*_wrap_MouseEvent_LeftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14386 PyObject
*resultobj
;
14387 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14389 PyObject
* obj0
= 0 ;
14390 char *kwnames
[] = {
14391 (char *) "self", NULL
14394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDown",kwnames
,&obj0
)) goto fail
;
14395 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14396 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14399 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDown();
14401 wxPyEndAllowThreads(__tstate
);
14402 if (PyErr_Occurred()) SWIG_fail
;
14405 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14413 static PyObject
*_wrap_MouseEvent_MiddleDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14414 PyObject
*resultobj
;
14415 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14417 PyObject
* obj0
= 0 ;
14418 char *kwnames
[] = {
14419 (char *) "self", NULL
14422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDown",kwnames
,&obj0
)) goto fail
;
14423 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14424 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14427 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDown();
14429 wxPyEndAllowThreads(__tstate
);
14430 if (PyErr_Occurred()) SWIG_fail
;
14433 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14441 static PyObject
*_wrap_MouseEvent_RightDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14442 PyObject
*resultobj
;
14443 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14445 PyObject
* obj0
= 0 ;
14446 char *kwnames
[] = {
14447 (char *) "self", NULL
14450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDown",kwnames
,&obj0
)) goto fail
;
14451 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14452 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14455 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDown();
14457 wxPyEndAllowThreads(__tstate
);
14458 if (PyErr_Occurred()) SWIG_fail
;
14461 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14469 static PyObject
*_wrap_MouseEvent_LeftUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14470 PyObject
*resultobj
;
14471 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14473 PyObject
* obj0
= 0 ;
14474 char *kwnames
[] = {
14475 (char *) "self", NULL
14478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftUp",kwnames
,&obj0
)) goto fail
;
14479 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14480 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14483 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftUp();
14485 wxPyEndAllowThreads(__tstate
);
14486 if (PyErr_Occurred()) SWIG_fail
;
14489 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14497 static PyObject
*_wrap_MouseEvent_MiddleUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14498 PyObject
*resultobj
;
14499 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14501 PyObject
* obj0
= 0 ;
14502 char *kwnames
[] = {
14503 (char *) "self", NULL
14506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleUp",kwnames
,&obj0
)) goto fail
;
14507 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14508 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14511 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleUp();
14513 wxPyEndAllowThreads(__tstate
);
14514 if (PyErr_Occurred()) SWIG_fail
;
14517 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14525 static PyObject
*_wrap_MouseEvent_RightUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14526 PyObject
*resultobj
;
14527 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14529 PyObject
* obj0
= 0 ;
14530 char *kwnames
[] = {
14531 (char *) "self", NULL
14534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightUp",kwnames
,&obj0
)) goto fail
;
14535 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14536 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14539 result
= (bool)((wxMouseEvent
const *)arg1
)->RightUp();
14541 wxPyEndAllowThreads(__tstate
);
14542 if (PyErr_Occurred()) SWIG_fail
;
14545 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14553 static PyObject
*_wrap_MouseEvent_LeftDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14554 PyObject
*resultobj
;
14555 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14557 PyObject
* obj0
= 0 ;
14558 char *kwnames
[] = {
14559 (char *) "self", NULL
14562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDClick",kwnames
,&obj0
)) goto fail
;
14563 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14564 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14567 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDClick();
14569 wxPyEndAllowThreads(__tstate
);
14570 if (PyErr_Occurred()) SWIG_fail
;
14573 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14581 static PyObject
*_wrap_MouseEvent_MiddleDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14582 PyObject
*resultobj
;
14583 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14585 PyObject
* obj0
= 0 ;
14586 char *kwnames
[] = {
14587 (char *) "self", NULL
14590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDClick",kwnames
,&obj0
)) goto fail
;
14591 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14595 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDClick();
14597 wxPyEndAllowThreads(__tstate
);
14598 if (PyErr_Occurred()) SWIG_fail
;
14601 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14609 static PyObject
*_wrap_MouseEvent_RightDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14610 PyObject
*resultobj
;
14611 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14613 PyObject
* obj0
= 0 ;
14614 char *kwnames
[] = {
14615 (char *) "self", NULL
14618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDClick",kwnames
,&obj0
)) goto fail
;
14619 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14620 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14623 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDClick();
14625 wxPyEndAllowThreads(__tstate
);
14626 if (PyErr_Occurred()) SWIG_fail
;
14629 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14637 static PyObject
*_wrap_MouseEvent_LeftIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14638 PyObject
*resultobj
;
14639 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14641 PyObject
* obj0
= 0 ;
14642 char *kwnames
[] = {
14643 (char *) "self", NULL
14646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftIsDown",kwnames
,&obj0
)) goto fail
;
14647 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14651 result
= (bool)(arg1
)->LeftIsDown();
14653 wxPyEndAllowThreads(__tstate
);
14654 if (PyErr_Occurred()) SWIG_fail
;
14657 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14665 static PyObject
*_wrap_MouseEvent_MiddleIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14666 PyObject
*resultobj
;
14667 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14669 PyObject
* obj0
= 0 ;
14670 char *kwnames
[] = {
14671 (char *) "self", NULL
14674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleIsDown",kwnames
,&obj0
)) goto fail
;
14675 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14676 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14679 result
= (bool)(arg1
)->MiddleIsDown();
14681 wxPyEndAllowThreads(__tstate
);
14682 if (PyErr_Occurred()) SWIG_fail
;
14685 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14693 static PyObject
*_wrap_MouseEvent_RightIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14694 PyObject
*resultobj
;
14695 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14697 PyObject
* obj0
= 0 ;
14698 char *kwnames
[] = {
14699 (char *) "self", NULL
14702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightIsDown",kwnames
,&obj0
)) goto fail
;
14703 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14704 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14707 result
= (bool)(arg1
)->RightIsDown();
14709 wxPyEndAllowThreads(__tstate
);
14710 if (PyErr_Occurred()) SWIG_fail
;
14713 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14721 static PyObject
*_wrap_MouseEvent_Dragging(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14722 PyObject
*resultobj
;
14723 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14725 PyObject
* obj0
= 0 ;
14726 char *kwnames
[] = {
14727 (char *) "self", NULL
14730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Dragging",kwnames
,&obj0
)) goto fail
;
14731 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14732 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14735 result
= (bool)((wxMouseEvent
const *)arg1
)->Dragging();
14737 wxPyEndAllowThreads(__tstate
);
14738 if (PyErr_Occurred()) SWIG_fail
;
14741 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14749 static PyObject
*_wrap_MouseEvent_Moving(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14750 PyObject
*resultobj
;
14751 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14753 PyObject
* obj0
= 0 ;
14754 char *kwnames
[] = {
14755 (char *) "self", NULL
14758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Moving",kwnames
,&obj0
)) goto fail
;
14759 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14763 result
= (bool)((wxMouseEvent
const *)arg1
)->Moving();
14765 wxPyEndAllowThreads(__tstate
);
14766 if (PyErr_Occurred()) SWIG_fail
;
14769 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14777 static PyObject
*_wrap_MouseEvent_Entering(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14778 PyObject
*resultobj
;
14779 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14781 PyObject
* obj0
= 0 ;
14782 char *kwnames
[] = {
14783 (char *) "self", NULL
14786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Entering",kwnames
,&obj0
)) goto fail
;
14787 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14788 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14791 result
= (bool)((wxMouseEvent
const *)arg1
)->Entering();
14793 wxPyEndAllowThreads(__tstate
);
14794 if (PyErr_Occurred()) SWIG_fail
;
14797 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14805 static PyObject
*_wrap_MouseEvent_Leaving(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14806 PyObject
*resultobj
;
14807 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14809 PyObject
* obj0
= 0 ;
14810 char *kwnames
[] = {
14811 (char *) "self", NULL
14814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Leaving",kwnames
,&obj0
)) goto fail
;
14815 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14816 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14819 result
= (bool)((wxMouseEvent
const *)arg1
)->Leaving();
14821 wxPyEndAllowThreads(__tstate
);
14822 if (PyErr_Occurred()) SWIG_fail
;
14825 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14833 static PyObject
*_wrap_MouseEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14834 PyObject
*resultobj
;
14835 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14837 PyObject
* obj0
= 0 ;
14838 char *kwnames
[] = {
14839 (char *) "self", NULL
14842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
14843 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14847 result
= (arg1
)->GetPosition();
14849 wxPyEndAllowThreads(__tstate
);
14850 if (PyErr_Occurred()) SWIG_fail
;
14853 wxPoint
* resultptr
;
14854 resultptr
= new wxPoint((wxPoint
&) result
);
14855 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
14863 static PyObject
*_wrap_MouseEvent_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14864 PyObject
*resultobj
;
14865 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14866 long *arg2
= (long *) 0 ;
14867 long *arg3
= (long *) 0 ;
14872 PyObject
* obj0
= 0 ;
14873 char *kwnames
[] = {
14874 (char *) "self", NULL
14877 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
14878 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
14879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
14880 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14881 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14884 (arg1
)->GetPosition(arg2
,arg3
);
14886 wxPyEndAllowThreads(__tstate
);
14887 if (PyErr_Occurred()) SWIG_fail
;
14889 Py_INCREF(Py_None
); resultobj
= Py_None
;
14890 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
14891 SWIG_From_long((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, 0)));
14892 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
14893 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
14900 static PyObject
*_wrap_MouseEvent_GetLogicalPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14901 PyObject
*resultobj
;
14902 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14905 PyObject
* obj0
= 0 ;
14906 PyObject
* obj1
= 0 ;
14907 char *kwnames
[] = {
14908 (char *) "self",(char *) "dc", NULL
14911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_GetLogicalPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
14912 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14914 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
14915 SWIG_POINTER_EXCEPTION
| 0)) == -1)
14917 if (arg2
== NULL
) {
14918 PyErr_SetString(PyExc_TypeError
,"null reference");
14922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14923 result
= ((wxMouseEvent
const *)arg1
)->GetLogicalPosition((wxDC
const &)*arg2
);
14925 wxPyEndAllowThreads(__tstate
);
14926 if (PyErr_Occurred()) SWIG_fail
;
14929 wxPoint
* resultptr
;
14930 resultptr
= new wxPoint((wxPoint
&) result
);
14931 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
14939 static PyObject
*_wrap_MouseEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14940 PyObject
*resultobj
;
14941 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14943 PyObject
* obj0
= 0 ;
14944 char *kwnames
[] = {
14945 (char *) "self", NULL
14948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetX",kwnames
,&obj0
)) goto fail
;
14949 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14953 result
= (int)((wxMouseEvent
const *)arg1
)->GetX();
14955 wxPyEndAllowThreads(__tstate
);
14956 if (PyErr_Occurred()) SWIG_fail
;
14958 resultobj
= SWIG_From_int((int)result
);
14965 static PyObject
*_wrap_MouseEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14966 PyObject
*resultobj
;
14967 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14969 PyObject
* obj0
= 0 ;
14970 char *kwnames
[] = {
14971 (char *) "self", NULL
14974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetY",kwnames
,&obj0
)) goto fail
;
14975 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14979 result
= (int)((wxMouseEvent
const *)arg1
)->GetY();
14981 wxPyEndAllowThreads(__tstate
);
14982 if (PyErr_Occurred()) SWIG_fail
;
14984 resultobj
= SWIG_From_int((int)result
);
14991 static PyObject
*_wrap_MouseEvent_GetWheelRotation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14992 PyObject
*resultobj
;
14993 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14995 PyObject
* obj0
= 0 ;
14996 char *kwnames
[] = {
14997 (char *) "self", NULL
15000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelRotation",kwnames
,&obj0
)) goto fail
;
15001 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15002 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15005 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelRotation();
15007 wxPyEndAllowThreads(__tstate
);
15008 if (PyErr_Occurred()) SWIG_fail
;
15010 resultobj
= SWIG_From_int((int)result
);
15017 static PyObject
*_wrap_MouseEvent_GetWheelDelta(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15018 PyObject
*resultobj
;
15019 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15021 PyObject
* obj0
= 0 ;
15022 char *kwnames
[] = {
15023 (char *) "self", NULL
15026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelDelta",kwnames
,&obj0
)) goto fail
;
15027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15031 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelDelta();
15033 wxPyEndAllowThreads(__tstate
);
15034 if (PyErr_Occurred()) SWIG_fail
;
15036 resultobj
= SWIG_From_int((int)result
);
15043 static PyObject
*_wrap_MouseEvent_GetLinesPerAction(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15044 PyObject
*resultobj
;
15045 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15047 PyObject
* obj0
= 0 ;
15048 char *kwnames
[] = {
15049 (char *) "self", NULL
15052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetLinesPerAction",kwnames
,&obj0
)) goto fail
;
15053 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15054 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15057 result
= (int)((wxMouseEvent
const *)arg1
)->GetLinesPerAction();
15059 wxPyEndAllowThreads(__tstate
);
15060 if (PyErr_Occurred()) SWIG_fail
;
15062 resultobj
= SWIG_From_int((int)result
);
15069 static PyObject
*_wrap_MouseEvent_IsPageScroll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15070 PyObject
*resultobj
;
15071 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15073 PyObject
* obj0
= 0 ;
15074 char *kwnames
[] = {
15075 (char *) "self", NULL
15078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsPageScroll",kwnames
,&obj0
)) goto fail
;
15079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15083 result
= (bool)((wxMouseEvent
const *)arg1
)->IsPageScroll();
15085 wxPyEndAllowThreads(__tstate
);
15086 if (PyErr_Occurred()) SWIG_fail
;
15089 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15097 static PyObject
*_wrap_MouseEvent_m_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15098 PyObject
*resultobj
;
15099 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15101 PyObject
* obj0
= 0 ;
15102 PyObject
* obj1
= 0 ;
15103 char *kwnames
[] = {
15104 (char *) "self",(char *) "m_x", NULL
15107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15108 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15109 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15110 arg2
= (int)SWIG_As_int(obj1
);
15111 if (PyErr_Occurred()) SWIG_fail
;
15112 if (arg1
) (arg1
)->m_x
= arg2
;
15114 Py_INCREF(Py_None
); resultobj
= Py_None
;
15121 static PyObject
*_wrap_MouseEvent_m_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15122 PyObject
*resultobj
;
15123 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15125 PyObject
* obj0
= 0 ;
15126 char *kwnames
[] = {
15127 (char *) "self", NULL
15130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
15131 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15132 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15133 result
= (int) ((arg1
)->m_x
);
15135 resultobj
= SWIG_From_int((int)result
);
15142 static PyObject
*_wrap_MouseEvent_m_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15143 PyObject
*resultobj
;
15144 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15146 PyObject
* obj0
= 0 ;
15147 PyObject
* obj1
= 0 ;
15148 char *kwnames
[] = {
15149 (char *) "self",(char *) "m_y", NULL
15152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15153 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15154 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15155 arg2
= (int)SWIG_As_int(obj1
);
15156 if (PyErr_Occurred()) SWIG_fail
;
15157 if (arg1
) (arg1
)->m_y
= arg2
;
15159 Py_INCREF(Py_None
); resultobj
= Py_None
;
15166 static PyObject
*_wrap_MouseEvent_m_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15167 PyObject
*resultobj
;
15168 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15170 PyObject
* obj0
= 0 ;
15171 char *kwnames
[] = {
15172 (char *) "self", NULL
15175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
15176 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15178 result
= (int) ((arg1
)->m_y
);
15180 resultobj
= SWIG_From_int((int)result
);
15187 static PyObject
*_wrap_MouseEvent_m_leftDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15188 PyObject
*resultobj
;
15189 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15191 PyObject
* obj0
= 0 ;
15192 PyObject
* obj1
= 0 ;
15193 char *kwnames
[] = {
15194 (char *) "self",(char *) "m_leftDown", NULL
15197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_leftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15198 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15199 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15200 arg2
= (bool)SWIG_As_bool(obj1
);
15201 if (PyErr_Occurred()) SWIG_fail
;
15202 if (arg1
) (arg1
)->m_leftDown
= arg2
;
15204 Py_INCREF(Py_None
); resultobj
= Py_None
;
15211 static PyObject
*_wrap_MouseEvent_m_leftDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15212 PyObject
*resultobj
;
15213 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15215 PyObject
* obj0
= 0 ;
15216 char *kwnames
[] = {
15217 (char *) "self", NULL
15220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_leftDown_get",kwnames
,&obj0
)) goto fail
;
15221 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15222 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15223 result
= (bool) ((arg1
)->m_leftDown
);
15226 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15234 static PyObject
*_wrap_MouseEvent_m_middleDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15235 PyObject
*resultobj
;
15236 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15238 PyObject
* obj0
= 0 ;
15239 PyObject
* obj1
= 0 ;
15240 char *kwnames
[] = {
15241 (char *) "self",(char *) "m_middleDown", NULL
15244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_middleDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15247 arg2
= (bool)SWIG_As_bool(obj1
);
15248 if (PyErr_Occurred()) SWIG_fail
;
15249 if (arg1
) (arg1
)->m_middleDown
= arg2
;
15251 Py_INCREF(Py_None
); resultobj
= Py_None
;
15258 static PyObject
*_wrap_MouseEvent_m_middleDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15259 PyObject
*resultobj
;
15260 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15262 PyObject
* obj0
= 0 ;
15263 char *kwnames
[] = {
15264 (char *) "self", NULL
15267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_middleDown_get",kwnames
,&obj0
)) goto fail
;
15268 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15270 result
= (bool) ((arg1
)->m_middleDown
);
15273 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15281 static PyObject
*_wrap_MouseEvent_m_rightDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15282 PyObject
*resultobj
;
15283 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15285 PyObject
* obj0
= 0 ;
15286 PyObject
* obj1
= 0 ;
15287 char *kwnames
[] = {
15288 (char *) "self",(char *) "m_rightDown", NULL
15291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_rightDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15292 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15294 arg2
= (bool)SWIG_As_bool(obj1
);
15295 if (PyErr_Occurred()) SWIG_fail
;
15296 if (arg1
) (arg1
)->m_rightDown
= arg2
;
15298 Py_INCREF(Py_None
); resultobj
= Py_None
;
15305 static PyObject
*_wrap_MouseEvent_m_rightDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15306 PyObject
*resultobj
;
15307 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15309 PyObject
* obj0
= 0 ;
15310 char *kwnames
[] = {
15311 (char *) "self", NULL
15314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_rightDown_get",kwnames
,&obj0
)) goto fail
;
15315 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15316 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15317 result
= (bool) ((arg1
)->m_rightDown
);
15320 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15328 static PyObject
*_wrap_MouseEvent_m_controlDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15329 PyObject
*resultobj
;
15330 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15332 PyObject
* obj0
= 0 ;
15333 PyObject
* obj1
= 0 ;
15334 char *kwnames
[] = {
15335 (char *) "self",(char *) "m_controlDown", NULL
15338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15339 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15341 arg2
= (bool)SWIG_As_bool(obj1
);
15342 if (PyErr_Occurred()) SWIG_fail
;
15343 if (arg1
) (arg1
)->m_controlDown
= arg2
;
15345 Py_INCREF(Py_None
); resultobj
= Py_None
;
15352 static PyObject
*_wrap_MouseEvent_m_controlDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15353 PyObject
*resultobj
;
15354 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15356 PyObject
* obj0
= 0 ;
15357 char *kwnames
[] = {
15358 (char *) "self", NULL
15361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
15362 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15364 result
= (bool) ((arg1
)->m_controlDown
);
15367 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15375 static PyObject
*_wrap_MouseEvent_m_shiftDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15376 PyObject
*resultobj
;
15377 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15379 PyObject
* obj0
= 0 ;
15380 PyObject
* obj1
= 0 ;
15381 char *kwnames
[] = {
15382 (char *) "self",(char *) "m_shiftDown", NULL
15385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15386 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15387 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15388 arg2
= (bool)SWIG_As_bool(obj1
);
15389 if (PyErr_Occurred()) SWIG_fail
;
15390 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
15392 Py_INCREF(Py_None
); resultobj
= Py_None
;
15399 static PyObject
*_wrap_MouseEvent_m_shiftDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15400 PyObject
*resultobj
;
15401 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15403 PyObject
* obj0
= 0 ;
15404 char *kwnames
[] = {
15405 (char *) "self", NULL
15408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
15409 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15410 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15411 result
= (bool) ((arg1
)->m_shiftDown
);
15414 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15422 static PyObject
*_wrap_MouseEvent_m_altDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15423 PyObject
*resultobj
;
15424 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15426 PyObject
* obj0
= 0 ;
15427 PyObject
* obj1
= 0 ;
15428 char *kwnames
[] = {
15429 (char *) "self",(char *) "m_altDown", NULL
15432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15433 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15435 arg2
= (bool)SWIG_As_bool(obj1
);
15436 if (PyErr_Occurred()) SWIG_fail
;
15437 if (arg1
) (arg1
)->m_altDown
= arg2
;
15439 Py_INCREF(Py_None
); resultobj
= Py_None
;
15446 static PyObject
*_wrap_MouseEvent_m_altDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15447 PyObject
*resultobj
;
15448 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15450 PyObject
* obj0
= 0 ;
15451 char *kwnames
[] = {
15452 (char *) "self", NULL
15455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
15456 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15457 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15458 result
= (bool) ((arg1
)->m_altDown
);
15461 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15469 static PyObject
*_wrap_MouseEvent_m_metaDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15470 PyObject
*resultobj
;
15471 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15473 PyObject
* obj0
= 0 ;
15474 PyObject
* obj1
= 0 ;
15475 char *kwnames
[] = {
15476 (char *) "self",(char *) "m_metaDown", NULL
15479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15480 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15481 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15482 arg2
= (bool)SWIG_As_bool(obj1
);
15483 if (PyErr_Occurred()) SWIG_fail
;
15484 if (arg1
) (arg1
)->m_metaDown
= arg2
;
15486 Py_INCREF(Py_None
); resultobj
= Py_None
;
15493 static PyObject
*_wrap_MouseEvent_m_metaDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15494 PyObject
*resultobj
;
15495 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15497 PyObject
* obj0
= 0 ;
15498 char *kwnames
[] = {
15499 (char *) "self", NULL
15502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
15503 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15505 result
= (bool) ((arg1
)->m_metaDown
);
15508 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15516 static PyObject
*_wrap_MouseEvent_m_wheelRotation_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15517 PyObject
*resultobj
;
15518 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15520 PyObject
* obj0
= 0 ;
15521 PyObject
* obj1
= 0 ;
15522 char *kwnames
[] = {
15523 (char *) "self",(char *) "m_wheelRotation", NULL
15526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_wheelRotation_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15527 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15528 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15529 arg2
= (int)SWIG_As_int(obj1
);
15530 if (PyErr_Occurred()) SWIG_fail
;
15531 if (arg1
) (arg1
)->m_wheelRotation
= arg2
;
15533 Py_INCREF(Py_None
); resultobj
= Py_None
;
15540 static PyObject
*_wrap_MouseEvent_m_wheelRotation_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15541 PyObject
*resultobj
;
15542 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15544 PyObject
* obj0
= 0 ;
15545 char *kwnames
[] = {
15546 (char *) "self", NULL
15549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelRotation_get",kwnames
,&obj0
)) goto fail
;
15550 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15552 result
= (int) ((arg1
)->m_wheelRotation
);
15554 resultobj
= SWIG_From_int((int)result
);
15561 static PyObject
*_wrap_MouseEvent_m_wheelDelta_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15562 PyObject
*resultobj
;
15563 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15565 PyObject
* obj0
= 0 ;
15566 PyObject
* obj1
= 0 ;
15567 char *kwnames
[] = {
15568 (char *) "self",(char *) "m_wheelDelta", NULL
15571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_wheelDelta_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15572 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15573 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15574 arg2
= (int)SWIG_As_int(obj1
);
15575 if (PyErr_Occurred()) SWIG_fail
;
15576 if (arg1
) (arg1
)->m_wheelDelta
= arg2
;
15578 Py_INCREF(Py_None
); resultobj
= Py_None
;
15585 static PyObject
*_wrap_MouseEvent_m_wheelDelta_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15586 PyObject
*resultobj
;
15587 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15589 PyObject
* obj0
= 0 ;
15590 char *kwnames
[] = {
15591 (char *) "self", NULL
15594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelDelta_get",kwnames
,&obj0
)) goto fail
;
15595 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15596 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15597 result
= (int) ((arg1
)->m_wheelDelta
);
15599 resultobj
= SWIG_From_int((int)result
);
15606 static PyObject
*_wrap_MouseEvent_m_linesPerAction_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15607 PyObject
*resultobj
;
15608 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15610 PyObject
* obj0
= 0 ;
15611 PyObject
* obj1
= 0 ;
15612 char *kwnames
[] = {
15613 (char *) "self",(char *) "m_linesPerAction", NULL
15616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_linesPerAction_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15617 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15618 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15619 arg2
= (int)SWIG_As_int(obj1
);
15620 if (PyErr_Occurred()) SWIG_fail
;
15621 if (arg1
) (arg1
)->m_linesPerAction
= arg2
;
15623 Py_INCREF(Py_None
); resultobj
= Py_None
;
15630 static PyObject
*_wrap_MouseEvent_m_linesPerAction_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15631 PyObject
*resultobj
;
15632 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15634 PyObject
* obj0
= 0 ;
15635 char *kwnames
[] = {
15636 (char *) "self", NULL
15639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_linesPerAction_get",kwnames
,&obj0
)) goto fail
;
15640 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15641 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15642 result
= (int) ((arg1
)->m_linesPerAction
);
15644 resultobj
= SWIG_From_int((int)result
);
15651 static PyObject
* MouseEvent_swigregister(PyObject
*, PyObject
*args
) {
15653 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15654 SWIG_TypeClientData(SWIGTYPE_p_wxMouseEvent
, obj
);
15656 return Py_BuildValue((char *)"");
15658 static PyObject
*_wrap_new_SetCursorEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15659 PyObject
*resultobj
;
15660 int arg1
= (int) 0 ;
15661 int arg2
= (int) 0 ;
15662 wxSetCursorEvent
*result
;
15663 PyObject
* obj0
= 0 ;
15664 PyObject
* obj1
= 0 ;
15665 char *kwnames
[] = {
15666 (char *) "x",(char *) "y", NULL
15669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SetCursorEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
15671 arg1
= (int)SWIG_As_int(obj0
);
15672 if (PyErr_Occurred()) SWIG_fail
;
15675 arg2
= (int)SWIG_As_int(obj1
);
15676 if (PyErr_Occurred()) SWIG_fail
;
15679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15680 result
= (wxSetCursorEvent
*)new wxSetCursorEvent(arg1
,arg2
);
15682 wxPyEndAllowThreads(__tstate
);
15683 if (PyErr_Occurred()) SWIG_fail
;
15685 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSetCursorEvent
, 1);
15692 static PyObject
*_wrap_SetCursorEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15693 PyObject
*resultobj
;
15694 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15696 PyObject
* obj0
= 0 ;
15697 char *kwnames
[] = {
15698 (char *) "self", NULL
15701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetX",kwnames
,&obj0
)) goto fail
;
15702 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15703 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15706 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetX();
15708 wxPyEndAllowThreads(__tstate
);
15709 if (PyErr_Occurred()) SWIG_fail
;
15711 resultobj
= SWIG_From_int((int)result
);
15718 static PyObject
*_wrap_SetCursorEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15719 PyObject
*resultobj
;
15720 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15722 PyObject
* obj0
= 0 ;
15723 char *kwnames
[] = {
15724 (char *) "self", NULL
15727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetY",kwnames
,&obj0
)) goto fail
;
15728 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15732 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetY();
15734 wxPyEndAllowThreads(__tstate
);
15735 if (PyErr_Occurred()) SWIG_fail
;
15737 resultobj
= SWIG_From_int((int)result
);
15744 static PyObject
*_wrap_SetCursorEvent_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15745 PyObject
*resultobj
;
15746 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15747 wxCursor
*arg2
= 0 ;
15748 PyObject
* obj0
= 0 ;
15749 PyObject
* obj1
= 0 ;
15750 char *kwnames
[] = {
15751 (char *) "self",(char *) "cursor", NULL
15754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SetCursorEvent_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
15755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15757 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
15758 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15760 if (arg2
== NULL
) {
15761 PyErr_SetString(PyExc_TypeError
,"null reference");
15765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15766 (arg1
)->SetCursor((wxCursor
const &)*arg2
);
15768 wxPyEndAllowThreads(__tstate
);
15769 if (PyErr_Occurred()) SWIG_fail
;
15771 Py_INCREF(Py_None
); resultobj
= Py_None
;
15778 static PyObject
*_wrap_SetCursorEvent_GetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15779 PyObject
*resultobj
;
15780 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15782 PyObject
* obj0
= 0 ;
15783 char *kwnames
[] = {
15784 (char *) "self", NULL
15787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetCursor",kwnames
,&obj0
)) goto fail
;
15788 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15793 wxCursor
const &_result_ref
= ((wxSetCursorEvent
const *)arg1
)->GetCursor();
15794 result
= (wxCursor
*) &_result_ref
;
15797 wxPyEndAllowThreads(__tstate
);
15798 if (PyErr_Occurred()) SWIG_fail
;
15801 wxCursor
* resultptr
= new wxCursor(*result
);
15802 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxCursor
, 1);
15810 static PyObject
*_wrap_SetCursorEvent_HasCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15811 PyObject
*resultobj
;
15812 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15814 PyObject
* obj0
= 0 ;
15815 char *kwnames
[] = {
15816 (char *) "self", NULL
15819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_HasCursor",kwnames
,&obj0
)) goto fail
;
15820 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15821 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15824 result
= (bool)((wxSetCursorEvent
const *)arg1
)->HasCursor();
15826 wxPyEndAllowThreads(__tstate
);
15827 if (PyErr_Occurred()) SWIG_fail
;
15830 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15838 static PyObject
* SetCursorEvent_swigregister(PyObject
*, PyObject
*args
) {
15840 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15841 SWIG_TypeClientData(SWIGTYPE_p_wxSetCursorEvent
, obj
);
15843 return Py_BuildValue((char *)"");
15845 static PyObject
*_wrap_new_KeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15846 PyObject
*resultobj
;
15847 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15848 wxKeyEvent
*result
;
15849 PyObject
* obj0
= 0 ;
15850 char *kwnames
[] = {
15851 (char *) "keyType", NULL
15854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_KeyEvent",kwnames
,&obj0
)) goto fail
;
15856 arg1
= (wxEventType
)SWIG_As_int(obj0
);
15857 if (PyErr_Occurred()) SWIG_fail
;
15860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15861 result
= (wxKeyEvent
*)new wxKeyEvent(arg1
);
15863 wxPyEndAllowThreads(__tstate
);
15864 if (PyErr_Occurred()) SWIG_fail
;
15866 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxKeyEvent
, 1);
15873 static PyObject
*_wrap_KeyEvent_ControlDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15874 PyObject
*resultobj
;
15875 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15877 PyObject
* obj0
= 0 ;
15878 char *kwnames
[] = {
15879 (char *) "self", NULL
15882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
15883 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15884 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15887 result
= (bool)((wxKeyEvent
const *)arg1
)->ControlDown();
15889 wxPyEndAllowThreads(__tstate
);
15890 if (PyErr_Occurred()) SWIG_fail
;
15893 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15901 static PyObject
*_wrap_KeyEvent_MetaDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15902 PyObject
*resultobj
;
15903 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15905 PyObject
* obj0
= 0 ;
15906 char *kwnames
[] = {
15907 (char *) "self", NULL
15910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
15911 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15912 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15915 result
= (bool)((wxKeyEvent
const *)arg1
)->MetaDown();
15917 wxPyEndAllowThreads(__tstate
);
15918 if (PyErr_Occurred()) SWIG_fail
;
15921 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15929 static PyObject
*_wrap_KeyEvent_AltDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15930 PyObject
*resultobj
;
15931 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15933 PyObject
* obj0
= 0 ;
15934 char *kwnames
[] = {
15935 (char *) "self", NULL
15938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_AltDown",kwnames
,&obj0
)) goto fail
;
15939 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15943 result
= (bool)((wxKeyEvent
const *)arg1
)->AltDown();
15945 wxPyEndAllowThreads(__tstate
);
15946 if (PyErr_Occurred()) SWIG_fail
;
15949 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15957 static PyObject
*_wrap_KeyEvent_ShiftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15958 PyObject
*resultobj
;
15959 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15961 PyObject
* obj0
= 0 ;
15962 char *kwnames
[] = {
15963 (char *) "self", NULL
15966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
15967 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15968 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15971 result
= (bool)((wxKeyEvent
const *)arg1
)->ShiftDown();
15973 wxPyEndAllowThreads(__tstate
);
15974 if (PyErr_Occurred()) SWIG_fail
;
15977 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15985 static PyObject
*_wrap_KeyEvent_CmdDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15986 PyObject
*resultobj
;
15987 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15989 PyObject
* obj0
= 0 ;
15990 char *kwnames
[] = {
15991 (char *) "self", NULL
15994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_CmdDown",kwnames
,&obj0
)) goto fail
;
15995 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15996 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15999 result
= (bool)((wxKeyEvent
const *)arg1
)->CmdDown();
16001 wxPyEndAllowThreads(__tstate
);
16002 if (PyErr_Occurred()) SWIG_fail
;
16005 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16013 static PyObject
*_wrap_KeyEvent_HasModifiers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16014 PyObject
*resultobj
;
16015 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16017 PyObject
* obj0
= 0 ;
16018 char *kwnames
[] = {
16019 (char *) "self", NULL
16022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_HasModifiers",kwnames
,&obj0
)) goto fail
;
16023 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16024 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16027 result
= (bool)((wxKeyEvent
const *)arg1
)->HasModifiers();
16029 wxPyEndAllowThreads(__tstate
);
16030 if (PyErr_Occurred()) SWIG_fail
;
16033 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16041 static PyObject
*_wrap_KeyEvent_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16042 PyObject
*resultobj
;
16043 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16045 PyObject
* obj0
= 0 ;
16046 char *kwnames
[] = {
16047 (char *) "self", NULL
16050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
16051 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16052 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16055 result
= (int)((wxKeyEvent
const *)arg1
)->GetKeyCode();
16057 wxPyEndAllowThreads(__tstate
);
16058 if (PyErr_Occurred()) SWIG_fail
;
16060 resultobj
= SWIG_From_int((int)result
);
16067 static PyObject
*_wrap_KeyEvent_GetUnicodeKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16068 PyObject
*resultobj
;
16069 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16071 PyObject
* obj0
= 0 ;
16072 char *kwnames
[] = {
16073 (char *) "self", NULL
16076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetUnicodeKey",kwnames
,&obj0
)) goto fail
;
16077 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16078 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16081 result
= (int)wxKeyEvent_GetUnicodeKey(arg1
);
16083 wxPyEndAllowThreads(__tstate
);
16084 if (PyErr_Occurred()) SWIG_fail
;
16086 resultobj
= SWIG_From_int((int)result
);
16093 static PyObject
*_wrap_KeyEvent_GetRawKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16094 PyObject
*resultobj
;
16095 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16096 unsigned int result
;
16097 PyObject
* obj0
= 0 ;
16098 char *kwnames
[] = {
16099 (char *) "self", NULL
16102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyCode",kwnames
,&obj0
)) goto fail
;
16103 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16104 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16107 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyCode();
16109 wxPyEndAllowThreads(__tstate
);
16110 if (PyErr_Occurred()) SWIG_fail
;
16112 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)result
);
16119 static PyObject
*_wrap_KeyEvent_GetRawKeyFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16120 PyObject
*resultobj
;
16121 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16122 unsigned int result
;
16123 PyObject
* obj0
= 0 ;
16124 char *kwnames
[] = {
16125 (char *) "self", NULL
16128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyFlags",kwnames
,&obj0
)) goto fail
;
16129 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16133 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyFlags();
16135 wxPyEndAllowThreads(__tstate
);
16136 if (PyErr_Occurred()) SWIG_fail
;
16138 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)result
);
16145 static PyObject
*_wrap_KeyEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16146 PyObject
*resultobj
;
16147 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16149 PyObject
* obj0
= 0 ;
16150 char *kwnames
[] = {
16151 (char *) "self", NULL
16154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
16155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16159 result
= (arg1
)->GetPosition();
16161 wxPyEndAllowThreads(__tstate
);
16162 if (PyErr_Occurred()) SWIG_fail
;
16165 wxPoint
* resultptr
;
16166 resultptr
= new wxPoint((wxPoint
&) result
);
16167 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
16175 static PyObject
*_wrap_KeyEvent_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16176 PyObject
*resultobj
;
16177 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16178 long *arg2
= (long *) 0 ;
16179 long *arg3
= (long *) 0 ;
16184 PyObject
* obj0
= 0 ;
16185 char *kwnames
[] = {
16186 (char *) "self", NULL
16189 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
16190 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
16191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
16192 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16193 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16196 (arg1
)->GetPosition(arg2
,arg3
);
16198 wxPyEndAllowThreads(__tstate
);
16199 if (PyErr_Occurred()) SWIG_fail
;
16201 Py_INCREF(Py_None
); resultobj
= Py_None
;
16202 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
16203 SWIG_From_long((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, 0)));
16204 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
16205 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
16212 static PyObject
*_wrap_KeyEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16213 PyObject
*resultobj
;
16214 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16216 PyObject
* obj0
= 0 ;
16217 char *kwnames
[] = {
16218 (char *) "self", NULL
16221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetX",kwnames
,&obj0
)) goto fail
;
16222 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16223 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16226 result
= (int)((wxKeyEvent
const *)arg1
)->GetX();
16228 wxPyEndAllowThreads(__tstate
);
16229 if (PyErr_Occurred()) SWIG_fail
;
16231 resultobj
= SWIG_From_int((int)result
);
16238 static PyObject
*_wrap_KeyEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16239 PyObject
*resultobj
;
16240 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16242 PyObject
* obj0
= 0 ;
16243 char *kwnames
[] = {
16244 (char *) "self", NULL
16247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetY",kwnames
,&obj0
)) goto fail
;
16248 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16252 result
= (int)((wxKeyEvent
const *)arg1
)->GetY();
16254 wxPyEndAllowThreads(__tstate
);
16255 if (PyErr_Occurred()) SWIG_fail
;
16257 resultobj
= SWIG_From_int((int)result
);
16264 static PyObject
*_wrap_KeyEvent_m_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16265 PyObject
*resultobj
;
16266 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16268 PyObject
* obj0
= 0 ;
16269 PyObject
* obj1
= 0 ;
16270 char *kwnames
[] = {
16271 (char *) "self",(char *) "m_x", NULL
16274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16275 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16276 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16277 arg2
= (int)SWIG_As_int(obj1
);
16278 if (PyErr_Occurred()) SWIG_fail
;
16279 if (arg1
) (arg1
)->m_x
= arg2
;
16281 Py_INCREF(Py_None
); resultobj
= Py_None
;
16288 static PyObject
*_wrap_KeyEvent_m_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16289 PyObject
*resultobj
;
16290 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16292 PyObject
* obj0
= 0 ;
16293 char *kwnames
[] = {
16294 (char *) "self", NULL
16297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
16298 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16299 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16300 result
= (int) ((arg1
)->m_x
);
16302 resultobj
= SWIG_From_int((int)result
);
16309 static PyObject
*_wrap_KeyEvent_m_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16310 PyObject
*resultobj
;
16311 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16313 PyObject
* obj0
= 0 ;
16314 PyObject
* obj1
= 0 ;
16315 char *kwnames
[] = {
16316 (char *) "self",(char *) "m_y", NULL
16319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16320 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16322 arg2
= (int)SWIG_As_int(obj1
);
16323 if (PyErr_Occurred()) SWIG_fail
;
16324 if (arg1
) (arg1
)->m_y
= arg2
;
16326 Py_INCREF(Py_None
); resultobj
= Py_None
;
16333 static PyObject
*_wrap_KeyEvent_m_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16334 PyObject
*resultobj
;
16335 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16337 PyObject
* obj0
= 0 ;
16338 char *kwnames
[] = {
16339 (char *) "self", NULL
16342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
16343 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16345 result
= (int) ((arg1
)->m_y
);
16347 resultobj
= SWIG_From_int((int)result
);
16354 static PyObject
*_wrap_KeyEvent_m_keyCode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16355 PyObject
*resultobj
;
16356 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16358 PyObject
* obj0
= 0 ;
16359 PyObject
* obj1
= 0 ;
16360 char *kwnames
[] = {
16361 (char *) "self",(char *) "m_keyCode", NULL
16364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_keyCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16365 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16367 arg2
= (long)SWIG_As_long(obj1
);
16368 if (PyErr_Occurred()) SWIG_fail
;
16369 if (arg1
) (arg1
)->m_keyCode
= arg2
;
16371 Py_INCREF(Py_None
); resultobj
= Py_None
;
16378 static PyObject
*_wrap_KeyEvent_m_keyCode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16379 PyObject
*resultobj
;
16380 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16382 PyObject
* obj0
= 0 ;
16383 char *kwnames
[] = {
16384 (char *) "self", NULL
16387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_keyCode_get",kwnames
,&obj0
)) goto fail
;
16388 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16390 result
= (long) ((arg1
)->m_keyCode
);
16392 resultobj
= SWIG_From_long((long)result
);
16399 static PyObject
*_wrap_KeyEvent_m_controlDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16400 PyObject
*resultobj
;
16401 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16403 PyObject
* obj0
= 0 ;
16404 PyObject
* obj1
= 0 ;
16405 char *kwnames
[] = {
16406 (char *) "self",(char *) "m_controlDown", NULL
16409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16410 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16411 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16412 arg2
= (bool)SWIG_As_bool(obj1
);
16413 if (PyErr_Occurred()) SWIG_fail
;
16414 if (arg1
) (arg1
)->m_controlDown
= arg2
;
16416 Py_INCREF(Py_None
); resultobj
= Py_None
;
16423 static PyObject
*_wrap_KeyEvent_m_controlDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16424 PyObject
*resultobj
;
16425 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16427 PyObject
* obj0
= 0 ;
16428 char *kwnames
[] = {
16429 (char *) "self", NULL
16432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
16433 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16435 result
= (bool) ((arg1
)->m_controlDown
);
16438 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16446 static PyObject
*_wrap_KeyEvent_m_shiftDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16447 PyObject
*resultobj
;
16448 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16450 PyObject
* obj0
= 0 ;
16451 PyObject
* obj1
= 0 ;
16452 char *kwnames
[] = {
16453 (char *) "self",(char *) "m_shiftDown", NULL
16456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16457 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16458 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16459 arg2
= (bool)SWIG_As_bool(obj1
);
16460 if (PyErr_Occurred()) SWIG_fail
;
16461 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
16463 Py_INCREF(Py_None
); resultobj
= Py_None
;
16470 static PyObject
*_wrap_KeyEvent_m_shiftDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16471 PyObject
*resultobj
;
16472 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16474 PyObject
* obj0
= 0 ;
16475 char *kwnames
[] = {
16476 (char *) "self", NULL
16479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
16480 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16481 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16482 result
= (bool) ((arg1
)->m_shiftDown
);
16485 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16493 static PyObject
*_wrap_KeyEvent_m_altDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16494 PyObject
*resultobj
;
16495 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16497 PyObject
* obj0
= 0 ;
16498 PyObject
* obj1
= 0 ;
16499 char *kwnames
[] = {
16500 (char *) "self",(char *) "m_altDown", NULL
16503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16504 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16505 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16506 arg2
= (bool)SWIG_As_bool(obj1
);
16507 if (PyErr_Occurred()) SWIG_fail
;
16508 if (arg1
) (arg1
)->m_altDown
= arg2
;
16510 Py_INCREF(Py_None
); resultobj
= Py_None
;
16517 static PyObject
*_wrap_KeyEvent_m_altDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16518 PyObject
*resultobj
;
16519 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16521 PyObject
* obj0
= 0 ;
16522 char *kwnames
[] = {
16523 (char *) "self", NULL
16526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
16527 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16528 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16529 result
= (bool) ((arg1
)->m_altDown
);
16532 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16540 static PyObject
*_wrap_KeyEvent_m_metaDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16541 PyObject
*resultobj
;
16542 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16544 PyObject
* obj0
= 0 ;
16545 PyObject
* obj1
= 0 ;
16546 char *kwnames
[] = {
16547 (char *) "self",(char *) "m_metaDown", NULL
16550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16551 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16552 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16553 arg2
= (bool)SWIG_As_bool(obj1
);
16554 if (PyErr_Occurred()) SWIG_fail
;
16555 if (arg1
) (arg1
)->m_metaDown
= arg2
;
16557 Py_INCREF(Py_None
); resultobj
= Py_None
;
16564 static PyObject
*_wrap_KeyEvent_m_metaDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16565 PyObject
*resultobj
;
16566 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16568 PyObject
* obj0
= 0 ;
16569 char *kwnames
[] = {
16570 (char *) "self", NULL
16573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
16574 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16575 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16576 result
= (bool) ((arg1
)->m_metaDown
);
16579 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16587 static PyObject
*_wrap_KeyEvent_m_scanCode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16588 PyObject
*resultobj
;
16589 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16591 PyObject
* obj0
= 0 ;
16592 PyObject
* obj1
= 0 ;
16593 char *kwnames
[] = {
16594 (char *) "self",(char *) "m_scanCode", NULL
16597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_scanCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16598 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16599 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16600 arg2
= (bool)SWIG_As_bool(obj1
);
16601 if (PyErr_Occurred()) SWIG_fail
;
16602 if (arg1
) (arg1
)->m_scanCode
= arg2
;
16604 Py_INCREF(Py_None
); resultobj
= Py_None
;
16611 static PyObject
*_wrap_KeyEvent_m_scanCode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16612 PyObject
*resultobj
;
16613 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16615 PyObject
* obj0
= 0 ;
16616 char *kwnames
[] = {
16617 (char *) "self", NULL
16620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_scanCode_get",kwnames
,&obj0
)) goto fail
;
16621 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16622 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16623 result
= (bool) ((arg1
)->m_scanCode
);
16626 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16634 static PyObject
*_wrap_KeyEvent_m_rawCode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16635 PyObject
*resultobj
;
16636 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16637 unsigned int arg2
;
16638 PyObject
* obj0
= 0 ;
16639 PyObject
* obj1
= 0 ;
16640 char *kwnames
[] = {
16641 (char *) "self",(char *) "m_rawCode", NULL
16644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16645 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16646 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16647 arg2
= (unsigned int)SWIG_As_unsigned_SS_int(obj1
);
16648 if (PyErr_Occurred()) SWIG_fail
;
16649 if (arg1
) (arg1
)->m_rawCode
= arg2
;
16651 Py_INCREF(Py_None
); resultobj
= Py_None
;
16658 static PyObject
*_wrap_KeyEvent_m_rawCode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16659 PyObject
*resultobj
;
16660 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16661 unsigned int result
;
16662 PyObject
* obj0
= 0 ;
16663 char *kwnames
[] = {
16664 (char *) "self", NULL
16667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawCode_get",kwnames
,&obj0
)) goto fail
;
16668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16670 result
= (unsigned int) ((arg1
)->m_rawCode
);
16672 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)result
);
16679 static PyObject
*_wrap_KeyEvent_m_rawFlags_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16680 PyObject
*resultobj
;
16681 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16682 unsigned int arg2
;
16683 PyObject
* obj0
= 0 ;
16684 PyObject
* obj1
= 0 ;
16685 char *kwnames
[] = {
16686 (char *) "self",(char *) "m_rawFlags", NULL
16689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawFlags_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16690 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16691 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16692 arg2
= (unsigned int)SWIG_As_unsigned_SS_int(obj1
);
16693 if (PyErr_Occurred()) SWIG_fail
;
16694 if (arg1
) (arg1
)->m_rawFlags
= arg2
;
16696 Py_INCREF(Py_None
); resultobj
= Py_None
;
16703 static PyObject
*_wrap_KeyEvent_m_rawFlags_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16704 PyObject
*resultobj
;
16705 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16706 unsigned int result
;
16707 PyObject
* obj0
= 0 ;
16708 char *kwnames
[] = {
16709 (char *) "self", NULL
16712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawFlags_get",kwnames
,&obj0
)) goto fail
;
16713 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16715 result
= (unsigned int) ((arg1
)->m_rawFlags
);
16717 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)result
);
16724 static PyObject
* KeyEvent_swigregister(PyObject
*, PyObject
*args
) {
16726 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16727 SWIG_TypeClientData(SWIGTYPE_p_wxKeyEvent
, obj
);
16729 return Py_BuildValue((char *)"");
16731 static PyObject
*_wrap_new_SizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16732 PyObject
*resultobj
;
16733 wxSize
const &arg1_defvalue
= wxDefaultSize
;
16734 wxSize
*arg1
= (wxSize
*) &arg1_defvalue
;
16735 int arg2
= (int) 0 ;
16736 wxSizeEvent
*result
;
16738 PyObject
* obj0
= 0 ;
16739 PyObject
* obj1
= 0 ;
16740 char *kwnames
[] = {
16741 (char *) "sz",(char *) "winid", NULL
16744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SizeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16748 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
16752 arg2
= (int)SWIG_As_int(obj1
);
16753 if (PyErr_Occurred()) SWIG_fail
;
16756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16757 result
= (wxSizeEvent
*)new wxSizeEvent((wxSize
const &)*arg1
,arg2
);
16759 wxPyEndAllowThreads(__tstate
);
16760 if (PyErr_Occurred()) SWIG_fail
;
16762 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizeEvent
, 1);
16769 static PyObject
*_wrap_SizeEvent_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16770 PyObject
*resultobj
;
16771 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16773 PyObject
* obj0
= 0 ;
16774 char *kwnames
[] = {
16775 (char *) "self", NULL
16778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetSize",kwnames
,&obj0
)) goto fail
;
16779 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16780 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16783 result
= ((wxSizeEvent
const *)arg1
)->GetSize();
16785 wxPyEndAllowThreads(__tstate
);
16786 if (PyErr_Occurred()) SWIG_fail
;
16789 wxSize
* resultptr
;
16790 resultptr
= new wxSize((wxSize
&) result
);
16791 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16799 static PyObject
*_wrap_SizeEvent_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16800 PyObject
*resultobj
;
16801 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16803 PyObject
* obj0
= 0 ;
16804 char *kwnames
[] = {
16805 (char *) "self", NULL
16808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetRect",kwnames
,&obj0
)) goto fail
;
16809 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16810 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16813 result
= ((wxSizeEvent
const *)arg1
)->GetRect();
16815 wxPyEndAllowThreads(__tstate
);
16816 if (PyErr_Occurred()) SWIG_fail
;
16819 wxRect
* resultptr
;
16820 resultptr
= new wxRect((wxRect
&) result
);
16821 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
16829 static PyObject
*_wrap_SizeEvent_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16830 PyObject
*resultobj
;
16831 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16834 PyObject
* obj0
= 0 ;
16835 PyObject
* obj1
= 0 ;
16836 char *kwnames
[] = {
16837 (char *) "self",(char *) "rect", NULL
16840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
16841 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16842 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16843 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxRect
,
16844 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
16847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16848 (arg1
)->SetRect(arg2
);
16850 wxPyEndAllowThreads(__tstate
);
16851 if (PyErr_Occurred()) SWIG_fail
;
16853 Py_INCREF(Py_None
); resultobj
= Py_None
;
16860 static PyObject
*_wrap_SizeEvent_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16861 PyObject
*resultobj
;
16862 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16865 PyObject
* obj0
= 0 ;
16866 PyObject
* obj1
= 0 ;
16867 char *kwnames
[] = {
16868 (char *) "self",(char *) "size", NULL
16871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
16872 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16873 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16874 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxSize
,
16875 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
16878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16879 wxSizeEvent_SetSize(arg1
,arg2
);
16881 wxPyEndAllowThreads(__tstate
);
16882 if (PyErr_Occurred()) SWIG_fail
;
16884 Py_INCREF(Py_None
); resultobj
= Py_None
;
16891 static PyObject
*_wrap_SizeEvent_m_size_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16892 PyObject
*resultobj
;
16893 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16894 wxSize
*arg2
= (wxSize
*) 0 ;
16895 PyObject
* obj0
= 0 ;
16896 PyObject
* obj1
= 0 ;
16897 char *kwnames
[] = {
16898 (char *) "self",(char *) "m_size", NULL
16901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_size_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16902 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16903 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16904 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSize
,
16905 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16906 if (arg1
) (arg1
)->m_size
= *arg2
;
16908 Py_INCREF(Py_None
); resultobj
= Py_None
;
16915 static PyObject
*_wrap_SizeEvent_m_size_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16916 PyObject
*resultobj
;
16917 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16919 PyObject
* obj0
= 0 ;
16920 char *kwnames
[] = {
16921 (char *) "self", NULL
16924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_size_get",kwnames
,&obj0
)) goto fail
;
16925 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16927 result
= (wxSize
*)& ((arg1
)->m_size
);
16929 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
16936 static PyObject
*_wrap_SizeEvent_m_rect_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16937 PyObject
*resultobj
;
16938 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16939 wxRect
*arg2
= (wxRect
*) 0 ;
16940 PyObject
* obj0
= 0 ;
16941 PyObject
* obj1
= 0 ;
16942 char *kwnames
[] = {
16943 (char *) "self",(char *) "m_rect", NULL
16946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_rect_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16947 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16948 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16949 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRect
,
16950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16951 if (arg1
) (arg1
)->m_rect
= *arg2
;
16953 Py_INCREF(Py_None
); resultobj
= Py_None
;
16960 static PyObject
*_wrap_SizeEvent_m_rect_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16961 PyObject
*resultobj
;
16962 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16964 PyObject
* obj0
= 0 ;
16965 char *kwnames
[] = {
16966 (char *) "self", NULL
16969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_rect_get",kwnames
,&obj0
)) goto fail
;
16970 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16971 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16972 result
= (wxRect
*)& ((arg1
)->m_rect
);
16974 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
16981 static PyObject
* SizeEvent_swigregister(PyObject
*, PyObject
*args
) {
16983 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16984 SWIG_TypeClientData(SWIGTYPE_p_wxSizeEvent
, obj
);
16986 return Py_BuildValue((char *)"");
16988 static PyObject
*_wrap_new_MoveEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16989 PyObject
*resultobj
;
16990 wxPoint
const &arg1_defvalue
= wxDefaultPosition
;
16991 wxPoint
*arg1
= (wxPoint
*) &arg1_defvalue
;
16992 int arg2
= (int) 0 ;
16993 wxMoveEvent
*result
;
16995 PyObject
* obj0
= 0 ;
16996 PyObject
* obj1
= 0 ;
16997 char *kwnames
[] = {
16998 (char *) "pos",(char *) "winid", NULL
17001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MoveEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17005 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
17009 arg2
= (int)SWIG_As_int(obj1
);
17010 if (PyErr_Occurred()) SWIG_fail
;
17013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17014 result
= (wxMoveEvent
*)new wxMoveEvent((wxPoint
const &)*arg1
,arg2
);
17016 wxPyEndAllowThreads(__tstate
);
17017 if (PyErr_Occurred()) SWIG_fail
;
17019 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMoveEvent
, 1);
17026 static PyObject
*_wrap_MoveEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17027 PyObject
*resultobj
;
17028 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
17030 PyObject
* obj0
= 0 ;
17031 char *kwnames
[] = {
17032 (char *) "self", NULL
17035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
17036 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
17037 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17040 result
= ((wxMoveEvent
const *)arg1
)->GetPosition();
17042 wxPyEndAllowThreads(__tstate
);
17043 if (PyErr_Occurred()) SWIG_fail
;
17046 wxPoint
* resultptr
;
17047 resultptr
= new wxPoint((wxPoint
&) result
);
17048 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
17056 static PyObject
*_wrap_MoveEvent_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17057 PyObject
*resultobj
;
17058 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
17060 PyObject
* obj0
= 0 ;
17061 char *kwnames
[] = {
17062 (char *) "self", NULL
17065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetRect",kwnames
,&obj0
)) goto fail
;
17066 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
17067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17070 result
= ((wxMoveEvent
const *)arg1
)->GetRect();
17072 wxPyEndAllowThreads(__tstate
);
17073 if (PyErr_Occurred()) SWIG_fail
;
17076 wxRect
* resultptr
;
17077 resultptr
= new wxRect((wxRect
&) result
);
17078 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
17086 static PyObject
*_wrap_MoveEvent_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17087 PyObject
*resultobj
;
17088 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
17091 PyObject
* obj0
= 0 ;
17092 PyObject
* obj1
= 0 ;
17093 char *kwnames
[] = {
17094 (char *) "self",(char *) "rect", NULL
17097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
17098 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
17099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17100 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxRect
,
17101 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
17104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17105 (arg1
)->SetRect(arg2
);
17107 wxPyEndAllowThreads(__tstate
);
17108 if (PyErr_Occurred()) SWIG_fail
;
17110 Py_INCREF(Py_None
); resultobj
= Py_None
;
17117 static PyObject
*_wrap_MoveEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17118 PyObject
*resultobj
;
17119 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
17122 PyObject
* obj0
= 0 ;
17123 PyObject
* obj1
= 0 ;
17124 char *kwnames
[] = {
17125 (char *) "self",(char *) "pos", NULL
17128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
17129 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
17130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17131 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxPoint
,
17132 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
17135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17136 wxMoveEvent_SetPosition(arg1
,arg2
);
17138 wxPyEndAllowThreads(__tstate
);
17139 if (PyErr_Occurred()) SWIG_fail
;
17141 Py_INCREF(Py_None
); resultobj
= Py_None
;
17148 static PyObject
*_wrap_MoveEvent_m_pos_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17149 PyObject
*resultobj
;
17150 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
17151 wxPoint
*arg2
= (wxPoint
*) 0 ;
17152 PyObject
* obj0
= 0 ;
17153 PyObject
* obj1
= 0 ;
17154 char *kwnames
[] = {
17155 (char *) "self",(char *) "m_pos", NULL
17158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_m_pos_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17159 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
17160 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17161 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPoint
,
17162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17163 if (arg1
) (arg1
)->m_pos
= *arg2
;
17165 Py_INCREF(Py_None
); resultobj
= Py_None
;
17172 static PyObject
*_wrap_MoveEvent_m_pos_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17173 PyObject
*resultobj
;
17174 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
17176 PyObject
* obj0
= 0 ;
17177 char *kwnames
[] = {
17178 (char *) "self", NULL
17181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_m_pos_get",kwnames
,&obj0
)) goto fail
;
17182 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
17183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17184 result
= (wxPoint
*)& ((arg1
)->m_pos
);
17186 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
17193 static PyObject
*_wrap_MoveEvent_m_rect_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17194 PyObject
*resultobj
;
17195 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
17196 wxRect
*arg2
= (wxRect
*) 0 ;
17197 PyObject
* obj0
= 0 ;
17198 PyObject
* obj1
= 0 ;
17199 char *kwnames
[] = {
17200 (char *) "self",(char *) "m_rect", NULL
17203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_m_rect_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17204 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
17205 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17206 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRect
,
17207 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17208 if (arg1
) (arg1
)->m_rect
= *arg2
;
17210 Py_INCREF(Py_None
); resultobj
= Py_None
;
17217 static PyObject
*_wrap_MoveEvent_m_rect_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17218 PyObject
*resultobj
;
17219 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
17221 PyObject
* obj0
= 0 ;
17222 char *kwnames
[] = {
17223 (char *) "self", NULL
17226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_m_rect_get",kwnames
,&obj0
)) goto fail
;
17227 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
17228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17229 result
= (wxRect
*)& ((arg1
)->m_rect
);
17231 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
17238 static PyObject
* MoveEvent_swigregister(PyObject
*, PyObject
*args
) {
17240 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17241 SWIG_TypeClientData(SWIGTYPE_p_wxMoveEvent
, obj
);
17243 return Py_BuildValue((char *)"");
17245 static PyObject
*_wrap_new_PaintEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17246 PyObject
*resultobj
;
17247 int arg1
= (int) 0 ;
17248 wxPaintEvent
*result
;
17249 PyObject
* obj0
= 0 ;
17250 char *kwnames
[] = {
17251 (char *) "Id", NULL
17254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaintEvent",kwnames
,&obj0
)) goto fail
;
17256 arg1
= (int)SWIG_As_int(obj0
);
17257 if (PyErr_Occurred()) SWIG_fail
;
17260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17261 result
= (wxPaintEvent
*)new wxPaintEvent(arg1
);
17263 wxPyEndAllowThreads(__tstate
);
17264 if (PyErr_Occurred()) SWIG_fail
;
17266 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaintEvent
, 1);
17273 static PyObject
* PaintEvent_swigregister(PyObject
*, PyObject
*args
) {
17275 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17276 SWIG_TypeClientData(SWIGTYPE_p_wxPaintEvent
, obj
);
17278 return Py_BuildValue((char *)"");
17280 static PyObject
*_wrap_new_NcPaintEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17281 PyObject
*resultobj
;
17282 int arg1
= (int) 0 ;
17283 wxNcPaintEvent
*result
;
17284 PyObject
* obj0
= 0 ;
17285 char *kwnames
[] = {
17286 (char *) "winid", NULL
17289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_NcPaintEvent",kwnames
,&obj0
)) goto fail
;
17291 arg1
= (int)SWIG_As_int(obj0
);
17292 if (PyErr_Occurred()) SWIG_fail
;
17295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17296 result
= (wxNcPaintEvent
*)new wxNcPaintEvent(arg1
);
17298 wxPyEndAllowThreads(__tstate
);
17299 if (PyErr_Occurred()) SWIG_fail
;
17301 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNcPaintEvent
, 1);
17308 static PyObject
* NcPaintEvent_swigregister(PyObject
*, PyObject
*args
) {
17310 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17311 SWIG_TypeClientData(SWIGTYPE_p_wxNcPaintEvent
, obj
);
17313 return Py_BuildValue((char *)"");
17315 static PyObject
*_wrap_new_EraseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17316 PyObject
*resultobj
;
17317 int arg1
= (int) 0 ;
17318 wxDC
*arg2
= (wxDC
*) (wxDC
*) NULL
;
17319 wxEraseEvent
*result
;
17320 PyObject
* obj0
= 0 ;
17321 PyObject
* obj1
= 0 ;
17322 char *kwnames
[] = {
17323 (char *) "Id",(char *) "dc", NULL
17326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_EraseEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17328 arg1
= (int)SWIG_As_int(obj0
);
17329 if (PyErr_Occurred()) SWIG_fail
;
17332 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
17333 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17337 result
= (wxEraseEvent
*)new wxEraseEvent(arg1
,arg2
);
17339 wxPyEndAllowThreads(__tstate
);
17340 if (PyErr_Occurred()) SWIG_fail
;
17342 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEraseEvent
, 1);
17349 static PyObject
*_wrap_EraseEvent_GetDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17350 PyObject
*resultobj
;
17351 wxEraseEvent
*arg1
= (wxEraseEvent
*) 0 ;
17353 PyObject
* obj0
= 0 ;
17354 char *kwnames
[] = {
17355 (char *) "self", NULL
17358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EraseEvent_GetDC",kwnames
,&obj0
)) goto fail
;
17359 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEraseEvent
,
17360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17363 result
= (wxDC
*)((wxEraseEvent
const *)arg1
)->GetDC();
17365 wxPyEndAllowThreads(__tstate
);
17366 if (PyErr_Occurred()) SWIG_fail
;
17369 resultobj
= wxPyMake_wxObject(result
, 0);
17377 static PyObject
* EraseEvent_swigregister(PyObject
*, PyObject
*args
) {
17379 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17380 SWIG_TypeClientData(SWIGTYPE_p_wxEraseEvent
, obj
);
17382 return Py_BuildValue((char *)"");
17384 static PyObject
*_wrap_new_FocusEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17385 PyObject
*resultobj
;
17386 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17387 int arg2
= (int) 0 ;
17388 wxFocusEvent
*result
;
17389 PyObject
* obj0
= 0 ;
17390 PyObject
* obj1
= 0 ;
17391 char *kwnames
[] = {
17392 (char *) "type",(char *) "winid", NULL
17395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FocusEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17397 arg1
= (wxEventType
)SWIG_As_int(obj0
);
17398 if (PyErr_Occurred()) SWIG_fail
;
17401 arg2
= (int)SWIG_As_int(obj1
);
17402 if (PyErr_Occurred()) SWIG_fail
;
17405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17406 result
= (wxFocusEvent
*)new wxFocusEvent(arg1
,arg2
);
17408 wxPyEndAllowThreads(__tstate
);
17409 if (PyErr_Occurred()) SWIG_fail
;
17411 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFocusEvent
, 1);
17418 static PyObject
*_wrap_FocusEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17419 PyObject
*resultobj
;
17420 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
17422 PyObject
* obj0
= 0 ;
17423 char *kwnames
[] = {
17424 (char *) "self", NULL
17427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
17428 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFocusEvent
,
17429 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17432 result
= (wxWindow
*)((wxFocusEvent
const *)arg1
)->GetWindow();
17434 wxPyEndAllowThreads(__tstate
);
17435 if (PyErr_Occurred()) SWIG_fail
;
17438 resultobj
= wxPyMake_wxObject(result
, 0);
17446 static PyObject
*_wrap_FocusEvent_SetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17447 PyObject
*resultobj
;
17448 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
17449 wxWindow
*arg2
= (wxWindow
*) 0 ;
17450 PyObject
* obj0
= 0 ;
17451 PyObject
* obj1
= 0 ;
17452 char *kwnames
[] = {
17453 (char *) "self",(char *) "win", NULL
17456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FocusEvent_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
17457 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFocusEvent
,
17458 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17459 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
17460 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17463 (arg1
)->SetWindow(arg2
);
17465 wxPyEndAllowThreads(__tstate
);
17466 if (PyErr_Occurred()) SWIG_fail
;
17468 Py_INCREF(Py_None
); resultobj
= Py_None
;
17475 static PyObject
* FocusEvent_swigregister(PyObject
*, PyObject
*args
) {
17477 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17478 SWIG_TypeClientData(SWIGTYPE_p_wxFocusEvent
, obj
);
17480 return Py_BuildValue((char *)"");
17482 static PyObject
*_wrap_new_ChildFocusEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17483 PyObject
*resultobj
;
17484 wxWindow
*arg1
= (wxWindow
*) NULL
;
17485 wxChildFocusEvent
*result
;
17486 PyObject
* obj0
= 0 ;
17487 char *kwnames
[] = {
17488 (char *) "win", NULL
17491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ChildFocusEvent",kwnames
,&obj0
)) goto fail
;
17493 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
17494 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17498 result
= (wxChildFocusEvent
*)new wxChildFocusEvent(arg1
);
17500 wxPyEndAllowThreads(__tstate
);
17501 if (PyErr_Occurred()) SWIG_fail
;
17503 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChildFocusEvent
, 1);
17510 static PyObject
*_wrap_ChildFocusEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17511 PyObject
*resultobj
;
17512 wxChildFocusEvent
*arg1
= (wxChildFocusEvent
*) 0 ;
17514 PyObject
* obj0
= 0 ;
17515 char *kwnames
[] = {
17516 (char *) "self", NULL
17519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ChildFocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
17520 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChildFocusEvent
,
17521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17524 result
= (wxWindow
*)((wxChildFocusEvent
const *)arg1
)->GetWindow();
17526 wxPyEndAllowThreads(__tstate
);
17527 if (PyErr_Occurred()) SWIG_fail
;
17530 resultobj
= wxPyMake_wxObject(result
, 0);
17538 static PyObject
* ChildFocusEvent_swigregister(PyObject
*, PyObject
*args
) {
17540 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17541 SWIG_TypeClientData(SWIGTYPE_p_wxChildFocusEvent
, obj
);
17543 return Py_BuildValue((char *)"");
17545 static PyObject
*_wrap_new_ActivateEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17546 PyObject
*resultobj
;
17547 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17548 bool arg2
= (bool) true ;
17549 int arg3
= (int) 0 ;
17550 wxActivateEvent
*result
;
17551 PyObject
* obj0
= 0 ;
17552 PyObject
* obj1
= 0 ;
17553 PyObject
* obj2
= 0 ;
17554 char *kwnames
[] = {
17555 (char *) "type",(char *) "active",(char *) "Id", NULL
17558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ActivateEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17560 arg1
= (wxEventType
)SWIG_As_int(obj0
);
17561 if (PyErr_Occurred()) SWIG_fail
;
17564 arg2
= (bool)SWIG_As_bool(obj1
);
17565 if (PyErr_Occurred()) SWIG_fail
;
17568 arg3
= (int)SWIG_As_int(obj2
);
17569 if (PyErr_Occurred()) SWIG_fail
;
17572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17573 result
= (wxActivateEvent
*)new wxActivateEvent(arg1
,arg2
,arg3
);
17575 wxPyEndAllowThreads(__tstate
);
17576 if (PyErr_Occurred()) SWIG_fail
;
17578 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxActivateEvent
, 1);
17585 static PyObject
*_wrap_ActivateEvent_GetActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17586 PyObject
*resultobj
;
17587 wxActivateEvent
*arg1
= (wxActivateEvent
*) 0 ;
17589 PyObject
* obj0
= 0 ;
17590 char *kwnames
[] = {
17591 (char *) "self", NULL
17594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ActivateEvent_GetActive",kwnames
,&obj0
)) goto fail
;
17595 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxActivateEvent
,
17596 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17599 result
= (bool)((wxActivateEvent
const *)arg1
)->GetActive();
17601 wxPyEndAllowThreads(__tstate
);
17602 if (PyErr_Occurred()) SWIG_fail
;
17605 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17613 static PyObject
* ActivateEvent_swigregister(PyObject
*, PyObject
*args
) {
17615 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17616 SWIG_TypeClientData(SWIGTYPE_p_wxActivateEvent
, obj
);
17618 return Py_BuildValue((char *)"");
17620 static PyObject
*_wrap_new_InitDialogEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17621 PyObject
*resultobj
;
17622 int arg1
= (int) 0 ;
17623 wxInitDialogEvent
*result
;
17624 PyObject
* obj0
= 0 ;
17625 char *kwnames
[] = {
17626 (char *) "Id", NULL
17629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_InitDialogEvent",kwnames
,&obj0
)) goto fail
;
17631 arg1
= (int)SWIG_As_int(obj0
);
17632 if (PyErr_Occurred()) SWIG_fail
;
17635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17636 result
= (wxInitDialogEvent
*)new wxInitDialogEvent(arg1
);
17638 wxPyEndAllowThreads(__tstate
);
17639 if (PyErr_Occurred()) SWIG_fail
;
17641 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxInitDialogEvent
, 1);
17648 static PyObject
* InitDialogEvent_swigregister(PyObject
*, PyObject
*args
) {
17650 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17651 SWIG_TypeClientData(SWIGTYPE_p_wxInitDialogEvent
, obj
);
17653 return Py_BuildValue((char *)"");
17655 static PyObject
*_wrap_new_MenuEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17656 PyObject
*resultobj
;
17657 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17658 int arg2
= (int) 0 ;
17659 wxMenu
*arg3
= (wxMenu
*) NULL
;
17660 wxMenuEvent
*result
;
17661 PyObject
* obj0
= 0 ;
17662 PyObject
* obj1
= 0 ;
17663 PyObject
* obj2
= 0 ;
17664 char *kwnames
[] = {
17665 (char *) "type",(char *) "winid",(char *) "menu", NULL
17668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_MenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17670 arg1
= (wxEventType
)SWIG_As_int(obj0
);
17671 if (PyErr_Occurred()) SWIG_fail
;
17674 arg2
= (int)SWIG_As_int(obj1
);
17675 if (PyErr_Occurred()) SWIG_fail
;
17678 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenu
,
17679 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17683 result
= (wxMenuEvent
*)new wxMenuEvent(arg1
,arg2
,arg3
);
17685 wxPyEndAllowThreads(__tstate
);
17686 if (PyErr_Occurred()) SWIG_fail
;
17688 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenuEvent
, 1);
17695 static PyObject
*_wrap_MenuEvent_GetMenuId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17696 PyObject
*resultobj
;
17697 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
17699 PyObject
* obj0
= 0 ;
17700 char *kwnames
[] = {
17701 (char *) "self", NULL
17704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenuId",kwnames
,&obj0
)) goto fail
;
17705 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuEvent
,
17706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17709 result
= (int)((wxMenuEvent
const *)arg1
)->GetMenuId();
17711 wxPyEndAllowThreads(__tstate
);
17712 if (PyErr_Occurred()) SWIG_fail
;
17714 resultobj
= SWIG_From_int((int)result
);
17721 static PyObject
*_wrap_MenuEvent_IsPopup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17722 PyObject
*resultobj
;
17723 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
17725 PyObject
* obj0
= 0 ;
17726 char *kwnames
[] = {
17727 (char *) "self", NULL
17730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_IsPopup",kwnames
,&obj0
)) goto fail
;
17731 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuEvent
,
17732 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17735 result
= (bool)((wxMenuEvent
const *)arg1
)->IsPopup();
17737 wxPyEndAllowThreads(__tstate
);
17738 if (PyErr_Occurred()) SWIG_fail
;
17741 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17749 static PyObject
*_wrap_MenuEvent_GetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17750 PyObject
*resultobj
;
17751 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
17753 PyObject
* obj0
= 0 ;
17754 char *kwnames
[] = {
17755 (char *) "self", NULL
17758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenu",kwnames
,&obj0
)) goto fail
;
17759 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuEvent
,
17760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17763 result
= (wxMenu
*)((wxMenuEvent
const *)arg1
)->GetMenu();
17765 wxPyEndAllowThreads(__tstate
);
17766 if (PyErr_Occurred()) SWIG_fail
;
17769 resultobj
= wxPyMake_wxObject(result
, 0);
17777 static PyObject
* MenuEvent_swigregister(PyObject
*, PyObject
*args
) {
17779 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17780 SWIG_TypeClientData(SWIGTYPE_p_wxMenuEvent
, obj
);
17782 return Py_BuildValue((char *)"");
17784 static PyObject
*_wrap_new_CloseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17785 PyObject
*resultobj
;
17786 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17787 int arg2
= (int) 0 ;
17788 wxCloseEvent
*result
;
17789 PyObject
* obj0
= 0 ;
17790 PyObject
* obj1
= 0 ;
17791 char *kwnames
[] = {
17792 (char *) "type",(char *) "winid", NULL
17795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CloseEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17797 arg1
= (wxEventType
)SWIG_As_int(obj0
);
17798 if (PyErr_Occurred()) SWIG_fail
;
17801 arg2
= (int)SWIG_As_int(obj1
);
17802 if (PyErr_Occurred()) SWIG_fail
;
17805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17806 result
= (wxCloseEvent
*)new wxCloseEvent(arg1
,arg2
);
17808 wxPyEndAllowThreads(__tstate
);
17809 if (PyErr_Occurred()) SWIG_fail
;
17811 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCloseEvent
, 1);
17818 static PyObject
*_wrap_CloseEvent_SetLoggingOff(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17819 PyObject
*resultobj
;
17820 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17822 PyObject
* obj0
= 0 ;
17823 PyObject
* obj1
= 0 ;
17824 char *kwnames
[] = {
17825 (char *) "self",(char *) "logOff", NULL
17828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetLoggingOff",kwnames
,&obj0
,&obj1
)) goto fail
;
17829 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17831 arg2
= (bool)SWIG_As_bool(obj1
);
17832 if (PyErr_Occurred()) SWIG_fail
;
17834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17835 (arg1
)->SetLoggingOff(arg2
);
17837 wxPyEndAllowThreads(__tstate
);
17838 if (PyErr_Occurred()) SWIG_fail
;
17840 Py_INCREF(Py_None
); resultobj
= Py_None
;
17847 static PyObject
*_wrap_CloseEvent_GetLoggingOff(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17848 PyObject
*resultobj
;
17849 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17851 PyObject
* obj0
= 0 ;
17852 char *kwnames
[] = {
17853 (char *) "self", NULL
17856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetLoggingOff",kwnames
,&obj0
)) goto fail
;
17857 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17861 result
= (bool)((wxCloseEvent
const *)arg1
)->GetLoggingOff();
17863 wxPyEndAllowThreads(__tstate
);
17864 if (PyErr_Occurred()) SWIG_fail
;
17867 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17875 static PyObject
*_wrap_CloseEvent_Veto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17876 PyObject
*resultobj
;
17877 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17878 bool arg2
= (bool) true ;
17879 PyObject
* obj0
= 0 ;
17880 PyObject
* obj1
= 0 ;
17881 char *kwnames
[] = {
17882 (char *) "self",(char *) "veto", NULL
17885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CloseEvent_Veto",kwnames
,&obj0
,&obj1
)) goto fail
;
17886 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17889 arg2
= (bool)SWIG_As_bool(obj1
);
17890 if (PyErr_Occurred()) SWIG_fail
;
17893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17894 (arg1
)->Veto(arg2
);
17896 wxPyEndAllowThreads(__tstate
);
17897 if (PyErr_Occurred()) SWIG_fail
;
17899 Py_INCREF(Py_None
); resultobj
= Py_None
;
17906 static PyObject
*_wrap_CloseEvent_SetCanVeto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17907 PyObject
*resultobj
;
17908 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17910 PyObject
* obj0
= 0 ;
17911 PyObject
* obj1
= 0 ;
17912 char *kwnames
[] = {
17913 (char *) "self",(char *) "canVeto", NULL
17916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetCanVeto",kwnames
,&obj0
,&obj1
)) goto fail
;
17917 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17918 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17919 arg2
= (bool)SWIG_As_bool(obj1
);
17920 if (PyErr_Occurred()) SWIG_fail
;
17922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17923 (arg1
)->SetCanVeto(arg2
);
17925 wxPyEndAllowThreads(__tstate
);
17926 if (PyErr_Occurred()) SWIG_fail
;
17928 Py_INCREF(Py_None
); resultobj
= Py_None
;
17935 static PyObject
*_wrap_CloseEvent_CanVeto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17936 PyObject
*resultobj
;
17937 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17939 PyObject
* obj0
= 0 ;
17940 char *kwnames
[] = {
17941 (char *) "self", NULL
17944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_CanVeto",kwnames
,&obj0
)) goto fail
;
17945 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17946 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17949 result
= (bool)((wxCloseEvent
const *)arg1
)->CanVeto();
17951 wxPyEndAllowThreads(__tstate
);
17952 if (PyErr_Occurred()) SWIG_fail
;
17955 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17963 static PyObject
*_wrap_CloseEvent_GetVeto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17964 PyObject
*resultobj
;
17965 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17967 PyObject
* obj0
= 0 ;
17968 char *kwnames
[] = {
17969 (char *) "self", NULL
17972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetVeto",kwnames
,&obj0
)) goto fail
;
17973 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17974 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17977 result
= (bool)((wxCloseEvent
const *)arg1
)->GetVeto();
17979 wxPyEndAllowThreads(__tstate
);
17980 if (PyErr_Occurred()) SWIG_fail
;
17983 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17991 static PyObject
* CloseEvent_swigregister(PyObject
*, PyObject
*args
) {
17993 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17994 SWIG_TypeClientData(SWIGTYPE_p_wxCloseEvent
, obj
);
17996 return Py_BuildValue((char *)"");
17998 static PyObject
*_wrap_new_ShowEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17999 PyObject
*resultobj
;
18000 int arg1
= (int) 0 ;
18001 bool arg2
= (bool) false ;
18002 wxShowEvent
*result
;
18003 PyObject
* obj0
= 0 ;
18004 PyObject
* obj1
= 0 ;
18005 char *kwnames
[] = {
18006 (char *) "winid",(char *) "show", NULL
18009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ShowEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
18011 arg1
= (int)SWIG_As_int(obj0
);
18012 if (PyErr_Occurred()) SWIG_fail
;
18015 arg2
= (bool)SWIG_As_bool(obj1
);
18016 if (PyErr_Occurred()) SWIG_fail
;
18019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18020 result
= (wxShowEvent
*)new wxShowEvent(arg1
,arg2
);
18022 wxPyEndAllowThreads(__tstate
);
18023 if (PyErr_Occurred()) SWIG_fail
;
18025 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxShowEvent
, 1);
18032 static PyObject
*_wrap_ShowEvent_SetShow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18033 PyObject
*resultobj
;
18034 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
18036 PyObject
* obj0
= 0 ;
18037 PyObject
* obj1
= 0 ;
18038 char *kwnames
[] = {
18039 (char *) "self",(char *) "show", NULL
18042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ShowEvent_SetShow",kwnames
,&obj0
,&obj1
)) goto fail
;
18043 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShowEvent
,
18044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18045 arg2
= (bool)SWIG_As_bool(obj1
);
18046 if (PyErr_Occurred()) SWIG_fail
;
18048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18049 (arg1
)->SetShow(arg2
);
18051 wxPyEndAllowThreads(__tstate
);
18052 if (PyErr_Occurred()) SWIG_fail
;
18054 Py_INCREF(Py_None
); resultobj
= Py_None
;
18061 static PyObject
*_wrap_ShowEvent_GetShow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18062 PyObject
*resultobj
;
18063 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
18065 PyObject
* obj0
= 0 ;
18066 char *kwnames
[] = {
18067 (char *) "self", NULL
18070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShowEvent_GetShow",kwnames
,&obj0
)) goto fail
;
18071 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShowEvent
,
18072 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18075 result
= (bool)((wxShowEvent
const *)arg1
)->GetShow();
18077 wxPyEndAllowThreads(__tstate
);
18078 if (PyErr_Occurred()) SWIG_fail
;
18081 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18089 static PyObject
* ShowEvent_swigregister(PyObject
*, PyObject
*args
) {
18091 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18092 SWIG_TypeClientData(SWIGTYPE_p_wxShowEvent
, obj
);
18094 return Py_BuildValue((char *)"");
18096 static PyObject
*_wrap_new_IconizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18097 PyObject
*resultobj
;
18098 int arg1
= (int) 0 ;
18099 bool arg2
= (bool) true ;
18100 wxIconizeEvent
*result
;
18101 PyObject
* obj0
= 0 ;
18102 PyObject
* obj1
= 0 ;
18103 char *kwnames
[] = {
18104 (char *) "id",(char *) "iconized", NULL
18107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconizeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
18109 arg1
= (int)SWIG_As_int(obj0
);
18110 if (PyErr_Occurred()) SWIG_fail
;
18113 arg2
= (bool)SWIG_As_bool(obj1
);
18114 if (PyErr_Occurred()) SWIG_fail
;
18117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18118 result
= (wxIconizeEvent
*)new wxIconizeEvent(arg1
,arg2
);
18120 wxPyEndAllowThreads(__tstate
);
18121 if (PyErr_Occurred()) SWIG_fail
;
18123 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconizeEvent
, 1);
18130 static PyObject
*_wrap_IconizeEvent_Iconized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18131 PyObject
*resultobj
;
18132 wxIconizeEvent
*arg1
= (wxIconizeEvent
*) 0 ;
18134 PyObject
* obj0
= 0 ;
18135 char *kwnames
[] = {
18136 (char *) "self", NULL
18139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconizeEvent_Iconized",kwnames
,&obj0
)) goto fail
;
18140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconizeEvent
,
18141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18144 result
= (bool)(arg1
)->Iconized();
18146 wxPyEndAllowThreads(__tstate
);
18147 if (PyErr_Occurred()) SWIG_fail
;
18150 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18158 static PyObject
* IconizeEvent_swigregister(PyObject
*, PyObject
*args
) {
18160 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18161 SWIG_TypeClientData(SWIGTYPE_p_wxIconizeEvent
, obj
);
18163 return Py_BuildValue((char *)"");
18165 static PyObject
*_wrap_new_MaximizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18166 PyObject
*resultobj
;
18167 int arg1
= (int) 0 ;
18168 wxMaximizeEvent
*result
;
18169 PyObject
* obj0
= 0 ;
18170 char *kwnames
[] = {
18171 (char *) "id", NULL
18174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MaximizeEvent",kwnames
,&obj0
)) goto fail
;
18176 arg1
= (int)SWIG_As_int(obj0
);
18177 if (PyErr_Occurred()) SWIG_fail
;
18180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18181 result
= (wxMaximizeEvent
*)new wxMaximizeEvent(arg1
);
18183 wxPyEndAllowThreads(__tstate
);
18184 if (PyErr_Occurred()) SWIG_fail
;
18186 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMaximizeEvent
, 1);
18193 static PyObject
* MaximizeEvent_swigregister(PyObject
*, PyObject
*args
) {
18195 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18196 SWIG_TypeClientData(SWIGTYPE_p_wxMaximizeEvent
, obj
);
18198 return Py_BuildValue((char *)"");
18200 static PyObject
*_wrap_DropFilesEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18201 PyObject
*resultobj
;
18202 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
18204 PyObject
* obj0
= 0 ;
18205 char *kwnames
[] = {
18206 (char *) "self", NULL
18209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
18210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDropFilesEvent
,
18211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18214 result
= (arg1
)->GetPosition();
18216 wxPyEndAllowThreads(__tstate
);
18217 if (PyErr_Occurred()) SWIG_fail
;
18220 wxPoint
* resultptr
;
18221 resultptr
= new wxPoint((wxPoint
&) result
);
18222 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
18230 static PyObject
*_wrap_DropFilesEvent_GetNumberOfFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18231 PyObject
*resultobj
;
18232 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
18234 PyObject
* obj0
= 0 ;
18235 char *kwnames
[] = {
18236 (char *) "self", NULL
18239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetNumberOfFiles",kwnames
,&obj0
)) goto fail
;
18240 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDropFilesEvent
,
18241 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18244 result
= (int)(arg1
)->GetNumberOfFiles();
18246 wxPyEndAllowThreads(__tstate
);
18247 if (PyErr_Occurred()) SWIG_fail
;
18249 resultobj
= SWIG_From_int((int)result
);
18256 static PyObject
*_wrap_DropFilesEvent_GetFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18257 PyObject
*resultobj
;
18258 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
18260 PyObject
* obj0
= 0 ;
18261 char *kwnames
[] = {
18262 (char *) "self", NULL
18265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetFiles",kwnames
,&obj0
)) goto fail
;
18266 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDropFilesEvent
,
18267 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18270 result
= (PyObject
*)wxDropFilesEvent_GetFiles(arg1
);
18272 wxPyEndAllowThreads(__tstate
);
18273 if (PyErr_Occurred()) SWIG_fail
;
18275 resultobj
= result
;
18282 static PyObject
* DropFilesEvent_swigregister(PyObject
*, PyObject
*args
) {
18284 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18285 SWIG_TypeClientData(SWIGTYPE_p_wxDropFilesEvent
, obj
);
18287 return Py_BuildValue((char *)"");
18289 static PyObject
*_wrap_new_UpdateUIEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18290 PyObject
*resultobj
;
18291 int arg1
= (int) 0 ;
18292 wxUpdateUIEvent
*result
;
18293 PyObject
* obj0
= 0 ;
18294 char *kwnames
[] = {
18295 (char *) "commandId", NULL
18298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_UpdateUIEvent",kwnames
,&obj0
)) goto fail
;
18300 arg1
= (int)SWIG_As_int(obj0
);
18301 if (PyErr_Occurred()) SWIG_fail
;
18304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18305 result
= (wxUpdateUIEvent
*)new wxUpdateUIEvent(arg1
);
18307 wxPyEndAllowThreads(__tstate
);
18308 if (PyErr_Occurred()) SWIG_fail
;
18310 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxUpdateUIEvent
, 1);
18317 static PyObject
*_wrap_UpdateUIEvent_GetChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18318 PyObject
*resultobj
;
18319 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18321 PyObject
* obj0
= 0 ;
18322 char *kwnames
[] = {
18323 (char *) "self", NULL
18326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetChecked",kwnames
,&obj0
)) goto fail
;
18327 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18328 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18331 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetChecked();
18333 wxPyEndAllowThreads(__tstate
);
18334 if (PyErr_Occurred()) SWIG_fail
;
18337 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18345 static PyObject
*_wrap_UpdateUIEvent_GetEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18346 PyObject
*resultobj
;
18347 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18349 PyObject
* obj0
= 0 ;
18350 char *kwnames
[] = {
18351 (char *) "self", NULL
18354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetEnabled",kwnames
,&obj0
)) goto fail
;
18355 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18356 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18359 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetEnabled();
18361 wxPyEndAllowThreads(__tstate
);
18362 if (PyErr_Occurred()) SWIG_fail
;
18365 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18373 static PyObject
*_wrap_UpdateUIEvent_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18374 PyObject
*resultobj
;
18375 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18377 PyObject
* obj0
= 0 ;
18378 char *kwnames
[] = {
18379 (char *) "self", NULL
18382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetText",kwnames
,&obj0
)) goto fail
;
18383 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18387 result
= ((wxUpdateUIEvent
const *)arg1
)->GetText();
18389 wxPyEndAllowThreads(__tstate
);
18390 if (PyErr_Occurred()) SWIG_fail
;
18394 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18396 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18405 static PyObject
*_wrap_UpdateUIEvent_GetSetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18406 PyObject
*resultobj
;
18407 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18409 PyObject
* obj0
= 0 ;
18410 char *kwnames
[] = {
18411 (char *) "self", NULL
18414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetText",kwnames
,&obj0
)) goto fail
;
18415 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18419 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetText();
18421 wxPyEndAllowThreads(__tstate
);
18422 if (PyErr_Occurred()) SWIG_fail
;
18425 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18433 static PyObject
*_wrap_UpdateUIEvent_GetSetChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18434 PyObject
*resultobj
;
18435 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18437 PyObject
* obj0
= 0 ;
18438 char *kwnames
[] = {
18439 (char *) "self", NULL
18442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetChecked",kwnames
,&obj0
)) goto fail
;
18443 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18447 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetChecked();
18449 wxPyEndAllowThreads(__tstate
);
18450 if (PyErr_Occurred()) SWIG_fail
;
18453 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18461 static PyObject
*_wrap_UpdateUIEvent_GetSetEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18462 PyObject
*resultobj
;
18463 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18465 PyObject
* obj0
= 0 ;
18466 char *kwnames
[] = {
18467 (char *) "self", NULL
18470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetEnabled",kwnames
,&obj0
)) goto fail
;
18471 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18472 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18475 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetEnabled();
18477 wxPyEndAllowThreads(__tstate
);
18478 if (PyErr_Occurred()) SWIG_fail
;
18481 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18489 static PyObject
*_wrap_UpdateUIEvent_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18490 PyObject
*resultobj
;
18491 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18493 PyObject
* obj0
= 0 ;
18494 PyObject
* obj1
= 0 ;
18495 char *kwnames
[] = {
18496 (char *) "self",(char *) "check", NULL
18499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
18500 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18502 arg2
= (bool)SWIG_As_bool(obj1
);
18503 if (PyErr_Occurred()) SWIG_fail
;
18505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18506 (arg1
)->Check(arg2
);
18508 wxPyEndAllowThreads(__tstate
);
18509 if (PyErr_Occurred()) SWIG_fail
;
18511 Py_INCREF(Py_None
); resultobj
= Py_None
;
18518 static PyObject
*_wrap_UpdateUIEvent_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18519 PyObject
*resultobj
;
18520 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18522 PyObject
* obj0
= 0 ;
18523 PyObject
* obj1
= 0 ;
18524 char *kwnames
[] = {
18525 (char *) "self",(char *) "enable", NULL
18528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
18529 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18531 arg2
= (bool)SWIG_As_bool(obj1
);
18532 if (PyErr_Occurred()) SWIG_fail
;
18534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18535 (arg1
)->Enable(arg2
);
18537 wxPyEndAllowThreads(__tstate
);
18538 if (PyErr_Occurred()) SWIG_fail
;
18540 Py_INCREF(Py_None
); resultobj
= Py_None
;
18547 static PyObject
*_wrap_UpdateUIEvent_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18548 PyObject
*resultobj
;
18549 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18550 wxString
*arg2
= 0 ;
18551 bool temp2
= false ;
18552 PyObject
* obj0
= 0 ;
18553 PyObject
* obj1
= 0 ;
18554 char *kwnames
[] = {
18555 (char *) "self",(char *) "text", NULL
18558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
18559 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18560 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18562 arg2
= wxString_in_helper(obj1
);
18563 if (arg2
== NULL
) SWIG_fail
;
18567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18568 (arg1
)->SetText((wxString
const &)*arg2
);
18570 wxPyEndAllowThreads(__tstate
);
18571 if (PyErr_Occurred()) SWIG_fail
;
18573 Py_INCREF(Py_None
); resultobj
= Py_None
;
18588 static PyObject
*_wrap_UpdateUIEvent_SetUpdateInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18589 PyObject
*resultobj
;
18591 PyObject
* obj0
= 0 ;
18592 char *kwnames
[] = {
18593 (char *) "updateInterval", NULL
18596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetUpdateInterval",kwnames
,&obj0
)) goto fail
;
18597 arg1
= (long)SWIG_As_long(obj0
);
18598 if (PyErr_Occurred()) SWIG_fail
;
18600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18601 wxUpdateUIEvent::SetUpdateInterval(arg1
);
18603 wxPyEndAllowThreads(__tstate
);
18604 if (PyErr_Occurred()) SWIG_fail
;
18606 Py_INCREF(Py_None
); resultobj
= Py_None
;
18613 static PyObject
*_wrap_UpdateUIEvent_GetUpdateInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18614 PyObject
*resultobj
;
18616 char *kwnames
[] = {
18620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetUpdateInterval",kwnames
)) goto fail
;
18622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18623 result
= (long)wxUpdateUIEvent::GetUpdateInterval();
18625 wxPyEndAllowThreads(__tstate
);
18626 if (PyErr_Occurred()) SWIG_fail
;
18628 resultobj
= SWIG_From_long((long)result
);
18635 static PyObject
*_wrap_UpdateUIEvent_CanUpdate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18636 PyObject
*resultobj
;
18637 wxWindow
*arg1
= (wxWindow
*) 0 ;
18639 PyObject
* obj0
= 0 ;
18640 char *kwnames
[] = {
18641 (char *) "win", NULL
18644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_CanUpdate",kwnames
,&obj0
)) goto fail
;
18645 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
18646 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18649 result
= (bool)wxUpdateUIEvent::CanUpdate(arg1
);
18651 wxPyEndAllowThreads(__tstate
);
18652 if (PyErr_Occurred()) SWIG_fail
;
18655 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18663 static PyObject
*_wrap_UpdateUIEvent_ResetUpdateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18664 PyObject
*resultobj
;
18665 char *kwnames
[] = {
18669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_ResetUpdateTime",kwnames
)) goto fail
;
18671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18672 wxUpdateUIEvent::ResetUpdateTime();
18674 wxPyEndAllowThreads(__tstate
);
18675 if (PyErr_Occurred()) SWIG_fail
;
18677 Py_INCREF(Py_None
); resultobj
= Py_None
;
18684 static PyObject
*_wrap_UpdateUIEvent_SetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18685 PyObject
*resultobj
;
18687 PyObject
* obj0
= 0 ;
18688 char *kwnames
[] = {
18689 (char *) "mode", NULL
18692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetMode",kwnames
,&obj0
)) goto fail
;
18693 arg1
= (int)SWIG_As_int(obj0
);
18694 if (PyErr_Occurred()) SWIG_fail
;
18696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18697 wxUpdateUIEvent::SetMode((wxUpdateUIMode
)arg1
);
18699 wxPyEndAllowThreads(__tstate
);
18700 if (PyErr_Occurred()) SWIG_fail
;
18702 Py_INCREF(Py_None
); resultobj
= Py_None
;
18709 static PyObject
*_wrap_UpdateUIEvent_GetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18710 PyObject
*resultobj
;
18712 char *kwnames
[] = {
18716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetMode",kwnames
)) goto fail
;
18718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18719 result
= (int)wxUpdateUIEvent::GetMode();
18721 wxPyEndAllowThreads(__tstate
);
18722 if (PyErr_Occurred()) SWIG_fail
;
18724 resultobj
= SWIG_From_int((int)result
);
18731 static PyObject
* UpdateUIEvent_swigregister(PyObject
*, PyObject
*args
) {
18733 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18734 SWIG_TypeClientData(SWIGTYPE_p_wxUpdateUIEvent
, obj
);
18736 return Py_BuildValue((char *)"");
18738 static PyObject
*_wrap_new_SysColourChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18739 PyObject
*resultobj
;
18740 wxSysColourChangedEvent
*result
;
18741 char *kwnames
[] = {
18745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SysColourChangedEvent",kwnames
)) goto fail
;
18747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18748 result
= (wxSysColourChangedEvent
*)new wxSysColourChangedEvent();
18750 wxPyEndAllowThreads(__tstate
);
18751 if (PyErr_Occurred()) SWIG_fail
;
18753 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSysColourChangedEvent
, 1);
18760 static PyObject
* SysColourChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
18762 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18763 SWIG_TypeClientData(SWIGTYPE_p_wxSysColourChangedEvent
, obj
);
18765 return Py_BuildValue((char *)"");
18767 static PyObject
*_wrap_new_MouseCaptureChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18768 PyObject
*resultobj
;
18769 int arg1
= (int) 0 ;
18770 wxWindow
*arg2
= (wxWindow
*) NULL
;
18771 wxMouseCaptureChangedEvent
*result
;
18772 PyObject
* obj0
= 0 ;
18773 PyObject
* obj1
= 0 ;
18774 char *kwnames
[] = {
18775 (char *) "winid",(char *) "gainedCapture", NULL
18778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MouseCaptureChangedEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
18780 arg1
= (int)SWIG_As_int(obj0
);
18781 if (PyErr_Occurred()) SWIG_fail
;
18784 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
18785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18789 result
= (wxMouseCaptureChangedEvent
*)new wxMouseCaptureChangedEvent(arg1
,arg2
);
18791 wxPyEndAllowThreads(__tstate
);
18792 if (PyErr_Occurred()) SWIG_fail
;
18794 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMouseCaptureChangedEvent
, 1);
18801 static PyObject
*_wrap_MouseCaptureChangedEvent_GetCapturedWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18802 PyObject
*resultobj
;
18803 wxMouseCaptureChangedEvent
*arg1
= (wxMouseCaptureChangedEvent
*) 0 ;
18805 PyObject
* obj0
= 0 ;
18806 char *kwnames
[] = {
18807 (char *) "self", NULL
18810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseCaptureChangedEvent_GetCapturedWindow",kwnames
,&obj0
)) goto fail
;
18811 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseCaptureChangedEvent
,
18812 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18815 result
= (wxWindow
*)((wxMouseCaptureChangedEvent
const *)arg1
)->GetCapturedWindow();
18817 wxPyEndAllowThreads(__tstate
);
18818 if (PyErr_Occurred()) SWIG_fail
;
18821 resultobj
= wxPyMake_wxObject(result
, 0);
18829 static PyObject
* MouseCaptureChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
18831 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18832 SWIG_TypeClientData(SWIGTYPE_p_wxMouseCaptureChangedEvent
, obj
);
18834 return Py_BuildValue((char *)"");
18836 static PyObject
*_wrap_new_DisplayChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18837 PyObject
*resultobj
;
18838 wxDisplayChangedEvent
*result
;
18839 char *kwnames
[] = {
18843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DisplayChangedEvent",kwnames
)) goto fail
;
18845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18846 result
= (wxDisplayChangedEvent
*)new wxDisplayChangedEvent();
18848 wxPyEndAllowThreads(__tstate
);
18849 if (PyErr_Occurred()) SWIG_fail
;
18851 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDisplayChangedEvent
, 1);
18858 static PyObject
* DisplayChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
18860 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18861 SWIG_TypeClientData(SWIGTYPE_p_wxDisplayChangedEvent
, obj
);
18863 return Py_BuildValue((char *)"");
18865 static PyObject
*_wrap_new_PaletteChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18866 PyObject
*resultobj
;
18867 int arg1
= (int) 0 ;
18868 wxPaletteChangedEvent
*result
;
18869 PyObject
* obj0
= 0 ;
18870 char *kwnames
[] = {
18871 (char *) "id", NULL
18874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaletteChangedEvent",kwnames
,&obj0
)) goto fail
;
18876 arg1
= (int)SWIG_As_int(obj0
);
18877 if (PyErr_Occurred()) SWIG_fail
;
18880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18881 result
= (wxPaletteChangedEvent
*)new wxPaletteChangedEvent(arg1
);
18883 wxPyEndAllowThreads(__tstate
);
18884 if (PyErr_Occurred()) SWIG_fail
;
18886 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaletteChangedEvent
, 1);
18893 static PyObject
*_wrap_PaletteChangedEvent_SetChangedWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18894 PyObject
*resultobj
;
18895 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
18896 wxWindow
*arg2
= (wxWindow
*) 0 ;
18897 PyObject
* obj0
= 0 ;
18898 PyObject
* obj1
= 0 ;
18899 char *kwnames
[] = {
18900 (char *) "self",(char *) "win", NULL
18903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PaletteChangedEvent_SetChangedWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
18904 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPaletteChangedEvent
,
18905 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18906 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
18907 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18910 (arg1
)->SetChangedWindow(arg2
);
18912 wxPyEndAllowThreads(__tstate
);
18913 if (PyErr_Occurred()) SWIG_fail
;
18915 Py_INCREF(Py_None
); resultobj
= Py_None
;
18922 static PyObject
*_wrap_PaletteChangedEvent_GetChangedWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18923 PyObject
*resultobj
;
18924 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
18926 PyObject
* obj0
= 0 ;
18927 char *kwnames
[] = {
18928 (char *) "self", NULL
18931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PaletteChangedEvent_GetChangedWindow",kwnames
,&obj0
)) goto fail
;
18932 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPaletteChangedEvent
,
18933 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18936 result
= (wxWindow
*)(arg1
)->GetChangedWindow();
18938 wxPyEndAllowThreads(__tstate
);
18939 if (PyErr_Occurred()) SWIG_fail
;
18942 resultobj
= wxPyMake_wxObject(result
, 0);
18950 static PyObject
* PaletteChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
18952 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18953 SWIG_TypeClientData(SWIGTYPE_p_wxPaletteChangedEvent
, obj
);
18955 return Py_BuildValue((char *)"");
18957 static PyObject
*_wrap_new_QueryNewPaletteEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18958 PyObject
*resultobj
;
18959 int arg1
= (int) 0 ;
18960 wxQueryNewPaletteEvent
*result
;
18961 PyObject
* obj0
= 0 ;
18962 char *kwnames
[] = {
18963 (char *) "winid", NULL
18966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryNewPaletteEvent",kwnames
,&obj0
)) goto fail
;
18968 arg1
= (int)SWIG_As_int(obj0
);
18969 if (PyErr_Occurred()) SWIG_fail
;
18972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18973 result
= (wxQueryNewPaletteEvent
*)new wxQueryNewPaletteEvent(arg1
);
18975 wxPyEndAllowThreads(__tstate
);
18976 if (PyErr_Occurred()) SWIG_fail
;
18978 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxQueryNewPaletteEvent
, 1);
18985 static PyObject
*_wrap_QueryNewPaletteEvent_SetPaletteRealized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18986 PyObject
*resultobj
;
18987 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
18989 PyObject
* obj0
= 0 ;
18990 PyObject
* obj1
= 0 ;
18991 char *kwnames
[] = {
18992 (char *) "self",(char *) "realized", NULL
18995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryNewPaletteEvent_SetPaletteRealized",kwnames
,&obj0
,&obj1
)) goto fail
;
18996 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryNewPaletteEvent
,
18997 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18998 arg2
= (bool)SWIG_As_bool(obj1
);
18999 if (PyErr_Occurred()) SWIG_fail
;
19001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19002 (arg1
)->SetPaletteRealized(arg2
);
19004 wxPyEndAllowThreads(__tstate
);
19005 if (PyErr_Occurred()) SWIG_fail
;
19007 Py_INCREF(Py_None
); resultobj
= Py_None
;
19014 static PyObject
*_wrap_QueryNewPaletteEvent_GetPaletteRealized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19015 PyObject
*resultobj
;
19016 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
19018 PyObject
* obj0
= 0 ;
19019 char *kwnames
[] = {
19020 (char *) "self", NULL
19023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryNewPaletteEvent_GetPaletteRealized",kwnames
,&obj0
)) goto fail
;
19024 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryNewPaletteEvent
,
19025 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19028 result
= (bool)((wxQueryNewPaletteEvent
const *)arg1
)->GetPaletteRealized();
19030 wxPyEndAllowThreads(__tstate
);
19031 if (PyErr_Occurred()) SWIG_fail
;
19034 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19042 static PyObject
* QueryNewPaletteEvent_swigregister(PyObject
*, PyObject
*args
) {
19044 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19045 SWIG_TypeClientData(SWIGTYPE_p_wxQueryNewPaletteEvent
, obj
);
19047 return Py_BuildValue((char *)"");
19049 static PyObject
*_wrap_new_NavigationKeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19050 PyObject
*resultobj
;
19051 wxNavigationKeyEvent
*result
;
19052 char *kwnames
[] = {
19056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NavigationKeyEvent",kwnames
)) goto fail
;
19058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19059 result
= (wxNavigationKeyEvent
*)new wxNavigationKeyEvent();
19061 wxPyEndAllowThreads(__tstate
);
19062 if (PyErr_Occurred()) SWIG_fail
;
19064 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNavigationKeyEvent
, 1);
19071 static PyObject
*_wrap_NavigationKeyEvent_GetDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19072 PyObject
*resultobj
;
19073 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
19075 PyObject
* obj0
= 0 ;
19076 char *kwnames
[] = {
19077 (char *) "self", NULL
19080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetDirection",kwnames
,&obj0
)) goto fail
;
19081 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
19082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19085 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->GetDirection();
19087 wxPyEndAllowThreads(__tstate
);
19088 if (PyErr_Occurred()) SWIG_fail
;
19091 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19099 static PyObject
*_wrap_NavigationKeyEvent_SetDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19100 PyObject
*resultobj
;
19101 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
19103 PyObject
* obj0
= 0 ;
19104 PyObject
* obj1
= 0 ;
19105 char *kwnames
[] = {
19106 (char *) "self",(char *) "forward", NULL
19109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetDirection",kwnames
,&obj0
,&obj1
)) goto fail
;
19110 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
19111 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19112 arg2
= (bool)SWIG_As_bool(obj1
);
19113 if (PyErr_Occurred()) SWIG_fail
;
19115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19116 (arg1
)->SetDirection(arg2
);
19118 wxPyEndAllowThreads(__tstate
);
19119 if (PyErr_Occurred()) SWIG_fail
;
19121 Py_INCREF(Py_None
); resultobj
= Py_None
;
19128 static PyObject
*_wrap_NavigationKeyEvent_IsWindowChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19129 PyObject
*resultobj
;
19130 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
19132 PyObject
* obj0
= 0 ;
19133 char *kwnames
[] = {
19134 (char *) "self", NULL
19137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_IsWindowChange",kwnames
,&obj0
)) goto fail
;
19138 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
19139 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19142 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->IsWindowChange();
19144 wxPyEndAllowThreads(__tstate
);
19145 if (PyErr_Occurred()) SWIG_fail
;
19148 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19156 static PyObject
*_wrap_NavigationKeyEvent_SetWindowChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19157 PyObject
*resultobj
;
19158 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
19160 PyObject
* obj0
= 0 ;
19161 PyObject
* obj1
= 0 ;
19162 char *kwnames
[] = {
19163 (char *) "self",(char *) "ischange", NULL
19166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetWindowChange",kwnames
,&obj0
,&obj1
)) goto fail
;
19167 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
19168 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19169 arg2
= (bool)SWIG_As_bool(obj1
);
19170 if (PyErr_Occurred()) SWIG_fail
;
19172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19173 (arg1
)->SetWindowChange(arg2
);
19175 wxPyEndAllowThreads(__tstate
);
19176 if (PyErr_Occurred()) SWIG_fail
;
19178 Py_INCREF(Py_None
); resultobj
= Py_None
;
19185 static PyObject
*_wrap_NavigationKeyEvent_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19186 PyObject
*resultobj
;
19187 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
19189 PyObject
* obj0
= 0 ;
19190 PyObject
* obj1
= 0 ;
19191 char *kwnames
[] = {
19192 (char *) "self",(char *) "flags", NULL
19195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
19196 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
19197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19198 arg2
= (long)SWIG_As_long(obj1
);
19199 if (PyErr_Occurred()) SWIG_fail
;
19201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19202 (arg1
)->SetFlags(arg2
);
19204 wxPyEndAllowThreads(__tstate
);
19205 if (PyErr_Occurred()) SWIG_fail
;
19207 Py_INCREF(Py_None
); resultobj
= Py_None
;
19214 static PyObject
*_wrap_NavigationKeyEvent_GetCurrentFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19215 PyObject
*resultobj
;
19216 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
19218 PyObject
* obj0
= 0 ;
19219 char *kwnames
[] = {
19220 (char *) "self", NULL
19223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetCurrentFocus",kwnames
,&obj0
)) goto fail
;
19224 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
19225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19228 result
= (wxWindow
*)((wxNavigationKeyEvent
const *)arg1
)->GetCurrentFocus();
19230 wxPyEndAllowThreads(__tstate
);
19231 if (PyErr_Occurred()) SWIG_fail
;
19234 resultobj
= wxPyMake_wxObject(result
, 0);
19242 static PyObject
*_wrap_NavigationKeyEvent_SetCurrentFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19243 PyObject
*resultobj
;
19244 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
19245 wxWindow
*arg2
= (wxWindow
*) 0 ;
19246 PyObject
* obj0
= 0 ;
19247 PyObject
* obj1
= 0 ;
19248 char *kwnames
[] = {
19249 (char *) "self",(char *) "win", NULL
19252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetCurrentFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
19253 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
19254 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19255 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
19256 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19259 (arg1
)->SetCurrentFocus(arg2
);
19261 wxPyEndAllowThreads(__tstate
);
19262 if (PyErr_Occurred()) SWIG_fail
;
19264 Py_INCREF(Py_None
); resultobj
= Py_None
;
19271 static PyObject
* NavigationKeyEvent_swigregister(PyObject
*, PyObject
*args
) {
19273 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19274 SWIG_TypeClientData(SWIGTYPE_p_wxNavigationKeyEvent
, obj
);
19276 return Py_BuildValue((char *)"");
19278 static PyObject
*_wrap_new_WindowCreateEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19279 PyObject
*resultobj
;
19280 wxWindow
*arg1
= (wxWindow
*) NULL
;
19281 wxWindowCreateEvent
*result
;
19282 PyObject
* obj0
= 0 ;
19283 char *kwnames
[] = {
19284 (char *) "win", NULL
19287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowCreateEvent",kwnames
,&obj0
)) goto fail
;
19289 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
19290 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19294 result
= (wxWindowCreateEvent
*)new wxWindowCreateEvent(arg1
);
19296 wxPyEndAllowThreads(__tstate
);
19297 if (PyErr_Occurred()) SWIG_fail
;
19299 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowCreateEvent
, 1);
19306 static PyObject
*_wrap_WindowCreateEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19307 PyObject
*resultobj
;
19308 wxWindowCreateEvent
*arg1
= (wxWindowCreateEvent
*) 0 ;
19310 PyObject
* obj0
= 0 ;
19311 char *kwnames
[] = {
19312 (char *) "self", NULL
19315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowCreateEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
19316 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindowCreateEvent
,
19317 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19320 result
= (wxWindow
*)((wxWindowCreateEvent
const *)arg1
)->GetWindow();
19322 wxPyEndAllowThreads(__tstate
);
19323 if (PyErr_Occurred()) SWIG_fail
;
19326 resultobj
= wxPyMake_wxObject(result
, 0);
19334 static PyObject
* WindowCreateEvent_swigregister(PyObject
*, PyObject
*args
) {
19336 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19337 SWIG_TypeClientData(SWIGTYPE_p_wxWindowCreateEvent
, obj
);
19339 return Py_BuildValue((char *)"");
19341 static PyObject
*_wrap_new_WindowDestroyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19342 PyObject
*resultobj
;
19343 wxWindow
*arg1
= (wxWindow
*) NULL
;
19344 wxWindowDestroyEvent
*result
;
19345 PyObject
* obj0
= 0 ;
19346 char *kwnames
[] = {
19347 (char *) "win", NULL
19350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDestroyEvent",kwnames
,&obj0
)) goto fail
;
19352 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
19353 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19357 result
= (wxWindowDestroyEvent
*)new wxWindowDestroyEvent(arg1
);
19359 wxPyEndAllowThreads(__tstate
);
19360 if (PyErr_Occurred()) SWIG_fail
;
19362 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDestroyEvent
, 1);
19369 static PyObject
*_wrap_WindowDestroyEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19370 PyObject
*resultobj
;
19371 wxWindowDestroyEvent
*arg1
= (wxWindowDestroyEvent
*) 0 ;
19373 PyObject
* obj0
= 0 ;
19374 char *kwnames
[] = {
19375 (char *) "self", NULL
19378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowDestroyEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
19379 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindowDestroyEvent
,
19380 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19383 result
= (wxWindow
*)((wxWindowDestroyEvent
const *)arg1
)->GetWindow();
19385 wxPyEndAllowThreads(__tstate
);
19386 if (PyErr_Occurred()) SWIG_fail
;
19389 resultobj
= wxPyMake_wxObject(result
, 0);
19397 static PyObject
* WindowDestroyEvent_swigregister(PyObject
*, PyObject
*args
) {
19399 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19400 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDestroyEvent
, obj
);
19402 return Py_BuildValue((char *)"");
19404 static PyObject
*_wrap_new_ContextMenuEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19405 PyObject
*resultobj
;
19406 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19407 int arg2
= (int) 0 ;
19408 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
19409 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
19410 wxContextMenuEvent
*result
;
19412 PyObject
* obj0
= 0 ;
19413 PyObject
* obj1
= 0 ;
19414 PyObject
* obj2
= 0 ;
19415 char *kwnames
[] = {
19416 (char *) "type",(char *) "winid",(char *) "pt", NULL
19419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ContextMenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19421 arg1
= (wxEventType
)SWIG_As_int(obj0
);
19422 if (PyErr_Occurred()) SWIG_fail
;
19425 arg2
= (int)SWIG_As_int(obj1
);
19426 if (PyErr_Occurred()) SWIG_fail
;
19431 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19436 result
= (wxContextMenuEvent
*)new wxContextMenuEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
19438 wxPyEndAllowThreads(__tstate
);
19439 if (PyErr_Occurred()) SWIG_fail
;
19441 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextMenuEvent
, 1);
19448 static PyObject
*_wrap_ContextMenuEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19449 PyObject
*resultobj
;
19450 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
19452 PyObject
* obj0
= 0 ;
19453 char *kwnames
[] = {
19454 (char *) "self", NULL
19457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextMenuEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
19458 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextMenuEvent
,
19459 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19463 wxPoint
const &_result_ref
= ((wxContextMenuEvent
const *)arg1
)->GetPosition();
19464 result
= (wxPoint
*) &_result_ref
;
19467 wxPyEndAllowThreads(__tstate
);
19468 if (PyErr_Occurred()) SWIG_fail
;
19470 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
19477 static PyObject
*_wrap_ContextMenuEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19478 PyObject
*resultobj
;
19479 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
19480 wxPoint
*arg2
= 0 ;
19482 PyObject
* obj0
= 0 ;
19483 PyObject
* obj1
= 0 ;
19484 char *kwnames
[] = {
19485 (char *) "self",(char *) "pos", NULL
19488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ContextMenuEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
19489 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextMenuEvent
,
19490 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19493 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19497 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
19499 wxPyEndAllowThreads(__tstate
);
19500 if (PyErr_Occurred()) SWIG_fail
;
19502 Py_INCREF(Py_None
); resultobj
= Py_None
;
19509 static PyObject
* ContextMenuEvent_swigregister(PyObject
*, PyObject
*args
) {
19511 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19512 SWIG_TypeClientData(SWIGTYPE_p_wxContextMenuEvent
, obj
);
19514 return Py_BuildValue((char *)"");
19516 static PyObject
*_wrap_new_IdleEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19517 PyObject
*resultobj
;
19518 wxIdleEvent
*result
;
19519 char *kwnames
[] = {
19523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_IdleEvent",kwnames
)) goto fail
;
19525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19526 result
= (wxIdleEvent
*)new wxIdleEvent();
19528 wxPyEndAllowThreads(__tstate
);
19529 if (PyErr_Occurred()) SWIG_fail
;
19531 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIdleEvent
, 1);
19538 static PyObject
*_wrap_IdleEvent_RequestMore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19539 PyObject
*resultobj
;
19540 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
19541 bool arg2
= (bool) true ;
19542 PyObject
* obj0
= 0 ;
19543 PyObject
* obj1
= 0 ;
19544 char *kwnames
[] = {
19545 (char *) "self",(char *) "needMore", NULL
19548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:IdleEvent_RequestMore",kwnames
,&obj0
,&obj1
)) goto fail
;
19549 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIdleEvent
,
19550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19552 arg2
= (bool)SWIG_As_bool(obj1
);
19553 if (PyErr_Occurred()) SWIG_fail
;
19556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19557 (arg1
)->RequestMore(arg2
);
19559 wxPyEndAllowThreads(__tstate
);
19560 if (PyErr_Occurred()) SWIG_fail
;
19562 Py_INCREF(Py_None
); resultobj
= Py_None
;
19569 static PyObject
*_wrap_IdleEvent_MoreRequested(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19570 PyObject
*resultobj
;
19571 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
19573 PyObject
* obj0
= 0 ;
19574 char *kwnames
[] = {
19575 (char *) "self", NULL
19578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_MoreRequested",kwnames
,&obj0
)) goto fail
;
19579 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIdleEvent
,
19580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19583 result
= (bool)((wxIdleEvent
const *)arg1
)->MoreRequested();
19585 wxPyEndAllowThreads(__tstate
);
19586 if (PyErr_Occurred()) SWIG_fail
;
19589 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19597 static PyObject
*_wrap_IdleEvent_SetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19598 PyObject
*resultobj
;
19600 PyObject
* obj0
= 0 ;
19601 char *kwnames
[] = {
19602 (char *) "mode", NULL
19605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_SetMode",kwnames
,&obj0
)) goto fail
;
19606 arg1
= (int)SWIG_As_int(obj0
);
19607 if (PyErr_Occurred()) SWIG_fail
;
19609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19610 wxIdleEvent::SetMode((wxIdleMode
)arg1
);
19612 wxPyEndAllowThreads(__tstate
);
19613 if (PyErr_Occurred()) SWIG_fail
;
19615 Py_INCREF(Py_None
); resultobj
= Py_None
;
19622 static PyObject
*_wrap_IdleEvent_GetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19623 PyObject
*resultobj
;
19625 char *kwnames
[] = {
19629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IdleEvent_GetMode",kwnames
)) goto fail
;
19631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19632 result
= (int)wxIdleEvent::GetMode();
19634 wxPyEndAllowThreads(__tstate
);
19635 if (PyErr_Occurred()) SWIG_fail
;
19637 resultobj
= SWIG_From_int((int)result
);
19644 static PyObject
*_wrap_IdleEvent_CanSend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19645 PyObject
*resultobj
;
19646 wxWindow
*arg1
= (wxWindow
*) 0 ;
19648 PyObject
* obj0
= 0 ;
19649 char *kwnames
[] = {
19650 (char *) "win", NULL
19653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_CanSend",kwnames
,&obj0
)) goto fail
;
19654 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
19655 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19658 result
= (bool)wxIdleEvent::CanSend(arg1
);
19660 wxPyEndAllowThreads(__tstate
);
19661 if (PyErr_Occurred()) SWIG_fail
;
19664 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19672 static PyObject
* IdleEvent_swigregister(PyObject
*, PyObject
*args
) {
19674 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19675 SWIG_TypeClientData(SWIGTYPE_p_wxIdleEvent
, obj
);
19677 return Py_BuildValue((char *)"");
19679 static PyObject
*_wrap_new_PyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19680 PyObject
*resultobj
;
19681 int arg1
= (int) 0 ;
19682 wxEventType arg2
= (wxEventType
) wxEVT_NULL
;
19684 PyObject
* obj0
= 0 ;
19685 PyObject
* obj1
= 0 ;
19686 char *kwnames
[] = {
19687 (char *) "winid",(char *) "commandType", NULL
19690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19692 arg1
= (int)SWIG_As_int(obj0
);
19693 if (PyErr_Occurred()) SWIG_fail
;
19696 arg2
= (wxEventType
)SWIG_As_int(obj1
);
19697 if (PyErr_Occurred()) SWIG_fail
;
19700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19701 result
= (wxPyEvent
*)new wxPyEvent(arg1
,arg2
);
19703 wxPyEndAllowThreads(__tstate
);
19704 if (PyErr_Occurred()) SWIG_fail
;
19706 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyEvent
, 1);
19713 static PyObject
*_wrap_delete_PyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19714 PyObject
*resultobj
;
19715 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
19716 PyObject
* obj0
= 0 ;
19717 char *kwnames
[] = {
19718 (char *) "self", NULL
19721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyEvent",kwnames
,&obj0
)) goto fail
;
19722 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEvent
,
19723 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19728 wxPyEndAllowThreads(__tstate
);
19729 if (PyErr_Occurred()) SWIG_fail
;
19731 Py_INCREF(Py_None
); resultobj
= Py_None
;
19738 static PyObject
*_wrap_PyEvent_SetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19739 PyObject
*resultobj
;
19740 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
19741 PyObject
*arg2
= (PyObject
*) 0 ;
19742 PyObject
* obj0
= 0 ;
19743 PyObject
* obj1
= 0 ;
19744 char *kwnames
[] = {
19745 (char *) "self",(char *) "self", NULL
19748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEvent_SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
19749 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEvent
,
19750 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19754 (arg1
)->SetSelf(arg2
);
19756 wxPyEndAllowThreads(__tstate
);
19757 if (PyErr_Occurred()) SWIG_fail
;
19759 Py_INCREF(Py_None
); resultobj
= Py_None
;
19766 static PyObject
*_wrap_PyEvent_GetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19767 PyObject
*resultobj
;
19768 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
19770 PyObject
* obj0
= 0 ;
19771 char *kwnames
[] = {
19772 (char *) "self", NULL
19775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyEvent_GetSelf",kwnames
,&obj0
)) goto fail
;
19776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEvent
,
19777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19780 result
= (PyObject
*)(arg1
)->GetSelf();
19782 wxPyEndAllowThreads(__tstate
);
19783 if (PyErr_Occurred()) SWIG_fail
;
19785 resultobj
= result
;
19792 static PyObject
* PyEvent_swigregister(PyObject
*, PyObject
*args
) {
19794 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19795 SWIG_TypeClientData(SWIGTYPE_p_wxPyEvent
, obj
);
19797 return Py_BuildValue((char *)"");
19799 static PyObject
*_wrap_new_PyCommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19800 PyObject
*resultobj
;
19801 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19802 int arg2
= (int) 0 ;
19803 wxPyCommandEvent
*result
;
19804 PyObject
* obj0
= 0 ;
19805 PyObject
* obj1
= 0 ;
19806 char *kwnames
[] = {
19807 (char *) "commandType",(char *) "id", NULL
19810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyCommandEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19812 arg1
= (wxEventType
)SWIG_As_int(obj0
);
19813 if (PyErr_Occurred()) SWIG_fail
;
19816 arg2
= (int)SWIG_As_int(obj1
);
19817 if (PyErr_Occurred()) SWIG_fail
;
19820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19821 result
= (wxPyCommandEvent
*)new wxPyCommandEvent(arg1
,arg2
);
19823 wxPyEndAllowThreads(__tstate
);
19824 if (PyErr_Occurred()) SWIG_fail
;
19826 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyCommandEvent
, 1);
19833 static PyObject
*_wrap_delete_PyCommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19834 PyObject
*resultobj
;
19835 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
19836 PyObject
* obj0
= 0 ;
19837 char *kwnames
[] = {
19838 (char *) "self", NULL
19841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyCommandEvent",kwnames
,&obj0
)) goto fail
;
19842 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCommandEvent
,
19843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19848 wxPyEndAllowThreads(__tstate
);
19849 if (PyErr_Occurred()) SWIG_fail
;
19851 Py_INCREF(Py_None
); resultobj
= Py_None
;
19858 static PyObject
*_wrap_PyCommandEvent_SetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19859 PyObject
*resultobj
;
19860 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
19861 PyObject
*arg2
= (PyObject
*) 0 ;
19862 PyObject
* obj0
= 0 ;
19863 PyObject
* obj1
= 0 ;
19864 char *kwnames
[] = {
19865 (char *) "self",(char *) "self", NULL
19868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCommandEvent_SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
19869 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCommandEvent
,
19870 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19874 (arg1
)->SetSelf(arg2
);
19876 wxPyEndAllowThreads(__tstate
);
19877 if (PyErr_Occurred()) SWIG_fail
;
19879 Py_INCREF(Py_None
); resultobj
= Py_None
;
19886 static PyObject
*_wrap_PyCommandEvent_GetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19887 PyObject
*resultobj
;
19888 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
19890 PyObject
* obj0
= 0 ;
19891 char *kwnames
[] = {
19892 (char *) "self", NULL
19895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCommandEvent_GetSelf",kwnames
,&obj0
)) goto fail
;
19896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCommandEvent
,
19897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19900 result
= (PyObject
*)(arg1
)->GetSelf();
19902 wxPyEndAllowThreads(__tstate
);
19903 if (PyErr_Occurred()) SWIG_fail
;
19905 resultobj
= result
;
19912 static PyObject
* PyCommandEvent_swigregister(PyObject
*, PyObject
*args
) {
19914 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19915 SWIG_TypeClientData(SWIGTYPE_p_wxPyCommandEvent
, obj
);
19917 return Py_BuildValue((char *)"");
19919 static PyObject
*_wrap_new_PyApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19920 PyObject
*resultobj
;
19922 char *kwnames
[] = {
19926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyApp",kwnames
)) goto fail
;
19928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19929 result
= (wxPyApp
*)new_wxPyApp();
19931 wxPyEndAllowThreads(__tstate
);
19932 if (PyErr_Occurred()) SWIG_fail
;
19934 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyApp
, 1);
19941 static PyObject
*_wrap_delete_PyApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19942 PyObject
*resultobj
;
19943 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19944 PyObject
* obj0
= 0 ;
19945 char *kwnames
[] = {
19946 (char *) "self", NULL
19949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyApp",kwnames
,&obj0
)) goto fail
;
19950 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19956 wxPyEndAllowThreads(__tstate
);
19957 if (PyErr_Occurred()) SWIG_fail
;
19959 Py_INCREF(Py_None
); resultobj
= Py_None
;
19966 static PyObject
*_wrap_PyApp__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19967 PyObject
*resultobj
;
19968 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19969 PyObject
*arg2
= (PyObject
*) 0 ;
19970 PyObject
*arg3
= (PyObject
*) 0 ;
19971 PyObject
* obj0
= 0 ;
19972 PyObject
* obj1
= 0 ;
19973 PyObject
* obj2
= 0 ;
19974 char *kwnames
[] = {
19975 (char *) "self",(char *) "self",(char *) "_class", NULL
19978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19979 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19980 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19985 (arg1
)->_setCallbackInfo(arg2
,arg3
);
19987 wxPyEndAllowThreads(__tstate
);
19988 if (PyErr_Occurred()) SWIG_fail
;
19990 Py_INCREF(Py_None
); resultobj
= Py_None
;
19997 static PyObject
*_wrap_PyApp_GetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19998 PyObject
*resultobj
;
19999 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20001 PyObject
* obj0
= 0 ;
20002 char *kwnames
[] = {
20003 (char *) "self", NULL
20006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAppName",kwnames
,&obj0
)) goto fail
;
20007 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20008 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20011 result
= ((wxPyApp
const *)arg1
)->GetAppName();
20013 wxPyEndAllowThreads(__tstate
);
20014 if (PyErr_Occurred()) SWIG_fail
;
20018 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20020 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20029 static PyObject
*_wrap_PyApp_SetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20030 PyObject
*resultobj
;
20031 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20032 wxString
*arg2
= 0 ;
20033 bool temp2
= false ;
20034 PyObject
* obj0
= 0 ;
20035 PyObject
* obj1
= 0 ;
20036 char *kwnames
[] = {
20037 (char *) "self",(char *) "name", NULL
20040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
;
20041 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20042 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20044 arg2
= wxString_in_helper(obj1
);
20045 if (arg2
== NULL
) SWIG_fail
;
20049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20050 (arg1
)->SetAppName((wxString
const &)*arg2
);
20052 wxPyEndAllowThreads(__tstate
);
20053 if (PyErr_Occurred()) SWIG_fail
;
20055 Py_INCREF(Py_None
); resultobj
= Py_None
;
20070 static PyObject
*_wrap_PyApp_GetClassName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20071 PyObject
*resultobj
;
20072 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20074 PyObject
* obj0
= 0 ;
20075 char *kwnames
[] = {
20076 (char *) "self", NULL
20079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetClassName",kwnames
,&obj0
)) goto fail
;
20080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20084 result
= ((wxPyApp
const *)arg1
)->GetClassName();
20086 wxPyEndAllowThreads(__tstate
);
20087 if (PyErr_Occurred()) SWIG_fail
;
20091 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20093 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20102 static PyObject
*_wrap_PyApp_SetClassName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20103 PyObject
*resultobj
;
20104 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20105 wxString
*arg2
= 0 ;
20106 bool temp2
= false ;
20107 PyObject
* obj0
= 0 ;
20108 PyObject
* obj1
= 0 ;
20109 char *kwnames
[] = {
20110 (char *) "self",(char *) "name", NULL
20113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetClassName",kwnames
,&obj0
,&obj1
)) goto fail
;
20114 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20115 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20117 arg2
= wxString_in_helper(obj1
);
20118 if (arg2
== NULL
) SWIG_fail
;
20122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20123 (arg1
)->SetClassName((wxString
const &)*arg2
);
20125 wxPyEndAllowThreads(__tstate
);
20126 if (PyErr_Occurred()) SWIG_fail
;
20128 Py_INCREF(Py_None
); resultobj
= Py_None
;
20143 static PyObject
*_wrap_PyApp_GetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20144 PyObject
*resultobj
;
20145 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20147 PyObject
* obj0
= 0 ;
20148 char *kwnames
[] = {
20149 (char *) "self", NULL
20152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetVendorName",kwnames
,&obj0
)) goto fail
;
20153 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20154 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20158 wxString
const &_result_ref
= ((wxPyApp
const *)arg1
)->GetVendorName();
20159 result
= (wxString
*) &_result_ref
;
20162 wxPyEndAllowThreads(__tstate
);
20163 if (PyErr_Occurred()) SWIG_fail
;
20167 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20169 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20178 static PyObject
*_wrap_PyApp_SetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20179 PyObject
*resultobj
;
20180 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20181 wxString
*arg2
= 0 ;
20182 bool temp2
= false ;
20183 PyObject
* obj0
= 0 ;
20184 PyObject
* obj1
= 0 ;
20185 char *kwnames
[] = {
20186 (char *) "self",(char *) "name", NULL
20189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
;
20190 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20193 arg2
= wxString_in_helper(obj1
);
20194 if (arg2
== NULL
) SWIG_fail
;
20198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20199 (arg1
)->SetVendorName((wxString
const &)*arg2
);
20201 wxPyEndAllowThreads(__tstate
);
20202 if (PyErr_Occurred()) SWIG_fail
;
20204 Py_INCREF(Py_None
); resultobj
= Py_None
;
20219 static PyObject
*_wrap_PyApp_GetTraits(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20220 PyObject
*resultobj
;
20221 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20222 wxAppTraits
*result
;
20223 PyObject
* obj0
= 0 ;
20224 char *kwnames
[] = {
20225 (char *) "self", NULL
20228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTraits",kwnames
,&obj0
)) goto fail
;
20229 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20233 result
= (wxAppTraits
*)(arg1
)->GetTraits();
20235 wxPyEndAllowThreads(__tstate
);
20236 if (PyErr_Occurred()) SWIG_fail
;
20238 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAppTraits
, 0);
20245 static PyObject
*_wrap_PyApp_ProcessPendingEvents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20246 PyObject
*resultobj
;
20247 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20248 PyObject
* obj0
= 0 ;
20249 char *kwnames
[] = {
20250 (char *) "self", NULL
20253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
20254 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20255 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20258 (arg1
)->ProcessPendingEvents();
20260 wxPyEndAllowThreads(__tstate
);
20261 if (PyErr_Occurred()) SWIG_fail
;
20263 Py_INCREF(Py_None
); resultobj
= Py_None
;
20270 static PyObject
*_wrap_PyApp_Yield(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20271 PyObject
*resultobj
;
20272 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20273 bool arg2
= (bool) false ;
20275 PyObject
* obj0
= 0 ;
20276 PyObject
* obj1
= 0 ;
20277 char *kwnames
[] = {
20278 (char *) "self",(char *) "onlyIfNeeded", NULL
20281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyApp_Yield",kwnames
,&obj0
,&obj1
)) goto fail
;
20282 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20285 arg2
= (bool)SWIG_As_bool(obj1
);
20286 if (PyErr_Occurred()) SWIG_fail
;
20289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20290 result
= (bool)(arg1
)->Yield(arg2
);
20292 wxPyEndAllowThreads(__tstate
);
20293 if (PyErr_Occurred()) SWIG_fail
;
20296 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20304 static PyObject
*_wrap_PyApp_WakeUpIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20305 PyObject
*resultobj
;
20306 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20307 PyObject
* obj0
= 0 ;
20308 char *kwnames
[] = {
20309 (char *) "self", NULL
20312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_WakeUpIdle",kwnames
,&obj0
)) goto fail
;
20313 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20314 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20317 (arg1
)->WakeUpIdle();
20319 wxPyEndAllowThreads(__tstate
);
20320 if (PyErr_Occurred()) SWIG_fail
;
20322 Py_INCREF(Py_None
); resultobj
= Py_None
;
20329 static PyObject
*_wrap_PyApp_IsMainLoopRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20330 PyObject
*resultobj
;
20332 char *kwnames
[] = {
20336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_IsMainLoopRunning",kwnames
)) goto fail
;
20338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20339 result
= (bool)wxPyApp::IsMainLoopRunning();
20341 wxPyEndAllowThreads(__tstate
);
20342 if (PyErr_Occurred()) SWIG_fail
;
20345 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20353 static PyObject
*_wrap_PyApp_MainLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20354 PyObject
*resultobj
;
20355 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20357 PyObject
* obj0
= 0 ;
20358 char *kwnames
[] = {
20359 (char *) "self", NULL
20362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_MainLoop",kwnames
,&obj0
)) goto fail
;
20363 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20364 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20367 result
= (int)(arg1
)->MainLoop();
20369 wxPyEndAllowThreads(__tstate
);
20370 if (PyErr_Occurred()) SWIG_fail
;
20372 resultobj
= SWIG_From_int((int)result
);
20379 static PyObject
*_wrap_PyApp_Exit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20380 PyObject
*resultobj
;
20381 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20382 PyObject
* obj0
= 0 ;
20383 char *kwnames
[] = {
20384 (char *) "self", NULL
20387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Exit",kwnames
,&obj0
)) goto fail
;
20388 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20394 wxPyEndAllowThreads(__tstate
);
20395 if (PyErr_Occurred()) SWIG_fail
;
20397 Py_INCREF(Py_None
); resultobj
= Py_None
;
20404 static PyObject
*_wrap_PyApp_ExitMainLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20405 PyObject
*resultobj
;
20406 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20407 PyObject
* obj0
= 0 ;
20408 char *kwnames
[] = {
20409 (char *) "self", NULL
20412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ExitMainLoop",kwnames
,&obj0
)) goto fail
;
20413 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20417 (arg1
)->ExitMainLoop();
20419 wxPyEndAllowThreads(__tstate
);
20420 if (PyErr_Occurred()) SWIG_fail
;
20422 Py_INCREF(Py_None
); resultobj
= Py_None
;
20429 static PyObject
*_wrap_PyApp_Pending(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20430 PyObject
*resultobj
;
20431 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20433 PyObject
* obj0
= 0 ;
20434 char *kwnames
[] = {
20435 (char *) "self", NULL
20438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Pending",kwnames
,&obj0
)) goto fail
;
20439 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20443 result
= (bool)(arg1
)->Pending();
20445 wxPyEndAllowThreads(__tstate
);
20446 if (PyErr_Occurred()) SWIG_fail
;
20449 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20457 static PyObject
*_wrap_PyApp_Dispatch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20458 PyObject
*resultobj
;
20459 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20461 PyObject
* obj0
= 0 ;
20462 char *kwnames
[] = {
20463 (char *) "self", NULL
20466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Dispatch",kwnames
,&obj0
)) goto fail
;
20467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20471 result
= (bool)(arg1
)->Dispatch();
20473 wxPyEndAllowThreads(__tstate
);
20474 if (PyErr_Occurred()) SWIG_fail
;
20477 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20485 static PyObject
*_wrap_PyApp_ProcessIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20486 PyObject
*resultobj
;
20487 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20489 PyObject
* obj0
= 0 ;
20490 char *kwnames
[] = {
20491 (char *) "self", NULL
20494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessIdle",kwnames
,&obj0
)) goto fail
;
20495 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20499 result
= (bool)(arg1
)->ProcessIdle();
20501 wxPyEndAllowThreads(__tstate
);
20502 if (PyErr_Occurred()) SWIG_fail
;
20505 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20513 static PyObject
*_wrap_PyApp_SendIdleEvents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20514 PyObject
*resultobj
;
20515 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20516 wxWindow
*arg2
= (wxWindow
*) 0 ;
20517 wxIdleEvent
*arg3
= 0 ;
20519 PyObject
* obj0
= 0 ;
20520 PyObject
* obj1
= 0 ;
20521 PyObject
* obj2
= 0 ;
20522 char *kwnames
[] = {
20523 (char *) "self",(char *) "win",(char *) "event", NULL
20526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp_SendIdleEvents",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20527 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20528 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20529 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
20530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20531 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxIdleEvent
,
20532 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20534 if (arg3
== NULL
) {
20535 PyErr_SetString(PyExc_TypeError
,"null reference");
20539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20540 result
= (bool)(arg1
)->SendIdleEvents(arg2
,*arg3
);
20542 wxPyEndAllowThreads(__tstate
);
20543 if (PyErr_Occurred()) SWIG_fail
;
20546 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20554 static PyObject
*_wrap_PyApp_IsActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20555 PyObject
*resultobj
;
20556 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20558 PyObject
* obj0
= 0 ;
20559 char *kwnames
[] = {
20560 (char *) "self", NULL
20563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_IsActive",kwnames
,&obj0
)) goto fail
;
20564 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20568 result
= (bool)((wxPyApp
const *)arg1
)->IsActive();
20570 wxPyEndAllowThreads(__tstate
);
20571 if (PyErr_Occurred()) SWIG_fail
;
20574 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20582 static PyObject
*_wrap_PyApp_SetTopWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20583 PyObject
*resultobj
;
20584 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20585 wxWindow
*arg2
= (wxWindow
*) 0 ;
20586 PyObject
* obj0
= 0 ;
20587 PyObject
* obj1
= 0 ;
20588 char *kwnames
[] = {
20589 (char *) "self",(char *) "win", NULL
20592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetTopWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
20593 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20594 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20595 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
20596 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20599 (arg1
)->SetTopWindow(arg2
);
20601 wxPyEndAllowThreads(__tstate
);
20602 if (PyErr_Occurred()) SWIG_fail
;
20604 Py_INCREF(Py_None
); resultobj
= Py_None
;
20611 static PyObject
*_wrap_PyApp_GetTopWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20612 PyObject
*resultobj
;
20613 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20615 PyObject
* obj0
= 0 ;
20616 char *kwnames
[] = {
20617 (char *) "self", NULL
20620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTopWindow",kwnames
,&obj0
)) goto fail
;
20621 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20622 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20625 result
= (wxWindow
*)((wxPyApp
const *)arg1
)->GetTopWindow();
20627 wxPyEndAllowThreads(__tstate
);
20628 if (PyErr_Occurred()) SWIG_fail
;
20631 resultobj
= wxPyMake_wxObject(result
, 0);
20639 static PyObject
*_wrap_PyApp_SetExitOnFrameDelete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20640 PyObject
*resultobj
;
20641 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20643 PyObject
* obj0
= 0 ;
20644 PyObject
* obj1
= 0 ;
20645 char *kwnames
[] = {
20646 (char *) "self",(char *) "flag", NULL
20649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetExitOnFrameDelete",kwnames
,&obj0
,&obj1
)) goto fail
;
20650 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20651 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20652 arg2
= (bool)SWIG_As_bool(obj1
);
20653 if (PyErr_Occurred()) SWIG_fail
;
20655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20656 (arg1
)->SetExitOnFrameDelete(arg2
);
20658 wxPyEndAllowThreads(__tstate
);
20659 if (PyErr_Occurred()) SWIG_fail
;
20661 Py_INCREF(Py_None
); resultobj
= Py_None
;
20668 static PyObject
*_wrap_PyApp_GetExitOnFrameDelete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20669 PyObject
*resultobj
;
20670 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20672 PyObject
* obj0
= 0 ;
20673 char *kwnames
[] = {
20674 (char *) "self", NULL
20677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetExitOnFrameDelete",kwnames
,&obj0
)) goto fail
;
20678 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20679 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20682 result
= (bool)((wxPyApp
const *)arg1
)->GetExitOnFrameDelete();
20684 wxPyEndAllowThreads(__tstate
);
20685 if (PyErr_Occurred()) SWIG_fail
;
20688 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20696 static PyObject
*_wrap_PyApp_SetUseBestVisual(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20697 PyObject
*resultobj
;
20698 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20700 PyObject
* obj0
= 0 ;
20701 PyObject
* obj1
= 0 ;
20702 char *kwnames
[] = {
20703 (char *) "self",(char *) "flag", NULL
20706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetUseBestVisual",kwnames
,&obj0
,&obj1
)) goto fail
;
20707 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20708 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20709 arg2
= (bool)SWIG_As_bool(obj1
);
20710 if (PyErr_Occurred()) SWIG_fail
;
20712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20713 (arg1
)->SetUseBestVisual(arg2
);
20715 wxPyEndAllowThreads(__tstate
);
20716 if (PyErr_Occurred()) SWIG_fail
;
20718 Py_INCREF(Py_None
); resultobj
= Py_None
;
20725 static PyObject
*_wrap_PyApp_GetUseBestVisual(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20726 PyObject
*resultobj
;
20727 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20729 PyObject
* obj0
= 0 ;
20730 char *kwnames
[] = {
20731 (char *) "self", NULL
20734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetUseBestVisual",kwnames
,&obj0
)) goto fail
;
20735 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20739 result
= (bool)((wxPyApp
const *)arg1
)->GetUseBestVisual();
20741 wxPyEndAllowThreads(__tstate
);
20742 if (PyErr_Occurred()) SWIG_fail
;
20745 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20753 static PyObject
*_wrap_PyApp_SetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20754 PyObject
*resultobj
;
20755 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20757 PyObject
* obj0
= 0 ;
20758 PyObject
* obj1
= 0 ;
20759 char *kwnames
[] = {
20760 (char *) "self",(char *) "mode", NULL
20763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetPrintMode",kwnames
,&obj0
,&obj1
)) goto fail
;
20764 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20765 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20766 arg2
= (int)SWIG_As_int(obj1
);
20767 if (PyErr_Occurred()) SWIG_fail
;
20769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20770 (arg1
)->SetPrintMode(arg2
);
20772 wxPyEndAllowThreads(__tstate
);
20773 if (PyErr_Occurred()) SWIG_fail
;
20775 Py_INCREF(Py_None
); resultobj
= Py_None
;
20782 static PyObject
*_wrap_PyApp_GetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20783 PyObject
*resultobj
;
20784 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20786 PyObject
* obj0
= 0 ;
20787 char *kwnames
[] = {
20788 (char *) "self", NULL
20791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetPrintMode",kwnames
,&obj0
)) goto fail
;
20792 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20793 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20796 result
= (int)((wxPyApp
const *)arg1
)->GetPrintMode();
20798 wxPyEndAllowThreads(__tstate
);
20799 if (PyErr_Occurred()) SWIG_fail
;
20801 resultobj
= SWIG_From_int((int)result
);
20808 static PyObject
*_wrap_PyApp_SetAssertMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20809 PyObject
*resultobj
;
20810 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20812 PyObject
* obj0
= 0 ;
20813 PyObject
* obj1
= 0 ;
20814 char *kwnames
[] = {
20815 (char *) "self",(char *) "mode", NULL
20818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAssertMode",kwnames
,&obj0
,&obj1
)) goto fail
;
20819 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20820 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20821 arg2
= (int)SWIG_As_int(obj1
);
20822 if (PyErr_Occurred()) SWIG_fail
;
20824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20825 (arg1
)->SetAssertMode(arg2
);
20827 wxPyEndAllowThreads(__tstate
);
20828 if (PyErr_Occurred()) SWIG_fail
;
20830 Py_INCREF(Py_None
); resultobj
= Py_None
;
20837 static PyObject
*_wrap_PyApp_GetAssertMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20838 PyObject
*resultobj
;
20839 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20841 PyObject
* obj0
= 0 ;
20842 char *kwnames
[] = {
20843 (char *) "self", NULL
20846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAssertMode",kwnames
,&obj0
)) goto fail
;
20847 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20848 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20851 result
= (int)(arg1
)->GetAssertMode();
20853 wxPyEndAllowThreads(__tstate
);
20854 if (PyErr_Occurred()) SWIG_fail
;
20856 resultobj
= SWIG_From_int((int)result
);
20863 static PyObject
*_wrap_PyApp_GetMacSupportPCMenuShortcuts(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20864 PyObject
*resultobj
;
20866 char *kwnames
[] = {
20870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacSupportPCMenuShortcuts",kwnames
)) goto fail
;
20872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20873 result
= (bool)wxPyApp::GetMacSupportPCMenuShortcuts();
20875 wxPyEndAllowThreads(__tstate
);
20876 if (PyErr_Occurred()) SWIG_fail
;
20879 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20887 static PyObject
*_wrap_PyApp_GetMacAboutMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20888 PyObject
*resultobj
;
20890 char *kwnames
[] = {
20894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacAboutMenuItemId",kwnames
)) goto fail
;
20896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20897 result
= (long)wxPyApp::GetMacAboutMenuItemId();
20899 wxPyEndAllowThreads(__tstate
);
20900 if (PyErr_Occurred()) SWIG_fail
;
20902 resultobj
= SWIG_From_long((long)result
);
20909 static PyObject
*_wrap_PyApp_GetMacPreferencesMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20910 PyObject
*resultobj
;
20912 char *kwnames
[] = {
20916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacPreferencesMenuItemId",kwnames
)) goto fail
;
20918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20919 result
= (long)wxPyApp::GetMacPreferencesMenuItemId();
20921 wxPyEndAllowThreads(__tstate
);
20922 if (PyErr_Occurred()) SWIG_fail
;
20924 resultobj
= SWIG_From_long((long)result
);
20931 static PyObject
*_wrap_PyApp_GetMacExitMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20932 PyObject
*resultobj
;
20934 char *kwnames
[] = {
20938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacExitMenuItemId",kwnames
)) goto fail
;
20940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20941 result
= (long)wxPyApp::GetMacExitMenuItemId();
20943 wxPyEndAllowThreads(__tstate
);
20944 if (PyErr_Occurred()) SWIG_fail
;
20946 resultobj
= SWIG_From_long((long)result
);
20953 static PyObject
*_wrap_PyApp_GetMacHelpMenuTitleName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20954 PyObject
*resultobj
;
20956 char *kwnames
[] = {
20960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacHelpMenuTitleName",kwnames
)) goto fail
;
20962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20963 result
= wxPyApp::GetMacHelpMenuTitleName();
20965 wxPyEndAllowThreads(__tstate
);
20966 if (PyErr_Occurred()) SWIG_fail
;
20970 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20972 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20981 static PyObject
*_wrap_PyApp_SetMacSupportPCMenuShortcuts(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20982 PyObject
*resultobj
;
20984 PyObject
* obj0
= 0 ;
20985 char *kwnames
[] = {
20986 (char *) "val", NULL
20989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacSupportPCMenuShortcuts",kwnames
,&obj0
)) goto fail
;
20990 arg1
= (bool)SWIG_As_bool(obj0
);
20991 if (PyErr_Occurred()) SWIG_fail
;
20993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20994 wxPyApp::SetMacSupportPCMenuShortcuts(arg1
);
20996 wxPyEndAllowThreads(__tstate
);
20997 if (PyErr_Occurred()) SWIG_fail
;
20999 Py_INCREF(Py_None
); resultobj
= Py_None
;
21006 static PyObject
*_wrap_PyApp_SetMacAboutMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21007 PyObject
*resultobj
;
21009 PyObject
* obj0
= 0 ;
21010 char *kwnames
[] = {
21011 (char *) "val", NULL
21014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacAboutMenuItemId",kwnames
,&obj0
)) goto fail
;
21015 arg1
= (long)SWIG_As_long(obj0
);
21016 if (PyErr_Occurred()) SWIG_fail
;
21018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21019 wxPyApp::SetMacAboutMenuItemId(arg1
);
21021 wxPyEndAllowThreads(__tstate
);
21022 if (PyErr_Occurred()) SWIG_fail
;
21024 Py_INCREF(Py_None
); resultobj
= Py_None
;
21031 static PyObject
*_wrap_PyApp_SetMacPreferencesMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21032 PyObject
*resultobj
;
21034 PyObject
* obj0
= 0 ;
21035 char *kwnames
[] = {
21036 (char *) "val", NULL
21039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacPreferencesMenuItemId",kwnames
,&obj0
)) goto fail
;
21040 arg1
= (long)SWIG_As_long(obj0
);
21041 if (PyErr_Occurred()) SWIG_fail
;
21043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21044 wxPyApp::SetMacPreferencesMenuItemId(arg1
);
21046 wxPyEndAllowThreads(__tstate
);
21047 if (PyErr_Occurred()) SWIG_fail
;
21049 Py_INCREF(Py_None
); resultobj
= Py_None
;
21056 static PyObject
*_wrap_PyApp_SetMacExitMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21057 PyObject
*resultobj
;
21059 PyObject
* obj0
= 0 ;
21060 char *kwnames
[] = {
21061 (char *) "val", NULL
21064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacExitMenuItemId",kwnames
,&obj0
)) goto fail
;
21065 arg1
= (long)SWIG_As_long(obj0
);
21066 if (PyErr_Occurred()) SWIG_fail
;
21068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21069 wxPyApp::SetMacExitMenuItemId(arg1
);
21071 wxPyEndAllowThreads(__tstate
);
21072 if (PyErr_Occurred()) SWIG_fail
;
21074 Py_INCREF(Py_None
); resultobj
= Py_None
;
21081 static PyObject
*_wrap_PyApp_SetMacHelpMenuTitleName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21082 PyObject
*resultobj
;
21083 wxString
*arg1
= 0 ;
21084 bool temp1
= false ;
21085 PyObject
* obj0
= 0 ;
21086 char *kwnames
[] = {
21087 (char *) "val", NULL
21090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacHelpMenuTitleName",kwnames
,&obj0
)) goto fail
;
21092 arg1
= wxString_in_helper(obj0
);
21093 if (arg1
== NULL
) SWIG_fail
;
21097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21098 wxPyApp::SetMacHelpMenuTitleName((wxString
const &)*arg1
);
21100 wxPyEndAllowThreads(__tstate
);
21101 if (PyErr_Occurred()) SWIG_fail
;
21103 Py_INCREF(Py_None
); resultobj
= Py_None
;
21118 static PyObject
*_wrap_PyApp__BootstrapApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21119 PyObject
*resultobj
;
21120 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
21121 PyObject
* obj0
= 0 ;
21122 char *kwnames
[] = {
21123 (char *) "self", NULL
21126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp__BootstrapApp",kwnames
,&obj0
)) goto fail
;
21127 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
21128 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21131 (arg1
)->_BootstrapApp();
21133 wxPyEndAllowThreads(__tstate
);
21134 if (PyErr_Occurred()) SWIG_fail
;
21136 Py_INCREF(Py_None
); resultobj
= Py_None
;
21143 static PyObject
*_wrap_PyApp_GetComCtl32Version(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21144 PyObject
*resultobj
;
21146 char *kwnames
[] = {
21150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetComCtl32Version",kwnames
)) goto fail
;
21152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21153 result
= (int)wxPyApp::GetComCtl32Version();
21155 wxPyEndAllowThreads(__tstate
);
21156 if (PyErr_Occurred()) SWIG_fail
;
21158 resultobj
= SWIG_From_int((int)result
);
21165 static PyObject
* PyApp_swigregister(PyObject
*, PyObject
*args
) {
21167 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21168 SWIG_TypeClientData(SWIGTYPE_p_wxPyApp
, obj
);
21170 return Py_BuildValue((char *)"");
21172 static PyObject
*_wrap_Exit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21173 PyObject
*resultobj
;
21174 char *kwnames
[] = {
21178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Exit",kwnames
)) goto fail
;
21180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21183 wxPyEndAllowThreads(__tstate
);
21184 if (PyErr_Occurred()) SWIG_fail
;
21186 Py_INCREF(Py_None
); resultobj
= Py_None
;
21193 static PyObject
*_wrap_Yield(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21194 PyObject
*resultobj
;
21196 char *kwnames
[] = {
21200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Yield",kwnames
)) goto fail
;
21202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21203 result
= (bool)wxYield();
21205 wxPyEndAllowThreads(__tstate
);
21206 if (PyErr_Occurred()) SWIG_fail
;
21209 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21217 static PyObject
*_wrap_YieldIfNeeded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21218 PyObject
*resultobj
;
21220 char *kwnames
[] = {
21224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":YieldIfNeeded",kwnames
)) goto fail
;
21226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21227 result
= (bool)wxYieldIfNeeded();
21229 wxPyEndAllowThreads(__tstate
);
21230 if (PyErr_Occurred()) SWIG_fail
;
21233 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21241 static PyObject
*_wrap_SafeYield(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21242 PyObject
*resultobj
;
21243 wxWindow
*arg1
= (wxWindow
*) NULL
;
21244 bool arg2
= (bool) false ;
21246 PyObject
* obj0
= 0 ;
21247 PyObject
* obj1
= 0 ;
21248 char *kwnames
[] = {
21249 (char *) "win",(char *) "onlyIfNeeded", NULL
21252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:SafeYield",kwnames
,&obj0
,&obj1
)) goto fail
;
21254 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21255 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21258 arg2
= (bool)SWIG_As_bool(obj1
);
21259 if (PyErr_Occurred()) SWIG_fail
;
21262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21263 result
= (bool)wxSafeYield(arg1
,arg2
);
21265 wxPyEndAllowThreads(__tstate
);
21266 if (PyErr_Occurred()) SWIG_fail
;
21269 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21277 static PyObject
*_wrap_WakeUpIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21278 PyObject
*resultobj
;
21279 char *kwnames
[] = {
21283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpIdle",kwnames
)) goto fail
;
21285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21288 wxPyEndAllowThreads(__tstate
);
21289 if (PyErr_Occurred()) SWIG_fail
;
21291 Py_INCREF(Py_None
); resultobj
= Py_None
;
21298 static PyObject
*_wrap_PostEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21299 PyObject
*resultobj
;
21300 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
21301 wxEvent
*arg2
= 0 ;
21302 PyObject
* obj0
= 0 ;
21303 PyObject
* obj1
= 0 ;
21304 char *kwnames
[] = {
21305 (char *) "dest",(char *) "event", NULL
21308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
21309 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
21310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21311 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvent
,
21312 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21314 if (arg2
== NULL
) {
21315 PyErr_SetString(PyExc_TypeError
,"null reference");
21319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21320 wxPostEvent(arg1
,*arg2
);
21322 wxPyEndAllowThreads(__tstate
);
21323 if (PyErr_Occurred()) SWIG_fail
;
21325 Py_INCREF(Py_None
); resultobj
= Py_None
;
21332 static PyObject
*_wrap_App_CleanUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21333 PyObject
*resultobj
;
21334 char *kwnames
[] = {
21338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":App_CleanUp",kwnames
)) goto fail
;
21340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21343 wxPyEndAllowThreads(__tstate
);
21344 if (PyErr_Occurred()) SWIG_fail
;
21346 Py_INCREF(Py_None
); resultobj
= Py_None
;
21353 static PyObject
*_wrap_GetApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21354 PyObject
*resultobj
;
21356 char *kwnames
[] = {
21360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetApp",kwnames
)) goto fail
;
21362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21363 result
= (wxPyApp
*)wxPyGetApp();
21365 wxPyEndAllowThreads(__tstate
);
21366 if (PyErr_Occurred()) SWIG_fail
;
21369 resultobj
= wxPyMake_wxObject(result
, 0);
21377 static PyObject
*_wrap_new_EventLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21378 PyObject
*resultobj
;
21379 wxEventLoop
*result
;
21380 char *kwnames
[] = {
21384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EventLoop",kwnames
)) goto fail
;
21386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21387 result
= (wxEventLoop
*)new wxEventLoop();
21389 wxPyEndAllowThreads(__tstate
);
21390 if (PyErr_Occurred()) SWIG_fail
;
21392 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEventLoop
, 1);
21399 static PyObject
*_wrap_delete_EventLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21400 PyObject
*resultobj
;
21401 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
21402 PyObject
* obj0
= 0 ;
21403 char *kwnames
[] = {
21404 (char *) "self", NULL
21407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_EventLoop",kwnames
,&obj0
)) goto fail
;
21408 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEventLoop
,
21409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21414 wxPyEndAllowThreads(__tstate
);
21415 if (PyErr_Occurred()) SWIG_fail
;
21417 Py_INCREF(Py_None
); resultobj
= Py_None
;
21424 static PyObject
*_wrap_EventLoop_Run(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21425 PyObject
*resultobj
;
21426 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
21428 PyObject
* obj0
= 0 ;
21429 char *kwnames
[] = {
21430 (char *) "self", NULL
21433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_Run",kwnames
,&obj0
)) goto fail
;
21434 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEventLoop
,
21435 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21438 result
= (int)(arg1
)->Run();
21440 wxPyEndAllowThreads(__tstate
);
21441 if (PyErr_Occurred()) SWIG_fail
;
21443 resultobj
= SWIG_From_int((int)result
);
21450 static PyObject
*_wrap_EventLoop_Exit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21451 PyObject
*resultobj
;
21452 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
21453 int arg2
= (int) 0 ;
21454 PyObject
* obj0
= 0 ;
21455 PyObject
* obj1
= 0 ;
21456 char *kwnames
[] = {
21457 (char *) "self",(char *) "rc", NULL
21460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EventLoop_Exit",kwnames
,&obj0
,&obj1
)) goto fail
;
21461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEventLoop
,
21462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21464 arg2
= (int)SWIG_As_int(obj1
);
21465 if (PyErr_Occurred()) SWIG_fail
;
21468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21469 (arg1
)->Exit(arg2
);
21471 wxPyEndAllowThreads(__tstate
);
21472 if (PyErr_Occurred()) SWIG_fail
;
21474 Py_INCREF(Py_None
); resultobj
= Py_None
;
21481 static PyObject
*_wrap_EventLoop_Pending(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21482 PyObject
*resultobj
;
21483 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
21485 PyObject
* obj0
= 0 ;
21486 char *kwnames
[] = {
21487 (char *) "self", NULL
21490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_Pending",kwnames
,&obj0
)) goto fail
;
21491 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEventLoop
,
21492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21495 result
= (bool)((wxEventLoop
const *)arg1
)->Pending();
21497 wxPyEndAllowThreads(__tstate
);
21498 if (PyErr_Occurred()) SWIG_fail
;
21501 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21509 static PyObject
*_wrap_EventLoop_Dispatch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21510 PyObject
*resultobj
;
21511 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
21513 PyObject
* obj0
= 0 ;
21514 char *kwnames
[] = {
21515 (char *) "self", NULL
21518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_Dispatch",kwnames
,&obj0
)) goto fail
;
21519 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEventLoop
,
21520 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21523 result
= (bool)(arg1
)->Dispatch();
21525 wxPyEndAllowThreads(__tstate
);
21526 if (PyErr_Occurred()) SWIG_fail
;
21529 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21537 static PyObject
*_wrap_EventLoop_IsRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21538 PyObject
*resultobj
;
21539 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
21541 PyObject
* obj0
= 0 ;
21542 char *kwnames
[] = {
21543 (char *) "self", NULL
21546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_IsRunning",kwnames
,&obj0
)) goto fail
;
21547 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEventLoop
,
21548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21551 result
= (bool)((wxEventLoop
const *)arg1
)->IsRunning();
21553 wxPyEndAllowThreads(__tstate
);
21554 if (PyErr_Occurred()) SWIG_fail
;
21557 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21565 static PyObject
*_wrap_EventLoop_GetActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21566 PyObject
*resultobj
;
21567 wxEventLoop
*result
;
21568 char *kwnames
[] = {
21572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":EventLoop_GetActive",kwnames
)) goto fail
;
21574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21575 result
= (wxEventLoop
*)wxEventLoop::GetActive();
21577 wxPyEndAllowThreads(__tstate
);
21578 if (PyErr_Occurred()) SWIG_fail
;
21580 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEventLoop
, 0);
21587 static PyObject
*_wrap_EventLoop_SetActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21588 PyObject
*resultobj
;
21589 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
21590 PyObject
* obj0
= 0 ;
21591 char *kwnames
[] = {
21592 (char *) "loop", NULL
21595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_SetActive",kwnames
,&obj0
)) goto fail
;
21596 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEventLoop
,
21597 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21600 wxEventLoop::SetActive(arg1
);
21602 wxPyEndAllowThreads(__tstate
);
21603 if (PyErr_Occurred()) SWIG_fail
;
21605 Py_INCREF(Py_None
); resultobj
= Py_None
;
21612 static PyObject
* EventLoop_swigregister(PyObject
*, PyObject
*args
) {
21614 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21615 SWIG_TypeClientData(SWIGTYPE_p_wxEventLoop
, obj
);
21617 return Py_BuildValue((char *)"");
21619 static PyObject
*_wrap_new_AcceleratorEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21620 PyObject
*resultobj
;
21621 int arg1
= (int) 0 ;
21622 int arg2
= (int) 0 ;
21623 int arg3
= (int) 0 ;
21624 wxAcceleratorEntry
*result
;
21625 PyObject
* obj0
= 0 ;
21626 PyObject
* obj1
= 0 ;
21627 PyObject
* obj2
= 0 ;
21628 char *kwnames
[] = {
21629 (char *) "flags",(char *) "keyCode",(char *) "cmdID", NULL
21632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_AcceleratorEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21634 arg1
= (int)SWIG_As_int(obj0
);
21635 if (PyErr_Occurred()) SWIG_fail
;
21638 arg2
= (int)SWIG_As_int(obj1
);
21639 if (PyErr_Occurred()) SWIG_fail
;
21642 arg3
= (int)SWIG_As_int(obj2
);
21643 if (PyErr_Occurred()) SWIG_fail
;
21646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21647 result
= (wxAcceleratorEntry
*)new wxAcceleratorEntry(arg1
,arg2
,arg3
);
21649 wxPyEndAllowThreads(__tstate
);
21650 if (PyErr_Occurred()) SWIG_fail
;
21652 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 1);
21659 static PyObject
*_wrap_delete_AcceleratorEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21660 PyObject
*resultobj
;
21661 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
21662 PyObject
* obj0
= 0 ;
21663 char *kwnames
[] = {
21664 (char *) "self", NULL
21667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorEntry",kwnames
,&obj0
)) goto fail
;
21668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
21669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21674 wxPyEndAllowThreads(__tstate
);
21675 if (PyErr_Occurred()) SWIG_fail
;
21677 Py_INCREF(Py_None
); resultobj
= Py_None
;
21684 static PyObject
*_wrap_AcceleratorEntry_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21685 PyObject
*resultobj
;
21686 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
21690 PyObject
* obj0
= 0 ;
21691 PyObject
* obj1
= 0 ;
21692 PyObject
* obj2
= 0 ;
21693 PyObject
* obj3
= 0 ;
21694 char *kwnames
[] = {
21695 (char *) "self",(char *) "flags",(char *) "keyCode",(char *) "cmd", NULL
21698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AcceleratorEntry_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21699 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
21700 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21701 arg2
= (int)SWIG_As_int(obj1
);
21702 if (PyErr_Occurred()) SWIG_fail
;
21703 arg3
= (int)SWIG_As_int(obj2
);
21704 if (PyErr_Occurred()) SWIG_fail
;
21705 arg4
= (int)SWIG_As_int(obj3
);
21706 if (PyErr_Occurred()) SWIG_fail
;
21708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21709 (arg1
)->Set(arg2
,arg3
,arg4
);
21711 wxPyEndAllowThreads(__tstate
);
21712 if (PyErr_Occurred()) SWIG_fail
;
21714 Py_INCREF(Py_None
); resultobj
= Py_None
;
21721 static PyObject
*_wrap_AcceleratorEntry_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21722 PyObject
*resultobj
;
21723 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
21725 PyObject
* obj0
= 0 ;
21726 char *kwnames
[] = {
21727 (char *) "self", NULL
21730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetFlags",kwnames
,&obj0
)) goto fail
;
21731 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
21732 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21735 result
= (int)(arg1
)->GetFlags();
21737 wxPyEndAllowThreads(__tstate
);
21738 if (PyErr_Occurred()) SWIG_fail
;
21740 resultobj
= SWIG_From_int((int)result
);
21747 static PyObject
*_wrap_AcceleratorEntry_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21748 PyObject
*resultobj
;
21749 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
21751 PyObject
* obj0
= 0 ;
21752 char *kwnames
[] = {
21753 (char *) "self", NULL
21756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetKeyCode",kwnames
,&obj0
)) goto fail
;
21757 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
21758 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21761 result
= (int)(arg1
)->GetKeyCode();
21763 wxPyEndAllowThreads(__tstate
);
21764 if (PyErr_Occurred()) SWIG_fail
;
21766 resultobj
= SWIG_From_int((int)result
);
21773 static PyObject
*_wrap_AcceleratorEntry_GetCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21774 PyObject
*resultobj
;
21775 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
21777 PyObject
* obj0
= 0 ;
21778 char *kwnames
[] = {
21779 (char *) "self", NULL
21782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetCommand",kwnames
,&obj0
)) goto fail
;
21783 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
21784 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21787 result
= (int)(arg1
)->GetCommand();
21789 wxPyEndAllowThreads(__tstate
);
21790 if (PyErr_Occurred()) SWIG_fail
;
21792 resultobj
= SWIG_From_int((int)result
);
21799 static PyObject
* AcceleratorEntry_swigregister(PyObject
*, PyObject
*args
) {
21801 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21802 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorEntry
, obj
);
21804 return Py_BuildValue((char *)"");
21806 static PyObject
*_wrap_new_AcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21807 PyObject
*resultobj
;
21809 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
21810 wxAcceleratorTable
*result
;
21811 PyObject
* obj0
= 0 ;
21812 char *kwnames
[] = {
21816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
21818 arg2
= wxAcceleratorEntry_LIST_helper(obj0
);
21819 if (arg2
) arg1
= PyList_Size(obj0
);
21823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21824 result
= (wxAcceleratorTable
*)new wxAcceleratorTable(arg1
,(wxAcceleratorEntry
const *)arg2
);
21826 wxPyEndAllowThreads(__tstate
);
21827 if (PyErr_Occurred()) SWIG_fail
;
21829 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorTable
, 1);
21842 static PyObject
*_wrap_delete_AcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21843 PyObject
*resultobj
;
21844 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
21845 PyObject
* obj0
= 0 ;
21846 char *kwnames
[] = {
21847 (char *) "self", NULL
21850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
21851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorTable
,
21852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21857 wxPyEndAllowThreads(__tstate
);
21858 if (PyErr_Occurred()) SWIG_fail
;
21860 Py_INCREF(Py_None
); resultobj
= Py_None
;
21867 static PyObject
*_wrap_AcceleratorTable_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21868 PyObject
*resultobj
;
21869 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
21871 PyObject
* obj0
= 0 ;
21872 char *kwnames
[] = {
21873 (char *) "self", NULL
21876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorTable_Ok",kwnames
,&obj0
)) goto fail
;
21877 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorTable
,
21878 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21881 result
= (bool)((wxAcceleratorTable
const *)arg1
)->Ok();
21883 wxPyEndAllowThreads(__tstate
);
21884 if (PyErr_Occurred()) SWIG_fail
;
21887 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21895 static PyObject
* AcceleratorTable_swigregister(PyObject
*, PyObject
*args
) {
21897 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21898 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorTable
, obj
);
21900 return Py_BuildValue((char *)"");
21902 static int _wrap_NullAcceleratorTable_set(PyObject
*) {
21903 PyErr_SetString(PyExc_TypeError
,"Variable NullAcceleratorTable is read-only.");
21908 static PyObject
*_wrap_NullAcceleratorTable_get() {
21911 pyobj
= SWIG_NewPointerObj((void *)(&wxNullAcceleratorTable
), SWIGTYPE_p_wxAcceleratorTable
, 0);
21916 static PyObject
*_wrap_GetAccelFromString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21917 PyObject
*resultobj
;
21918 wxString
*arg1
= 0 ;
21919 wxAcceleratorEntry
*result
;
21920 bool temp1
= false ;
21921 PyObject
* obj0
= 0 ;
21922 char *kwnames
[] = {
21923 (char *) "label", NULL
21926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetAccelFromString",kwnames
,&obj0
)) goto fail
;
21928 arg1
= wxString_in_helper(obj0
);
21929 if (arg1
== NULL
) SWIG_fail
;
21933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21934 result
= (wxAcceleratorEntry
*)wxGetAccelFromString((wxString
const &)*arg1
);
21936 wxPyEndAllowThreads(__tstate
);
21937 if (PyErr_Occurred()) SWIG_fail
;
21939 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0);
21954 static int _wrap_PanelNameStr_set(PyObject
*) {
21955 PyErr_SetString(PyExc_TypeError
,"Variable PanelNameStr is read-only.");
21960 static PyObject
*_wrap_PanelNameStr_get() {
21965 pyobj
= PyUnicode_FromWideChar((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
21967 pyobj
= PyString_FromStringAndSize((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
21974 static PyObject
*_wrap_new_VisualAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21975 PyObject
*resultobj
;
21976 wxVisualAttributes
*result
;
21977 char *kwnames
[] = {
21981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_VisualAttributes",kwnames
)) goto fail
;
21983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21984 result
= (wxVisualAttributes
*)new_wxVisualAttributes();
21986 wxPyEndAllowThreads(__tstate
);
21987 if (PyErr_Occurred()) SWIG_fail
;
21989 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxVisualAttributes
, 1);
21996 static PyObject
*_wrap_delete_VisualAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21997 PyObject
*resultobj
;
21998 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21999 PyObject
* obj0
= 0 ;
22000 char *kwnames
[] = {
22001 (char *) "self", NULL
22004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_VisualAttributes",kwnames
,&obj0
)) goto fail
;
22005 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
22006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22009 delete_wxVisualAttributes(arg1
);
22011 wxPyEndAllowThreads(__tstate
);
22012 if (PyErr_Occurred()) SWIG_fail
;
22014 Py_INCREF(Py_None
); resultobj
= Py_None
;
22021 static PyObject
*_wrap_VisualAttributes_font_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22022 PyObject
*resultobj
;
22023 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
22024 wxFont
*arg2
= (wxFont
*) 0 ;
22025 PyObject
* obj0
= 0 ;
22026 PyObject
* obj1
= 0 ;
22027 char *kwnames
[] = {
22028 (char *) "self",(char *) "font", NULL
22031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_font_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22032 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
22033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22034 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
22035 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22036 if (arg1
) (arg1
)->font
= *arg2
;
22038 Py_INCREF(Py_None
); resultobj
= Py_None
;
22045 static PyObject
*_wrap_VisualAttributes_font_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22046 PyObject
*resultobj
;
22047 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
22049 PyObject
* obj0
= 0 ;
22050 char *kwnames
[] = {
22051 (char *) "self", NULL
22054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_font_get",kwnames
,&obj0
)) goto fail
;
22055 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
22056 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22057 result
= (wxFont
*)& ((arg1
)->font
);
22059 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 0);
22066 static PyObject
*_wrap_VisualAttributes_colFg_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22067 PyObject
*resultobj
;
22068 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
22069 wxColour
*arg2
= (wxColour
*) 0 ;
22070 PyObject
* obj0
= 0 ;
22071 PyObject
* obj1
= 0 ;
22072 char *kwnames
[] = {
22073 (char *) "self",(char *) "colFg", NULL
22076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_colFg_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22077 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
22078 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22079 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxColour
,
22080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22081 if (arg1
) (arg1
)->colFg
= *arg2
;
22083 Py_INCREF(Py_None
); resultobj
= Py_None
;
22090 static PyObject
*_wrap_VisualAttributes_colFg_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22091 PyObject
*resultobj
;
22092 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
22094 PyObject
* obj0
= 0 ;
22095 char *kwnames
[] = {
22096 (char *) "self", NULL
22099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_colFg_get",kwnames
,&obj0
)) goto fail
;
22100 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
22101 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22102 result
= (wxColour
*)& ((arg1
)->colFg
);
22104 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
22111 static PyObject
*_wrap_VisualAttributes_colBg_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22112 PyObject
*resultobj
;
22113 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
22114 wxColour
*arg2
= (wxColour
*) 0 ;
22115 PyObject
* obj0
= 0 ;
22116 PyObject
* obj1
= 0 ;
22117 char *kwnames
[] = {
22118 (char *) "self",(char *) "colBg", NULL
22121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_colBg_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
22123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22124 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxColour
,
22125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22126 if (arg1
) (arg1
)->colBg
= *arg2
;
22128 Py_INCREF(Py_None
); resultobj
= Py_None
;
22135 static PyObject
*_wrap_VisualAttributes_colBg_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22136 PyObject
*resultobj
;
22137 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
22139 PyObject
* obj0
= 0 ;
22140 char *kwnames
[] = {
22141 (char *) "self", NULL
22144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_colBg_get",kwnames
,&obj0
)) goto fail
;
22145 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
22146 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22147 result
= (wxColour
*)& ((arg1
)->colBg
);
22149 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
22156 static PyObject
* VisualAttributes_swigregister(PyObject
*, PyObject
*args
) {
22158 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22159 SWIG_TypeClientData(SWIGTYPE_p_wxVisualAttributes
, obj
);
22161 return Py_BuildValue((char *)"");
22163 static PyObject
*_wrap_new_Window(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22164 PyObject
*resultobj
;
22165 wxWindow
*arg1
= (wxWindow
*) 0 ;
22166 int arg2
= (int) (int)-1 ;
22167 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22168 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22169 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22170 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22171 long arg5
= (long) 0 ;
22172 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
22173 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
22177 bool temp6
= false ;
22178 PyObject
* obj0
= 0 ;
22179 PyObject
* obj1
= 0 ;
22180 PyObject
* obj2
= 0 ;
22181 PyObject
* obj3
= 0 ;
22182 PyObject
* obj4
= 0 ;
22183 PyObject
* obj5
= 0 ;
22184 char *kwnames
[] = {
22185 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Window",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
22189 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22190 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22192 arg2
= (int)SWIG_As_int(obj1
);
22193 if (PyErr_Occurred()) SWIG_fail
;
22198 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22204 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22208 arg5
= (long)SWIG_As_long(obj4
);
22209 if (PyErr_Occurred()) SWIG_fail
;
22213 arg6
= wxString_in_helper(obj5
);
22214 if (arg6
== NULL
) SWIG_fail
;
22219 if (!wxPyCheckForApp()) SWIG_fail
;
22220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22221 result
= (wxWindow
*)new wxWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
22223 wxPyEndAllowThreads(__tstate
);
22224 if (PyErr_Occurred()) SWIG_fail
;
22226 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindow
, 1);
22241 static PyObject
*_wrap_new_PreWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22242 PyObject
*resultobj
;
22244 char *kwnames
[] = {
22248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreWindow",kwnames
)) goto fail
;
22250 if (!wxPyCheckForApp()) SWIG_fail
;
22251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22252 result
= (wxWindow
*)new wxWindow();
22254 wxPyEndAllowThreads(__tstate
);
22255 if (PyErr_Occurred()) SWIG_fail
;
22257 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindow
, 1);
22264 static PyObject
*_wrap_Window_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22265 PyObject
*resultobj
;
22266 wxWindow
*arg1
= (wxWindow
*) 0 ;
22267 wxWindow
*arg2
= (wxWindow
*) 0 ;
22268 int arg3
= (int) (int)-1 ;
22269 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22270 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22271 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22272 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22273 long arg6
= (long) 0 ;
22274 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
22275 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22279 bool temp7
= false ;
22280 PyObject
* obj0
= 0 ;
22281 PyObject
* obj1
= 0 ;
22282 PyObject
* obj2
= 0 ;
22283 PyObject
* obj3
= 0 ;
22284 PyObject
* obj4
= 0 ;
22285 PyObject
* obj5
= 0 ;
22286 PyObject
* obj6
= 0 ;
22287 char *kwnames
[] = {
22288 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Window_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
22292 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22294 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
22295 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22297 arg3
= (int)SWIG_As_int(obj2
);
22298 if (PyErr_Occurred()) SWIG_fail
;
22303 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22309 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22313 arg6
= (long)SWIG_As_long(obj5
);
22314 if (PyErr_Occurred()) SWIG_fail
;
22318 arg7
= wxString_in_helper(obj6
);
22319 if (arg7
== NULL
) SWIG_fail
;
22324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22325 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
22327 wxPyEndAllowThreads(__tstate
);
22328 if (PyErr_Occurred()) SWIG_fail
;
22331 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22347 static PyObject
*_wrap_Window_Close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22348 PyObject
*resultobj
;
22349 wxWindow
*arg1
= (wxWindow
*) 0 ;
22350 bool arg2
= (bool) false ;
22352 PyObject
* obj0
= 0 ;
22353 PyObject
* obj1
= 0 ;
22354 char *kwnames
[] = {
22355 (char *) "self",(char *) "force", NULL
22358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Close",kwnames
,&obj0
,&obj1
)) goto fail
;
22359 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22362 arg2
= (bool)SWIG_As_bool(obj1
);
22363 if (PyErr_Occurred()) SWIG_fail
;
22366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22367 result
= (bool)(arg1
)->Close(arg2
);
22369 wxPyEndAllowThreads(__tstate
);
22370 if (PyErr_Occurred()) SWIG_fail
;
22373 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22381 static PyObject
*_wrap_Window_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22382 PyObject
*resultobj
;
22383 wxWindow
*arg1
= (wxWindow
*) 0 ;
22385 PyObject
* obj0
= 0 ;
22386 char *kwnames
[] = {
22387 (char *) "self", NULL
22390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Destroy",kwnames
,&obj0
)) goto fail
;
22391 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22395 result
= (bool)(arg1
)->Destroy();
22397 wxPyEndAllowThreads(__tstate
);
22398 if (PyErr_Occurred()) SWIG_fail
;
22401 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22409 static PyObject
*_wrap_Window_DestroyChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22410 PyObject
*resultobj
;
22411 wxWindow
*arg1
= (wxWindow
*) 0 ;
22413 PyObject
* obj0
= 0 ;
22414 char *kwnames
[] = {
22415 (char *) "self", NULL
22418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_DestroyChildren",kwnames
,&obj0
)) goto fail
;
22419 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22420 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22423 result
= (bool)(arg1
)->DestroyChildren();
22425 wxPyEndAllowThreads(__tstate
);
22426 if (PyErr_Occurred()) SWIG_fail
;
22429 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22437 static PyObject
*_wrap_Window_IsBeingDeleted(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22438 PyObject
*resultobj
;
22439 wxWindow
*arg1
= (wxWindow
*) 0 ;
22441 PyObject
* obj0
= 0 ;
22442 char *kwnames
[] = {
22443 (char *) "self", NULL
22446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsBeingDeleted",kwnames
,&obj0
)) goto fail
;
22447 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22448 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22451 result
= (bool)((wxWindow
const *)arg1
)->IsBeingDeleted();
22453 wxPyEndAllowThreads(__tstate
);
22454 if (PyErr_Occurred()) SWIG_fail
;
22457 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22465 static PyObject
*_wrap_Window_SetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22466 PyObject
*resultobj
;
22467 wxWindow
*arg1
= (wxWindow
*) 0 ;
22468 wxString
*arg2
= 0 ;
22469 bool temp2
= false ;
22470 PyObject
* obj0
= 0 ;
22471 PyObject
* obj1
= 0 ;
22472 char *kwnames
[] = {
22473 (char *) "self",(char *) "title", NULL
22476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
22477 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22478 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22480 arg2
= wxString_in_helper(obj1
);
22481 if (arg2
== NULL
) SWIG_fail
;
22485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22486 (arg1
)->SetTitle((wxString
const &)*arg2
);
22488 wxPyEndAllowThreads(__tstate
);
22489 if (PyErr_Occurred()) SWIG_fail
;
22491 Py_INCREF(Py_None
); resultobj
= Py_None
;
22506 static PyObject
*_wrap_Window_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22507 PyObject
*resultobj
;
22508 wxWindow
*arg1
= (wxWindow
*) 0 ;
22510 PyObject
* obj0
= 0 ;
22511 char *kwnames
[] = {
22512 (char *) "self", NULL
22515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetTitle",kwnames
,&obj0
)) goto fail
;
22516 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22517 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22520 result
= ((wxWindow
const *)arg1
)->GetTitle();
22522 wxPyEndAllowThreads(__tstate
);
22523 if (PyErr_Occurred()) SWIG_fail
;
22527 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22529 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22538 static PyObject
*_wrap_Window_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22539 PyObject
*resultobj
;
22540 wxWindow
*arg1
= (wxWindow
*) 0 ;
22541 wxString
*arg2
= 0 ;
22542 bool temp2
= false ;
22543 PyObject
* obj0
= 0 ;
22544 PyObject
* obj1
= 0 ;
22545 char *kwnames
[] = {
22546 (char *) "self",(char *) "label", NULL
22549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
22550 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22553 arg2
= wxString_in_helper(obj1
);
22554 if (arg2
== NULL
) SWIG_fail
;
22558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22559 (arg1
)->SetLabel((wxString
const &)*arg2
);
22561 wxPyEndAllowThreads(__tstate
);
22562 if (PyErr_Occurred()) SWIG_fail
;
22564 Py_INCREF(Py_None
); resultobj
= Py_None
;
22579 static PyObject
*_wrap_Window_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22580 PyObject
*resultobj
;
22581 wxWindow
*arg1
= (wxWindow
*) 0 ;
22583 PyObject
* obj0
= 0 ;
22584 char *kwnames
[] = {
22585 (char *) "self", NULL
22588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetLabel",kwnames
,&obj0
)) goto fail
;
22589 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22593 result
= ((wxWindow
const *)arg1
)->GetLabel();
22595 wxPyEndAllowThreads(__tstate
);
22596 if (PyErr_Occurred()) SWIG_fail
;
22600 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22602 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22611 static PyObject
*_wrap_Window_SetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22612 PyObject
*resultobj
;
22613 wxWindow
*arg1
= (wxWindow
*) 0 ;
22614 wxString
*arg2
= 0 ;
22615 bool temp2
= false ;
22616 PyObject
* obj0
= 0 ;
22617 PyObject
* obj1
= 0 ;
22618 char *kwnames
[] = {
22619 (char *) "self",(char *) "name", NULL
22622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
22623 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22626 arg2
= wxString_in_helper(obj1
);
22627 if (arg2
== NULL
) SWIG_fail
;
22631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22632 (arg1
)->SetName((wxString
const &)*arg2
);
22634 wxPyEndAllowThreads(__tstate
);
22635 if (PyErr_Occurred()) SWIG_fail
;
22637 Py_INCREF(Py_None
); resultobj
= Py_None
;
22652 static PyObject
*_wrap_Window_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22653 PyObject
*resultobj
;
22654 wxWindow
*arg1
= (wxWindow
*) 0 ;
22656 PyObject
* obj0
= 0 ;
22657 char *kwnames
[] = {
22658 (char *) "self", NULL
22661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetName",kwnames
,&obj0
)) goto fail
;
22662 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22663 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22666 result
= ((wxWindow
const *)arg1
)->GetName();
22668 wxPyEndAllowThreads(__tstate
);
22669 if (PyErr_Occurred()) SWIG_fail
;
22673 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22675 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22684 static PyObject
*_wrap_Window_SetWindowVariant(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22685 PyObject
*resultobj
;
22686 wxWindow
*arg1
= (wxWindow
*) 0 ;
22688 PyObject
* obj0
= 0 ;
22689 PyObject
* obj1
= 0 ;
22690 char *kwnames
[] = {
22691 (char *) "self",(char *) "variant", NULL
22694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowVariant",kwnames
,&obj0
,&obj1
)) goto fail
;
22695 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22696 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22697 arg2
= (int)SWIG_As_int(obj1
);
22698 if (PyErr_Occurred()) SWIG_fail
;
22700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22701 (arg1
)->SetWindowVariant((wxWindowVariant
)arg2
);
22703 wxPyEndAllowThreads(__tstate
);
22704 if (PyErr_Occurred()) SWIG_fail
;
22706 Py_INCREF(Py_None
); resultobj
= Py_None
;
22713 static PyObject
*_wrap_Window_GetWindowVariant(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22714 PyObject
*resultobj
;
22715 wxWindow
*arg1
= (wxWindow
*) 0 ;
22717 PyObject
* obj0
= 0 ;
22718 char *kwnames
[] = {
22719 (char *) "self", NULL
22722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowVariant",kwnames
,&obj0
)) goto fail
;
22723 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22724 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22727 result
= (int)((wxWindow
const *)arg1
)->GetWindowVariant();
22729 wxPyEndAllowThreads(__tstate
);
22730 if (PyErr_Occurred()) SWIG_fail
;
22732 resultobj
= SWIG_From_int((int)result
);
22739 static PyObject
*_wrap_Window_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22740 PyObject
*resultobj
;
22741 wxWindow
*arg1
= (wxWindow
*) 0 ;
22743 PyObject
* obj0
= 0 ;
22744 PyObject
* obj1
= 0 ;
22745 char *kwnames
[] = {
22746 (char *) "self",(char *) "winid", NULL
22749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
22750 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22751 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22752 arg2
= (int)SWIG_As_int(obj1
);
22753 if (PyErr_Occurred()) SWIG_fail
;
22755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22756 (arg1
)->SetId(arg2
);
22758 wxPyEndAllowThreads(__tstate
);
22759 if (PyErr_Occurred()) SWIG_fail
;
22761 Py_INCREF(Py_None
); resultobj
= Py_None
;
22768 static PyObject
*_wrap_Window_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22769 PyObject
*resultobj
;
22770 wxWindow
*arg1
= (wxWindow
*) 0 ;
22772 PyObject
* obj0
= 0 ;
22773 char *kwnames
[] = {
22774 (char *) "self", NULL
22777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetId",kwnames
,&obj0
)) goto fail
;
22778 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22779 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22782 result
= (int)((wxWindow
const *)arg1
)->GetId();
22784 wxPyEndAllowThreads(__tstate
);
22785 if (PyErr_Occurred()) SWIG_fail
;
22787 resultobj
= SWIG_From_int((int)result
);
22794 static PyObject
*_wrap_Window_NewControlId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22795 PyObject
*resultobj
;
22797 char *kwnames
[] = {
22801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_NewControlId",kwnames
)) goto fail
;
22803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22804 result
= (int)wxWindow::NewControlId();
22806 wxPyEndAllowThreads(__tstate
);
22807 if (PyErr_Occurred()) SWIG_fail
;
22809 resultobj
= SWIG_From_int((int)result
);
22816 static PyObject
*_wrap_Window_NextControlId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22817 PyObject
*resultobj
;
22820 PyObject
* obj0
= 0 ;
22821 char *kwnames
[] = {
22822 (char *) "winid", NULL
22825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_NextControlId",kwnames
,&obj0
)) goto fail
;
22826 arg1
= (int)SWIG_As_int(obj0
);
22827 if (PyErr_Occurred()) SWIG_fail
;
22829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22830 result
= (int)wxWindow::NextControlId(arg1
);
22832 wxPyEndAllowThreads(__tstate
);
22833 if (PyErr_Occurred()) SWIG_fail
;
22835 resultobj
= SWIG_From_int((int)result
);
22842 static PyObject
*_wrap_Window_PrevControlId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22843 PyObject
*resultobj
;
22846 PyObject
* obj0
= 0 ;
22847 char *kwnames
[] = {
22848 (char *) "winid", NULL
22851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PrevControlId",kwnames
,&obj0
)) goto fail
;
22852 arg1
= (int)SWIG_As_int(obj0
);
22853 if (PyErr_Occurred()) SWIG_fail
;
22855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22856 result
= (int)wxWindow::PrevControlId(arg1
);
22858 wxPyEndAllowThreads(__tstate
);
22859 if (PyErr_Occurred()) SWIG_fail
;
22861 resultobj
= SWIG_From_int((int)result
);
22868 static PyObject
*_wrap_Window_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22869 PyObject
*resultobj
;
22870 wxWindow
*arg1
= (wxWindow
*) 0 ;
22873 PyObject
* obj0
= 0 ;
22874 PyObject
* obj1
= 0 ;
22875 char *kwnames
[] = {
22876 (char *) "self",(char *) "size", NULL
22879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
22880 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22881 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22884 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
22887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22888 (arg1
)->SetSize((wxSize
const &)*arg2
);
22890 wxPyEndAllowThreads(__tstate
);
22891 if (PyErr_Occurred()) SWIG_fail
;
22893 Py_INCREF(Py_None
); resultobj
= Py_None
;
22900 static PyObject
*_wrap_Window_SetDimensions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22901 PyObject
*resultobj
;
22902 wxWindow
*arg1
= (wxWindow
*) 0 ;
22907 int arg6
= (int) wxSIZE_AUTO
;
22908 PyObject
* obj0
= 0 ;
22909 PyObject
* obj1
= 0 ;
22910 PyObject
* obj2
= 0 ;
22911 PyObject
* obj3
= 0 ;
22912 PyObject
* obj4
= 0 ;
22913 PyObject
* obj5
= 0 ;
22914 char *kwnames
[] = {
22915 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
22918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetDimensions",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
22919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22921 arg2
= (int)SWIG_As_int(obj1
);
22922 if (PyErr_Occurred()) SWIG_fail
;
22923 arg3
= (int)SWIG_As_int(obj2
);
22924 if (PyErr_Occurred()) SWIG_fail
;
22925 arg4
= (int)SWIG_As_int(obj3
);
22926 if (PyErr_Occurred()) SWIG_fail
;
22927 arg5
= (int)SWIG_As_int(obj4
);
22928 if (PyErr_Occurred()) SWIG_fail
;
22930 arg6
= (int)SWIG_As_int(obj5
);
22931 if (PyErr_Occurred()) SWIG_fail
;
22934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22935 (arg1
)->SetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
22937 wxPyEndAllowThreads(__tstate
);
22938 if (PyErr_Occurred()) SWIG_fail
;
22940 Py_INCREF(Py_None
); resultobj
= Py_None
;
22947 static PyObject
*_wrap_Window_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22948 PyObject
*resultobj
;
22949 wxWindow
*arg1
= (wxWindow
*) 0 ;
22951 int arg3
= (int) wxSIZE_AUTO
;
22953 PyObject
* obj0
= 0 ;
22954 PyObject
* obj1
= 0 ;
22955 PyObject
* obj2
= 0 ;
22956 char *kwnames
[] = {
22957 (char *) "self",(char *) "rect",(char *) "sizeFlags", NULL
22960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22961 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22962 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22965 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
22968 arg3
= (int)SWIG_As_int(obj2
);
22969 if (PyErr_Occurred()) SWIG_fail
;
22972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22973 (arg1
)->SetSize((wxRect
const &)*arg2
,arg3
);
22975 wxPyEndAllowThreads(__tstate
);
22976 if (PyErr_Occurred()) SWIG_fail
;
22978 Py_INCREF(Py_None
); resultobj
= Py_None
;
22985 static PyObject
*_wrap_Window_SetSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22986 PyObject
*resultobj
;
22987 wxWindow
*arg1
= (wxWindow
*) 0 ;
22990 PyObject
* obj0
= 0 ;
22991 PyObject
* obj1
= 0 ;
22992 PyObject
* obj2
= 0 ;
22993 char *kwnames
[] = {
22994 (char *) "self",(char *) "width",(char *) "height", NULL
22997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22998 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22999 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23000 arg2
= (int)SWIG_As_int(obj1
);
23001 if (PyErr_Occurred()) SWIG_fail
;
23002 arg3
= (int)SWIG_As_int(obj2
);
23003 if (PyErr_Occurred()) SWIG_fail
;
23005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23006 (arg1
)->SetSize(arg2
,arg3
);
23008 wxPyEndAllowThreads(__tstate
);
23009 if (PyErr_Occurred()) SWIG_fail
;
23011 Py_INCREF(Py_None
); resultobj
= Py_None
;
23018 static PyObject
*_wrap_Window_Move(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23019 PyObject
*resultobj
;
23020 wxWindow
*arg1
= (wxWindow
*) 0 ;
23021 wxPoint
*arg2
= 0 ;
23022 int arg3
= (int) wxSIZE_USE_EXISTING
;
23024 PyObject
* obj0
= 0 ;
23025 PyObject
* obj1
= 0 ;
23026 PyObject
* obj2
= 0 ;
23027 char *kwnames
[] = {
23028 (char *) "self",(char *) "pt",(char *) "flags", NULL
23031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_Move",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23032 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23036 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
23039 arg3
= (int)SWIG_As_int(obj2
);
23040 if (PyErr_Occurred()) SWIG_fail
;
23043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23044 (arg1
)->Move((wxPoint
const &)*arg2
,arg3
);
23046 wxPyEndAllowThreads(__tstate
);
23047 if (PyErr_Occurred()) SWIG_fail
;
23049 Py_INCREF(Py_None
); resultobj
= Py_None
;
23056 static PyObject
*_wrap_Window_MoveXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23057 PyObject
*resultobj
;
23058 wxWindow
*arg1
= (wxWindow
*) 0 ;
23061 int arg4
= (int) wxSIZE_USE_EXISTING
;
23062 PyObject
* obj0
= 0 ;
23063 PyObject
* obj1
= 0 ;
23064 PyObject
* obj2
= 0 ;
23065 PyObject
* obj3
= 0 ;
23066 char *kwnames
[] = {
23067 (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL
23070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
23071 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23072 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23073 arg2
= (int)SWIG_As_int(obj1
);
23074 if (PyErr_Occurred()) SWIG_fail
;
23075 arg3
= (int)SWIG_As_int(obj2
);
23076 if (PyErr_Occurred()) SWIG_fail
;
23078 arg4
= (int)SWIG_As_int(obj3
);
23079 if (PyErr_Occurred()) SWIG_fail
;
23082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23083 (arg1
)->Move(arg2
,arg3
,arg4
);
23085 wxPyEndAllowThreads(__tstate
);
23086 if (PyErr_Occurred()) SWIG_fail
;
23088 Py_INCREF(Py_None
); resultobj
= Py_None
;
23095 static PyObject
*_wrap_Window_SetBestFittingSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23096 PyObject
*resultobj
;
23097 wxWindow
*arg1
= (wxWindow
*) 0 ;
23098 wxSize
const &arg2_defvalue
= wxDefaultSize
;
23099 wxSize
*arg2
= (wxSize
*) &arg2_defvalue
;
23101 PyObject
* obj0
= 0 ;
23102 PyObject
* obj1
= 0 ;
23103 char *kwnames
[] = {
23104 (char *) "self",(char *) "size", NULL
23107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_SetBestFittingSize",kwnames
,&obj0
,&obj1
)) goto fail
;
23108 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23109 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23113 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
23117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23118 (arg1
)->SetBestFittingSize((wxSize
const &)*arg2
);
23120 wxPyEndAllowThreads(__tstate
);
23121 if (PyErr_Occurred()) SWIG_fail
;
23123 Py_INCREF(Py_None
); resultobj
= Py_None
;
23130 static PyObject
*_wrap_Window_Raise(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23131 PyObject
*resultobj
;
23132 wxWindow
*arg1
= (wxWindow
*) 0 ;
23133 PyObject
* obj0
= 0 ;
23134 char *kwnames
[] = {
23135 (char *) "self", NULL
23138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Raise",kwnames
,&obj0
)) goto fail
;
23139 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23140 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23145 wxPyEndAllowThreads(__tstate
);
23146 if (PyErr_Occurred()) SWIG_fail
;
23148 Py_INCREF(Py_None
); resultobj
= Py_None
;
23155 static PyObject
*_wrap_Window_Lower(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23156 PyObject
*resultobj
;
23157 wxWindow
*arg1
= (wxWindow
*) 0 ;
23158 PyObject
* obj0
= 0 ;
23159 char *kwnames
[] = {
23160 (char *) "self", NULL
23163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Lower",kwnames
,&obj0
)) goto fail
;
23164 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23165 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23170 wxPyEndAllowThreads(__tstate
);
23171 if (PyErr_Occurred()) SWIG_fail
;
23173 Py_INCREF(Py_None
); resultobj
= Py_None
;
23180 static PyObject
*_wrap_Window_SetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23181 PyObject
*resultobj
;
23182 wxWindow
*arg1
= (wxWindow
*) 0 ;
23185 PyObject
* obj0
= 0 ;
23186 PyObject
* obj1
= 0 ;
23187 char *kwnames
[] = {
23188 (char *) "self",(char *) "size", NULL
23191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientSize",kwnames
,&obj0
,&obj1
)) goto fail
;
23192 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23193 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23196 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
23199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23200 (arg1
)->SetClientSize((wxSize
const &)*arg2
);
23202 wxPyEndAllowThreads(__tstate
);
23203 if (PyErr_Occurred()) SWIG_fail
;
23205 Py_INCREF(Py_None
); resultobj
= Py_None
;
23212 static PyObject
*_wrap_Window_SetClientSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23213 PyObject
*resultobj
;
23214 wxWindow
*arg1
= (wxWindow
*) 0 ;
23217 PyObject
* obj0
= 0 ;
23218 PyObject
* obj1
= 0 ;
23219 PyObject
* obj2
= 0 ;
23220 char *kwnames
[] = {
23221 (char *) "self",(char *) "width",(char *) "height", NULL
23224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetClientSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23225 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23226 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23227 arg2
= (int)SWIG_As_int(obj1
);
23228 if (PyErr_Occurred()) SWIG_fail
;
23229 arg3
= (int)SWIG_As_int(obj2
);
23230 if (PyErr_Occurred()) SWIG_fail
;
23232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23233 (arg1
)->SetClientSize(arg2
,arg3
);
23235 wxPyEndAllowThreads(__tstate
);
23236 if (PyErr_Occurred()) SWIG_fail
;
23238 Py_INCREF(Py_None
); resultobj
= Py_None
;
23245 static PyObject
*_wrap_Window_SetClientRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23246 PyObject
*resultobj
;
23247 wxWindow
*arg1
= (wxWindow
*) 0 ;
23250 PyObject
* obj0
= 0 ;
23251 PyObject
* obj1
= 0 ;
23252 char *kwnames
[] = {
23253 (char *) "self",(char *) "rect", NULL
23256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientRect",kwnames
,&obj0
,&obj1
)) goto fail
;
23257 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23258 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23261 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
23264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23265 (arg1
)->SetClientSize((wxRect
const &)*arg2
);
23267 wxPyEndAllowThreads(__tstate
);
23268 if (PyErr_Occurred()) SWIG_fail
;
23270 Py_INCREF(Py_None
); resultobj
= Py_None
;
23277 static PyObject
*_wrap_Window_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23278 PyObject
*resultobj
;
23279 wxWindow
*arg1
= (wxWindow
*) 0 ;
23281 PyObject
* obj0
= 0 ;
23282 char *kwnames
[] = {
23283 (char *) "self", NULL
23286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPosition",kwnames
,&obj0
)) goto fail
;
23287 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23291 result
= (arg1
)->GetPosition();
23293 wxPyEndAllowThreads(__tstate
);
23294 if (PyErr_Occurred()) SWIG_fail
;
23297 wxPoint
* resultptr
;
23298 resultptr
= new wxPoint((wxPoint
&) result
);
23299 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
23307 static PyObject
*_wrap_Window_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23308 PyObject
*resultobj
;
23309 wxWindow
*arg1
= (wxWindow
*) 0 ;
23310 int *arg2
= (int *) 0 ;
23311 int *arg3
= (int *) 0 ;
23316 PyObject
* obj0
= 0 ;
23317 char *kwnames
[] = {
23318 (char *) "self", NULL
23321 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
23322 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
23323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
23324 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23328 (arg1
)->GetPosition(arg2
,arg3
);
23330 wxPyEndAllowThreads(__tstate
);
23331 if (PyErr_Occurred()) SWIG_fail
;
23333 Py_INCREF(Py_None
); resultobj
= Py_None
;
23334 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
23335 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
23336 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
23337 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
23344 static PyObject
*_wrap_Window_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23345 PyObject
*resultobj
;
23346 wxWindow
*arg1
= (wxWindow
*) 0 ;
23348 PyObject
* obj0
= 0 ;
23349 char *kwnames
[] = {
23350 (char *) "self", NULL
23353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSize",kwnames
,&obj0
)) goto fail
;
23354 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23358 result
= ((wxWindow
const *)arg1
)->GetSize();
23360 wxPyEndAllowThreads(__tstate
);
23361 if (PyErr_Occurred()) SWIG_fail
;
23364 wxSize
* resultptr
;
23365 resultptr
= new wxSize((wxSize
&) result
);
23366 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23374 static PyObject
*_wrap_Window_GetSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23375 PyObject
*resultobj
;
23376 wxWindow
*arg1
= (wxWindow
*) 0 ;
23377 int *arg2
= (int *) 0 ;
23378 int *arg3
= (int *) 0 ;
23383 PyObject
* obj0
= 0 ;
23384 char *kwnames
[] = {
23385 (char *) "self", NULL
23388 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
23389 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
23390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
23391 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23395 ((wxWindow
const *)arg1
)->GetSize(arg2
,arg3
);
23397 wxPyEndAllowThreads(__tstate
);
23398 if (PyErr_Occurred()) SWIG_fail
;
23400 Py_INCREF(Py_None
); resultobj
= Py_None
;
23401 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
23402 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
23403 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
23404 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
23411 static PyObject
*_wrap_Window_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23412 PyObject
*resultobj
;
23413 wxWindow
*arg1
= (wxWindow
*) 0 ;
23415 PyObject
* obj0
= 0 ;
23416 char *kwnames
[] = {
23417 (char *) "self", NULL
23420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetRect",kwnames
,&obj0
)) goto fail
;
23421 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23422 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23425 result
= ((wxWindow
const *)arg1
)->GetRect();
23427 wxPyEndAllowThreads(__tstate
);
23428 if (PyErr_Occurred()) SWIG_fail
;
23431 wxRect
* resultptr
;
23432 resultptr
= new wxRect((wxRect
&) result
);
23433 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
23441 static PyObject
*_wrap_Window_GetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23442 PyObject
*resultobj
;
23443 wxWindow
*arg1
= (wxWindow
*) 0 ;
23445 PyObject
* obj0
= 0 ;
23446 char *kwnames
[] = {
23447 (char *) "self", NULL
23450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSize",kwnames
,&obj0
)) goto fail
;
23451 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23452 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23455 result
= ((wxWindow
const *)arg1
)->GetClientSize();
23457 wxPyEndAllowThreads(__tstate
);
23458 if (PyErr_Occurred()) SWIG_fail
;
23461 wxSize
* resultptr
;
23462 resultptr
= new wxSize((wxSize
&) result
);
23463 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23471 static PyObject
*_wrap_Window_GetClientSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23472 PyObject
*resultobj
;
23473 wxWindow
*arg1
= (wxWindow
*) 0 ;
23474 int *arg2
= (int *) 0 ;
23475 int *arg3
= (int *) 0 ;
23480 PyObject
* obj0
= 0 ;
23481 char *kwnames
[] = {
23482 (char *) "self", NULL
23485 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
23486 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
23487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSizeTuple",kwnames
,&obj0
)) goto fail
;
23488 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23489 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23492 ((wxWindow
const *)arg1
)->GetClientSize(arg2
,arg3
);
23494 wxPyEndAllowThreads(__tstate
);
23495 if (PyErr_Occurred()) SWIG_fail
;
23497 Py_INCREF(Py_None
); resultobj
= Py_None
;
23498 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
23499 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
23500 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
23501 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
23508 static PyObject
*_wrap_Window_GetClientAreaOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23509 PyObject
*resultobj
;
23510 wxWindow
*arg1
= (wxWindow
*) 0 ;
23512 PyObject
* obj0
= 0 ;
23513 char *kwnames
[] = {
23514 (char *) "self", NULL
23517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientAreaOrigin",kwnames
,&obj0
)) goto fail
;
23518 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23519 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23522 result
= ((wxWindow
const *)arg1
)->GetClientAreaOrigin();
23524 wxPyEndAllowThreads(__tstate
);
23525 if (PyErr_Occurred()) SWIG_fail
;
23528 wxPoint
* resultptr
;
23529 resultptr
= new wxPoint((wxPoint
&) result
);
23530 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
23538 static PyObject
*_wrap_Window_GetClientRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23539 PyObject
*resultobj
;
23540 wxWindow
*arg1
= (wxWindow
*) 0 ;
23542 PyObject
* obj0
= 0 ;
23543 char *kwnames
[] = {
23544 (char *) "self", NULL
23547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientRect",kwnames
,&obj0
)) goto fail
;
23548 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23549 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23552 result
= ((wxWindow
const *)arg1
)->GetClientRect();
23554 wxPyEndAllowThreads(__tstate
);
23555 if (PyErr_Occurred()) SWIG_fail
;
23558 wxRect
* resultptr
;
23559 resultptr
= new wxRect((wxRect
&) result
);
23560 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
23568 static PyObject
*_wrap_Window_GetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23569 PyObject
*resultobj
;
23570 wxWindow
*arg1
= (wxWindow
*) 0 ;
23572 PyObject
* obj0
= 0 ;
23573 char *kwnames
[] = {
23574 (char *) "self", NULL
23577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSize",kwnames
,&obj0
)) goto fail
;
23578 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23579 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23582 result
= ((wxWindow
const *)arg1
)->GetBestSize();
23584 wxPyEndAllowThreads(__tstate
);
23585 if (PyErr_Occurred()) SWIG_fail
;
23588 wxSize
* resultptr
;
23589 resultptr
= new wxSize((wxSize
&) result
);
23590 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23598 static PyObject
*_wrap_Window_GetBestSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23599 PyObject
*resultobj
;
23600 wxWindow
*arg1
= (wxWindow
*) 0 ;
23601 int *arg2
= (int *) 0 ;
23602 int *arg3
= (int *) 0 ;
23607 PyObject
* obj0
= 0 ;
23608 char *kwnames
[] = {
23609 (char *) "self", NULL
23612 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
23613 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
23614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSizeTuple",kwnames
,&obj0
)) goto fail
;
23615 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23616 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23619 ((wxWindow
const *)arg1
)->GetBestSize(arg2
,arg3
);
23621 wxPyEndAllowThreads(__tstate
);
23622 if (PyErr_Occurred()) SWIG_fail
;
23624 Py_INCREF(Py_None
); resultobj
= Py_None
;
23625 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
23626 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
23627 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
23628 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
23635 static PyObject
*_wrap_Window_InvalidateBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23636 PyObject
*resultobj
;
23637 wxWindow
*arg1
= (wxWindow
*) 0 ;
23638 PyObject
* obj0
= 0 ;
23639 char *kwnames
[] = {
23640 (char *) "self", NULL
23643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InvalidateBestSize",kwnames
,&obj0
)) goto fail
;
23644 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23645 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23648 (arg1
)->InvalidateBestSize();
23650 wxPyEndAllowThreads(__tstate
);
23651 if (PyErr_Occurred()) SWIG_fail
;
23653 Py_INCREF(Py_None
); resultobj
= Py_None
;
23660 static PyObject
*_wrap_Window_GetBestFittingSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23661 PyObject
*resultobj
;
23662 wxWindow
*arg1
= (wxWindow
*) 0 ;
23664 PyObject
* obj0
= 0 ;
23665 char *kwnames
[] = {
23666 (char *) "self", NULL
23669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestFittingSize",kwnames
,&obj0
)) goto fail
;
23670 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23674 result
= ((wxWindow
const *)arg1
)->GetBestFittingSize();
23676 wxPyEndAllowThreads(__tstate
);
23677 if (PyErr_Occurred()) SWIG_fail
;
23680 wxSize
* resultptr
;
23681 resultptr
= new wxSize((wxSize
&) result
);
23682 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23690 static PyObject
*_wrap_Window_GetAdjustedBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23691 PyObject
*resultobj
;
23692 wxWindow
*arg1
= (wxWindow
*) 0 ;
23694 PyObject
* obj0
= 0 ;
23695 char *kwnames
[] = {
23696 (char *) "self", NULL
23699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAdjustedBestSize",kwnames
,&obj0
)) goto fail
;
23700 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23704 result
= ((wxWindow
const *)arg1
)->GetAdjustedBestSize();
23706 wxPyEndAllowThreads(__tstate
);
23707 if (PyErr_Occurred()) SWIG_fail
;
23710 wxSize
* resultptr
;
23711 resultptr
= new wxSize((wxSize
&) result
);
23712 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23720 static PyObject
*_wrap_Window_Center(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23721 PyObject
*resultobj
;
23722 wxWindow
*arg1
= (wxWindow
*) 0 ;
23723 int arg2
= (int) wxBOTH
;
23724 PyObject
* obj0
= 0 ;
23725 PyObject
* obj1
= 0 ;
23726 char *kwnames
[] = {
23727 (char *) "self",(char *) "direction", NULL
23730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Center",kwnames
,&obj0
,&obj1
)) goto fail
;
23731 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23732 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23734 arg2
= (int)SWIG_As_int(obj1
);
23735 if (PyErr_Occurred()) SWIG_fail
;
23738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23739 (arg1
)->Center(arg2
);
23741 wxPyEndAllowThreads(__tstate
);
23742 if (PyErr_Occurred()) SWIG_fail
;
23744 Py_INCREF(Py_None
); resultobj
= Py_None
;
23751 static PyObject
*_wrap_Window_CenterOnScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23752 PyObject
*resultobj
;
23753 wxWindow
*arg1
= (wxWindow
*) 0 ;
23754 int arg2
= (int) wxBOTH
;
23755 PyObject
* obj0
= 0 ;
23756 PyObject
* obj1
= 0 ;
23757 char *kwnames
[] = {
23758 (char *) "self",(char *) "dir", NULL
23761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_CenterOnScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
23762 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23763 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23765 arg2
= (int)SWIG_As_int(obj1
);
23766 if (PyErr_Occurred()) SWIG_fail
;
23769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23770 (arg1
)->CenterOnScreen(arg2
);
23772 wxPyEndAllowThreads(__tstate
);
23773 if (PyErr_Occurred()) SWIG_fail
;
23775 Py_INCREF(Py_None
); resultobj
= Py_None
;
23782 static PyObject
*_wrap_Window_CenterOnParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23783 PyObject
*resultobj
;
23784 wxWindow
*arg1
= (wxWindow
*) 0 ;
23785 int arg2
= (int) wxBOTH
;
23786 PyObject
* obj0
= 0 ;
23787 PyObject
* obj1
= 0 ;
23788 char *kwnames
[] = {
23789 (char *) "self",(char *) "dir", NULL
23792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_CenterOnParent",kwnames
,&obj0
,&obj1
)) goto fail
;
23793 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23794 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23796 arg2
= (int)SWIG_As_int(obj1
);
23797 if (PyErr_Occurred()) SWIG_fail
;
23800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23801 (arg1
)->CenterOnParent(arg2
);
23803 wxPyEndAllowThreads(__tstate
);
23804 if (PyErr_Occurred()) SWIG_fail
;
23806 Py_INCREF(Py_None
); resultobj
= Py_None
;
23813 static PyObject
*_wrap_Window_Fit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23814 PyObject
*resultobj
;
23815 wxWindow
*arg1
= (wxWindow
*) 0 ;
23816 PyObject
* obj0
= 0 ;
23817 char *kwnames
[] = {
23818 (char *) "self", NULL
23821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Fit",kwnames
,&obj0
)) goto fail
;
23822 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23823 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23828 wxPyEndAllowThreads(__tstate
);
23829 if (PyErr_Occurred()) SWIG_fail
;
23831 Py_INCREF(Py_None
); resultobj
= Py_None
;
23838 static PyObject
*_wrap_Window_FitInside(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23839 PyObject
*resultobj
;
23840 wxWindow
*arg1
= (wxWindow
*) 0 ;
23841 PyObject
* obj0
= 0 ;
23842 char *kwnames
[] = {
23843 (char *) "self", NULL
23846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_FitInside",kwnames
,&obj0
)) goto fail
;
23847 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23848 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23851 (arg1
)->FitInside();
23853 wxPyEndAllowThreads(__tstate
);
23854 if (PyErr_Occurred()) SWIG_fail
;
23856 Py_INCREF(Py_None
); resultobj
= Py_None
;
23863 static PyObject
*_wrap_Window_SetSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23864 PyObject
*resultobj
;
23865 wxWindow
*arg1
= (wxWindow
*) 0 ;
23868 int arg4
= (int) -1 ;
23869 int arg5
= (int) -1 ;
23870 int arg6
= (int) -1 ;
23871 int arg7
= (int) -1 ;
23872 PyObject
* obj0
= 0 ;
23873 PyObject
* obj1
= 0 ;
23874 PyObject
* obj2
= 0 ;
23875 PyObject
* obj3
= 0 ;
23876 PyObject
* obj4
= 0 ;
23877 PyObject
* obj5
= 0 ;
23878 PyObject
* obj6
= 0 ;
23879 char *kwnames
[] = {
23880 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH",(char *) "incW",(char *) "incH", NULL
23883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Window_SetSizeHints",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
23884 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23885 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23886 arg2
= (int)SWIG_As_int(obj1
);
23887 if (PyErr_Occurred()) SWIG_fail
;
23888 arg3
= (int)SWIG_As_int(obj2
);
23889 if (PyErr_Occurred()) SWIG_fail
;
23891 arg4
= (int)SWIG_As_int(obj3
);
23892 if (PyErr_Occurred()) SWIG_fail
;
23895 arg5
= (int)SWIG_As_int(obj4
);
23896 if (PyErr_Occurred()) SWIG_fail
;
23899 arg6
= (int)SWIG_As_int(obj5
);
23900 if (PyErr_Occurred()) SWIG_fail
;
23903 arg7
= (int)SWIG_As_int(obj6
);
23904 if (PyErr_Occurred()) SWIG_fail
;
23907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23908 (arg1
)->SetSizeHints(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
23910 wxPyEndAllowThreads(__tstate
);
23911 if (PyErr_Occurred()) SWIG_fail
;
23913 Py_INCREF(Py_None
); resultobj
= Py_None
;
23920 static PyObject
*_wrap_Window_SetSizeHintsSz(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23921 PyObject
*resultobj
;
23922 wxWindow
*arg1
= (wxWindow
*) 0 ;
23924 wxSize
const &arg3_defvalue
= wxDefaultSize
;
23925 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
23926 wxSize
const &arg4_defvalue
= wxDefaultSize
;
23927 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
23931 PyObject
* obj0
= 0 ;
23932 PyObject
* obj1
= 0 ;
23933 PyObject
* obj2
= 0 ;
23934 PyObject
* obj3
= 0 ;
23935 char *kwnames
[] = {
23936 (char *) "self",(char *) "minSize",(char *) "maxSize",(char *) "incSize", NULL
23939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Window_SetSizeHintsSz",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
23940 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23941 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23944 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
23949 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
23955 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
23959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23960 (arg1
)->SetSizeHints((wxSize
const &)*arg2
,(wxSize
const &)*arg3
,(wxSize
const &)*arg4
);
23962 wxPyEndAllowThreads(__tstate
);
23963 if (PyErr_Occurred()) SWIG_fail
;
23965 Py_INCREF(Py_None
); resultobj
= Py_None
;
23972 static PyObject
*_wrap_Window_SetVirtualSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23973 PyObject
*resultobj
;
23974 wxWindow
*arg1
= (wxWindow
*) 0 ;
23977 int arg4
= (int) -1 ;
23978 int arg5
= (int) -1 ;
23979 PyObject
* obj0
= 0 ;
23980 PyObject
* obj1
= 0 ;
23981 PyObject
* obj2
= 0 ;
23982 PyObject
* obj3
= 0 ;
23983 PyObject
* obj4
= 0 ;
23984 char *kwnames
[] = {
23985 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH", NULL
23988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Window_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
23989 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23991 arg2
= (int)SWIG_As_int(obj1
);
23992 if (PyErr_Occurred()) SWIG_fail
;
23993 arg3
= (int)SWIG_As_int(obj2
);
23994 if (PyErr_Occurred()) SWIG_fail
;
23996 arg4
= (int)SWIG_As_int(obj3
);
23997 if (PyErr_Occurred()) SWIG_fail
;
24000 arg5
= (int)SWIG_As_int(obj4
);
24001 if (PyErr_Occurred()) SWIG_fail
;
24004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24005 (arg1
)->SetVirtualSizeHints(arg2
,arg3
,arg4
,arg5
);
24007 wxPyEndAllowThreads(__tstate
);
24008 if (PyErr_Occurred()) SWIG_fail
;
24010 Py_INCREF(Py_None
); resultobj
= Py_None
;
24017 static PyObject
*_wrap_Window_SetVirtualSizeHintsSz(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24018 PyObject
*resultobj
;
24019 wxWindow
*arg1
= (wxWindow
*) 0 ;
24021 wxSize
const &arg3_defvalue
= wxDefaultSize
;
24022 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
24025 PyObject
* obj0
= 0 ;
24026 PyObject
* obj1
= 0 ;
24027 PyObject
* obj2
= 0 ;
24028 char *kwnames
[] = {
24029 (char *) "self",(char *) "minSize",(char *) "maxSize", NULL
24032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetVirtualSizeHintsSz",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24033 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24034 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24037 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
24042 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
24046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24047 (arg1
)->SetVirtualSizeHints((wxSize
const &)*arg2
,(wxSize
const &)*arg3
);
24049 wxPyEndAllowThreads(__tstate
);
24050 if (PyErr_Occurred()) SWIG_fail
;
24052 Py_INCREF(Py_None
); resultobj
= Py_None
;
24059 static PyObject
*_wrap_Window_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24060 PyObject
*resultobj
;
24061 wxWindow
*arg1
= (wxWindow
*) 0 ;
24063 PyObject
* obj0
= 0 ;
24064 char *kwnames
[] = {
24065 (char *) "self", NULL
24068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxSize",kwnames
,&obj0
)) goto fail
;
24069 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24070 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24073 result
= ((wxWindow
const *)arg1
)->GetMaxSize();
24075 wxPyEndAllowThreads(__tstate
);
24076 if (PyErr_Occurred()) SWIG_fail
;
24079 wxSize
* resultptr
;
24080 resultptr
= new wxSize((wxSize
&) result
);
24081 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
24089 static PyObject
*_wrap_Window_GetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24090 PyObject
*resultobj
;
24091 wxWindow
*arg1
= (wxWindow
*) 0 ;
24093 PyObject
* obj0
= 0 ;
24094 char *kwnames
[] = {
24095 (char *) "self", NULL
24098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinSize",kwnames
,&obj0
)) goto fail
;
24099 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24100 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24103 result
= ((wxWindow
const *)arg1
)->GetMinSize();
24105 wxPyEndAllowThreads(__tstate
);
24106 if (PyErr_Occurred()) SWIG_fail
;
24109 wxSize
* resultptr
;
24110 resultptr
= new wxSize((wxSize
&) result
);
24111 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
24119 static PyObject
*_wrap_Window_SetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24120 PyObject
*resultobj
;
24121 wxWindow
*arg1
= (wxWindow
*) 0 ;
24124 PyObject
* obj0
= 0 ;
24125 PyObject
* obj1
= 0 ;
24126 char *kwnames
[] = {
24127 (char *) "self",(char *) "minSize", NULL
24130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetMinSize",kwnames
,&obj0
,&obj1
)) goto fail
;
24131 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24132 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24135 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
24138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24139 (arg1
)->SetMinSize((wxSize
const &)*arg2
);
24141 wxPyEndAllowThreads(__tstate
);
24142 if (PyErr_Occurred()) SWIG_fail
;
24144 Py_INCREF(Py_None
); resultobj
= Py_None
;
24151 static PyObject
*_wrap_Window_SetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24152 PyObject
*resultobj
;
24153 wxWindow
*arg1
= (wxWindow
*) 0 ;
24156 PyObject
* obj0
= 0 ;
24157 PyObject
* obj1
= 0 ;
24158 char *kwnames
[] = {
24159 (char *) "self",(char *) "maxSize", NULL
24162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetMaxSize",kwnames
,&obj0
,&obj1
)) goto fail
;
24163 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24164 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24167 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
24170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24171 (arg1
)->SetMaxSize((wxSize
const &)*arg2
);
24173 wxPyEndAllowThreads(__tstate
);
24174 if (PyErr_Occurred()) SWIG_fail
;
24176 Py_INCREF(Py_None
); resultobj
= Py_None
;
24183 static PyObject
*_wrap_Window_GetMinWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24184 PyObject
*resultobj
;
24185 wxWindow
*arg1
= (wxWindow
*) 0 ;
24187 PyObject
* obj0
= 0 ;
24188 char *kwnames
[] = {
24189 (char *) "self", NULL
24192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinWidth",kwnames
,&obj0
)) goto fail
;
24193 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24194 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24197 result
= (int)((wxWindow
const *)arg1
)->GetMinWidth();
24199 wxPyEndAllowThreads(__tstate
);
24200 if (PyErr_Occurred()) SWIG_fail
;
24202 resultobj
= SWIG_From_int((int)result
);
24209 static PyObject
*_wrap_Window_GetMinHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24210 PyObject
*resultobj
;
24211 wxWindow
*arg1
= (wxWindow
*) 0 ;
24213 PyObject
* obj0
= 0 ;
24214 char *kwnames
[] = {
24215 (char *) "self", NULL
24218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinHeight",kwnames
,&obj0
)) goto fail
;
24219 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24220 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24223 result
= (int)((wxWindow
const *)arg1
)->GetMinHeight();
24225 wxPyEndAllowThreads(__tstate
);
24226 if (PyErr_Occurred()) SWIG_fail
;
24228 resultobj
= SWIG_From_int((int)result
);
24235 static PyObject
*_wrap_Window_GetMaxWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24236 PyObject
*resultobj
;
24237 wxWindow
*arg1
= (wxWindow
*) 0 ;
24239 PyObject
* obj0
= 0 ;
24240 char *kwnames
[] = {
24241 (char *) "self", NULL
24244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxWidth",kwnames
,&obj0
)) goto fail
;
24245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24249 result
= (int)((wxWindow
const *)arg1
)->GetMaxWidth();
24251 wxPyEndAllowThreads(__tstate
);
24252 if (PyErr_Occurred()) SWIG_fail
;
24254 resultobj
= SWIG_From_int((int)result
);
24261 static PyObject
*_wrap_Window_GetMaxHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24262 PyObject
*resultobj
;
24263 wxWindow
*arg1
= (wxWindow
*) 0 ;
24265 PyObject
* obj0
= 0 ;
24266 char *kwnames
[] = {
24267 (char *) "self", NULL
24270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxHeight",kwnames
,&obj0
)) goto fail
;
24271 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24272 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24275 result
= (int)((wxWindow
const *)arg1
)->GetMaxHeight();
24277 wxPyEndAllowThreads(__tstate
);
24278 if (PyErr_Occurred()) SWIG_fail
;
24280 resultobj
= SWIG_From_int((int)result
);
24287 static PyObject
*_wrap_Window_SetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24288 PyObject
*resultobj
;
24289 wxWindow
*arg1
= (wxWindow
*) 0 ;
24292 PyObject
* obj0
= 0 ;
24293 PyObject
* obj1
= 0 ;
24294 char *kwnames
[] = {
24295 (char *) "self",(char *) "size", NULL
24298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetVirtualSize",kwnames
,&obj0
,&obj1
)) goto fail
;
24299 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24300 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24303 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
24306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24307 (arg1
)->SetVirtualSize((wxSize
const &)*arg2
);
24309 wxPyEndAllowThreads(__tstate
);
24310 if (PyErr_Occurred()) SWIG_fail
;
24312 Py_INCREF(Py_None
); resultobj
= Py_None
;
24319 static PyObject
*_wrap_Window_SetVirtualSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24320 PyObject
*resultobj
;
24321 wxWindow
*arg1
= (wxWindow
*) 0 ;
24324 PyObject
* obj0
= 0 ;
24325 PyObject
* obj1
= 0 ;
24326 PyObject
* obj2
= 0 ;
24327 char *kwnames
[] = {
24328 (char *) "self",(char *) "w",(char *) "h", NULL
24331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetVirtualSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24332 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24333 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24334 arg2
= (int)SWIG_As_int(obj1
);
24335 if (PyErr_Occurred()) SWIG_fail
;
24336 arg3
= (int)SWIG_As_int(obj2
);
24337 if (PyErr_Occurred()) SWIG_fail
;
24339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24340 (arg1
)->SetVirtualSize(arg2
,arg3
);
24342 wxPyEndAllowThreads(__tstate
);
24343 if (PyErr_Occurred()) SWIG_fail
;
24345 Py_INCREF(Py_None
); resultobj
= Py_None
;
24352 static PyObject
*_wrap_Window_GetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24353 PyObject
*resultobj
;
24354 wxWindow
*arg1
= (wxWindow
*) 0 ;
24356 PyObject
* obj0
= 0 ;
24357 char *kwnames
[] = {
24358 (char *) "self", NULL
24361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSize",kwnames
,&obj0
)) goto fail
;
24362 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24366 result
= ((wxWindow
const *)arg1
)->GetVirtualSize();
24368 wxPyEndAllowThreads(__tstate
);
24369 if (PyErr_Occurred()) SWIG_fail
;
24372 wxSize
* resultptr
;
24373 resultptr
= new wxSize((wxSize
&) result
);
24374 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
24382 static PyObject
*_wrap_Window_GetVirtualSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24383 PyObject
*resultobj
;
24384 wxWindow
*arg1
= (wxWindow
*) 0 ;
24385 int *arg2
= (int *) 0 ;
24386 int *arg3
= (int *) 0 ;
24391 PyObject
* obj0
= 0 ;
24392 char *kwnames
[] = {
24393 (char *) "self", NULL
24396 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
24397 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
24398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSizeTuple",kwnames
,&obj0
)) goto fail
;
24399 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24403 ((wxWindow
const *)arg1
)->GetVirtualSize(arg2
,arg3
);
24405 wxPyEndAllowThreads(__tstate
);
24406 if (PyErr_Occurred()) SWIG_fail
;
24408 Py_INCREF(Py_None
); resultobj
= Py_None
;
24409 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
24410 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
24411 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
24412 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
24419 static PyObject
*_wrap_Window_GetBestVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24420 PyObject
*resultobj
;
24421 wxWindow
*arg1
= (wxWindow
*) 0 ;
24423 PyObject
* obj0
= 0 ;
24424 char *kwnames
[] = {
24425 (char *) "self", NULL
24428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestVirtualSize",kwnames
,&obj0
)) goto fail
;
24429 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24430 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24433 result
= ((wxWindow
const *)arg1
)->GetBestVirtualSize();
24435 wxPyEndAllowThreads(__tstate
);
24436 if (PyErr_Occurred()) SWIG_fail
;
24439 wxSize
* resultptr
;
24440 resultptr
= new wxSize((wxSize
&) result
);
24441 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
24449 static PyObject
*_wrap_Window_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24450 PyObject
*resultobj
;
24451 wxWindow
*arg1
= (wxWindow
*) 0 ;
24452 bool arg2
= (bool) true ;
24454 PyObject
* obj0
= 0 ;
24455 PyObject
* obj1
= 0 ;
24456 char *kwnames
[] = {
24457 (char *) "self",(char *) "show", NULL
24460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
24461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24464 arg2
= (bool)SWIG_As_bool(obj1
);
24465 if (PyErr_Occurred()) SWIG_fail
;
24468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24469 result
= (bool)(arg1
)->Show(arg2
);
24471 wxPyEndAllowThreads(__tstate
);
24472 if (PyErr_Occurred()) SWIG_fail
;
24475 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24483 static PyObject
*_wrap_Window_Hide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24484 PyObject
*resultobj
;
24485 wxWindow
*arg1
= (wxWindow
*) 0 ;
24487 PyObject
* obj0
= 0 ;
24488 char *kwnames
[] = {
24489 (char *) "self", NULL
24492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Hide",kwnames
,&obj0
)) goto fail
;
24493 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24494 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24497 result
= (bool)(arg1
)->Hide();
24499 wxPyEndAllowThreads(__tstate
);
24500 if (PyErr_Occurred()) SWIG_fail
;
24503 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24511 static PyObject
*_wrap_Window_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24512 PyObject
*resultobj
;
24513 wxWindow
*arg1
= (wxWindow
*) 0 ;
24514 bool arg2
= (bool) true ;
24516 PyObject
* obj0
= 0 ;
24517 PyObject
* obj1
= 0 ;
24518 char *kwnames
[] = {
24519 (char *) "self",(char *) "enable", NULL
24522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
24523 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24526 arg2
= (bool)SWIG_As_bool(obj1
);
24527 if (PyErr_Occurred()) SWIG_fail
;
24530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24531 result
= (bool)(arg1
)->Enable(arg2
);
24533 wxPyEndAllowThreads(__tstate
);
24534 if (PyErr_Occurred()) SWIG_fail
;
24537 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24545 static PyObject
*_wrap_Window_Disable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24546 PyObject
*resultobj
;
24547 wxWindow
*arg1
= (wxWindow
*) 0 ;
24549 PyObject
* obj0
= 0 ;
24550 char *kwnames
[] = {
24551 (char *) "self", NULL
24554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Disable",kwnames
,&obj0
)) goto fail
;
24555 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24556 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24559 result
= (bool)(arg1
)->Disable();
24561 wxPyEndAllowThreads(__tstate
);
24562 if (PyErr_Occurred()) SWIG_fail
;
24565 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24573 static PyObject
*_wrap_Window_IsShown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24574 PyObject
*resultobj
;
24575 wxWindow
*arg1
= (wxWindow
*) 0 ;
24577 PyObject
* obj0
= 0 ;
24578 char *kwnames
[] = {
24579 (char *) "self", NULL
24582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsShown",kwnames
,&obj0
)) goto fail
;
24583 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24584 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24587 result
= (bool)((wxWindow
const *)arg1
)->IsShown();
24589 wxPyEndAllowThreads(__tstate
);
24590 if (PyErr_Occurred()) SWIG_fail
;
24593 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24601 static PyObject
*_wrap_Window_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24602 PyObject
*resultobj
;
24603 wxWindow
*arg1
= (wxWindow
*) 0 ;
24605 PyObject
* obj0
= 0 ;
24606 char *kwnames
[] = {
24607 (char *) "self", NULL
24610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsEnabled",kwnames
,&obj0
)) goto fail
;
24611 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24612 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24615 result
= (bool)((wxWindow
const *)arg1
)->IsEnabled();
24617 wxPyEndAllowThreads(__tstate
);
24618 if (PyErr_Occurred()) SWIG_fail
;
24621 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24629 static PyObject
*_wrap_Window_SetWindowStyleFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24630 PyObject
*resultobj
;
24631 wxWindow
*arg1
= (wxWindow
*) 0 ;
24633 PyObject
* obj0
= 0 ;
24634 PyObject
* obj1
= 0 ;
24635 char *kwnames
[] = {
24636 (char *) "self",(char *) "style", NULL
24639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
24640 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24641 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24642 arg2
= (long)SWIG_As_long(obj1
);
24643 if (PyErr_Occurred()) SWIG_fail
;
24645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24646 (arg1
)->SetWindowStyleFlag(arg2
);
24648 wxPyEndAllowThreads(__tstate
);
24649 if (PyErr_Occurred()) SWIG_fail
;
24651 Py_INCREF(Py_None
); resultobj
= Py_None
;
24658 static PyObject
*_wrap_Window_GetWindowStyleFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24659 PyObject
*resultobj
;
24660 wxWindow
*arg1
= (wxWindow
*) 0 ;
24662 PyObject
* obj0
= 0 ;
24663 char *kwnames
[] = {
24664 (char *) "self", NULL
24667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowStyleFlag",kwnames
,&obj0
)) goto fail
;
24668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24672 result
= (long)((wxWindow
const *)arg1
)->GetWindowStyleFlag();
24674 wxPyEndAllowThreads(__tstate
);
24675 if (PyErr_Occurred()) SWIG_fail
;
24677 resultobj
= SWIG_From_long((long)result
);
24684 static PyObject
*_wrap_Window_HasFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24685 PyObject
*resultobj
;
24686 wxWindow
*arg1
= (wxWindow
*) 0 ;
24689 PyObject
* obj0
= 0 ;
24690 PyObject
* obj1
= 0 ;
24691 char *kwnames
[] = {
24692 (char *) "self",(char *) "flag", NULL
24695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
24696 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24697 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24698 arg2
= (int)SWIG_As_int(obj1
);
24699 if (PyErr_Occurred()) SWIG_fail
;
24701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24702 result
= (bool)((wxWindow
const *)arg1
)->HasFlag(arg2
);
24704 wxPyEndAllowThreads(__tstate
);
24705 if (PyErr_Occurred()) SWIG_fail
;
24708 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24716 static PyObject
*_wrap_Window_IsRetained(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24717 PyObject
*resultobj
;
24718 wxWindow
*arg1
= (wxWindow
*) 0 ;
24720 PyObject
* obj0
= 0 ;
24721 char *kwnames
[] = {
24722 (char *) "self", NULL
24725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsRetained",kwnames
,&obj0
)) goto fail
;
24726 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24727 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24730 result
= (bool)((wxWindow
const *)arg1
)->IsRetained();
24732 wxPyEndAllowThreads(__tstate
);
24733 if (PyErr_Occurred()) SWIG_fail
;
24736 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24744 static PyObject
*_wrap_Window_SetExtraStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24745 PyObject
*resultobj
;
24746 wxWindow
*arg1
= (wxWindow
*) 0 ;
24748 PyObject
* obj0
= 0 ;
24749 PyObject
* obj1
= 0 ;
24750 char *kwnames
[] = {
24751 (char *) "self",(char *) "exStyle", NULL
24754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetExtraStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
24755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24757 arg2
= (long)SWIG_As_long(obj1
);
24758 if (PyErr_Occurred()) SWIG_fail
;
24760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24761 (arg1
)->SetExtraStyle(arg2
);
24763 wxPyEndAllowThreads(__tstate
);
24764 if (PyErr_Occurred()) SWIG_fail
;
24766 Py_INCREF(Py_None
); resultobj
= Py_None
;
24773 static PyObject
*_wrap_Window_GetExtraStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24774 PyObject
*resultobj
;
24775 wxWindow
*arg1
= (wxWindow
*) 0 ;
24777 PyObject
* obj0
= 0 ;
24778 char *kwnames
[] = {
24779 (char *) "self", NULL
24782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetExtraStyle",kwnames
,&obj0
)) goto fail
;
24783 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24784 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24787 result
= (long)((wxWindow
const *)arg1
)->GetExtraStyle();
24789 wxPyEndAllowThreads(__tstate
);
24790 if (PyErr_Occurred()) SWIG_fail
;
24792 resultobj
= SWIG_From_long((long)result
);
24799 static PyObject
*_wrap_Window_MakeModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24800 PyObject
*resultobj
;
24801 wxWindow
*arg1
= (wxWindow
*) 0 ;
24802 bool arg2
= (bool) true ;
24803 PyObject
* obj0
= 0 ;
24804 PyObject
* obj1
= 0 ;
24805 char *kwnames
[] = {
24806 (char *) "self",(char *) "modal", NULL
24809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_MakeModal",kwnames
,&obj0
,&obj1
)) goto fail
;
24810 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24813 arg2
= (bool)SWIG_As_bool(obj1
);
24814 if (PyErr_Occurred()) SWIG_fail
;
24817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24818 (arg1
)->MakeModal(arg2
);
24820 wxPyEndAllowThreads(__tstate
);
24821 if (PyErr_Occurred()) SWIG_fail
;
24823 Py_INCREF(Py_None
); resultobj
= Py_None
;
24830 static PyObject
*_wrap_Window_SetThemeEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24831 PyObject
*resultobj
;
24832 wxWindow
*arg1
= (wxWindow
*) 0 ;
24834 PyObject
* obj0
= 0 ;
24835 PyObject
* obj1
= 0 ;
24836 char *kwnames
[] = {
24837 (char *) "self",(char *) "enableTheme", NULL
24840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetThemeEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
24841 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24842 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24843 arg2
= (bool)SWIG_As_bool(obj1
);
24844 if (PyErr_Occurred()) SWIG_fail
;
24846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24847 (arg1
)->SetThemeEnabled(arg2
);
24849 wxPyEndAllowThreads(__tstate
);
24850 if (PyErr_Occurred()) SWIG_fail
;
24852 Py_INCREF(Py_None
); resultobj
= Py_None
;
24859 static PyObject
*_wrap_Window_GetThemeEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24860 PyObject
*resultobj
;
24861 wxWindow
*arg1
= (wxWindow
*) 0 ;
24863 PyObject
* obj0
= 0 ;
24864 char *kwnames
[] = {
24865 (char *) "self", NULL
24868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetThemeEnabled",kwnames
,&obj0
)) goto fail
;
24869 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24870 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24873 result
= (bool)((wxWindow
const *)arg1
)->GetThemeEnabled();
24875 wxPyEndAllowThreads(__tstate
);
24876 if (PyErr_Occurred()) SWIG_fail
;
24879 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24887 static PyObject
*_wrap_Window_SetFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24888 PyObject
*resultobj
;
24889 wxWindow
*arg1
= (wxWindow
*) 0 ;
24890 PyObject
* obj0
= 0 ;
24891 char *kwnames
[] = {
24892 (char *) "self", NULL
24895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocus",kwnames
,&obj0
)) goto fail
;
24896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24900 (arg1
)->SetFocus();
24902 wxPyEndAllowThreads(__tstate
);
24903 if (PyErr_Occurred()) SWIG_fail
;
24905 Py_INCREF(Py_None
); resultobj
= Py_None
;
24912 static PyObject
*_wrap_Window_SetFocusFromKbd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24913 PyObject
*resultobj
;
24914 wxWindow
*arg1
= (wxWindow
*) 0 ;
24915 PyObject
* obj0
= 0 ;
24916 char *kwnames
[] = {
24917 (char *) "self", NULL
24920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocusFromKbd",kwnames
,&obj0
)) goto fail
;
24921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24925 (arg1
)->SetFocusFromKbd();
24927 wxPyEndAllowThreads(__tstate
);
24928 if (PyErr_Occurred()) SWIG_fail
;
24930 Py_INCREF(Py_None
); resultobj
= Py_None
;
24937 static PyObject
*_wrap_Window_FindFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24938 PyObject
*resultobj
;
24940 char *kwnames
[] = {
24944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_FindFocus",kwnames
)) goto fail
;
24946 if (!wxPyCheckForApp()) SWIG_fail
;
24947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24948 result
= (wxWindow
*)wxWindow::FindFocus();
24950 wxPyEndAllowThreads(__tstate
);
24951 if (PyErr_Occurred()) SWIG_fail
;
24954 resultobj
= wxPyMake_wxObject(result
, 0);
24962 static PyObject
*_wrap_Window_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24963 PyObject
*resultobj
;
24964 wxWindow
*arg1
= (wxWindow
*) 0 ;
24966 PyObject
* obj0
= 0 ;
24967 char *kwnames
[] = {
24968 (char *) "self", NULL
24971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
24972 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24973 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24976 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocus();
24978 wxPyEndAllowThreads(__tstate
);
24979 if (PyErr_Occurred()) SWIG_fail
;
24982 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24990 static PyObject
*_wrap_Window_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24991 PyObject
*resultobj
;
24992 wxWindow
*arg1
= (wxWindow
*) 0 ;
24994 PyObject
* obj0
= 0 ;
24995 char *kwnames
[] = {
24996 (char *) "self", NULL
24999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
25000 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25001 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25004 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocusFromKeyboard();
25006 wxPyEndAllowThreads(__tstate
);
25007 if (PyErr_Occurred()) SWIG_fail
;
25010 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25018 static PyObject
*_wrap_Window_GetDefaultItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25019 PyObject
*resultobj
;
25020 wxWindow
*arg1
= (wxWindow
*) 0 ;
25022 PyObject
* obj0
= 0 ;
25023 char *kwnames
[] = {
25024 (char *) "self", NULL
25027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDefaultItem",kwnames
,&obj0
)) goto fail
;
25028 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25029 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25032 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetDefaultItem();
25034 wxPyEndAllowThreads(__tstate
);
25035 if (PyErr_Occurred()) SWIG_fail
;
25038 resultobj
= wxPyMake_wxObject(result
, 0);
25046 static PyObject
*_wrap_Window_SetDefaultItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25047 PyObject
*resultobj
;
25048 wxWindow
*arg1
= (wxWindow
*) 0 ;
25049 wxWindow
*arg2
= (wxWindow
*) 0 ;
25051 PyObject
* obj0
= 0 ;
25052 PyObject
* obj1
= 0 ;
25053 char *kwnames
[] = {
25054 (char *) "self",(char *) "child", NULL
25057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
25058 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25059 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25060 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
25061 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25064 result
= (wxWindow
*)(arg1
)->SetDefaultItem(arg2
);
25066 wxPyEndAllowThreads(__tstate
);
25067 if (PyErr_Occurred()) SWIG_fail
;
25070 resultobj
= wxPyMake_wxObject(result
, 0);
25078 static PyObject
*_wrap_Window_SetTmpDefaultItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25079 PyObject
*resultobj
;
25080 wxWindow
*arg1
= (wxWindow
*) 0 ;
25081 wxWindow
*arg2
= (wxWindow
*) 0 ;
25082 PyObject
* obj0
= 0 ;
25083 PyObject
* obj1
= 0 ;
25084 char *kwnames
[] = {
25085 (char *) "self",(char *) "win", NULL
25088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTmpDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
25089 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25090 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25091 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
25092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25095 (arg1
)->SetTmpDefaultItem(arg2
);
25097 wxPyEndAllowThreads(__tstate
);
25098 if (PyErr_Occurred()) SWIG_fail
;
25100 Py_INCREF(Py_None
); resultobj
= Py_None
;
25107 static PyObject
*_wrap_Window_Navigate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25108 PyObject
*resultobj
;
25109 wxWindow
*arg1
= (wxWindow
*) 0 ;
25110 int arg2
= (int) wxNavigationKeyEvent::IsForward
;
25112 PyObject
* obj0
= 0 ;
25113 PyObject
* obj1
= 0 ;
25114 char *kwnames
[] = {
25115 (char *) "self",(char *) "flags", NULL
25118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Navigate",kwnames
,&obj0
,&obj1
)) goto fail
;
25119 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25122 arg2
= (int)SWIG_As_int(obj1
);
25123 if (PyErr_Occurred()) SWIG_fail
;
25126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25127 result
= (bool)(arg1
)->Navigate(arg2
);
25129 wxPyEndAllowThreads(__tstate
);
25130 if (PyErr_Occurred()) SWIG_fail
;
25133 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25141 static PyObject
*_wrap_Window_MoveAfterInTabOrder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25142 PyObject
*resultobj
;
25143 wxWindow
*arg1
= (wxWindow
*) 0 ;
25144 wxWindow
*arg2
= (wxWindow
*) 0 ;
25145 PyObject
* obj0
= 0 ;
25146 PyObject
* obj1
= 0 ;
25147 char *kwnames
[] = {
25148 (char *) "self",(char *) "win", NULL
25151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_MoveAfterInTabOrder",kwnames
,&obj0
,&obj1
)) goto fail
;
25152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25154 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
25155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25158 (arg1
)->MoveAfterInTabOrder(arg2
);
25160 wxPyEndAllowThreads(__tstate
);
25161 if (PyErr_Occurred()) SWIG_fail
;
25163 Py_INCREF(Py_None
); resultobj
= Py_None
;
25170 static PyObject
*_wrap_Window_MoveBeforeInTabOrder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25171 PyObject
*resultobj
;
25172 wxWindow
*arg1
= (wxWindow
*) 0 ;
25173 wxWindow
*arg2
= (wxWindow
*) 0 ;
25174 PyObject
* obj0
= 0 ;
25175 PyObject
* obj1
= 0 ;
25176 char *kwnames
[] = {
25177 (char *) "self",(char *) "win", NULL
25180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_MoveBeforeInTabOrder",kwnames
,&obj0
,&obj1
)) goto fail
;
25181 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25182 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25183 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
25184 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25187 (arg1
)->MoveBeforeInTabOrder(arg2
);
25189 wxPyEndAllowThreads(__tstate
);
25190 if (PyErr_Occurred()) SWIG_fail
;
25192 Py_INCREF(Py_None
); resultobj
= Py_None
;
25199 static PyObject
*_wrap_Window_GetChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25200 PyObject
*resultobj
;
25201 wxWindow
*arg1
= (wxWindow
*) 0 ;
25203 PyObject
* obj0
= 0 ;
25204 char *kwnames
[] = {
25205 (char *) "self", NULL
25208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetChildren",kwnames
,&obj0
)) goto fail
;
25209 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25213 result
= (PyObject
*)wxWindow_GetChildren(arg1
);
25215 wxPyEndAllowThreads(__tstate
);
25216 if (PyErr_Occurred()) SWIG_fail
;
25218 resultobj
= result
;
25225 static PyObject
*_wrap_Window_GetParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25226 PyObject
*resultobj
;
25227 wxWindow
*arg1
= (wxWindow
*) 0 ;
25229 PyObject
* obj0
= 0 ;
25230 char *kwnames
[] = {
25231 (char *) "self", NULL
25234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetParent",kwnames
,&obj0
)) goto fail
;
25235 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25239 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetParent();
25241 wxPyEndAllowThreads(__tstate
);
25242 if (PyErr_Occurred()) SWIG_fail
;
25245 resultobj
= wxPyMake_wxObject(result
, 0);
25253 static PyObject
*_wrap_Window_GetGrandParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25254 PyObject
*resultobj
;
25255 wxWindow
*arg1
= (wxWindow
*) 0 ;
25257 PyObject
* obj0
= 0 ;
25258 char *kwnames
[] = {
25259 (char *) "self", NULL
25262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetGrandParent",kwnames
,&obj0
)) goto fail
;
25263 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25264 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25267 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetGrandParent();
25269 wxPyEndAllowThreads(__tstate
);
25270 if (PyErr_Occurred()) SWIG_fail
;
25273 resultobj
= wxPyMake_wxObject(result
, 0);
25281 static PyObject
*_wrap_Window_IsTopLevel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25282 PyObject
*resultobj
;
25283 wxWindow
*arg1
= (wxWindow
*) 0 ;
25285 PyObject
* obj0
= 0 ;
25286 char *kwnames
[] = {
25287 (char *) "self", NULL
25290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsTopLevel",kwnames
,&obj0
)) goto fail
;
25291 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25292 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25295 result
= (bool)((wxWindow
const *)arg1
)->IsTopLevel();
25297 wxPyEndAllowThreads(__tstate
);
25298 if (PyErr_Occurred()) SWIG_fail
;
25301 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25309 static PyObject
*_wrap_Window_Reparent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25310 PyObject
*resultobj
;
25311 wxWindow
*arg1
= (wxWindow
*) 0 ;
25312 wxWindow
*arg2
= (wxWindow
*) 0 ;
25314 PyObject
* obj0
= 0 ;
25315 PyObject
* obj1
= 0 ;
25316 char *kwnames
[] = {
25317 (char *) "self",(char *) "newParent", NULL
25320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_Reparent",kwnames
,&obj0
,&obj1
)) goto fail
;
25321 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25322 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25323 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
25324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25327 result
= (bool)(arg1
)->Reparent(arg2
);
25329 wxPyEndAllowThreads(__tstate
);
25330 if (PyErr_Occurred()) SWIG_fail
;
25333 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25341 static PyObject
*_wrap_Window_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25342 PyObject
*resultobj
;
25343 wxWindow
*arg1
= (wxWindow
*) 0 ;
25344 wxWindow
*arg2
= (wxWindow
*) 0 ;
25345 PyObject
* obj0
= 0 ;
25346 PyObject
* obj1
= 0 ;
25347 char *kwnames
[] = {
25348 (char *) "self",(char *) "child", NULL
25351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
25352 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25353 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25354 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
25355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25358 (arg1
)->AddChild(arg2
);
25360 wxPyEndAllowThreads(__tstate
);
25361 if (PyErr_Occurred()) SWIG_fail
;
25363 Py_INCREF(Py_None
); resultobj
= Py_None
;
25370 static PyObject
*_wrap_Window_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25371 PyObject
*resultobj
;
25372 wxWindow
*arg1
= (wxWindow
*) 0 ;
25373 wxWindow
*arg2
= (wxWindow
*) 0 ;
25374 PyObject
* obj0
= 0 ;
25375 PyObject
* obj1
= 0 ;
25376 char *kwnames
[] = {
25377 (char *) "self",(char *) "child", NULL
25380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
25381 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25383 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
25384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25387 (arg1
)->RemoveChild(arg2
);
25389 wxPyEndAllowThreads(__tstate
);
25390 if (PyErr_Occurred()) SWIG_fail
;
25392 Py_INCREF(Py_None
); resultobj
= Py_None
;
25399 static PyObject
*_wrap_Window_FindWindowById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25400 PyObject
*resultobj
;
25401 wxWindow
*arg1
= (wxWindow
*) 0 ;
25404 PyObject
* obj0
= 0 ;
25405 PyObject
* obj1
= 0 ;
25406 char *kwnames
[] = {
25407 (char *) "self",(char *) "winid", NULL
25410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowById",kwnames
,&obj0
,&obj1
)) goto fail
;
25411 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25413 arg2
= (long)SWIG_As_long(obj1
);
25414 if (PyErr_Occurred()) SWIG_fail
;
25416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25417 result
= (wxWindow
*)(arg1
)->FindWindow(arg2
);
25419 wxPyEndAllowThreads(__tstate
);
25420 if (PyErr_Occurred()) SWIG_fail
;
25423 resultobj
= wxPyMake_wxObject(result
, 0);
25431 static PyObject
*_wrap_Window_FindWindowByName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25432 PyObject
*resultobj
;
25433 wxWindow
*arg1
= (wxWindow
*) 0 ;
25434 wxString
*arg2
= 0 ;
25436 bool temp2
= false ;
25437 PyObject
* obj0
= 0 ;
25438 PyObject
* obj1
= 0 ;
25439 char *kwnames
[] = {
25440 (char *) "self",(char *) "name", NULL
25443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
25444 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25445 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25447 arg2
= wxString_in_helper(obj1
);
25448 if (arg2
== NULL
) SWIG_fail
;
25452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25453 result
= (wxWindow
*)(arg1
)->FindWindow((wxString
const &)*arg2
);
25455 wxPyEndAllowThreads(__tstate
);
25456 if (PyErr_Occurred()) SWIG_fail
;
25459 resultobj
= wxPyMake_wxObject(result
, 0);
25475 static PyObject
*_wrap_Window_GetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25476 PyObject
*resultobj
;
25477 wxWindow
*arg1
= (wxWindow
*) 0 ;
25478 wxEvtHandler
*result
;
25479 PyObject
* obj0
= 0 ;
25480 char *kwnames
[] = {
25481 (char *) "self", NULL
25484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetEventHandler",kwnames
,&obj0
)) goto fail
;
25485 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25486 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25489 result
= (wxEvtHandler
*)((wxWindow
const *)arg1
)->GetEventHandler();
25491 wxPyEndAllowThreads(__tstate
);
25492 if (PyErr_Occurred()) SWIG_fail
;
25495 resultobj
= wxPyMake_wxObject(result
, 0);
25503 static PyObject
*_wrap_Window_SetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25504 PyObject
*resultobj
;
25505 wxWindow
*arg1
= (wxWindow
*) 0 ;
25506 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
25507 PyObject
* obj0
= 0 ;
25508 PyObject
* obj1
= 0 ;
25509 char *kwnames
[] = {
25510 (char *) "self",(char *) "handler", NULL
25513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
25514 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25516 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
25517 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25520 (arg1
)->SetEventHandler(arg2
);
25522 wxPyEndAllowThreads(__tstate
);
25523 if (PyErr_Occurred()) SWIG_fail
;
25525 Py_INCREF(Py_None
); resultobj
= Py_None
;
25532 static PyObject
*_wrap_Window_PushEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25533 PyObject
*resultobj
;
25534 wxWindow
*arg1
= (wxWindow
*) 0 ;
25535 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
25536 PyObject
* obj0
= 0 ;
25537 PyObject
* obj1
= 0 ;
25538 char *kwnames
[] = {
25539 (char *) "self",(char *) "handler", NULL
25542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PushEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
25543 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25544 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25545 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
25546 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25549 (arg1
)->PushEventHandler(arg2
);
25551 wxPyEndAllowThreads(__tstate
);
25552 if (PyErr_Occurred()) SWIG_fail
;
25554 Py_INCREF(Py_None
); resultobj
= Py_None
;
25561 static PyObject
*_wrap_Window_PopEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25562 PyObject
*resultobj
;
25563 wxWindow
*arg1
= (wxWindow
*) 0 ;
25564 bool arg2
= (bool) false ;
25565 wxEvtHandler
*result
;
25566 PyObject
* obj0
= 0 ;
25567 PyObject
* obj1
= 0 ;
25568 char *kwnames
[] = {
25569 (char *) "self",(char *) "deleteHandler", NULL
25572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_PopEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
25573 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25574 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25576 arg2
= (bool)SWIG_As_bool(obj1
);
25577 if (PyErr_Occurred()) SWIG_fail
;
25580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25581 result
= (wxEvtHandler
*)(arg1
)->PopEventHandler(arg2
);
25583 wxPyEndAllowThreads(__tstate
);
25584 if (PyErr_Occurred()) SWIG_fail
;
25587 resultobj
= wxPyMake_wxObject(result
, 0);
25595 static PyObject
*_wrap_Window_RemoveEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25596 PyObject
*resultobj
;
25597 wxWindow
*arg1
= (wxWindow
*) 0 ;
25598 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
25600 PyObject
* obj0
= 0 ;
25601 PyObject
* obj1
= 0 ;
25602 char *kwnames
[] = {
25603 (char *) "self",(char *) "handler", NULL
25606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
25607 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25608 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25609 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
25610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25613 result
= (bool)(arg1
)->RemoveEventHandler(arg2
);
25615 wxPyEndAllowThreads(__tstate
);
25616 if (PyErr_Occurred()) SWIG_fail
;
25619 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25627 static PyObject
*_wrap_Window_SetValidator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25628 PyObject
*resultobj
;
25629 wxWindow
*arg1
= (wxWindow
*) 0 ;
25630 wxValidator
*arg2
= 0 ;
25631 PyObject
* obj0
= 0 ;
25632 PyObject
* obj1
= 0 ;
25633 char *kwnames
[] = {
25634 (char *) "self",(char *) "validator", NULL
25637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetValidator",kwnames
,&obj0
,&obj1
)) goto fail
;
25638 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25639 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25640 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxValidator
,
25641 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25643 if (arg2
== NULL
) {
25644 PyErr_SetString(PyExc_TypeError
,"null reference");
25648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25649 (arg1
)->SetValidator((wxValidator
const &)*arg2
);
25651 wxPyEndAllowThreads(__tstate
);
25652 if (PyErr_Occurred()) SWIG_fail
;
25654 Py_INCREF(Py_None
); resultobj
= Py_None
;
25661 static PyObject
*_wrap_Window_GetValidator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25662 PyObject
*resultobj
;
25663 wxWindow
*arg1
= (wxWindow
*) 0 ;
25664 wxValidator
*result
;
25665 PyObject
* obj0
= 0 ;
25666 char *kwnames
[] = {
25667 (char *) "self", NULL
25670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetValidator",kwnames
,&obj0
)) goto fail
;
25671 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25672 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25675 result
= (wxValidator
*)(arg1
)->GetValidator();
25677 wxPyEndAllowThreads(__tstate
);
25678 if (PyErr_Occurred()) SWIG_fail
;
25681 resultobj
= wxPyMake_wxObject(result
, 0);
25689 static PyObject
*_wrap_Window_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25690 PyObject
*resultobj
;
25691 wxWindow
*arg1
= (wxWindow
*) 0 ;
25693 PyObject
* obj0
= 0 ;
25694 char *kwnames
[] = {
25695 (char *) "self", NULL
25698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Validate",kwnames
,&obj0
)) goto fail
;
25699 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25700 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25703 result
= (bool)(arg1
)->Validate();
25705 wxPyEndAllowThreads(__tstate
);
25706 if (PyErr_Occurred()) SWIG_fail
;
25709 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25717 static PyObject
*_wrap_Window_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25718 PyObject
*resultobj
;
25719 wxWindow
*arg1
= (wxWindow
*) 0 ;
25721 PyObject
* obj0
= 0 ;
25722 char *kwnames
[] = {
25723 (char *) "self", NULL
25726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
25727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25731 result
= (bool)(arg1
)->TransferDataToWindow();
25733 wxPyEndAllowThreads(__tstate
);
25734 if (PyErr_Occurred()) SWIG_fail
;
25737 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25745 static PyObject
*_wrap_Window_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25746 PyObject
*resultobj
;
25747 wxWindow
*arg1
= (wxWindow
*) 0 ;
25749 PyObject
* obj0
= 0 ;
25750 char *kwnames
[] = {
25751 (char *) "self", NULL
25754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
25755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25759 result
= (bool)(arg1
)->TransferDataFromWindow();
25761 wxPyEndAllowThreads(__tstate
);
25762 if (PyErr_Occurred()) SWIG_fail
;
25765 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25773 static PyObject
*_wrap_Window_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25774 PyObject
*resultobj
;
25775 wxWindow
*arg1
= (wxWindow
*) 0 ;
25776 PyObject
* obj0
= 0 ;
25777 char *kwnames
[] = {
25778 (char *) "self", NULL
25781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InitDialog",kwnames
,&obj0
)) goto fail
;
25782 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25783 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25786 (arg1
)->InitDialog();
25788 wxPyEndAllowThreads(__tstate
);
25789 if (PyErr_Occurred()) SWIG_fail
;
25791 Py_INCREF(Py_None
); resultobj
= Py_None
;
25798 static PyObject
*_wrap_Window_SetAcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25799 PyObject
*resultobj
;
25800 wxWindow
*arg1
= (wxWindow
*) 0 ;
25801 wxAcceleratorTable
*arg2
= 0 ;
25802 PyObject
* obj0
= 0 ;
25803 PyObject
* obj1
= 0 ;
25804 char *kwnames
[] = {
25805 (char *) "self",(char *) "accel", NULL
25808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAcceleratorTable",kwnames
,&obj0
,&obj1
)) goto fail
;
25809 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25810 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25811 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxAcceleratorTable
,
25812 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25814 if (arg2
== NULL
) {
25815 PyErr_SetString(PyExc_TypeError
,"null reference");
25819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25820 (arg1
)->SetAcceleratorTable((wxAcceleratorTable
const &)*arg2
);
25822 wxPyEndAllowThreads(__tstate
);
25823 if (PyErr_Occurred()) SWIG_fail
;
25825 Py_INCREF(Py_None
); resultobj
= Py_None
;
25832 static PyObject
*_wrap_Window_GetAcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25833 PyObject
*resultobj
;
25834 wxWindow
*arg1
= (wxWindow
*) 0 ;
25835 wxAcceleratorTable
*result
;
25836 PyObject
* obj0
= 0 ;
25837 char *kwnames
[] = {
25838 (char *) "self", NULL
25841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAcceleratorTable",kwnames
,&obj0
)) goto fail
;
25842 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25846 result
= (wxAcceleratorTable
*)(arg1
)->GetAcceleratorTable();
25848 wxPyEndAllowThreads(__tstate
);
25849 if (PyErr_Occurred()) SWIG_fail
;
25851 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorTable
, 0);
25858 static PyObject
*_wrap_Window_RegisterHotKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25859 PyObject
*resultobj
;
25860 wxWindow
*arg1
= (wxWindow
*) 0 ;
25865 PyObject
* obj0
= 0 ;
25866 PyObject
* obj1
= 0 ;
25867 PyObject
* obj2
= 0 ;
25868 PyObject
* obj3
= 0 ;
25869 char *kwnames
[] = {
25870 (char *) "self",(char *) "hotkeyId",(char *) "modifiers",(char *) "keycode", NULL
25873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Window_RegisterHotKey",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25874 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25876 arg2
= (int)SWIG_As_int(obj1
);
25877 if (PyErr_Occurred()) SWIG_fail
;
25878 arg3
= (int)SWIG_As_int(obj2
);
25879 if (PyErr_Occurred()) SWIG_fail
;
25880 arg4
= (int)SWIG_As_int(obj3
);
25881 if (PyErr_Occurred()) SWIG_fail
;
25883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25884 result
= (bool)wxWindow_RegisterHotKey(arg1
,arg2
,arg3
,arg4
);
25886 wxPyEndAllowThreads(__tstate
);
25887 if (PyErr_Occurred()) SWIG_fail
;
25890 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25898 static PyObject
*_wrap_Window_UnregisterHotKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25899 PyObject
*resultobj
;
25900 wxWindow
*arg1
= (wxWindow
*) 0 ;
25903 PyObject
* obj0
= 0 ;
25904 PyObject
* obj1
= 0 ;
25905 char *kwnames
[] = {
25906 (char *) "self",(char *) "hotkeyId", NULL
25909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_UnregisterHotKey",kwnames
,&obj0
,&obj1
)) goto fail
;
25910 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25911 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25912 arg2
= (int)SWIG_As_int(obj1
);
25913 if (PyErr_Occurred()) SWIG_fail
;
25915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25916 result
= (bool)wxWindow_UnregisterHotKey(arg1
,arg2
);
25918 wxPyEndAllowThreads(__tstate
);
25919 if (PyErr_Occurred()) SWIG_fail
;
25922 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25930 static PyObject
*_wrap_Window_ConvertDialogPointToPixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25931 PyObject
*resultobj
;
25932 wxWindow
*arg1
= (wxWindow
*) 0 ;
25933 wxPoint
*arg2
= 0 ;
25936 PyObject
* obj0
= 0 ;
25937 PyObject
* obj1
= 0 ;
25938 char *kwnames
[] = {
25939 (char *) "self",(char *) "pt", NULL
25942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogPointToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
25943 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25944 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25947 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25951 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
25953 wxPyEndAllowThreads(__tstate
);
25954 if (PyErr_Occurred()) SWIG_fail
;
25957 wxPoint
* resultptr
;
25958 resultptr
= new wxPoint((wxPoint
&) result
);
25959 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
25967 static PyObject
*_wrap_Window_ConvertDialogSizeToPixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25968 PyObject
*resultobj
;
25969 wxWindow
*arg1
= (wxWindow
*) 0 ;
25973 PyObject
* obj0
= 0 ;
25974 PyObject
* obj1
= 0 ;
25975 char *kwnames
[] = {
25976 (char *) "self",(char *) "sz", NULL
25979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogSizeToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
25980 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25981 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25984 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25988 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
25990 wxPyEndAllowThreads(__tstate
);
25991 if (PyErr_Occurred()) SWIG_fail
;
25994 wxSize
* resultptr
;
25995 resultptr
= new wxSize((wxSize
&) result
);
25996 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26004 static PyObject
*_wrap_Window_DLG_PNT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26005 PyObject
*resultobj
;
26006 wxWindow
*arg1
= (wxWindow
*) 0 ;
26007 wxPoint
*arg2
= 0 ;
26010 PyObject
* obj0
= 0 ;
26011 PyObject
* obj1
= 0 ;
26012 char *kwnames
[] = {
26013 (char *) "self",(char *) "pt", NULL
26016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_PNT",kwnames
,&obj0
,&obj1
)) goto fail
;
26017 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26021 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26025 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
26027 wxPyEndAllowThreads(__tstate
);
26028 if (PyErr_Occurred()) SWIG_fail
;
26031 wxPoint
* resultptr
;
26032 resultptr
= new wxPoint((wxPoint
&) result
);
26033 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
26041 static PyObject
*_wrap_Window_DLG_SZE(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26042 PyObject
*resultobj
;
26043 wxWindow
*arg1
= (wxWindow
*) 0 ;
26047 PyObject
* obj0
= 0 ;
26048 PyObject
* obj1
= 0 ;
26049 char *kwnames
[] = {
26050 (char *) "self",(char *) "sz", NULL
26053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_SZE",kwnames
,&obj0
,&obj1
)) goto fail
;
26054 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26055 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26058 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
26061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26062 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
26064 wxPyEndAllowThreads(__tstate
);
26065 if (PyErr_Occurred()) SWIG_fail
;
26068 wxSize
* resultptr
;
26069 resultptr
= new wxSize((wxSize
&) result
);
26070 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26078 static PyObject
*_wrap_Window_ConvertPixelPointToDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26079 PyObject
*resultobj
;
26080 wxWindow
*arg1
= (wxWindow
*) 0 ;
26081 wxPoint
*arg2
= 0 ;
26084 PyObject
* obj0
= 0 ;
26085 PyObject
* obj1
= 0 ;
26086 char *kwnames
[] = {
26087 (char *) "self",(char *) "pt", NULL
26090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelPointToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
26091 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26095 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26099 result
= (arg1
)->ConvertPixelsToDialog((wxPoint
const &)*arg2
);
26101 wxPyEndAllowThreads(__tstate
);
26102 if (PyErr_Occurred()) SWIG_fail
;
26105 wxPoint
* resultptr
;
26106 resultptr
= new wxPoint((wxPoint
&) result
);
26107 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
26115 static PyObject
*_wrap_Window_ConvertPixelSizeToDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26116 PyObject
*resultobj
;
26117 wxWindow
*arg1
= (wxWindow
*) 0 ;
26121 PyObject
* obj0
= 0 ;
26122 PyObject
* obj1
= 0 ;
26123 char *kwnames
[] = {
26124 (char *) "self",(char *) "sz", NULL
26127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelSizeToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
26128 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26132 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
26135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26136 result
= (arg1
)->ConvertPixelsToDialog((wxSize
const &)*arg2
);
26138 wxPyEndAllowThreads(__tstate
);
26139 if (PyErr_Occurred()) SWIG_fail
;
26142 wxSize
* resultptr
;
26143 resultptr
= new wxSize((wxSize
&) result
);
26144 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26152 static PyObject
*_wrap_Window_WarpPointer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26153 PyObject
*resultobj
;
26154 wxWindow
*arg1
= (wxWindow
*) 0 ;
26157 PyObject
* obj0
= 0 ;
26158 PyObject
* obj1
= 0 ;
26159 PyObject
* obj2
= 0 ;
26160 char *kwnames
[] = {
26161 (char *) "self",(char *) "x",(char *) "y", NULL
26164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_WarpPointer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26165 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26166 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26167 arg2
= (int)SWIG_As_int(obj1
);
26168 if (PyErr_Occurred()) SWIG_fail
;
26169 arg3
= (int)SWIG_As_int(obj2
);
26170 if (PyErr_Occurred()) SWIG_fail
;
26172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26173 (arg1
)->WarpPointer(arg2
,arg3
);
26175 wxPyEndAllowThreads(__tstate
);
26176 if (PyErr_Occurred()) SWIG_fail
;
26178 Py_INCREF(Py_None
); resultobj
= Py_None
;
26185 static PyObject
*_wrap_Window_CaptureMouse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26186 PyObject
*resultobj
;
26187 wxWindow
*arg1
= (wxWindow
*) 0 ;
26188 PyObject
* obj0
= 0 ;
26189 char *kwnames
[] = {
26190 (char *) "self", NULL
26193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_CaptureMouse",kwnames
,&obj0
)) goto fail
;
26194 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26195 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26198 (arg1
)->CaptureMouse();
26200 wxPyEndAllowThreads(__tstate
);
26201 if (PyErr_Occurred()) SWIG_fail
;
26203 Py_INCREF(Py_None
); resultobj
= Py_None
;
26210 static PyObject
*_wrap_Window_ReleaseMouse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26211 PyObject
*resultobj
;
26212 wxWindow
*arg1
= (wxWindow
*) 0 ;
26213 PyObject
* obj0
= 0 ;
26214 char *kwnames
[] = {
26215 (char *) "self", NULL
26218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ReleaseMouse",kwnames
,&obj0
)) goto fail
;
26219 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26220 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26223 (arg1
)->ReleaseMouse();
26225 wxPyEndAllowThreads(__tstate
);
26226 if (PyErr_Occurred()) SWIG_fail
;
26228 Py_INCREF(Py_None
); resultobj
= Py_None
;
26235 static PyObject
*_wrap_Window_GetCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26236 PyObject
*resultobj
;
26238 char *kwnames
[] = {
26242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_GetCapture",kwnames
)) goto fail
;
26244 if (!wxPyCheckForApp()) SWIG_fail
;
26245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26246 result
= (wxWindow
*)wxWindow::GetCapture();
26248 wxPyEndAllowThreads(__tstate
);
26249 if (PyErr_Occurred()) SWIG_fail
;
26252 resultobj
= wxPyMake_wxObject(result
, 0);
26260 static PyObject
*_wrap_Window_HasCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26261 PyObject
*resultobj
;
26262 wxWindow
*arg1
= (wxWindow
*) 0 ;
26264 PyObject
* obj0
= 0 ;
26265 char *kwnames
[] = {
26266 (char *) "self", NULL
26269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_HasCapture",kwnames
,&obj0
)) goto fail
;
26270 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26271 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26274 result
= (bool)((wxWindow
const *)arg1
)->HasCapture();
26276 wxPyEndAllowThreads(__tstate
);
26277 if (PyErr_Occurred()) SWIG_fail
;
26280 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26288 static PyObject
*_wrap_Window_Refresh(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26289 PyObject
*resultobj
;
26290 wxWindow
*arg1
= (wxWindow
*) 0 ;
26291 bool arg2
= (bool) true ;
26292 wxRect
*arg3
= (wxRect
*) NULL
;
26293 PyObject
* obj0
= 0 ;
26294 PyObject
* obj1
= 0 ;
26295 PyObject
* obj2
= 0 ;
26296 char *kwnames
[] = {
26297 (char *) "self",(char *) "eraseBackground",(char *) "rect", NULL
26300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Window_Refresh",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26301 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26302 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26304 arg2
= (bool)SWIG_As_bool(obj1
);
26305 if (PyErr_Occurred()) SWIG_fail
;
26308 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxRect
,
26309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26313 (arg1
)->Refresh(arg2
,(wxRect
const *)arg3
);
26315 wxPyEndAllowThreads(__tstate
);
26316 if (PyErr_Occurred()) SWIG_fail
;
26318 Py_INCREF(Py_None
); resultobj
= Py_None
;
26325 static PyObject
*_wrap_Window_RefreshRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26326 PyObject
*resultobj
;
26327 wxWindow
*arg1
= (wxWindow
*) 0 ;
26330 PyObject
* obj0
= 0 ;
26331 PyObject
* obj1
= 0 ;
26332 char *kwnames
[] = {
26333 (char *) "self",(char *) "rect", NULL
26336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RefreshRect",kwnames
,&obj0
,&obj1
)) goto fail
;
26337 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26341 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
26344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26345 (arg1
)->RefreshRect((wxRect
const &)*arg2
);
26347 wxPyEndAllowThreads(__tstate
);
26348 if (PyErr_Occurred()) SWIG_fail
;
26350 Py_INCREF(Py_None
); resultobj
= Py_None
;
26357 static PyObject
*_wrap_Window_Update(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26358 PyObject
*resultobj
;
26359 wxWindow
*arg1
= (wxWindow
*) 0 ;
26360 PyObject
* obj0
= 0 ;
26361 char *kwnames
[] = {
26362 (char *) "self", NULL
26365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Update",kwnames
,&obj0
)) goto fail
;
26366 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26367 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26372 wxPyEndAllowThreads(__tstate
);
26373 if (PyErr_Occurred()) SWIG_fail
;
26375 Py_INCREF(Py_None
); resultobj
= Py_None
;
26382 static PyObject
*_wrap_Window_ClearBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26383 PyObject
*resultobj
;
26384 wxWindow
*arg1
= (wxWindow
*) 0 ;
26385 PyObject
* obj0
= 0 ;
26386 char *kwnames
[] = {
26387 (char *) "self", NULL
26390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ClearBackground",kwnames
,&obj0
)) goto fail
;
26391 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26395 (arg1
)->ClearBackground();
26397 wxPyEndAllowThreads(__tstate
);
26398 if (PyErr_Occurred()) SWIG_fail
;
26400 Py_INCREF(Py_None
); resultobj
= Py_None
;
26407 static PyObject
*_wrap_Window_Freeze(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26408 PyObject
*resultobj
;
26409 wxWindow
*arg1
= (wxWindow
*) 0 ;
26410 PyObject
* obj0
= 0 ;
26411 char *kwnames
[] = {
26412 (char *) "self", NULL
26415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Freeze",kwnames
,&obj0
)) goto fail
;
26416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26422 wxPyEndAllowThreads(__tstate
);
26423 if (PyErr_Occurred()) SWIG_fail
;
26425 Py_INCREF(Py_None
); resultobj
= Py_None
;
26432 static PyObject
*_wrap_Window_Thaw(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26433 PyObject
*resultobj
;
26434 wxWindow
*arg1
= (wxWindow
*) 0 ;
26435 PyObject
* obj0
= 0 ;
26436 char *kwnames
[] = {
26437 (char *) "self", NULL
26440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Thaw",kwnames
,&obj0
)) goto fail
;
26441 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26442 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26447 wxPyEndAllowThreads(__tstate
);
26448 if (PyErr_Occurred()) SWIG_fail
;
26450 Py_INCREF(Py_None
); resultobj
= Py_None
;
26457 static PyObject
*_wrap_Window_PrepareDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26458 PyObject
*resultobj
;
26459 wxWindow
*arg1
= (wxWindow
*) 0 ;
26461 PyObject
* obj0
= 0 ;
26462 PyObject
* obj1
= 0 ;
26463 char *kwnames
[] = {
26464 (char *) "self",(char *) "dc", NULL
26467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PrepareDC",kwnames
,&obj0
,&obj1
)) goto fail
;
26468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26470 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
26471 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26473 if (arg2
== NULL
) {
26474 PyErr_SetString(PyExc_TypeError
,"null reference");
26478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26479 (arg1
)->PrepareDC(*arg2
);
26481 wxPyEndAllowThreads(__tstate
);
26482 if (PyErr_Occurred()) SWIG_fail
;
26484 Py_INCREF(Py_None
); resultobj
= Py_None
;
26491 static PyObject
*_wrap_Window_GetUpdateRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26492 PyObject
*resultobj
;
26493 wxWindow
*arg1
= (wxWindow
*) 0 ;
26495 PyObject
* obj0
= 0 ;
26496 char *kwnames
[] = {
26497 (char *) "self", NULL
26500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateRegion",kwnames
,&obj0
)) goto fail
;
26501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26506 wxRegion
&_result_ref
= (arg1
)->GetUpdateRegion();
26507 result
= (wxRegion
*) &_result_ref
;
26510 wxPyEndAllowThreads(__tstate
);
26511 if (PyErr_Occurred()) SWIG_fail
;
26513 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 0);
26520 static PyObject
*_wrap_Window_GetUpdateClientRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26521 PyObject
*resultobj
;
26522 wxWindow
*arg1
= (wxWindow
*) 0 ;
26524 PyObject
* obj0
= 0 ;
26525 char *kwnames
[] = {
26526 (char *) "self", NULL
26529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateClientRect",kwnames
,&obj0
)) goto fail
;
26530 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26534 result
= ((wxWindow
const *)arg1
)->GetUpdateClientRect();
26536 wxPyEndAllowThreads(__tstate
);
26537 if (PyErr_Occurred()) SWIG_fail
;
26540 wxRect
* resultptr
;
26541 resultptr
= new wxRect((wxRect
&) result
);
26542 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
26550 static PyObject
*_wrap_Window_IsExposed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26551 PyObject
*resultobj
;
26552 wxWindow
*arg1
= (wxWindow
*) 0 ;
26555 int arg4
= (int) 1 ;
26556 int arg5
= (int) 1 ;
26558 PyObject
* obj0
= 0 ;
26559 PyObject
* obj1
= 0 ;
26560 PyObject
* obj2
= 0 ;
26561 PyObject
* obj3
= 0 ;
26562 PyObject
* obj4
= 0 ;
26563 char *kwnames
[] = {
26564 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
26567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Window_IsExposed",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
26568 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26570 arg2
= (int)SWIG_As_int(obj1
);
26571 if (PyErr_Occurred()) SWIG_fail
;
26572 arg3
= (int)SWIG_As_int(obj2
);
26573 if (PyErr_Occurred()) SWIG_fail
;
26575 arg4
= (int)SWIG_As_int(obj3
);
26576 if (PyErr_Occurred()) SWIG_fail
;
26579 arg5
= (int)SWIG_As_int(obj4
);
26580 if (PyErr_Occurred()) SWIG_fail
;
26583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26584 result
= (bool)((wxWindow
const *)arg1
)->IsExposed(arg2
,arg3
,arg4
,arg5
);
26586 wxPyEndAllowThreads(__tstate
);
26587 if (PyErr_Occurred()) SWIG_fail
;
26590 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26598 static PyObject
*_wrap_Window_IsExposedPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26599 PyObject
*resultobj
;
26600 wxWindow
*arg1
= (wxWindow
*) 0 ;
26601 wxPoint
*arg2
= 0 ;
26604 PyObject
* obj0
= 0 ;
26605 PyObject
* obj1
= 0 ;
26606 char *kwnames
[] = {
26607 (char *) "self",(char *) "pt", NULL
26610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
26611 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26612 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26615 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26619 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxPoint
const &)*arg2
);
26621 wxPyEndAllowThreads(__tstate
);
26622 if (PyErr_Occurred()) SWIG_fail
;
26625 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26633 static PyObject
*_wrap_Window_IsExposedRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26634 PyObject
*resultobj
;
26635 wxWindow
*arg1
= (wxWindow
*) 0 ;
26639 PyObject
* obj0
= 0 ;
26640 PyObject
* obj1
= 0 ;
26641 char *kwnames
[] = {
26642 (char *) "self",(char *) "rect", NULL
26645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedRect",kwnames
,&obj0
,&obj1
)) goto fail
;
26646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26650 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
26653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26654 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxRect
const &)*arg2
);
26656 wxPyEndAllowThreads(__tstate
);
26657 if (PyErr_Occurred()) SWIG_fail
;
26660 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26668 static PyObject
*_wrap_Window_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26669 PyObject
*resultobj
;
26670 wxWindow
*arg1
= (wxWindow
*) 0 ;
26671 wxVisualAttributes result
;
26672 PyObject
* obj0
= 0 ;
26673 char *kwnames
[] = {
26674 (char *) "self", NULL
26677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
26678 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26679 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26682 result
= ((wxWindow
const *)arg1
)->GetDefaultAttributes();
26684 wxPyEndAllowThreads(__tstate
);
26685 if (PyErr_Occurred()) SWIG_fail
;
26688 wxVisualAttributes
* resultptr
;
26689 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
26690 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
26698 static PyObject
*_wrap_Window_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26699 PyObject
*resultobj
;
26700 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
26701 wxVisualAttributes result
;
26702 PyObject
* obj0
= 0 ;
26703 char *kwnames
[] = {
26704 (char *) "variant", NULL
26707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Window_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
26709 arg1
= (int)SWIG_As_int(obj0
);
26710 if (PyErr_Occurred()) SWIG_fail
;
26713 if (!wxPyCheckForApp()) SWIG_fail
;
26714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26715 result
= wxWindow::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
26717 wxPyEndAllowThreads(__tstate
);
26718 if (PyErr_Occurred()) SWIG_fail
;
26721 wxVisualAttributes
* resultptr
;
26722 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
26723 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
26731 static PyObject
*_wrap_Window_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26732 PyObject
*resultobj
;
26733 wxWindow
*arg1
= (wxWindow
*) 0 ;
26734 wxColour
*arg2
= 0 ;
26737 PyObject
* obj0
= 0 ;
26738 PyObject
* obj1
= 0 ;
26739 char *kwnames
[] = {
26740 (char *) "self",(char *) "colour", NULL
26743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
26744 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26745 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26748 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26752 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
26754 wxPyEndAllowThreads(__tstate
);
26755 if (PyErr_Occurred()) SWIG_fail
;
26758 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26766 static PyObject
*_wrap_Window_SetOwnBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26767 PyObject
*resultobj
;
26768 wxWindow
*arg1
= (wxWindow
*) 0 ;
26769 wxColour
*arg2
= 0 ;
26771 PyObject
* obj0
= 0 ;
26772 PyObject
* obj1
= 0 ;
26773 char *kwnames
[] = {
26774 (char *) "self",(char *) "colour", NULL
26777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
26778 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26779 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26782 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26786 (arg1
)->SetOwnBackgroundColour((wxColour
const &)*arg2
);
26788 wxPyEndAllowThreads(__tstate
);
26789 if (PyErr_Occurred()) SWIG_fail
;
26791 Py_INCREF(Py_None
); resultobj
= Py_None
;
26798 static PyObject
*_wrap_Window_SetForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26799 PyObject
*resultobj
;
26800 wxWindow
*arg1
= (wxWindow
*) 0 ;
26801 wxColour
*arg2
= 0 ;
26804 PyObject
* obj0
= 0 ;
26805 PyObject
* obj1
= 0 ;
26806 char *kwnames
[] = {
26807 (char *) "self",(char *) "colour", NULL
26810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
26811 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26812 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26815 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26819 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
26821 wxPyEndAllowThreads(__tstate
);
26822 if (PyErr_Occurred()) SWIG_fail
;
26825 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26833 static PyObject
*_wrap_Window_SetOwnForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26834 PyObject
*resultobj
;
26835 wxWindow
*arg1
= (wxWindow
*) 0 ;
26836 wxColour
*arg2
= 0 ;
26838 PyObject
* obj0
= 0 ;
26839 PyObject
* obj1
= 0 ;
26840 char *kwnames
[] = {
26841 (char *) "self",(char *) "colour", NULL
26844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
26845 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26849 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26853 (arg1
)->SetOwnForegroundColour((wxColour
const &)*arg2
);
26855 wxPyEndAllowThreads(__tstate
);
26856 if (PyErr_Occurred()) SWIG_fail
;
26858 Py_INCREF(Py_None
); resultobj
= Py_None
;
26865 static PyObject
*_wrap_Window_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26866 PyObject
*resultobj
;
26867 wxWindow
*arg1
= (wxWindow
*) 0 ;
26869 PyObject
* obj0
= 0 ;
26870 char *kwnames
[] = {
26871 (char *) "self", NULL
26874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
26875 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26876 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26879 result
= ((wxWindow
const *)arg1
)->GetBackgroundColour();
26881 wxPyEndAllowThreads(__tstate
);
26882 if (PyErr_Occurred()) SWIG_fail
;
26885 wxColour
* resultptr
;
26886 resultptr
= new wxColour((wxColour
&) result
);
26887 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
26895 static PyObject
*_wrap_Window_GetForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26896 PyObject
*resultobj
;
26897 wxWindow
*arg1
= (wxWindow
*) 0 ;
26899 PyObject
* obj0
= 0 ;
26900 char *kwnames
[] = {
26901 (char *) "self", NULL
26904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetForegroundColour",kwnames
,&obj0
)) goto fail
;
26905 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26906 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26909 result
= ((wxWindow
const *)arg1
)->GetForegroundColour();
26911 wxPyEndAllowThreads(__tstate
);
26912 if (PyErr_Occurred()) SWIG_fail
;
26915 wxColour
* resultptr
;
26916 resultptr
= new wxColour((wxColour
&) result
);
26917 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
26925 static PyObject
*_wrap_Window_SetBackgroundStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26926 PyObject
*resultobj
;
26927 wxWindow
*arg1
= (wxWindow
*) 0 ;
26930 PyObject
* obj0
= 0 ;
26931 PyObject
* obj1
= 0 ;
26932 char *kwnames
[] = {
26933 (char *) "self",(char *) "style", NULL
26936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetBackgroundStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
26937 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26938 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26939 arg2
= (int)SWIG_As_int(obj1
);
26940 if (PyErr_Occurred()) SWIG_fail
;
26942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26943 result
= (bool)(arg1
)->SetBackgroundStyle((wxBackgroundStyle
)arg2
);
26945 wxPyEndAllowThreads(__tstate
);
26946 if (PyErr_Occurred()) SWIG_fail
;
26949 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26957 static PyObject
*_wrap_Window_GetBackgroundStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26958 PyObject
*resultobj
;
26959 wxWindow
*arg1
= (wxWindow
*) 0 ;
26961 PyObject
* obj0
= 0 ;
26962 char *kwnames
[] = {
26963 (char *) "self", NULL
26966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBackgroundStyle",kwnames
,&obj0
)) goto fail
;
26967 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26968 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26971 result
= (int)((wxWindow
const *)arg1
)->GetBackgroundStyle();
26973 wxPyEndAllowThreads(__tstate
);
26974 if (PyErr_Occurred()) SWIG_fail
;
26976 resultobj
= SWIG_From_int((int)result
);
26983 static PyObject
*_wrap_Window_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26984 PyObject
*resultobj
;
26985 wxWindow
*arg1
= (wxWindow
*) 0 ;
26986 wxCursor
*arg2
= 0 ;
26988 PyObject
* obj0
= 0 ;
26989 PyObject
* obj1
= 0 ;
26990 char *kwnames
[] = {
26991 (char *) "self",(char *) "cursor", NULL
26994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
26995 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26996 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26997 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
26998 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27000 if (arg2
== NULL
) {
27001 PyErr_SetString(PyExc_TypeError
,"null reference");
27005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27006 result
= (bool)(arg1
)->SetCursor((wxCursor
const &)*arg2
);
27008 wxPyEndAllowThreads(__tstate
);
27009 if (PyErr_Occurred()) SWIG_fail
;
27012 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27020 static PyObject
*_wrap_Window_GetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27021 PyObject
*resultobj
;
27022 wxWindow
*arg1
= (wxWindow
*) 0 ;
27024 PyObject
* obj0
= 0 ;
27025 char *kwnames
[] = {
27026 (char *) "self", NULL
27029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCursor",kwnames
,&obj0
)) goto fail
;
27030 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27031 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27034 result
= (arg1
)->GetCursor();
27036 wxPyEndAllowThreads(__tstate
);
27037 if (PyErr_Occurred()) SWIG_fail
;
27040 wxCursor
* resultptr
;
27041 resultptr
= new wxCursor((wxCursor
&) result
);
27042 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxCursor
, 1);
27050 static PyObject
*_wrap_Window_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27051 PyObject
*resultobj
;
27052 wxWindow
*arg1
= (wxWindow
*) 0 ;
27055 PyObject
* obj0
= 0 ;
27056 PyObject
* obj1
= 0 ;
27057 char *kwnames
[] = {
27058 (char *) "self",(char *) "font", NULL
27061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
27062 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27063 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27064 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
27065 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27067 if (arg2
== NULL
) {
27068 PyErr_SetString(PyExc_TypeError
,"null reference");
27072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27073 result
= (bool)(arg1
)->SetFont((wxFont
const &)*arg2
);
27075 wxPyEndAllowThreads(__tstate
);
27076 if (PyErr_Occurred()) SWIG_fail
;
27079 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27087 static PyObject
*_wrap_Window_SetOwnFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27088 PyObject
*resultobj
;
27089 wxWindow
*arg1
= (wxWindow
*) 0 ;
27091 PyObject
* obj0
= 0 ;
27092 PyObject
* obj1
= 0 ;
27093 char *kwnames
[] = {
27094 (char *) "self",(char *) "font", NULL
27097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnFont",kwnames
,&obj0
,&obj1
)) goto fail
;
27098 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27100 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
27101 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27103 if (arg2
== NULL
) {
27104 PyErr_SetString(PyExc_TypeError
,"null reference");
27108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27109 (arg1
)->SetOwnFont((wxFont
const &)*arg2
);
27111 wxPyEndAllowThreads(__tstate
);
27112 if (PyErr_Occurred()) SWIG_fail
;
27114 Py_INCREF(Py_None
); resultobj
= Py_None
;
27121 static PyObject
*_wrap_Window_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27122 PyObject
*resultobj
;
27123 wxWindow
*arg1
= (wxWindow
*) 0 ;
27125 PyObject
* obj0
= 0 ;
27126 char *kwnames
[] = {
27127 (char *) "self", NULL
27130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetFont",kwnames
,&obj0
)) goto fail
;
27131 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27132 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27135 result
= (arg1
)->GetFont();
27137 wxPyEndAllowThreads(__tstate
);
27138 if (PyErr_Occurred()) SWIG_fail
;
27141 wxFont
* resultptr
;
27142 resultptr
= new wxFont((wxFont
&) result
);
27143 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
27151 static PyObject
*_wrap_Window_SetCaret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27152 PyObject
*resultobj
;
27153 wxWindow
*arg1
= (wxWindow
*) 0 ;
27154 wxCaret
*arg2
= (wxCaret
*) 0 ;
27155 PyObject
* obj0
= 0 ;
27156 PyObject
* obj1
= 0 ;
27157 char *kwnames
[] = {
27158 (char *) "self",(char *) "caret", NULL
27161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCaret",kwnames
,&obj0
,&obj1
)) goto fail
;
27162 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27164 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCaret
,
27165 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27168 (arg1
)->SetCaret(arg2
);
27170 wxPyEndAllowThreads(__tstate
);
27171 if (PyErr_Occurred()) SWIG_fail
;
27173 Py_INCREF(Py_None
); resultobj
= Py_None
;
27180 static PyObject
*_wrap_Window_GetCaret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27181 PyObject
*resultobj
;
27182 wxWindow
*arg1
= (wxWindow
*) 0 ;
27184 PyObject
* obj0
= 0 ;
27185 char *kwnames
[] = {
27186 (char *) "self", NULL
27189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCaret",kwnames
,&obj0
)) goto fail
;
27190 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27194 result
= (wxCaret
*)((wxWindow
const *)arg1
)->GetCaret();
27196 wxPyEndAllowThreads(__tstate
);
27197 if (PyErr_Occurred()) SWIG_fail
;
27199 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCaret
, 0);
27206 static PyObject
*_wrap_Window_GetCharHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27207 PyObject
*resultobj
;
27208 wxWindow
*arg1
= (wxWindow
*) 0 ;
27210 PyObject
* obj0
= 0 ;
27211 char *kwnames
[] = {
27212 (char *) "self", NULL
27215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharHeight",kwnames
,&obj0
)) goto fail
;
27216 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27217 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27220 result
= (int)((wxWindow
const *)arg1
)->GetCharHeight();
27222 wxPyEndAllowThreads(__tstate
);
27223 if (PyErr_Occurred()) SWIG_fail
;
27225 resultobj
= SWIG_From_int((int)result
);
27232 static PyObject
*_wrap_Window_GetCharWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27233 PyObject
*resultobj
;
27234 wxWindow
*arg1
= (wxWindow
*) 0 ;
27236 PyObject
* obj0
= 0 ;
27237 char *kwnames
[] = {
27238 (char *) "self", NULL
27241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharWidth",kwnames
,&obj0
)) goto fail
;
27242 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27243 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27246 result
= (int)((wxWindow
const *)arg1
)->GetCharWidth();
27248 wxPyEndAllowThreads(__tstate
);
27249 if (PyErr_Occurred()) SWIG_fail
;
27251 resultobj
= SWIG_From_int((int)result
);
27258 static PyObject
*_wrap_Window_GetTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27259 PyObject
*resultobj
;
27260 wxWindow
*arg1
= (wxWindow
*) 0 ;
27261 wxString
*arg2
= 0 ;
27262 int *arg3
= (int *) 0 ;
27263 int *arg4
= (int *) 0 ;
27264 bool temp2
= false ;
27269 PyObject
* obj0
= 0 ;
27270 PyObject
* obj1
= 0 ;
27271 char *kwnames
[] = {
27272 (char *) "self",(char *) "string", NULL
27275 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
27276 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
27277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetTextExtent",kwnames
,&obj0
,&obj1
)) goto fail
;
27278 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27279 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27281 arg2
= wxString_in_helper(obj1
);
27282 if (arg2
== NULL
) SWIG_fail
;
27286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27287 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
27289 wxPyEndAllowThreads(__tstate
);
27290 if (PyErr_Occurred()) SWIG_fail
;
27292 Py_INCREF(Py_None
); resultobj
= Py_None
;
27293 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
27294 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
27295 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
27296 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
27311 static PyObject
*_wrap_Window_GetFullTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27312 PyObject
*resultobj
;
27313 wxWindow
*arg1
= (wxWindow
*) 0 ;
27314 wxString
*arg2
= 0 ;
27315 int *arg3
= (int *) 0 ;
27316 int *arg4
= (int *) 0 ;
27317 int *arg5
= (int *) 0 ;
27318 int *arg6
= (int *) 0 ;
27319 wxFont
*arg7
= (wxFont
*) NULL
;
27320 bool temp2
= false ;
27329 PyObject
* obj0
= 0 ;
27330 PyObject
* obj1
= 0 ;
27331 PyObject
* obj2
= 0 ;
27332 char *kwnames
[] = {
27333 (char *) "self",(char *) "string",(char *) "font", NULL
27336 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
27337 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
27338 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
27339 arg6
= &temp6
; res6
= SWIG_NEWOBJ
;
27340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27341 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27344 arg2
= wxString_in_helper(obj1
);
27345 if (arg2
== NULL
) SWIG_fail
;
27349 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg7
),SWIGTYPE_p_wxFont
,
27350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27354 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,(wxFont
const *)arg7
);
27356 wxPyEndAllowThreads(__tstate
);
27357 if (PyErr_Occurred()) SWIG_fail
;
27359 Py_INCREF(Py_None
); resultobj
= Py_None
;
27360 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
27361 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
27362 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
27363 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
27364 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
27365 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
27366 resultobj
= t_output_helper(resultobj
, ((res6
== SWIG_NEWOBJ
) ?
27367 SWIG_From_int((*arg6
)) : SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_int
, 0)));
27382 static PyObject
*_wrap_Window_ClientToScreenXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27383 PyObject
*resultobj
;
27384 wxWindow
*arg1
= (wxWindow
*) 0 ;
27385 int *arg2
= (int *) 0 ;
27386 int *arg3
= (int *) 0 ;
27391 PyObject
* obj0
= 0 ;
27392 PyObject
* obj1
= 0 ;
27393 PyObject
* obj2
= 0 ;
27394 char *kwnames
[] = {
27395 (char *) "self",(char *) "x",(char *) "y", NULL
27398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ClientToScreenXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27399 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27402 if (!(SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_int
,0) != -1)) {
27403 temp2
= SWIG_As_int(obj1
);
27404 if (PyErr_Occurred()) SWIG_fail
;
27406 res2
= SWIG_NEWOBJ
;
27410 if (!(SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_int
,0) != -1)) {
27411 temp3
= SWIG_As_int(obj2
);
27412 if (PyErr_Occurred()) SWIG_fail
;
27414 res3
= SWIG_NEWOBJ
;
27418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27419 ((wxWindow
const *)arg1
)->ClientToScreen(arg2
,arg3
);
27421 wxPyEndAllowThreads(__tstate
);
27422 if (PyErr_Occurred()) SWIG_fail
;
27424 Py_INCREF(Py_None
); resultobj
= Py_None
;
27425 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
27426 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
27427 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
27428 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
27435 static PyObject
*_wrap_Window_ScreenToClientXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27436 PyObject
*resultobj
;
27437 wxWindow
*arg1
= (wxWindow
*) 0 ;
27438 int *arg2
= (int *) 0 ;
27439 int *arg3
= (int *) 0 ;
27444 PyObject
* obj0
= 0 ;
27445 PyObject
* obj1
= 0 ;
27446 PyObject
* obj2
= 0 ;
27447 char *kwnames
[] = {
27448 (char *) "self",(char *) "x",(char *) "y", NULL
27451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ScreenToClientXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27452 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27453 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27455 if (!(SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_int
,0) != -1)) {
27456 temp2
= SWIG_As_int(obj1
);
27457 if (PyErr_Occurred()) SWIG_fail
;
27459 res2
= SWIG_NEWOBJ
;
27463 if (!(SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_int
,0) != -1)) {
27464 temp3
= SWIG_As_int(obj2
);
27465 if (PyErr_Occurred()) SWIG_fail
;
27467 res3
= SWIG_NEWOBJ
;
27471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27472 ((wxWindow
const *)arg1
)->ScreenToClient(arg2
,arg3
);
27474 wxPyEndAllowThreads(__tstate
);
27475 if (PyErr_Occurred()) SWIG_fail
;
27477 Py_INCREF(Py_None
); resultobj
= Py_None
;
27478 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
27479 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
27480 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
27481 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
27488 static PyObject
*_wrap_Window_ClientToScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27489 PyObject
*resultobj
;
27490 wxWindow
*arg1
= (wxWindow
*) 0 ;
27491 wxPoint
*arg2
= 0 ;
27494 PyObject
* obj0
= 0 ;
27495 PyObject
* obj1
= 0 ;
27496 char *kwnames
[] = {
27497 (char *) "self",(char *) "pt", NULL
27500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ClientToScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
27501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27505 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
27508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27509 result
= ((wxWindow
const *)arg1
)->ClientToScreen((wxPoint
const &)*arg2
);
27511 wxPyEndAllowThreads(__tstate
);
27512 if (PyErr_Occurred()) SWIG_fail
;
27515 wxPoint
* resultptr
;
27516 resultptr
= new wxPoint((wxPoint
&) result
);
27517 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
27525 static PyObject
*_wrap_Window_ScreenToClient(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27526 PyObject
*resultobj
;
27527 wxWindow
*arg1
= (wxWindow
*) 0 ;
27528 wxPoint
*arg2
= 0 ;
27531 PyObject
* obj0
= 0 ;
27532 PyObject
* obj1
= 0 ;
27533 char *kwnames
[] = {
27534 (char *) "self",(char *) "pt", NULL
27537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScreenToClient",kwnames
,&obj0
,&obj1
)) goto fail
;
27538 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27539 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27542 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
27545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27546 result
= ((wxWindow
const *)arg1
)->ScreenToClient((wxPoint
const &)*arg2
);
27548 wxPyEndAllowThreads(__tstate
);
27549 if (PyErr_Occurred()) SWIG_fail
;
27552 wxPoint
* resultptr
;
27553 resultptr
= new wxPoint((wxPoint
&) result
);
27554 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
27562 static PyObject
*_wrap_Window_HitTestXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27563 PyObject
*resultobj
;
27564 wxWindow
*arg1
= (wxWindow
*) 0 ;
27568 PyObject
* obj0
= 0 ;
27569 PyObject
* obj1
= 0 ;
27570 PyObject
* obj2
= 0 ;
27571 char *kwnames
[] = {
27572 (char *) "self",(char *) "x",(char *) "y", NULL
27575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27576 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27578 arg2
= (int)SWIG_As_int(obj1
);
27579 if (PyErr_Occurred()) SWIG_fail
;
27580 arg3
= (int)SWIG_As_int(obj2
);
27581 if (PyErr_Occurred()) SWIG_fail
;
27583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27584 result
= (int)((wxWindow
const *)arg1
)->HitTest(arg2
,arg3
);
27586 wxPyEndAllowThreads(__tstate
);
27587 if (PyErr_Occurred()) SWIG_fail
;
27589 resultobj
= SWIG_From_int((int)result
);
27596 static PyObject
*_wrap_Window_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27597 PyObject
*resultobj
;
27598 wxWindow
*arg1
= (wxWindow
*) 0 ;
27599 wxPoint
*arg2
= 0 ;
27602 PyObject
* obj0
= 0 ;
27603 PyObject
* obj1
= 0 ;
27604 char *kwnames
[] = {
27605 (char *) "self",(char *) "pt", NULL
27608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
27609 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27613 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
27616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27617 result
= (int)((wxWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
27619 wxPyEndAllowThreads(__tstate
);
27620 if (PyErr_Occurred()) SWIG_fail
;
27622 resultobj
= SWIG_From_int((int)result
);
27629 static PyObject
*_wrap_Window_GetBorder__SWIG_0(PyObject
*, PyObject
*args
) {
27630 PyObject
*resultobj
;
27631 wxWindow
*arg1
= (wxWindow
*) 0 ;
27634 PyObject
* obj0
= 0 ;
27635 PyObject
* obj1
= 0 ;
27637 if(!PyArg_ParseTuple(args
,(char *)"OO:Window_GetBorder",&obj0
,&obj1
)) goto fail
;
27638 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27639 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27640 arg2
= (long)SWIG_As_long(obj1
);
27641 if (PyErr_Occurred()) SWIG_fail
;
27643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27644 result
= (int)((wxWindow
const *)arg1
)->GetBorder(arg2
);
27646 wxPyEndAllowThreads(__tstate
);
27647 if (PyErr_Occurred()) SWIG_fail
;
27649 resultobj
= SWIG_From_int((int)result
);
27656 static PyObject
*_wrap_Window_GetBorder__SWIG_1(PyObject
*, PyObject
*args
) {
27657 PyObject
*resultobj
;
27658 wxWindow
*arg1
= (wxWindow
*) 0 ;
27660 PyObject
* obj0
= 0 ;
27662 if(!PyArg_ParseTuple(args
,(char *)"O:Window_GetBorder",&obj0
)) goto fail
;
27663 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27664 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27667 result
= (int)((wxWindow
const *)arg1
)->GetBorder();
27669 wxPyEndAllowThreads(__tstate
);
27670 if (PyErr_Occurred()) SWIG_fail
;
27672 resultobj
= SWIG_From_int((int)result
);
27679 static PyObject
*_wrap_Window_GetBorder(PyObject
*self
, PyObject
*args
) {
27684 argc
= PyObject_Length(args
);
27685 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
27686 argv
[ii
] = PyTuple_GetItem(args
,ii
);
27692 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
27700 return _wrap_Window_GetBorder__SWIG_1(self
,args
);
27707 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
27715 _v
= SWIG_Check_long(argv
[1]);
27717 return _wrap_Window_GetBorder__SWIG_0(self
,args
);
27722 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'Window_GetBorder'");
27727 static PyObject
*_wrap_Window_UpdateWindowUI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27728 PyObject
*resultobj
;
27729 wxWindow
*arg1
= (wxWindow
*) 0 ;
27730 long arg2
= (long) wxUPDATE_UI_NONE
;
27731 PyObject
* obj0
= 0 ;
27732 PyObject
* obj1
= 0 ;
27733 char *kwnames
[] = {
27734 (char *) "self",(char *) "flags", NULL
27737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_UpdateWindowUI",kwnames
,&obj0
,&obj1
)) goto fail
;
27738 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27739 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27741 arg2
= (long)SWIG_As_long(obj1
);
27742 if (PyErr_Occurred()) SWIG_fail
;
27745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27746 (arg1
)->UpdateWindowUI(arg2
);
27748 wxPyEndAllowThreads(__tstate
);
27749 if (PyErr_Occurred()) SWIG_fail
;
27751 Py_INCREF(Py_None
); resultobj
= Py_None
;
27758 static PyObject
*_wrap_Window_PopupMenuXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27759 PyObject
*resultobj
;
27760 wxWindow
*arg1
= (wxWindow
*) 0 ;
27761 wxMenu
*arg2
= (wxMenu
*) 0 ;
27762 int arg3
= (int) -1 ;
27763 int arg4
= (int) -1 ;
27765 PyObject
* obj0
= 0 ;
27766 PyObject
* obj1
= 0 ;
27767 PyObject
* obj2
= 0 ;
27768 PyObject
* obj3
= 0 ;
27769 char *kwnames
[] = {
27770 (char *) "self",(char *) "menu",(char *) "x",(char *) "y", NULL
27773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Window_PopupMenuXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27774 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27775 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27776 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
27777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27779 arg3
= (int)SWIG_As_int(obj2
);
27780 if (PyErr_Occurred()) SWIG_fail
;
27783 arg4
= (int)SWIG_As_int(obj3
);
27784 if (PyErr_Occurred()) SWIG_fail
;
27787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27788 result
= (bool)(arg1
)->PopupMenu(arg2
,arg3
,arg4
);
27790 wxPyEndAllowThreads(__tstate
);
27791 if (PyErr_Occurred()) SWIG_fail
;
27794 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27802 static PyObject
*_wrap_Window_PopupMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27803 PyObject
*resultobj
;
27804 wxWindow
*arg1
= (wxWindow
*) 0 ;
27805 wxMenu
*arg2
= (wxMenu
*) 0 ;
27806 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
27807 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
27810 PyObject
* obj0
= 0 ;
27811 PyObject
* obj1
= 0 ;
27812 PyObject
* obj2
= 0 ;
27813 char *kwnames
[] = {
27814 (char *) "self",(char *) "menu",(char *) "pos", NULL
27817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_PopupMenu",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27820 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
27821 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27825 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
27829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27830 result
= (bool)(arg1
)->PopupMenu(arg2
,(wxPoint
const &)*arg3
);
27832 wxPyEndAllowThreads(__tstate
);
27833 if (PyErr_Occurred()) SWIG_fail
;
27836 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27844 static PyObject
*_wrap_Window_GetHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27845 PyObject
*resultobj
;
27846 wxWindow
*arg1
= (wxWindow
*) 0 ;
27848 PyObject
* obj0
= 0 ;
27849 char *kwnames
[] = {
27850 (char *) "self", NULL
27853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHandle",kwnames
,&obj0
)) goto fail
;
27854 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27855 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27858 result
= (long)wxWindow_GetHandle(arg1
);
27860 wxPyEndAllowThreads(__tstate
);
27861 if (PyErr_Occurred()) SWIG_fail
;
27863 resultobj
= SWIG_From_long((long)result
);
27870 static PyObject
*_wrap_Window_AssociateHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27871 PyObject
*resultobj
;
27872 wxWindow
*arg1
= (wxWindow
*) 0 ;
27874 PyObject
* obj0
= 0 ;
27875 PyObject
* obj1
= 0 ;
27876 char *kwnames
[] = {
27877 (char *) "self",(char *) "handle", NULL
27880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_AssociateHandle",kwnames
,&obj0
,&obj1
)) goto fail
;
27881 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27882 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27883 arg2
= (long)SWIG_As_long(obj1
);
27884 if (PyErr_Occurred()) SWIG_fail
;
27886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27887 wxWindow_AssociateHandle(arg1
,arg2
);
27889 wxPyEndAllowThreads(__tstate
);
27890 if (PyErr_Occurred()) SWIG_fail
;
27892 Py_INCREF(Py_None
); resultobj
= Py_None
;
27899 static PyObject
*_wrap_Window_DissociateHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27900 PyObject
*resultobj
;
27901 wxWindow
*arg1
= (wxWindow
*) 0 ;
27902 PyObject
* obj0
= 0 ;
27903 char *kwnames
[] = {
27904 (char *) "self", NULL
27907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_DissociateHandle",kwnames
,&obj0
)) goto fail
;
27908 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27909 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27912 (arg1
)->DissociateHandle();
27914 wxPyEndAllowThreads(__tstate
);
27915 if (PyErr_Occurred()) SWIG_fail
;
27917 Py_INCREF(Py_None
); resultobj
= Py_None
;
27924 static PyObject
*_wrap_Window_OnPaint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27925 PyObject
*resultobj
;
27926 wxWindow
*arg1
= (wxWindow
*) 0 ;
27927 wxPaintEvent
*arg2
= 0 ;
27928 PyObject
* obj0
= 0 ;
27929 PyObject
* obj1
= 0 ;
27930 char *kwnames
[] = {
27931 (char *) "self",(char *) "event", NULL
27934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_OnPaint",kwnames
,&obj0
,&obj1
)) goto fail
;
27935 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27936 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27937 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPaintEvent
,
27938 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27940 if (arg2
== NULL
) {
27941 PyErr_SetString(PyExc_TypeError
,"null reference");
27945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27946 (arg1
)->OnPaint(*arg2
);
27948 wxPyEndAllowThreads(__tstate
);
27949 if (PyErr_Occurred()) SWIG_fail
;
27951 Py_INCREF(Py_None
); resultobj
= Py_None
;
27958 static PyObject
*_wrap_Window_HasScrollbar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27959 PyObject
*resultobj
;
27960 wxWindow
*arg1
= (wxWindow
*) 0 ;
27963 PyObject
* obj0
= 0 ;
27964 PyObject
* obj1
= 0 ;
27965 char *kwnames
[] = {
27966 (char *) "self",(char *) "orient", NULL
27969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasScrollbar",kwnames
,&obj0
,&obj1
)) goto fail
;
27970 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27971 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27972 arg2
= (int)SWIG_As_int(obj1
);
27973 if (PyErr_Occurred()) SWIG_fail
;
27975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27976 result
= (bool)((wxWindow
const *)arg1
)->HasScrollbar(arg2
);
27978 wxPyEndAllowThreads(__tstate
);
27979 if (PyErr_Occurred()) SWIG_fail
;
27982 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27990 static PyObject
*_wrap_Window_SetScrollbar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27991 PyObject
*resultobj
;
27992 wxWindow
*arg1
= (wxWindow
*) 0 ;
27997 bool arg6
= (bool) true ;
27998 PyObject
* obj0
= 0 ;
27999 PyObject
* obj1
= 0 ;
28000 PyObject
* obj2
= 0 ;
28001 PyObject
* obj3
= 0 ;
28002 PyObject
* obj4
= 0 ;
28003 PyObject
* obj5
= 0 ;
28004 char *kwnames
[] = {
28005 (char *) "self",(char *) "orientation",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "refresh", NULL
28008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
28009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28011 arg2
= (int)SWIG_As_int(obj1
);
28012 if (PyErr_Occurred()) SWIG_fail
;
28013 arg3
= (int)SWIG_As_int(obj2
);
28014 if (PyErr_Occurred()) SWIG_fail
;
28015 arg4
= (int)SWIG_As_int(obj3
);
28016 if (PyErr_Occurred()) SWIG_fail
;
28017 arg5
= (int)SWIG_As_int(obj4
);
28018 if (PyErr_Occurred()) SWIG_fail
;
28020 arg6
= (bool)SWIG_As_bool(obj5
);
28021 if (PyErr_Occurred()) SWIG_fail
;
28024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28025 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
28027 wxPyEndAllowThreads(__tstate
);
28028 if (PyErr_Occurred()) SWIG_fail
;
28030 Py_INCREF(Py_None
); resultobj
= Py_None
;
28037 static PyObject
*_wrap_Window_SetScrollPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28038 PyObject
*resultobj
;
28039 wxWindow
*arg1
= (wxWindow
*) 0 ;
28042 bool arg4
= (bool) true ;
28043 PyObject
* obj0
= 0 ;
28044 PyObject
* obj1
= 0 ;
28045 PyObject
* obj2
= 0 ;
28046 PyObject
* obj3
= 0 ;
28047 char *kwnames
[] = {
28048 (char *) "self",(char *) "orientation",(char *) "pos",(char *) "refresh", NULL
28051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_SetScrollPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28052 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28053 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28054 arg2
= (int)SWIG_As_int(obj1
);
28055 if (PyErr_Occurred()) SWIG_fail
;
28056 arg3
= (int)SWIG_As_int(obj2
);
28057 if (PyErr_Occurred()) SWIG_fail
;
28059 arg4
= (bool)SWIG_As_bool(obj3
);
28060 if (PyErr_Occurred()) SWIG_fail
;
28063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28064 (arg1
)->SetScrollPos(arg2
,arg3
,arg4
);
28066 wxPyEndAllowThreads(__tstate
);
28067 if (PyErr_Occurred()) SWIG_fail
;
28069 Py_INCREF(Py_None
); resultobj
= Py_None
;
28076 static PyObject
*_wrap_Window_GetScrollPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28077 PyObject
*resultobj
;
28078 wxWindow
*arg1
= (wxWindow
*) 0 ;
28081 PyObject
* obj0
= 0 ;
28082 PyObject
* obj1
= 0 ;
28083 char *kwnames
[] = {
28084 (char *) "self",(char *) "orientation", NULL
28087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollPos",kwnames
,&obj0
,&obj1
)) goto fail
;
28088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28090 arg2
= (int)SWIG_As_int(obj1
);
28091 if (PyErr_Occurred()) SWIG_fail
;
28093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28094 result
= (int)((wxWindow
const *)arg1
)->GetScrollPos(arg2
);
28096 wxPyEndAllowThreads(__tstate
);
28097 if (PyErr_Occurred()) SWIG_fail
;
28099 resultobj
= SWIG_From_int((int)result
);
28106 static PyObject
*_wrap_Window_GetScrollThumb(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28107 PyObject
*resultobj
;
28108 wxWindow
*arg1
= (wxWindow
*) 0 ;
28111 PyObject
* obj0
= 0 ;
28112 PyObject
* obj1
= 0 ;
28113 char *kwnames
[] = {
28114 (char *) "self",(char *) "orientation", NULL
28117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollThumb",kwnames
,&obj0
,&obj1
)) goto fail
;
28118 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28119 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28120 arg2
= (int)SWIG_As_int(obj1
);
28121 if (PyErr_Occurred()) SWIG_fail
;
28123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28124 result
= (int)((wxWindow
const *)arg1
)->GetScrollThumb(arg2
);
28126 wxPyEndAllowThreads(__tstate
);
28127 if (PyErr_Occurred()) SWIG_fail
;
28129 resultobj
= SWIG_From_int((int)result
);
28136 static PyObject
*_wrap_Window_GetScrollRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28137 PyObject
*resultobj
;
28138 wxWindow
*arg1
= (wxWindow
*) 0 ;
28141 PyObject
* obj0
= 0 ;
28142 PyObject
* obj1
= 0 ;
28143 char *kwnames
[] = {
28144 (char *) "self",(char *) "orientation", NULL
28147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollRange",kwnames
,&obj0
,&obj1
)) goto fail
;
28148 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28149 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28150 arg2
= (int)SWIG_As_int(obj1
);
28151 if (PyErr_Occurred()) SWIG_fail
;
28153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28154 result
= (int)((wxWindow
const *)arg1
)->GetScrollRange(arg2
);
28156 wxPyEndAllowThreads(__tstate
);
28157 if (PyErr_Occurred()) SWIG_fail
;
28159 resultobj
= SWIG_From_int((int)result
);
28166 static PyObject
*_wrap_Window_ScrollWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28167 PyObject
*resultobj
;
28168 wxWindow
*arg1
= (wxWindow
*) 0 ;
28171 wxRect
*arg4
= (wxRect
*) NULL
;
28172 PyObject
* obj0
= 0 ;
28173 PyObject
* obj1
= 0 ;
28174 PyObject
* obj2
= 0 ;
28175 PyObject
* obj3
= 0 ;
28176 char *kwnames
[] = {
28177 (char *) "self",(char *) "dx",(char *) "dy",(char *) "rect", NULL
28180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_ScrollWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28181 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28182 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28183 arg2
= (int)SWIG_As_int(obj1
);
28184 if (PyErr_Occurred()) SWIG_fail
;
28185 arg3
= (int)SWIG_As_int(obj2
);
28186 if (PyErr_Occurred()) SWIG_fail
;
28188 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxRect
,
28189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28193 (arg1
)->ScrollWindow(arg2
,arg3
,(wxRect
const *)arg4
);
28195 wxPyEndAllowThreads(__tstate
);
28196 if (PyErr_Occurred()) SWIG_fail
;
28198 Py_INCREF(Py_None
); resultobj
= Py_None
;
28205 static PyObject
*_wrap_Window_ScrollLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28206 PyObject
*resultobj
;
28207 wxWindow
*arg1
= (wxWindow
*) 0 ;
28210 PyObject
* obj0
= 0 ;
28211 PyObject
* obj1
= 0 ;
28212 char *kwnames
[] = {
28213 (char *) "self",(char *) "lines", NULL
28216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollLines",kwnames
,&obj0
,&obj1
)) goto fail
;
28217 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28218 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28219 arg2
= (int)SWIG_As_int(obj1
);
28220 if (PyErr_Occurred()) SWIG_fail
;
28222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28223 result
= (bool)(arg1
)->ScrollLines(arg2
);
28225 wxPyEndAllowThreads(__tstate
);
28226 if (PyErr_Occurred()) SWIG_fail
;
28229 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28237 static PyObject
*_wrap_Window_ScrollPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28238 PyObject
*resultobj
;
28239 wxWindow
*arg1
= (wxWindow
*) 0 ;
28242 PyObject
* obj0
= 0 ;
28243 PyObject
* obj1
= 0 ;
28244 char *kwnames
[] = {
28245 (char *) "self",(char *) "pages", NULL
28248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollPages",kwnames
,&obj0
,&obj1
)) goto fail
;
28249 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28251 arg2
= (int)SWIG_As_int(obj1
);
28252 if (PyErr_Occurred()) SWIG_fail
;
28254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28255 result
= (bool)(arg1
)->ScrollPages(arg2
);
28257 wxPyEndAllowThreads(__tstate
);
28258 if (PyErr_Occurred()) SWIG_fail
;
28261 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28269 static PyObject
*_wrap_Window_LineUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28270 PyObject
*resultobj
;
28271 wxWindow
*arg1
= (wxWindow
*) 0 ;
28273 PyObject
* obj0
= 0 ;
28274 char *kwnames
[] = {
28275 (char *) "self", NULL
28278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineUp",kwnames
,&obj0
)) goto fail
;
28279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28283 result
= (bool)(arg1
)->LineUp();
28285 wxPyEndAllowThreads(__tstate
);
28286 if (PyErr_Occurred()) SWIG_fail
;
28289 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28297 static PyObject
*_wrap_Window_LineDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28298 PyObject
*resultobj
;
28299 wxWindow
*arg1
= (wxWindow
*) 0 ;
28301 PyObject
* obj0
= 0 ;
28302 char *kwnames
[] = {
28303 (char *) "self", NULL
28306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineDown",kwnames
,&obj0
)) goto fail
;
28307 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28308 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28311 result
= (bool)(arg1
)->LineDown();
28313 wxPyEndAllowThreads(__tstate
);
28314 if (PyErr_Occurred()) SWIG_fail
;
28317 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28325 static PyObject
*_wrap_Window_PageUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28326 PyObject
*resultobj
;
28327 wxWindow
*arg1
= (wxWindow
*) 0 ;
28329 PyObject
* obj0
= 0 ;
28330 char *kwnames
[] = {
28331 (char *) "self", NULL
28334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageUp",kwnames
,&obj0
)) goto fail
;
28335 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28339 result
= (bool)(arg1
)->PageUp();
28341 wxPyEndAllowThreads(__tstate
);
28342 if (PyErr_Occurred()) SWIG_fail
;
28345 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28353 static PyObject
*_wrap_Window_PageDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28354 PyObject
*resultobj
;
28355 wxWindow
*arg1
= (wxWindow
*) 0 ;
28357 PyObject
* obj0
= 0 ;
28358 char *kwnames
[] = {
28359 (char *) "self", NULL
28362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageDown",kwnames
,&obj0
)) goto fail
;
28363 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28364 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28367 result
= (bool)(arg1
)->PageDown();
28369 wxPyEndAllowThreads(__tstate
);
28370 if (PyErr_Occurred()) SWIG_fail
;
28373 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28381 static PyObject
*_wrap_Window_SetHelpText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28382 PyObject
*resultobj
;
28383 wxWindow
*arg1
= (wxWindow
*) 0 ;
28384 wxString
*arg2
= 0 ;
28385 bool temp2
= false ;
28386 PyObject
* obj0
= 0 ;
28387 PyObject
* obj1
= 0 ;
28388 char *kwnames
[] = {
28389 (char *) "self",(char *) "text", NULL
28392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpText",kwnames
,&obj0
,&obj1
)) goto fail
;
28393 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28394 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28396 arg2
= wxString_in_helper(obj1
);
28397 if (arg2
== NULL
) SWIG_fail
;
28401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28402 (arg1
)->SetHelpText((wxString
const &)*arg2
);
28404 wxPyEndAllowThreads(__tstate
);
28405 if (PyErr_Occurred()) SWIG_fail
;
28407 Py_INCREF(Py_None
); resultobj
= Py_None
;
28422 static PyObject
*_wrap_Window_SetHelpTextForId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28423 PyObject
*resultobj
;
28424 wxWindow
*arg1
= (wxWindow
*) 0 ;
28425 wxString
*arg2
= 0 ;
28426 bool temp2
= false ;
28427 PyObject
* obj0
= 0 ;
28428 PyObject
* obj1
= 0 ;
28429 char *kwnames
[] = {
28430 (char *) "self",(char *) "text", NULL
28433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpTextForId",kwnames
,&obj0
,&obj1
)) goto fail
;
28434 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28435 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28437 arg2
= wxString_in_helper(obj1
);
28438 if (arg2
== NULL
) SWIG_fail
;
28442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28443 (arg1
)->SetHelpTextForId((wxString
const &)*arg2
);
28445 wxPyEndAllowThreads(__tstate
);
28446 if (PyErr_Occurred()) SWIG_fail
;
28448 Py_INCREF(Py_None
); resultobj
= Py_None
;
28463 static PyObject
*_wrap_Window_GetHelpText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28464 PyObject
*resultobj
;
28465 wxWindow
*arg1
= (wxWindow
*) 0 ;
28467 PyObject
* obj0
= 0 ;
28468 char *kwnames
[] = {
28469 (char *) "self", NULL
28472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHelpText",kwnames
,&obj0
)) goto fail
;
28473 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28477 result
= ((wxWindow
const *)arg1
)->GetHelpText();
28479 wxPyEndAllowThreads(__tstate
);
28480 if (PyErr_Occurred()) SWIG_fail
;
28484 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28486 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28495 static PyObject
*_wrap_Window_SetToolTipString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28496 PyObject
*resultobj
;
28497 wxWindow
*arg1
= (wxWindow
*) 0 ;
28498 wxString
*arg2
= 0 ;
28499 bool temp2
= false ;
28500 PyObject
* obj0
= 0 ;
28501 PyObject
* obj1
= 0 ;
28502 char *kwnames
[] = {
28503 (char *) "self",(char *) "tip", NULL
28506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTipString",kwnames
,&obj0
,&obj1
)) goto fail
;
28507 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28508 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28510 arg2
= wxString_in_helper(obj1
);
28511 if (arg2
== NULL
) SWIG_fail
;
28515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28516 (arg1
)->SetToolTip((wxString
const &)*arg2
);
28518 wxPyEndAllowThreads(__tstate
);
28519 if (PyErr_Occurred()) SWIG_fail
;
28521 Py_INCREF(Py_None
); resultobj
= Py_None
;
28536 static PyObject
*_wrap_Window_SetToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28537 PyObject
*resultobj
;
28538 wxWindow
*arg1
= (wxWindow
*) 0 ;
28539 wxToolTip
*arg2
= (wxToolTip
*) 0 ;
28540 PyObject
* obj0
= 0 ;
28541 PyObject
* obj1
= 0 ;
28542 char *kwnames
[] = {
28543 (char *) "self",(char *) "tip", NULL
28546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
28547 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28549 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolTip
,
28550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28553 (arg1
)->SetToolTip(arg2
);
28555 wxPyEndAllowThreads(__tstate
);
28556 if (PyErr_Occurred()) SWIG_fail
;
28558 Py_INCREF(Py_None
); resultobj
= Py_None
;
28565 static PyObject
*_wrap_Window_GetToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28566 PyObject
*resultobj
;
28567 wxWindow
*arg1
= (wxWindow
*) 0 ;
28569 PyObject
* obj0
= 0 ;
28570 char *kwnames
[] = {
28571 (char *) "self", NULL
28574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetToolTip",kwnames
,&obj0
)) goto fail
;
28575 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28576 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28579 result
= (wxToolTip
*)((wxWindow
const *)arg1
)->GetToolTip();
28581 wxPyEndAllowThreads(__tstate
);
28582 if (PyErr_Occurred()) SWIG_fail
;
28585 resultobj
= wxPyMake_wxObject(result
, 0);
28593 static PyObject
*_wrap_Window_SetDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28594 PyObject
*resultobj
;
28595 wxWindow
*arg1
= (wxWindow
*) 0 ;
28596 wxPyDropTarget
*arg2
= (wxPyDropTarget
*) 0 ;
28597 PyObject
* obj0
= 0 ;
28598 PyObject
* obj1
= 0 ;
28599 char *kwnames
[] = {
28600 (char *) "self",(char *) "dropTarget", NULL
28603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDropTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
28604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28606 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyDropTarget
,
28607 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
28609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28610 (arg1
)->SetDropTarget(arg2
);
28612 wxPyEndAllowThreads(__tstate
);
28613 if (PyErr_Occurred()) SWIG_fail
;
28615 Py_INCREF(Py_None
); resultobj
= Py_None
;
28622 static PyObject
*_wrap_Window_GetDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28623 PyObject
*resultobj
;
28624 wxWindow
*arg1
= (wxWindow
*) 0 ;
28625 wxPyDropTarget
*result
;
28626 PyObject
* obj0
= 0 ;
28627 char *kwnames
[] = {
28628 (char *) "self", NULL
28631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDropTarget",kwnames
,&obj0
)) goto fail
;
28632 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28633 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28636 result
= (wxPyDropTarget
*)((wxWindow
const *)arg1
)->GetDropTarget();
28638 wxPyEndAllowThreads(__tstate
);
28639 if (PyErr_Occurred()) SWIG_fail
;
28641 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropTarget
, 0);
28648 static PyObject
*_wrap_Window_DragAcceptFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28649 PyObject
*resultobj
;
28650 wxWindow
*arg1
= (wxWindow
*) 0 ;
28652 PyObject
* obj0
= 0 ;
28653 PyObject
* obj1
= 0 ;
28654 char *kwnames
[] = {
28655 (char *) "self",(char *) "accept", NULL
28658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DragAcceptFiles",kwnames
,&obj0
,&obj1
)) goto fail
;
28659 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28660 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28661 arg2
= (bool)SWIG_As_bool(obj1
);
28662 if (PyErr_Occurred()) SWIG_fail
;
28664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28665 (arg1
)->DragAcceptFiles(arg2
);
28667 wxPyEndAllowThreads(__tstate
);
28668 if (PyErr_Occurred()) SWIG_fail
;
28670 Py_INCREF(Py_None
); resultobj
= Py_None
;
28677 static PyObject
*_wrap_Window_SetConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28678 PyObject
*resultobj
;
28679 wxWindow
*arg1
= (wxWindow
*) 0 ;
28680 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
28681 PyObject
* obj0
= 0 ;
28682 PyObject
* obj1
= 0 ;
28683 char *kwnames
[] = {
28684 (char *) "self",(char *) "constraints", NULL
28687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
28688 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28689 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28690 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxLayoutConstraints
,
28691 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28694 (arg1
)->SetConstraints(arg2
);
28696 wxPyEndAllowThreads(__tstate
);
28697 if (PyErr_Occurred()) SWIG_fail
;
28699 Py_INCREF(Py_None
); resultobj
= Py_None
;
28706 static PyObject
*_wrap_Window_GetConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28707 PyObject
*resultobj
;
28708 wxWindow
*arg1
= (wxWindow
*) 0 ;
28709 wxLayoutConstraints
*result
;
28710 PyObject
* obj0
= 0 ;
28711 char *kwnames
[] = {
28712 (char *) "self", NULL
28715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetConstraints",kwnames
,&obj0
)) goto fail
;
28716 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28717 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28720 result
= (wxLayoutConstraints
*)((wxWindow
const *)arg1
)->GetConstraints();
28722 wxPyEndAllowThreads(__tstate
);
28723 if (PyErr_Occurred()) SWIG_fail
;
28725 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutConstraints
, 0);
28732 static PyObject
*_wrap_Window_SetAutoLayout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28733 PyObject
*resultobj
;
28734 wxWindow
*arg1
= (wxWindow
*) 0 ;
28736 PyObject
* obj0
= 0 ;
28737 PyObject
* obj1
= 0 ;
28738 char *kwnames
[] = {
28739 (char *) "self",(char *) "autoLayout", NULL
28742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAutoLayout",kwnames
,&obj0
,&obj1
)) goto fail
;
28743 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28744 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28745 arg2
= (bool)SWIG_As_bool(obj1
);
28746 if (PyErr_Occurred()) SWIG_fail
;
28748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28749 (arg1
)->SetAutoLayout(arg2
);
28751 wxPyEndAllowThreads(__tstate
);
28752 if (PyErr_Occurred()) SWIG_fail
;
28754 Py_INCREF(Py_None
); resultobj
= Py_None
;
28761 static PyObject
*_wrap_Window_GetAutoLayout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28762 PyObject
*resultobj
;
28763 wxWindow
*arg1
= (wxWindow
*) 0 ;
28765 PyObject
* obj0
= 0 ;
28766 char *kwnames
[] = {
28767 (char *) "self", NULL
28770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAutoLayout",kwnames
,&obj0
)) goto fail
;
28771 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28772 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28775 result
= (bool)((wxWindow
const *)arg1
)->GetAutoLayout();
28777 wxPyEndAllowThreads(__tstate
);
28778 if (PyErr_Occurred()) SWIG_fail
;
28781 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28789 static PyObject
*_wrap_Window_Layout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28790 PyObject
*resultobj
;
28791 wxWindow
*arg1
= (wxWindow
*) 0 ;
28793 PyObject
* obj0
= 0 ;
28794 char *kwnames
[] = {
28795 (char *) "self", NULL
28798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Layout",kwnames
,&obj0
)) goto fail
;
28799 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28800 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28803 result
= (bool)(arg1
)->Layout();
28805 wxPyEndAllowThreads(__tstate
);
28806 if (PyErr_Occurred()) SWIG_fail
;
28809 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28817 static PyObject
*_wrap_Window_SetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28818 PyObject
*resultobj
;
28819 wxWindow
*arg1
= (wxWindow
*) 0 ;
28820 wxSizer
*arg2
= (wxSizer
*) 0 ;
28821 bool arg3
= (bool) true ;
28822 PyObject
* obj0
= 0 ;
28823 PyObject
* obj1
= 0 ;
28824 PyObject
* obj2
= 0 ;
28825 char *kwnames
[] = {
28826 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
28829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28830 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28831 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28832 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
28833 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28835 arg3
= (bool)SWIG_As_bool(obj2
);
28836 if (PyErr_Occurred()) SWIG_fail
;
28839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28840 (arg1
)->SetSizer(arg2
,arg3
);
28842 wxPyEndAllowThreads(__tstate
);
28843 if (PyErr_Occurred()) SWIG_fail
;
28845 Py_INCREF(Py_None
); resultobj
= Py_None
;
28852 static PyObject
*_wrap_Window_SetSizerAndFit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28853 PyObject
*resultobj
;
28854 wxWindow
*arg1
= (wxWindow
*) 0 ;
28855 wxSizer
*arg2
= (wxSizer
*) 0 ;
28856 bool arg3
= (bool) true ;
28857 PyObject
* obj0
= 0 ;
28858 PyObject
* obj1
= 0 ;
28859 PyObject
* obj2
= 0 ;
28860 char *kwnames
[] = {
28861 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
28864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizerAndFit",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28865 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28866 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28867 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
28868 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28870 arg3
= (bool)SWIG_As_bool(obj2
);
28871 if (PyErr_Occurred()) SWIG_fail
;
28874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28875 (arg1
)->SetSizerAndFit(arg2
,arg3
);
28877 wxPyEndAllowThreads(__tstate
);
28878 if (PyErr_Occurred()) SWIG_fail
;
28880 Py_INCREF(Py_None
); resultobj
= Py_None
;
28887 static PyObject
*_wrap_Window_GetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28888 PyObject
*resultobj
;
28889 wxWindow
*arg1
= (wxWindow
*) 0 ;
28891 PyObject
* obj0
= 0 ;
28892 char *kwnames
[] = {
28893 (char *) "self", NULL
28896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizer",kwnames
,&obj0
)) goto fail
;
28897 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28898 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28901 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetSizer();
28903 wxPyEndAllowThreads(__tstate
);
28904 if (PyErr_Occurred()) SWIG_fail
;
28907 resultobj
= wxPyMake_wxSizer(result
, 0);
28915 static PyObject
*_wrap_Window_SetContainingSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28916 PyObject
*resultobj
;
28917 wxWindow
*arg1
= (wxWindow
*) 0 ;
28918 wxSizer
*arg2
= (wxSizer
*) 0 ;
28919 PyObject
* obj0
= 0 ;
28920 PyObject
* obj1
= 0 ;
28921 char *kwnames
[] = {
28922 (char *) "self",(char *) "sizer", NULL
28925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetContainingSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
28926 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28927 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28928 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
28929 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28932 (arg1
)->SetContainingSizer(arg2
);
28934 wxPyEndAllowThreads(__tstate
);
28935 if (PyErr_Occurred()) SWIG_fail
;
28937 Py_INCREF(Py_None
); resultobj
= Py_None
;
28944 static PyObject
*_wrap_Window_GetContainingSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28945 PyObject
*resultobj
;
28946 wxWindow
*arg1
= (wxWindow
*) 0 ;
28948 PyObject
* obj0
= 0 ;
28949 char *kwnames
[] = {
28950 (char *) "self", NULL
28953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetContainingSizer",kwnames
,&obj0
)) goto fail
;
28954 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28955 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28958 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetContainingSizer();
28960 wxPyEndAllowThreads(__tstate
);
28961 if (PyErr_Occurred()) SWIG_fail
;
28964 resultobj
= wxPyMake_wxSizer(result
, 0);
28972 static PyObject
*_wrap_Window_InheritAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28973 PyObject
*resultobj
;
28974 wxWindow
*arg1
= (wxWindow
*) 0 ;
28975 PyObject
* obj0
= 0 ;
28976 char *kwnames
[] = {
28977 (char *) "self", NULL
28980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InheritAttributes",kwnames
,&obj0
)) goto fail
;
28981 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28985 (arg1
)->InheritAttributes();
28987 wxPyEndAllowThreads(__tstate
);
28988 if (PyErr_Occurred()) SWIG_fail
;
28990 Py_INCREF(Py_None
); resultobj
= Py_None
;
28997 static PyObject
*_wrap_Window_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28998 PyObject
*resultobj
;
28999 wxWindow
*arg1
= (wxWindow
*) 0 ;
29001 PyObject
* obj0
= 0 ;
29002 char *kwnames
[] = {
29003 (char *) "self", NULL
29006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
29007 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
29008 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29011 result
= (bool)((wxWindow
const *)arg1
)->ShouldInheritColours();
29013 wxPyEndAllowThreads(__tstate
);
29014 if (PyErr_Occurred()) SWIG_fail
;
29017 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29025 static PyObject
* Window_swigregister(PyObject
*, PyObject
*args
) {
29027 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29028 SWIG_TypeClientData(SWIGTYPE_p_wxWindow
, obj
);
29030 return Py_BuildValue((char *)"");
29032 static PyObject
*_wrap_FindWindowById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29033 PyObject
*resultobj
;
29035 wxWindow
*arg2
= (wxWindow
*) NULL
;
29037 PyObject
* obj0
= 0 ;
29038 PyObject
* obj1
= 0 ;
29039 char *kwnames
[] = {
29040 (char *) "id",(char *) "parent", NULL
29043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowById",kwnames
,&obj0
,&obj1
)) goto fail
;
29044 arg1
= (long)SWIG_As_long(obj0
);
29045 if (PyErr_Occurred()) SWIG_fail
;
29047 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
29048 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29051 if (!wxPyCheckForApp()) SWIG_fail
;
29052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29053 result
= (wxWindow
*)wxFindWindowById(arg1
,(wxWindow
const *)arg2
);
29055 wxPyEndAllowThreads(__tstate
);
29056 if (PyErr_Occurred()) SWIG_fail
;
29059 resultobj
= wxPyMake_wxObject(result
, 0);
29067 static PyObject
*_wrap_FindWindowByName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29068 PyObject
*resultobj
;
29069 wxString
*arg1
= 0 ;
29070 wxWindow
*arg2
= (wxWindow
*) NULL
;
29072 bool temp1
= false ;
29073 PyObject
* obj0
= 0 ;
29074 PyObject
* obj1
= 0 ;
29075 char *kwnames
[] = {
29076 (char *) "name",(char *) "parent", NULL
29079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
29081 arg1
= wxString_in_helper(obj0
);
29082 if (arg1
== NULL
) SWIG_fail
;
29086 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
29087 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29090 if (!wxPyCheckForApp()) SWIG_fail
;
29091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29092 result
= (wxWindow
*)wxFindWindowByName((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
29094 wxPyEndAllowThreads(__tstate
);
29095 if (PyErr_Occurred()) SWIG_fail
;
29098 resultobj
= wxPyMake_wxObject(result
, 0);
29114 static PyObject
*_wrap_FindWindowByLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29115 PyObject
*resultobj
;
29116 wxString
*arg1
= 0 ;
29117 wxWindow
*arg2
= (wxWindow
*) NULL
;
29119 bool temp1
= false ;
29120 PyObject
* obj0
= 0 ;
29121 PyObject
* obj1
= 0 ;
29122 char *kwnames
[] = {
29123 (char *) "label",(char *) "parent", NULL
29126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
29128 arg1
= wxString_in_helper(obj0
);
29129 if (arg1
== NULL
) SWIG_fail
;
29133 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
29134 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29137 if (!wxPyCheckForApp()) SWIG_fail
;
29138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29139 result
= (wxWindow
*)wxFindWindowByLabel((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
29141 wxPyEndAllowThreads(__tstate
);
29142 if (PyErr_Occurred()) SWIG_fail
;
29145 resultobj
= wxPyMake_wxObject(result
, 0);
29161 static PyObject
*_wrap_Window_FromHWND(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29162 PyObject
*resultobj
;
29163 wxWindow
*arg1
= (wxWindow
*) 0 ;
29164 unsigned long arg2
;
29166 PyObject
* obj0
= 0 ;
29167 PyObject
* obj1
= 0 ;
29168 char *kwnames
[] = {
29169 (char *) "parent",(char *) "_hWnd", NULL
29172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FromHWND",kwnames
,&obj0
,&obj1
)) goto fail
;
29173 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
29174 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29175 arg2
= (unsigned long)SWIG_As_unsigned_SS_long(obj1
);
29176 if (PyErr_Occurred()) SWIG_fail
;
29178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29179 result
= (wxWindow
*)wxWindow_FromHWND(arg1
,arg2
);
29181 wxPyEndAllowThreads(__tstate
);
29182 if (PyErr_Occurred()) SWIG_fail
;
29185 resultobj
= wxPyMake_wxObject(result
, 0);
29193 static PyObject
*_wrap_new_Validator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29194 PyObject
*resultobj
;
29195 wxValidator
*result
;
29196 char *kwnames
[] = {
29200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Validator",kwnames
)) goto fail
;
29202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29203 result
= (wxValidator
*)new wxValidator();
29205 wxPyEndAllowThreads(__tstate
);
29206 if (PyErr_Occurred()) SWIG_fail
;
29208 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxValidator
, 1);
29215 static PyObject
*_wrap_Validator_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29216 PyObject
*resultobj
;
29217 wxValidator
*arg1
= (wxValidator
*) 0 ;
29218 wxValidator
*result
;
29219 PyObject
* obj0
= 0 ;
29220 char *kwnames
[] = {
29221 (char *) "self", NULL
29224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_Clone",kwnames
,&obj0
)) goto fail
;
29225 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
29226 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29229 result
= (wxValidator
*)(arg1
)->Clone();
29231 wxPyEndAllowThreads(__tstate
);
29232 if (PyErr_Occurred()) SWIG_fail
;
29235 resultobj
= wxPyMake_wxObject(result
, 0);
29243 static PyObject
*_wrap_Validator_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29244 PyObject
*resultobj
;
29245 wxValidator
*arg1
= (wxValidator
*) 0 ;
29246 wxWindow
*arg2
= (wxWindow
*) 0 ;
29248 PyObject
* obj0
= 0 ;
29249 PyObject
* obj1
= 0 ;
29250 char *kwnames
[] = {
29251 (char *) "self",(char *) "parent", NULL
29254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_Validate",kwnames
,&obj0
,&obj1
)) goto fail
;
29255 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
29256 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29257 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
29258 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29261 result
= (bool)(arg1
)->Validate(arg2
);
29263 wxPyEndAllowThreads(__tstate
);
29264 if (PyErr_Occurred()) SWIG_fail
;
29267 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29275 static PyObject
*_wrap_Validator_TransferToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29276 PyObject
*resultobj
;
29277 wxValidator
*arg1
= (wxValidator
*) 0 ;
29279 PyObject
* obj0
= 0 ;
29280 char *kwnames
[] = {
29281 (char *) "self", NULL
29284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferToWindow",kwnames
,&obj0
)) goto fail
;
29285 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
29286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29289 result
= (bool)(arg1
)->TransferToWindow();
29291 wxPyEndAllowThreads(__tstate
);
29292 if (PyErr_Occurred()) SWIG_fail
;
29295 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29303 static PyObject
*_wrap_Validator_TransferFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29304 PyObject
*resultobj
;
29305 wxValidator
*arg1
= (wxValidator
*) 0 ;
29307 PyObject
* obj0
= 0 ;
29308 char *kwnames
[] = {
29309 (char *) "self", NULL
29312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferFromWindow",kwnames
,&obj0
)) goto fail
;
29313 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
29314 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29317 result
= (bool)(arg1
)->TransferFromWindow();
29319 wxPyEndAllowThreads(__tstate
);
29320 if (PyErr_Occurred()) SWIG_fail
;
29323 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29331 static PyObject
*_wrap_Validator_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29332 PyObject
*resultobj
;
29333 wxValidator
*arg1
= (wxValidator
*) 0 ;
29335 PyObject
* obj0
= 0 ;
29336 char *kwnames
[] = {
29337 (char *) "self", NULL
29340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_GetWindow",kwnames
,&obj0
)) goto fail
;
29341 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
29342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29345 result
= (wxWindow
*)(arg1
)->GetWindow();
29347 wxPyEndAllowThreads(__tstate
);
29348 if (PyErr_Occurred()) SWIG_fail
;
29351 resultobj
= wxPyMake_wxObject(result
, 0);
29359 static PyObject
*_wrap_Validator_SetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29360 PyObject
*resultobj
;
29361 wxValidator
*arg1
= (wxValidator
*) 0 ;
29362 wxWindow
*arg2
= (wxWindow
*) 0 ;
29363 PyObject
* obj0
= 0 ;
29364 PyObject
* obj1
= 0 ;
29365 char *kwnames
[] = {
29366 (char *) "self",(char *) "window", NULL
29369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
29370 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
29371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29372 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
29373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29376 (arg1
)->SetWindow(arg2
);
29378 wxPyEndAllowThreads(__tstate
);
29379 if (PyErr_Occurred()) SWIG_fail
;
29381 Py_INCREF(Py_None
); resultobj
= Py_None
;
29388 static PyObject
*_wrap_Validator_IsSilent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29389 PyObject
*resultobj
;
29391 char *kwnames
[] = {
29395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Validator_IsSilent",kwnames
)) goto fail
;
29397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29398 result
= (bool)wxValidator::IsSilent();
29400 wxPyEndAllowThreads(__tstate
);
29401 if (PyErr_Occurred()) SWIG_fail
;
29404 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29412 static PyObject
*_wrap_Validator_SetBellOnError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29413 PyObject
*resultobj
;
29414 int arg1
= (int) true ;
29415 PyObject
* obj0
= 0 ;
29416 char *kwnames
[] = {
29417 (char *) "doIt", NULL
29420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Validator_SetBellOnError",kwnames
,&obj0
)) goto fail
;
29422 arg1
= (int)SWIG_As_int(obj0
);
29423 if (PyErr_Occurred()) SWIG_fail
;
29426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29427 wxValidator::SetBellOnError(arg1
);
29429 wxPyEndAllowThreads(__tstate
);
29430 if (PyErr_Occurred()) SWIG_fail
;
29432 Py_INCREF(Py_None
); resultobj
= Py_None
;
29439 static PyObject
* Validator_swigregister(PyObject
*, PyObject
*args
) {
29441 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29442 SWIG_TypeClientData(SWIGTYPE_p_wxValidator
, obj
);
29444 return Py_BuildValue((char *)"");
29446 static PyObject
*_wrap_new_PyValidator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29447 PyObject
*resultobj
;
29448 wxPyValidator
*result
;
29449 char *kwnames
[] = {
29453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyValidator",kwnames
)) goto fail
;
29455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29456 result
= (wxPyValidator
*)new wxPyValidator();
29458 wxPyEndAllowThreads(__tstate
);
29459 if (PyErr_Occurred()) SWIG_fail
;
29461 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyValidator
, 1);
29468 static PyObject
*_wrap_PyValidator__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29469 PyObject
*resultobj
;
29470 wxPyValidator
*arg1
= (wxPyValidator
*) 0 ;
29471 PyObject
*arg2
= (PyObject
*) 0 ;
29472 PyObject
*arg3
= (PyObject
*) 0 ;
29473 int arg4
= (int) true ;
29474 PyObject
* obj0
= 0 ;
29475 PyObject
* obj1
= 0 ;
29476 PyObject
* obj2
= 0 ;
29477 PyObject
* obj3
= 0 ;
29478 char *kwnames
[] = {
29479 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
29482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyValidator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29483 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyValidator
,
29484 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29488 arg4
= (int)SWIG_As_int(obj3
);
29489 if (PyErr_Occurred()) SWIG_fail
;
29492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29493 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
29495 wxPyEndAllowThreads(__tstate
);
29496 if (PyErr_Occurred()) SWIG_fail
;
29498 Py_INCREF(Py_None
); resultobj
= Py_None
;
29505 static PyObject
* PyValidator_swigregister(PyObject
*, PyObject
*args
) {
29507 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29508 SWIG_TypeClientData(SWIGTYPE_p_wxPyValidator
, obj
);
29510 return Py_BuildValue((char *)"");
29512 static int _wrap_DefaultValidator_set(PyObject
*) {
29513 PyErr_SetString(PyExc_TypeError
,"Variable DefaultValidator is read-only.");
29518 static PyObject
*_wrap_DefaultValidator_get() {
29521 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultValidator
), SWIGTYPE_p_wxValidator
, 0);
29526 static PyObject
*_wrap_new_Menu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29527 PyObject
*resultobj
;
29528 wxString
const &arg1_defvalue
= wxPyEmptyString
;
29529 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
29530 long arg2
= (long) 0 ;
29532 bool temp1
= false ;
29533 PyObject
* obj0
= 0 ;
29534 PyObject
* obj1
= 0 ;
29535 char *kwnames
[] = {
29536 (char *) "title",(char *) "style", NULL
29539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Menu",kwnames
,&obj0
,&obj1
)) goto fail
;
29542 arg1
= wxString_in_helper(obj0
);
29543 if (arg1
== NULL
) SWIG_fail
;
29548 arg2
= (long)SWIG_As_long(obj1
);
29549 if (PyErr_Occurred()) SWIG_fail
;
29552 if (!wxPyCheckForApp()) SWIG_fail
;
29553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29554 result
= (wxMenu
*)new wxMenu((wxString
const &)*arg1
,arg2
);
29556 wxPyEndAllowThreads(__tstate
);
29557 if (PyErr_Occurred()) SWIG_fail
;
29559 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenu
, 1);
29574 static PyObject
*_wrap_Menu_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29575 PyObject
*resultobj
;
29576 wxMenu
*arg1
= (wxMenu
*) 0 ;
29578 wxString
*arg3
= 0 ;
29579 wxString
const &arg4_defvalue
= wxPyEmptyString
;
29580 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
29581 int arg5
= (int) wxITEM_NORMAL
;
29582 wxMenuItem
*result
;
29583 bool temp3
= false ;
29584 bool temp4
= false ;
29585 PyObject
* obj0
= 0 ;
29586 PyObject
* obj1
= 0 ;
29587 PyObject
* obj2
= 0 ;
29588 PyObject
* obj3
= 0 ;
29589 PyObject
* obj4
= 0 ;
29590 char *kwnames
[] = {
29591 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
29594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29595 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29596 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29597 arg2
= (int)SWIG_As_int(obj1
);
29598 if (PyErr_Occurred()) SWIG_fail
;
29600 arg3
= wxString_in_helper(obj2
);
29601 if (arg3
== NULL
) SWIG_fail
;
29606 arg4
= wxString_in_helper(obj3
);
29607 if (arg4
== NULL
) SWIG_fail
;
29612 arg5
= (int)SWIG_As_int(obj4
);
29613 if (PyErr_Occurred()) SWIG_fail
;
29616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29617 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
29619 wxPyEndAllowThreads(__tstate
);
29620 if (PyErr_Occurred()) SWIG_fail
;
29623 resultobj
= wxPyMake_wxObject(result
, 0);
29647 static PyObject
*_wrap_Menu_AppendSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29648 PyObject
*resultobj
;
29649 wxMenu
*arg1
= (wxMenu
*) 0 ;
29650 wxMenuItem
*result
;
29651 PyObject
* obj0
= 0 ;
29652 char *kwnames
[] = {
29653 (char *) "self", NULL
29656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_AppendSeparator",kwnames
,&obj0
)) goto fail
;
29657 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29658 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29661 result
= (wxMenuItem
*)(arg1
)->AppendSeparator();
29663 wxPyEndAllowThreads(__tstate
);
29664 if (PyErr_Occurred()) SWIG_fail
;
29667 resultobj
= wxPyMake_wxObject(result
, 0);
29675 static PyObject
*_wrap_Menu_AppendCheckItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29676 PyObject
*resultobj
;
29677 wxMenu
*arg1
= (wxMenu
*) 0 ;
29679 wxString
*arg3
= 0 ;
29680 wxString
const &arg4_defvalue
= wxPyEmptyString
;
29681 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
29682 wxMenuItem
*result
;
29683 bool temp3
= false ;
29684 bool temp4
= false ;
29685 PyObject
* obj0
= 0 ;
29686 PyObject
* obj1
= 0 ;
29687 PyObject
* obj2
= 0 ;
29688 PyObject
* obj3
= 0 ;
29689 char *kwnames
[] = {
29690 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
29693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29694 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29695 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29696 arg2
= (int)SWIG_As_int(obj1
);
29697 if (PyErr_Occurred()) SWIG_fail
;
29699 arg3
= wxString_in_helper(obj2
);
29700 if (arg3
== NULL
) SWIG_fail
;
29705 arg4
= wxString_in_helper(obj3
);
29706 if (arg4
== NULL
) SWIG_fail
;
29711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29712 result
= (wxMenuItem
*)(arg1
)->AppendCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
29714 wxPyEndAllowThreads(__tstate
);
29715 if (PyErr_Occurred()) SWIG_fail
;
29718 resultobj
= wxPyMake_wxObject(result
, 0);
29742 static PyObject
*_wrap_Menu_AppendRadioItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29743 PyObject
*resultobj
;
29744 wxMenu
*arg1
= (wxMenu
*) 0 ;
29746 wxString
*arg3
= 0 ;
29747 wxString
const &arg4_defvalue
= wxPyEmptyString
;
29748 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
29749 wxMenuItem
*result
;
29750 bool temp3
= false ;
29751 bool temp4
= false ;
29752 PyObject
* obj0
= 0 ;
29753 PyObject
* obj1
= 0 ;
29754 PyObject
* obj2
= 0 ;
29755 PyObject
* obj3
= 0 ;
29756 char *kwnames
[] = {
29757 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
29760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29761 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29763 arg2
= (int)SWIG_As_int(obj1
);
29764 if (PyErr_Occurred()) SWIG_fail
;
29766 arg3
= wxString_in_helper(obj2
);
29767 if (arg3
== NULL
) SWIG_fail
;
29772 arg4
= wxString_in_helper(obj3
);
29773 if (arg4
== NULL
) SWIG_fail
;
29778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29779 result
= (wxMenuItem
*)(arg1
)->AppendRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
29781 wxPyEndAllowThreads(__tstate
);
29782 if (PyErr_Occurred()) SWIG_fail
;
29785 resultobj
= wxPyMake_wxObject(result
, 0);
29809 static PyObject
*_wrap_Menu_AppendMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29810 PyObject
*resultobj
;
29811 wxMenu
*arg1
= (wxMenu
*) 0 ;
29813 wxString
*arg3
= 0 ;
29814 wxMenu
*arg4
= (wxMenu
*) 0 ;
29815 wxString
const &arg5_defvalue
= wxPyEmptyString
;
29816 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
29817 wxMenuItem
*result
;
29818 bool temp3
= false ;
29819 bool temp5
= false ;
29820 PyObject
* obj0
= 0 ;
29821 PyObject
* obj1
= 0 ;
29822 PyObject
* obj2
= 0 ;
29823 PyObject
* obj3
= 0 ;
29824 PyObject
* obj4
= 0 ;
29825 char *kwnames
[] = {
29826 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
29829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_AppendMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29830 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29831 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29832 arg2
= (int)SWIG_As_int(obj1
);
29833 if (PyErr_Occurred()) SWIG_fail
;
29835 arg3
= wxString_in_helper(obj2
);
29836 if (arg3
== NULL
) SWIG_fail
;
29839 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxMenu
,
29840 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29843 arg5
= wxString_in_helper(obj4
);
29844 if (arg5
== NULL
) SWIG_fail
;
29849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29850 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
29852 wxPyEndAllowThreads(__tstate
);
29853 if (PyErr_Occurred()) SWIG_fail
;
29856 resultobj
= wxPyMake_wxObject(result
, 0);
29880 static PyObject
*_wrap_Menu_AppendItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29881 PyObject
*resultobj
;
29882 wxMenu
*arg1
= (wxMenu
*) 0 ;
29883 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
29884 wxMenuItem
*result
;
29885 PyObject
* obj0
= 0 ;
29886 PyObject
* obj1
= 0 ;
29887 char *kwnames
[] = {
29888 (char *) "self",(char *) "item", NULL
29891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_AppendItem",kwnames
,&obj0
,&obj1
)) goto fail
;
29892 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29894 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
29895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29898 result
= (wxMenuItem
*)(arg1
)->Append(arg2
);
29900 wxPyEndAllowThreads(__tstate
);
29901 if (PyErr_Occurred()) SWIG_fail
;
29904 resultobj
= wxPyMake_wxObject(result
, 0);
29912 static PyObject
*_wrap_Menu_Break(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29913 PyObject
*resultobj
;
29914 wxMenu
*arg1
= (wxMenu
*) 0 ;
29915 PyObject
* obj0
= 0 ;
29916 char *kwnames
[] = {
29917 (char *) "self", NULL
29920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Break",kwnames
,&obj0
)) goto fail
;
29921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29927 wxPyEndAllowThreads(__tstate
);
29928 if (PyErr_Occurred()) SWIG_fail
;
29930 Py_INCREF(Py_None
); resultobj
= Py_None
;
29937 static PyObject
*_wrap_Menu_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29938 PyObject
*resultobj
;
29939 wxMenu
*arg1
= (wxMenu
*) 0 ;
29941 wxMenuItem
*arg3
= (wxMenuItem
*) 0 ;
29942 wxMenuItem
*result
;
29943 PyObject
* obj0
= 0 ;
29944 PyObject
* obj1
= 0 ;
29945 PyObject
* obj2
= 0 ;
29946 char *kwnames
[] = {
29947 (char *) "self",(char *) "pos",(char *) "item", NULL
29950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29951 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29952 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29953 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
29954 if (PyErr_Occurred()) SWIG_fail
;
29955 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenuItem
,
29956 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29959 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
);
29961 wxPyEndAllowThreads(__tstate
);
29962 if (PyErr_Occurred()) SWIG_fail
;
29965 resultobj
= wxPyMake_wxObject(result
, 0);
29973 static PyObject
*_wrap_Menu_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29974 PyObject
*resultobj
;
29975 wxMenu
*arg1
= (wxMenu
*) 0 ;
29978 wxString
*arg4
= 0 ;
29979 wxString
const &arg5_defvalue
= wxPyEmptyString
;
29980 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
29981 int arg6
= (int) wxITEM_NORMAL
;
29982 wxMenuItem
*result
;
29983 bool temp4
= false ;
29984 bool temp5
= false ;
29985 PyObject
* obj0
= 0 ;
29986 PyObject
* obj1
= 0 ;
29987 PyObject
* obj2
= 0 ;
29988 PyObject
* obj3
= 0 ;
29989 PyObject
* obj4
= 0 ;
29990 PyObject
* obj5
= 0 ;
29991 char *kwnames
[] = {
29992 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
29995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:Menu_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
29996 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29997 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29998 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
29999 if (PyErr_Occurred()) SWIG_fail
;
30000 arg3
= (int)SWIG_As_int(obj2
);
30001 if (PyErr_Occurred()) SWIG_fail
;
30003 arg4
= wxString_in_helper(obj3
);
30004 if (arg4
== NULL
) SWIG_fail
;
30009 arg5
= wxString_in_helper(obj4
);
30010 if (arg5
== NULL
) SWIG_fail
;
30015 arg6
= (int)SWIG_As_int(obj5
);
30016 if (PyErr_Occurred()) SWIG_fail
;
30019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30020 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,(wxItemKind
)arg6
);
30022 wxPyEndAllowThreads(__tstate
);
30023 if (PyErr_Occurred()) SWIG_fail
;
30026 resultobj
= wxPyMake_wxObject(result
, 0);
30050 static PyObject
*_wrap_Menu_InsertSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30051 PyObject
*resultobj
;
30052 wxMenu
*arg1
= (wxMenu
*) 0 ;
30054 wxMenuItem
*result
;
30055 PyObject
* obj0
= 0 ;
30056 PyObject
* obj1
= 0 ;
30057 char *kwnames
[] = {
30058 (char *) "self",(char *) "pos", NULL
30061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
30062 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30063 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30064 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
30065 if (PyErr_Occurred()) SWIG_fail
;
30067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30068 result
= (wxMenuItem
*)(arg1
)->InsertSeparator(arg2
);
30070 wxPyEndAllowThreads(__tstate
);
30071 if (PyErr_Occurred()) SWIG_fail
;
30074 resultobj
= wxPyMake_wxObject(result
, 0);
30082 static PyObject
*_wrap_Menu_InsertCheckItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30083 PyObject
*resultobj
;
30084 wxMenu
*arg1
= (wxMenu
*) 0 ;
30087 wxString
*arg4
= 0 ;
30088 wxString
const &arg5_defvalue
= wxPyEmptyString
;
30089 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
30090 wxMenuItem
*result
;
30091 bool temp4
= false ;
30092 bool temp5
= false ;
30093 PyObject
* obj0
= 0 ;
30094 PyObject
* obj1
= 0 ;
30095 PyObject
* obj2
= 0 ;
30096 PyObject
* obj3
= 0 ;
30097 PyObject
* obj4
= 0 ;
30098 char *kwnames
[] = {
30099 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
30102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30103 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30104 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30105 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
30106 if (PyErr_Occurred()) SWIG_fail
;
30107 arg3
= (int)SWIG_As_int(obj2
);
30108 if (PyErr_Occurred()) SWIG_fail
;
30110 arg4
= wxString_in_helper(obj3
);
30111 if (arg4
== NULL
) SWIG_fail
;
30116 arg5
= wxString_in_helper(obj4
);
30117 if (arg5
== NULL
) SWIG_fail
;
30122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30123 result
= (wxMenuItem
*)(arg1
)->InsertCheckItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
30125 wxPyEndAllowThreads(__tstate
);
30126 if (PyErr_Occurred()) SWIG_fail
;
30129 resultobj
= wxPyMake_wxObject(result
, 0);
30153 static PyObject
*_wrap_Menu_InsertRadioItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30154 PyObject
*resultobj
;
30155 wxMenu
*arg1
= (wxMenu
*) 0 ;
30158 wxString
*arg4
= 0 ;
30159 wxString
const &arg5_defvalue
= wxPyEmptyString
;
30160 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
30161 wxMenuItem
*result
;
30162 bool temp4
= false ;
30163 bool temp5
= false ;
30164 PyObject
* obj0
= 0 ;
30165 PyObject
* obj1
= 0 ;
30166 PyObject
* obj2
= 0 ;
30167 PyObject
* obj3
= 0 ;
30168 PyObject
* obj4
= 0 ;
30169 char *kwnames
[] = {
30170 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
30173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30174 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30175 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30176 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
30177 if (PyErr_Occurred()) SWIG_fail
;
30178 arg3
= (int)SWIG_As_int(obj2
);
30179 if (PyErr_Occurred()) SWIG_fail
;
30181 arg4
= wxString_in_helper(obj3
);
30182 if (arg4
== NULL
) SWIG_fail
;
30187 arg5
= wxString_in_helper(obj4
);
30188 if (arg5
== NULL
) SWIG_fail
;
30193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30194 result
= (wxMenuItem
*)(arg1
)->InsertRadioItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
30196 wxPyEndAllowThreads(__tstate
);
30197 if (PyErr_Occurred()) SWIG_fail
;
30200 resultobj
= wxPyMake_wxObject(result
, 0);
30224 static PyObject
*_wrap_Menu_InsertMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30225 PyObject
*resultobj
;
30226 wxMenu
*arg1
= (wxMenu
*) 0 ;
30229 wxString
*arg4
= 0 ;
30230 wxMenu
*arg5
= (wxMenu
*) 0 ;
30231 wxString
const &arg6_defvalue
= wxPyEmptyString
;
30232 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
30233 wxMenuItem
*result
;
30234 bool temp4
= false ;
30235 bool temp6
= false ;
30236 PyObject
* obj0
= 0 ;
30237 PyObject
* obj1
= 0 ;
30238 PyObject
* obj2
= 0 ;
30239 PyObject
* obj3
= 0 ;
30240 PyObject
* obj4
= 0 ;
30241 PyObject
* obj5
= 0 ;
30242 char *kwnames
[] = {
30243 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
30246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Menu_InsertMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
30247 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30249 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
30250 if (PyErr_Occurred()) SWIG_fail
;
30251 arg3
= (int)SWIG_As_int(obj2
);
30252 if (PyErr_Occurred()) SWIG_fail
;
30254 arg4
= wxString_in_helper(obj3
);
30255 if (arg4
== NULL
) SWIG_fail
;
30258 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxMenu
,
30259 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30262 arg6
= wxString_in_helper(obj5
);
30263 if (arg6
== NULL
) SWIG_fail
;
30268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30269 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
30271 wxPyEndAllowThreads(__tstate
);
30272 if (PyErr_Occurred()) SWIG_fail
;
30275 resultobj
= wxPyMake_wxObject(result
, 0);
30299 static PyObject
*_wrap_Menu_PrependItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30300 PyObject
*resultobj
;
30301 wxMenu
*arg1
= (wxMenu
*) 0 ;
30302 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
30303 wxMenuItem
*result
;
30304 PyObject
* obj0
= 0 ;
30305 PyObject
* obj1
= 0 ;
30306 char *kwnames
[] = {
30307 (char *) "self",(char *) "item", NULL
30310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30311 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30313 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
30314 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30317 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
);
30319 wxPyEndAllowThreads(__tstate
);
30320 if (PyErr_Occurred()) SWIG_fail
;
30323 resultobj
= wxPyMake_wxObject(result
, 0);
30331 static PyObject
*_wrap_Menu_Prepend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30332 PyObject
*resultobj
;
30333 wxMenu
*arg1
= (wxMenu
*) 0 ;
30335 wxString
*arg3
= 0 ;
30336 wxString
const &arg4_defvalue
= wxPyEmptyString
;
30337 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
30338 int arg5
= (int) wxITEM_NORMAL
;
30339 wxMenuItem
*result
;
30340 bool temp3
= false ;
30341 bool temp4
= false ;
30342 PyObject
* obj0
= 0 ;
30343 PyObject
* obj1
= 0 ;
30344 PyObject
* obj2
= 0 ;
30345 PyObject
* obj3
= 0 ;
30346 PyObject
* obj4
= 0 ;
30347 char *kwnames
[] = {
30348 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
30351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30352 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30353 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30354 arg2
= (int)SWIG_As_int(obj1
);
30355 if (PyErr_Occurred()) SWIG_fail
;
30357 arg3
= wxString_in_helper(obj2
);
30358 if (arg3
== NULL
) SWIG_fail
;
30363 arg4
= wxString_in_helper(obj3
);
30364 if (arg4
== NULL
) SWIG_fail
;
30369 arg5
= (int)SWIG_As_int(obj4
);
30370 if (PyErr_Occurred()) SWIG_fail
;
30373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30374 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
30376 wxPyEndAllowThreads(__tstate
);
30377 if (PyErr_Occurred()) SWIG_fail
;
30380 resultobj
= wxPyMake_wxObject(result
, 0);
30404 static PyObject
*_wrap_Menu_PrependSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30405 PyObject
*resultobj
;
30406 wxMenu
*arg1
= (wxMenu
*) 0 ;
30407 wxMenuItem
*result
;
30408 PyObject
* obj0
= 0 ;
30409 char *kwnames
[] = {
30410 (char *) "self", NULL
30413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_PrependSeparator",kwnames
,&obj0
)) goto fail
;
30414 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30415 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30418 result
= (wxMenuItem
*)(arg1
)->PrependSeparator();
30420 wxPyEndAllowThreads(__tstate
);
30421 if (PyErr_Occurred()) SWIG_fail
;
30424 resultobj
= wxPyMake_wxObject(result
, 0);
30432 static PyObject
*_wrap_Menu_PrependCheckItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30433 PyObject
*resultobj
;
30434 wxMenu
*arg1
= (wxMenu
*) 0 ;
30436 wxString
*arg3
= 0 ;
30437 wxString
const &arg4_defvalue
= wxPyEmptyString
;
30438 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
30439 wxMenuItem
*result
;
30440 bool temp3
= false ;
30441 bool temp4
= false ;
30442 PyObject
* obj0
= 0 ;
30443 PyObject
* obj1
= 0 ;
30444 PyObject
* obj2
= 0 ;
30445 PyObject
* obj3
= 0 ;
30446 char *kwnames
[] = {
30447 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
30450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30451 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30452 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30453 arg2
= (int)SWIG_As_int(obj1
);
30454 if (PyErr_Occurred()) SWIG_fail
;
30456 arg3
= wxString_in_helper(obj2
);
30457 if (arg3
== NULL
) SWIG_fail
;
30462 arg4
= wxString_in_helper(obj3
);
30463 if (arg4
== NULL
) SWIG_fail
;
30468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30469 result
= (wxMenuItem
*)(arg1
)->PrependCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
30471 wxPyEndAllowThreads(__tstate
);
30472 if (PyErr_Occurred()) SWIG_fail
;
30475 resultobj
= wxPyMake_wxObject(result
, 0);
30499 static PyObject
*_wrap_Menu_PrependRadioItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30500 PyObject
*resultobj
;
30501 wxMenu
*arg1
= (wxMenu
*) 0 ;
30503 wxString
*arg3
= 0 ;
30504 wxString
const &arg4_defvalue
= wxPyEmptyString
;
30505 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
30506 wxMenuItem
*result
;
30507 bool temp3
= false ;
30508 bool temp4
= false ;
30509 PyObject
* obj0
= 0 ;
30510 PyObject
* obj1
= 0 ;
30511 PyObject
* obj2
= 0 ;
30512 PyObject
* obj3
= 0 ;
30513 char *kwnames
[] = {
30514 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
30517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30518 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30519 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30520 arg2
= (int)SWIG_As_int(obj1
);
30521 if (PyErr_Occurred()) SWIG_fail
;
30523 arg3
= wxString_in_helper(obj2
);
30524 if (arg3
== NULL
) SWIG_fail
;
30529 arg4
= wxString_in_helper(obj3
);
30530 if (arg4
== NULL
) SWIG_fail
;
30535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30536 result
= (wxMenuItem
*)(arg1
)->PrependRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
30538 wxPyEndAllowThreads(__tstate
);
30539 if (PyErr_Occurred()) SWIG_fail
;
30542 resultobj
= wxPyMake_wxObject(result
, 0);
30566 static PyObject
*_wrap_Menu_PrependMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30567 PyObject
*resultobj
;
30568 wxMenu
*arg1
= (wxMenu
*) 0 ;
30570 wxString
*arg3
= 0 ;
30571 wxMenu
*arg4
= (wxMenu
*) 0 ;
30572 wxString
const &arg5_defvalue
= wxPyEmptyString
;
30573 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
30574 wxMenuItem
*result
;
30575 bool temp3
= false ;
30576 bool temp5
= false ;
30577 PyObject
* obj0
= 0 ;
30578 PyObject
* obj1
= 0 ;
30579 PyObject
* obj2
= 0 ;
30580 PyObject
* obj3
= 0 ;
30581 PyObject
* obj4
= 0 ;
30582 char *kwnames
[] = {
30583 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
30586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_PrependMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30587 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30589 arg2
= (int)SWIG_As_int(obj1
);
30590 if (PyErr_Occurred()) SWIG_fail
;
30592 arg3
= wxString_in_helper(obj2
);
30593 if (arg3
== NULL
) SWIG_fail
;
30596 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxMenu
,
30597 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30600 arg5
= wxString_in_helper(obj4
);
30601 if (arg5
== NULL
) SWIG_fail
;
30606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30607 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
30609 wxPyEndAllowThreads(__tstate
);
30610 if (PyErr_Occurred()) SWIG_fail
;
30613 resultobj
= wxPyMake_wxObject(result
, 0);
30637 static PyObject
*_wrap_Menu_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30638 PyObject
*resultobj
;
30639 wxMenu
*arg1
= (wxMenu
*) 0 ;
30641 wxMenuItem
*result
;
30642 PyObject
* obj0
= 0 ;
30643 PyObject
* obj1
= 0 ;
30644 char *kwnames
[] = {
30645 (char *) "self",(char *) "id", NULL
30648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
30649 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30651 arg2
= (int)SWIG_As_int(obj1
);
30652 if (PyErr_Occurred()) SWIG_fail
;
30654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30655 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
30657 wxPyEndAllowThreads(__tstate
);
30658 if (PyErr_Occurred()) SWIG_fail
;
30661 resultobj
= wxPyMake_wxObject(result
, 0);
30669 static PyObject
*_wrap_Menu_RemoveItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30670 PyObject
*resultobj
;
30671 wxMenu
*arg1
= (wxMenu
*) 0 ;
30672 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
30673 wxMenuItem
*result
;
30674 PyObject
* obj0
= 0 ;
30675 PyObject
* obj1
= 0 ;
30676 char *kwnames
[] = {
30677 (char *) "self",(char *) "item", NULL
30680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_RemoveItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30681 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30682 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30683 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
30684 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30687 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
30689 wxPyEndAllowThreads(__tstate
);
30690 if (PyErr_Occurred()) SWIG_fail
;
30693 resultobj
= wxPyMake_wxObject(result
, 0);
30701 static PyObject
*_wrap_Menu_Delete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30702 PyObject
*resultobj
;
30703 wxMenu
*arg1
= (wxMenu
*) 0 ;
30706 PyObject
* obj0
= 0 ;
30707 PyObject
* obj1
= 0 ;
30708 char *kwnames
[] = {
30709 (char *) "self",(char *) "id", NULL
30712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
30713 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30715 arg2
= (int)SWIG_As_int(obj1
);
30716 if (PyErr_Occurred()) SWIG_fail
;
30718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30719 result
= (bool)(arg1
)->Delete(arg2
);
30721 wxPyEndAllowThreads(__tstate
);
30722 if (PyErr_Occurred()) SWIG_fail
;
30725 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30733 static PyObject
*_wrap_Menu_DeleteItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30734 PyObject
*resultobj
;
30735 wxMenu
*arg1
= (wxMenu
*) 0 ;
30736 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
30738 PyObject
* obj0
= 0 ;
30739 PyObject
* obj1
= 0 ;
30740 char *kwnames
[] = {
30741 (char *) "self",(char *) "item", NULL
30744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30745 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30746 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30747 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
30748 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30751 result
= (bool)(arg1
)->Delete(arg2
);
30753 wxPyEndAllowThreads(__tstate
);
30754 if (PyErr_Occurred()) SWIG_fail
;
30757 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30765 static PyObject
*_wrap_Menu_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30766 PyObject
*resultobj
;
30767 wxMenu
*arg1
= (wxMenu
*) 0 ;
30768 PyObject
* obj0
= 0 ;
30769 char *kwnames
[] = {
30770 (char *) "self", NULL
30773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Destroy",kwnames
,&obj0
)) goto fail
;
30774 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30775 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30778 wxMenu_Destroy(arg1
);
30780 wxPyEndAllowThreads(__tstate
);
30781 if (PyErr_Occurred()) SWIG_fail
;
30783 Py_INCREF(Py_None
); resultobj
= Py_None
;
30790 static PyObject
*_wrap_Menu_DestroyId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30791 PyObject
*resultobj
;
30792 wxMenu
*arg1
= (wxMenu
*) 0 ;
30795 PyObject
* obj0
= 0 ;
30796 PyObject
* obj1
= 0 ;
30797 char *kwnames
[] = {
30798 (char *) "self",(char *) "id", NULL
30801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyId",kwnames
,&obj0
,&obj1
)) goto fail
;
30802 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30803 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30804 arg2
= (int)SWIG_As_int(obj1
);
30805 if (PyErr_Occurred()) SWIG_fail
;
30807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30808 result
= (bool)(arg1
)->Destroy(arg2
);
30810 wxPyEndAllowThreads(__tstate
);
30811 if (PyErr_Occurred()) SWIG_fail
;
30814 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30822 static PyObject
*_wrap_Menu_DestroyItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30823 PyObject
*resultobj
;
30824 wxMenu
*arg1
= (wxMenu
*) 0 ;
30825 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
30827 PyObject
* obj0
= 0 ;
30828 PyObject
* obj1
= 0 ;
30829 char *kwnames
[] = {
30830 (char *) "self",(char *) "item", NULL
30833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30834 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30835 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30836 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
30837 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30840 result
= (bool)(arg1
)->Destroy(arg2
);
30842 wxPyEndAllowThreads(__tstate
);
30843 if (PyErr_Occurred()) SWIG_fail
;
30846 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30854 static PyObject
*_wrap_Menu_GetMenuItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30855 PyObject
*resultobj
;
30856 wxMenu
*arg1
= (wxMenu
*) 0 ;
30858 PyObject
* obj0
= 0 ;
30859 char *kwnames
[] = {
30860 (char *) "self", NULL
30863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItemCount",kwnames
,&obj0
)) goto fail
;
30864 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30865 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30868 result
= (size_t)((wxMenu
const *)arg1
)->GetMenuItemCount();
30870 wxPyEndAllowThreads(__tstate
);
30871 if (PyErr_Occurred()) SWIG_fail
;
30873 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
30880 static PyObject
*_wrap_Menu_GetMenuItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30881 PyObject
*resultobj
;
30882 wxMenu
*arg1
= (wxMenu
*) 0 ;
30884 PyObject
* obj0
= 0 ;
30885 char *kwnames
[] = {
30886 (char *) "self", NULL
30889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItems",kwnames
,&obj0
)) goto fail
;
30890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30894 result
= (PyObject
*)wxMenu_GetMenuItems(arg1
);
30896 wxPyEndAllowThreads(__tstate
);
30897 if (PyErr_Occurred()) SWIG_fail
;
30899 resultobj
= result
;
30906 static PyObject
*_wrap_Menu_FindItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30907 PyObject
*resultobj
;
30908 wxMenu
*arg1
= (wxMenu
*) 0 ;
30909 wxString
*arg2
= 0 ;
30911 bool temp2
= false ;
30912 PyObject
* obj0
= 0 ;
30913 PyObject
* obj1
= 0 ;
30914 char *kwnames
[] = {
30915 (char *) "self",(char *) "item", NULL
30918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30922 arg2
= wxString_in_helper(obj1
);
30923 if (arg2
== NULL
) SWIG_fail
;
30927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30928 result
= (int)((wxMenu
const *)arg1
)->FindItem((wxString
const &)*arg2
);
30930 wxPyEndAllowThreads(__tstate
);
30931 if (PyErr_Occurred()) SWIG_fail
;
30933 resultobj
= SWIG_From_int((int)result
);
30948 static PyObject
*_wrap_Menu_FindItemById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30949 PyObject
*resultobj
;
30950 wxMenu
*arg1
= (wxMenu
*) 0 ;
30952 wxMenuItem
*result
;
30953 PyObject
* obj0
= 0 ;
30954 PyObject
* obj1
= 0 ;
30955 char *kwnames
[] = {
30956 (char *) "self",(char *) "id", NULL
30959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemById",kwnames
,&obj0
,&obj1
)) goto fail
;
30960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30962 arg2
= (int)SWIG_As_int(obj1
);
30963 if (PyErr_Occurred()) SWIG_fail
;
30965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30966 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItem(arg2
);
30968 wxPyEndAllowThreads(__tstate
);
30969 if (PyErr_Occurred()) SWIG_fail
;
30972 resultobj
= wxPyMake_wxObject(result
, 0);
30980 static PyObject
*_wrap_Menu_FindItemByPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30981 PyObject
*resultobj
;
30982 wxMenu
*arg1
= (wxMenu
*) 0 ;
30984 wxMenuItem
*result
;
30985 PyObject
* obj0
= 0 ;
30986 PyObject
* obj1
= 0 ;
30987 char *kwnames
[] = {
30988 (char *) "self",(char *) "position", NULL
30991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemByPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
30992 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30993 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30994 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
30995 if (PyErr_Occurred()) SWIG_fail
;
30997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30998 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItemByPosition(arg2
);
31000 wxPyEndAllowThreads(__tstate
);
31001 if (PyErr_Occurred()) SWIG_fail
;
31004 resultobj
= wxPyMake_wxObject(result
, 0);
31012 static PyObject
*_wrap_Menu_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31013 PyObject
*resultobj
;
31014 wxMenu
*arg1
= (wxMenu
*) 0 ;
31017 PyObject
* obj0
= 0 ;
31018 PyObject
* obj1
= 0 ;
31019 PyObject
* obj2
= 0 ;
31020 char *kwnames
[] = {
31021 (char *) "self",(char *) "id",(char *) "enable", NULL
31024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31027 arg2
= (int)SWIG_As_int(obj1
);
31028 if (PyErr_Occurred()) SWIG_fail
;
31029 arg3
= (bool)SWIG_As_bool(obj2
);
31030 if (PyErr_Occurred()) SWIG_fail
;
31032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31033 (arg1
)->Enable(arg2
,arg3
);
31035 wxPyEndAllowThreads(__tstate
);
31036 if (PyErr_Occurred()) SWIG_fail
;
31038 Py_INCREF(Py_None
); resultobj
= Py_None
;
31045 static PyObject
*_wrap_Menu_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31046 PyObject
*resultobj
;
31047 wxMenu
*arg1
= (wxMenu
*) 0 ;
31050 PyObject
* obj0
= 0 ;
31051 PyObject
* obj1
= 0 ;
31052 char *kwnames
[] = {
31053 (char *) "self",(char *) "id", NULL
31056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
31057 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31058 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31059 arg2
= (int)SWIG_As_int(obj1
);
31060 if (PyErr_Occurred()) SWIG_fail
;
31062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31063 result
= (bool)((wxMenu
const *)arg1
)->IsEnabled(arg2
);
31065 wxPyEndAllowThreads(__tstate
);
31066 if (PyErr_Occurred()) SWIG_fail
;
31069 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31077 static PyObject
*_wrap_Menu_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31078 PyObject
*resultobj
;
31079 wxMenu
*arg1
= (wxMenu
*) 0 ;
31082 PyObject
* obj0
= 0 ;
31083 PyObject
* obj1
= 0 ;
31084 PyObject
* obj2
= 0 ;
31085 char *kwnames
[] = {
31086 (char *) "self",(char *) "id",(char *) "check", NULL
31089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31090 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31092 arg2
= (int)SWIG_As_int(obj1
);
31093 if (PyErr_Occurred()) SWIG_fail
;
31094 arg3
= (bool)SWIG_As_bool(obj2
);
31095 if (PyErr_Occurred()) SWIG_fail
;
31097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31098 (arg1
)->Check(arg2
,arg3
);
31100 wxPyEndAllowThreads(__tstate
);
31101 if (PyErr_Occurred()) SWIG_fail
;
31103 Py_INCREF(Py_None
); resultobj
= Py_None
;
31110 static PyObject
*_wrap_Menu_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31111 PyObject
*resultobj
;
31112 wxMenu
*arg1
= (wxMenu
*) 0 ;
31115 PyObject
* obj0
= 0 ;
31116 PyObject
* obj1
= 0 ;
31117 char *kwnames
[] = {
31118 (char *) "self",(char *) "id", NULL
31121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
31122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31124 arg2
= (int)SWIG_As_int(obj1
);
31125 if (PyErr_Occurred()) SWIG_fail
;
31127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31128 result
= (bool)((wxMenu
const *)arg1
)->IsChecked(arg2
);
31130 wxPyEndAllowThreads(__tstate
);
31131 if (PyErr_Occurred()) SWIG_fail
;
31134 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31142 static PyObject
*_wrap_Menu_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31143 PyObject
*resultobj
;
31144 wxMenu
*arg1
= (wxMenu
*) 0 ;
31146 wxString
*arg3
= 0 ;
31147 bool temp3
= false ;
31148 PyObject
* obj0
= 0 ;
31149 PyObject
* obj1
= 0 ;
31150 PyObject
* obj2
= 0 ;
31151 char *kwnames
[] = {
31152 (char *) "self",(char *) "id",(char *) "label", NULL
31155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31158 arg2
= (int)SWIG_As_int(obj1
);
31159 if (PyErr_Occurred()) SWIG_fail
;
31161 arg3
= wxString_in_helper(obj2
);
31162 if (arg3
== NULL
) SWIG_fail
;
31166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31167 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
31169 wxPyEndAllowThreads(__tstate
);
31170 if (PyErr_Occurred()) SWIG_fail
;
31172 Py_INCREF(Py_None
); resultobj
= Py_None
;
31187 static PyObject
*_wrap_Menu_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31188 PyObject
*resultobj
;
31189 wxMenu
*arg1
= (wxMenu
*) 0 ;
31192 PyObject
* obj0
= 0 ;
31193 PyObject
* obj1
= 0 ;
31194 char *kwnames
[] = {
31195 (char *) "self",(char *) "id", NULL
31198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
31199 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31200 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31201 arg2
= (int)SWIG_As_int(obj1
);
31202 if (PyErr_Occurred()) SWIG_fail
;
31204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31205 result
= ((wxMenu
const *)arg1
)->GetLabel(arg2
);
31207 wxPyEndAllowThreads(__tstate
);
31208 if (PyErr_Occurred()) SWIG_fail
;
31212 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31214 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31223 static PyObject
*_wrap_Menu_SetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31224 PyObject
*resultobj
;
31225 wxMenu
*arg1
= (wxMenu
*) 0 ;
31227 wxString
*arg3
= 0 ;
31228 bool temp3
= false ;
31229 PyObject
* obj0
= 0 ;
31230 PyObject
* obj1
= 0 ;
31231 PyObject
* obj2
= 0 ;
31232 char *kwnames
[] = {
31233 (char *) "self",(char *) "id",(char *) "helpString", NULL
31236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31237 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31238 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31239 arg2
= (int)SWIG_As_int(obj1
);
31240 if (PyErr_Occurred()) SWIG_fail
;
31242 arg3
= wxString_in_helper(obj2
);
31243 if (arg3
== NULL
) SWIG_fail
;
31247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31248 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
31250 wxPyEndAllowThreads(__tstate
);
31251 if (PyErr_Occurred()) SWIG_fail
;
31253 Py_INCREF(Py_None
); resultobj
= Py_None
;
31268 static PyObject
*_wrap_Menu_GetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31269 PyObject
*resultobj
;
31270 wxMenu
*arg1
= (wxMenu
*) 0 ;
31273 PyObject
* obj0
= 0 ;
31274 PyObject
* obj1
= 0 ;
31275 char *kwnames
[] = {
31276 (char *) "self",(char *) "id", NULL
31279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetHelpString",kwnames
,&obj0
,&obj1
)) goto fail
;
31280 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31281 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31282 arg2
= (int)SWIG_As_int(obj1
);
31283 if (PyErr_Occurred()) SWIG_fail
;
31285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31286 result
= ((wxMenu
const *)arg1
)->GetHelpString(arg2
);
31288 wxPyEndAllowThreads(__tstate
);
31289 if (PyErr_Occurred()) SWIG_fail
;
31293 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31295 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31304 static PyObject
*_wrap_Menu_SetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31305 PyObject
*resultobj
;
31306 wxMenu
*arg1
= (wxMenu
*) 0 ;
31307 wxString
*arg2
= 0 ;
31308 bool temp2
= false ;
31309 PyObject
* obj0
= 0 ;
31310 PyObject
* obj1
= 0 ;
31311 char *kwnames
[] = {
31312 (char *) "self",(char *) "title", NULL
31315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
31316 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31317 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31319 arg2
= wxString_in_helper(obj1
);
31320 if (arg2
== NULL
) SWIG_fail
;
31324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31325 (arg1
)->SetTitle((wxString
const &)*arg2
);
31327 wxPyEndAllowThreads(__tstate
);
31328 if (PyErr_Occurred()) SWIG_fail
;
31330 Py_INCREF(Py_None
); resultobj
= Py_None
;
31345 static PyObject
*_wrap_Menu_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31346 PyObject
*resultobj
;
31347 wxMenu
*arg1
= (wxMenu
*) 0 ;
31349 PyObject
* obj0
= 0 ;
31350 char *kwnames
[] = {
31351 (char *) "self", NULL
31354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetTitle",kwnames
,&obj0
)) goto fail
;
31355 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31356 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31359 result
= ((wxMenu
const *)arg1
)->GetTitle();
31361 wxPyEndAllowThreads(__tstate
);
31362 if (PyErr_Occurred()) SWIG_fail
;
31366 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31368 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31377 static PyObject
*_wrap_Menu_SetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31378 PyObject
*resultobj
;
31379 wxMenu
*arg1
= (wxMenu
*) 0 ;
31380 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
31381 PyObject
* obj0
= 0 ;
31382 PyObject
* obj1
= 0 ;
31383 char *kwnames
[] = {
31384 (char *) "self",(char *) "handler", NULL
31387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
31388 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31390 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
31391 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31394 (arg1
)->SetEventHandler(arg2
);
31396 wxPyEndAllowThreads(__tstate
);
31397 if (PyErr_Occurred()) SWIG_fail
;
31399 Py_INCREF(Py_None
); resultobj
= Py_None
;
31406 static PyObject
*_wrap_Menu_GetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31407 PyObject
*resultobj
;
31408 wxMenu
*arg1
= (wxMenu
*) 0 ;
31409 wxEvtHandler
*result
;
31410 PyObject
* obj0
= 0 ;
31411 char *kwnames
[] = {
31412 (char *) "self", NULL
31415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetEventHandler",kwnames
,&obj0
)) goto fail
;
31416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31420 result
= (wxEvtHandler
*)((wxMenu
const *)arg1
)->GetEventHandler();
31422 wxPyEndAllowThreads(__tstate
);
31423 if (PyErr_Occurred()) SWIG_fail
;
31426 resultobj
= wxPyMake_wxObject(result
, 0);
31434 static PyObject
*_wrap_Menu_SetInvokingWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31435 PyObject
*resultobj
;
31436 wxMenu
*arg1
= (wxMenu
*) 0 ;
31437 wxWindow
*arg2
= (wxWindow
*) 0 ;
31438 PyObject
* obj0
= 0 ;
31439 PyObject
* obj1
= 0 ;
31440 char *kwnames
[] = {
31441 (char *) "self",(char *) "win", NULL
31444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetInvokingWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
31445 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31447 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
31448 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31451 (arg1
)->SetInvokingWindow(arg2
);
31453 wxPyEndAllowThreads(__tstate
);
31454 if (PyErr_Occurred()) SWIG_fail
;
31456 Py_INCREF(Py_None
); resultobj
= Py_None
;
31463 static PyObject
*_wrap_Menu_GetInvokingWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31464 PyObject
*resultobj
;
31465 wxMenu
*arg1
= (wxMenu
*) 0 ;
31467 PyObject
* obj0
= 0 ;
31468 char *kwnames
[] = {
31469 (char *) "self", NULL
31472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetInvokingWindow",kwnames
,&obj0
)) goto fail
;
31473 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31477 result
= (wxWindow
*)((wxMenu
const *)arg1
)->GetInvokingWindow();
31479 wxPyEndAllowThreads(__tstate
);
31480 if (PyErr_Occurred()) SWIG_fail
;
31483 resultobj
= wxPyMake_wxObject(result
, 0);
31491 static PyObject
*_wrap_Menu_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31492 PyObject
*resultobj
;
31493 wxMenu
*arg1
= (wxMenu
*) 0 ;
31495 PyObject
* obj0
= 0 ;
31496 char *kwnames
[] = {
31497 (char *) "self", NULL
31500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetStyle",kwnames
,&obj0
)) goto fail
;
31501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31505 result
= (long)((wxMenu
const *)arg1
)->GetStyle();
31507 wxPyEndAllowThreads(__tstate
);
31508 if (PyErr_Occurred()) SWIG_fail
;
31510 resultobj
= SWIG_From_long((long)result
);
31517 static PyObject
*_wrap_Menu_UpdateUI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31518 PyObject
*resultobj
;
31519 wxMenu
*arg1
= (wxMenu
*) 0 ;
31520 wxEvtHandler
*arg2
= (wxEvtHandler
*) NULL
;
31521 PyObject
* obj0
= 0 ;
31522 PyObject
* obj1
= 0 ;
31523 char *kwnames
[] = {
31524 (char *) "self",(char *) "source", NULL
31527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Menu_UpdateUI",kwnames
,&obj0
,&obj1
)) goto fail
;
31528 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31531 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
31532 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31536 (arg1
)->UpdateUI(arg2
);
31538 wxPyEndAllowThreads(__tstate
);
31539 if (PyErr_Occurred()) SWIG_fail
;
31541 Py_INCREF(Py_None
); resultobj
= Py_None
;
31548 static PyObject
*_wrap_Menu_GetMenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31549 PyObject
*resultobj
;
31550 wxMenu
*arg1
= (wxMenu
*) 0 ;
31552 PyObject
* obj0
= 0 ;
31553 char *kwnames
[] = {
31554 (char *) "self", NULL
31557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuBar",kwnames
,&obj0
)) goto fail
;
31558 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31559 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31562 result
= (wxMenuBar
*)((wxMenu
const *)arg1
)->GetMenuBar();
31564 wxPyEndAllowThreads(__tstate
);
31565 if (PyErr_Occurred()) SWIG_fail
;
31568 resultobj
= wxPyMake_wxObject(result
, 0);
31576 static PyObject
*_wrap_Menu_Attach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31577 PyObject
*resultobj
;
31578 wxMenu
*arg1
= (wxMenu
*) 0 ;
31579 wxMenuBarBase
*arg2
= (wxMenuBarBase
*) 0 ;
31580 PyObject
* obj0
= 0 ;
31581 PyObject
* obj1
= 0 ;
31582 char *kwnames
[] = {
31583 (char *) "self",(char *) "menubar", NULL
31586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
31587 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31589 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuBarBase
,
31590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31593 (arg1
)->Attach(arg2
);
31595 wxPyEndAllowThreads(__tstate
);
31596 if (PyErr_Occurred()) SWIG_fail
;
31598 Py_INCREF(Py_None
); resultobj
= Py_None
;
31605 static PyObject
*_wrap_Menu_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31606 PyObject
*resultobj
;
31607 wxMenu
*arg1
= (wxMenu
*) 0 ;
31608 PyObject
* obj0
= 0 ;
31609 char *kwnames
[] = {
31610 (char *) "self", NULL
31613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Detach",kwnames
,&obj0
)) goto fail
;
31614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31620 wxPyEndAllowThreads(__tstate
);
31621 if (PyErr_Occurred()) SWIG_fail
;
31623 Py_INCREF(Py_None
); resultobj
= Py_None
;
31630 static PyObject
*_wrap_Menu_IsAttached(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31631 PyObject
*resultobj
;
31632 wxMenu
*arg1
= (wxMenu
*) 0 ;
31634 PyObject
* obj0
= 0 ;
31635 char *kwnames
[] = {
31636 (char *) "self", NULL
31639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_IsAttached",kwnames
,&obj0
)) goto fail
;
31640 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31641 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31644 result
= (bool)((wxMenu
const *)arg1
)->IsAttached();
31646 wxPyEndAllowThreads(__tstate
);
31647 if (PyErr_Occurred()) SWIG_fail
;
31650 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31658 static PyObject
*_wrap_Menu_SetParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31659 PyObject
*resultobj
;
31660 wxMenu
*arg1
= (wxMenu
*) 0 ;
31661 wxMenu
*arg2
= (wxMenu
*) 0 ;
31662 PyObject
* obj0
= 0 ;
31663 PyObject
* obj1
= 0 ;
31664 char *kwnames
[] = {
31665 (char *) "self",(char *) "parent", NULL
31668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetParent",kwnames
,&obj0
,&obj1
)) goto fail
;
31669 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31670 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31671 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
31672 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31675 (arg1
)->SetParent(arg2
);
31677 wxPyEndAllowThreads(__tstate
);
31678 if (PyErr_Occurred()) SWIG_fail
;
31680 Py_INCREF(Py_None
); resultobj
= Py_None
;
31687 static PyObject
*_wrap_Menu_GetParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31688 PyObject
*resultobj
;
31689 wxMenu
*arg1
= (wxMenu
*) 0 ;
31691 PyObject
* obj0
= 0 ;
31692 char *kwnames
[] = {
31693 (char *) "self", NULL
31696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetParent",kwnames
,&obj0
)) goto fail
;
31697 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31698 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31701 result
= (wxMenu
*)((wxMenu
const *)arg1
)->GetParent();
31703 wxPyEndAllowThreads(__tstate
);
31704 if (PyErr_Occurred()) SWIG_fail
;
31707 resultobj
= wxPyMake_wxObject(result
, 0);
31715 static PyObject
* Menu_swigregister(PyObject
*, PyObject
*args
) {
31717 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31718 SWIG_TypeClientData(SWIGTYPE_p_wxMenu
, obj
);
31720 return Py_BuildValue((char *)"");
31722 static PyObject
*_wrap_new_MenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31723 PyObject
*resultobj
;
31724 long arg1
= (long) 0 ;
31726 PyObject
* obj0
= 0 ;
31727 char *kwnames
[] = {
31728 (char *) "style", NULL
31731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MenuBar",kwnames
,&obj0
)) goto fail
;
31733 arg1
= (long)SWIG_As_long(obj0
);
31734 if (PyErr_Occurred()) SWIG_fail
;
31737 if (!wxPyCheckForApp()) SWIG_fail
;
31738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31739 result
= (wxMenuBar
*)new wxMenuBar(arg1
);
31741 wxPyEndAllowThreads(__tstate
);
31742 if (PyErr_Occurred()) SWIG_fail
;
31744 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenuBar
, 1);
31751 static PyObject
*_wrap_MenuBar_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31752 PyObject
*resultobj
;
31753 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31754 wxMenu
*arg2
= (wxMenu
*) 0 ;
31755 wxString
*arg3
= 0 ;
31757 bool temp3
= false ;
31758 PyObject
* obj0
= 0 ;
31759 PyObject
* obj1
= 0 ;
31760 PyObject
* obj2
= 0 ;
31761 char *kwnames
[] = {
31762 (char *) "self",(char *) "menu",(char *) "title", NULL
31765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31766 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31767 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31768 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
31769 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31771 arg3
= wxString_in_helper(obj2
);
31772 if (arg3
== NULL
) SWIG_fail
;
31776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31777 result
= (bool)(arg1
)->Append(arg2
,(wxString
const &)*arg3
);
31779 wxPyEndAllowThreads(__tstate
);
31780 if (PyErr_Occurred()) SWIG_fail
;
31783 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31799 static PyObject
*_wrap_MenuBar_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31800 PyObject
*resultobj
;
31801 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31803 wxMenu
*arg3
= (wxMenu
*) 0 ;
31804 wxString
*arg4
= 0 ;
31806 bool temp4
= false ;
31807 PyObject
* obj0
= 0 ;
31808 PyObject
* obj1
= 0 ;
31809 PyObject
* obj2
= 0 ;
31810 PyObject
* obj3
= 0 ;
31811 char *kwnames
[] = {
31812 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
31815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
31816 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31818 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
31819 if (PyErr_Occurred()) SWIG_fail
;
31820 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenu
,
31821 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31823 arg4
= wxString_in_helper(obj3
);
31824 if (arg4
== NULL
) SWIG_fail
;
31828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31829 result
= (bool)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
);
31831 wxPyEndAllowThreads(__tstate
);
31832 if (PyErr_Occurred()) SWIG_fail
;
31835 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31851 static PyObject
*_wrap_MenuBar_GetMenuCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31852 PyObject
*resultobj
;
31853 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31855 PyObject
* obj0
= 0 ;
31856 char *kwnames
[] = {
31857 (char *) "self", NULL
31860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetMenuCount",kwnames
,&obj0
)) goto fail
;
31861 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31862 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31865 result
= (size_t)((wxMenuBar
const *)arg1
)->GetMenuCount();
31867 wxPyEndAllowThreads(__tstate
);
31868 if (PyErr_Occurred()) SWIG_fail
;
31870 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
31877 static PyObject
*_wrap_MenuBar_GetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31878 PyObject
*resultobj
;
31879 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31882 PyObject
* obj0
= 0 ;
31883 PyObject
* obj1
= 0 ;
31884 char *kwnames
[] = {
31885 (char *) "self",(char *) "pos", NULL
31888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
31889 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31891 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
31892 if (PyErr_Occurred()) SWIG_fail
;
31894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31895 result
= (wxMenu
*)((wxMenuBar
const *)arg1
)->GetMenu(arg2
);
31897 wxPyEndAllowThreads(__tstate
);
31898 if (PyErr_Occurred()) SWIG_fail
;
31901 resultobj
= wxPyMake_wxObject(result
, 0);
31909 static PyObject
*_wrap_MenuBar_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31910 PyObject
*resultobj
;
31911 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31913 wxMenu
*arg3
= (wxMenu
*) 0 ;
31914 wxString
*arg4
= 0 ;
31916 bool temp4
= false ;
31917 PyObject
* obj0
= 0 ;
31918 PyObject
* obj1
= 0 ;
31919 PyObject
* obj2
= 0 ;
31920 PyObject
* obj3
= 0 ;
31921 char *kwnames
[] = {
31922 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
31925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
31926 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31927 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31928 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
31929 if (PyErr_Occurred()) SWIG_fail
;
31930 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenu
,
31931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31933 arg4
= wxString_in_helper(obj3
);
31934 if (arg4
== NULL
) SWIG_fail
;
31938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31939 result
= (wxMenu
*)(arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
31941 wxPyEndAllowThreads(__tstate
);
31942 if (PyErr_Occurred()) SWIG_fail
;
31945 resultobj
= wxPyMake_wxObject(result
, 0);
31961 static PyObject
*_wrap_MenuBar_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31962 PyObject
*resultobj
;
31963 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31966 PyObject
* obj0
= 0 ;
31967 PyObject
* obj1
= 0 ;
31968 char *kwnames
[] = {
31969 (char *) "self",(char *) "pos", NULL
31972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
31973 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31974 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31975 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
31976 if (PyErr_Occurred()) SWIG_fail
;
31978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31979 result
= (wxMenu
*)(arg1
)->Remove(arg2
);
31981 wxPyEndAllowThreads(__tstate
);
31982 if (PyErr_Occurred()) SWIG_fail
;
31985 resultobj
= wxPyMake_wxObject(result
, 0);
31993 static PyObject
*_wrap_MenuBar_EnableTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31994 PyObject
*resultobj
;
31995 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31998 PyObject
* obj0
= 0 ;
31999 PyObject
* obj1
= 0 ;
32000 PyObject
* obj2
= 0 ;
32001 char *kwnames
[] = {
32002 (char *) "self",(char *) "pos",(char *) "enable", NULL
32005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_EnableTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32006 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32008 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
32009 if (PyErr_Occurred()) SWIG_fail
;
32010 arg3
= (bool)SWIG_As_bool(obj2
);
32011 if (PyErr_Occurred()) SWIG_fail
;
32013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32014 (arg1
)->EnableTop(arg2
,arg3
);
32016 wxPyEndAllowThreads(__tstate
);
32017 if (PyErr_Occurred()) SWIG_fail
;
32019 Py_INCREF(Py_None
); resultobj
= Py_None
;
32026 static PyObject
*_wrap_MenuBar_IsEnabledTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32027 PyObject
*resultobj
;
32028 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32031 PyObject
* obj0
= 0 ;
32032 PyObject
* obj1
= 0 ;
32033 char *kwnames
[] = {
32034 (char *) "self",(char *) "pos", NULL
32037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabledTop",kwnames
,&obj0
,&obj1
)) goto fail
;
32038 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32040 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
32041 if (PyErr_Occurred()) SWIG_fail
;
32043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32044 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabledTop(arg2
);
32046 wxPyEndAllowThreads(__tstate
);
32047 if (PyErr_Occurred()) SWIG_fail
;
32050 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32058 static PyObject
*_wrap_MenuBar_SetLabelTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32059 PyObject
*resultobj
;
32060 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32062 wxString
*arg3
= 0 ;
32063 bool temp3
= false ;
32064 PyObject
* obj0
= 0 ;
32065 PyObject
* obj1
= 0 ;
32066 PyObject
* obj2
= 0 ;
32067 char *kwnames
[] = {
32068 (char *) "self",(char *) "pos",(char *) "label", NULL
32071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabelTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32072 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32073 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32074 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
32075 if (PyErr_Occurred()) SWIG_fail
;
32077 arg3
= wxString_in_helper(obj2
);
32078 if (arg3
== NULL
) SWIG_fail
;
32082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32083 (arg1
)->SetLabelTop(arg2
,(wxString
const &)*arg3
);
32085 wxPyEndAllowThreads(__tstate
);
32086 if (PyErr_Occurred()) SWIG_fail
;
32088 Py_INCREF(Py_None
); resultobj
= Py_None
;
32103 static PyObject
*_wrap_MenuBar_GetLabelTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32104 PyObject
*resultobj
;
32105 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32108 PyObject
* obj0
= 0 ;
32109 PyObject
* obj1
= 0 ;
32110 char *kwnames
[] = {
32111 (char *) "self",(char *) "pos", NULL
32114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabelTop",kwnames
,&obj0
,&obj1
)) goto fail
;
32115 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32117 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
32118 if (PyErr_Occurred()) SWIG_fail
;
32120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32121 result
= ((wxMenuBar
const *)arg1
)->GetLabelTop(arg2
);
32123 wxPyEndAllowThreads(__tstate
);
32124 if (PyErr_Occurred()) SWIG_fail
;
32128 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32130 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32139 static PyObject
*_wrap_MenuBar_FindMenuItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32140 PyObject
*resultobj
;
32141 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32142 wxString
*arg2
= 0 ;
32143 wxString
*arg3
= 0 ;
32145 bool temp2
= false ;
32146 bool temp3
= false ;
32147 PyObject
* obj0
= 0 ;
32148 PyObject
* obj1
= 0 ;
32149 PyObject
* obj2
= 0 ;
32150 char *kwnames
[] = {
32151 (char *) "self",(char *) "menu",(char *) "item", NULL
32154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_FindMenuItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32158 arg2
= wxString_in_helper(obj1
);
32159 if (arg2
== NULL
) SWIG_fail
;
32163 arg3
= wxString_in_helper(obj2
);
32164 if (arg3
== NULL
) SWIG_fail
;
32168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32169 result
= (int)((wxMenuBar
const *)arg1
)->FindMenuItem((wxString
const &)*arg2
,(wxString
const &)*arg3
);
32171 wxPyEndAllowThreads(__tstate
);
32172 if (PyErr_Occurred()) SWIG_fail
;
32174 resultobj
= SWIG_From_int((int)result
);
32197 static PyObject
*_wrap_MenuBar_FindItemById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32198 PyObject
*resultobj
;
32199 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32201 wxMenuItem
*result
;
32202 PyObject
* obj0
= 0 ;
32203 PyObject
* obj1
= 0 ;
32204 char *kwnames
[] = {
32205 (char *) "self",(char *) "id", NULL
32208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindItemById",kwnames
,&obj0
,&obj1
)) goto fail
;
32209 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32211 arg2
= (int)SWIG_As_int(obj1
);
32212 if (PyErr_Occurred()) SWIG_fail
;
32214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32215 result
= (wxMenuItem
*)((wxMenuBar
const *)arg1
)->FindItem(arg2
);
32217 wxPyEndAllowThreads(__tstate
);
32218 if (PyErr_Occurred()) SWIG_fail
;
32221 resultobj
= wxPyMake_wxObject(result
, 0);
32229 static PyObject
*_wrap_MenuBar_FindMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32230 PyObject
*resultobj
;
32231 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32232 wxString
*arg2
= 0 ;
32234 bool temp2
= false ;
32235 PyObject
* obj0
= 0 ;
32236 PyObject
* obj1
= 0 ;
32237 char *kwnames
[] = {
32238 (char *) "self",(char *) "title", NULL
32241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
32242 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32243 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32245 arg2
= wxString_in_helper(obj1
);
32246 if (arg2
== NULL
) SWIG_fail
;
32250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32251 result
= (int)((wxMenuBar
const *)arg1
)->FindMenu((wxString
const &)*arg2
);
32253 wxPyEndAllowThreads(__tstate
);
32254 if (PyErr_Occurred()) SWIG_fail
;
32256 resultobj
= SWIG_From_int((int)result
);
32271 static PyObject
*_wrap_MenuBar_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32272 PyObject
*resultobj
;
32273 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32276 PyObject
* obj0
= 0 ;
32277 PyObject
* obj1
= 0 ;
32278 PyObject
* obj2
= 0 ;
32279 char *kwnames
[] = {
32280 (char *) "self",(char *) "id",(char *) "enable", NULL
32283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32284 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32285 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32286 arg2
= (int)SWIG_As_int(obj1
);
32287 if (PyErr_Occurred()) SWIG_fail
;
32288 arg3
= (bool)SWIG_As_bool(obj2
);
32289 if (PyErr_Occurred()) SWIG_fail
;
32291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32292 (arg1
)->Enable(arg2
,arg3
);
32294 wxPyEndAllowThreads(__tstate
);
32295 if (PyErr_Occurred()) SWIG_fail
;
32297 Py_INCREF(Py_None
); resultobj
= Py_None
;
32304 static PyObject
*_wrap_MenuBar_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32305 PyObject
*resultobj
;
32306 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32309 PyObject
* obj0
= 0 ;
32310 PyObject
* obj1
= 0 ;
32311 PyObject
* obj2
= 0 ;
32312 char *kwnames
[] = {
32313 (char *) "self",(char *) "id",(char *) "check", NULL
32316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32317 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32319 arg2
= (int)SWIG_As_int(obj1
);
32320 if (PyErr_Occurred()) SWIG_fail
;
32321 arg3
= (bool)SWIG_As_bool(obj2
);
32322 if (PyErr_Occurred()) SWIG_fail
;
32324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32325 (arg1
)->Check(arg2
,arg3
);
32327 wxPyEndAllowThreads(__tstate
);
32328 if (PyErr_Occurred()) SWIG_fail
;
32330 Py_INCREF(Py_None
); resultobj
= Py_None
;
32337 static PyObject
*_wrap_MenuBar_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32338 PyObject
*resultobj
;
32339 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32342 PyObject
* obj0
= 0 ;
32343 PyObject
* obj1
= 0 ;
32344 char *kwnames
[] = {
32345 (char *) "self",(char *) "id", NULL
32348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
32349 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32351 arg2
= (int)SWIG_As_int(obj1
);
32352 if (PyErr_Occurred()) SWIG_fail
;
32354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32355 result
= (bool)((wxMenuBar
const *)arg1
)->IsChecked(arg2
);
32357 wxPyEndAllowThreads(__tstate
);
32358 if (PyErr_Occurred()) SWIG_fail
;
32361 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32369 static PyObject
*_wrap_MenuBar_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32370 PyObject
*resultobj
;
32371 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32374 PyObject
* obj0
= 0 ;
32375 PyObject
* obj1
= 0 ;
32376 char *kwnames
[] = {
32377 (char *) "self",(char *) "id", NULL
32380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
32381 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32383 arg2
= (int)SWIG_As_int(obj1
);
32384 if (PyErr_Occurred()) SWIG_fail
;
32386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32387 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabled(arg2
);
32389 wxPyEndAllowThreads(__tstate
);
32390 if (PyErr_Occurred()) SWIG_fail
;
32393 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32401 static PyObject
*_wrap_MenuBar_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32402 PyObject
*resultobj
;
32403 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32405 wxString
*arg3
= 0 ;
32406 bool temp3
= false ;
32407 PyObject
* obj0
= 0 ;
32408 PyObject
* obj1
= 0 ;
32409 PyObject
* obj2
= 0 ;
32410 char *kwnames
[] = {
32411 (char *) "self",(char *) "id",(char *) "label", NULL
32414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32415 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32417 arg2
= (int)SWIG_As_int(obj1
);
32418 if (PyErr_Occurred()) SWIG_fail
;
32420 arg3
= wxString_in_helper(obj2
);
32421 if (arg3
== NULL
) SWIG_fail
;
32425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32426 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
32428 wxPyEndAllowThreads(__tstate
);
32429 if (PyErr_Occurred()) SWIG_fail
;
32431 Py_INCREF(Py_None
); resultobj
= Py_None
;
32446 static PyObject
*_wrap_MenuBar_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32447 PyObject
*resultobj
;
32448 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32451 PyObject
* obj0
= 0 ;
32452 PyObject
* obj1
= 0 ;
32453 char *kwnames
[] = {
32454 (char *) "self",(char *) "id", NULL
32457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
32458 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32459 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32460 arg2
= (int)SWIG_As_int(obj1
);
32461 if (PyErr_Occurred()) SWIG_fail
;
32463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32464 result
= ((wxMenuBar
const *)arg1
)->GetLabel(arg2
);
32466 wxPyEndAllowThreads(__tstate
);
32467 if (PyErr_Occurred()) SWIG_fail
;
32471 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32473 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32482 static PyObject
*_wrap_MenuBar_SetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32483 PyObject
*resultobj
;
32484 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32486 wxString
*arg3
= 0 ;
32487 bool temp3
= false ;
32488 PyObject
* obj0
= 0 ;
32489 PyObject
* obj1
= 0 ;
32490 PyObject
* obj2
= 0 ;
32491 char *kwnames
[] = {
32492 (char *) "self",(char *) "id",(char *) "helpString", NULL
32495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32496 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32497 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32498 arg2
= (int)SWIG_As_int(obj1
);
32499 if (PyErr_Occurred()) SWIG_fail
;
32501 arg3
= wxString_in_helper(obj2
);
32502 if (arg3
== NULL
) SWIG_fail
;
32506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32507 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
32509 wxPyEndAllowThreads(__tstate
);
32510 if (PyErr_Occurred()) SWIG_fail
;
32512 Py_INCREF(Py_None
); resultobj
= Py_None
;
32527 static PyObject
*_wrap_MenuBar_GetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32528 PyObject
*resultobj
;
32529 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32532 PyObject
* obj0
= 0 ;
32533 PyObject
* obj1
= 0 ;
32534 char *kwnames
[] = {
32535 (char *) "self",(char *) "id", NULL
32538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetHelpString",kwnames
,&obj0
,&obj1
)) goto fail
;
32539 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32540 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32541 arg2
= (int)SWIG_As_int(obj1
);
32542 if (PyErr_Occurred()) SWIG_fail
;
32544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32545 result
= ((wxMenuBar
const *)arg1
)->GetHelpString(arg2
);
32547 wxPyEndAllowThreads(__tstate
);
32548 if (PyErr_Occurred()) SWIG_fail
;
32552 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32554 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32563 static PyObject
*_wrap_MenuBar_GetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32564 PyObject
*resultobj
;
32565 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32567 PyObject
* obj0
= 0 ;
32568 char *kwnames
[] = {
32569 (char *) "self", NULL
32572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetFrame",kwnames
,&obj0
)) goto fail
;
32573 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32574 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32577 result
= (wxFrame
*)((wxMenuBar
const *)arg1
)->GetFrame();
32579 wxPyEndAllowThreads(__tstate
);
32580 if (PyErr_Occurred()) SWIG_fail
;
32583 resultobj
= wxPyMake_wxObject(result
, 0);
32591 static PyObject
*_wrap_MenuBar_IsAttached(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32592 PyObject
*resultobj
;
32593 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32595 PyObject
* obj0
= 0 ;
32596 char *kwnames
[] = {
32597 (char *) "self", NULL
32600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_IsAttached",kwnames
,&obj0
)) goto fail
;
32601 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32602 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32605 result
= (bool)((wxMenuBar
const *)arg1
)->IsAttached();
32607 wxPyEndAllowThreads(__tstate
);
32608 if (PyErr_Occurred()) SWIG_fail
;
32611 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32619 static PyObject
*_wrap_MenuBar_Attach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32620 PyObject
*resultobj
;
32621 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32622 wxFrame
*arg2
= (wxFrame
*) 0 ;
32623 PyObject
* obj0
= 0 ;
32624 PyObject
* obj1
= 0 ;
32625 char *kwnames
[] = {
32626 (char *) "self",(char *) "frame", NULL
32629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
32630 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32631 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32632 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
32633 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32636 (arg1
)->Attach(arg2
);
32638 wxPyEndAllowThreads(__tstate
);
32639 if (PyErr_Occurred()) SWIG_fail
;
32641 Py_INCREF(Py_None
); resultobj
= Py_None
;
32648 static PyObject
*_wrap_MenuBar_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32649 PyObject
*resultobj
;
32650 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32651 PyObject
* obj0
= 0 ;
32652 char *kwnames
[] = {
32653 (char *) "self", NULL
32656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_Detach",kwnames
,&obj0
)) goto fail
;
32657 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32658 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32663 wxPyEndAllowThreads(__tstate
);
32664 if (PyErr_Occurred()) SWIG_fail
;
32666 Py_INCREF(Py_None
); resultobj
= Py_None
;
32673 static PyObject
* MenuBar_swigregister(PyObject
*, PyObject
*args
) {
32675 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32676 SWIG_TypeClientData(SWIGTYPE_p_wxMenuBar
, obj
);
32678 return Py_BuildValue((char *)"");
32680 static PyObject
*_wrap_new_MenuItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32681 PyObject
*resultobj
;
32682 wxMenu
*arg1
= (wxMenu
*) NULL
;
32683 int arg2
= (int) wxID_ANY
;
32684 wxString
const &arg3_defvalue
= wxPyEmptyString
;
32685 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
32686 wxString
const &arg4_defvalue
= wxPyEmptyString
;
32687 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
32688 int arg5
= (int) wxITEM_NORMAL
;
32689 wxMenu
*arg6
= (wxMenu
*) NULL
;
32690 wxMenuItem
*result
;
32691 bool temp3
= false ;
32692 bool temp4
= false ;
32693 PyObject
* obj0
= 0 ;
32694 PyObject
* obj1
= 0 ;
32695 PyObject
* obj2
= 0 ;
32696 PyObject
* obj3
= 0 ;
32697 PyObject
* obj4
= 0 ;
32698 PyObject
* obj5
= 0 ;
32699 char *kwnames
[] = {
32700 (char *) "parentMenu",(char *) "id",(char *) "text",(char *) "help",(char *) "kind",(char *) "subMenu", NULL
32703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOO:new_MenuItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
32705 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
32706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32709 arg2
= (int)SWIG_As_int(obj1
);
32710 if (PyErr_Occurred()) SWIG_fail
;
32714 arg3
= wxString_in_helper(obj2
);
32715 if (arg3
== NULL
) SWIG_fail
;
32721 arg4
= wxString_in_helper(obj3
);
32722 if (arg4
== NULL
) SWIG_fail
;
32727 arg5
= (int)SWIG_As_int(obj4
);
32728 if (PyErr_Occurred()) SWIG_fail
;
32731 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxMenu
,
32732 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32736 result
= (wxMenuItem
*)new wxMenuItem(arg1
,arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
,arg6
);
32738 wxPyEndAllowThreads(__tstate
);
32739 if (PyErr_Occurred()) SWIG_fail
;
32742 resultobj
= wxPyMake_wxObject(result
, 1);
32766 static PyObject
*_wrap_MenuItem_GetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32767 PyObject
*resultobj
;
32768 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32770 PyObject
* obj0
= 0 ;
32771 char *kwnames
[] = {
32772 (char *) "self", NULL
32775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetMenu",kwnames
,&obj0
)) goto fail
;
32776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32780 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetMenu();
32782 wxPyEndAllowThreads(__tstate
);
32783 if (PyErr_Occurred()) SWIG_fail
;
32786 resultobj
= wxPyMake_wxObject(result
, 0);
32794 static PyObject
*_wrap_MenuItem_SetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32795 PyObject
*resultobj
;
32796 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32797 wxMenu
*arg2
= (wxMenu
*) 0 ;
32798 PyObject
* obj0
= 0 ;
32799 PyObject
* obj1
= 0 ;
32800 char *kwnames
[] = {
32801 (char *) "self",(char *) "menu", NULL
32804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
32805 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32806 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32807 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
32808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32811 (arg1
)->SetMenu(arg2
);
32813 wxPyEndAllowThreads(__tstate
);
32814 if (PyErr_Occurred()) SWIG_fail
;
32816 Py_INCREF(Py_None
); resultobj
= Py_None
;
32823 static PyObject
*_wrap_MenuItem_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32824 PyObject
*resultobj
;
32825 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32827 PyObject
* obj0
= 0 ;
32828 PyObject
* obj1
= 0 ;
32829 char *kwnames
[] = {
32830 (char *) "self",(char *) "id", NULL
32833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
32834 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32835 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32836 arg2
= (int)SWIG_As_int(obj1
);
32837 if (PyErr_Occurred()) SWIG_fail
;
32839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32840 (arg1
)->SetId(arg2
);
32842 wxPyEndAllowThreads(__tstate
);
32843 if (PyErr_Occurred()) SWIG_fail
;
32845 Py_INCREF(Py_None
); resultobj
= Py_None
;
32852 static PyObject
*_wrap_MenuItem_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32853 PyObject
*resultobj
;
32854 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32856 PyObject
* obj0
= 0 ;
32857 char *kwnames
[] = {
32858 (char *) "self", NULL
32861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetId",kwnames
,&obj0
)) goto fail
;
32862 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32863 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32866 result
= (int)((wxMenuItem
const *)arg1
)->GetId();
32868 wxPyEndAllowThreads(__tstate
);
32869 if (PyErr_Occurred()) SWIG_fail
;
32871 resultobj
= SWIG_From_int((int)result
);
32878 static PyObject
*_wrap_MenuItem_IsSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32879 PyObject
*resultobj
;
32880 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32882 PyObject
* obj0
= 0 ;
32883 char *kwnames
[] = {
32884 (char *) "self", NULL
32887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSeparator",kwnames
,&obj0
)) goto fail
;
32888 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32889 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32892 result
= (bool)((wxMenuItem
const *)arg1
)->IsSeparator();
32894 wxPyEndAllowThreads(__tstate
);
32895 if (PyErr_Occurred()) SWIG_fail
;
32898 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32906 static PyObject
*_wrap_MenuItem_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32907 PyObject
*resultobj
;
32908 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32909 wxString
*arg2
= 0 ;
32910 bool temp2
= false ;
32911 PyObject
* obj0
= 0 ;
32912 PyObject
* obj1
= 0 ;
32913 char *kwnames
[] = {
32914 (char *) "self",(char *) "str", NULL
32917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
32918 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32919 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32921 arg2
= wxString_in_helper(obj1
);
32922 if (arg2
== NULL
) SWIG_fail
;
32926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32927 (arg1
)->SetText((wxString
const &)*arg2
);
32929 wxPyEndAllowThreads(__tstate
);
32930 if (PyErr_Occurred()) SWIG_fail
;
32932 Py_INCREF(Py_None
); resultobj
= Py_None
;
32947 static PyObject
*_wrap_MenuItem_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32948 PyObject
*resultobj
;
32949 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32951 PyObject
* obj0
= 0 ;
32952 char *kwnames
[] = {
32953 (char *) "self", NULL
32956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabel",kwnames
,&obj0
)) goto fail
;
32957 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32958 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32961 result
= ((wxMenuItem
const *)arg1
)->GetLabel();
32963 wxPyEndAllowThreads(__tstate
);
32964 if (PyErr_Occurred()) SWIG_fail
;
32968 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32970 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32979 static PyObject
*_wrap_MenuItem_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32980 PyObject
*resultobj
;
32981 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32983 PyObject
* obj0
= 0 ;
32984 char *kwnames
[] = {
32985 (char *) "self", NULL
32988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetText",kwnames
,&obj0
)) goto fail
;
32989 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32994 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetText();
32995 result
= (wxString
*) &_result_ref
;
32998 wxPyEndAllowThreads(__tstate
);
32999 if (PyErr_Occurred()) SWIG_fail
;
33003 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
33005 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
33014 static PyObject
*_wrap_MenuItem_GetLabelFromText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33015 PyObject
*resultobj
;
33016 wxString
*arg1
= 0 ;
33018 bool temp1
= false ;
33019 PyObject
* obj0
= 0 ;
33020 char *kwnames
[] = {
33021 (char *) "text", NULL
33024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabelFromText",kwnames
,&obj0
)) goto fail
;
33026 arg1
= wxString_in_helper(obj0
);
33027 if (arg1
== NULL
) SWIG_fail
;
33031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33032 result
= wxMenuItem::GetLabelFromText((wxString
const &)*arg1
);
33034 wxPyEndAllowThreads(__tstate
);
33035 if (PyErr_Occurred()) SWIG_fail
;
33039 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33041 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33058 static PyObject
*_wrap_MenuItem_GetKind(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33059 PyObject
*resultobj
;
33060 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33062 PyObject
* obj0
= 0 ;
33063 char *kwnames
[] = {
33064 (char *) "self", NULL
33067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetKind",kwnames
,&obj0
)) goto fail
;
33068 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33069 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33072 result
= (int)((wxMenuItem
const *)arg1
)->GetKind();
33074 wxPyEndAllowThreads(__tstate
);
33075 if (PyErr_Occurred()) SWIG_fail
;
33077 resultobj
= SWIG_From_int((int)result
);
33084 static PyObject
*_wrap_MenuItem_SetKind(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33085 PyObject
*resultobj
;
33086 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33088 PyObject
* obj0
= 0 ;
33089 PyObject
* obj1
= 0 ;
33090 char *kwnames
[] = {
33091 (char *) "self",(char *) "kind", NULL
33094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetKind",kwnames
,&obj0
,&obj1
)) goto fail
;
33095 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33096 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33097 arg2
= (int)SWIG_As_int(obj1
);
33098 if (PyErr_Occurred()) SWIG_fail
;
33100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33101 (arg1
)->SetKind((wxItemKind
)arg2
);
33103 wxPyEndAllowThreads(__tstate
);
33104 if (PyErr_Occurred()) SWIG_fail
;
33106 Py_INCREF(Py_None
); resultobj
= Py_None
;
33113 static PyObject
*_wrap_MenuItem_SetCheckable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33114 PyObject
*resultobj
;
33115 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33117 PyObject
* obj0
= 0 ;
33118 PyObject
* obj1
= 0 ;
33119 char *kwnames
[] = {
33120 (char *) "self",(char *) "checkable", NULL
33123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetCheckable",kwnames
,&obj0
,&obj1
)) goto fail
;
33124 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33126 arg2
= (bool)SWIG_As_bool(obj1
);
33127 if (PyErr_Occurred()) SWIG_fail
;
33129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33130 (arg1
)->SetCheckable(arg2
);
33132 wxPyEndAllowThreads(__tstate
);
33133 if (PyErr_Occurred()) SWIG_fail
;
33135 Py_INCREF(Py_None
); resultobj
= Py_None
;
33142 static PyObject
*_wrap_MenuItem_IsCheckable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33143 PyObject
*resultobj
;
33144 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33146 PyObject
* obj0
= 0 ;
33147 char *kwnames
[] = {
33148 (char *) "self", NULL
33151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsCheckable",kwnames
,&obj0
)) goto fail
;
33152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33156 result
= (bool)((wxMenuItem
const *)arg1
)->IsCheckable();
33158 wxPyEndAllowThreads(__tstate
);
33159 if (PyErr_Occurred()) SWIG_fail
;
33162 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33170 static PyObject
*_wrap_MenuItem_IsSubMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33171 PyObject
*resultobj
;
33172 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33174 PyObject
* obj0
= 0 ;
33175 char *kwnames
[] = {
33176 (char *) "self", NULL
33179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSubMenu",kwnames
,&obj0
)) goto fail
;
33180 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33184 result
= (bool)((wxMenuItem
const *)arg1
)->IsSubMenu();
33186 wxPyEndAllowThreads(__tstate
);
33187 if (PyErr_Occurred()) SWIG_fail
;
33190 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33198 static PyObject
*_wrap_MenuItem_SetSubMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33199 PyObject
*resultobj
;
33200 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33201 wxMenu
*arg2
= (wxMenu
*) 0 ;
33202 PyObject
* obj0
= 0 ;
33203 PyObject
* obj1
= 0 ;
33204 char *kwnames
[] = {
33205 (char *) "self",(char *) "menu", NULL
33208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetSubMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
33209 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33211 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
33212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33215 (arg1
)->SetSubMenu(arg2
);
33217 wxPyEndAllowThreads(__tstate
);
33218 if (PyErr_Occurred()) SWIG_fail
;
33220 Py_INCREF(Py_None
); resultobj
= Py_None
;
33227 static PyObject
*_wrap_MenuItem_GetSubMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33228 PyObject
*resultobj
;
33229 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33231 PyObject
* obj0
= 0 ;
33232 char *kwnames
[] = {
33233 (char *) "self", NULL
33236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetSubMenu",kwnames
,&obj0
)) goto fail
;
33237 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33238 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33241 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetSubMenu();
33243 wxPyEndAllowThreads(__tstate
);
33244 if (PyErr_Occurred()) SWIG_fail
;
33247 resultobj
= wxPyMake_wxObject(result
, 0);
33255 static PyObject
*_wrap_MenuItem_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33256 PyObject
*resultobj
;
33257 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33258 bool arg2
= (bool) true ;
33259 PyObject
* obj0
= 0 ;
33260 PyObject
* obj1
= 0 ;
33261 char *kwnames
[] = {
33262 (char *) "self",(char *) "enable", NULL
33265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
33266 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33267 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33269 arg2
= (bool)SWIG_As_bool(obj1
);
33270 if (PyErr_Occurred()) SWIG_fail
;
33273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33274 (arg1
)->Enable(arg2
);
33276 wxPyEndAllowThreads(__tstate
);
33277 if (PyErr_Occurred()) SWIG_fail
;
33279 Py_INCREF(Py_None
); resultobj
= Py_None
;
33286 static PyObject
*_wrap_MenuItem_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33287 PyObject
*resultobj
;
33288 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33290 PyObject
* obj0
= 0 ;
33291 char *kwnames
[] = {
33292 (char *) "self", NULL
33295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsEnabled",kwnames
,&obj0
)) goto fail
;
33296 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33300 result
= (bool)((wxMenuItem
const *)arg1
)->IsEnabled();
33302 wxPyEndAllowThreads(__tstate
);
33303 if (PyErr_Occurred()) SWIG_fail
;
33306 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33314 static PyObject
*_wrap_MenuItem_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33315 PyObject
*resultobj
;
33316 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33317 bool arg2
= (bool) true ;
33318 PyObject
* obj0
= 0 ;
33319 PyObject
* obj1
= 0 ;
33320 char *kwnames
[] = {
33321 (char *) "self",(char *) "check", NULL
33324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
33325 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33328 arg2
= (bool)SWIG_As_bool(obj1
);
33329 if (PyErr_Occurred()) SWIG_fail
;
33332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33333 (arg1
)->Check(arg2
);
33335 wxPyEndAllowThreads(__tstate
);
33336 if (PyErr_Occurred()) SWIG_fail
;
33338 Py_INCREF(Py_None
); resultobj
= Py_None
;
33345 static PyObject
*_wrap_MenuItem_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33346 PyObject
*resultobj
;
33347 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33349 PyObject
* obj0
= 0 ;
33350 char *kwnames
[] = {
33351 (char *) "self", NULL
33354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsChecked",kwnames
,&obj0
)) goto fail
;
33355 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33356 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33359 result
= (bool)((wxMenuItem
const *)arg1
)->IsChecked();
33361 wxPyEndAllowThreads(__tstate
);
33362 if (PyErr_Occurred()) SWIG_fail
;
33365 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33373 static PyObject
*_wrap_MenuItem_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33374 PyObject
*resultobj
;
33375 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33376 PyObject
* obj0
= 0 ;
33377 char *kwnames
[] = {
33378 (char *) "self", NULL
33381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_Toggle",kwnames
,&obj0
)) goto fail
;
33382 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33388 wxPyEndAllowThreads(__tstate
);
33389 if (PyErr_Occurred()) SWIG_fail
;
33391 Py_INCREF(Py_None
); resultobj
= Py_None
;
33398 static PyObject
*_wrap_MenuItem_SetHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33399 PyObject
*resultobj
;
33400 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33401 wxString
*arg2
= 0 ;
33402 bool temp2
= false ;
33403 PyObject
* obj0
= 0 ;
33404 PyObject
* obj1
= 0 ;
33405 char *kwnames
[] = {
33406 (char *) "self",(char *) "str", NULL
33409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
33410 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33411 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33413 arg2
= wxString_in_helper(obj1
);
33414 if (arg2
== NULL
) SWIG_fail
;
33418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33419 (arg1
)->SetHelp((wxString
const &)*arg2
);
33421 wxPyEndAllowThreads(__tstate
);
33422 if (PyErr_Occurred()) SWIG_fail
;
33424 Py_INCREF(Py_None
); resultobj
= Py_None
;
33439 static PyObject
*_wrap_MenuItem_GetHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33440 PyObject
*resultobj
;
33441 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33443 PyObject
* obj0
= 0 ;
33444 char *kwnames
[] = {
33445 (char *) "self", NULL
33448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetHelp",kwnames
,&obj0
)) goto fail
;
33449 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33450 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33454 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetHelp();
33455 result
= (wxString
*) &_result_ref
;
33458 wxPyEndAllowThreads(__tstate
);
33459 if (PyErr_Occurred()) SWIG_fail
;
33463 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
33465 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
33474 static PyObject
*_wrap_MenuItem_GetAccel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33475 PyObject
*resultobj
;
33476 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33477 wxAcceleratorEntry
*result
;
33478 PyObject
* obj0
= 0 ;
33479 char *kwnames
[] = {
33480 (char *) "self", NULL
33483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetAccel",kwnames
,&obj0
)) goto fail
;
33484 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33485 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33488 result
= (wxAcceleratorEntry
*)((wxMenuItem
const *)arg1
)->GetAccel();
33490 wxPyEndAllowThreads(__tstate
);
33491 if (PyErr_Occurred()) SWIG_fail
;
33493 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0);
33500 static PyObject
*_wrap_MenuItem_SetAccel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33501 PyObject
*resultobj
;
33502 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33503 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
33504 PyObject
* obj0
= 0 ;
33505 PyObject
* obj1
= 0 ;
33506 char *kwnames
[] = {
33507 (char *) "self",(char *) "accel", NULL
33510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetAccel",kwnames
,&obj0
,&obj1
)) goto fail
;
33511 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33512 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33513 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxAcceleratorEntry
,
33514 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33517 (arg1
)->SetAccel(arg2
);
33519 wxPyEndAllowThreads(__tstate
);
33520 if (PyErr_Occurred()) SWIG_fail
;
33522 Py_INCREF(Py_None
); resultobj
= Py_None
;
33529 static PyObject
*_wrap_MenuItem_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33530 PyObject
*resultobj
;
33531 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33533 PyObject
* obj0
= 0 ;
33534 PyObject
* obj1
= 0 ;
33535 char *kwnames
[] = {
33536 (char *) "self",(char *) "font", NULL
33539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
33540 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33541 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33542 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
33543 SWIG_POINTER_EXCEPTION
| 0)) == -1)
33545 if (arg2
== NULL
) {
33546 PyErr_SetString(PyExc_TypeError
,"null reference");
33550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33551 (arg1
)->SetFont((wxFont
const &)*arg2
);
33553 wxPyEndAllowThreads(__tstate
);
33554 if (PyErr_Occurred()) SWIG_fail
;
33556 Py_INCREF(Py_None
); resultobj
= Py_None
;
33563 static PyObject
*_wrap_MenuItem_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33564 PyObject
*resultobj
;
33565 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33567 PyObject
* obj0
= 0 ;
33568 char *kwnames
[] = {
33569 (char *) "self", NULL
33572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetFont",kwnames
,&obj0
)) goto fail
;
33573 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33574 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33577 result
= (arg1
)->GetFont();
33579 wxPyEndAllowThreads(__tstate
);
33580 if (PyErr_Occurred()) SWIG_fail
;
33583 wxFont
* resultptr
;
33584 resultptr
= new wxFont((wxFont
&) result
);
33585 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
33593 static PyObject
*_wrap_MenuItem_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33594 PyObject
*resultobj
;
33595 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33596 wxColour
*arg2
= 0 ;
33598 PyObject
* obj0
= 0 ;
33599 PyObject
* obj1
= 0 ;
33600 char *kwnames
[] = {
33601 (char *) "self",(char *) "colText", NULL
33604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
33605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33609 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33613 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
33615 wxPyEndAllowThreads(__tstate
);
33616 if (PyErr_Occurred()) SWIG_fail
;
33618 Py_INCREF(Py_None
); resultobj
= Py_None
;
33625 static PyObject
*_wrap_MenuItem_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33626 PyObject
*resultobj
;
33627 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33629 PyObject
* obj0
= 0 ;
33630 char *kwnames
[] = {
33631 (char *) "self", NULL
33634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetTextColour",kwnames
,&obj0
)) goto fail
;
33635 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33636 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33639 result
= (arg1
)->GetTextColour();
33641 wxPyEndAllowThreads(__tstate
);
33642 if (PyErr_Occurred()) SWIG_fail
;
33645 wxColour
* resultptr
;
33646 resultptr
= new wxColour((wxColour
&) result
);
33647 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
33655 static PyObject
*_wrap_MenuItem_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33656 PyObject
*resultobj
;
33657 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33658 wxColour
*arg2
= 0 ;
33660 PyObject
* obj0
= 0 ;
33661 PyObject
* obj1
= 0 ;
33662 char *kwnames
[] = {
33663 (char *) "self",(char *) "colBack", NULL
33666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
33667 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33671 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33675 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
33677 wxPyEndAllowThreads(__tstate
);
33678 if (PyErr_Occurred()) SWIG_fail
;
33680 Py_INCREF(Py_None
); resultobj
= Py_None
;
33687 static PyObject
*_wrap_MenuItem_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33688 PyObject
*resultobj
;
33689 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33691 PyObject
* obj0
= 0 ;
33692 char *kwnames
[] = {
33693 (char *) "self", NULL
33696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
33697 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33698 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33701 result
= (arg1
)->GetBackgroundColour();
33703 wxPyEndAllowThreads(__tstate
);
33704 if (PyErr_Occurred()) SWIG_fail
;
33707 wxColour
* resultptr
;
33708 resultptr
= new wxColour((wxColour
&) result
);
33709 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
33717 static PyObject
*_wrap_MenuItem_SetBitmaps(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33718 PyObject
*resultobj
;
33719 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33720 wxBitmap
*arg2
= 0 ;
33721 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
33722 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
33723 PyObject
* obj0
= 0 ;
33724 PyObject
* obj1
= 0 ;
33725 PyObject
* obj2
= 0 ;
33726 char *kwnames
[] = {
33727 (char *) "self",(char *) "bmpChecked",(char *) "bmpUnchecked", NULL
33730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MenuItem_SetBitmaps",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33731 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33732 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33733 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
33734 SWIG_POINTER_EXCEPTION
| 0)) == -1)
33736 if (arg2
== NULL
) {
33737 PyErr_SetString(PyExc_TypeError
,"null reference");
33741 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
33742 SWIG_POINTER_EXCEPTION
| 0)) == -1)
33744 if (arg3
== NULL
) {
33745 PyErr_SetString(PyExc_TypeError
,"null reference");
33750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33751 (arg1
)->SetBitmaps((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
33753 wxPyEndAllowThreads(__tstate
);
33754 if (PyErr_Occurred()) SWIG_fail
;
33756 Py_INCREF(Py_None
); resultobj
= Py_None
;
33763 static PyObject
*_wrap_MenuItem_SetDisabledBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33764 PyObject
*resultobj
;
33765 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33766 wxBitmap
*arg2
= 0 ;
33767 PyObject
* obj0
= 0 ;
33768 PyObject
* obj1
= 0 ;
33769 char *kwnames
[] = {
33770 (char *) "self",(char *) "bmpDisabled", NULL
33773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
33774 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33775 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33776 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
33777 SWIG_POINTER_EXCEPTION
| 0)) == -1)
33779 if (arg2
== NULL
) {
33780 PyErr_SetString(PyExc_TypeError
,"null reference");
33784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33785 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
33787 wxPyEndAllowThreads(__tstate
);
33788 if (PyErr_Occurred()) SWIG_fail
;
33790 Py_INCREF(Py_None
); resultobj
= Py_None
;
33797 static PyObject
*_wrap_MenuItem_GetDisabledBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33798 PyObject
*resultobj
;
33799 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33801 PyObject
* obj0
= 0 ;
33802 char *kwnames
[] = {
33803 (char *) "self", NULL
33806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetDisabledBitmap",kwnames
,&obj0
)) goto fail
;
33807 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33812 wxBitmap
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetDisabledBitmap();
33813 result
= (wxBitmap
*) &_result_ref
;
33816 wxPyEndAllowThreads(__tstate
);
33817 if (PyErr_Occurred()) SWIG_fail
;
33820 wxBitmap
* resultptr
= new wxBitmap(*result
);
33821 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
33829 static PyObject
*_wrap_MenuItem_SetMarginWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33830 PyObject
*resultobj
;
33831 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33833 PyObject
* obj0
= 0 ;
33834 PyObject
* obj1
= 0 ;
33835 char *kwnames
[] = {
33836 (char *) "self",(char *) "nWidth", NULL
33839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetMarginWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
33840 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33841 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33842 arg2
= (int)SWIG_As_int(obj1
);
33843 if (PyErr_Occurred()) SWIG_fail
;
33845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33846 (arg1
)->SetMarginWidth(arg2
);
33848 wxPyEndAllowThreads(__tstate
);
33849 if (PyErr_Occurred()) SWIG_fail
;
33851 Py_INCREF(Py_None
); resultobj
= Py_None
;
33858 static PyObject
*_wrap_MenuItem_GetMarginWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33859 PyObject
*resultobj
;
33860 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33862 PyObject
* obj0
= 0 ;
33863 char *kwnames
[] = {
33864 (char *) "self", NULL
33867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetMarginWidth",kwnames
,&obj0
)) goto fail
;
33868 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33872 result
= (int)(arg1
)->GetMarginWidth();
33874 wxPyEndAllowThreads(__tstate
);
33875 if (PyErr_Occurred()) SWIG_fail
;
33877 resultobj
= SWIG_From_int((int)result
);
33884 static PyObject
*_wrap_MenuItem_GetDefaultMarginWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33885 PyObject
*resultobj
;
33887 char *kwnames
[] = {
33891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MenuItem_GetDefaultMarginWidth",kwnames
)) goto fail
;
33893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33894 result
= (int)wxMenuItem::GetDefaultMarginWidth();
33896 wxPyEndAllowThreads(__tstate
);
33897 if (PyErr_Occurred()) SWIG_fail
;
33899 resultobj
= SWIG_From_int((int)result
);
33906 static PyObject
*_wrap_MenuItem_IsOwnerDrawn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33907 PyObject
*resultobj
;
33908 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33910 PyObject
* obj0
= 0 ;
33911 char *kwnames
[] = {
33912 (char *) "self", NULL
33915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsOwnerDrawn",kwnames
,&obj0
)) goto fail
;
33916 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33917 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33920 result
= (bool)(arg1
)->IsOwnerDrawn();
33922 wxPyEndAllowThreads(__tstate
);
33923 if (PyErr_Occurred()) SWIG_fail
;
33926 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33934 static PyObject
*_wrap_MenuItem_SetOwnerDrawn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33935 PyObject
*resultobj
;
33936 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33937 bool arg2
= (bool) true ;
33938 PyObject
* obj0
= 0 ;
33939 PyObject
* obj1
= 0 ;
33940 char *kwnames
[] = {
33941 (char *) "self",(char *) "ownerDrawn", NULL
33944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_SetOwnerDrawn",kwnames
,&obj0
,&obj1
)) goto fail
;
33945 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33946 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33948 arg2
= (bool)SWIG_As_bool(obj1
);
33949 if (PyErr_Occurred()) SWIG_fail
;
33952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33953 (arg1
)->SetOwnerDrawn(arg2
);
33955 wxPyEndAllowThreads(__tstate
);
33956 if (PyErr_Occurred()) SWIG_fail
;
33958 Py_INCREF(Py_None
); resultobj
= Py_None
;
33965 static PyObject
*_wrap_MenuItem_ResetOwnerDrawn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33966 PyObject
*resultobj
;
33967 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33968 PyObject
* obj0
= 0 ;
33969 char *kwnames
[] = {
33970 (char *) "self", NULL
33973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_ResetOwnerDrawn",kwnames
,&obj0
)) goto fail
;
33974 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33975 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33978 (arg1
)->ResetOwnerDrawn();
33980 wxPyEndAllowThreads(__tstate
);
33981 if (PyErr_Occurred()) SWIG_fail
;
33983 Py_INCREF(Py_None
); resultobj
= Py_None
;
33990 static PyObject
*_wrap_MenuItem_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33991 PyObject
*resultobj
;
33992 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33993 wxBitmap
*arg2
= 0 ;
33994 PyObject
* obj0
= 0 ;
33995 PyObject
* obj1
= 0 ;
33996 char *kwnames
[] = {
33997 (char *) "self",(char *) "bitmap", NULL
34000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
34001 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
34002 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34003 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
34004 SWIG_POINTER_EXCEPTION
| 0)) == -1)
34006 if (arg2
== NULL
) {
34007 PyErr_SetString(PyExc_TypeError
,"null reference");
34011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34012 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
34014 wxPyEndAllowThreads(__tstate
);
34015 if (PyErr_Occurred()) SWIG_fail
;
34017 Py_INCREF(Py_None
); resultobj
= Py_None
;
34024 static PyObject
*_wrap_MenuItem_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34025 PyObject
*resultobj
;
34026 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
34028 PyObject
* obj0
= 0 ;
34029 char *kwnames
[] = {
34030 (char *) "self", NULL
34033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetBitmap",kwnames
,&obj0
)) goto fail
;
34034 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
34035 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34039 wxBitmap
const &_result_ref
= (arg1
)->GetBitmap();
34040 result
= (wxBitmap
*) &_result_ref
;
34043 wxPyEndAllowThreads(__tstate
);
34044 if (PyErr_Occurred()) SWIG_fail
;
34047 wxBitmap
* resultptr
= new wxBitmap(*result
);
34048 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
34056 static PyObject
* MenuItem_swigregister(PyObject
*, PyObject
*args
) {
34058 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34059 SWIG_TypeClientData(SWIGTYPE_p_wxMenuItem
, obj
);
34061 return Py_BuildValue((char *)"");
34063 static int _wrap_ControlNameStr_set(PyObject
*) {
34064 PyErr_SetString(PyExc_TypeError
,"Variable ControlNameStr is read-only.");
34069 static PyObject
*_wrap_ControlNameStr_get() {
34074 pyobj
= PyUnicode_FromWideChar((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
34076 pyobj
= PyString_FromStringAndSize((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
34083 static PyObject
*_wrap_new_Control(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34084 PyObject
*resultobj
;
34085 wxWindow
*arg1
= (wxWindow
*) 0 ;
34086 int arg2
= (int) -1 ;
34087 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
34088 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
34089 wxSize
const &arg4_defvalue
= wxDefaultSize
;
34090 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
34091 long arg5
= (long) 0 ;
34092 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
34093 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
34094 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
34095 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
34099 bool temp7
= false ;
34100 PyObject
* obj0
= 0 ;
34101 PyObject
* obj1
= 0 ;
34102 PyObject
* obj2
= 0 ;
34103 PyObject
* obj3
= 0 ;
34104 PyObject
* obj4
= 0 ;
34105 PyObject
* obj5
= 0 ;
34106 PyObject
* obj6
= 0 ;
34107 char *kwnames
[] = {
34108 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
34111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Control",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
34112 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
34113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34115 arg2
= (int)SWIG_As_int(obj1
);
34116 if (PyErr_Occurred()) SWIG_fail
;
34121 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
34127 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
34131 arg5
= (long)SWIG_As_long(obj4
);
34132 if (PyErr_Occurred()) SWIG_fail
;
34135 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
34136 SWIG_POINTER_EXCEPTION
| 0)) == -1)
34138 if (arg6
== NULL
) {
34139 PyErr_SetString(PyExc_TypeError
,"null reference");
34145 arg7
= wxString_in_helper(obj6
);
34146 if (arg7
== NULL
) SWIG_fail
;
34151 if (!wxPyCheckForApp()) SWIG_fail
;
34152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34153 result
= (wxControl
*)new wxControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
34155 wxPyEndAllowThreads(__tstate
);
34156 if (PyErr_Occurred()) SWIG_fail
;
34158 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxControl
, 1);
34173 static PyObject
*_wrap_new_PreControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34174 PyObject
*resultobj
;
34176 char *kwnames
[] = {
34180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreControl",kwnames
)) goto fail
;
34182 if (!wxPyCheckForApp()) SWIG_fail
;
34183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34184 result
= (wxControl
*)new wxControl();
34186 wxPyEndAllowThreads(__tstate
);
34187 if (PyErr_Occurred()) SWIG_fail
;
34189 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxControl
, 1);
34196 static PyObject
*_wrap_Control_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34197 PyObject
*resultobj
;
34198 wxControl
*arg1
= (wxControl
*) 0 ;
34199 wxWindow
*arg2
= (wxWindow
*) 0 ;
34200 int arg3
= (int) -1 ;
34201 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
34202 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
34203 wxSize
const &arg5_defvalue
= wxDefaultSize
;
34204 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
34205 long arg6
= (long) 0 ;
34206 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
34207 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
34208 wxString
const &arg8_defvalue
= wxPyControlNameStr
;
34209 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
34213 bool temp8
= false ;
34214 PyObject
* obj0
= 0 ;
34215 PyObject
* obj1
= 0 ;
34216 PyObject
* obj2
= 0 ;
34217 PyObject
* obj3
= 0 ;
34218 PyObject
* obj4
= 0 ;
34219 PyObject
* obj5
= 0 ;
34220 PyObject
* obj6
= 0 ;
34221 PyObject
* obj7
= 0 ;
34222 char *kwnames
[] = {
34223 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
34226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Control_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
34227 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
34228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34229 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
34230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34232 arg3
= (int)SWIG_As_int(obj2
);
34233 if (PyErr_Occurred()) SWIG_fail
;
34238 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
34244 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
34248 arg6
= (long)SWIG_As_long(obj5
);
34249 if (PyErr_Occurred()) SWIG_fail
;
34252 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
34253 SWIG_POINTER_EXCEPTION
| 0)) == -1)
34255 if (arg7
== NULL
) {
34256 PyErr_SetString(PyExc_TypeError
,"null reference");
34262 arg8
= wxString_in_helper(obj7
);
34263 if (arg8
== NULL
) SWIG_fail
;
34268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34269 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
34271 wxPyEndAllowThreads(__tstate
);
34272 if (PyErr_Occurred()) SWIG_fail
;
34275 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34291 static PyObject
*_wrap_Control_Command(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34292 PyObject
*resultobj
;
34293 wxControl
*arg1
= (wxControl
*) 0 ;
34294 wxCommandEvent
*arg2
= 0 ;
34295 PyObject
* obj0
= 0 ;
34296 PyObject
* obj1
= 0 ;
34297 char *kwnames
[] = {
34298 (char *) "self",(char *) "event", NULL
34301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_Command",kwnames
,&obj0
,&obj1
)) goto fail
;
34302 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
34303 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34304 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCommandEvent
,
34305 SWIG_POINTER_EXCEPTION
| 0)) == -1)
34307 if (arg2
== NULL
) {
34308 PyErr_SetString(PyExc_TypeError
,"null reference");
34312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34313 (arg1
)->Command(*arg2
);
34315 wxPyEndAllowThreads(__tstate
);
34316 if (PyErr_Occurred()) SWIG_fail
;
34318 Py_INCREF(Py_None
); resultobj
= Py_None
;
34325 static PyObject
*_wrap_Control_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34326 PyObject
*resultobj
;
34327 wxControl
*arg1
= (wxControl
*) 0 ;
34329 PyObject
* obj0
= 0 ;
34330 char *kwnames
[] = {
34331 (char *) "self", NULL
34334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Control_GetLabel",kwnames
,&obj0
)) goto fail
;
34335 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
34336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34339 result
= (arg1
)->GetLabel();
34341 wxPyEndAllowThreads(__tstate
);
34342 if (PyErr_Occurred()) SWIG_fail
;
34346 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
34348 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34357 static PyObject
*_wrap_Control_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34358 PyObject
*resultobj
;
34359 wxControl
*arg1
= (wxControl
*) 0 ;
34360 wxString
*arg2
= 0 ;
34361 bool temp2
= false ;
34362 PyObject
* obj0
= 0 ;
34363 PyObject
* obj1
= 0 ;
34364 char *kwnames
[] = {
34365 (char *) "self",(char *) "label", NULL
34368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
34369 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
34370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34372 arg2
= wxString_in_helper(obj1
);
34373 if (arg2
== NULL
) SWIG_fail
;
34377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34378 (arg1
)->SetLabel((wxString
const &)*arg2
);
34380 wxPyEndAllowThreads(__tstate
);
34381 if (PyErr_Occurred()) SWIG_fail
;
34383 Py_INCREF(Py_None
); resultobj
= Py_None
;
34398 static PyObject
*_wrap_Control_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34399 PyObject
*resultobj
;
34400 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
34401 wxVisualAttributes result
;
34402 PyObject
* obj0
= 0 ;
34403 char *kwnames
[] = {
34404 (char *) "variant", NULL
34407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Control_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
34409 arg1
= (int)SWIG_As_int(obj0
);
34410 if (PyErr_Occurred()) SWIG_fail
;
34413 if (!wxPyCheckForApp()) SWIG_fail
;
34414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34415 result
= wxControl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
34417 wxPyEndAllowThreads(__tstate
);
34418 if (PyErr_Occurred()) SWIG_fail
;
34421 wxVisualAttributes
* resultptr
;
34422 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
34423 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
34431 static PyObject
* Control_swigregister(PyObject
*, PyObject
*args
) {
34433 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34434 SWIG_TypeClientData(SWIGTYPE_p_wxControl
, obj
);
34436 return Py_BuildValue((char *)"");
34438 static PyObject
*_wrap_ItemContainer_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34439 PyObject
*resultobj
;
34440 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34441 wxString
*arg2
= 0 ;
34442 PyObject
*arg3
= (PyObject
*) NULL
;
34444 bool temp2
= false ;
34445 PyObject
* obj0
= 0 ;
34446 PyObject
* obj1
= 0 ;
34447 PyObject
* obj2
= 0 ;
34448 char *kwnames
[] = {
34449 (char *) "self",(char *) "item",(char *) "clientData", NULL
34452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ItemContainer_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34453 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34456 arg2
= wxString_in_helper(obj1
);
34457 if (arg2
== NULL
) SWIG_fail
;
34464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34465 result
= (int)wxItemContainer_Append(arg1
,(wxString
const &)*arg2
,arg3
);
34467 wxPyEndAllowThreads(__tstate
);
34468 if (PyErr_Occurred()) SWIG_fail
;
34470 resultobj
= SWIG_From_int((int)result
);
34485 static PyObject
*_wrap_ItemContainer_AppendItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34486 PyObject
*resultobj
;
34487 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34488 wxArrayString
*arg2
= 0 ;
34489 bool temp2
= false ;
34490 PyObject
* obj0
= 0 ;
34491 PyObject
* obj1
= 0 ;
34492 char *kwnames
[] = {
34493 (char *) "self",(char *) "strings", NULL
34496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_AppendItems",kwnames
,&obj0
,&obj1
)) goto fail
;
34497 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34498 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34500 if (! PySequence_Check(obj1
)) {
34501 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
34504 arg2
= new wxArrayString
;
34506 int i
, len
=PySequence_Length(obj1
);
34507 for (i
=0; i
<len
; i
++) {
34508 PyObject
* item
= PySequence_GetItem(obj1
, i
);
34510 PyObject
* str
= PyObject_Unicode(item
);
34512 PyObject
* str
= PyObject_Str(item
);
34514 if (PyErr_Occurred()) SWIG_fail
;
34515 arg2
->Add(Py2wxString(str
));
34521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34522 (arg1
)->Append((wxArrayString
const &)*arg2
);
34524 wxPyEndAllowThreads(__tstate
);
34525 if (PyErr_Occurred()) SWIG_fail
;
34527 Py_INCREF(Py_None
); resultobj
= Py_None
;
34529 if (temp2
) delete arg2
;
34534 if (temp2
) delete arg2
;
34540 static PyObject
*_wrap_ItemContainer_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34541 PyObject
*resultobj
;
34542 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34543 wxString
*arg2
= 0 ;
34545 PyObject
*arg4
= (PyObject
*) NULL
;
34547 bool temp2
= false ;
34548 PyObject
* obj0
= 0 ;
34549 PyObject
* obj1
= 0 ;
34550 PyObject
* obj2
= 0 ;
34551 PyObject
* obj3
= 0 ;
34552 char *kwnames
[] = {
34553 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
34556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ItemContainer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
34557 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34558 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34560 arg2
= wxString_in_helper(obj1
);
34561 if (arg2
== NULL
) SWIG_fail
;
34564 arg3
= (int)SWIG_As_int(obj2
);
34565 if (PyErr_Occurred()) SWIG_fail
;
34570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34571 result
= (int)wxItemContainer_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
34573 wxPyEndAllowThreads(__tstate
);
34574 if (PyErr_Occurred()) SWIG_fail
;
34576 resultobj
= SWIG_From_int((int)result
);
34591 static PyObject
*_wrap_ItemContainer_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34592 PyObject
*resultobj
;
34593 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34594 PyObject
* obj0
= 0 ;
34595 char *kwnames
[] = {
34596 (char *) "self", NULL
34599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_Clear",kwnames
,&obj0
)) goto fail
;
34600 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34601 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34606 wxPyEndAllowThreads(__tstate
);
34607 if (PyErr_Occurred()) SWIG_fail
;
34609 Py_INCREF(Py_None
); resultobj
= Py_None
;
34616 static PyObject
*_wrap_ItemContainer_Delete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34617 PyObject
*resultobj
;
34618 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34620 PyObject
* obj0
= 0 ;
34621 PyObject
* obj1
= 0 ;
34622 char *kwnames
[] = {
34623 (char *) "self",(char *) "n", NULL
34626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
34627 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34628 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34629 arg2
= (int)SWIG_As_int(obj1
);
34630 if (PyErr_Occurred()) SWIG_fail
;
34632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34633 (arg1
)->Delete(arg2
);
34635 wxPyEndAllowThreads(__tstate
);
34636 if (PyErr_Occurred()) SWIG_fail
;
34638 Py_INCREF(Py_None
); resultobj
= Py_None
;
34645 static PyObject
*_wrap_ItemContainer_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34646 PyObject
*resultobj
;
34647 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34649 PyObject
* obj0
= 0 ;
34650 char *kwnames
[] = {
34651 (char *) "self", NULL
34654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetCount",kwnames
,&obj0
)) goto fail
;
34655 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34656 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34659 result
= (int)((wxItemContainer
const *)arg1
)->GetCount();
34661 wxPyEndAllowThreads(__tstate
);
34662 if (PyErr_Occurred()) SWIG_fail
;
34664 resultobj
= SWIG_From_int((int)result
);
34671 static PyObject
*_wrap_ItemContainer_IsEmpty(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34672 PyObject
*resultobj
;
34673 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34675 PyObject
* obj0
= 0 ;
34676 char *kwnames
[] = {
34677 (char *) "self", NULL
34680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_IsEmpty",kwnames
,&obj0
)) goto fail
;
34681 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34682 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34685 result
= (bool)((wxItemContainer
const *)arg1
)->IsEmpty();
34687 wxPyEndAllowThreads(__tstate
);
34688 if (PyErr_Occurred()) SWIG_fail
;
34691 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34699 static PyObject
*_wrap_ItemContainer_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34700 PyObject
*resultobj
;
34701 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34704 PyObject
* obj0
= 0 ;
34705 PyObject
* obj1
= 0 ;
34706 char *kwnames
[] = {
34707 (char *) "self",(char *) "n", NULL
34710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetString",kwnames
,&obj0
,&obj1
)) goto fail
;
34711 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34712 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34713 arg2
= (int)SWIG_As_int(obj1
);
34714 if (PyErr_Occurred()) SWIG_fail
;
34716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34717 result
= ((wxItemContainer
const *)arg1
)->GetString(arg2
);
34719 wxPyEndAllowThreads(__tstate
);
34720 if (PyErr_Occurred()) SWIG_fail
;
34724 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
34726 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34735 static PyObject
*_wrap_ItemContainer_GetStrings(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34736 PyObject
*resultobj
;
34737 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34738 wxArrayString result
;
34739 PyObject
* obj0
= 0 ;
34740 char *kwnames
[] = {
34741 (char *) "self", NULL
34744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStrings",kwnames
,&obj0
)) goto fail
;
34745 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34746 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34749 result
= ((wxItemContainer
const *)arg1
)->GetStrings();
34751 wxPyEndAllowThreads(__tstate
);
34752 if (PyErr_Occurred()) SWIG_fail
;
34755 resultobj
= wxArrayString2PyList_helper(result
);
34763 static PyObject
*_wrap_ItemContainer_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34764 PyObject
*resultobj
;
34765 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34767 wxString
*arg3
= 0 ;
34768 bool temp3
= false ;
34769 PyObject
* obj0
= 0 ;
34770 PyObject
* obj1
= 0 ;
34771 PyObject
* obj2
= 0 ;
34772 char *kwnames
[] = {
34773 (char *) "self",(char *) "n",(char *) "s", NULL
34776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34777 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34778 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34779 arg2
= (int)SWIG_As_int(obj1
);
34780 if (PyErr_Occurred()) SWIG_fail
;
34782 arg3
= wxString_in_helper(obj2
);
34783 if (arg3
== NULL
) SWIG_fail
;
34787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34788 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
34790 wxPyEndAllowThreads(__tstate
);
34791 if (PyErr_Occurred()) SWIG_fail
;
34793 Py_INCREF(Py_None
); resultobj
= Py_None
;
34808 static PyObject
*_wrap_ItemContainer_FindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34809 PyObject
*resultobj
;
34810 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34811 wxString
*arg2
= 0 ;
34813 bool temp2
= false ;
34814 PyObject
* obj0
= 0 ;
34815 PyObject
* obj1
= 0 ;
34816 char *kwnames
[] = {
34817 (char *) "self",(char *) "s", NULL
34820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
34821 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34824 arg2
= wxString_in_helper(obj1
);
34825 if (arg2
== NULL
) SWIG_fail
;
34829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34830 result
= (int)((wxItemContainer
const *)arg1
)->FindString((wxString
const &)*arg2
);
34832 wxPyEndAllowThreads(__tstate
);
34833 if (PyErr_Occurred()) SWIG_fail
;
34835 resultobj
= SWIG_From_int((int)result
);
34850 static PyObject
*_wrap_ItemContainer_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34851 PyObject
*resultobj
;
34852 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34854 PyObject
* obj0
= 0 ;
34855 PyObject
* obj1
= 0 ;
34856 char *kwnames
[] = {
34857 (char *) "self",(char *) "n", NULL
34860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Select",kwnames
,&obj0
,&obj1
)) goto fail
;
34861 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34862 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34863 arg2
= (int)SWIG_As_int(obj1
);
34864 if (PyErr_Occurred()) SWIG_fail
;
34866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34867 (arg1
)->Select(arg2
);
34869 wxPyEndAllowThreads(__tstate
);
34870 if (PyErr_Occurred()) SWIG_fail
;
34872 Py_INCREF(Py_None
); resultobj
= Py_None
;
34879 static PyObject
*_wrap_ItemContainer_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34880 PyObject
*resultobj
;
34881 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34883 PyObject
* obj0
= 0 ;
34884 char *kwnames
[] = {
34885 (char *) "self", NULL
34888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetSelection",kwnames
,&obj0
)) goto fail
;
34889 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34893 result
= (int)((wxItemContainer
const *)arg1
)->GetSelection();
34895 wxPyEndAllowThreads(__tstate
);
34896 if (PyErr_Occurred()) SWIG_fail
;
34898 resultobj
= SWIG_From_int((int)result
);
34905 static PyObject
*_wrap_ItemContainer_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34906 PyObject
*resultobj
;
34907 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34909 PyObject
* obj0
= 0 ;
34910 char *kwnames
[] = {
34911 (char *) "self", NULL
34914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStringSelection",kwnames
,&obj0
)) goto fail
;
34915 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34919 result
= ((wxItemContainer
const *)arg1
)->GetStringSelection();
34921 wxPyEndAllowThreads(__tstate
);
34922 if (PyErr_Occurred()) SWIG_fail
;
34926 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
34928 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34937 static PyObject
*_wrap_ItemContainer_GetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34938 PyObject
*resultobj
;
34939 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34942 PyObject
* obj0
= 0 ;
34943 PyObject
* obj1
= 0 ;
34944 char *kwnames
[] = {
34945 (char *) "self",(char *) "n", NULL
34948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
34949 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34951 arg2
= (int)SWIG_As_int(obj1
);
34952 if (PyErr_Occurred()) SWIG_fail
;
34954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34955 result
= (PyObject
*)wxItemContainer_GetClientData(arg1
,arg2
);
34957 wxPyEndAllowThreads(__tstate
);
34958 if (PyErr_Occurred()) SWIG_fail
;
34960 resultobj
= result
;
34967 static PyObject
*_wrap_ItemContainer_SetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34968 PyObject
*resultobj
;
34969 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34971 PyObject
*arg3
= (PyObject
*) 0 ;
34972 PyObject
* obj0
= 0 ;
34973 PyObject
* obj1
= 0 ;
34974 PyObject
* obj2
= 0 ;
34975 char *kwnames
[] = {
34976 (char *) "self",(char *) "n",(char *) "clientData", NULL
34979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34980 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34981 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34982 arg2
= (int)SWIG_As_int(obj1
);
34983 if (PyErr_Occurred()) SWIG_fail
;
34986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34987 wxItemContainer_SetClientData(arg1
,arg2
,arg3
);
34989 wxPyEndAllowThreads(__tstate
);
34990 if (PyErr_Occurred()) SWIG_fail
;
34992 Py_INCREF(Py_None
); resultobj
= Py_None
;
34999 static PyObject
* ItemContainer_swigregister(PyObject
*, PyObject
*args
) {
35001 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35002 SWIG_TypeClientData(SWIGTYPE_p_wxItemContainer
, obj
);
35004 return Py_BuildValue((char *)"");
35006 static PyObject
* ControlWithItems_swigregister(PyObject
*, PyObject
*args
) {
35008 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35009 SWIG_TypeClientData(SWIGTYPE_p_wxControlWithItems
, obj
);
35011 return Py_BuildValue((char *)"");
35013 static PyObject
*_wrap_new_SizerItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35014 PyObject
*resultobj
;
35015 wxSizerItem
*result
;
35016 char *kwnames
[] = {
35020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SizerItem",kwnames
)) goto fail
;
35022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35023 result
= (wxSizerItem
*)new wxSizerItem();
35025 wxPyEndAllowThreads(__tstate
);
35026 if (PyErr_Occurred()) SWIG_fail
;
35028 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
35035 static PyObject
*_wrap_new_SizerItemWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35036 PyObject
*resultobj
;
35037 wxWindow
*arg1
= (wxWindow
*) 0 ;
35041 PyObject
*arg5
= (PyObject
*) NULL
;
35042 wxSizerItem
*result
;
35043 PyObject
* obj0
= 0 ;
35044 PyObject
* obj1
= 0 ;
35045 PyObject
* obj2
= 0 ;
35046 PyObject
* obj3
= 0 ;
35047 PyObject
* obj4
= 0 ;
35048 char *kwnames
[] = {
35049 (char *) "window",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
35052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:new_SizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
35053 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
35054 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35055 arg2
= (int)SWIG_As_int(obj1
);
35056 if (PyErr_Occurred()) SWIG_fail
;
35057 arg3
= (int)SWIG_As_int(obj2
);
35058 if (PyErr_Occurred()) SWIG_fail
;
35059 arg4
= (int)SWIG_As_int(obj3
);
35060 if (PyErr_Occurred()) SWIG_fail
;
35065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35066 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
35068 wxPyEndAllowThreads(__tstate
);
35069 if (PyErr_Occurred()) SWIG_fail
;
35071 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
35078 static PyObject
*_wrap_new_SizerItemSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35079 PyObject
*resultobj
;
35085 PyObject
*arg6
= (PyObject
*) NULL
;
35086 wxSizerItem
*result
;
35087 PyObject
* obj0
= 0 ;
35088 PyObject
* obj1
= 0 ;
35089 PyObject
* obj2
= 0 ;
35090 PyObject
* obj3
= 0 ;
35091 PyObject
* obj4
= 0 ;
35092 PyObject
* obj5
= 0 ;
35093 char *kwnames
[] = {
35094 (char *) "width",(char *) "height",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
35097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_SizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
35098 arg1
= (int)SWIG_As_int(obj0
);
35099 if (PyErr_Occurred()) SWIG_fail
;
35100 arg2
= (int)SWIG_As_int(obj1
);
35101 if (PyErr_Occurred()) SWIG_fail
;
35102 arg3
= (int)SWIG_As_int(obj2
);
35103 if (PyErr_Occurred()) SWIG_fail
;
35104 arg4
= (int)SWIG_As_int(obj3
);
35105 if (PyErr_Occurred()) SWIG_fail
;
35106 arg5
= (int)SWIG_As_int(obj4
);
35107 if (PyErr_Occurred()) SWIG_fail
;
35112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35113 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
35115 wxPyEndAllowThreads(__tstate
);
35116 if (PyErr_Occurred()) SWIG_fail
;
35118 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
35125 static PyObject
*_wrap_new_SizerItemSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35126 PyObject
*resultobj
;
35127 wxSizer
*arg1
= (wxSizer
*) 0 ;
35131 PyObject
*arg5
= (PyObject
*) NULL
;
35132 wxSizerItem
*result
;
35133 PyObject
* obj0
= 0 ;
35134 PyObject
* obj1
= 0 ;
35135 PyObject
* obj2
= 0 ;
35136 PyObject
* obj3
= 0 ;
35137 PyObject
* obj4
= 0 ;
35138 char *kwnames
[] = {
35139 (char *) "sizer",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
35142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:new_SizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
35143 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35144 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35145 arg2
= (int)SWIG_As_int(obj1
);
35146 if (PyErr_Occurred()) SWIG_fail
;
35147 arg3
= (int)SWIG_As_int(obj2
);
35148 if (PyErr_Occurred()) SWIG_fail
;
35149 arg4
= (int)SWIG_As_int(obj3
);
35150 if (PyErr_Occurred()) SWIG_fail
;
35155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35156 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
35158 wxPyEndAllowThreads(__tstate
);
35159 if (PyErr_Occurred()) SWIG_fail
;
35161 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
35168 static PyObject
*_wrap_SizerItem_DeleteWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35169 PyObject
*resultobj
;
35170 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35171 PyObject
* obj0
= 0 ;
35172 char *kwnames
[] = {
35173 (char *) "self", NULL
35176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DeleteWindows",kwnames
,&obj0
)) goto fail
;
35177 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35178 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35181 (arg1
)->DeleteWindows();
35183 wxPyEndAllowThreads(__tstate
);
35184 if (PyErr_Occurred()) SWIG_fail
;
35186 Py_INCREF(Py_None
); resultobj
= Py_None
;
35193 static PyObject
*_wrap_SizerItem_DetachSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35194 PyObject
*resultobj
;
35195 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35196 PyObject
* obj0
= 0 ;
35197 char *kwnames
[] = {
35198 (char *) "self", NULL
35201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DetachSizer",kwnames
,&obj0
)) goto fail
;
35202 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35203 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35206 (arg1
)->DetachSizer();
35208 wxPyEndAllowThreads(__tstate
);
35209 if (PyErr_Occurred()) SWIG_fail
;
35211 Py_INCREF(Py_None
); resultobj
= Py_None
;
35218 static PyObject
*_wrap_SizerItem_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35219 PyObject
*resultobj
;
35220 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35222 PyObject
* obj0
= 0 ;
35223 char *kwnames
[] = {
35224 (char *) "self", NULL
35227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSize",kwnames
,&obj0
)) goto fail
;
35228 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35232 result
= (arg1
)->GetSize();
35234 wxPyEndAllowThreads(__tstate
);
35235 if (PyErr_Occurred()) SWIG_fail
;
35238 wxSize
* resultptr
;
35239 resultptr
= new wxSize((wxSize
&) result
);
35240 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
35248 static PyObject
*_wrap_SizerItem_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35249 PyObject
*resultobj
;
35250 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35252 PyObject
* obj0
= 0 ;
35253 char *kwnames
[] = {
35254 (char *) "self", NULL
35257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_CalcMin",kwnames
,&obj0
)) goto fail
;
35258 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35259 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35262 result
= (arg1
)->CalcMin();
35264 wxPyEndAllowThreads(__tstate
);
35265 if (PyErr_Occurred()) SWIG_fail
;
35268 wxSize
* resultptr
;
35269 resultptr
= new wxSize((wxSize
&) result
);
35270 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
35278 static PyObject
*_wrap_SizerItem_SetDimension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35279 PyObject
*resultobj
;
35280 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35285 PyObject
* obj0
= 0 ;
35286 PyObject
* obj1
= 0 ;
35287 PyObject
* obj2
= 0 ;
35288 char *kwnames
[] = {
35289 (char *) "self",(char *) "pos",(char *) "size", NULL
35292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35293 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35294 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35295 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxPoint
,
35296 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
35298 if ((SWIG_ConvertPtr(obj2
,(void **)(&argp3
),SWIGTYPE_p_wxSize
,
35299 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
35302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35303 (arg1
)->SetDimension(arg2
,arg3
);
35305 wxPyEndAllowThreads(__tstate
);
35306 if (PyErr_Occurred()) SWIG_fail
;
35308 Py_INCREF(Py_None
); resultobj
= Py_None
;
35315 static PyObject
*_wrap_SizerItem_GetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35316 PyObject
*resultobj
;
35317 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35319 PyObject
* obj0
= 0 ;
35320 char *kwnames
[] = {
35321 (char *) "self", NULL
35324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetMinSize",kwnames
,&obj0
)) goto fail
;
35325 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35329 result
= (arg1
)->GetMinSize();
35331 wxPyEndAllowThreads(__tstate
);
35332 if (PyErr_Occurred()) SWIG_fail
;
35335 wxSize
* resultptr
;
35336 resultptr
= new wxSize((wxSize
&) result
);
35337 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
35345 static PyObject
*_wrap_SizerItem_GetMinSizeWithBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35346 PyObject
*resultobj
;
35347 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35349 PyObject
* obj0
= 0 ;
35350 char *kwnames
[] = {
35351 (char *) "self", NULL
35354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetMinSizeWithBorder",kwnames
,&obj0
)) goto fail
;
35355 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35356 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35359 result
= ((wxSizerItem
const *)arg1
)->GetMinSizeWithBorder();
35361 wxPyEndAllowThreads(__tstate
);
35362 if (PyErr_Occurred()) SWIG_fail
;
35365 wxSize
* resultptr
;
35366 resultptr
= new wxSize((wxSize
&) result
);
35367 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
35375 static PyObject
*_wrap_SizerItem_SetInitSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35376 PyObject
*resultobj
;
35377 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35380 PyObject
* obj0
= 0 ;
35381 PyObject
* obj1
= 0 ;
35382 PyObject
* obj2
= 0 ;
35383 char *kwnames
[] = {
35384 (char *) "self",(char *) "x",(char *) "y", NULL
35387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetInitSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35388 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35390 arg2
= (int)SWIG_As_int(obj1
);
35391 if (PyErr_Occurred()) SWIG_fail
;
35392 arg3
= (int)SWIG_As_int(obj2
);
35393 if (PyErr_Occurred()) SWIG_fail
;
35395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35396 (arg1
)->SetInitSize(arg2
,arg3
);
35398 wxPyEndAllowThreads(__tstate
);
35399 if (PyErr_Occurred()) SWIG_fail
;
35401 Py_INCREF(Py_None
); resultobj
= Py_None
;
35408 static PyObject
*_wrap_SizerItem_SetRatioWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35409 PyObject
*resultobj
;
35410 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35413 PyObject
* obj0
= 0 ;
35414 PyObject
* obj1
= 0 ;
35415 PyObject
* obj2
= 0 ;
35416 char *kwnames
[] = {
35417 (char *) "self",(char *) "width",(char *) "height", NULL
35420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetRatioWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35421 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35422 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35423 arg2
= (int)SWIG_As_int(obj1
);
35424 if (PyErr_Occurred()) SWIG_fail
;
35425 arg3
= (int)SWIG_As_int(obj2
);
35426 if (PyErr_Occurred()) SWIG_fail
;
35428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35429 (arg1
)->SetRatio(arg2
,arg3
);
35431 wxPyEndAllowThreads(__tstate
);
35432 if (PyErr_Occurred()) SWIG_fail
;
35434 Py_INCREF(Py_None
); resultobj
= Py_None
;
35441 static PyObject
*_wrap_SizerItem_SetRatioSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35442 PyObject
*resultobj
;
35443 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35446 PyObject
* obj0
= 0 ;
35447 PyObject
* obj1
= 0 ;
35448 char *kwnames
[] = {
35449 (char *) "self",(char *) "size", NULL
35452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatioSize",kwnames
,&obj0
,&obj1
)) goto fail
;
35453 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35455 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxSize
,
35456 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
35459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35460 (arg1
)->SetRatio(arg2
);
35462 wxPyEndAllowThreads(__tstate
);
35463 if (PyErr_Occurred()) SWIG_fail
;
35465 Py_INCREF(Py_None
); resultobj
= Py_None
;
35472 static PyObject
*_wrap_SizerItem_SetRatio(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35473 PyObject
*resultobj
;
35474 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35476 PyObject
* obj0
= 0 ;
35477 PyObject
* obj1
= 0 ;
35478 char *kwnames
[] = {
35479 (char *) "self",(char *) "ratio", NULL
35482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatio",kwnames
,&obj0
,&obj1
)) goto fail
;
35483 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35484 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35485 arg2
= (float)SWIG_As_float(obj1
);
35486 if (PyErr_Occurred()) SWIG_fail
;
35488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35489 (arg1
)->SetRatio(arg2
);
35491 wxPyEndAllowThreads(__tstate
);
35492 if (PyErr_Occurred()) SWIG_fail
;
35494 Py_INCREF(Py_None
); resultobj
= Py_None
;
35501 static PyObject
*_wrap_SizerItem_GetRatio(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35502 PyObject
*resultobj
;
35503 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35505 PyObject
* obj0
= 0 ;
35506 char *kwnames
[] = {
35507 (char *) "self", NULL
35510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetRatio",kwnames
,&obj0
)) goto fail
;
35511 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35512 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35515 result
= (float)(arg1
)->GetRatio();
35517 wxPyEndAllowThreads(__tstate
);
35518 if (PyErr_Occurred()) SWIG_fail
;
35520 resultobj
= SWIG_From_float((float)result
);
35527 static PyObject
*_wrap_SizerItem_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35528 PyObject
*resultobj
;
35529 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35531 PyObject
* obj0
= 0 ;
35532 char *kwnames
[] = {
35533 (char *) "self", NULL
35536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetRect",kwnames
,&obj0
)) goto fail
;
35537 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35541 result
= (arg1
)->GetRect();
35543 wxPyEndAllowThreads(__tstate
);
35544 if (PyErr_Occurred()) SWIG_fail
;
35547 wxRect
* resultptr
;
35548 resultptr
= new wxRect((wxRect
&) result
);
35549 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
35557 static PyObject
*_wrap_SizerItem_IsWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35558 PyObject
*resultobj
;
35559 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35561 PyObject
* obj0
= 0 ;
35562 char *kwnames
[] = {
35563 (char *) "self", NULL
35566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsWindow",kwnames
,&obj0
)) goto fail
;
35567 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35568 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35571 result
= (bool)(arg1
)->IsWindow();
35573 wxPyEndAllowThreads(__tstate
);
35574 if (PyErr_Occurred()) SWIG_fail
;
35577 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35585 static PyObject
*_wrap_SizerItem_IsSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35586 PyObject
*resultobj
;
35587 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35589 PyObject
* obj0
= 0 ;
35590 char *kwnames
[] = {
35591 (char *) "self", NULL
35594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSizer",kwnames
,&obj0
)) goto fail
;
35595 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35596 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35599 result
= (bool)(arg1
)->IsSizer();
35601 wxPyEndAllowThreads(__tstate
);
35602 if (PyErr_Occurred()) SWIG_fail
;
35605 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35613 static PyObject
*_wrap_SizerItem_IsSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35614 PyObject
*resultobj
;
35615 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35617 PyObject
* obj0
= 0 ;
35618 char *kwnames
[] = {
35619 (char *) "self", NULL
35622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSpacer",kwnames
,&obj0
)) goto fail
;
35623 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35627 result
= (bool)(arg1
)->IsSpacer();
35629 wxPyEndAllowThreads(__tstate
);
35630 if (PyErr_Occurred()) SWIG_fail
;
35633 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35641 static PyObject
*_wrap_SizerItem_SetProportion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35642 PyObject
*resultobj
;
35643 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35645 PyObject
* obj0
= 0 ;
35646 PyObject
* obj1
= 0 ;
35647 char *kwnames
[] = {
35648 (char *) "self",(char *) "proportion", NULL
35651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetProportion",kwnames
,&obj0
,&obj1
)) goto fail
;
35652 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35653 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35654 arg2
= (int)SWIG_As_int(obj1
);
35655 if (PyErr_Occurred()) SWIG_fail
;
35657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35658 (arg1
)->SetProportion(arg2
);
35660 wxPyEndAllowThreads(__tstate
);
35661 if (PyErr_Occurred()) SWIG_fail
;
35663 Py_INCREF(Py_None
); resultobj
= Py_None
;
35670 static PyObject
*_wrap_SizerItem_GetProportion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35671 PyObject
*resultobj
;
35672 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35674 PyObject
* obj0
= 0 ;
35675 char *kwnames
[] = {
35676 (char *) "self", NULL
35679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetProportion",kwnames
,&obj0
)) goto fail
;
35680 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35681 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35684 result
= (int)(arg1
)->GetProportion();
35686 wxPyEndAllowThreads(__tstate
);
35687 if (PyErr_Occurred()) SWIG_fail
;
35689 resultobj
= SWIG_From_int((int)result
);
35696 static PyObject
*_wrap_SizerItem_SetFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35697 PyObject
*resultobj
;
35698 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35700 PyObject
* obj0
= 0 ;
35701 PyObject
* obj1
= 0 ;
35702 char *kwnames
[] = {
35703 (char *) "self",(char *) "flag", NULL
35706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
35707 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35708 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35709 arg2
= (int)SWIG_As_int(obj1
);
35710 if (PyErr_Occurred()) SWIG_fail
;
35712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35713 (arg1
)->SetFlag(arg2
);
35715 wxPyEndAllowThreads(__tstate
);
35716 if (PyErr_Occurred()) SWIG_fail
;
35718 Py_INCREF(Py_None
); resultobj
= Py_None
;
35725 static PyObject
*_wrap_SizerItem_GetFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35726 PyObject
*resultobj
;
35727 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35729 PyObject
* obj0
= 0 ;
35730 char *kwnames
[] = {
35731 (char *) "self", NULL
35734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetFlag",kwnames
,&obj0
)) goto fail
;
35735 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35739 result
= (int)(arg1
)->GetFlag();
35741 wxPyEndAllowThreads(__tstate
);
35742 if (PyErr_Occurred()) SWIG_fail
;
35744 resultobj
= SWIG_From_int((int)result
);
35751 static PyObject
*_wrap_SizerItem_SetBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35752 PyObject
*resultobj
;
35753 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35755 PyObject
* obj0
= 0 ;
35756 PyObject
* obj1
= 0 ;
35757 char *kwnames
[] = {
35758 (char *) "self",(char *) "border", NULL
35761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetBorder",kwnames
,&obj0
,&obj1
)) goto fail
;
35762 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35763 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35764 arg2
= (int)SWIG_As_int(obj1
);
35765 if (PyErr_Occurred()) SWIG_fail
;
35767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35768 (arg1
)->SetBorder(arg2
);
35770 wxPyEndAllowThreads(__tstate
);
35771 if (PyErr_Occurred()) SWIG_fail
;
35773 Py_INCREF(Py_None
); resultobj
= Py_None
;
35780 static PyObject
*_wrap_SizerItem_GetBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35781 PyObject
*resultobj
;
35782 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35784 PyObject
* obj0
= 0 ;
35785 char *kwnames
[] = {
35786 (char *) "self", NULL
35789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetBorder",kwnames
,&obj0
)) goto fail
;
35790 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35791 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35794 result
= (int)(arg1
)->GetBorder();
35796 wxPyEndAllowThreads(__tstate
);
35797 if (PyErr_Occurred()) SWIG_fail
;
35799 resultobj
= SWIG_From_int((int)result
);
35806 static PyObject
*_wrap_SizerItem_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35807 PyObject
*resultobj
;
35808 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35810 PyObject
* obj0
= 0 ;
35811 char *kwnames
[] = {
35812 (char *) "self", NULL
35815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetWindow",kwnames
,&obj0
)) goto fail
;
35816 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35820 result
= (wxWindow
*)(arg1
)->GetWindow();
35822 wxPyEndAllowThreads(__tstate
);
35823 if (PyErr_Occurred()) SWIG_fail
;
35826 resultobj
= wxPyMake_wxObject(result
, 0);
35834 static PyObject
*_wrap_SizerItem_SetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35835 PyObject
*resultobj
;
35836 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35837 wxWindow
*arg2
= (wxWindow
*) 0 ;
35838 PyObject
* obj0
= 0 ;
35839 PyObject
* obj1
= 0 ;
35840 char *kwnames
[] = {
35841 (char *) "self",(char *) "window", NULL
35844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
35845 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35847 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
35848 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35851 (arg1
)->SetWindow(arg2
);
35853 wxPyEndAllowThreads(__tstate
);
35854 if (PyErr_Occurred()) SWIG_fail
;
35856 Py_INCREF(Py_None
); resultobj
= Py_None
;
35863 static PyObject
*_wrap_SizerItem_GetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35864 PyObject
*resultobj
;
35865 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35867 PyObject
* obj0
= 0 ;
35868 char *kwnames
[] = {
35869 (char *) "self", NULL
35872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSizer",kwnames
,&obj0
)) goto fail
;
35873 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35874 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35877 result
= (wxSizer
*)(arg1
)->GetSizer();
35879 wxPyEndAllowThreads(__tstate
);
35880 if (PyErr_Occurred()) SWIG_fail
;
35883 resultobj
= wxPyMake_wxSizer(result
, 0);
35891 static PyObject
*_wrap_SizerItem_SetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35892 PyObject
*resultobj
;
35893 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35894 wxSizer
*arg2
= (wxSizer
*) 0 ;
35895 PyObject
* obj0
= 0 ;
35896 PyObject
* obj1
= 0 ;
35897 char *kwnames
[] = {
35898 (char *) "self",(char *) "sizer", NULL
35901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
35902 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35903 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35904 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
35905 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35908 (arg1
)->SetSizer(arg2
);
35910 wxPyEndAllowThreads(__tstate
);
35911 if (PyErr_Occurred()) SWIG_fail
;
35913 Py_INCREF(Py_None
); resultobj
= Py_None
;
35920 static PyObject
*_wrap_SizerItem_GetSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35921 PyObject
*resultobj
;
35922 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35924 PyObject
* obj0
= 0 ;
35925 char *kwnames
[] = {
35926 (char *) "self", NULL
35929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSpacer",kwnames
,&obj0
)) goto fail
;
35930 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35935 wxSize
const &_result_ref
= (arg1
)->GetSpacer();
35936 result
= (wxSize
*) &_result_ref
;
35939 wxPyEndAllowThreads(__tstate
);
35940 if (PyErr_Occurred()) SWIG_fail
;
35942 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
35949 static PyObject
*_wrap_SizerItem_SetSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35950 PyObject
*resultobj
;
35951 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35954 PyObject
* obj0
= 0 ;
35955 PyObject
* obj1
= 0 ;
35956 char *kwnames
[] = {
35957 (char *) "self",(char *) "size", NULL
35960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSpacer",kwnames
,&obj0
,&obj1
)) goto fail
;
35961 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35962 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35965 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
35968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35969 (arg1
)->SetSpacer((wxSize
const &)*arg2
);
35971 wxPyEndAllowThreads(__tstate
);
35972 if (PyErr_Occurred()) SWIG_fail
;
35974 Py_INCREF(Py_None
); resultobj
= Py_None
;
35981 static PyObject
*_wrap_SizerItem_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35982 PyObject
*resultobj
;
35983 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35985 PyObject
* obj0
= 0 ;
35986 PyObject
* obj1
= 0 ;
35987 char *kwnames
[] = {
35988 (char *) "self",(char *) "show", NULL
35991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
35992 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35993 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35994 arg2
= (bool)SWIG_As_bool(obj1
);
35995 if (PyErr_Occurred()) SWIG_fail
;
35997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35998 (arg1
)->Show(arg2
);
36000 wxPyEndAllowThreads(__tstate
);
36001 if (PyErr_Occurred()) SWIG_fail
;
36003 Py_INCREF(Py_None
); resultobj
= Py_None
;
36010 static PyObject
*_wrap_SizerItem_IsShown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36011 PyObject
*resultobj
;
36012 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
36014 PyObject
* obj0
= 0 ;
36015 char *kwnames
[] = {
36016 (char *) "self", NULL
36019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsShown",kwnames
,&obj0
)) goto fail
;
36020 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
36021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36024 result
= (bool)(arg1
)->IsShown();
36026 wxPyEndAllowThreads(__tstate
);
36027 if (PyErr_Occurred()) SWIG_fail
;
36030 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36038 static PyObject
*_wrap_SizerItem_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36039 PyObject
*resultobj
;
36040 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
36042 PyObject
* obj0
= 0 ;
36043 char *kwnames
[] = {
36044 (char *) "self", NULL
36047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetPosition",kwnames
,&obj0
)) goto fail
;
36048 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
36049 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36052 result
= (arg1
)->GetPosition();
36054 wxPyEndAllowThreads(__tstate
);
36055 if (PyErr_Occurred()) SWIG_fail
;
36058 wxPoint
* resultptr
;
36059 resultptr
= new wxPoint((wxPoint
&) result
);
36060 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
36068 static PyObject
*_wrap_SizerItem_GetUserData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36069 PyObject
*resultobj
;
36070 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
36072 PyObject
* obj0
= 0 ;
36073 char *kwnames
[] = {
36074 (char *) "self", NULL
36077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetUserData",kwnames
,&obj0
)) goto fail
;
36078 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
36079 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36082 result
= (PyObject
*)wxSizerItem_GetUserData(arg1
);
36084 wxPyEndAllowThreads(__tstate
);
36085 if (PyErr_Occurred()) SWIG_fail
;
36087 resultobj
= result
;
36094 static PyObject
* SizerItem_swigregister(PyObject
*, PyObject
*args
) {
36096 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36097 SWIG_TypeClientData(SWIGTYPE_p_wxSizerItem
, obj
);
36099 return Py_BuildValue((char *)"");
36101 static PyObject
*_wrap_Sizer__setOORInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36102 PyObject
*resultobj
;
36103 wxSizer
*arg1
= (wxSizer
*) 0 ;
36104 PyObject
*arg2
= (PyObject
*) 0 ;
36105 PyObject
* obj0
= 0 ;
36106 PyObject
* obj1
= 0 ;
36107 char *kwnames
[] = {
36108 (char *) "self",(char *) "_self", NULL
36111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
36112 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36117 wxSizer__setOORInfo(arg1
,arg2
);
36119 wxPyEndAllowThreads(__tstate
);
36120 if (PyErr_Occurred()) SWIG_fail
;
36122 Py_INCREF(Py_None
); resultobj
= Py_None
;
36129 static PyObject
*_wrap_Sizer_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36130 PyObject
*resultobj
;
36131 wxSizer
*arg1
= (wxSizer
*) 0 ;
36132 PyObject
*arg2
= (PyObject
*) 0 ;
36133 int arg3
= (int) 0 ;
36134 int arg4
= (int) 0 ;
36135 int arg5
= (int) 0 ;
36136 PyObject
*arg6
= (PyObject
*) NULL
;
36137 wxSizerItem
*result
;
36138 PyObject
* obj0
= 0 ;
36139 PyObject
* obj1
= 0 ;
36140 PyObject
* obj2
= 0 ;
36141 PyObject
* obj3
= 0 ;
36142 PyObject
* obj4
= 0 ;
36143 PyObject
* obj5
= 0 ;
36144 char *kwnames
[] = {
36145 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
36148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
36149 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36153 arg3
= (int)SWIG_As_int(obj2
);
36154 if (PyErr_Occurred()) SWIG_fail
;
36157 arg4
= (int)SWIG_As_int(obj3
);
36158 if (PyErr_Occurred()) SWIG_fail
;
36161 arg5
= (int)SWIG_As_int(obj4
);
36162 if (PyErr_Occurred()) SWIG_fail
;
36168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36169 result
= (wxSizerItem
*)wxSizer_Add(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
36171 wxPyEndAllowThreads(__tstate
);
36172 if (PyErr_Occurred()) SWIG_fail
;
36174 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
36181 static PyObject
*_wrap_Sizer_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36182 PyObject
*resultobj
;
36183 wxSizer
*arg1
= (wxSizer
*) 0 ;
36185 PyObject
*arg3
= (PyObject
*) 0 ;
36186 int arg4
= (int) 0 ;
36187 int arg5
= (int) 0 ;
36188 int arg6
= (int) 0 ;
36189 PyObject
*arg7
= (PyObject
*) NULL
;
36190 wxSizerItem
*result
;
36191 PyObject
* obj0
= 0 ;
36192 PyObject
* obj1
= 0 ;
36193 PyObject
* obj2
= 0 ;
36194 PyObject
* obj3
= 0 ;
36195 PyObject
* obj4
= 0 ;
36196 PyObject
* obj5
= 0 ;
36197 PyObject
* obj6
= 0 ;
36198 char *kwnames
[] = {
36199 (char *) "self",(char *) "before",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
36202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Sizer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
36203 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36204 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36205 arg2
= (int)SWIG_As_int(obj1
);
36206 if (PyErr_Occurred()) SWIG_fail
;
36209 arg4
= (int)SWIG_As_int(obj3
);
36210 if (PyErr_Occurred()) SWIG_fail
;
36213 arg5
= (int)SWIG_As_int(obj4
);
36214 if (PyErr_Occurred()) SWIG_fail
;
36217 arg6
= (int)SWIG_As_int(obj5
);
36218 if (PyErr_Occurred()) SWIG_fail
;
36224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36225 result
= (wxSizerItem
*)wxSizer_Insert(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
36227 wxPyEndAllowThreads(__tstate
);
36228 if (PyErr_Occurred()) SWIG_fail
;
36230 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
36237 static PyObject
*_wrap_Sizer_Prepend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36238 PyObject
*resultobj
;
36239 wxSizer
*arg1
= (wxSizer
*) 0 ;
36240 PyObject
*arg2
= (PyObject
*) 0 ;
36241 int arg3
= (int) 0 ;
36242 int arg4
= (int) 0 ;
36243 int arg5
= (int) 0 ;
36244 PyObject
*arg6
= (PyObject
*) NULL
;
36245 wxSizerItem
*result
;
36246 PyObject
* obj0
= 0 ;
36247 PyObject
* obj1
= 0 ;
36248 PyObject
* obj2
= 0 ;
36249 PyObject
* obj3
= 0 ;
36250 PyObject
* obj4
= 0 ;
36251 PyObject
* obj5
= 0 ;
36252 char *kwnames
[] = {
36253 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
36256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
36257 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36258 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36261 arg3
= (int)SWIG_As_int(obj2
);
36262 if (PyErr_Occurred()) SWIG_fail
;
36265 arg4
= (int)SWIG_As_int(obj3
);
36266 if (PyErr_Occurred()) SWIG_fail
;
36269 arg5
= (int)SWIG_As_int(obj4
);
36270 if (PyErr_Occurred()) SWIG_fail
;
36276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36277 result
= (wxSizerItem
*)wxSizer_Prepend(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
36279 wxPyEndAllowThreads(__tstate
);
36280 if (PyErr_Occurred()) SWIG_fail
;
36282 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
36289 static PyObject
*_wrap_Sizer_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36290 PyObject
*resultobj
;
36291 wxSizer
*arg1
= (wxSizer
*) 0 ;
36292 PyObject
*arg2
= (PyObject
*) 0 ;
36294 PyObject
* obj0
= 0 ;
36295 PyObject
* obj1
= 0 ;
36296 char *kwnames
[] = {
36297 (char *) "self",(char *) "item", NULL
36300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
36301 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36302 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36306 result
= (bool)wxSizer_Remove(arg1
,arg2
);
36308 wxPyEndAllowThreads(__tstate
);
36309 if (PyErr_Occurred()) SWIG_fail
;
36312 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36320 static PyObject
*_wrap_Sizer_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36321 PyObject
*resultobj
;
36322 wxSizer
*arg1
= (wxSizer
*) 0 ;
36323 PyObject
*arg2
= (PyObject
*) 0 ;
36325 PyObject
* obj0
= 0 ;
36326 PyObject
* obj1
= 0 ;
36327 char *kwnames
[] = {
36328 (char *) "self",(char *) "item", NULL
36331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Detach",kwnames
,&obj0
,&obj1
)) goto fail
;
36332 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36333 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36337 result
= (bool)wxSizer_Detach(arg1
,arg2
);
36339 wxPyEndAllowThreads(__tstate
);
36340 if (PyErr_Occurred()) SWIG_fail
;
36343 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36351 static PyObject
*_wrap_Sizer_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36352 PyObject
*resultobj
;
36353 wxSizer
*arg1
= (wxSizer
*) 0 ;
36354 PyObject
*arg2
= (PyObject
*) 0 ;
36355 wxSizerItem
*result
;
36356 PyObject
* obj0
= 0 ;
36357 PyObject
* obj1
= 0 ;
36358 char *kwnames
[] = {
36359 (char *) "self",(char *) "item", NULL
36362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_GetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
36363 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36364 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36368 result
= (wxSizerItem
*)wxSizer_GetItem(arg1
,arg2
);
36370 wxPyEndAllowThreads(__tstate
);
36371 if (PyErr_Occurred()) SWIG_fail
;
36373 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
36380 static PyObject
*_wrap_Sizer__SetItemMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36381 PyObject
*resultobj
;
36382 wxSizer
*arg1
= (wxSizer
*) 0 ;
36383 PyObject
*arg2
= (PyObject
*) 0 ;
36386 PyObject
* obj0
= 0 ;
36387 PyObject
* obj1
= 0 ;
36388 PyObject
* obj2
= 0 ;
36389 char *kwnames
[] = {
36390 (char *) "self",(char *) "item",(char *) "size", NULL
36393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer__SetItemMinSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
36394 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36399 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
36402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36403 wxSizer__SetItemMinSize(arg1
,arg2
,(wxSize
const &)*arg3
);
36405 wxPyEndAllowThreads(__tstate
);
36406 if (PyErr_Occurred()) SWIG_fail
;
36408 Py_INCREF(Py_None
); resultobj
= Py_None
;
36415 static PyObject
*_wrap_Sizer_AddItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36416 PyObject
*resultobj
;
36417 wxSizer
*arg1
= (wxSizer
*) 0 ;
36418 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
36419 wxSizerItem
*result
;
36420 PyObject
* obj0
= 0 ;
36421 PyObject
* obj1
= 0 ;
36422 char *kwnames
[] = {
36423 (char *) "self",(char *) "item", NULL
36426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
36427 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36428 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36429 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizerItem
,
36430 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36433 result
= (wxSizerItem
*)(arg1
)->Add(arg2
);
36435 wxPyEndAllowThreads(__tstate
);
36436 if (PyErr_Occurred()) SWIG_fail
;
36438 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
36445 static PyObject
*_wrap_Sizer_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36446 PyObject
*resultobj
;
36447 wxSizer
*arg1
= (wxSizer
*) 0 ;
36449 wxSizerItem
*arg3
= (wxSizerItem
*) 0 ;
36450 wxSizerItem
*result
;
36451 PyObject
* obj0
= 0 ;
36452 PyObject
* obj1
= 0 ;
36453 PyObject
* obj2
= 0 ;
36454 char *kwnames
[] = {
36455 (char *) "self",(char *) "index",(char *) "item", NULL
36458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
36459 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36460 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36461 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
36462 if (PyErr_Occurred()) SWIG_fail
;
36463 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxSizerItem
,
36464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36467 result
= (wxSizerItem
*)(arg1
)->Insert(arg2
,arg3
);
36469 wxPyEndAllowThreads(__tstate
);
36470 if (PyErr_Occurred()) SWIG_fail
;
36472 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
36479 static PyObject
*_wrap_Sizer_PrependItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36480 PyObject
*resultobj
;
36481 wxSizer
*arg1
= (wxSizer
*) 0 ;
36482 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
36483 wxSizerItem
*result
;
36484 PyObject
* obj0
= 0 ;
36485 PyObject
* obj1
= 0 ;
36486 char *kwnames
[] = {
36487 (char *) "self",(char *) "item", NULL
36490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
36491 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36493 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizerItem
,
36494 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36497 result
= (wxSizerItem
*)(arg1
)->Prepend(arg2
);
36499 wxPyEndAllowThreads(__tstate
);
36500 if (PyErr_Occurred()) SWIG_fail
;
36502 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
36509 static PyObject
*_wrap_Sizer_SetDimension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36510 PyObject
*resultobj
;
36511 wxSizer
*arg1
= (wxSizer
*) 0 ;
36516 PyObject
* obj0
= 0 ;
36517 PyObject
* obj1
= 0 ;
36518 PyObject
* obj2
= 0 ;
36519 PyObject
* obj3
= 0 ;
36520 PyObject
* obj4
= 0 ;
36521 char *kwnames
[] = {
36522 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
36525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Sizer_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
36526 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36527 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36528 arg2
= (int)SWIG_As_int(obj1
);
36529 if (PyErr_Occurred()) SWIG_fail
;
36530 arg3
= (int)SWIG_As_int(obj2
);
36531 if (PyErr_Occurred()) SWIG_fail
;
36532 arg4
= (int)SWIG_As_int(obj3
);
36533 if (PyErr_Occurred()) SWIG_fail
;
36534 arg5
= (int)SWIG_As_int(obj4
);
36535 if (PyErr_Occurred()) SWIG_fail
;
36537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36538 (arg1
)->SetDimension(arg2
,arg3
,arg4
,arg5
);
36540 wxPyEndAllowThreads(__tstate
);
36541 if (PyErr_Occurred()) SWIG_fail
;
36543 Py_INCREF(Py_None
); resultobj
= Py_None
;
36550 static PyObject
*_wrap_Sizer_SetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36551 PyObject
*resultobj
;
36552 wxSizer
*arg1
= (wxSizer
*) 0 ;
36555 PyObject
* obj0
= 0 ;
36556 PyObject
* obj1
= 0 ;
36557 char *kwnames
[] = {
36558 (char *) "self",(char *) "size", NULL
36561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetMinSize",kwnames
,&obj0
,&obj1
)) goto fail
;
36562 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36566 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
36569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36570 (arg1
)->SetMinSize((wxSize
const &)*arg2
);
36572 wxPyEndAllowThreads(__tstate
);
36573 if (PyErr_Occurred()) SWIG_fail
;
36575 Py_INCREF(Py_None
); resultobj
= Py_None
;
36582 static PyObject
*_wrap_Sizer_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36583 PyObject
*resultobj
;
36584 wxSizer
*arg1
= (wxSizer
*) 0 ;
36586 PyObject
* obj0
= 0 ;
36587 char *kwnames
[] = {
36588 (char *) "self", NULL
36591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetSize",kwnames
,&obj0
)) goto fail
;
36592 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36596 result
= (arg1
)->GetSize();
36598 wxPyEndAllowThreads(__tstate
);
36599 if (PyErr_Occurred()) SWIG_fail
;
36602 wxSize
* resultptr
;
36603 resultptr
= new wxSize((wxSize
&) result
);
36604 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
36612 static PyObject
*_wrap_Sizer_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36613 PyObject
*resultobj
;
36614 wxSizer
*arg1
= (wxSizer
*) 0 ;
36616 PyObject
* obj0
= 0 ;
36617 char *kwnames
[] = {
36618 (char *) "self", NULL
36621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetPosition",kwnames
,&obj0
)) goto fail
;
36622 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36623 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36626 result
= (arg1
)->GetPosition();
36628 wxPyEndAllowThreads(__tstate
);
36629 if (PyErr_Occurred()) SWIG_fail
;
36632 wxPoint
* resultptr
;
36633 resultptr
= new wxPoint((wxPoint
&) result
);
36634 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
36642 static PyObject
*_wrap_Sizer_GetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36643 PyObject
*resultobj
;
36644 wxSizer
*arg1
= (wxSizer
*) 0 ;
36646 PyObject
* obj0
= 0 ;
36647 char *kwnames
[] = {
36648 (char *) "self", NULL
36651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetMinSize",kwnames
,&obj0
)) goto fail
;
36652 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36653 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36656 result
= (arg1
)->GetMinSize();
36658 wxPyEndAllowThreads(__tstate
);
36659 if (PyErr_Occurred()) SWIG_fail
;
36662 wxSize
* resultptr
;
36663 resultptr
= new wxSize((wxSize
&) result
);
36664 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
36672 static PyObject
*_wrap_Sizer_RecalcSizes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36673 PyObject
*resultobj
;
36674 wxSizer
*arg1
= (wxSizer
*) 0 ;
36675 PyObject
* obj0
= 0 ;
36676 char *kwnames
[] = {
36677 (char *) "self", NULL
36680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
36681 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36682 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36685 (arg1
)->RecalcSizes();
36687 wxPyEndAllowThreads(__tstate
);
36688 if (PyErr_Occurred()) SWIG_fail
;
36690 Py_INCREF(Py_None
); resultobj
= Py_None
;
36697 static PyObject
*_wrap_Sizer_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36698 PyObject
*resultobj
;
36699 wxSizer
*arg1
= (wxSizer
*) 0 ;
36701 PyObject
* obj0
= 0 ;
36702 char *kwnames
[] = {
36703 (char *) "self", NULL
36706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_CalcMin",kwnames
,&obj0
)) goto fail
;
36707 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36708 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36711 result
= (arg1
)->CalcMin();
36713 wxPyEndAllowThreads(__tstate
);
36714 if (PyErr_Occurred()) SWIG_fail
;
36717 wxSize
* resultptr
;
36718 resultptr
= new wxSize((wxSize
&) result
);
36719 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
36727 static PyObject
*_wrap_Sizer_Layout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36728 PyObject
*resultobj
;
36729 wxSizer
*arg1
= (wxSizer
*) 0 ;
36730 PyObject
* obj0
= 0 ;
36731 char *kwnames
[] = {
36732 (char *) "self", NULL
36735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_Layout",kwnames
,&obj0
)) goto fail
;
36736 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36737 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36742 wxPyEndAllowThreads(__tstate
);
36743 if (PyErr_Occurred()) SWIG_fail
;
36745 Py_INCREF(Py_None
); resultobj
= Py_None
;
36752 static PyObject
*_wrap_Sizer_Fit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36753 PyObject
*resultobj
;
36754 wxSizer
*arg1
= (wxSizer
*) 0 ;
36755 wxWindow
*arg2
= (wxWindow
*) 0 ;
36757 PyObject
* obj0
= 0 ;
36758 PyObject
* obj1
= 0 ;
36759 char *kwnames
[] = {
36760 (char *) "self",(char *) "window", NULL
36763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Fit",kwnames
,&obj0
,&obj1
)) goto fail
;
36764 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36765 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36766 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
36767 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36770 result
= (arg1
)->Fit(arg2
);
36772 wxPyEndAllowThreads(__tstate
);
36773 if (PyErr_Occurred()) SWIG_fail
;
36776 wxSize
* resultptr
;
36777 resultptr
= new wxSize((wxSize
&) result
);
36778 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
36786 static PyObject
*_wrap_Sizer_FitInside(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36787 PyObject
*resultobj
;
36788 wxSizer
*arg1
= (wxSizer
*) 0 ;
36789 wxWindow
*arg2
= (wxWindow
*) 0 ;
36790 PyObject
* obj0
= 0 ;
36791 PyObject
* obj1
= 0 ;
36792 char *kwnames
[] = {
36793 (char *) "self",(char *) "window", NULL
36796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_FitInside",kwnames
,&obj0
,&obj1
)) goto fail
;
36797 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36799 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
36800 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36803 (arg1
)->FitInside(arg2
);
36805 wxPyEndAllowThreads(__tstate
);
36806 if (PyErr_Occurred()) SWIG_fail
;
36808 Py_INCREF(Py_None
); resultobj
= Py_None
;
36815 static PyObject
*_wrap_Sizer_SetSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36816 PyObject
*resultobj
;
36817 wxSizer
*arg1
= (wxSizer
*) 0 ;
36818 wxWindow
*arg2
= (wxWindow
*) 0 ;
36819 PyObject
* obj0
= 0 ;
36820 PyObject
* obj1
= 0 ;
36821 char *kwnames
[] = {
36822 (char *) "self",(char *) "window", NULL
36825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
36826 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36827 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36828 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
36829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36832 (arg1
)->SetSizeHints(arg2
);
36834 wxPyEndAllowThreads(__tstate
);
36835 if (PyErr_Occurred()) SWIG_fail
;
36837 Py_INCREF(Py_None
); resultobj
= Py_None
;
36844 static PyObject
*_wrap_Sizer_SetVirtualSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36845 PyObject
*resultobj
;
36846 wxSizer
*arg1
= (wxSizer
*) 0 ;
36847 wxWindow
*arg2
= (wxWindow
*) 0 ;
36848 PyObject
* obj0
= 0 ;
36849 PyObject
* obj1
= 0 ;
36850 char *kwnames
[] = {
36851 (char *) "self",(char *) "window", NULL
36854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
36855 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36856 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36857 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
36858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36861 (arg1
)->SetVirtualSizeHints(arg2
);
36863 wxPyEndAllowThreads(__tstate
);
36864 if (PyErr_Occurred()) SWIG_fail
;
36866 Py_INCREF(Py_None
); resultobj
= Py_None
;
36873 static PyObject
*_wrap_Sizer_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36874 PyObject
*resultobj
;
36875 wxSizer
*arg1
= (wxSizer
*) 0 ;
36876 bool arg2
= (bool) false ;
36877 PyObject
* obj0
= 0 ;
36878 PyObject
* obj1
= 0 ;
36879 char *kwnames
[] = {
36880 (char *) "self",(char *) "deleteWindows", NULL
36883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sizer_Clear",kwnames
,&obj0
,&obj1
)) goto fail
;
36884 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36885 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36887 arg2
= (bool)SWIG_As_bool(obj1
);
36888 if (PyErr_Occurred()) SWIG_fail
;
36891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36892 (arg1
)->Clear(arg2
);
36894 wxPyEndAllowThreads(__tstate
);
36895 if (PyErr_Occurred()) SWIG_fail
;
36897 Py_INCREF(Py_None
); resultobj
= Py_None
;
36904 static PyObject
*_wrap_Sizer_DeleteWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36905 PyObject
*resultobj
;
36906 wxSizer
*arg1
= (wxSizer
*) 0 ;
36907 PyObject
* obj0
= 0 ;
36908 char *kwnames
[] = {
36909 (char *) "self", NULL
36912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_DeleteWindows",kwnames
,&obj0
)) goto fail
;
36913 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36914 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36917 (arg1
)->DeleteWindows();
36919 wxPyEndAllowThreads(__tstate
);
36920 if (PyErr_Occurred()) SWIG_fail
;
36922 Py_INCREF(Py_None
); resultobj
= Py_None
;
36929 static PyObject
*_wrap_Sizer_GetChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36930 PyObject
*resultobj
;
36931 wxSizer
*arg1
= (wxSizer
*) 0 ;
36933 PyObject
* obj0
= 0 ;
36934 char *kwnames
[] = {
36935 (char *) "self", NULL
36938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetChildren",kwnames
,&obj0
)) goto fail
;
36939 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36943 result
= (PyObject
*)wxSizer_GetChildren(arg1
);
36945 wxPyEndAllowThreads(__tstate
);
36946 if (PyErr_Occurred()) SWIG_fail
;
36948 resultobj
= result
;
36955 static PyObject
*_wrap_Sizer_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36956 PyObject
*resultobj
;
36957 wxSizer
*arg1
= (wxSizer
*) 0 ;
36958 PyObject
*arg2
= (PyObject
*) 0 ;
36959 bool arg3
= (bool) true ;
36960 bool arg4
= (bool) false ;
36962 PyObject
* obj0
= 0 ;
36963 PyObject
* obj1
= 0 ;
36964 PyObject
* obj2
= 0 ;
36965 PyObject
* obj3
= 0 ;
36966 char *kwnames
[] = {
36967 (char *) "self",(char *) "item",(char *) "show",(char *) "recursive", NULL
36970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Sizer_Show",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
36971 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36972 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36975 arg3
= (bool)SWIG_As_bool(obj2
);
36976 if (PyErr_Occurred()) SWIG_fail
;
36979 arg4
= (bool)SWIG_As_bool(obj3
);
36980 if (PyErr_Occurred()) SWIG_fail
;
36983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36984 result
= (bool)wxSizer_Show(arg1
,arg2
,arg3
,arg4
);
36986 wxPyEndAllowThreads(__tstate
);
36987 if (PyErr_Occurred()) SWIG_fail
;
36990 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36998 static PyObject
*_wrap_Sizer_IsShown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36999 PyObject
*resultobj
;
37000 wxSizer
*arg1
= (wxSizer
*) 0 ;
37001 PyObject
*arg2
= (PyObject
*) 0 ;
37003 PyObject
* obj0
= 0 ;
37004 PyObject
* obj1
= 0 ;
37005 char *kwnames
[] = {
37006 (char *) "self",(char *) "item", NULL
37009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_IsShown",kwnames
,&obj0
,&obj1
)) goto fail
;
37010 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
37011 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37015 result
= (bool)wxSizer_IsShown(arg1
,arg2
);
37017 wxPyEndAllowThreads(__tstate
);
37018 if (PyErr_Occurred()) SWIG_fail
;
37021 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37029 static PyObject
*_wrap_Sizer_ShowItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37030 PyObject
*resultobj
;
37031 wxSizer
*arg1
= (wxSizer
*) 0 ;
37033 PyObject
* obj0
= 0 ;
37034 PyObject
* obj1
= 0 ;
37035 char *kwnames
[] = {
37036 (char *) "self",(char *) "show", NULL
37039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_ShowItems",kwnames
,&obj0
,&obj1
)) goto fail
;
37040 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
37041 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37042 arg2
= (bool)SWIG_As_bool(obj1
);
37043 if (PyErr_Occurred()) SWIG_fail
;
37045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37046 (arg1
)->ShowItems(arg2
);
37048 wxPyEndAllowThreads(__tstate
);
37049 if (PyErr_Occurred()) SWIG_fail
;
37051 Py_INCREF(Py_None
); resultobj
= Py_None
;
37058 static PyObject
* Sizer_swigregister(PyObject
*, PyObject
*args
) {
37060 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37061 SWIG_TypeClientData(SWIGTYPE_p_wxSizer
, obj
);
37063 return Py_BuildValue((char *)"");
37065 static PyObject
*_wrap_new_PySizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37066 PyObject
*resultobj
;
37068 char *kwnames
[] = {
37072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PySizer",kwnames
)) goto fail
;
37074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37075 result
= (wxPySizer
*)new wxPySizer();
37077 wxPyEndAllowThreads(__tstate
);
37078 if (PyErr_Occurred()) SWIG_fail
;
37080 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPySizer
, 1);
37087 static PyObject
*_wrap_PySizer__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37088 PyObject
*resultobj
;
37089 wxPySizer
*arg1
= (wxPySizer
*) 0 ;
37090 PyObject
*arg2
= (PyObject
*) 0 ;
37091 PyObject
*arg3
= (PyObject
*) 0 ;
37092 PyObject
* obj0
= 0 ;
37093 PyObject
* obj1
= 0 ;
37094 PyObject
* obj2
= 0 ;
37095 char *kwnames
[] = {
37096 (char *) "self",(char *) "self",(char *) "_class", NULL
37099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PySizer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37100 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPySizer
,
37101 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37106 (arg1
)->_setCallbackInfo(arg2
,arg3
);
37108 wxPyEndAllowThreads(__tstate
);
37109 if (PyErr_Occurred()) SWIG_fail
;
37111 Py_INCREF(Py_None
); resultobj
= Py_None
;
37118 static PyObject
* PySizer_swigregister(PyObject
*, PyObject
*args
) {
37120 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37121 SWIG_TypeClientData(SWIGTYPE_p_wxPySizer
, obj
);
37123 return Py_BuildValue((char *)"");
37125 static PyObject
*_wrap_new_BoxSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37126 PyObject
*resultobj
;
37127 int arg1
= (int) wxHORIZONTAL
;
37128 wxBoxSizer
*result
;
37129 PyObject
* obj0
= 0 ;
37130 char *kwnames
[] = {
37131 (char *) "orient", NULL
37134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BoxSizer",kwnames
,&obj0
)) goto fail
;
37136 arg1
= (int)SWIG_As_int(obj0
);
37137 if (PyErr_Occurred()) SWIG_fail
;
37140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37141 result
= (wxBoxSizer
*)new wxBoxSizer(arg1
);
37143 wxPyEndAllowThreads(__tstate
);
37144 if (PyErr_Occurred()) SWIG_fail
;
37146 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBoxSizer
, 1);
37153 static PyObject
*_wrap_BoxSizer_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37154 PyObject
*resultobj
;
37155 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
37157 PyObject
* obj0
= 0 ;
37158 char *kwnames
[] = {
37159 (char *) "self", NULL
37162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BoxSizer_GetOrientation",kwnames
,&obj0
)) goto fail
;
37163 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBoxSizer
,
37164 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37167 result
= (int)(arg1
)->GetOrientation();
37169 wxPyEndAllowThreads(__tstate
);
37170 if (PyErr_Occurred()) SWIG_fail
;
37172 resultobj
= SWIG_From_int((int)result
);
37179 static PyObject
*_wrap_BoxSizer_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37180 PyObject
*resultobj
;
37181 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
37183 PyObject
* obj0
= 0 ;
37184 PyObject
* obj1
= 0 ;
37185 char *kwnames
[] = {
37186 (char *) "self",(char *) "orient", NULL
37189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BoxSizer_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
37190 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBoxSizer
,
37191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37192 arg2
= (int)SWIG_As_int(obj1
);
37193 if (PyErr_Occurred()) SWIG_fail
;
37195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37196 (arg1
)->SetOrientation(arg2
);
37198 wxPyEndAllowThreads(__tstate
);
37199 if (PyErr_Occurred()) SWIG_fail
;
37201 Py_INCREF(Py_None
); resultobj
= Py_None
;
37208 static PyObject
* BoxSizer_swigregister(PyObject
*, PyObject
*args
) {
37210 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37211 SWIG_TypeClientData(SWIGTYPE_p_wxBoxSizer
, obj
);
37213 return Py_BuildValue((char *)"");
37215 static PyObject
*_wrap_new_StaticBoxSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37216 PyObject
*resultobj
;
37217 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
37218 int arg2
= (int) wxHORIZONTAL
;
37219 wxStaticBoxSizer
*result
;
37220 PyObject
* obj0
= 0 ;
37221 PyObject
* obj1
= 0 ;
37222 char *kwnames
[] = {
37223 (char *) "box",(char *) "orient", NULL
37226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_StaticBoxSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
37227 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBox
,
37228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37230 arg2
= (int)SWIG_As_int(obj1
);
37231 if (PyErr_Occurred()) SWIG_fail
;
37234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37235 result
= (wxStaticBoxSizer
*)new wxStaticBoxSizer(arg1
,arg2
);
37237 wxPyEndAllowThreads(__tstate
);
37238 if (PyErr_Occurred()) SWIG_fail
;
37240 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBoxSizer
, 1);
37247 static PyObject
*_wrap_StaticBoxSizer_GetStaticBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37248 PyObject
*resultobj
;
37249 wxStaticBoxSizer
*arg1
= (wxStaticBoxSizer
*) 0 ;
37250 wxStaticBox
*result
;
37251 PyObject
* obj0
= 0 ;
37252 char *kwnames
[] = {
37253 (char *) "self", NULL
37256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBoxSizer_GetStaticBox",kwnames
,&obj0
)) goto fail
;
37257 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBoxSizer
,
37258 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37261 result
= (wxStaticBox
*)(arg1
)->GetStaticBox();
37263 wxPyEndAllowThreads(__tstate
);
37264 if (PyErr_Occurred()) SWIG_fail
;
37267 resultobj
= wxPyMake_wxObject(result
, 0);
37275 static PyObject
* StaticBoxSizer_swigregister(PyObject
*, PyObject
*args
) {
37277 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37278 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBoxSizer
, obj
);
37280 return Py_BuildValue((char *)"");
37282 static PyObject
*_wrap_new_GridSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37283 PyObject
*resultobj
;
37284 int arg1
= (int) 1 ;
37285 int arg2
= (int) 0 ;
37286 int arg3
= (int) 0 ;
37287 int arg4
= (int) 0 ;
37288 wxGridSizer
*result
;
37289 PyObject
* obj0
= 0 ;
37290 PyObject
* obj1
= 0 ;
37291 PyObject
* obj2
= 0 ;
37292 PyObject
* obj3
= 0 ;
37293 char *kwnames
[] = {
37294 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
37297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_GridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
37299 arg1
= (int)SWIG_As_int(obj0
);
37300 if (PyErr_Occurred()) SWIG_fail
;
37303 arg2
= (int)SWIG_As_int(obj1
);
37304 if (PyErr_Occurred()) SWIG_fail
;
37307 arg3
= (int)SWIG_As_int(obj2
);
37308 if (PyErr_Occurred()) SWIG_fail
;
37311 arg4
= (int)SWIG_As_int(obj3
);
37312 if (PyErr_Occurred()) SWIG_fail
;
37315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37316 result
= (wxGridSizer
*)new wxGridSizer(arg1
,arg2
,arg3
,arg4
);
37318 wxPyEndAllowThreads(__tstate
);
37319 if (PyErr_Occurred()) SWIG_fail
;
37321 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridSizer
, 1);
37328 static PyObject
*_wrap_GridSizer_SetCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37329 PyObject
*resultobj
;
37330 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
37332 PyObject
* obj0
= 0 ;
37333 PyObject
* obj1
= 0 ;
37334 char *kwnames
[] = {
37335 (char *) "self",(char *) "cols", NULL
37338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetCols",kwnames
,&obj0
,&obj1
)) goto fail
;
37339 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
37340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37341 arg2
= (int)SWIG_As_int(obj1
);
37342 if (PyErr_Occurred()) SWIG_fail
;
37344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37345 (arg1
)->SetCols(arg2
);
37347 wxPyEndAllowThreads(__tstate
);
37348 if (PyErr_Occurred()) SWIG_fail
;
37350 Py_INCREF(Py_None
); resultobj
= Py_None
;
37357 static PyObject
*_wrap_GridSizer_SetRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37358 PyObject
*resultobj
;
37359 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
37361 PyObject
* obj0
= 0 ;
37362 PyObject
* obj1
= 0 ;
37363 char *kwnames
[] = {
37364 (char *) "self",(char *) "rows", NULL
37367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
;
37368 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
37369 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37370 arg2
= (int)SWIG_As_int(obj1
);
37371 if (PyErr_Occurred()) SWIG_fail
;
37373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37374 (arg1
)->SetRows(arg2
);
37376 wxPyEndAllowThreads(__tstate
);
37377 if (PyErr_Occurred()) SWIG_fail
;
37379 Py_INCREF(Py_None
); resultobj
= Py_None
;
37386 static PyObject
*_wrap_GridSizer_SetVGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37387 PyObject
*resultobj
;
37388 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
37390 PyObject
* obj0
= 0 ;
37391 PyObject
* obj1
= 0 ;
37392 char *kwnames
[] = {
37393 (char *) "self",(char *) "gap", NULL
37396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetVGap",kwnames
,&obj0
,&obj1
)) goto fail
;
37397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
37398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37399 arg2
= (int)SWIG_As_int(obj1
);
37400 if (PyErr_Occurred()) SWIG_fail
;
37402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37403 (arg1
)->SetVGap(arg2
);
37405 wxPyEndAllowThreads(__tstate
);
37406 if (PyErr_Occurred()) SWIG_fail
;
37408 Py_INCREF(Py_None
); resultobj
= Py_None
;
37415 static PyObject
*_wrap_GridSizer_SetHGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37416 PyObject
*resultobj
;
37417 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
37419 PyObject
* obj0
= 0 ;
37420 PyObject
* obj1
= 0 ;
37421 char *kwnames
[] = {
37422 (char *) "self",(char *) "gap", NULL
37425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetHGap",kwnames
,&obj0
,&obj1
)) goto fail
;
37426 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
37427 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37428 arg2
= (int)SWIG_As_int(obj1
);
37429 if (PyErr_Occurred()) SWIG_fail
;
37431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37432 (arg1
)->SetHGap(arg2
);
37434 wxPyEndAllowThreads(__tstate
);
37435 if (PyErr_Occurred()) SWIG_fail
;
37437 Py_INCREF(Py_None
); resultobj
= Py_None
;
37444 static PyObject
*_wrap_GridSizer_GetCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37445 PyObject
*resultobj
;
37446 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
37448 PyObject
* obj0
= 0 ;
37449 char *kwnames
[] = {
37450 (char *) "self", NULL
37453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetCols",kwnames
,&obj0
)) goto fail
;
37454 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
37455 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37458 result
= (int)(arg1
)->GetCols();
37460 wxPyEndAllowThreads(__tstate
);
37461 if (PyErr_Occurred()) SWIG_fail
;
37463 resultobj
= SWIG_From_int((int)result
);
37470 static PyObject
*_wrap_GridSizer_GetRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37471 PyObject
*resultobj
;
37472 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
37474 PyObject
* obj0
= 0 ;
37475 char *kwnames
[] = {
37476 (char *) "self", NULL
37479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetRows",kwnames
,&obj0
)) goto fail
;
37480 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
37481 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37484 result
= (int)(arg1
)->GetRows();
37486 wxPyEndAllowThreads(__tstate
);
37487 if (PyErr_Occurred()) SWIG_fail
;
37489 resultobj
= SWIG_From_int((int)result
);
37496 static PyObject
*_wrap_GridSizer_GetVGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37497 PyObject
*resultobj
;
37498 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
37500 PyObject
* obj0
= 0 ;
37501 char *kwnames
[] = {
37502 (char *) "self", NULL
37505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetVGap",kwnames
,&obj0
)) goto fail
;
37506 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
37507 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37510 result
= (int)(arg1
)->GetVGap();
37512 wxPyEndAllowThreads(__tstate
);
37513 if (PyErr_Occurred()) SWIG_fail
;
37515 resultobj
= SWIG_From_int((int)result
);
37522 static PyObject
*_wrap_GridSizer_GetHGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37523 PyObject
*resultobj
;
37524 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
37526 PyObject
* obj0
= 0 ;
37527 char *kwnames
[] = {
37528 (char *) "self", NULL
37531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetHGap",kwnames
,&obj0
)) goto fail
;
37532 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
37533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37536 result
= (int)(arg1
)->GetHGap();
37538 wxPyEndAllowThreads(__tstate
);
37539 if (PyErr_Occurred()) SWIG_fail
;
37541 resultobj
= SWIG_From_int((int)result
);
37548 static PyObject
* GridSizer_swigregister(PyObject
*, PyObject
*args
) {
37550 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37551 SWIG_TypeClientData(SWIGTYPE_p_wxGridSizer
, obj
);
37553 return Py_BuildValue((char *)"");
37555 static PyObject
*_wrap_new_FlexGridSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37556 PyObject
*resultobj
;
37557 int arg1
= (int) 1 ;
37558 int arg2
= (int) 0 ;
37559 int arg3
= (int) 0 ;
37560 int arg4
= (int) 0 ;
37561 wxFlexGridSizer
*result
;
37562 PyObject
* obj0
= 0 ;
37563 PyObject
* obj1
= 0 ;
37564 PyObject
* obj2
= 0 ;
37565 PyObject
* obj3
= 0 ;
37566 char *kwnames
[] = {
37567 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
37570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_FlexGridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
37572 arg1
= (int)SWIG_As_int(obj0
);
37573 if (PyErr_Occurred()) SWIG_fail
;
37576 arg2
= (int)SWIG_As_int(obj1
);
37577 if (PyErr_Occurred()) SWIG_fail
;
37580 arg3
= (int)SWIG_As_int(obj2
);
37581 if (PyErr_Occurred()) SWIG_fail
;
37584 arg4
= (int)SWIG_As_int(obj3
);
37585 if (PyErr_Occurred()) SWIG_fail
;
37588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37589 result
= (wxFlexGridSizer
*)new wxFlexGridSizer(arg1
,arg2
,arg3
,arg4
);
37591 wxPyEndAllowThreads(__tstate
);
37592 if (PyErr_Occurred()) SWIG_fail
;
37594 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFlexGridSizer
, 1);
37601 static PyObject
*_wrap_FlexGridSizer_AddGrowableRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37602 PyObject
*resultobj
;
37603 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
37605 int arg3
= (int) 0 ;
37606 PyObject
* obj0
= 0 ;
37607 PyObject
* obj1
= 0 ;
37608 PyObject
* obj2
= 0 ;
37609 char *kwnames
[] = {
37610 (char *) "self",(char *) "idx",(char *) "proportion", NULL
37613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableRow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
37615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37616 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
37617 if (PyErr_Occurred()) SWIG_fail
;
37619 arg3
= (int)SWIG_As_int(obj2
);
37620 if (PyErr_Occurred()) SWIG_fail
;
37623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37624 (arg1
)->AddGrowableRow(arg2
,arg3
);
37626 wxPyEndAllowThreads(__tstate
);
37627 if (PyErr_Occurred()) SWIG_fail
;
37629 Py_INCREF(Py_None
); resultobj
= Py_None
;
37636 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37637 PyObject
*resultobj
;
37638 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
37640 PyObject
* obj0
= 0 ;
37641 PyObject
* obj1
= 0 ;
37642 char *kwnames
[] = {
37643 (char *) "self",(char *) "idx", NULL
37646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableRow",kwnames
,&obj0
,&obj1
)) goto fail
;
37647 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
37648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37649 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
37650 if (PyErr_Occurred()) SWIG_fail
;
37652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37653 (arg1
)->RemoveGrowableRow(arg2
);
37655 wxPyEndAllowThreads(__tstate
);
37656 if (PyErr_Occurred()) SWIG_fail
;
37658 Py_INCREF(Py_None
); resultobj
= Py_None
;
37665 static PyObject
*_wrap_FlexGridSizer_AddGrowableCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37666 PyObject
*resultobj
;
37667 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
37669 int arg3
= (int) 0 ;
37670 PyObject
* obj0
= 0 ;
37671 PyObject
* obj1
= 0 ;
37672 PyObject
* obj2
= 0 ;
37673 char *kwnames
[] = {
37674 (char *) "self",(char *) "idx",(char *) "proportion", NULL
37677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableCol",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37678 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
37679 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37680 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
37681 if (PyErr_Occurred()) SWIG_fail
;
37683 arg3
= (int)SWIG_As_int(obj2
);
37684 if (PyErr_Occurred()) SWIG_fail
;
37687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37688 (arg1
)->AddGrowableCol(arg2
,arg3
);
37690 wxPyEndAllowThreads(__tstate
);
37691 if (PyErr_Occurred()) SWIG_fail
;
37693 Py_INCREF(Py_None
); resultobj
= Py_None
;
37700 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37701 PyObject
*resultobj
;
37702 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
37704 PyObject
* obj0
= 0 ;
37705 PyObject
* obj1
= 0 ;
37706 char *kwnames
[] = {
37707 (char *) "self",(char *) "idx", NULL
37710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableCol",kwnames
,&obj0
,&obj1
)) goto fail
;
37711 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
37712 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37713 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
37714 if (PyErr_Occurred()) SWIG_fail
;
37716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37717 (arg1
)->RemoveGrowableCol(arg2
);
37719 wxPyEndAllowThreads(__tstate
);
37720 if (PyErr_Occurred()) SWIG_fail
;
37722 Py_INCREF(Py_None
); resultobj
= Py_None
;
37729 static PyObject
*_wrap_FlexGridSizer_SetFlexibleDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37730 PyObject
*resultobj
;
37731 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
37733 PyObject
* obj0
= 0 ;
37734 PyObject
* obj1
= 0 ;
37735 char *kwnames
[] = {
37736 (char *) "self",(char *) "direction", NULL
37739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetFlexibleDirection",kwnames
,&obj0
,&obj1
)) goto fail
;
37740 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
37741 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37742 arg2
= (int)SWIG_As_int(obj1
);
37743 if (PyErr_Occurred()) SWIG_fail
;
37745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37746 (arg1
)->SetFlexibleDirection(arg2
);
37748 wxPyEndAllowThreads(__tstate
);
37749 if (PyErr_Occurred()) SWIG_fail
;
37751 Py_INCREF(Py_None
); resultobj
= Py_None
;
37758 static PyObject
*_wrap_FlexGridSizer_GetFlexibleDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37759 PyObject
*resultobj
;
37760 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
37762 PyObject
* obj0
= 0 ;
37763 char *kwnames
[] = {
37764 (char *) "self", NULL
37767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetFlexibleDirection",kwnames
,&obj0
)) goto fail
;
37768 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
37769 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37772 result
= (int)(arg1
)->GetFlexibleDirection();
37774 wxPyEndAllowThreads(__tstate
);
37775 if (PyErr_Occurred()) SWIG_fail
;
37777 resultobj
= SWIG_From_int((int)result
);
37784 static PyObject
*_wrap_FlexGridSizer_SetNonFlexibleGrowMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37785 PyObject
*resultobj
;
37786 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
37788 PyObject
* obj0
= 0 ;
37789 PyObject
* obj1
= 0 ;
37790 char *kwnames
[] = {
37791 (char *) "self",(char *) "mode", NULL
37794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetNonFlexibleGrowMode",kwnames
,&obj0
,&obj1
)) goto fail
;
37795 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
37796 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37797 arg2
= (int)SWIG_As_int(obj1
);
37798 if (PyErr_Occurred()) SWIG_fail
;
37800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37801 (arg1
)->SetNonFlexibleGrowMode((wxFlexSizerGrowMode
)arg2
);
37803 wxPyEndAllowThreads(__tstate
);
37804 if (PyErr_Occurred()) SWIG_fail
;
37806 Py_INCREF(Py_None
); resultobj
= Py_None
;
37813 static PyObject
*_wrap_FlexGridSizer_GetNonFlexibleGrowMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37814 PyObject
*resultobj
;
37815 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
37817 PyObject
* obj0
= 0 ;
37818 char *kwnames
[] = {
37819 (char *) "self", NULL
37822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetNonFlexibleGrowMode",kwnames
,&obj0
)) goto fail
;
37823 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
37824 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37827 result
= (int)(arg1
)->GetNonFlexibleGrowMode();
37829 wxPyEndAllowThreads(__tstate
);
37830 if (PyErr_Occurred()) SWIG_fail
;
37832 resultobj
= SWIG_From_int((int)result
);
37839 static PyObject
*_wrap_FlexGridSizer_GetRowHeights(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37840 PyObject
*resultobj
;
37841 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
37842 wxArrayInt
*result
;
37843 PyObject
* obj0
= 0 ;
37844 char *kwnames
[] = {
37845 (char *) "self", NULL
37848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetRowHeights",kwnames
,&obj0
)) goto fail
;
37849 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
37850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37854 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetRowHeights();
37855 result
= (wxArrayInt
*) &_result_ref
;
37858 wxPyEndAllowThreads(__tstate
);
37859 if (PyErr_Occurred()) SWIG_fail
;
37862 resultobj
= PyList_New(0);
37864 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
37865 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
37866 PyList_Append(resultobj
, val
);
37876 static PyObject
*_wrap_FlexGridSizer_GetColWidths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37877 PyObject
*resultobj
;
37878 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
37879 wxArrayInt
*result
;
37880 PyObject
* obj0
= 0 ;
37881 char *kwnames
[] = {
37882 (char *) "self", NULL
37885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetColWidths",kwnames
,&obj0
)) goto fail
;
37886 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
37887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37891 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetColWidths();
37892 result
= (wxArrayInt
*) &_result_ref
;
37895 wxPyEndAllowThreads(__tstate
);
37896 if (PyErr_Occurred()) SWIG_fail
;
37899 resultobj
= PyList_New(0);
37901 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
37902 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
37903 PyList_Append(resultobj
, val
);
37913 static PyObject
* FlexGridSizer_swigregister(PyObject
*, PyObject
*args
) {
37915 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37916 SWIG_TypeClientData(SWIGTYPE_p_wxFlexGridSizer
, obj
);
37918 return Py_BuildValue((char *)"");
37920 static PyObject
*_wrap_new_GBPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37921 PyObject
*resultobj
;
37922 int arg1
= (int) 0 ;
37923 int arg2
= (int) 0 ;
37924 wxGBPosition
*result
;
37925 PyObject
* obj0
= 0 ;
37926 PyObject
* obj1
= 0 ;
37927 char *kwnames
[] = {
37928 (char *) "row",(char *) "col", NULL
37931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
37933 arg1
= (int)SWIG_As_int(obj0
);
37934 if (PyErr_Occurred()) SWIG_fail
;
37937 arg2
= (int)SWIG_As_int(obj1
);
37938 if (PyErr_Occurred()) SWIG_fail
;
37941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37942 result
= (wxGBPosition
*)new wxGBPosition(arg1
,arg2
);
37944 wxPyEndAllowThreads(__tstate
);
37945 if (PyErr_Occurred()) SWIG_fail
;
37947 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBPosition
, 1);
37954 static PyObject
*_wrap_GBPosition_GetRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37955 PyObject
*resultobj
;
37956 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37958 PyObject
* obj0
= 0 ;
37959 char *kwnames
[] = {
37960 (char *) "self", NULL
37963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetRow",kwnames
,&obj0
)) goto fail
;
37964 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37965 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37968 result
= (int)((wxGBPosition
const *)arg1
)->GetRow();
37970 wxPyEndAllowThreads(__tstate
);
37971 if (PyErr_Occurred()) SWIG_fail
;
37973 resultobj
= SWIG_From_int((int)result
);
37980 static PyObject
*_wrap_GBPosition_GetCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37981 PyObject
*resultobj
;
37982 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37984 PyObject
* obj0
= 0 ;
37985 char *kwnames
[] = {
37986 (char *) "self", NULL
37989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetCol",kwnames
,&obj0
)) goto fail
;
37990 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37991 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37994 result
= (int)((wxGBPosition
const *)arg1
)->GetCol();
37996 wxPyEndAllowThreads(__tstate
);
37997 if (PyErr_Occurred()) SWIG_fail
;
37999 resultobj
= SWIG_From_int((int)result
);
38006 static PyObject
*_wrap_GBPosition_SetRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38007 PyObject
*resultobj
;
38008 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
38010 PyObject
* obj0
= 0 ;
38011 PyObject
* obj1
= 0 ;
38012 char *kwnames
[] = {
38013 (char *) "self",(char *) "row", NULL
38016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetRow",kwnames
,&obj0
,&obj1
)) goto fail
;
38017 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
38018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38019 arg2
= (int)SWIG_As_int(obj1
);
38020 if (PyErr_Occurred()) SWIG_fail
;
38022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38023 (arg1
)->SetRow(arg2
);
38025 wxPyEndAllowThreads(__tstate
);
38026 if (PyErr_Occurred()) SWIG_fail
;
38028 Py_INCREF(Py_None
); resultobj
= Py_None
;
38035 static PyObject
*_wrap_GBPosition_SetCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38036 PyObject
*resultobj
;
38037 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
38039 PyObject
* obj0
= 0 ;
38040 PyObject
* obj1
= 0 ;
38041 char *kwnames
[] = {
38042 (char *) "self",(char *) "col", NULL
38045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetCol",kwnames
,&obj0
,&obj1
)) goto fail
;
38046 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
38047 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38048 arg2
= (int)SWIG_As_int(obj1
);
38049 if (PyErr_Occurred()) SWIG_fail
;
38051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38052 (arg1
)->SetCol(arg2
);
38054 wxPyEndAllowThreads(__tstate
);
38055 if (PyErr_Occurred()) SWIG_fail
;
38057 Py_INCREF(Py_None
); resultobj
= Py_None
;
38064 static PyObject
*_wrap_GBPosition___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38065 PyObject
*resultobj
;
38066 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
38067 wxGBPosition
*arg2
= 0 ;
38069 wxGBPosition temp2
;
38070 PyObject
* obj0
= 0 ;
38071 PyObject
* obj1
= 0 ;
38072 char *kwnames
[] = {
38073 (char *) "self",(char *) "other", NULL
38076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
38077 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
38078 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38081 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
38084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38085 result
= (bool)(arg1
)->operator ==((wxGBPosition
const &)*arg2
);
38087 wxPyEndAllowThreads(__tstate
);
38088 if (PyErr_Occurred()) SWIG_fail
;
38091 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38099 static PyObject
*_wrap_GBPosition___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38100 PyObject
*resultobj
;
38101 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
38102 wxGBPosition
*arg2
= 0 ;
38104 wxGBPosition temp2
;
38105 PyObject
* obj0
= 0 ;
38106 PyObject
* obj1
= 0 ;
38107 char *kwnames
[] = {
38108 (char *) "self",(char *) "other", NULL
38111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
38112 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
38113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38116 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
38119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38120 result
= (bool)(arg1
)->operator !=((wxGBPosition
const &)*arg2
);
38122 wxPyEndAllowThreads(__tstate
);
38123 if (PyErr_Occurred()) SWIG_fail
;
38126 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38134 static PyObject
*_wrap_GBPosition_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38135 PyObject
*resultobj
;
38136 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
38137 int arg2
= (int) 0 ;
38138 int arg3
= (int) 0 ;
38139 PyObject
* obj0
= 0 ;
38140 PyObject
* obj1
= 0 ;
38141 PyObject
* obj2
= 0 ;
38142 char *kwnames
[] = {
38143 (char *) "self",(char *) "row",(char *) "col", NULL
38146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBPosition_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38147 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
38148 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38150 arg2
= (int)SWIG_As_int(obj1
);
38151 if (PyErr_Occurred()) SWIG_fail
;
38154 arg3
= (int)SWIG_As_int(obj2
);
38155 if (PyErr_Occurred()) SWIG_fail
;
38158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38159 wxGBPosition_Set(arg1
,arg2
,arg3
);
38161 wxPyEndAllowThreads(__tstate
);
38162 if (PyErr_Occurred()) SWIG_fail
;
38164 Py_INCREF(Py_None
); resultobj
= Py_None
;
38171 static PyObject
*_wrap_GBPosition_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38172 PyObject
*resultobj
;
38173 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
38175 PyObject
* obj0
= 0 ;
38176 char *kwnames
[] = {
38177 (char *) "self", NULL
38180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_Get",kwnames
,&obj0
)) goto fail
;
38181 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
38182 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38185 result
= (PyObject
*)wxGBPosition_Get(arg1
);
38187 wxPyEndAllowThreads(__tstate
);
38188 if (PyErr_Occurred()) SWIG_fail
;
38190 resultobj
= result
;
38197 static PyObject
* GBPosition_swigregister(PyObject
*, PyObject
*args
) {
38199 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
38200 SWIG_TypeClientData(SWIGTYPE_p_wxGBPosition
, obj
);
38202 return Py_BuildValue((char *)"");
38204 static PyObject
*_wrap_new_GBSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38205 PyObject
*resultobj
;
38206 int arg1
= (int) 1 ;
38207 int arg2
= (int) 1 ;
38209 PyObject
* obj0
= 0 ;
38210 PyObject
* obj1
= 0 ;
38211 char *kwnames
[] = {
38212 (char *) "rowspan",(char *) "colspan", NULL
38215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
38217 arg1
= (int)SWIG_As_int(obj0
);
38218 if (PyErr_Occurred()) SWIG_fail
;
38221 arg2
= (int)SWIG_As_int(obj1
);
38222 if (PyErr_Occurred()) SWIG_fail
;
38225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38226 result
= (wxGBSpan
*)new wxGBSpan(arg1
,arg2
);
38228 wxPyEndAllowThreads(__tstate
);
38229 if (PyErr_Occurred()) SWIG_fail
;
38231 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSpan
, 1);
38238 static PyObject
*_wrap_GBSpan_GetRowspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38239 PyObject
*resultobj
;
38240 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
38242 PyObject
* obj0
= 0 ;
38243 char *kwnames
[] = {
38244 (char *) "self", NULL
38247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetRowspan",kwnames
,&obj0
)) goto fail
;
38248 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
38249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38252 result
= (int)((wxGBSpan
const *)arg1
)->GetRowspan();
38254 wxPyEndAllowThreads(__tstate
);
38255 if (PyErr_Occurred()) SWIG_fail
;
38257 resultobj
= SWIG_From_int((int)result
);
38264 static PyObject
*_wrap_GBSpan_GetColspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38265 PyObject
*resultobj
;
38266 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
38268 PyObject
* obj0
= 0 ;
38269 char *kwnames
[] = {
38270 (char *) "self", NULL
38273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetColspan",kwnames
,&obj0
)) goto fail
;
38274 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
38275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38278 result
= (int)((wxGBSpan
const *)arg1
)->GetColspan();
38280 wxPyEndAllowThreads(__tstate
);
38281 if (PyErr_Occurred()) SWIG_fail
;
38283 resultobj
= SWIG_From_int((int)result
);
38290 static PyObject
*_wrap_GBSpan_SetRowspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38291 PyObject
*resultobj
;
38292 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
38294 PyObject
* obj0
= 0 ;
38295 PyObject
* obj1
= 0 ;
38296 char *kwnames
[] = {
38297 (char *) "self",(char *) "rowspan", NULL
38300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetRowspan",kwnames
,&obj0
,&obj1
)) goto fail
;
38301 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
38302 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38303 arg2
= (int)SWIG_As_int(obj1
);
38304 if (PyErr_Occurred()) SWIG_fail
;
38306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38307 (arg1
)->SetRowspan(arg2
);
38309 wxPyEndAllowThreads(__tstate
);
38310 if (PyErr_Occurred()) SWIG_fail
;
38312 Py_INCREF(Py_None
); resultobj
= Py_None
;
38319 static PyObject
*_wrap_GBSpan_SetColspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38320 PyObject
*resultobj
;
38321 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
38323 PyObject
* obj0
= 0 ;
38324 PyObject
* obj1
= 0 ;
38325 char *kwnames
[] = {
38326 (char *) "self",(char *) "colspan", NULL
38329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetColspan",kwnames
,&obj0
,&obj1
)) goto fail
;
38330 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
38331 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38332 arg2
= (int)SWIG_As_int(obj1
);
38333 if (PyErr_Occurred()) SWIG_fail
;
38335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38336 (arg1
)->SetColspan(arg2
);
38338 wxPyEndAllowThreads(__tstate
);
38339 if (PyErr_Occurred()) SWIG_fail
;
38341 Py_INCREF(Py_None
); resultobj
= Py_None
;
38348 static PyObject
*_wrap_GBSpan___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38349 PyObject
*resultobj
;
38350 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
38351 wxGBSpan
*arg2
= 0 ;
38354 PyObject
* obj0
= 0 ;
38355 PyObject
* obj1
= 0 ;
38356 char *kwnames
[] = {
38357 (char *) "self",(char *) "other", NULL
38360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
38361 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
38362 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38365 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
38368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38369 result
= (bool)(arg1
)->operator ==((wxGBSpan
const &)*arg2
);
38371 wxPyEndAllowThreads(__tstate
);
38372 if (PyErr_Occurred()) SWIG_fail
;
38375 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38383 static PyObject
*_wrap_GBSpan___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38384 PyObject
*resultobj
;
38385 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
38386 wxGBSpan
*arg2
= 0 ;
38389 PyObject
* obj0
= 0 ;
38390 PyObject
* obj1
= 0 ;
38391 char *kwnames
[] = {
38392 (char *) "self",(char *) "other", NULL
38395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
38396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
38397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38400 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
38403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38404 result
= (bool)(arg1
)->operator !=((wxGBSpan
const &)*arg2
);
38406 wxPyEndAllowThreads(__tstate
);
38407 if (PyErr_Occurred()) SWIG_fail
;
38410 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38418 static PyObject
*_wrap_GBSpan_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38419 PyObject
*resultobj
;
38420 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
38421 int arg2
= (int) 1 ;
38422 int arg3
= (int) 1 ;
38423 PyObject
* obj0
= 0 ;
38424 PyObject
* obj1
= 0 ;
38425 PyObject
* obj2
= 0 ;
38426 char *kwnames
[] = {
38427 (char *) "self",(char *) "rowspan",(char *) "colspan", NULL
38430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBSpan_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38431 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
38432 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38434 arg2
= (int)SWIG_As_int(obj1
);
38435 if (PyErr_Occurred()) SWIG_fail
;
38438 arg3
= (int)SWIG_As_int(obj2
);
38439 if (PyErr_Occurred()) SWIG_fail
;
38442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38443 wxGBSpan_Set(arg1
,arg2
,arg3
);
38445 wxPyEndAllowThreads(__tstate
);
38446 if (PyErr_Occurred()) SWIG_fail
;
38448 Py_INCREF(Py_None
); resultobj
= Py_None
;
38455 static PyObject
*_wrap_GBSpan_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38456 PyObject
*resultobj
;
38457 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
38459 PyObject
* obj0
= 0 ;
38460 char *kwnames
[] = {
38461 (char *) "self", NULL
38464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_Get",kwnames
,&obj0
)) goto fail
;
38465 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
38466 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38469 result
= (PyObject
*)wxGBSpan_Get(arg1
);
38471 wxPyEndAllowThreads(__tstate
);
38472 if (PyErr_Occurred()) SWIG_fail
;
38474 resultobj
= result
;
38481 static PyObject
* GBSpan_swigregister(PyObject
*, PyObject
*args
) {
38483 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
38484 SWIG_TypeClientData(SWIGTYPE_p_wxGBSpan
, obj
);
38486 return Py_BuildValue((char *)"");
38488 static int _wrap_DefaultSpan_set(PyObject
*) {
38489 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSpan is read-only.");
38494 static PyObject
*_wrap_DefaultSpan_get() {
38497 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultSpan
), SWIGTYPE_p_wxGBSpan
, 0);
38502 static PyObject
*_wrap_new_GBSizerItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38503 PyObject
*resultobj
;
38504 wxGBSizerItem
*result
;
38505 char *kwnames
[] = {
38509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GBSizerItem",kwnames
)) goto fail
;
38511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38512 result
= (wxGBSizerItem
*)new wxGBSizerItem();
38514 wxPyEndAllowThreads(__tstate
);
38515 if (PyErr_Occurred()) SWIG_fail
;
38517 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
38524 static PyObject
*_wrap_new_GBSizerItemWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38525 PyObject
*resultobj
;
38526 wxWindow
*arg1
= (wxWindow
*) 0 ;
38527 wxGBPosition
*arg2
= 0 ;
38528 wxGBSpan
*arg3
= 0 ;
38531 PyObject
*arg6
= (PyObject
*) NULL
;
38532 wxGBSizerItem
*result
;
38533 wxGBPosition temp2
;
38535 PyObject
* obj0
= 0 ;
38536 PyObject
* obj1
= 0 ;
38537 PyObject
* obj2
= 0 ;
38538 PyObject
* obj3
= 0 ;
38539 PyObject
* obj4
= 0 ;
38540 PyObject
* obj5
= 0 ;
38541 char *kwnames
[] = {
38542 (char *) "window",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
38545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_GBSizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
38546 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
38547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38550 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
38554 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
38556 arg4
= (int)SWIG_As_int(obj3
);
38557 if (PyErr_Occurred()) SWIG_fail
;
38558 arg5
= (int)SWIG_As_int(obj4
);
38559 if (PyErr_Occurred()) SWIG_fail
;
38564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38565 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
38567 wxPyEndAllowThreads(__tstate
);
38568 if (PyErr_Occurred()) SWIG_fail
;
38570 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
38577 static PyObject
*_wrap_new_GBSizerItemSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38578 PyObject
*resultobj
;
38579 wxSizer
*arg1
= (wxSizer
*) 0 ;
38580 wxGBPosition
*arg2
= 0 ;
38581 wxGBSpan
*arg3
= 0 ;
38584 PyObject
*arg6
= (PyObject
*) NULL
;
38585 wxGBSizerItem
*result
;
38586 wxGBPosition temp2
;
38588 PyObject
* obj0
= 0 ;
38589 PyObject
* obj1
= 0 ;
38590 PyObject
* obj2
= 0 ;
38591 PyObject
* obj3
= 0 ;
38592 PyObject
* obj4
= 0 ;
38593 PyObject
* obj5
= 0 ;
38594 char *kwnames
[] = {
38595 (char *) "sizer",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
38598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_GBSizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
38599 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
38600 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38603 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
38607 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
38609 arg4
= (int)SWIG_As_int(obj3
);
38610 if (PyErr_Occurred()) SWIG_fail
;
38611 arg5
= (int)SWIG_As_int(obj4
);
38612 if (PyErr_Occurred()) SWIG_fail
;
38617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38618 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
38620 wxPyEndAllowThreads(__tstate
);
38621 if (PyErr_Occurred()) SWIG_fail
;
38623 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
38630 static PyObject
*_wrap_new_GBSizerItemSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38631 PyObject
*resultobj
;
38634 wxGBPosition
*arg3
= 0 ;
38635 wxGBSpan
*arg4
= 0 ;
38638 PyObject
*arg7
= (PyObject
*) NULL
;
38639 wxGBSizerItem
*result
;
38640 wxGBPosition temp3
;
38642 PyObject
* obj0
= 0 ;
38643 PyObject
* obj1
= 0 ;
38644 PyObject
* obj2
= 0 ;
38645 PyObject
* obj3
= 0 ;
38646 PyObject
* obj4
= 0 ;
38647 PyObject
* obj5
= 0 ;
38648 PyObject
* obj6
= 0 ;
38649 char *kwnames
[] = {
38650 (char *) "width",(char *) "height",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
38653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:new_GBSizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
38654 arg1
= (int)SWIG_As_int(obj0
);
38655 if (PyErr_Occurred()) SWIG_fail
;
38656 arg2
= (int)SWIG_As_int(obj1
);
38657 if (PyErr_Occurred()) SWIG_fail
;
38660 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
38664 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
38666 arg5
= (int)SWIG_As_int(obj4
);
38667 if (PyErr_Occurred()) SWIG_fail
;
38668 arg6
= (int)SWIG_As_int(obj5
);
38669 if (PyErr_Occurred()) SWIG_fail
;
38674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38675 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
38677 wxPyEndAllowThreads(__tstate
);
38678 if (PyErr_Occurred()) SWIG_fail
;
38680 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
38687 static PyObject
*_wrap_GBSizerItem_GetPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38688 PyObject
*resultobj
;
38689 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
38690 wxGBPosition result
;
38691 PyObject
* obj0
= 0 ;
38692 char *kwnames
[] = {
38693 (char *) "self", NULL
38696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetPos",kwnames
,&obj0
)) goto fail
;
38697 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
38698 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38701 result
= ((wxGBSizerItem
const *)arg1
)->GetPos();
38703 wxPyEndAllowThreads(__tstate
);
38704 if (PyErr_Occurred()) SWIG_fail
;
38707 wxGBPosition
* resultptr
;
38708 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
38709 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
38717 static PyObject
*_wrap_GBSizerItem_GetSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38718 PyObject
*resultobj
;
38719 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
38721 PyObject
* obj0
= 0 ;
38722 char *kwnames
[] = {
38723 (char *) "self", NULL
38726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetSpan",kwnames
,&obj0
)) goto fail
;
38727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
38728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38731 result
= ((wxGBSizerItem
const *)arg1
)->GetSpan();
38733 wxPyEndAllowThreads(__tstate
);
38734 if (PyErr_Occurred()) SWIG_fail
;
38737 wxGBSpan
* resultptr
;
38738 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
38739 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
38747 static PyObject
*_wrap_GBSizerItem_SetPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38748 PyObject
*resultobj
;
38749 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
38750 wxGBPosition
*arg2
= 0 ;
38752 wxGBPosition temp2
;
38753 PyObject
* obj0
= 0 ;
38754 PyObject
* obj1
= 0 ;
38755 char *kwnames
[] = {
38756 (char *) "self",(char *) "pos", NULL
38759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetPos",kwnames
,&obj0
,&obj1
)) goto fail
;
38760 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
38761 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38764 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
38767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38768 result
= (bool)(arg1
)->SetPos((wxGBPosition
const &)*arg2
);
38770 wxPyEndAllowThreads(__tstate
);
38771 if (PyErr_Occurred()) SWIG_fail
;
38774 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38782 static PyObject
*_wrap_GBSizerItem_SetSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38783 PyObject
*resultobj
;
38784 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
38785 wxGBSpan
*arg2
= 0 ;
38788 PyObject
* obj0
= 0 ;
38789 PyObject
* obj1
= 0 ;
38790 char *kwnames
[] = {
38791 (char *) "self",(char *) "span", NULL
38794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
38795 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
38796 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38799 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
38802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38803 result
= (bool)(arg1
)->SetSpan((wxGBSpan
const &)*arg2
);
38805 wxPyEndAllowThreads(__tstate
);
38806 if (PyErr_Occurred()) SWIG_fail
;
38809 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38817 static PyObject
*_wrap_GBSizerItem_Intersects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38818 PyObject
*resultobj
;
38819 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
38820 wxGBSizerItem
*arg2
= 0 ;
38822 PyObject
* obj0
= 0 ;
38823 PyObject
* obj1
= 0 ;
38824 char *kwnames
[] = {
38825 (char *) "self",(char *) "other", NULL
38828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_Intersects",kwnames
,&obj0
,&obj1
)) goto fail
;
38829 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
38830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38831 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGBSizerItem
,
38832 SWIG_POINTER_EXCEPTION
| 0)) == -1)
38834 if (arg2
== NULL
) {
38835 PyErr_SetString(PyExc_TypeError
,"null reference");
38839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38840 result
= (bool)(arg1
)->Intersects((wxGBSizerItem
const &)*arg2
);
38842 wxPyEndAllowThreads(__tstate
);
38843 if (PyErr_Occurred()) SWIG_fail
;
38846 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38854 static PyObject
*_wrap_GBSizerItem_IntersectsPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38855 PyObject
*resultobj
;
38856 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
38857 wxGBPosition
*arg2
= 0 ;
38858 wxGBSpan
*arg3
= 0 ;
38860 wxGBPosition temp2
;
38862 PyObject
* obj0
= 0 ;
38863 PyObject
* obj1
= 0 ;
38864 PyObject
* obj2
= 0 ;
38865 char *kwnames
[] = {
38866 (char *) "self",(char *) "pos",(char *) "span", NULL
38869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GBSizerItem_IntersectsPos",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38870 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
38871 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38874 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
38878 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
38881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38882 result
= (bool)(arg1
)->Intersects((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
);
38884 wxPyEndAllowThreads(__tstate
);
38885 if (PyErr_Occurred()) SWIG_fail
;
38888 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38896 static PyObject
*_wrap_GBSizerItem_GetEndPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38897 PyObject
*resultobj
;
38898 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
38899 wxGBPosition result
;
38900 PyObject
* obj0
= 0 ;
38901 char *kwnames
[] = {
38902 (char *) "self", NULL
38905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetEndPos",kwnames
,&obj0
)) goto fail
;
38906 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
38907 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38910 result
= wxGBSizerItem_GetEndPos(arg1
);
38912 wxPyEndAllowThreads(__tstate
);
38913 if (PyErr_Occurred()) SWIG_fail
;
38916 wxGBPosition
* resultptr
;
38917 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
38918 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
38926 static PyObject
*_wrap_GBSizerItem_GetGBSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38927 PyObject
*resultobj
;
38928 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
38929 wxGridBagSizer
*result
;
38930 PyObject
* obj0
= 0 ;
38931 char *kwnames
[] = {
38932 (char *) "self", NULL
38935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetGBSizer",kwnames
,&obj0
)) goto fail
;
38936 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
38937 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38940 result
= (wxGridBagSizer
*)((wxGBSizerItem
const *)arg1
)->GetGBSizer();
38942 wxPyEndAllowThreads(__tstate
);
38943 if (PyErr_Occurred()) SWIG_fail
;
38945 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridBagSizer
, 0);
38952 static PyObject
*_wrap_GBSizerItem_SetGBSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38953 PyObject
*resultobj
;
38954 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
38955 wxGridBagSizer
*arg2
= (wxGridBagSizer
*) 0 ;
38956 PyObject
* obj0
= 0 ;
38957 PyObject
* obj1
= 0 ;
38958 char *kwnames
[] = {
38959 (char *) "self",(char *) "sizer", NULL
38962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetGBSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
38963 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
38964 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38965 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridBagSizer
,
38966 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38969 (arg1
)->SetGBSizer(arg2
);
38971 wxPyEndAllowThreads(__tstate
);
38972 if (PyErr_Occurred()) SWIG_fail
;
38974 Py_INCREF(Py_None
); resultobj
= Py_None
;
38981 static PyObject
* GBSizerItem_swigregister(PyObject
*, PyObject
*args
) {
38983 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
38984 SWIG_TypeClientData(SWIGTYPE_p_wxGBSizerItem
, obj
);
38986 return Py_BuildValue((char *)"");
38988 static PyObject
*_wrap_new_GridBagSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38989 PyObject
*resultobj
;
38990 int arg1
= (int) 0 ;
38991 int arg2
= (int) 0 ;
38992 wxGridBagSizer
*result
;
38993 PyObject
* obj0
= 0 ;
38994 PyObject
* obj1
= 0 ;
38995 char *kwnames
[] = {
38996 (char *) "vgap",(char *) "hgap", NULL
38999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridBagSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
39001 arg1
= (int)SWIG_As_int(obj0
);
39002 if (PyErr_Occurred()) SWIG_fail
;
39005 arg2
= (int)SWIG_As_int(obj1
);
39006 if (PyErr_Occurred()) SWIG_fail
;
39009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39010 result
= (wxGridBagSizer
*)new wxGridBagSizer(arg1
,arg2
);
39012 wxPyEndAllowThreads(__tstate
);
39013 if (PyErr_Occurred()) SWIG_fail
;
39015 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridBagSizer
, 1);
39022 static PyObject
*_wrap_GridBagSizer_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39023 PyObject
*resultobj
;
39024 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39025 PyObject
*arg2
= (PyObject
*) 0 ;
39026 wxGBPosition
*arg3
= 0 ;
39027 wxGBSpan
const &arg4_defvalue
= wxDefaultSpan
;
39028 wxGBSpan
*arg4
= (wxGBSpan
*) &arg4_defvalue
;
39029 int arg5
= (int) 0 ;
39030 int arg6
= (int) 0 ;
39031 PyObject
*arg7
= (PyObject
*) NULL
;
39032 wxGBSizerItem
*result
;
39033 wxGBPosition temp3
;
39035 PyObject
* obj0
= 0 ;
39036 PyObject
* obj1
= 0 ;
39037 PyObject
* obj2
= 0 ;
39038 PyObject
* obj3
= 0 ;
39039 PyObject
* obj4
= 0 ;
39040 PyObject
* obj5
= 0 ;
39041 PyObject
* obj6
= 0 ;
39042 char *kwnames
[] = {
39043 (char *) "self",(char *) "item",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
39046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:GridBagSizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
39047 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39048 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39052 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
39057 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
39061 arg5
= (int)SWIG_As_int(obj4
);
39062 if (PyErr_Occurred()) SWIG_fail
;
39065 arg6
= (int)SWIG_As_int(obj5
);
39066 if (PyErr_Occurred()) SWIG_fail
;
39072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39073 result
= (wxGBSizerItem
*)wxGridBagSizer_Add(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
39075 wxPyEndAllowThreads(__tstate
);
39076 if (PyErr_Occurred()) SWIG_fail
;
39078 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
39085 static PyObject
*_wrap_GridBagSizer_AddItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39086 PyObject
*resultobj
;
39087 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39088 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
39089 wxGBSizerItem
*result
;
39090 PyObject
* obj0
= 0 ;
39091 PyObject
* obj1
= 0 ;
39092 char *kwnames
[] = {
39093 (char *) "self",(char *) "item", NULL
39096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
39097 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39098 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39099 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGBSizerItem
,
39100 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39103 result
= (wxGBSizerItem
*)(arg1
)->Add(arg2
);
39105 wxPyEndAllowThreads(__tstate
);
39106 if (PyErr_Occurred()) SWIG_fail
;
39108 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
39115 static PyObject
*_wrap_GridBagSizer_GetCellSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39116 PyObject
*resultobj
;
39117 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39121 PyObject
* obj0
= 0 ;
39122 PyObject
* obj1
= 0 ;
39123 PyObject
* obj2
= 0 ;
39124 char *kwnames
[] = {
39125 (char *) "self",(char *) "row",(char *) "col", NULL
39128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridBagSizer_GetCellSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39129 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39131 arg2
= (int)SWIG_As_int(obj1
);
39132 if (PyErr_Occurred()) SWIG_fail
;
39133 arg3
= (int)SWIG_As_int(obj2
);
39134 if (PyErr_Occurred()) SWIG_fail
;
39136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39137 result
= ((wxGridBagSizer
const *)arg1
)->GetCellSize(arg2
,arg3
);
39139 wxPyEndAllowThreads(__tstate
);
39140 if (PyErr_Occurred()) SWIG_fail
;
39143 wxSize
* resultptr
;
39144 resultptr
= new wxSize((wxSize
&) result
);
39145 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
39153 static PyObject
*_wrap_GridBagSizer_GetEmptyCellSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39154 PyObject
*resultobj
;
39155 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39157 PyObject
* obj0
= 0 ;
39158 char *kwnames
[] = {
39159 (char *) "self", NULL
39162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridBagSizer_GetEmptyCellSize",kwnames
,&obj0
)) goto fail
;
39163 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39164 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39167 result
= ((wxGridBagSizer
const *)arg1
)->GetEmptyCellSize();
39169 wxPyEndAllowThreads(__tstate
);
39170 if (PyErr_Occurred()) SWIG_fail
;
39173 wxSize
* resultptr
;
39174 resultptr
= new wxSize((wxSize
&) result
);
39175 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
39183 static PyObject
*_wrap_GridBagSizer_SetEmptyCellSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39184 PyObject
*resultobj
;
39185 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39188 PyObject
* obj0
= 0 ;
39189 PyObject
* obj1
= 0 ;
39190 char *kwnames
[] = {
39191 (char *) "self",(char *) "sz", NULL
39194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_SetEmptyCellSize",kwnames
,&obj0
,&obj1
)) goto fail
;
39195 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39199 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
39202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39203 (arg1
)->SetEmptyCellSize((wxSize
const &)*arg2
);
39205 wxPyEndAllowThreads(__tstate
);
39206 if (PyErr_Occurred()) SWIG_fail
;
39208 Py_INCREF(Py_None
); resultobj
= Py_None
;
39215 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_0(PyObject
*, PyObject
*args
) {
39216 PyObject
*resultobj
;
39217 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39218 wxWindow
*arg2
= (wxWindow
*) 0 ;
39219 wxGBPosition result
;
39220 PyObject
* obj0
= 0 ;
39221 PyObject
* obj1
= 0 ;
39223 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
39224 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39226 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39227 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39230 result
= (arg1
)->GetItemPosition(arg2
);
39232 wxPyEndAllowThreads(__tstate
);
39233 if (PyErr_Occurred()) SWIG_fail
;
39236 wxGBPosition
* resultptr
;
39237 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
39238 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
39246 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_1(PyObject
*, PyObject
*args
) {
39247 PyObject
*resultobj
;
39248 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39249 wxSizer
*arg2
= (wxSizer
*) 0 ;
39250 wxGBPosition result
;
39251 PyObject
* obj0
= 0 ;
39252 PyObject
* obj1
= 0 ;
39254 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
39255 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39256 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39257 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
39258 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39261 result
= (arg1
)->GetItemPosition(arg2
);
39263 wxPyEndAllowThreads(__tstate
);
39264 if (PyErr_Occurred()) SWIG_fail
;
39267 wxGBPosition
* resultptr
;
39268 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
39269 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
39277 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_2(PyObject
*, PyObject
*args
) {
39278 PyObject
*resultobj
;
39279 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39281 wxGBPosition result
;
39282 PyObject
* obj0
= 0 ;
39283 PyObject
* obj1
= 0 ;
39285 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
39286 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39288 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
39289 if (PyErr_Occurred()) SWIG_fail
;
39291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39292 result
= (arg1
)->GetItemPosition(arg2
);
39294 wxPyEndAllowThreads(__tstate
);
39295 if (PyErr_Occurred()) SWIG_fail
;
39298 wxGBPosition
* resultptr
;
39299 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
39300 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
39308 static PyObject
*_wrap_GridBagSizer_GetItemPosition(PyObject
*self
, PyObject
*args
) {
39313 argc
= PyObject_Length(args
);
39314 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
39315 argv
[ii
] = PyTuple_GetItem(args
,ii
);
39321 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39331 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
39339 return _wrap_GridBagSizer_GetItemPosition__SWIG_0(self
,args
);
39347 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39357 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
39365 return _wrap_GridBagSizer_GetItemPosition__SWIG_1(self
,args
);
39373 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39381 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
39383 return _wrap_GridBagSizer_GetItemPosition__SWIG_2(self
,args
);
39388 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_GetItemPosition'");
39393 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_0(PyObject
*, PyObject
*args
) {
39394 PyObject
*resultobj
;
39395 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39396 wxWindow
*arg2
= (wxWindow
*) 0 ;
39397 wxGBPosition
*arg3
= 0 ;
39399 wxGBPosition temp3
;
39400 PyObject
* obj0
= 0 ;
39401 PyObject
* obj1
= 0 ;
39402 PyObject
* obj2
= 0 ;
39404 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
39405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39407 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39408 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39411 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
39414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39415 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
39417 wxPyEndAllowThreads(__tstate
);
39418 if (PyErr_Occurred()) SWIG_fail
;
39421 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39429 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_1(PyObject
*, PyObject
*args
) {
39430 PyObject
*resultobj
;
39431 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39432 wxSizer
*arg2
= (wxSizer
*) 0 ;
39433 wxGBPosition
*arg3
= 0 ;
39435 wxGBPosition temp3
;
39436 PyObject
* obj0
= 0 ;
39437 PyObject
* obj1
= 0 ;
39438 PyObject
* obj2
= 0 ;
39440 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
39441 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39442 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39443 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
39444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39447 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
39450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39451 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
39453 wxPyEndAllowThreads(__tstate
);
39454 if (PyErr_Occurred()) SWIG_fail
;
39457 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39465 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_2(PyObject
*, PyObject
*args
) {
39466 PyObject
*resultobj
;
39467 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39469 wxGBPosition
*arg3
= 0 ;
39471 wxGBPosition temp3
;
39472 PyObject
* obj0
= 0 ;
39473 PyObject
* obj1
= 0 ;
39474 PyObject
* obj2
= 0 ;
39476 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
39477 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39478 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39479 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
39480 if (PyErr_Occurred()) SWIG_fail
;
39483 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
39486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39487 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
39489 wxPyEndAllowThreads(__tstate
);
39490 if (PyErr_Occurred()) SWIG_fail
;
39493 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39501 static PyObject
*_wrap_GridBagSizer_SetItemPosition(PyObject
*self
, PyObject
*args
) {
39506 argc
= PyObject_Length(args
);
39507 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
39508 argv
[ii
] = PyTuple_GetItem(args
,ii
);
39514 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39524 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
39533 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
39536 return _wrap_GridBagSizer_SetItemPosition__SWIG_0(self
,args
);
39545 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39555 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
39564 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
39567 return _wrap_GridBagSizer_SetItemPosition__SWIG_1(self
,args
);
39576 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39584 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
39587 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
39590 return _wrap_GridBagSizer_SetItemPosition__SWIG_2(self
,args
);
39596 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_SetItemPosition'");
39601 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_0(PyObject
*, PyObject
*args
) {
39602 PyObject
*resultobj
;
39603 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39604 wxWindow
*arg2
= (wxWindow
*) 0 ;
39606 PyObject
* obj0
= 0 ;
39607 PyObject
* obj1
= 0 ;
39609 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
39610 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39611 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39612 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39613 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39616 result
= (arg1
)->GetItemSpan(arg2
);
39618 wxPyEndAllowThreads(__tstate
);
39619 if (PyErr_Occurred()) SWIG_fail
;
39622 wxGBSpan
* resultptr
;
39623 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
39624 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
39632 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_1(PyObject
*, PyObject
*args
) {
39633 PyObject
*resultobj
;
39634 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39635 wxSizer
*arg2
= (wxSizer
*) 0 ;
39637 PyObject
* obj0
= 0 ;
39638 PyObject
* obj1
= 0 ;
39640 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
39641 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39642 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39643 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
39644 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39647 result
= (arg1
)->GetItemSpan(arg2
);
39649 wxPyEndAllowThreads(__tstate
);
39650 if (PyErr_Occurred()) SWIG_fail
;
39653 wxGBSpan
* resultptr
;
39654 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
39655 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
39663 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_2(PyObject
*, PyObject
*args
) {
39664 PyObject
*resultobj
;
39665 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39668 PyObject
* obj0
= 0 ;
39669 PyObject
* obj1
= 0 ;
39671 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
39672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39674 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
39675 if (PyErr_Occurred()) SWIG_fail
;
39677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39678 result
= (arg1
)->GetItemSpan(arg2
);
39680 wxPyEndAllowThreads(__tstate
);
39681 if (PyErr_Occurred()) SWIG_fail
;
39684 wxGBSpan
* resultptr
;
39685 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
39686 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
39694 static PyObject
*_wrap_GridBagSizer_GetItemSpan(PyObject
*self
, PyObject
*args
) {
39699 argc
= PyObject_Length(args
);
39700 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
39701 argv
[ii
] = PyTuple_GetItem(args
,ii
);
39707 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39717 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
39725 return _wrap_GridBagSizer_GetItemSpan__SWIG_0(self
,args
);
39733 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39743 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
39751 return _wrap_GridBagSizer_GetItemSpan__SWIG_1(self
,args
);
39759 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39767 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
39769 return _wrap_GridBagSizer_GetItemSpan__SWIG_2(self
,args
);
39774 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_GetItemSpan'");
39779 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_0(PyObject
*, PyObject
*args
) {
39780 PyObject
*resultobj
;
39781 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39782 wxWindow
*arg2
= (wxWindow
*) 0 ;
39783 wxGBSpan
*arg3
= 0 ;
39786 PyObject
* obj0
= 0 ;
39787 PyObject
* obj1
= 0 ;
39788 PyObject
* obj2
= 0 ;
39790 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
39791 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39793 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39794 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39797 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
39800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39801 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
39803 wxPyEndAllowThreads(__tstate
);
39804 if (PyErr_Occurred()) SWIG_fail
;
39807 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39815 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_1(PyObject
*, PyObject
*args
) {
39816 PyObject
*resultobj
;
39817 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39818 wxSizer
*arg2
= (wxSizer
*) 0 ;
39819 wxGBSpan
*arg3
= 0 ;
39822 PyObject
* obj0
= 0 ;
39823 PyObject
* obj1
= 0 ;
39824 PyObject
* obj2
= 0 ;
39826 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
39827 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39828 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39829 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
39830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39833 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
39836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39837 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
39839 wxPyEndAllowThreads(__tstate
);
39840 if (PyErr_Occurred()) SWIG_fail
;
39843 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39851 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_2(PyObject
*, PyObject
*args
) {
39852 PyObject
*resultobj
;
39853 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39855 wxGBSpan
*arg3
= 0 ;
39858 PyObject
* obj0
= 0 ;
39859 PyObject
* obj1
= 0 ;
39860 PyObject
* obj2
= 0 ;
39862 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
39863 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39864 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39865 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
39866 if (PyErr_Occurred()) SWIG_fail
;
39869 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
39872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39873 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
39875 wxPyEndAllowThreads(__tstate
);
39876 if (PyErr_Occurred()) SWIG_fail
;
39879 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39887 static PyObject
*_wrap_GridBagSizer_SetItemSpan(PyObject
*self
, PyObject
*args
) {
39892 argc
= PyObject_Length(args
);
39893 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
39894 argv
[ii
] = PyTuple_GetItem(args
,ii
);
39900 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39910 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
39919 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
39922 return _wrap_GridBagSizer_SetItemSpan__SWIG_0(self
,args
);
39931 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39941 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
39950 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
39953 return _wrap_GridBagSizer_SetItemSpan__SWIG_1(self
,args
);
39962 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39970 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
39973 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
39976 return _wrap_GridBagSizer_SetItemSpan__SWIG_2(self
,args
);
39982 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_SetItemSpan'");
39987 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_0(PyObject
*, PyObject
*args
) {
39988 PyObject
*resultobj
;
39989 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39990 wxWindow
*arg2
= (wxWindow
*) 0 ;
39991 wxGBSizerItem
*result
;
39992 PyObject
* obj0
= 0 ;
39993 PyObject
* obj1
= 0 ;
39995 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
39996 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39997 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39998 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39999 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40002 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
40004 wxPyEndAllowThreads(__tstate
);
40005 if (PyErr_Occurred()) SWIG_fail
;
40007 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
40014 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_1(PyObject
*, PyObject
*args
) {
40015 PyObject
*resultobj
;
40016 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
40017 wxSizer
*arg2
= (wxSizer
*) 0 ;
40018 wxGBSizerItem
*result
;
40019 PyObject
* obj0
= 0 ;
40020 PyObject
* obj1
= 0 ;
40022 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
40023 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
40024 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40025 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
40026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40029 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
40031 wxPyEndAllowThreads(__tstate
);
40032 if (PyErr_Occurred()) SWIG_fail
;
40034 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
40041 static PyObject
*_wrap_GridBagSizer_FindItem(PyObject
*self
, PyObject
*args
) {
40046 argc
= PyObject_Length(args
);
40047 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
40048 argv
[ii
] = PyTuple_GetItem(args
,ii
);
40054 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
40064 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
40072 return _wrap_GridBagSizer_FindItem__SWIG_0(self
,args
);
40080 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
40090 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
40098 return _wrap_GridBagSizer_FindItem__SWIG_1(self
,args
);
40103 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_FindItem'");
40108 static PyObject
*_wrap_GridBagSizer_FindItemAtPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40109 PyObject
*resultobj
;
40110 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
40111 wxGBPosition
*arg2
= 0 ;
40112 wxGBSizerItem
*result
;
40113 wxGBPosition temp2
;
40114 PyObject
* obj0
= 0 ;
40115 PyObject
* obj1
= 0 ;
40116 char *kwnames
[] = {
40117 (char *) "self",(char *) "pos", NULL
40120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
40121 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
40122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40125 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
40128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40129 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPosition((wxGBPosition
const &)*arg2
);
40131 wxPyEndAllowThreads(__tstate
);
40132 if (PyErr_Occurred()) SWIG_fail
;
40134 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
40141 static PyObject
*_wrap_GridBagSizer_FindItemAtPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40142 PyObject
*resultobj
;
40143 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
40144 wxPoint
*arg2
= 0 ;
40145 wxGBSizerItem
*result
;
40147 PyObject
* obj0
= 0 ;
40148 PyObject
* obj1
= 0 ;
40149 char *kwnames
[] = {
40150 (char *) "self",(char *) "pt", NULL
40153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
40154 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
40155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40158 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
40161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40162 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPoint((wxPoint
const &)*arg2
);
40164 wxPyEndAllowThreads(__tstate
);
40165 if (PyErr_Occurred()) SWIG_fail
;
40167 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
40174 static PyObject
*_wrap_GridBagSizer_CheckForIntersection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40175 PyObject
*resultobj
;
40176 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
40177 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
40178 wxGBSizerItem
*arg3
= (wxGBSizerItem
*) NULL
;
40180 PyObject
* obj0
= 0 ;
40181 PyObject
* obj1
= 0 ;
40182 PyObject
* obj2
= 0 ;
40183 char *kwnames
[] = {
40184 (char *) "self",(char *) "item",(char *) "excludeItem", NULL
40187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GridBagSizer_CheckForIntersection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
40188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
40189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40190 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGBSizerItem
,
40191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40193 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxGBSizerItem
,
40194 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40198 result
= (bool)(arg1
)->CheckForIntersection(arg2
,arg3
);
40200 wxPyEndAllowThreads(__tstate
);
40201 if (PyErr_Occurred()) SWIG_fail
;
40204 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40212 static PyObject
*_wrap_GridBagSizer_CheckForIntersectionPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40213 PyObject
*resultobj
;
40214 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
40215 wxGBPosition
*arg2
= 0 ;
40216 wxGBSpan
*arg3
= 0 ;
40217 wxGBSizerItem
*arg4
= (wxGBSizerItem
*) NULL
;
40219 wxGBPosition temp2
;
40221 PyObject
* obj0
= 0 ;
40222 PyObject
* obj1
= 0 ;
40223 PyObject
* obj2
= 0 ;
40224 PyObject
* obj3
= 0 ;
40225 char *kwnames
[] = {
40226 (char *) "self",(char *) "pos",(char *) "span",(char *) "excludeItem", NULL
40229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:GridBagSizer_CheckForIntersectionPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
40230 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
40231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40234 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
40238 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
40241 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxGBSizerItem
,
40242 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40246 result
= (bool)(arg1
)->CheckForIntersection((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
);
40248 wxPyEndAllowThreads(__tstate
);
40249 if (PyErr_Occurred()) SWIG_fail
;
40252 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40260 static PyObject
* GridBagSizer_swigregister(PyObject
*, PyObject
*args
) {
40262 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40263 SWIG_TypeClientData(SWIGTYPE_p_wxGridBagSizer
, obj
);
40265 return Py_BuildValue((char *)"");
40267 static PyObject
*_wrap_IndividualLayoutConstraint_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40268 PyObject
*resultobj
;
40269 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40271 wxWindow
*arg3
= (wxWindow
*) 0 ;
40273 int arg5
= (int) 0 ;
40274 int arg6
= (int) wxLAYOUT_DEFAULT_MARGIN
;
40275 PyObject
* obj0
= 0 ;
40276 PyObject
* obj1
= 0 ;
40277 PyObject
* obj2
= 0 ;
40278 PyObject
* obj3
= 0 ;
40279 PyObject
* obj4
= 0 ;
40280 PyObject
* obj5
= 0 ;
40281 char *kwnames
[] = {
40282 (char *) "self",(char *) "rel",(char *) "otherW",(char *) "otherE",(char *) "val",(char *) "marg", NULL
40285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:IndividualLayoutConstraint_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
40286 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40288 arg2
= (int)SWIG_As_int(obj1
);
40289 if (PyErr_Occurred()) SWIG_fail
;
40290 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
40291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40292 arg4
= (int)SWIG_As_int(obj3
);
40293 if (PyErr_Occurred()) SWIG_fail
;
40295 arg5
= (int)SWIG_As_int(obj4
);
40296 if (PyErr_Occurred()) SWIG_fail
;
40299 arg6
= (int)SWIG_As_int(obj5
);
40300 if (PyErr_Occurred()) SWIG_fail
;
40303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40304 (arg1
)->Set((wxRelationship
)arg2
,arg3
,(wxEdge
)arg4
,arg5
,arg6
);
40306 wxPyEndAllowThreads(__tstate
);
40307 if (PyErr_Occurred()) SWIG_fail
;
40309 Py_INCREF(Py_None
); resultobj
= Py_None
;
40316 static PyObject
*_wrap_IndividualLayoutConstraint_LeftOf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40317 PyObject
*resultobj
;
40318 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40319 wxWindow
*arg2
= (wxWindow
*) 0 ;
40320 int arg3
= (int) 0 ;
40321 PyObject
* obj0
= 0 ;
40322 PyObject
* obj1
= 0 ;
40323 PyObject
* obj2
= 0 ;
40324 char *kwnames
[] = {
40325 (char *) "self",(char *) "sibling",(char *) "marg", NULL
40328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_LeftOf",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
40329 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40330 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40331 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
40332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40334 arg3
= (int)SWIG_As_int(obj2
);
40335 if (PyErr_Occurred()) SWIG_fail
;
40338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40339 (arg1
)->LeftOf(arg2
,arg3
);
40341 wxPyEndAllowThreads(__tstate
);
40342 if (PyErr_Occurred()) SWIG_fail
;
40344 Py_INCREF(Py_None
); resultobj
= Py_None
;
40351 static PyObject
*_wrap_IndividualLayoutConstraint_RightOf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40352 PyObject
*resultobj
;
40353 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40354 wxWindow
*arg2
= (wxWindow
*) 0 ;
40355 int arg3
= (int) 0 ;
40356 PyObject
* obj0
= 0 ;
40357 PyObject
* obj1
= 0 ;
40358 PyObject
* obj2
= 0 ;
40359 char *kwnames
[] = {
40360 (char *) "self",(char *) "sibling",(char *) "marg", NULL
40363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_RightOf",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
40364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40366 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
40367 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40369 arg3
= (int)SWIG_As_int(obj2
);
40370 if (PyErr_Occurred()) SWIG_fail
;
40373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40374 (arg1
)->RightOf(arg2
,arg3
);
40376 wxPyEndAllowThreads(__tstate
);
40377 if (PyErr_Occurred()) SWIG_fail
;
40379 Py_INCREF(Py_None
); resultobj
= Py_None
;
40386 static PyObject
*_wrap_IndividualLayoutConstraint_Above(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40387 PyObject
*resultobj
;
40388 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40389 wxWindow
*arg2
= (wxWindow
*) 0 ;
40390 int arg3
= (int) 0 ;
40391 PyObject
* obj0
= 0 ;
40392 PyObject
* obj1
= 0 ;
40393 PyObject
* obj2
= 0 ;
40394 char *kwnames
[] = {
40395 (char *) "self",(char *) "sibling",(char *) "marg", NULL
40398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Above",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
40399 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40401 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
40402 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40404 arg3
= (int)SWIG_As_int(obj2
);
40405 if (PyErr_Occurred()) SWIG_fail
;
40408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40409 (arg1
)->Above(arg2
,arg3
);
40411 wxPyEndAllowThreads(__tstate
);
40412 if (PyErr_Occurred()) SWIG_fail
;
40414 Py_INCREF(Py_None
); resultobj
= Py_None
;
40421 static PyObject
*_wrap_IndividualLayoutConstraint_Below(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40422 PyObject
*resultobj
;
40423 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40424 wxWindow
*arg2
= (wxWindow
*) 0 ;
40425 int arg3
= (int) 0 ;
40426 PyObject
* obj0
= 0 ;
40427 PyObject
* obj1
= 0 ;
40428 PyObject
* obj2
= 0 ;
40429 char *kwnames
[] = {
40430 (char *) "self",(char *) "sibling",(char *) "marg", NULL
40433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Below",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
40434 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40435 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40436 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
40437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40439 arg3
= (int)SWIG_As_int(obj2
);
40440 if (PyErr_Occurred()) SWIG_fail
;
40443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40444 (arg1
)->Below(arg2
,arg3
);
40446 wxPyEndAllowThreads(__tstate
);
40447 if (PyErr_Occurred()) SWIG_fail
;
40449 Py_INCREF(Py_None
); resultobj
= Py_None
;
40456 static PyObject
*_wrap_IndividualLayoutConstraint_SameAs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40457 PyObject
*resultobj
;
40458 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40459 wxWindow
*arg2
= (wxWindow
*) 0 ;
40461 int arg4
= (int) 0 ;
40462 PyObject
* obj0
= 0 ;
40463 PyObject
* obj1
= 0 ;
40464 PyObject
* obj2
= 0 ;
40465 PyObject
* obj3
= 0 ;
40466 char *kwnames
[] = {
40467 (char *) "self",(char *) "otherW",(char *) "edge",(char *) "marg", NULL
40470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:IndividualLayoutConstraint_SameAs",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
40471 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40472 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40473 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
40474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40475 arg3
= (int)SWIG_As_int(obj2
);
40476 if (PyErr_Occurred()) SWIG_fail
;
40478 arg4
= (int)SWIG_As_int(obj3
);
40479 if (PyErr_Occurred()) SWIG_fail
;
40482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40483 (arg1
)->SameAs(arg2
,(wxEdge
)arg3
,arg4
);
40485 wxPyEndAllowThreads(__tstate
);
40486 if (PyErr_Occurred()) SWIG_fail
;
40488 Py_INCREF(Py_None
); resultobj
= Py_None
;
40495 static PyObject
*_wrap_IndividualLayoutConstraint_PercentOf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40496 PyObject
*resultobj
;
40497 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40498 wxWindow
*arg2
= (wxWindow
*) 0 ;
40501 PyObject
* obj0
= 0 ;
40502 PyObject
* obj1
= 0 ;
40503 PyObject
* obj2
= 0 ;
40504 PyObject
* obj3
= 0 ;
40505 char *kwnames
[] = {
40506 (char *) "self",(char *) "otherW",(char *) "wh",(char *) "per", NULL
40509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_PercentOf",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
40510 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40511 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40512 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
40513 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40514 arg3
= (int)SWIG_As_int(obj2
);
40515 if (PyErr_Occurred()) SWIG_fail
;
40516 arg4
= (int)SWIG_As_int(obj3
);
40517 if (PyErr_Occurred()) SWIG_fail
;
40519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40520 (arg1
)->PercentOf(arg2
,(wxEdge
)arg3
,arg4
);
40522 wxPyEndAllowThreads(__tstate
);
40523 if (PyErr_Occurred()) SWIG_fail
;
40525 Py_INCREF(Py_None
); resultobj
= Py_None
;
40532 static PyObject
*_wrap_IndividualLayoutConstraint_Absolute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40533 PyObject
*resultobj
;
40534 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40536 PyObject
* obj0
= 0 ;
40537 PyObject
* obj1
= 0 ;
40538 char *kwnames
[] = {
40539 (char *) "self",(char *) "val", NULL
40542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_Absolute",kwnames
,&obj0
,&obj1
)) goto fail
;
40543 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40544 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40545 arg2
= (int)SWIG_As_int(obj1
);
40546 if (PyErr_Occurred()) SWIG_fail
;
40548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40549 (arg1
)->Absolute(arg2
);
40551 wxPyEndAllowThreads(__tstate
);
40552 if (PyErr_Occurred()) SWIG_fail
;
40554 Py_INCREF(Py_None
); resultobj
= Py_None
;
40561 static PyObject
*_wrap_IndividualLayoutConstraint_Unconstrained(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40562 PyObject
*resultobj
;
40563 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40564 PyObject
* obj0
= 0 ;
40565 char *kwnames
[] = {
40566 (char *) "self", NULL
40569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_Unconstrained",kwnames
,&obj0
)) goto fail
;
40570 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40571 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40574 (arg1
)->Unconstrained();
40576 wxPyEndAllowThreads(__tstate
);
40577 if (PyErr_Occurred()) SWIG_fail
;
40579 Py_INCREF(Py_None
); resultobj
= Py_None
;
40586 static PyObject
*_wrap_IndividualLayoutConstraint_AsIs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40587 PyObject
*resultobj
;
40588 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40589 PyObject
* obj0
= 0 ;
40590 char *kwnames
[] = {
40591 (char *) "self", NULL
40594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_AsIs",kwnames
,&obj0
)) goto fail
;
40595 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40596 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40601 wxPyEndAllowThreads(__tstate
);
40602 if (PyErr_Occurred()) SWIG_fail
;
40604 Py_INCREF(Py_None
); resultobj
= Py_None
;
40611 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40612 PyObject
*resultobj
;
40613 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40615 PyObject
* obj0
= 0 ;
40616 char *kwnames
[] = {
40617 (char *) "self", NULL
40620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherWindow",kwnames
,&obj0
)) goto fail
;
40621 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40622 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40625 result
= (wxWindow
*)(arg1
)->GetOtherWindow();
40627 wxPyEndAllowThreads(__tstate
);
40628 if (PyErr_Occurred()) SWIG_fail
;
40631 resultobj
= wxPyMake_wxObject(result
, 0);
40639 static PyObject
*_wrap_IndividualLayoutConstraint_GetMyEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40640 PyObject
*resultobj
;
40641 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40643 PyObject
* obj0
= 0 ;
40644 char *kwnames
[] = {
40645 (char *) "self", NULL
40648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMyEdge",kwnames
,&obj0
)) goto fail
;
40649 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40653 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetMyEdge();
40655 wxPyEndAllowThreads(__tstate
);
40656 if (PyErr_Occurred()) SWIG_fail
;
40658 resultobj
= SWIG_From_int((int)result
);
40665 static PyObject
*_wrap_IndividualLayoutConstraint_SetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40666 PyObject
*resultobj
;
40667 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40669 PyObject
* obj0
= 0 ;
40670 PyObject
* obj1
= 0 ;
40671 char *kwnames
[] = {
40672 (char *) "self",(char *) "which", NULL
40675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetEdge",kwnames
,&obj0
,&obj1
)) goto fail
;
40676 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40677 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40678 arg2
= (int)SWIG_As_int(obj1
);
40679 if (PyErr_Occurred()) SWIG_fail
;
40681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40682 (arg1
)->SetEdge((wxEdge
)arg2
);
40684 wxPyEndAllowThreads(__tstate
);
40685 if (PyErr_Occurred()) SWIG_fail
;
40687 Py_INCREF(Py_None
); resultobj
= Py_None
;
40694 static PyObject
*_wrap_IndividualLayoutConstraint_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40695 PyObject
*resultobj
;
40696 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40698 PyObject
* obj0
= 0 ;
40699 PyObject
* obj1
= 0 ;
40700 char *kwnames
[] = {
40701 (char *) "self",(char *) "v", NULL
40704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
40705 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40707 arg2
= (int)SWIG_As_int(obj1
);
40708 if (PyErr_Occurred()) SWIG_fail
;
40710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40711 (arg1
)->SetValue(arg2
);
40713 wxPyEndAllowThreads(__tstate
);
40714 if (PyErr_Occurred()) SWIG_fail
;
40716 Py_INCREF(Py_None
); resultobj
= Py_None
;
40723 static PyObject
*_wrap_IndividualLayoutConstraint_GetMargin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40724 PyObject
*resultobj
;
40725 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40727 PyObject
* obj0
= 0 ;
40728 char *kwnames
[] = {
40729 (char *) "self", NULL
40732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMargin",kwnames
,&obj0
)) goto fail
;
40733 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40737 result
= (int)(arg1
)->GetMargin();
40739 wxPyEndAllowThreads(__tstate
);
40740 if (PyErr_Occurred()) SWIG_fail
;
40742 resultobj
= SWIG_From_int((int)result
);
40749 static PyObject
*_wrap_IndividualLayoutConstraint_SetMargin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40750 PyObject
*resultobj
;
40751 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40753 PyObject
* obj0
= 0 ;
40754 PyObject
* obj1
= 0 ;
40755 char *kwnames
[] = {
40756 (char *) "self",(char *) "m", NULL
40759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetMargin",kwnames
,&obj0
,&obj1
)) goto fail
;
40760 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40761 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40762 arg2
= (int)SWIG_As_int(obj1
);
40763 if (PyErr_Occurred()) SWIG_fail
;
40765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40766 (arg1
)->SetMargin(arg2
);
40768 wxPyEndAllowThreads(__tstate
);
40769 if (PyErr_Occurred()) SWIG_fail
;
40771 Py_INCREF(Py_None
); resultobj
= Py_None
;
40778 static PyObject
*_wrap_IndividualLayoutConstraint_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40779 PyObject
*resultobj
;
40780 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40782 PyObject
* obj0
= 0 ;
40783 char *kwnames
[] = {
40784 (char *) "self", NULL
40787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetValue",kwnames
,&obj0
)) goto fail
;
40788 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40792 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetValue();
40794 wxPyEndAllowThreads(__tstate
);
40795 if (PyErr_Occurred()) SWIG_fail
;
40797 resultobj
= SWIG_From_int((int)result
);
40804 static PyObject
*_wrap_IndividualLayoutConstraint_GetPercent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40805 PyObject
*resultobj
;
40806 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40808 PyObject
* obj0
= 0 ;
40809 char *kwnames
[] = {
40810 (char *) "self", NULL
40813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetPercent",kwnames
,&obj0
)) goto fail
;
40814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40818 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetPercent();
40820 wxPyEndAllowThreads(__tstate
);
40821 if (PyErr_Occurred()) SWIG_fail
;
40823 resultobj
= SWIG_From_int((int)result
);
40830 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40831 PyObject
*resultobj
;
40832 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40834 PyObject
* obj0
= 0 ;
40835 char *kwnames
[] = {
40836 (char *) "self", NULL
40839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherEdge",kwnames
,&obj0
)) goto fail
;
40840 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40841 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40844 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetOtherEdge();
40846 wxPyEndAllowThreads(__tstate
);
40847 if (PyErr_Occurred()) SWIG_fail
;
40849 resultobj
= SWIG_From_int((int)result
);
40856 static PyObject
*_wrap_IndividualLayoutConstraint_GetDone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40857 PyObject
*resultobj
;
40858 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40860 PyObject
* obj0
= 0 ;
40861 char *kwnames
[] = {
40862 (char *) "self", NULL
40865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetDone",kwnames
,&obj0
)) goto fail
;
40866 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40867 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40870 result
= (bool)((wxIndividualLayoutConstraint
const *)arg1
)->GetDone();
40872 wxPyEndAllowThreads(__tstate
);
40873 if (PyErr_Occurred()) SWIG_fail
;
40876 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40884 static PyObject
*_wrap_IndividualLayoutConstraint_SetDone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40885 PyObject
*resultobj
;
40886 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40888 PyObject
* obj0
= 0 ;
40889 PyObject
* obj1
= 0 ;
40890 char *kwnames
[] = {
40891 (char *) "self",(char *) "d", NULL
40894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetDone",kwnames
,&obj0
,&obj1
)) goto fail
;
40895 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40897 arg2
= (bool)SWIG_As_bool(obj1
);
40898 if (PyErr_Occurred()) SWIG_fail
;
40900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40901 (arg1
)->SetDone(arg2
);
40903 wxPyEndAllowThreads(__tstate
);
40904 if (PyErr_Occurred()) SWIG_fail
;
40906 Py_INCREF(Py_None
); resultobj
= Py_None
;
40913 static PyObject
*_wrap_IndividualLayoutConstraint_GetRelationship(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40914 PyObject
*resultobj
;
40915 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40917 PyObject
* obj0
= 0 ;
40918 char *kwnames
[] = {
40919 (char *) "self", NULL
40922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetRelationship",kwnames
,&obj0
)) goto fail
;
40923 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40927 result
= (int)(arg1
)->GetRelationship();
40929 wxPyEndAllowThreads(__tstate
);
40930 if (PyErr_Occurred()) SWIG_fail
;
40932 resultobj
= SWIG_From_int((int)result
);
40939 static PyObject
*_wrap_IndividualLayoutConstraint_SetRelationship(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40940 PyObject
*resultobj
;
40941 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40943 PyObject
* obj0
= 0 ;
40944 PyObject
* obj1
= 0 ;
40945 char *kwnames
[] = {
40946 (char *) "self",(char *) "r", NULL
40949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetRelationship",kwnames
,&obj0
,&obj1
)) goto fail
;
40950 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40952 arg2
= (int)SWIG_As_int(obj1
);
40953 if (PyErr_Occurred()) SWIG_fail
;
40955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40956 (arg1
)->SetRelationship((wxRelationship
)arg2
);
40958 wxPyEndAllowThreads(__tstate
);
40959 if (PyErr_Occurred()) SWIG_fail
;
40961 Py_INCREF(Py_None
); resultobj
= Py_None
;
40968 static PyObject
*_wrap_IndividualLayoutConstraint_ResetIfWin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40969 PyObject
*resultobj
;
40970 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40971 wxWindow
*arg2
= (wxWindow
*) 0 ;
40973 PyObject
* obj0
= 0 ;
40974 PyObject
* obj1
= 0 ;
40975 char *kwnames
[] = {
40976 (char *) "self",(char *) "otherW", NULL
40979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_ResetIfWin",kwnames
,&obj0
,&obj1
)) goto fail
;
40980 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40981 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40982 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
40983 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40986 result
= (bool)(arg1
)->ResetIfWin(arg2
);
40988 wxPyEndAllowThreads(__tstate
);
40989 if (PyErr_Occurred()) SWIG_fail
;
40992 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41000 static PyObject
*_wrap_IndividualLayoutConstraint_SatisfyConstraint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41001 PyObject
*resultobj
;
41002 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
41003 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
41004 wxWindow
*arg3
= (wxWindow
*) 0 ;
41006 PyObject
* obj0
= 0 ;
41007 PyObject
* obj1
= 0 ;
41008 PyObject
* obj2
= 0 ;
41009 char *kwnames
[] = {
41010 (char *) "self",(char *) "constraints",(char *) "win", NULL
41013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IndividualLayoutConstraint_SatisfyConstraint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
41014 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
41015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
41016 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxLayoutConstraints
,
41017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
41018 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
41019 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
41021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41022 result
= (bool)(arg1
)->SatisfyConstraint(arg2
,arg3
);
41024 wxPyEndAllowThreads(__tstate
);
41025 if (PyErr_Occurred()) SWIG_fail
;
41028 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41036 static PyObject
*_wrap_IndividualLayoutConstraint_GetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41037 PyObject
*resultobj
;
41038 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
41040 wxWindow
*arg3
= (wxWindow
*) 0 ;
41041 wxWindow
*arg4
= (wxWindow
*) 0 ;
41043 PyObject
* obj0
= 0 ;
41044 PyObject
* obj1
= 0 ;
41045 PyObject
* obj2
= 0 ;
41046 PyObject
* obj3
= 0 ;
41047 char *kwnames
[] = {
41048 (char *) "self",(char *) "which",(char *) "thisWin",(char *) "other", NULL
41051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_GetEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
41052 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
41053 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
41054 arg2
= (int)SWIG_As_int(obj1
);
41055 if (PyErr_Occurred()) SWIG_fail
;
41056 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
41057 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
41058 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
41059 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
41061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41062 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetEdge((wxEdge
)arg2
,arg3
,arg4
);
41064 wxPyEndAllowThreads(__tstate
);
41065 if (PyErr_Occurred()) SWIG_fail
;
41067 resultobj
= SWIG_From_int((int)result
);
41074 static PyObject
* IndividualLayoutConstraint_swigregister(PyObject
*, PyObject
*args
) {
41076 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
41077 SWIG_TypeClientData(SWIGTYPE_p_wxIndividualLayoutConstraint
, obj
);
41079 return Py_BuildValue((char *)"");
41081 static PyObject
*_wrap_LayoutConstraints_left_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41082 PyObject
*resultobj
;
41083 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
41084 wxIndividualLayoutConstraint
*result
;
41085 PyObject
* obj0
= 0 ;
41086 char *kwnames
[] = {
41087 (char *) "self", NULL
41090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_left_get",kwnames
,&obj0
)) goto fail
;
41091 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
41092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
41093 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->left
);
41095 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
41102 static PyObject
*_wrap_LayoutConstraints_top_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41103 PyObject
*resultobj
;
41104 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
41105 wxIndividualLayoutConstraint
*result
;
41106 PyObject
* obj0
= 0 ;
41107 char *kwnames
[] = {
41108 (char *) "self", NULL
41111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_top_get",kwnames
,&obj0
)) goto fail
;
41112 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
41113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
41114 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->top
);
41116 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
41123 static PyObject
*_wrap_LayoutConstraints_right_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41124 PyObject
*resultobj
;
41125 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
41126 wxIndividualLayoutConstraint
*result
;
41127 PyObject
* obj0
= 0 ;
41128 char *kwnames
[] = {
41129 (char *) "self", NULL
41132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_right_get",kwnames
,&obj0
)) goto fail
;
41133 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
41134 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
41135 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->right
);
41137 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
41144 static PyObject
*_wrap_LayoutConstraints_bottom_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41145 PyObject
*resultobj
;
41146 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
41147 wxIndividualLayoutConstraint
*result
;
41148 PyObject
* obj0
= 0 ;
41149 char *kwnames
[] = {
41150 (char *) "self", NULL
41153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_bottom_get",kwnames
,&obj0
)) goto fail
;
41154 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
41155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
41156 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->bottom
);
41158 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
41165 static PyObject
*_wrap_LayoutConstraints_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41166 PyObject
*resultobj
;
41167 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
41168 wxIndividualLayoutConstraint
*result
;
41169 PyObject
* obj0
= 0 ;
41170 char *kwnames
[] = {
41171 (char *) "self", NULL
41174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_width_get",kwnames
,&obj0
)) goto fail
;
41175 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
41176 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
41177 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->width
);
41179 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
41186 static PyObject
*_wrap_LayoutConstraints_height_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41187 PyObject
*resultobj
;
41188 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
41189 wxIndividualLayoutConstraint
*result
;
41190 PyObject
* obj0
= 0 ;
41191 char *kwnames
[] = {
41192 (char *) "self", NULL
41195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_height_get",kwnames
,&obj0
)) goto fail
;
41196 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
41197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
41198 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->height
);
41200 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
41207 static PyObject
*_wrap_LayoutConstraints_centreX_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41208 PyObject
*resultobj
;
41209 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
41210 wxIndividualLayoutConstraint
*result
;
41211 PyObject
* obj0
= 0 ;
41212 char *kwnames
[] = {
41213 (char *) "self", NULL
41216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreX_get",kwnames
,&obj0
)) goto fail
;
41217 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
41218 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
41219 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreX
);
41221 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
41228 static PyObject
*_wrap_LayoutConstraints_centreY_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41229 PyObject
*resultobj
;
41230 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
41231 wxIndividualLayoutConstraint
*result
;
41232 PyObject
* obj0
= 0 ;
41233 char *kwnames
[] = {
41234 (char *) "self", NULL
41237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreY_get",kwnames
,&obj0
)) goto fail
;
41238 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
41239 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
41240 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreY
);
41242 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
41249 static PyObject
*_wrap_new_LayoutConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41250 PyObject
*resultobj
;
41251 wxLayoutConstraints
*result
;
41252 char *kwnames
[] = {
41256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutConstraints",kwnames
)) goto fail
;
41258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41259 result
= (wxLayoutConstraints
*)new wxLayoutConstraints();
41261 wxPyEndAllowThreads(__tstate
);
41262 if (PyErr_Occurred()) SWIG_fail
;
41264 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutConstraints
, 1);
41271 static PyObject
*_wrap_LayoutConstraints_SatisfyConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41272 PyObject
*resultobj
;
41273 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
41274 wxWindow
*arg2
= (wxWindow
*) 0 ;
41275 int *arg3
= (int *) 0 ;
41279 PyObject
* obj0
= 0 ;
41280 PyObject
* obj1
= 0 ;
41281 char *kwnames
[] = {
41282 (char *) "self",(char *) "win", NULL
41285 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
41286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LayoutConstraints_SatisfyConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
41287 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
41288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
41289 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
41290 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
41292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41293 result
= (bool)(arg1
)->SatisfyConstraints(arg2
,arg3
);
41295 wxPyEndAllowThreads(__tstate
);
41296 if (PyErr_Occurred()) SWIG_fail
;
41299 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41301 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
41302 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
41309 static PyObject
*_wrap_LayoutConstraints_AreSatisfied(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41310 PyObject
*resultobj
;
41311 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
41313 PyObject
* obj0
= 0 ;
41314 char *kwnames
[] = {
41315 (char *) "self", NULL
41318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_AreSatisfied",kwnames
,&obj0
)) goto fail
;
41319 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
41320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
41322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41323 result
= (bool)((wxLayoutConstraints
const *)arg1
)->AreSatisfied();
41325 wxPyEndAllowThreads(__tstate
);
41326 if (PyErr_Occurred()) SWIG_fail
;
41329 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41337 static PyObject
* LayoutConstraints_swigregister(PyObject
*, PyObject
*args
) {
41339 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
41340 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutConstraints
, obj
);
41342 return Py_BuildValue((char *)"");
41344 static PyMethodDef SwigMethods
[] = {
41345 { (char *)"_wxPySetDictionary", __wxPySetDictionary
, METH_VARARGS
, NULL
},
41346 { (char *)"_wxPyFixStockObjects", __wxPyFixStockObjects
, METH_VARARGS
, NULL
},
41347 { (char *)"Object_GetClassName", (PyCFunction
) _wrap_Object_GetClassName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41348 { (char *)"Object_Destroy", (PyCFunction
) _wrap_Object_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41349 { (char *)"Object_swigregister", Object_swigregister
, METH_VARARGS
, NULL
},
41350 { (char *)"Size_width_set", (PyCFunction
) _wrap_Size_width_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41351 { (char *)"Size_width_get", (PyCFunction
) _wrap_Size_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41352 { (char *)"Size_height_set", (PyCFunction
) _wrap_Size_height_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41353 { (char *)"Size_height_get", (PyCFunction
) _wrap_Size_height_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41354 { (char *)"new_Size", (PyCFunction
) _wrap_new_Size
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41355 { (char *)"delete_Size", (PyCFunction
) _wrap_delete_Size
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41356 { (char *)"Size___eq__", (PyCFunction
) _wrap_Size___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41357 { (char *)"Size___ne__", (PyCFunction
) _wrap_Size___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41358 { (char *)"Size___add__", (PyCFunction
) _wrap_Size___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41359 { (char *)"Size___sub__", (PyCFunction
) _wrap_Size___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41360 { (char *)"Size_IncTo", (PyCFunction
) _wrap_Size_IncTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41361 { (char *)"Size_DecTo", (PyCFunction
) _wrap_Size_DecTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41362 { (char *)"Size_Set", (PyCFunction
) _wrap_Size_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41363 { (char *)"Size_SetWidth", (PyCFunction
) _wrap_Size_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41364 { (char *)"Size_SetHeight", (PyCFunction
) _wrap_Size_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41365 { (char *)"Size_GetWidth", (PyCFunction
) _wrap_Size_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41366 { (char *)"Size_GetHeight", (PyCFunction
) _wrap_Size_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41367 { (char *)"Size_IsFullySpecified", (PyCFunction
) _wrap_Size_IsFullySpecified
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41368 { (char *)"Size_SetDefaults", (PyCFunction
) _wrap_Size_SetDefaults
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41369 { (char *)"Size_Get", (PyCFunction
) _wrap_Size_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41370 { (char *)"Size_swigregister", Size_swigregister
, METH_VARARGS
, NULL
},
41371 { (char *)"RealPoint_x_set", (PyCFunction
) _wrap_RealPoint_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41372 { (char *)"RealPoint_x_get", (PyCFunction
) _wrap_RealPoint_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41373 { (char *)"RealPoint_y_set", (PyCFunction
) _wrap_RealPoint_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41374 { (char *)"RealPoint_y_get", (PyCFunction
) _wrap_RealPoint_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41375 { (char *)"new_RealPoint", (PyCFunction
) _wrap_new_RealPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41376 { (char *)"delete_RealPoint", (PyCFunction
) _wrap_delete_RealPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41377 { (char *)"RealPoint___eq__", (PyCFunction
) _wrap_RealPoint___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41378 { (char *)"RealPoint___ne__", (PyCFunction
) _wrap_RealPoint___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41379 { (char *)"RealPoint___add__", (PyCFunction
) _wrap_RealPoint___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41380 { (char *)"RealPoint___sub__", (PyCFunction
) _wrap_RealPoint___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41381 { (char *)"RealPoint_Set", (PyCFunction
) _wrap_RealPoint_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41382 { (char *)"RealPoint_Get", (PyCFunction
) _wrap_RealPoint_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41383 { (char *)"RealPoint_swigregister", RealPoint_swigregister
, METH_VARARGS
, NULL
},
41384 { (char *)"Point_x_set", (PyCFunction
) _wrap_Point_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41385 { (char *)"Point_x_get", (PyCFunction
) _wrap_Point_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41386 { (char *)"Point_y_set", (PyCFunction
) _wrap_Point_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41387 { (char *)"Point_y_get", (PyCFunction
) _wrap_Point_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41388 { (char *)"new_Point", (PyCFunction
) _wrap_new_Point
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41389 { (char *)"delete_Point", (PyCFunction
) _wrap_delete_Point
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41390 { (char *)"Point___eq__", (PyCFunction
) _wrap_Point___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41391 { (char *)"Point___ne__", (PyCFunction
) _wrap_Point___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41392 { (char *)"Point___add__", (PyCFunction
) _wrap_Point___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41393 { (char *)"Point___sub__", (PyCFunction
) _wrap_Point___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41394 { (char *)"Point___iadd__", (PyCFunction
) _wrap_Point___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41395 { (char *)"Point___isub__", (PyCFunction
) _wrap_Point___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41396 { (char *)"Point_Set", (PyCFunction
) _wrap_Point_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41397 { (char *)"Point_Get", (PyCFunction
) _wrap_Point_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41398 { (char *)"Point_swigregister", Point_swigregister
, METH_VARARGS
, NULL
},
41399 { (char *)"new_Rect", (PyCFunction
) _wrap_new_Rect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41400 { (char *)"new_RectPP", (PyCFunction
) _wrap_new_RectPP
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41401 { (char *)"new_RectPS", (PyCFunction
) _wrap_new_RectPS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41402 { (char *)"new_RectS", (PyCFunction
) _wrap_new_RectS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41403 { (char *)"delete_Rect", (PyCFunction
) _wrap_delete_Rect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41404 { (char *)"Rect_GetX", (PyCFunction
) _wrap_Rect_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41405 { (char *)"Rect_SetX", (PyCFunction
) _wrap_Rect_SetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41406 { (char *)"Rect_GetY", (PyCFunction
) _wrap_Rect_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41407 { (char *)"Rect_SetY", (PyCFunction
) _wrap_Rect_SetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41408 { (char *)"Rect_GetWidth", (PyCFunction
) _wrap_Rect_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41409 { (char *)"Rect_SetWidth", (PyCFunction
) _wrap_Rect_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41410 { (char *)"Rect_GetHeight", (PyCFunction
) _wrap_Rect_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41411 { (char *)"Rect_SetHeight", (PyCFunction
) _wrap_Rect_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41412 { (char *)"Rect_GetPosition", (PyCFunction
) _wrap_Rect_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41413 { (char *)"Rect_SetPosition", (PyCFunction
) _wrap_Rect_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41414 { (char *)"Rect_GetSize", (PyCFunction
) _wrap_Rect_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41415 { (char *)"Rect_SetSize", (PyCFunction
) _wrap_Rect_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41416 { (char *)"Rect_GetTopLeft", (PyCFunction
) _wrap_Rect_GetTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41417 { (char *)"Rect_SetTopLeft", (PyCFunction
) _wrap_Rect_SetTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41418 { (char *)"Rect_GetBottomRight", (PyCFunction
) _wrap_Rect_GetBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41419 { (char *)"Rect_SetBottomRight", (PyCFunction
) _wrap_Rect_SetBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41420 { (char *)"Rect_GetLeft", (PyCFunction
) _wrap_Rect_GetLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41421 { (char *)"Rect_GetTop", (PyCFunction
) _wrap_Rect_GetTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41422 { (char *)"Rect_GetBottom", (PyCFunction
) _wrap_Rect_GetBottom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41423 { (char *)"Rect_GetRight", (PyCFunction
) _wrap_Rect_GetRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41424 { (char *)"Rect_SetLeft", (PyCFunction
) _wrap_Rect_SetLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41425 { (char *)"Rect_SetRight", (PyCFunction
) _wrap_Rect_SetRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41426 { (char *)"Rect_SetTop", (PyCFunction
) _wrap_Rect_SetTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41427 { (char *)"Rect_SetBottom", (PyCFunction
) _wrap_Rect_SetBottom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41428 { (char *)"Rect_Inflate", (PyCFunction
) _wrap_Rect_Inflate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41429 { (char *)"Rect_Deflate", (PyCFunction
) _wrap_Rect_Deflate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41430 { (char *)"Rect_OffsetXY", (PyCFunction
) _wrap_Rect_OffsetXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41431 { (char *)"Rect_Offset", (PyCFunction
) _wrap_Rect_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41432 { (char *)"Rect_Intersect", (PyCFunction
) _wrap_Rect_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41433 { (char *)"Rect___add__", (PyCFunction
) _wrap_Rect___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41434 { (char *)"Rect___iadd__", (PyCFunction
) _wrap_Rect___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41435 { (char *)"Rect___eq__", (PyCFunction
) _wrap_Rect___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41436 { (char *)"Rect___ne__", (PyCFunction
) _wrap_Rect___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41437 { (char *)"Rect_InsideXY", (PyCFunction
) _wrap_Rect_InsideXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41438 { (char *)"Rect_Inside", (PyCFunction
) _wrap_Rect_Inside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41439 { (char *)"Rect_Intersects", (PyCFunction
) _wrap_Rect_Intersects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41440 { (char *)"Rect_x_set", (PyCFunction
) _wrap_Rect_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41441 { (char *)"Rect_x_get", (PyCFunction
) _wrap_Rect_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41442 { (char *)"Rect_y_set", (PyCFunction
) _wrap_Rect_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41443 { (char *)"Rect_y_get", (PyCFunction
) _wrap_Rect_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41444 { (char *)"Rect_width_set", (PyCFunction
) _wrap_Rect_width_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41445 { (char *)"Rect_width_get", (PyCFunction
) _wrap_Rect_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41446 { (char *)"Rect_height_set", (PyCFunction
) _wrap_Rect_height_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41447 { (char *)"Rect_height_get", (PyCFunction
) _wrap_Rect_height_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41448 { (char *)"Rect_Set", (PyCFunction
) _wrap_Rect_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41449 { (char *)"Rect_Get", (PyCFunction
) _wrap_Rect_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41450 { (char *)"Rect_swigregister", Rect_swigregister
, METH_VARARGS
, NULL
},
41451 { (char *)"IntersectRect", (PyCFunction
) _wrap_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41452 { (char *)"new_Point2D", (PyCFunction
) _wrap_new_Point2D
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41453 { (char *)"new_Point2DCopy", (PyCFunction
) _wrap_new_Point2DCopy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41454 { (char *)"new_Point2DFromPoint", (PyCFunction
) _wrap_new_Point2DFromPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41455 { (char *)"Point2D_GetFloor", (PyCFunction
) _wrap_Point2D_GetFloor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41456 { (char *)"Point2D_GetRounded", (PyCFunction
) _wrap_Point2D_GetRounded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41457 { (char *)"Point2D_GetVectorLength", (PyCFunction
) _wrap_Point2D_GetVectorLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41458 { (char *)"Point2D_GetVectorAngle", (PyCFunction
) _wrap_Point2D_GetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41459 { (char *)"Point2D_SetVectorLength", (PyCFunction
) _wrap_Point2D_SetVectorLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41460 { (char *)"Point2D_SetVectorAngle", (PyCFunction
) _wrap_Point2D_SetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41461 { (char *)"Point2D_GetDistance", (PyCFunction
) _wrap_Point2D_GetDistance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41462 { (char *)"Point2D_GetDistanceSquare", (PyCFunction
) _wrap_Point2D_GetDistanceSquare
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41463 { (char *)"Point2D_GetDotProduct", (PyCFunction
) _wrap_Point2D_GetDotProduct
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41464 { (char *)"Point2D_GetCrossProduct", (PyCFunction
) _wrap_Point2D_GetCrossProduct
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41465 { (char *)"Point2D___neg__", (PyCFunction
) _wrap_Point2D___neg__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41466 { (char *)"Point2D___iadd__", (PyCFunction
) _wrap_Point2D___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41467 { (char *)"Point2D___isub__", (PyCFunction
) _wrap_Point2D___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41468 { (char *)"Point2D___imul__", (PyCFunction
) _wrap_Point2D___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41469 { (char *)"Point2D___idiv__", (PyCFunction
) _wrap_Point2D___idiv__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41470 { (char *)"Point2D___eq__", (PyCFunction
) _wrap_Point2D___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41471 { (char *)"Point2D___ne__", (PyCFunction
) _wrap_Point2D___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41472 { (char *)"Point2D_x_set", (PyCFunction
) _wrap_Point2D_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41473 { (char *)"Point2D_x_get", (PyCFunction
) _wrap_Point2D_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41474 { (char *)"Point2D_y_set", (PyCFunction
) _wrap_Point2D_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41475 { (char *)"Point2D_y_get", (PyCFunction
) _wrap_Point2D_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41476 { (char *)"Point2D_Set", (PyCFunction
) _wrap_Point2D_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41477 { (char *)"Point2D_Get", (PyCFunction
) _wrap_Point2D_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41478 { (char *)"Point2D_swigregister", Point2D_swigregister
, METH_VARARGS
, NULL
},
41479 { (char *)"new_InputStream", (PyCFunction
) _wrap_new_InputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41480 { (char *)"delete_InputStream", (PyCFunction
) _wrap_delete_InputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41481 { (char *)"InputStream_close", (PyCFunction
) _wrap_InputStream_close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41482 { (char *)"InputStream_flush", (PyCFunction
) _wrap_InputStream_flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41483 { (char *)"InputStream_eof", (PyCFunction
) _wrap_InputStream_eof
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41484 { (char *)"InputStream_read", (PyCFunction
) _wrap_InputStream_read
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41485 { (char *)"InputStream_readline", (PyCFunction
) _wrap_InputStream_readline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41486 { (char *)"InputStream_readlines", (PyCFunction
) _wrap_InputStream_readlines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41487 { (char *)"InputStream_seek", (PyCFunction
) _wrap_InputStream_seek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41488 { (char *)"InputStream_tell", (PyCFunction
) _wrap_InputStream_tell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41489 { (char *)"InputStream_Peek", (PyCFunction
) _wrap_InputStream_Peek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41490 { (char *)"InputStream_GetC", (PyCFunction
) _wrap_InputStream_GetC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41491 { (char *)"InputStream_LastRead", (PyCFunction
) _wrap_InputStream_LastRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41492 { (char *)"InputStream_CanRead", (PyCFunction
) _wrap_InputStream_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41493 { (char *)"InputStream_Eof", (PyCFunction
) _wrap_InputStream_Eof
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41494 { (char *)"InputStream_Ungetch", (PyCFunction
) _wrap_InputStream_Ungetch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41495 { (char *)"InputStream_SeekI", (PyCFunction
) _wrap_InputStream_SeekI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41496 { (char *)"InputStream_TellI", (PyCFunction
) _wrap_InputStream_TellI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41497 { (char *)"InputStream_swigregister", InputStream_swigregister
, METH_VARARGS
, NULL
},
41498 { (char *)"OutputStream_write", (PyCFunction
) _wrap_OutputStream_write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41499 { (char *)"OutputStream_swigregister", OutputStream_swigregister
, METH_VARARGS
, NULL
},
41500 { (char *)"new_FSFile", (PyCFunction
) _wrap_new_FSFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41501 { (char *)"delete_FSFile", (PyCFunction
) _wrap_delete_FSFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41502 { (char *)"FSFile_GetStream", (PyCFunction
) _wrap_FSFile_GetStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41503 { (char *)"FSFile_GetMimeType", (PyCFunction
) _wrap_FSFile_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41504 { (char *)"FSFile_GetLocation", (PyCFunction
) _wrap_FSFile_GetLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41505 { (char *)"FSFile_GetAnchor", (PyCFunction
) _wrap_FSFile_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41506 { (char *)"FSFile_GetModificationTime", (PyCFunction
) _wrap_FSFile_GetModificationTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41507 { (char *)"FSFile_swigregister", FSFile_swigregister
, METH_VARARGS
, NULL
},
41508 { (char *)"CPPFileSystemHandler_swigregister", CPPFileSystemHandler_swigregister
, METH_VARARGS
, NULL
},
41509 { (char *)"new_FileSystemHandler", (PyCFunction
) _wrap_new_FileSystemHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41510 { (char *)"FileSystemHandler__setCallbackInfo", (PyCFunction
) _wrap_FileSystemHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41511 { (char *)"FileSystemHandler_CanOpen", (PyCFunction
) _wrap_FileSystemHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41512 { (char *)"FileSystemHandler_OpenFile", (PyCFunction
) _wrap_FileSystemHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41513 { (char *)"FileSystemHandler_FindFirst", (PyCFunction
) _wrap_FileSystemHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41514 { (char *)"FileSystemHandler_FindNext", (PyCFunction
) _wrap_FileSystemHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41515 { (char *)"FileSystemHandler_GetProtocol", (PyCFunction
) _wrap_FileSystemHandler_GetProtocol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41516 { (char *)"FileSystemHandler_GetLeftLocation", (PyCFunction
) _wrap_FileSystemHandler_GetLeftLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41517 { (char *)"FileSystemHandler_GetAnchor", (PyCFunction
) _wrap_FileSystemHandler_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41518 { (char *)"FileSystemHandler_GetRightLocation", (PyCFunction
) _wrap_FileSystemHandler_GetRightLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41519 { (char *)"FileSystemHandler_GetMimeTypeFromExt", (PyCFunction
) _wrap_FileSystemHandler_GetMimeTypeFromExt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41520 { (char *)"FileSystemHandler_swigregister", FileSystemHandler_swigregister
, METH_VARARGS
, NULL
},
41521 { (char *)"new_FileSystem", (PyCFunction
) _wrap_new_FileSystem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41522 { (char *)"delete_FileSystem", (PyCFunction
) _wrap_delete_FileSystem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41523 { (char *)"FileSystem_ChangePathTo", (PyCFunction
) _wrap_FileSystem_ChangePathTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41524 { (char *)"FileSystem_GetPath", (PyCFunction
) _wrap_FileSystem_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41525 { (char *)"FileSystem_OpenFile", (PyCFunction
) _wrap_FileSystem_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41526 { (char *)"FileSystem_FindFirst", (PyCFunction
) _wrap_FileSystem_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41527 { (char *)"FileSystem_FindNext", (PyCFunction
) _wrap_FileSystem_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41528 { (char *)"FileSystem_AddHandler", (PyCFunction
) _wrap_FileSystem_AddHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41529 { (char *)"FileSystem_CleanUpHandlers", (PyCFunction
) _wrap_FileSystem_CleanUpHandlers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41530 { (char *)"FileSystem_FileNameToURL", (PyCFunction
) _wrap_FileSystem_FileNameToURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41531 { (char *)"FileSystem_URLToFileName", (PyCFunction
) _wrap_FileSystem_URLToFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41532 { (char *)"FileSystem_swigregister", FileSystem_swigregister
, METH_VARARGS
, NULL
},
41533 { (char *)"new_InternetFSHandler", (PyCFunction
) _wrap_new_InternetFSHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41534 { (char *)"InternetFSHandler_CanOpen", (PyCFunction
) _wrap_InternetFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41535 { (char *)"InternetFSHandler_OpenFile", (PyCFunction
) _wrap_InternetFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41536 { (char *)"InternetFSHandler_swigregister", InternetFSHandler_swigregister
, METH_VARARGS
, NULL
},
41537 { (char *)"new_ZipFSHandler", (PyCFunction
) _wrap_new_ZipFSHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41538 { (char *)"ZipFSHandler_CanOpen", (PyCFunction
) _wrap_ZipFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41539 { (char *)"ZipFSHandler_OpenFile", (PyCFunction
) _wrap_ZipFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41540 { (char *)"ZipFSHandler_FindFirst", (PyCFunction
) _wrap_ZipFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41541 { (char *)"ZipFSHandler_FindNext", (PyCFunction
) _wrap_ZipFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41542 { (char *)"ZipFSHandler_swigregister", ZipFSHandler_swigregister
, METH_VARARGS
, NULL
},
41543 { (char *)"__wxMemoryFSHandler_AddFile_wxImage", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41544 { (char *)"__wxMemoryFSHandler_AddFile_wxBitmap", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41545 { (char *)"__wxMemoryFSHandler_AddFile_Data", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_Data
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41546 { (char *)"new_MemoryFSHandler", (PyCFunction
) _wrap_new_MemoryFSHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41547 { (char *)"MemoryFSHandler_RemoveFile", (PyCFunction
) _wrap_MemoryFSHandler_RemoveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41548 { (char *)"MemoryFSHandler_CanOpen", (PyCFunction
) _wrap_MemoryFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41549 { (char *)"MemoryFSHandler_OpenFile", (PyCFunction
) _wrap_MemoryFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41550 { (char *)"MemoryFSHandler_FindFirst", (PyCFunction
) _wrap_MemoryFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41551 { (char *)"MemoryFSHandler_FindNext", (PyCFunction
) _wrap_MemoryFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41552 { (char *)"MemoryFSHandler_swigregister", MemoryFSHandler_swigregister
, METH_VARARGS
, NULL
},
41553 { (char *)"ImageHandler_GetName", (PyCFunction
) _wrap_ImageHandler_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41554 { (char *)"ImageHandler_GetExtension", (PyCFunction
) _wrap_ImageHandler_GetExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41555 { (char *)"ImageHandler_GetType", (PyCFunction
) _wrap_ImageHandler_GetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41556 { (char *)"ImageHandler_GetMimeType", (PyCFunction
) _wrap_ImageHandler_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41557 { (char *)"ImageHandler_CanRead", (PyCFunction
) _wrap_ImageHandler_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41558 { (char *)"ImageHandler_SetName", (PyCFunction
) _wrap_ImageHandler_SetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41559 { (char *)"ImageHandler_SetExtension", (PyCFunction
) _wrap_ImageHandler_SetExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41560 { (char *)"ImageHandler_SetType", (PyCFunction
) _wrap_ImageHandler_SetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41561 { (char *)"ImageHandler_SetMimeType", (PyCFunction
) _wrap_ImageHandler_SetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41562 { (char *)"ImageHandler_swigregister", ImageHandler_swigregister
, METH_VARARGS
, NULL
},
41563 { (char *)"new_ImageHistogram", (PyCFunction
) _wrap_new_ImageHistogram
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41564 { (char *)"ImageHistogram_MakeKey", (PyCFunction
) _wrap_ImageHistogram_MakeKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41565 { (char *)"ImageHistogram_FindFirstUnusedColour", (PyCFunction
) _wrap_ImageHistogram_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41566 { (char *)"ImageHistogram_swigregister", ImageHistogram_swigregister
, METH_VARARGS
, NULL
},
41567 { (char *)"new_Image", (PyCFunction
) _wrap_new_Image
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41568 { (char *)"delete_Image", (PyCFunction
) _wrap_delete_Image
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41569 { (char *)"new_ImageFromMime", (PyCFunction
) _wrap_new_ImageFromMime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41570 { (char *)"new_ImageFromStream", (PyCFunction
) _wrap_new_ImageFromStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41571 { (char *)"new_ImageFromStreamMime", (PyCFunction
) _wrap_new_ImageFromStreamMime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41572 { (char *)"new_EmptyImage", (PyCFunction
) _wrap_new_EmptyImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41573 { (char *)"new_ImageFromBitmap", (PyCFunction
) _wrap_new_ImageFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41574 { (char *)"new_ImageFromData", (PyCFunction
) _wrap_new_ImageFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41575 { (char *)"Image_Create", (PyCFunction
) _wrap_Image_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41576 { (char *)"Image_Destroy", (PyCFunction
) _wrap_Image_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41577 { (char *)"Image_Scale", (PyCFunction
) _wrap_Image_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41578 { (char *)"Image_ShrinkBy", (PyCFunction
) _wrap_Image_ShrinkBy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41579 { (char *)"Image_Rescale", (PyCFunction
) _wrap_Image_Rescale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41580 { (char *)"Image_SetRGB", (PyCFunction
) _wrap_Image_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41581 { (char *)"Image_GetRed", (PyCFunction
) _wrap_Image_GetRed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41582 { (char *)"Image_GetGreen", (PyCFunction
) _wrap_Image_GetGreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41583 { (char *)"Image_GetBlue", (PyCFunction
) _wrap_Image_GetBlue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41584 { (char *)"Image_SetAlpha", (PyCFunction
) _wrap_Image_SetAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41585 { (char *)"Image_GetAlpha", (PyCFunction
) _wrap_Image_GetAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41586 { (char *)"Image_HasAlpha", (PyCFunction
) _wrap_Image_HasAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41587 { (char *)"Image_FindFirstUnusedColour", (PyCFunction
) _wrap_Image_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41588 { (char *)"Image_ConvertAlphaToMask", (PyCFunction
) _wrap_Image_ConvertAlphaToMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41589 { (char *)"Image_ConvertColourToAlpha", (PyCFunction
) _wrap_Image_ConvertColourToAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41590 { (char *)"Image_SetMaskFromImage", (PyCFunction
) _wrap_Image_SetMaskFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41591 { (char *)"Image_CanRead", (PyCFunction
) _wrap_Image_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41592 { (char *)"Image_GetImageCount", (PyCFunction
) _wrap_Image_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41593 { (char *)"Image_LoadFile", (PyCFunction
) _wrap_Image_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41594 { (char *)"Image_LoadMimeFile", (PyCFunction
) _wrap_Image_LoadMimeFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41595 { (char *)"Image_SaveFile", (PyCFunction
) _wrap_Image_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41596 { (char *)"Image_SaveMimeFile", (PyCFunction
) _wrap_Image_SaveMimeFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41597 { (char *)"Image_CanReadStream", (PyCFunction
) _wrap_Image_CanReadStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41598 { (char *)"Image_LoadStream", (PyCFunction
) _wrap_Image_LoadStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41599 { (char *)"Image_LoadMimeStream", (PyCFunction
) _wrap_Image_LoadMimeStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41600 { (char *)"Image_Ok", (PyCFunction
) _wrap_Image_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41601 { (char *)"Image_GetWidth", (PyCFunction
) _wrap_Image_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41602 { (char *)"Image_GetHeight", (PyCFunction
) _wrap_Image_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41603 { (char *)"Image_GetSize", (PyCFunction
) _wrap_Image_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41604 { (char *)"Image_GetSubImage", (PyCFunction
) _wrap_Image_GetSubImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41605 { (char *)"Image_Copy", (PyCFunction
) _wrap_Image_Copy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41606 { (char *)"Image_Paste", (PyCFunction
) _wrap_Image_Paste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41607 { (char *)"Image_GetData", (PyCFunction
) _wrap_Image_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41608 { (char *)"Image_SetData", (PyCFunction
) _wrap_Image_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41609 { (char *)"Image_GetDataBuffer", (PyCFunction
) _wrap_Image_GetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41610 { (char *)"Image_SetDataBuffer", (PyCFunction
) _wrap_Image_SetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41611 { (char *)"Image_GetAlphaData", (PyCFunction
) _wrap_Image_GetAlphaData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41612 { (char *)"Image_SetAlphaData", (PyCFunction
) _wrap_Image_SetAlphaData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41613 { (char *)"Image_GetAlphaBuffer", (PyCFunction
) _wrap_Image_GetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41614 { (char *)"Image_SetAlphaBuffer", (PyCFunction
) _wrap_Image_SetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41615 { (char *)"Image_SetMaskColour", (PyCFunction
) _wrap_Image_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41616 { (char *)"Image_GetMaskRed", (PyCFunction
) _wrap_Image_GetMaskRed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41617 { (char *)"Image_GetMaskGreen", (PyCFunction
) _wrap_Image_GetMaskGreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41618 { (char *)"Image_GetMaskBlue", (PyCFunction
) _wrap_Image_GetMaskBlue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41619 { (char *)"Image_SetMask", (PyCFunction
) _wrap_Image_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41620 { (char *)"Image_HasMask", (PyCFunction
) _wrap_Image_HasMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41621 { (char *)"Image_Rotate", (PyCFunction
) _wrap_Image_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41622 { (char *)"Image_Rotate90", (PyCFunction
) _wrap_Image_Rotate90
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41623 { (char *)"Image_Mirror", (PyCFunction
) _wrap_Image_Mirror
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41624 { (char *)"Image_Replace", (PyCFunction
) _wrap_Image_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41625 { (char *)"Image_ConvertToMono", (PyCFunction
) _wrap_Image_ConvertToMono
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41626 { (char *)"Image_SetOption", (PyCFunction
) _wrap_Image_SetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41627 { (char *)"Image_SetOptionInt", (PyCFunction
) _wrap_Image_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41628 { (char *)"Image_GetOption", (PyCFunction
) _wrap_Image_GetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41629 { (char *)"Image_GetOptionInt", (PyCFunction
) _wrap_Image_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41630 { (char *)"Image_HasOption", (PyCFunction
) _wrap_Image_HasOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41631 { (char *)"Image_CountColours", (PyCFunction
) _wrap_Image_CountColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41632 { (char *)"Image_ComputeHistogram", (PyCFunction
) _wrap_Image_ComputeHistogram
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41633 { (char *)"Image_AddHandler", (PyCFunction
) _wrap_Image_AddHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41634 { (char *)"Image_InsertHandler", (PyCFunction
) _wrap_Image_InsertHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41635 { (char *)"Image_RemoveHandler", (PyCFunction
) _wrap_Image_RemoveHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41636 { (char *)"Image_GetImageExtWildcard", (PyCFunction
) _wrap_Image_GetImageExtWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41637 { (char *)"Image_ConvertToBitmap", (PyCFunction
) _wrap_Image_ConvertToBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41638 { (char *)"Image_ConvertToMonoBitmap", (PyCFunction
) _wrap_Image_ConvertToMonoBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41639 { (char *)"Image_swigregister", Image_swigregister
, METH_VARARGS
, NULL
},
41640 { (char *)"new_BMPHandler", (PyCFunction
) _wrap_new_BMPHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41641 { (char *)"BMPHandler_swigregister", BMPHandler_swigregister
, METH_VARARGS
, NULL
},
41642 { (char *)"new_ICOHandler", (PyCFunction
) _wrap_new_ICOHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41643 { (char *)"ICOHandler_swigregister", ICOHandler_swigregister
, METH_VARARGS
, NULL
},
41644 { (char *)"new_CURHandler", (PyCFunction
) _wrap_new_CURHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41645 { (char *)"CURHandler_swigregister", CURHandler_swigregister
, METH_VARARGS
, NULL
},
41646 { (char *)"new_ANIHandler", (PyCFunction
) _wrap_new_ANIHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41647 { (char *)"ANIHandler_swigregister", ANIHandler_swigregister
, METH_VARARGS
, NULL
},
41648 { (char *)"new_PNGHandler", (PyCFunction
) _wrap_new_PNGHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41649 { (char *)"PNGHandler_swigregister", PNGHandler_swigregister
, METH_VARARGS
, NULL
},
41650 { (char *)"new_GIFHandler", (PyCFunction
) _wrap_new_GIFHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41651 { (char *)"GIFHandler_swigregister", GIFHandler_swigregister
, METH_VARARGS
, NULL
},
41652 { (char *)"new_PCXHandler", (PyCFunction
) _wrap_new_PCXHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41653 { (char *)"PCXHandler_swigregister", PCXHandler_swigregister
, METH_VARARGS
, NULL
},
41654 { (char *)"new_JPEGHandler", (PyCFunction
) _wrap_new_JPEGHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41655 { (char *)"JPEGHandler_swigregister", JPEGHandler_swigregister
, METH_VARARGS
, NULL
},
41656 { (char *)"new_PNMHandler", (PyCFunction
) _wrap_new_PNMHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41657 { (char *)"PNMHandler_swigregister", PNMHandler_swigregister
, METH_VARARGS
, NULL
},
41658 { (char *)"new_XPMHandler", (PyCFunction
) _wrap_new_XPMHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41659 { (char *)"XPMHandler_swigregister", XPMHandler_swigregister
, METH_VARARGS
, NULL
},
41660 { (char *)"new_TIFFHandler", (PyCFunction
) _wrap_new_TIFFHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41661 { (char *)"TIFFHandler_swigregister", TIFFHandler_swigregister
, METH_VARARGS
, NULL
},
41662 { (char *)"Quantize_Quantize", (PyCFunction
) _wrap_Quantize_Quantize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41663 { (char *)"Quantize_swigregister", Quantize_swigregister
, METH_VARARGS
, NULL
},
41664 { (char *)"new_EvtHandler", (PyCFunction
) _wrap_new_EvtHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41665 { (char *)"EvtHandler_GetNextHandler", (PyCFunction
) _wrap_EvtHandler_GetNextHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41666 { (char *)"EvtHandler_GetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_GetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41667 { (char *)"EvtHandler_SetNextHandler", (PyCFunction
) _wrap_EvtHandler_SetNextHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41668 { (char *)"EvtHandler_SetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_SetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41669 { (char *)"EvtHandler_GetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_GetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41670 { (char *)"EvtHandler_SetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_SetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41671 { (char *)"EvtHandler_ProcessEvent", (PyCFunction
) _wrap_EvtHandler_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41672 { (char *)"EvtHandler_AddPendingEvent", (PyCFunction
) _wrap_EvtHandler_AddPendingEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41673 { (char *)"EvtHandler_ProcessPendingEvents", (PyCFunction
) _wrap_EvtHandler_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41674 { (char *)"EvtHandler_Connect", (PyCFunction
) _wrap_EvtHandler_Connect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41675 { (char *)"EvtHandler_Disconnect", (PyCFunction
) _wrap_EvtHandler_Disconnect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41676 { (char *)"EvtHandler__setOORInfo", (PyCFunction
) _wrap_EvtHandler__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41677 { (char *)"EvtHandler_swigregister", EvtHandler_swigregister
, METH_VARARGS
, NULL
},
41678 { (char *)"NewEventType", (PyCFunction
) _wrap_NewEventType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41679 { (char *)"delete_Event", (PyCFunction
) _wrap_delete_Event
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41680 { (char *)"Event_SetEventType", (PyCFunction
) _wrap_Event_SetEventType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41681 { (char *)"Event_GetEventType", (PyCFunction
) _wrap_Event_GetEventType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41682 { (char *)"Event_GetEventObject", (PyCFunction
) _wrap_Event_GetEventObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41683 { (char *)"Event_SetEventObject", (PyCFunction
) _wrap_Event_SetEventObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41684 { (char *)"Event_GetTimestamp", (PyCFunction
) _wrap_Event_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41685 { (char *)"Event_SetTimestamp", (PyCFunction
) _wrap_Event_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41686 { (char *)"Event_GetId", (PyCFunction
) _wrap_Event_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41687 { (char *)"Event_SetId", (PyCFunction
) _wrap_Event_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41688 { (char *)"Event_IsCommandEvent", (PyCFunction
) _wrap_Event_IsCommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41689 { (char *)"Event_Skip", (PyCFunction
) _wrap_Event_Skip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41690 { (char *)"Event_GetSkipped", (PyCFunction
) _wrap_Event_GetSkipped
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41691 { (char *)"Event_ShouldPropagate", (PyCFunction
) _wrap_Event_ShouldPropagate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41692 { (char *)"Event_StopPropagation", (PyCFunction
) _wrap_Event_StopPropagation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41693 { (char *)"Event_ResumePropagation", (PyCFunction
) _wrap_Event_ResumePropagation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41694 { (char *)"Event_Clone", (PyCFunction
) _wrap_Event_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41695 { (char *)"Event_swigregister", Event_swigregister
, METH_VARARGS
, NULL
},
41696 { (char *)"new_PropagationDisabler", (PyCFunction
) _wrap_new_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41697 { (char *)"delete_PropagationDisabler", (PyCFunction
) _wrap_delete_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41698 { (char *)"PropagationDisabler_swigregister", PropagationDisabler_swigregister
, METH_VARARGS
, NULL
},
41699 { (char *)"new_PropagateOnce", (PyCFunction
) _wrap_new_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41700 { (char *)"delete_PropagateOnce", (PyCFunction
) _wrap_delete_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41701 { (char *)"PropagateOnce_swigregister", PropagateOnce_swigregister
, METH_VARARGS
, NULL
},
41702 { (char *)"new_CommandEvent", (PyCFunction
) _wrap_new_CommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41703 { (char *)"CommandEvent_GetSelection", (PyCFunction
) _wrap_CommandEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41704 { (char *)"CommandEvent_SetString", (PyCFunction
) _wrap_CommandEvent_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41705 { (char *)"CommandEvent_GetString", (PyCFunction
) _wrap_CommandEvent_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41706 { (char *)"CommandEvent_IsChecked", (PyCFunction
) _wrap_CommandEvent_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41707 { (char *)"CommandEvent_IsSelection", (PyCFunction
) _wrap_CommandEvent_IsSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41708 { (char *)"CommandEvent_SetExtraLong", (PyCFunction
) _wrap_CommandEvent_SetExtraLong
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41709 { (char *)"CommandEvent_GetExtraLong", (PyCFunction
) _wrap_CommandEvent_GetExtraLong
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41710 { (char *)"CommandEvent_SetInt", (PyCFunction
) _wrap_CommandEvent_SetInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41711 { (char *)"CommandEvent_GetInt", (PyCFunction
) _wrap_CommandEvent_GetInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41712 { (char *)"CommandEvent_Clone", (PyCFunction
) _wrap_CommandEvent_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41713 { (char *)"CommandEvent_swigregister", CommandEvent_swigregister
, METH_VARARGS
, NULL
},
41714 { (char *)"new_NotifyEvent", (PyCFunction
) _wrap_new_NotifyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41715 { (char *)"NotifyEvent_Veto", (PyCFunction
) _wrap_NotifyEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41716 { (char *)"NotifyEvent_Allow", (PyCFunction
) _wrap_NotifyEvent_Allow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41717 { (char *)"NotifyEvent_IsAllowed", (PyCFunction
) _wrap_NotifyEvent_IsAllowed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41718 { (char *)"NotifyEvent_swigregister", NotifyEvent_swigregister
, METH_VARARGS
, NULL
},
41719 { (char *)"new_ScrollEvent", (PyCFunction
) _wrap_new_ScrollEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41720 { (char *)"ScrollEvent_GetOrientation", (PyCFunction
) _wrap_ScrollEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41721 { (char *)"ScrollEvent_GetPosition", (PyCFunction
) _wrap_ScrollEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41722 { (char *)"ScrollEvent_SetOrientation", (PyCFunction
) _wrap_ScrollEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41723 { (char *)"ScrollEvent_SetPosition", (PyCFunction
) _wrap_ScrollEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41724 { (char *)"ScrollEvent_swigregister", ScrollEvent_swigregister
, METH_VARARGS
, NULL
},
41725 { (char *)"new_ScrollWinEvent", (PyCFunction
) _wrap_new_ScrollWinEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41726 { (char *)"ScrollWinEvent_GetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41727 { (char *)"ScrollWinEvent_GetPosition", (PyCFunction
) _wrap_ScrollWinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41728 { (char *)"ScrollWinEvent_SetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41729 { (char *)"ScrollWinEvent_SetPosition", (PyCFunction
) _wrap_ScrollWinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41730 { (char *)"ScrollWinEvent_swigregister", ScrollWinEvent_swigregister
, METH_VARARGS
, NULL
},
41731 { (char *)"new_MouseEvent", (PyCFunction
) _wrap_new_MouseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41732 { (char *)"MouseEvent_IsButton", (PyCFunction
) _wrap_MouseEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41733 { (char *)"MouseEvent_ButtonDown", (PyCFunction
) _wrap_MouseEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41734 { (char *)"MouseEvent_ButtonDClick", (PyCFunction
) _wrap_MouseEvent_ButtonDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41735 { (char *)"MouseEvent_ButtonUp", (PyCFunction
) _wrap_MouseEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41736 { (char *)"MouseEvent_Button", (PyCFunction
) _wrap_MouseEvent_Button
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41737 { (char *)"MouseEvent_ButtonIsDown", (PyCFunction
) _wrap_MouseEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41738 { (char *)"MouseEvent_GetButton", (PyCFunction
) _wrap_MouseEvent_GetButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41739 { (char *)"MouseEvent_ControlDown", (PyCFunction
) _wrap_MouseEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41740 { (char *)"MouseEvent_MetaDown", (PyCFunction
) _wrap_MouseEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41741 { (char *)"MouseEvent_AltDown", (PyCFunction
) _wrap_MouseEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41742 { (char *)"MouseEvent_ShiftDown", (PyCFunction
) _wrap_MouseEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41743 { (char *)"MouseEvent_CmdDown", (PyCFunction
) _wrap_MouseEvent_CmdDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41744 { (char *)"MouseEvent_LeftDown", (PyCFunction
) _wrap_MouseEvent_LeftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41745 { (char *)"MouseEvent_MiddleDown", (PyCFunction
) _wrap_MouseEvent_MiddleDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41746 { (char *)"MouseEvent_RightDown", (PyCFunction
) _wrap_MouseEvent_RightDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41747 { (char *)"MouseEvent_LeftUp", (PyCFunction
) _wrap_MouseEvent_LeftUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41748 { (char *)"MouseEvent_MiddleUp", (PyCFunction
) _wrap_MouseEvent_MiddleUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41749 { (char *)"MouseEvent_RightUp", (PyCFunction
) _wrap_MouseEvent_RightUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41750 { (char *)"MouseEvent_LeftDClick", (PyCFunction
) _wrap_MouseEvent_LeftDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41751 { (char *)"MouseEvent_MiddleDClick", (PyCFunction
) _wrap_MouseEvent_MiddleDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41752 { (char *)"MouseEvent_RightDClick", (PyCFunction
) _wrap_MouseEvent_RightDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41753 { (char *)"MouseEvent_LeftIsDown", (PyCFunction
) _wrap_MouseEvent_LeftIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41754 { (char *)"MouseEvent_MiddleIsDown", (PyCFunction
) _wrap_MouseEvent_MiddleIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41755 { (char *)"MouseEvent_RightIsDown", (PyCFunction
) _wrap_MouseEvent_RightIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41756 { (char *)"MouseEvent_Dragging", (PyCFunction
) _wrap_MouseEvent_Dragging
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41757 { (char *)"MouseEvent_Moving", (PyCFunction
) _wrap_MouseEvent_Moving
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41758 { (char *)"MouseEvent_Entering", (PyCFunction
) _wrap_MouseEvent_Entering
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41759 { (char *)"MouseEvent_Leaving", (PyCFunction
) _wrap_MouseEvent_Leaving
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41760 { (char *)"MouseEvent_GetPosition", (PyCFunction
) _wrap_MouseEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41761 { (char *)"MouseEvent_GetPositionTuple", (PyCFunction
) _wrap_MouseEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41762 { (char *)"MouseEvent_GetLogicalPosition", (PyCFunction
) _wrap_MouseEvent_GetLogicalPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41763 { (char *)"MouseEvent_GetX", (PyCFunction
) _wrap_MouseEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41764 { (char *)"MouseEvent_GetY", (PyCFunction
) _wrap_MouseEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41765 { (char *)"MouseEvent_GetWheelRotation", (PyCFunction
) _wrap_MouseEvent_GetWheelRotation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41766 { (char *)"MouseEvent_GetWheelDelta", (PyCFunction
) _wrap_MouseEvent_GetWheelDelta
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41767 { (char *)"MouseEvent_GetLinesPerAction", (PyCFunction
) _wrap_MouseEvent_GetLinesPerAction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41768 { (char *)"MouseEvent_IsPageScroll", (PyCFunction
) _wrap_MouseEvent_IsPageScroll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41769 { (char *)"MouseEvent_m_x_set", (PyCFunction
) _wrap_MouseEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41770 { (char *)"MouseEvent_m_x_get", (PyCFunction
) _wrap_MouseEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41771 { (char *)"MouseEvent_m_y_set", (PyCFunction
) _wrap_MouseEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41772 { (char *)"MouseEvent_m_y_get", (PyCFunction
) _wrap_MouseEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41773 { (char *)"MouseEvent_m_leftDown_set", (PyCFunction
) _wrap_MouseEvent_m_leftDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41774 { (char *)"MouseEvent_m_leftDown_get", (PyCFunction
) _wrap_MouseEvent_m_leftDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41775 { (char *)"MouseEvent_m_middleDown_set", (PyCFunction
) _wrap_MouseEvent_m_middleDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41776 { (char *)"MouseEvent_m_middleDown_get", (PyCFunction
) _wrap_MouseEvent_m_middleDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41777 { (char *)"MouseEvent_m_rightDown_set", (PyCFunction
) _wrap_MouseEvent_m_rightDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41778 { (char *)"MouseEvent_m_rightDown_get", (PyCFunction
) _wrap_MouseEvent_m_rightDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41779 { (char *)"MouseEvent_m_controlDown_set", (PyCFunction
) _wrap_MouseEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41780 { (char *)"MouseEvent_m_controlDown_get", (PyCFunction
) _wrap_MouseEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41781 { (char *)"MouseEvent_m_shiftDown_set", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41782 { (char *)"MouseEvent_m_shiftDown_get", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41783 { (char *)"MouseEvent_m_altDown_set", (PyCFunction
) _wrap_MouseEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41784 { (char *)"MouseEvent_m_altDown_get", (PyCFunction
) _wrap_MouseEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41785 { (char *)"MouseEvent_m_metaDown_set", (PyCFunction
) _wrap_MouseEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41786 { (char *)"MouseEvent_m_metaDown_get", (PyCFunction
) _wrap_MouseEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41787 { (char *)"MouseEvent_m_wheelRotation_set", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41788 { (char *)"MouseEvent_m_wheelRotation_get", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41789 { (char *)"MouseEvent_m_wheelDelta_set", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41790 { (char *)"MouseEvent_m_wheelDelta_get", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41791 { (char *)"MouseEvent_m_linesPerAction_set", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41792 { (char *)"MouseEvent_m_linesPerAction_get", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41793 { (char *)"MouseEvent_swigregister", MouseEvent_swigregister
, METH_VARARGS
, NULL
},
41794 { (char *)"new_SetCursorEvent", (PyCFunction
) _wrap_new_SetCursorEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41795 { (char *)"SetCursorEvent_GetX", (PyCFunction
) _wrap_SetCursorEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41796 { (char *)"SetCursorEvent_GetY", (PyCFunction
) _wrap_SetCursorEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41797 { (char *)"SetCursorEvent_SetCursor", (PyCFunction
) _wrap_SetCursorEvent_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41798 { (char *)"SetCursorEvent_GetCursor", (PyCFunction
) _wrap_SetCursorEvent_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41799 { (char *)"SetCursorEvent_HasCursor", (PyCFunction
) _wrap_SetCursorEvent_HasCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41800 { (char *)"SetCursorEvent_swigregister", SetCursorEvent_swigregister
, METH_VARARGS
, NULL
},
41801 { (char *)"new_KeyEvent", (PyCFunction
) _wrap_new_KeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41802 { (char *)"KeyEvent_ControlDown", (PyCFunction
) _wrap_KeyEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41803 { (char *)"KeyEvent_MetaDown", (PyCFunction
) _wrap_KeyEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41804 { (char *)"KeyEvent_AltDown", (PyCFunction
) _wrap_KeyEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41805 { (char *)"KeyEvent_ShiftDown", (PyCFunction
) _wrap_KeyEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41806 { (char *)"KeyEvent_CmdDown", (PyCFunction
) _wrap_KeyEvent_CmdDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41807 { (char *)"KeyEvent_HasModifiers", (PyCFunction
) _wrap_KeyEvent_HasModifiers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41808 { (char *)"KeyEvent_GetKeyCode", (PyCFunction
) _wrap_KeyEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41809 { (char *)"KeyEvent_GetUnicodeKey", (PyCFunction
) _wrap_KeyEvent_GetUnicodeKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41810 { (char *)"KeyEvent_GetRawKeyCode", (PyCFunction
) _wrap_KeyEvent_GetRawKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41811 { (char *)"KeyEvent_GetRawKeyFlags", (PyCFunction
) _wrap_KeyEvent_GetRawKeyFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41812 { (char *)"KeyEvent_GetPosition", (PyCFunction
) _wrap_KeyEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41813 { (char *)"KeyEvent_GetPositionTuple", (PyCFunction
) _wrap_KeyEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41814 { (char *)"KeyEvent_GetX", (PyCFunction
) _wrap_KeyEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41815 { (char *)"KeyEvent_GetY", (PyCFunction
) _wrap_KeyEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41816 { (char *)"KeyEvent_m_x_set", (PyCFunction
) _wrap_KeyEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41817 { (char *)"KeyEvent_m_x_get", (PyCFunction
) _wrap_KeyEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41818 { (char *)"KeyEvent_m_y_set", (PyCFunction
) _wrap_KeyEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41819 { (char *)"KeyEvent_m_y_get", (PyCFunction
) _wrap_KeyEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41820 { (char *)"KeyEvent_m_keyCode_set", (PyCFunction
) _wrap_KeyEvent_m_keyCode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41821 { (char *)"KeyEvent_m_keyCode_get", (PyCFunction
) _wrap_KeyEvent_m_keyCode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41822 { (char *)"KeyEvent_m_controlDown_set", (PyCFunction
) _wrap_KeyEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41823 { (char *)"KeyEvent_m_controlDown_get", (PyCFunction
) _wrap_KeyEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41824 { (char *)"KeyEvent_m_shiftDown_set", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41825 { (char *)"KeyEvent_m_shiftDown_get", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41826 { (char *)"KeyEvent_m_altDown_set", (PyCFunction
) _wrap_KeyEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41827 { (char *)"KeyEvent_m_altDown_get", (PyCFunction
) _wrap_KeyEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41828 { (char *)"KeyEvent_m_metaDown_set", (PyCFunction
) _wrap_KeyEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41829 { (char *)"KeyEvent_m_metaDown_get", (PyCFunction
) _wrap_KeyEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41830 { (char *)"KeyEvent_m_scanCode_set", (PyCFunction
) _wrap_KeyEvent_m_scanCode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41831 { (char *)"KeyEvent_m_scanCode_get", (PyCFunction
) _wrap_KeyEvent_m_scanCode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41832 { (char *)"KeyEvent_m_rawCode_set", (PyCFunction
) _wrap_KeyEvent_m_rawCode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41833 { (char *)"KeyEvent_m_rawCode_get", (PyCFunction
) _wrap_KeyEvent_m_rawCode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41834 { (char *)"KeyEvent_m_rawFlags_set", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41835 { (char *)"KeyEvent_m_rawFlags_get", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41836 { (char *)"KeyEvent_swigregister", KeyEvent_swigregister
, METH_VARARGS
, NULL
},
41837 { (char *)"new_SizeEvent", (PyCFunction
) _wrap_new_SizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41838 { (char *)"SizeEvent_GetSize", (PyCFunction
) _wrap_SizeEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41839 { (char *)"SizeEvent_GetRect", (PyCFunction
) _wrap_SizeEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41840 { (char *)"SizeEvent_SetRect", (PyCFunction
) _wrap_SizeEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41841 { (char *)"SizeEvent_SetSize", (PyCFunction
) _wrap_SizeEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41842 { (char *)"SizeEvent_m_size_set", (PyCFunction
) _wrap_SizeEvent_m_size_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41843 { (char *)"SizeEvent_m_size_get", (PyCFunction
) _wrap_SizeEvent_m_size_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41844 { (char *)"SizeEvent_m_rect_set", (PyCFunction
) _wrap_SizeEvent_m_rect_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41845 { (char *)"SizeEvent_m_rect_get", (PyCFunction
) _wrap_SizeEvent_m_rect_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41846 { (char *)"SizeEvent_swigregister", SizeEvent_swigregister
, METH_VARARGS
, NULL
},
41847 { (char *)"new_MoveEvent", (PyCFunction
) _wrap_new_MoveEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41848 { (char *)"MoveEvent_GetPosition", (PyCFunction
) _wrap_MoveEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41849 { (char *)"MoveEvent_GetRect", (PyCFunction
) _wrap_MoveEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41850 { (char *)"MoveEvent_SetRect", (PyCFunction
) _wrap_MoveEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41851 { (char *)"MoveEvent_SetPosition", (PyCFunction
) _wrap_MoveEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41852 { (char *)"MoveEvent_m_pos_set", (PyCFunction
) _wrap_MoveEvent_m_pos_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41853 { (char *)"MoveEvent_m_pos_get", (PyCFunction
) _wrap_MoveEvent_m_pos_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41854 { (char *)"MoveEvent_m_rect_set", (PyCFunction
) _wrap_MoveEvent_m_rect_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41855 { (char *)"MoveEvent_m_rect_get", (PyCFunction
) _wrap_MoveEvent_m_rect_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41856 { (char *)"MoveEvent_swigregister", MoveEvent_swigregister
, METH_VARARGS
, NULL
},
41857 { (char *)"new_PaintEvent", (PyCFunction
) _wrap_new_PaintEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41858 { (char *)"PaintEvent_swigregister", PaintEvent_swigregister
, METH_VARARGS
, NULL
},
41859 { (char *)"new_NcPaintEvent", (PyCFunction
) _wrap_new_NcPaintEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41860 { (char *)"NcPaintEvent_swigregister", NcPaintEvent_swigregister
, METH_VARARGS
, NULL
},
41861 { (char *)"new_EraseEvent", (PyCFunction
) _wrap_new_EraseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41862 { (char *)"EraseEvent_GetDC", (PyCFunction
) _wrap_EraseEvent_GetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41863 { (char *)"EraseEvent_swigregister", EraseEvent_swigregister
, METH_VARARGS
, NULL
},
41864 { (char *)"new_FocusEvent", (PyCFunction
) _wrap_new_FocusEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41865 { (char *)"FocusEvent_GetWindow", (PyCFunction
) _wrap_FocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41866 { (char *)"FocusEvent_SetWindow", (PyCFunction
) _wrap_FocusEvent_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41867 { (char *)"FocusEvent_swigregister", FocusEvent_swigregister
, METH_VARARGS
, NULL
},
41868 { (char *)"new_ChildFocusEvent", (PyCFunction
) _wrap_new_ChildFocusEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41869 { (char *)"ChildFocusEvent_GetWindow", (PyCFunction
) _wrap_ChildFocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41870 { (char *)"ChildFocusEvent_swigregister", ChildFocusEvent_swigregister
, METH_VARARGS
, NULL
},
41871 { (char *)"new_ActivateEvent", (PyCFunction
) _wrap_new_ActivateEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41872 { (char *)"ActivateEvent_GetActive", (PyCFunction
) _wrap_ActivateEvent_GetActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41873 { (char *)"ActivateEvent_swigregister", ActivateEvent_swigregister
, METH_VARARGS
, NULL
},
41874 { (char *)"new_InitDialogEvent", (PyCFunction
) _wrap_new_InitDialogEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41875 { (char *)"InitDialogEvent_swigregister", InitDialogEvent_swigregister
, METH_VARARGS
, NULL
},
41876 { (char *)"new_MenuEvent", (PyCFunction
) _wrap_new_MenuEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41877 { (char *)"MenuEvent_GetMenuId", (PyCFunction
) _wrap_MenuEvent_GetMenuId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41878 { (char *)"MenuEvent_IsPopup", (PyCFunction
) _wrap_MenuEvent_IsPopup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41879 { (char *)"MenuEvent_GetMenu", (PyCFunction
) _wrap_MenuEvent_GetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41880 { (char *)"MenuEvent_swigregister", MenuEvent_swigregister
, METH_VARARGS
, NULL
},
41881 { (char *)"new_CloseEvent", (PyCFunction
) _wrap_new_CloseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41882 { (char *)"CloseEvent_SetLoggingOff", (PyCFunction
) _wrap_CloseEvent_SetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41883 { (char *)"CloseEvent_GetLoggingOff", (PyCFunction
) _wrap_CloseEvent_GetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41884 { (char *)"CloseEvent_Veto", (PyCFunction
) _wrap_CloseEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41885 { (char *)"CloseEvent_SetCanVeto", (PyCFunction
) _wrap_CloseEvent_SetCanVeto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41886 { (char *)"CloseEvent_CanVeto", (PyCFunction
) _wrap_CloseEvent_CanVeto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41887 { (char *)"CloseEvent_GetVeto", (PyCFunction
) _wrap_CloseEvent_GetVeto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41888 { (char *)"CloseEvent_swigregister", CloseEvent_swigregister
, METH_VARARGS
, NULL
},
41889 { (char *)"new_ShowEvent", (PyCFunction
) _wrap_new_ShowEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41890 { (char *)"ShowEvent_SetShow", (PyCFunction
) _wrap_ShowEvent_SetShow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41891 { (char *)"ShowEvent_GetShow", (PyCFunction
) _wrap_ShowEvent_GetShow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41892 { (char *)"ShowEvent_swigregister", ShowEvent_swigregister
, METH_VARARGS
, NULL
},
41893 { (char *)"new_IconizeEvent", (PyCFunction
) _wrap_new_IconizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41894 { (char *)"IconizeEvent_Iconized", (PyCFunction
) _wrap_IconizeEvent_Iconized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41895 { (char *)"IconizeEvent_swigregister", IconizeEvent_swigregister
, METH_VARARGS
, NULL
},
41896 { (char *)"new_MaximizeEvent", (PyCFunction
) _wrap_new_MaximizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41897 { (char *)"MaximizeEvent_swigregister", MaximizeEvent_swigregister
, METH_VARARGS
, NULL
},
41898 { (char *)"DropFilesEvent_GetPosition", (PyCFunction
) _wrap_DropFilesEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41899 { (char *)"DropFilesEvent_GetNumberOfFiles", (PyCFunction
) _wrap_DropFilesEvent_GetNumberOfFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41900 { (char *)"DropFilesEvent_GetFiles", (PyCFunction
) _wrap_DropFilesEvent_GetFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41901 { (char *)"DropFilesEvent_swigregister", DropFilesEvent_swigregister
, METH_VARARGS
, NULL
},
41902 { (char *)"new_UpdateUIEvent", (PyCFunction
) _wrap_new_UpdateUIEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41903 { (char *)"UpdateUIEvent_GetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41904 { (char *)"UpdateUIEvent_GetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41905 { (char *)"UpdateUIEvent_GetText", (PyCFunction
) _wrap_UpdateUIEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41906 { (char *)"UpdateUIEvent_GetSetText", (PyCFunction
) _wrap_UpdateUIEvent_GetSetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41907 { (char *)"UpdateUIEvent_GetSetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetSetChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41908 { (char *)"UpdateUIEvent_GetSetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetSetEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41909 { (char *)"UpdateUIEvent_Check", (PyCFunction
) _wrap_UpdateUIEvent_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41910 { (char *)"UpdateUIEvent_Enable", (PyCFunction
) _wrap_UpdateUIEvent_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41911 { (char *)"UpdateUIEvent_SetText", (PyCFunction
) _wrap_UpdateUIEvent_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41912 { (char *)"UpdateUIEvent_SetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_SetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41913 { (char *)"UpdateUIEvent_GetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_GetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41914 { (char *)"UpdateUIEvent_CanUpdate", (PyCFunction
) _wrap_UpdateUIEvent_CanUpdate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41915 { (char *)"UpdateUIEvent_ResetUpdateTime", (PyCFunction
) _wrap_UpdateUIEvent_ResetUpdateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41916 { (char *)"UpdateUIEvent_SetMode", (PyCFunction
) _wrap_UpdateUIEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41917 { (char *)"UpdateUIEvent_GetMode", (PyCFunction
) _wrap_UpdateUIEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41918 { (char *)"UpdateUIEvent_swigregister", UpdateUIEvent_swigregister
, METH_VARARGS
, NULL
},
41919 { (char *)"new_SysColourChangedEvent", (PyCFunction
) _wrap_new_SysColourChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41920 { (char *)"SysColourChangedEvent_swigregister", SysColourChangedEvent_swigregister
, METH_VARARGS
, NULL
},
41921 { (char *)"new_MouseCaptureChangedEvent", (PyCFunction
) _wrap_new_MouseCaptureChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41922 { (char *)"MouseCaptureChangedEvent_GetCapturedWindow", (PyCFunction
) _wrap_MouseCaptureChangedEvent_GetCapturedWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41923 { (char *)"MouseCaptureChangedEvent_swigregister", MouseCaptureChangedEvent_swigregister
, METH_VARARGS
, NULL
},
41924 { (char *)"new_DisplayChangedEvent", (PyCFunction
) _wrap_new_DisplayChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41925 { (char *)"DisplayChangedEvent_swigregister", DisplayChangedEvent_swigregister
, METH_VARARGS
, NULL
},
41926 { (char *)"new_PaletteChangedEvent", (PyCFunction
) _wrap_new_PaletteChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41927 { (char *)"PaletteChangedEvent_SetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_SetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41928 { (char *)"PaletteChangedEvent_GetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_GetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41929 { (char *)"PaletteChangedEvent_swigregister", PaletteChangedEvent_swigregister
, METH_VARARGS
, NULL
},
41930 { (char *)"new_QueryNewPaletteEvent", (PyCFunction
) _wrap_new_QueryNewPaletteEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41931 { (char *)"QueryNewPaletteEvent_SetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_SetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41932 { (char *)"QueryNewPaletteEvent_GetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_GetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41933 { (char *)"QueryNewPaletteEvent_swigregister", QueryNewPaletteEvent_swigregister
, METH_VARARGS
, NULL
},
41934 { (char *)"new_NavigationKeyEvent", (PyCFunction
) _wrap_new_NavigationKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41935 { (char *)"NavigationKeyEvent_GetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_GetDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41936 { (char *)"NavigationKeyEvent_SetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_SetDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41937 { (char *)"NavigationKeyEvent_IsWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_IsWindowChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41938 { (char *)"NavigationKeyEvent_SetWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_SetWindowChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41939 { (char *)"NavigationKeyEvent_SetFlags", (PyCFunction
) _wrap_NavigationKeyEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41940 { (char *)"NavigationKeyEvent_GetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_GetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41941 { (char *)"NavigationKeyEvent_SetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_SetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41942 { (char *)"NavigationKeyEvent_swigregister", NavigationKeyEvent_swigregister
, METH_VARARGS
, NULL
},
41943 { (char *)"new_WindowCreateEvent", (PyCFunction
) _wrap_new_WindowCreateEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41944 { (char *)"WindowCreateEvent_GetWindow", (PyCFunction
) _wrap_WindowCreateEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41945 { (char *)"WindowCreateEvent_swigregister", WindowCreateEvent_swigregister
, METH_VARARGS
, NULL
},
41946 { (char *)"new_WindowDestroyEvent", (PyCFunction
) _wrap_new_WindowDestroyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41947 { (char *)"WindowDestroyEvent_GetWindow", (PyCFunction
) _wrap_WindowDestroyEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41948 { (char *)"WindowDestroyEvent_swigregister", WindowDestroyEvent_swigregister
, METH_VARARGS
, NULL
},
41949 { (char *)"new_ContextMenuEvent", (PyCFunction
) _wrap_new_ContextMenuEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41950 { (char *)"ContextMenuEvent_GetPosition", (PyCFunction
) _wrap_ContextMenuEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41951 { (char *)"ContextMenuEvent_SetPosition", (PyCFunction
) _wrap_ContextMenuEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41952 { (char *)"ContextMenuEvent_swigregister", ContextMenuEvent_swigregister
, METH_VARARGS
, NULL
},
41953 { (char *)"new_IdleEvent", (PyCFunction
) _wrap_new_IdleEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41954 { (char *)"IdleEvent_RequestMore", (PyCFunction
) _wrap_IdleEvent_RequestMore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41955 { (char *)"IdleEvent_MoreRequested", (PyCFunction
) _wrap_IdleEvent_MoreRequested
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41956 { (char *)"IdleEvent_SetMode", (PyCFunction
) _wrap_IdleEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41957 { (char *)"IdleEvent_GetMode", (PyCFunction
) _wrap_IdleEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41958 { (char *)"IdleEvent_CanSend", (PyCFunction
) _wrap_IdleEvent_CanSend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41959 { (char *)"IdleEvent_swigregister", IdleEvent_swigregister
, METH_VARARGS
, NULL
},
41960 { (char *)"new_PyEvent", (PyCFunction
) _wrap_new_PyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41961 { (char *)"delete_PyEvent", (PyCFunction
) _wrap_delete_PyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41962 { (char *)"PyEvent_SetSelf", (PyCFunction
) _wrap_PyEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41963 { (char *)"PyEvent_GetSelf", (PyCFunction
) _wrap_PyEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41964 { (char *)"PyEvent_swigregister", PyEvent_swigregister
, METH_VARARGS
, NULL
},
41965 { (char *)"new_PyCommandEvent", (PyCFunction
) _wrap_new_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41966 { (char *)"delete_PyCommandEvent", (PyCFunction
) _wrap_delete_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41967 { (char *)"PyCommandEvent_SetSelf", (PyCFunction
) _wrap_PyCommandEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41968 { (char *)"PyCommandEvent_GetSelf", (PyCFunction
) _wrap_PyCommandEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41969 { (char *)"PyCommandEvent_swigregister", PyCommandEvent_swigregister
, METH_VARARGS
, NULL
},
41970 { (char *)"new_PyApp", (PyCFunction
) _wrap_new_PyApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41971 { (char *)"delete_PyApp", (PyCFunction
) _wrap_delete_PyApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41972 { (char *)"PyApp__setCallbackInfo", (PyCFunction
) _wrap_PyApp__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41973 { (char *)"PyApp_GetAppName", (PyCFunction
) _wrap_PyApp_GetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41974 { (char *)"PyApp_SetAppName", (PyCFunction
) _wrap_PyApp_SetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41975 { (char *)"PyApp_GetClassName", (PyCFunction
) _wrap_PyApp_GetClassName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41976 { (char *)"PyApp_SetClassName", (PyCFunction
) _wrap_PyApp_SetClassName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41977 { (char *)"PyApp_GetVendorName", (PyCFunction
) _wrap_PyApp_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41978 { (char *)"PyApp_SetVendorName", (PyCFunction
) _wrap_PyApp_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41979 { (char *)"PyApp_GetTraits", (PyCFunction
) _wrap_PyApp_GetTraits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41980 { (char *)"PyApp_ProcessPendingEvents", (PyCFunction
) _wrap_PyApp_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41981 { (char *)"PyApp_Yield", (PyCFunction
) _wrap_PyApp_Yield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41982 { (char *)"PyApp_WakeUpIdle", (PyCFunction
) _wrap_PyApp_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41983 { (char *)"PyApp_IsMainLoopRunning", (PyCFunction
) _wrap_PyApp_IsMainLoopRunning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41984 { (char *)"PyApp_MainLoop", (PyCFunction
) _wrap_PyApp_MainLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41985 { (char *)"PyApp_Exit", (PyCFunction
) _wrap_PyApp_Exit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41986 { (char *)"PyApp_ExitMainLoop", (PyCFunction
) _wrap_PyApp_ExitMainLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41987 { (char *)"PyApp_Pending", (PyCFunction
) _wrap_PyApp_Pending
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41988 { (char *)"PyApp_Dispatch", (PyCFunction
) _wrap_PyApp_Dispatch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41989 { (char *)"PyApp_ProcessIdle", (PyCFunction
) _wrap_PyApp_ProcessIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41990 { (char *)"PyApp_SendIdleEvents", (PyCFunction
) _wrap_PyApp_SendIdleEvents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41991 { (char *)"PyApp_IsActive", (PyCFunction
) _wrap_PyApp_IsActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41992 { (char *)"PyApp_SetTopWindow", (PyCFunction
) _wrap_PyApp_SetTopWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41993 { (char *)"PyApp_GetTopWindow", (PyCFunction
) _wrap_PyApp_GetTopWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41994 { (char *)"PyApp_SetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_SetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41995 { (char *)"PyApp_GetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_GetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41996 { (char *)"PyApp_SetUseBestVisual", (PyCFunction
) _wrap_PyApp_SetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41997 { (char *)"PyApp_GetUseBestVisual", (PyCFunction
) _wrap_PyApp_GetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41998 { (char *)"PyApp_SetPrintMode", (PyCFunction
) _wrap_PyApp_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41999 { (char *)"PyApp_GetPrintMode", (PyCFunction
) _wrap_PyApp_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42000 { (char *)"PyApp_SetAssertMode", (PyCFunction
) _wrap_PyApp_SetAssertMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42001 { (char *)"PyApp_GetAssertMode", (PyCFunction
) _wrap_PyApp_GetAssertMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42002 { (char *)"PyApp_GetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_GetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42003 { (char *)"PyApp_GetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42004 { (char *)"PyApp_GetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42005 { (char *)"PyApp_GetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42006 { (char *)"PyApp_GetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_GetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42007 { (char *)"PyApp_SetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_SetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42008 { (char *)"PyApp_SetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42009 { (char *)"PyApp_SetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42010 { (char *)"PyApp_SetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42011 { (char *)"PyApp_SetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_SetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42012 { (char *)"PyApp__BootstrapApp", (PyCFunction
) _wrap_PyApp__BootstrapApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42013 { (char *)"PyApp_GetComCtl32Version", (PyCFunction
) _wrap_PyApp_GetComCtl32Version
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42014 { (char *)"PyApp_swigregister", PyApp_swigregister
, METH_VARARGS
, NULL
},
42015 { (char *)"Exit", (PyCFunction
) _wrap_Exit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42016 { (char *)"Yield", (PyCFunction
) _wrap_Yield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42017 { (char *)"YieldIfNeeded", (PyCFunction
) _wrap_YieldIfNeeded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42018 { (char *)"SafeYield", (PyCFunction
) _wrap_SafeYield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42019 { (char *)"WakeUpIdle", (PyCFunction
) _wrap_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42020 { (char *)"PostEvent", (PyCFunction
) _wrap_PostEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42021 { (char *)"App_CleanUp", (PyCFunction
) _wrap_App_CleanUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42022 { (char *)"GetApp", (PyCFunction
) _wrap_GetApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42023 { (char *)"new_EventLoop", (PyCFunction
) _wrap_new_EventLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42024 { (char *)"delete_EventLoop", (PyCFunction
) _wrap_delete_EventLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42025 { (char *)"EventLoop_Run", (PyCFunction
) _wrap_EventLoop_Run
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42026 { (char *)"EventLoop_Exit", (PyCFunction
) _wrap_EventLoop_Exit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42027 { (char *)"EventLoop_Pending", (PyCFunction
) _wrap_EventLoop_Pending
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42028 { (char *)"EventLoop_Dispatch", (PyCFunction
) _wrap_EventLoop_Dispatch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42029 { (char *)"EventLoop_IsRunning", (PyCFunction
) _wrap_EventLoop_IsRunning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42030 { (char *)"EventLoop_GetActive", (PyCFunction
) _wrap_EventLoop_GetActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42031 { (char *)"EventLoop_SetActive", (PyCFunction
) _wrap_EventLoop_SetActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42032 { (char *)"EventLoop_swigregister", EventLoop_swigregister
, METH_VARARGS
, NULL
},
42033 { (char *)"new_AcceleratorEntry", (PyCFunction
) _wrap_new_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42034 { (char *)"delete_AcceleratorEntry", (PyCFunction
) _wrap_delete_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42035 { (char *)"AcceleratorEntry_Set", (PyCFunction
) _wrap_AcceleratorEntry_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42036 { (char *)"AcceleratorEntry_GetFlags", (PyCFunction
) _wrap_AcceleratorEntry_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42037 { (char *)"AcceleratorEntry_GetKeyCode", (PyCFunction
) _wrap_AcceleratorEntry_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42038 { (char *)"AcceleratorEntry_GetCommand", (PyCFunction
) _wrap_AcceleratorEntry_GetCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42039 { (char *)"AcceleratorEntry_swigregister", AcceleratorEntry_swigregister
, METH_VARARGS
, NULL
},
42040 { (char *)"new_AcceleratorTable", (PyCFunction
) _wrap_new_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42041 { (char *)"delete_AcceleratorTable", (PyCFunction
) _wrap_delete_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42042 { (char *)"AcceleratorTable_Ok", (PyCFunction
) _wrap_AcceleratorTable_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42043 { (char *)"AcceleratorTable_swigregister", AcceleratorTable_swigregister
, METH_VARARGS
, NULL
},
42044 { (char *)"GetAccelFromString", (PyCFunction
) _wrap_GetAccelFromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42045 { (char *)"new_VisualAttributes", (PyCFunction
) _wrap_new_VisualAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42046 { (char *)"delete_VisualAttributes", (PyCFunction
) _wrap_delete_VisualAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42047 { (char *)"VisualAttributes_font_set", (PyCFunction
) _wrap_VisualAttributes_font_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42048 { (char *)"VisualAttributes_font_get", (PyCFunction
) _wrap_VisualAttributes_font_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42049 { (char *)"VisualAttributes_colFg_set", (PyCFunction
) _wrap_VisualAttributes_colFg_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42050 { (char *)"VisualAttributes_colFg_get", (PyCFunction
) _wrap_VisualAttributes_colFg_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42051 { (char *)"VisualAttributes_colBg_set", (PyCFunction
) _wrap_VisualAttributes_colBg_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42052 { (char *)"VisualAttributes_colBg_get", (PyCFunction
) _wrap_VisualAttributes_colBg_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42053 { (char *)"VisualAttributes_swigregister", VisualAttributes_swigregister
, METH_VARARGS
, NULL
},
42054 { (char *)"new_Window", (PyCFunction
) _wrap_new_Window
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42055 { (char *)"new_PreWindow", (PyCFunction
) _wrap_new_PreWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42056 { (char *)"Window_Create", (PyCFunction
) _wrap_Window_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42057 { (char *)"Window_Close", (PyCFunction
) _wrap_Window_Close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42058 { (char *)"Window_Destroy", (PyCFunction
) _wrap_Window_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42059 { (char *)"Window_DestroyChildren", (PyCFunction
) _wrap_Window_DestroyChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42060 { (char *)"Window_IsBeingDeleted", (PyCFunction
) _wrap_Window_IsBeingDeleted
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42061 { (char *)"Window_SetTitle", (PyCFunction
) _wrap_Window_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42062 { (char *)"Window_GetTitle", (PyCFunction
) _wrap_Window_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42063 { (char *)"Window_SetLabel", (PyCFunction
) _wrap_Window_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42064 { (char *)"Window_GetLabel", (PyCFunction
) _wrap_Window_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42065 { (char *)"Window_SetName", (PyCFunction
) _wrap_Window_SetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42066 { (char *)"Window_GetName", (PyCFunction
) _wrap_Window_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42067 { (char *)"Window_SetWindowVariant", (PyCFunction
) _wrap_Window_SetWindowVariant
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42068 { (char *)"Window_GetWindowVariant", (PyCFunction
) _wrap_Window_GetWindowVariant
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42069 { (char *)"Window_SetId", (PyCFunction
) _wrap_Window_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42070 { (char *)"Window_GetId", (PyCFunction
) _wrap_Window_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42071 { (char *)"Window_NewControlId", (PyCFunction
) _wrap_Window_NewControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42072 { (char *)"Window_NextControlId", (PyCFunction
) _wrap_Window_NextControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42073 { (char *)"Window_PrevControlId", (PyCFunction
) _wrap_Window_PrevControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42074 { (char *)"Window_SetSize", (PyCFunction
) _wrap_Window_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42075 { (char *)"Window_SetDimensions", (PyCFunction
) _wrap_Window_SetDimensions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42076 { (char *)"Window_SetRect", (PyCFunction
) _wrap_Window_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42077 { (char *)"Window_SetSizeWH", (PyCFunction
) _wrap_Window_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42078 { (char *)"Window_Move", (PyCFunction
) _wrap_Window_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42079 { (char *)"Window_MoveXY", (PyCFunction
) _wrap_Window_MoveXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42080 { (char *)"Window_SetBestFittingSize", (PyCFunction
) _wrap_Window_SetBestFittingSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42081 { (char *)"Window_Raise", (PyCFunction
) _wrap_Window_Raise
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42082 { (char *)"Window_Lower", (PyCFunction
) _wrap_Window_Lower
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42083 { (char *)"Window_SetClientSize", (PyCFunction
) _wrap_Window_SetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42084 { (char *)"Window_SetClientSizeWH", (PyCFunction
) _wrap_Window_SetClientSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42085 { (char *)"Window_SetClientRect", (PyCFunction
) _wrap_Window_SetClientRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42086 { (char *)"Window_GetPosition", (PyCFunction
) _wrap_Window_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42087 { (char *)"Window_GetPositionTuple", (PyCFunction
) _wrap_Window_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42088 { (char *)"Window_GetSize", (PyCFunction
) _wrap_Window_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42089 { (char *)"Window_GetSizeTuple", (PyCFunction
) _wrap_Window_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42090 { (char *)"Window_GetRect", (PyCFunction
) _wrap_Window_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42091 { (char *)"Window_GetClientSize", (PyCFunction
) _wrap_Window_GetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42092 { (char *)"Window_GetClientSizeTuple", (PyCFunction
) _wrap_Window_GetClientSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42093 { (char *)"Window_GetClientAreaOrigin", (PyCFunction
) _wrap_Window_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42094 { (char *)"Window_GetClientRect", (PyCFunction
) _wrap_Window_GetClientRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42095 { (char *)"Window_GetBestSize", (PyCFunction
) _wrap_Window_GetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42096 { (char *)"Window_GetBestSizeTuple", (PyCFunction
) _wrap_Window_GetBestSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42097 { (char *)"Window_InvalidateBestSize", (PyCFunction
) _wrap_Window_InvalidateBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42098 { (char *)"Window_GetBestFittingSize", (PyCFunction
) _wrap_Window_GetBestFittingSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42099 { (char *)"Window_GetAdjustedBestSize", (PyCFunction
) _wrap_Window_GetAdjustedBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42100 { (char *)"Window_Center", (PyCFunction
) _wrap_Window_Center
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42101 { (char *)"Window_CenterOnScreen", (PyCFunction
) _wrap_Window_CenterOnScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42102 { (char *)"Window_CenterOnParent", (PyCFunction
) _wrap_Window_CenterOnParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42103 { (char *)"Window_Fit", (PyCFunction
) _wrap_Window_Fit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42104 { (char *)"Window_FitInside", (PyCFunction
) _wrap_Window_FitInside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42105 { (char *)"Window_SetSizeHints", (PyCFunction
) _wrap_Window_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42106 { (char *)"Window_SetSizeHintsSz", (PyCFunction
) _wrap_Window_SetSizeHintsSz
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42107 { (char *)"Window_SetVirtualSizeHints", (PyCFunction
) _wrap_Window_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42108 { (char *)"Window_SetVirtualSizeHintsSz", (PyCFunction
) _wrap_Window_SetVirtualSizeHintsSz
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42109 { (char *)"Window_GetMaxSize", (PyCFunction
) _wrap_Window_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42110 { (char *)"Window_GetMinSize", (PyCFunction
) _wrap_Window_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42111 { (char *)"Window_SetMinSize", (PyCFunction
) _wrap_Window_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42112 { (char *)"Window_SetMaxSize", (PyCFunction
) _wrap_Window_SetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42113 { (char *)"Window_GetMinWidth", (PyCFunction
) _wrap_Window_GetMinWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42114 { (char *)"Window_GetMinHeight", (PyCFunction
) _wrap_Window_GetMinHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42115 { (char *)"Window_GetMaxWidth", (PyCFunction
) _wrap_Window_GetMaxWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42116 { (char *)"Window_GetMaxHeight", (PyCFunction
) _wrap_Window_GetMaxHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42117 { (char *)"Window_SetVirtualSize", (PyCFunction
) _wrap_Window_SetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42118 { (char *)"Window_SetVirtualSizeWH", (PyCFunction
) _wrap_Window_SetVirtualSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42119 { (char *)"Window_GetVirtualSize", (PyCFunction
) _wrap_Window_GetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42120 { (char *)"Window_GetVirtualSizeTuple", (PyCFunction
) _wrap_Window_GetVirtualSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42121 { (char *)"Window_GetBestVirtualSize", (PyCFunction
) _wrap_Window_GetBestVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42122 { (char *)"Window_Show", (PyCFunction
) _wrap_Window_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42123 { (char *)"Window_Hide", (PyCFunction
) _wrap_Window_Hide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42124 { (char *)"Window_Enable", (PyCFunction
) _wrap_Window_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42125 { (char *)"Window_Disable", (PyCFunction
) _wrap_Window_Disable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42126 { (char *)"Window_IsShown", (PyCFunction
) _wrap_Window_IsShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42127 { (char *)"Window_IsEnabled", (PyCFunction
) _wrap_Window_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42128 { (char *)"Window_SetWindowStyleFlag", (PyCFunction
) _wrap_Window_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42129 { (char *)"Window_GetWindowStyleFlag", (PyCFunction
) _wrap_Window_GetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42130 { (char *)"Window_HasFlag", (PyCFunction
) _wrap_Window_HasFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42131 { (char *)"Window_IsRetained", (PyCFunction
) _wrap_Window_IsRetained
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42132 { (char *)"Window_SetExtraStyle", (PyCFunction
) _wrap_Window_SetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42133 { (char *)"Window_GetExtraStyle", (PyCFunction
) _wrap_Window_GetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42134 { (char *)"Window_MakeModal", (PyCFunction
) _wrap_Window_MakeModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42135 { (char *)"Window_SetThemeEnabled", (PyCFunction
) _wrap_Window_SetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42136 { (char *)"Window_GetThemeEnabled", (PyCFunction
) _wrap_Window_GetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42137 { (char *)"Window_SetFocus", (PyCFunction
) _wrap_Window_SetFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42138 { (char *)"Window_SetFocusFromKbd", (PyCFunction
) _wrap_Window_SetFocusFromKbd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42139 { (char *)"Window_FindFocus", (PyCFunction
) _wrap_Window_FindFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42140 { (char *)"Window_AcceptsFocus", (PyCFunction
) _wrap_Window_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42141 { (char *)"Window_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_Window_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42142 { (char *)"Window_GetDefaultItem", (PyCFunction
) _wrap_Window_GetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42143 { (char *)"Window_SetDefaultItem", (PyCFunction
) _wrap_Window_SetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42144 { (char *)"Window_SetTmpDefaultItem", (PyCFunction
) _wrap_Window_SetTmpDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42145 { (char *)"Window_Navigate", (PyCFunction
) _wrap_Window_Navigate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42146 { (char *)"Window_MoveAfterInTabOrder", (PyCFunction
) _wrap_Window_MoveAfterInTabOrder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42147 { (char *)"Window_MoveBeforeInTabOrder", (PyCFunction
) _wrap_Window_MoveBeforeInTabOrder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42148 { (char *)"Window_GetChildren", (PyCFunction
) _wrap_Window_GetChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42149 { (char *)"Window_GetParent", (PyCFunction
) _wrap_Window_GetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42150 { (char *)"Window_GetGrandParent", (PyCFunction
) _wrap_Window_GetGrandParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42151 { (char *)"Window_IsTopLevel", (PyCFunction
) _wrap_Window_IsTopLevel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42152 { (char *)"Window_Reparent", (PyCFunction
) _wrap_Window_Reparent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42153 { (char *)"Window_AddChild", (PyCFunction
) _wrap_Window_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42154 { (char *)"Window_RemoveChild", (PyCFunction
) _wrap_Window_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42155 { (char *)"Window_FindWindowById", (PyCFunction
) _wrap_Window_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42156 { (char *)"Window_FindWindowByName", (PyCFunction
) _wrap_Window_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42157 { (char *)"Window_GetEventHandler", (PyCFunction
) _wrap_Window_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42158 { (char *)"Window_SetEventHandler", (PyCFunction
) _wrap_Window_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42159 { (char *)"Window_PushEventHandler", (PyCFunction
) _wrap_Window_PushEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42160 { (char *)"Window_PopEventHandler", (PyCFunction
) _wrap_Window_PopEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42161 { (char *)"Window_RemoveEventHandler", (PyCFunction
) _wrap_Window_RemoveEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42162 { (char *)"Window_SetValidator", (PyCFunction
) _wrap_Window_SetValidator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42163 { (char *)"Window_GetValidator", (PyCFunction
) _wrap_Window_GetValidator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42164 { (char *)"Window_Validate", (PyCFunction
) _wrap_Window_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42165 { (char *)"Window_TransferDataToWindow", (PyCFunction
) _wrap_Window_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42166 { (char *)"Window_TransferDataFromWindow", (PyCFunction
) _wrap_Window_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42167 { (char *)"Window_InitDialog", (PyCFunction
) _wrap_Window_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42168 { (char *)"Window_SetAcceleratorTable", (PyCFunction
) _wrap_Window_SetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42169 { (char *)"Window_GetAcceleratorTable", (PyCFunction
) _wrap_Window_GetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42170 { (char *)"Window_RegisterHotKey", (PyCFunction
) _wrap_Window_RegisterHotKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42171 { (char *)"Window_UnregisterHotKey", (PyCFunction
) _wrap_Window_UnregisterHotKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42172 { (char *)"Window_ConvertDialogPointToPixels", (PyCFunction
) _wrap_Window_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42173 { (char *)"Window_ConvertDialogSizeToPixels", (PyCFunction
) _wrap_Window_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42174 { (char *)"Window_DLG_PNT", (PyCFunction
) _wrap_Window_DLG_PNT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42175 { (char *)"Window_DLG_SZE", (PyCFunction
) _wrap_Window_DLG_SZE
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42176 { (char *)"Window_ConvertPixelPointToDialog", (PyCFunction
) _wrap_Window_ConvertPixelPointToDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42177 { (char *)"Window_ConvertPixelSizeToDialog", (PyCFunction
) _wrap_Window_ConvertPixelSizeToDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42178 { (char *)"Window_WarpPointer", (PyCFunction
) _wrap_Window_WarpPointer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42179 { (char *)"Window_CaptureMouse", (PyCFunction
) _wrap_Window_CaptureMouse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42180 { (char *)"Window_ReleaseMouse", (PyCFunction
) _wrap_Window_ReleaseMouse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42181 { (char *)"Window_GetCapture", (PyCFunction
) _wrap_Window_GetCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42182 { (char *)"Window_HasCapture", (PyCFunction
) _wrap_Window_HasCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42183 { (char *)"Window_Refresh", (PyCFunction
) _wrap_Window_Refresh
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42184 { (char *)"Window_RefreshRect", (PyCFunction
) _wrap_Window_RefreshRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42185 { (char *)"Window_Update", (PyCFunction
) _wrap_Window_Update
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42186 { (char *)"Window_ClearBackground", (PyCFunction
) _wrap_Window_ClearBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42187 { (char *)"Window_Freeze", (PyCFunction
) _wrap_Window_Freeze
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42188 { (char *)"Window_Thaw", (PyCFunction
) _wrap_Window_Thaw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42189 { (char *)"Window_PrepareDC", (PyCFunction
) _wrap_Window_PrepareDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42190 { (char *)"Window_GetUpdateRegion", (PyCFunction
) _wrap_Window_GetUpdateRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42191 { (char *)"Window_GetUpdateClientRect", (PyCFunction
) _wrap_Window_GetUpdateClientRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42192 { (char *)"Window_IsExposed", (PyCFunction
) _wrap_Window_IsExposed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42193 { (char *)"Window_IsExposedPoint", (PyCFunction
) _wrap_Window_IsExposedPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42194 { (char *)"Window_IsExposedRect", (PyCFunction
) _wrap_Window_IsExposedRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42195 { (char *)"Window_GetDefaultAttributes", (PyCFunction
) _wrap_Window_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42196 { (char *)"Window_GetClassDefaultAttributes", (PyCFunction
) _wrap_Window_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42197 { (char *)"Window_SetBackgroundColour", (PyCFunction
) _wrap_Window_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42198 { (char *)"Window_SetOwnBackgroundColour", (PyCFunction
) _wrap_Window_SetOwnBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42199 { (char *)"Window_SetForegroundColour", (PyCFunction
) _wrap_Window_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42200 { (char *)"Window_SetOwnForegroundColour", (PyCFunction
) _wrap_Window_SetOwnForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42201 { (char *)"Window_GetBackgroundColour", (PyCFunction
) _wrap_Window_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42202 { (char *)"Window_GetForegroundColour", (PyCFunction
) _wrap_Window_GetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42203 { (char *)"Window_SetBackgroundStyle", (PyCFunction
) _wrap_Window_SetBackgroundStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42204 { (char *)"Window_GetBackgroundStyle", (PyCFunction
) _wrap_Window_GetBackgroundStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42205 { (char *)"Window_SetCursor", (PyCFunction
) _wrap_Window_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42206 { (char *)"Window_GetCursor", (PyCFunction
) _wrap_Window_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42207 { (char *)"Window_SetFont", (PyCFunction
) _wrap_Window_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42208 { (char *)"Window_SetOwnFont", (PyCFunction
) _wrap_Window_SetOwnFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42209 { (char *)"Window_GetFont", (PyCFunction
) _wrap_Window_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42210 { (char *)"Window_SetCaret", (PyCFunction
) _wrap_Window_SetCaret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42211 { (char *)"Window_GetCaret", (PyCFunction
) _wrap_Window_GetCaret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42212 { (char *)"Window_GetCharHeight", (PyCFunction
) _wrap_Window_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42213 { (char *)"Window_GetCharWidth", (PyCFunction
) _wrap_Window_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42214 { (char *)"Window_GetTextExtent", (PyCFunction
) _wrap_Window_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42215 { (char *)"Window_GetFullTextExtent", (PyCFunction
) _wrap_Window_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42216 { (char *)"Window_ClientToScreenXY", (PyCFunction
) _wrap_Window_ClientToScreenXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42217 { (char *)"Window_ScreenToClientXY", (PyCFunction
) _wrap_Window_ScreenToClientXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42218 { (char *)"Window_ClientToScreen", (PyCFunction
) _wrap_Window_ClientToScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42219 { (char *)"Window_ScreenToClient", (PyCFunction
) _wrap_Window_ScreenToClient
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42220 { (char *)"Window_HitTestXY", (PyCFunction
) _wrap_Window_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42221 { (char *)"Window_HitTest", (PyCFunction
) _wrap_Window_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42222 { (char *)"Window_GetBorder", _wrap_Window_GetBorder
, METH_VARARGS
, NULL
},
42223 { (char *)"Window_UpdateWindowUI", (PyCFunction
) _wrap_Window_UpdateWindowUI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42224 { (char *)"Window_PopupMenuXY", (PyCFunction
) _wrap_Window_PopupMenuXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42225 { (char *)"Window_PopupMenu", (PyCFunction
) _wrap_Window_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42226 { (char *)"Window_GetHandle", (PyCFunction
) _wrap_Window_GetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42227 { (char *)"Window_AssociateHandle", (PyCFunction
) _wrap_Window_AssociateHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42228 { (char *)"Window_DissociateHandle", (PyCFunction
) _wrap_Window_DissociateHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42229 { (char *)"Window_OnPaint", (PyCFunction
) _wrap_Window_OnPaint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42230 { (char *)"Window_HasScrollbar", (PyCFunction
) _wrap_Window_HasScrollbar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42231 { (char *)"Window_SetScrollbar", (PyCFunction
) _wrap_Window_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42232 { (char *)"Window_SetScrollPos", (PyCFunction
) _wrap_Window_SetScrollPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42233 { (char *)"Window_GetScrollPos", (PyCFunction
) _wrap_Window_GetScrollPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42234 { (char *)"Window_GetScrollThumb", (PyCFunction
) _wrap_Window_GetScrollThumb
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42235 { (char *)"Window_GetScrollRange", (PyCFunction
) _wrap_Window_GetScrollRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42236 { (char *)"Window_ScrollWindow", (PyCFunction
) _wrap_Window_ScrollWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42237 { (char *)"Window_ScrollLines", (PyCFunction
) _wrap_Window_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42238 { (char *)"Window_ScrollPages", (PyCFunction
) _wrap_Window_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42239 { (char *)"Window_LineUp", (PyCFunction
) _wrap_Window_LineUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42240 { (char *)"Window_LineDown", (PyCFunction
) _wrap_Window_LineDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42241 { (char *)"Window_PageUp", (PyCFunction
) _wrap_Window_PageUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42242 { (char *)"Window_PageDown", (PyCFunction
) _wrap_Window_PageDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42243 { (char *)"Window_SetHelpText", (PyCFunction
) _wrap_Window_SetHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42244 { (char *)"Window_SetHelpTextForId", (PyCFunction
) _wrap_Window_SetHelpTextForId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42245 { (char *)"Window_GetHelpText", (PyCFunction
) _wrap_Window_GetHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42246 { (char *)"Window_SetToolTipString", (PyCFunction
) _wrap_Window_SetToolTipString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42247 { (char *)"Window_SetToolTip", (PyCFunction
) _wrap_Window_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42248 { (char *)"Window_GetToolTip", (PyCFunction
) _wrap_Window_GetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42249 { (char *)"Window_SetDropTarget", (PyCFunction
) _wrap_Window_SetDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42250 { (char *)"Window_GetDropTarget", (PyCFunction
) _wrap_Window_GetDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42251 { (char *)"Window_DragAcceptFiles", (PyCFunction
) _wrap_Window_DragAcceptFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42252 { (char *)"Window_SetConstraints", (PyCFunction
) _wrap_Window_SetConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42253 { (char *)"Window_GetConstraints", (PyCFunction
) _wrap_Window_GetConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42254 { (char *)"Window_SetAutoLayout", (PyCFunction
) _wrap_Window_SetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42255 { (char *)"Window_GetAutoLayout", (PyCFunction
) _wrap_Window_GetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42256 { (char *)"Window_Layout", (PyCFunction
) _wrap_Window_Layout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42257 { (char *)"Window_SetSizer", (PyCFunction
) _wrap_Window_SetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42258 { (char *)"Window_SetSizerAndFit", (PyCFunction
) _wrap_Window_SetSizerAndFit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42259 { (char *)"Window_GetSizer", (PyCFunction
) _wrap_Window_GetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42260 { (char *)"Window_SetContainingSizer", (PyCFunction
) _wrap_Window_SetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42261 { (char *)"Window_GetContainingSizer", (PyCFunction
) _wrap_Window_GetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42262 { (char *)"Window_InheritAttributes", (PyCFunction
) _wrap_Window_InheritAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42263 { (char *)"Window_ShouldInheritColours", (PyCFunction
) _wrap_Window_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42264 { (char *)"Window_swigregister", Window_swigregister
, METH_VARARGS
, NULL
},
42265 { (char *)"FindWindowById", (PyCFunction
) _wrap_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42266 { (char *)"FindWindowByName", (PyCFunction
) _wrap_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42267 { (char *)"FindWindowByLabel", (PyCFunction
) _wrap_FindWindowByLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42268 { (char *)"Window_FromHWND", (PyCFunction
) _wrap_Window_FromHWND
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42269 { (char *)"new_Validator", (PyCFunction
) _wrap_new_Validator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42270 { (char *)"Validator_Clone", (PyCFunction
) _wrap_Validator_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42271 { (char *)"Validator_Validate", (PyCFunction
) _wrap_Validator_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42272 { (char *)"Validator_TransferToWindow", (PyCFunction
) _wrap_Validator_TransferToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42273 { (char *)"Validator_TransferFromWindow", (PyCFunction
) _wrap_Validator_TransferFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42274 { (char *)"Validator_GetWindow", (PyCFunction
) _wrap_Validator_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42275 { (char *)"Validator_SetWindow", (PyCFunction
) _wrap_Validator_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42276 { (char *)"Validator_IsSilent", (PyCFunction
) _wrap_Validator_IsSilent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42277 { (char *)"Validator_SetBellOnError", (PyCFunction
) _wrap_Validator_SetBellOnError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42278 { (char *)"Validator_swigregister", Validator_swigregister
, METH_VARARGS
, NULL
},
42279 { (char *)"new_PyValidator", (PyCFunction
) _wrap_new_PyValidator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42280 { (char *)"PyValidator__setCallbackInfo", (PyCFunction
) _wrap_PyValidator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42281 { (char *)"PyValidator_swigregister", PyValidator_swigregister
, METH_VARARGS
, NULL
},
42282 { (char *)"new_Menu", (PyCFunction
) _wrap_new_Menu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42283 { (char *)"Menu_Append", (PyCFunction
) _wrap_Menu_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42284 { (char *)"Menu_AppendSeparator", (PyCFunction
) _wrap_Menu_AppendSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42285 { (char *)"Menu_AppendCheckItem", (PyCFunction
) _wrap_Menu_AppendCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42286 { (char *)"Menu_AppendRadioItem", (PyCFunction
) _wrap_Menu_AppendRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42287 { (char *)"Menu_AppendMenu", (PyCFunction
) _wrap_Menu_AppendMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42288 { (char *)"Menu_AppendItem", (PyCFunction
) _wrap_Menu_AppendItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42289 { (char *)"Menu_Break", (PyCFunction
) _wrap_Menu_Break
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42290 { (char *)"Menu_InsertItem", (PyCFunction
) _wrap_Menu_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42291 { (char *)"Menu_Insert", (PyCFunction
) _wrap_Menu_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42292 { (char *)"Menu_InsertSeparator", (PyCFunction
) _wrap_Menu_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42293 { (char *)"Menu_InsertCheckItem", (PyCFunction
) _wrap_Menu_InsertCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42294 { (char *)"Menu_InsertRadioItem", (PyCFunction
) _wrap_Menu_InsertRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42295 { (char *)"Menu_InsertMenu", (PyCFunction
) _wrap_Menu_InsertMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42296 { (char *)"Menu_PrependItem", (PyCFunction
) _wrap_Menu_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42297 { (char *)"Menu_Prepend", (PyCFunction
) _wrap_Menu_Prepend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42298 { (char *)"Menu_PrependSeparator", (PyCFunction
) _wrap_Menu_PrependSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42299 { (char *)"Menu_PrependCheckItem", (PyCFunction
) _wrap_Menu_PrependCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42300 { (char *)"Menu_PrependRadioItem", (PyCFunction
) _wrap_Menu_PrependRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42301 { (char *)"Menu_PrependMenu", (PyCFunction
) _wrap_Menu_PrependMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42302 { (char *)"Menu_Remove", (PyCFunction
) _wrap_Menu_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42303 { (char *)"Menu_RemoveItem", (PyCFunction
) _wrap_Menu_RemoveItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42304 { (char *)"Menu_Delete", (PyCFunction
) _wrap_Menu_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42305 { (char *)"Menu_DeleteItem", (PyCFunction
) _wrap_Menu_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42306 { (char *)"Menu_Destroy", (PyCFunction
) _wrap_Menu_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42307 { (char *)"Menu_DestroyId", (PyCFunction
) _wrap_Menu_DestroyId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42308 { (char *)"Menu_DestroyItem", (PyCFunction
) _wrap_Menu_DestroyItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42309 { (char *)"Menu_GetMenuItemCount", (PyCFunction
) _wrap_Menu_GetMenuItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42310 { (char *)"Menu_GetMenuItems", (PyCFunction
) _wrap_Menu_GetMenuItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42311 { (char *)"Menu_FindItem", (PyCFunction
) _wrap_Menu_FindItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42312 { (char *)"Menu_FindItemById", (PyCFunction
) _wrap_Menu_FindItemById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42313 { (char *)"Menu_FindItemByPosition", (PyCFunction
) _wrap_Menu_FindItemByPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42314 { (char *)"Menu_Enable", (PyCFunction
) _wrap_Menu_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42315 { (char *)"Menu_IsEnabled", (PyCFunction
) _wrap_Menu_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42316 { (char *)"Menu_Check", (PyCFunction
) _wrap_Menu_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42317 { (char *)"Menu_IsChecked", (PyCFunction
) _wrap_Menu_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42318 { (char *)"Menu_SetLabel", (PyCFunction
) _wrap_Menu_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42319 { (char *)"Menu_GetLabel", (PyCFunction
) _wrap_Menu_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42320 { (char *)"Menu_SetHelpString", (PyCFunction
) _wrap_Menu_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42321 { (char *)"Menu_GetHelpString", (PyCFunction
) _wrap_Menu_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42322 { (char *)"Menu_SetTitle", (PyCFunction
) _wrap_Menu_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42323 { (char *)"Menu_GetTitle", (PyCFunction
) _wrap_Menu_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42324 { (char *)"Menu_SetEventHandler", (PyCFunction
) _wrap_Menu_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42325 { (char *)"Menu_GetEventHandler", (PyCFunction
) _wrap_Menu_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42326 { (char *)"Menu_SetInvokingWindow", (PyCFunction
) _wrap_Menu_SetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42327 { (char *)"Menu_GetInvokingWindow", (PyCFunction
) _wrap_Menu_GetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42328 { (char *)"Menu_GetStyle", (PyCFunction
) _wrap_Menu_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42329 { (char *)"Menu_UpdateUI", (PyCFunction
) _wrap_Menu_UpdateUI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42330 { (char *)"Menu_GetMenuBar", (PyCFunction
) _wrap_Menu_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42331 { (char *)"Menu_Attach", (PyCFunction
) _wrap_Menu_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42332 { (char *)"Menu_Detach", (PyCFunction
) _wrap_Menu_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42333 { (char *)"Menu_IsAttached", (PyCFunction
) _wrap_Menu_IsAttached
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42334 { (char *)"Menu_SetParent", (PyCFunction
) _wrap_Menu_SetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42335 { (char *)"Menu_GetParent", (PyCFunction
) _wrap_Menu_GetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42336 { (char *)"Menu_swigregister", Menu_swigregister
, METH_VARARGS
, NULL
},
42337 { (char *)"new_MenuBar", (PyCFunction
) _wrap_new_MenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42338 { (char *)"MenuBar_Append", (PyCFunction
) _wrap_MenuBar_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42339 { (char *)"MenuBar_Insert", (PyCFunction
) _wrap_MenuBar_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42340 { (char *)"MenuBar_GetMenuCount", (PyCFunction
) _wrap_MenuBar_GetMenuCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42341 { (char *)"MenuBar_GetMenu", (PyCFunction
) _wrap_MenuBar_GetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42342 { (char *)"MenuBar_Replace", (PyCFunction
) _wrap_MenuBar_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42343 { (char *)"MenuBar_Remove", (PyCFunction
) _wrap_MenuBar_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42344 { (char *)"MenuBar_EnableTop", (PyCFunction
) _wrap_MenuBar_EnableTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42345 { (char *)"MenuBar_IsEnabledTop", (PyCFunction
) _wrap_MenuBar_IsEnabledTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42346 { (char *)"MenuBar_SetLabelTop", (PyCFunction
) _wrap_MenuBar_SetLabelTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42347 { (char *)"MenuBar_GetLabelTop", (PyCFunction
) _wrap_MenuBar_GetLabelTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42348 { (char *)"MenuBar_FindMenuItem", (PyCFunction
) _wrap_MenuBar_FindMenuItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42349 { (char *)"MenuBar_FindItemById", (PyCFunction
) _wrap_MenuBar_FindItemById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42350 { (char *)"MenuBar_FindMenu", (PyCFunction
) _wrap_MenuBar_FindMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42351 { (char *)"MenuBar_Enable", (PyCFunction
) _wrap_MenuBar_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42352 { (char *)"MenuBar_Check", (PyCFunction
) _wrap_MenuBar_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42353 { (char *)"MenuBar_IsChecked", (PyCFunction
) _wrap_MenuBar_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42354 { (char *)"MenuBar_IsEnabled", (PyCFunction
) _wrap_MenuBar_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42355 { (char *)"MenuBar_SetLabel", (PyCFunction
) _wrap_MenuBar_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42356 { (char *)"MenuBar_GetLabel", (PyCFunction
) _wrap_MenuBar_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42357 { (char *)"MenuBar_SetHelpString", (PyCFunction
) _wrap_MenuBar_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42358 { (char *)"MenuBar_GetHelpString", (PyCFunction
) _wrap_MenuBar_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42359 { (char *)"MenuBar_GetFrame", (PyCFunction
) _wrap_MenuBar_GetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42360 { (char *)"MenuBar_IsAttached", (PyCFunction
) _wrap_MenuBar_IsAttached
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42361 { (char *)"MenuBar_Attach", (PyCFunction
) _wrap_MenuBar_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42362 { (char *)"MenuBar_Detach", (PyCFunction
) _wrap_MenuBar_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42363 { (char *)"MenuBar_swigregister", MenuBar_swigregister
, METH_VARARGS
, NULL
},
42364 { (char *)"new_MenuItem", (PyCFunction
) _wrap_new_MenuItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42365 { (char *)"MenuItem_GetMenu", (PyCFunction
) _wrap_MenuItem_GetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42366 { (char *)"MenuItem_SetMenu", (PyCFunction
) _wrap_MenuItem_SetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42367 { (char *)"MenuItem_SetId", (PyCFunction
) _wrap_MenuItem_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42368 { (char *)"MenuItem_GetId", (PyCFunction
) _wrap_MenuItem_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42369 { (char *)"MenuItem_IsSeparator", (PyCFunction
) _wrap_MenuItem_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42370 { (char *)"MenuItem_SetText", (PyCFunction
) _wrap_MenuItem_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42371 { (char *)"MenuItem_GetLabel", (PyCFunction
) _wrap_MenuItem_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42372 { (char *)"MenuItem_GetText", (PyCFunction
) _wrap_MenuItem_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42373 { (char *)"MenuItem_GetLabelFromText", (PyCFunction
) _wrap_MenuItem_GetLabelFromText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42374 { (char *)"MenuItem_GetKind", (PyCFunction
) _wrap_MenuItem_GetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42375 { (char *)"MenuItem_SetKind", (PyCFunction
) _wrap_MenuItem_SetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42376 { (char *)"MenuItem_SetCheckable", (PyCFunction
) _wrap_MenuItem_SetCheckable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42377 { (char *)"MenuItem_IsCheckable", (PyCFunction
) _wrap_MenuItem_IsCheckable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42378 { (char *)"MenuItem_IsSubMenu", (PyCFunction
) _wrap_MenuItem_IsSubMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42379 { (char *)"MenuItem_SetSubMenu", (PyCFunction
) _wrap_MenuItem_SetSubMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42380 { (char *)"MenuItem_GetSubMenu", (PyCFunction
) _wrap_MenuItem_GetSubMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42381 { (char *)"MenuItem_Enable", (PyCFunction
) _wrap_MenuItem_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42382 { (char *)"MenuItem_IsEnabled", (PyCFunction
) _wrap_MenuItem_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42383 { (char *)"MenuItem_Check", (PyCFunction
) _wrap_MenuItem_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42384 { (char *)"MenuItem_IsChecked", (PyCFunction
) _wrap_MenuItem_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42385 { (char *)"MenuItem_Toggle", (PyCFunction
) _wrap_MenuItem_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42386 { (char *)"MenuItem_SetHelp", (PyCFunction
) _wrap_MenuItem_SetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42387 { (char *)"MenuItem_GetHelp", (PyCFunction
) _wrap_MenuItem_GetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42388 { (char *)"MenuItem_GetAccel", (PyCFunction
) _wrap_MenuItem_GetAccel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42389 { (char *)"MenuItem_SetAccel", (PyCFunction
) _wrap_MenuItem_SetAccel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42390 { (char *)"MenuItem_SetFont", (PyCFunction
) _wrap_MenuItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42391 { (char *)"MenuItem_GetFont", (PyCFunction
) _wrap_MenuItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42392 { (char *)"MenuItem_SetTextColour", (PyCFunction
) _wrap_MenuItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42393 { (char *)"MenuItem_GetTextColour", (PyCFunction
) _wrap_MenuItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42394 { (char *)"MenuItem_SetBackgroundColour", (PyCFunction
) _wrap_MenuItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42395 { (char *)"MenuItem_GetBackgroundColour", (PyCFunction
) _wrap_MenuItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42396 { (char *)"MenuItem_SetBitmaps", (PyCFunction
) _wrap_MenuItem_SetBitmaps
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42397 { (char *)"MenuItem_SetDisabledBitmap", (PyCFunction
) _wrap_MenuItem_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42398 { (char *)"MenuItem_GetDisabledBitmap", (PyCFunction
) _wrap_MenuItem_GetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42399 { (char *)"MenuItem_SetMarginWidth", (PyCFunction
) _wrap_MenuItem_SetMarginWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42400 { (char *)"MenuItem_GetMarginWidth", (PyCFunction
) _wrap_MenuItem_GetMarginWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42401 { (char *)"MenuItem_GetDefaultMarginWidth", (PyCFunction
) _wrap_MenuItem_GetDefaultMarginWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42402 { (char *)"MenuItem_IsOwnerDrawn", (PyCFunction
) _wrap_MenuItem_IsOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42403 { (char *)"MenuItem_SetOwnerDrawn", (PyCFunction
) _wrap_MenuItem_SetOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42404 { (char *)"MenuItem_ResetOwnerDrawn", (PyCFunction
) _wrap_MenuItem_ResetOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42405 { (char *)"MenuItem_SetBitmap", (PyCFunction
) _wrap_MenuItem_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42406 { (char *)"MenuItem_GetBitmap", (PyCFunction
) _wrap_MenuItem_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42407 { (char *)"MenuItem_swigregister", MenuItem_swigregister
, METH_VARARGS
, NULL
},
42408 { (char *)"new_Control", (PyCFunction
) _wrap_new_Control
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42409 { (char *)"new_PreControl", (PyCFunction
) _wrap_new_PreControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42410 { (char *)"Control_Create", (PyCFunction
) _wrap_Control_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42411 { (char *)"Control_Command", (PyCFunction
) _wrap_Control_Command
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42412 { (char *)"Control_GetLabel", (PyCFunction
) _wrap_Control_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42413 { (char *)"Control_SetLabel", (PyCFunction
) _wrap_Control_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42414 { (char *)"Control_GetClassDefaultAttributes", (PyCFunction
) _wrap_Control_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42415 { (char *)"Control_swigregister", Control_swigregister
, METH_VARARGS
, NULL
},
42416 { (char *)"ItemContainer_Append", (PyCFunction
) _wrap_ItemContainer_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42417 { (char *)"ItemContainer_AppendItems", (PyCFunction
) _wrap_ItemContainer_AppendItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42418 { (char *)"ItemContainer_Insert", (PyCFunction
) _wrap_ItemContainer_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42419 { (char *)"ItemContainer_Clear", (PyCFunction
) _wrap_ItemContainer_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42420 { (char *)"ItemContainer_Delete", (PyCFunction
) _wrap_ItemContainer_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42421 { (char *)"ItemContainer_GetCount", (PyCFunction
) _wrap_ItemContainer_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42422 { (char *)"ItemContainer_IsEmpty", (PyCFunction
) _wrap_ItemContainer_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42423 { (char *)"ItemContainer_GetString", (PyCFunction
) _wrap_ItemContainer_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42424 { (char *)"ItemContainer_GetStrings", (PyCFunction
) _wrap_ItemContainer_GetStrings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42425 { (char *)"ItemContainer_SetString", (PyCFunction
) _wrap_ItemContainer_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42426 { (char *)"ItemContainer_FindString", (PyCFunction
) _wrap_ItemContainer_FindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42427 { (char *)"ItemContainer_Select", (PyCFunction
) _wrap_ItemContainer_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42428 { (char *)"ItemContainer_GetSelection", (PyCFunction
) _wrap_ItemContainer_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42429 { (char *)"ItemContainer_GetStringSelection", (PyCFunction
) _wrap_ItemContainer_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42430 { (char *)"ItemContainer_GetClientData", (PyCFunction
) _wrap_ItemContainer_GetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42431 { (char *)"ItemContainer_SetClientData", (PyCFunction
) _wrap_ItemContainer_SetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42432 { (char *)"ItemContainer_swigregister", ItemContainer_swigregister
, METH_VARARGS
, NULL
},
42433 { (char *)"ControlWithItems_swigregister", ControlWithItems_swigregister
, METH_VARARGS
, NULL
},
42434 { (char *)"new_SizerItem", (PyCFunction
) _wrap_new_SizerItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42435 { (char *)"new_SizerItemWindow", (PyCFunction
) _wrap_new_SizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42436 { (char *)"new_SizerItemSpacer", (PyCFunction
) _wrap_new_SizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42437 { (char *)"new_SizerItemSizer", (PyCFunction
) _wrap_new_SizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42438 { (char *)"SizerItem_DeleteWindows", (PyCFunction
) _wrap_SizerItem_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42439 { (char *)"SizerItem_DetachSizer", (PyCFunction
) _wrap_SizerItem_DetachSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42440 { (char *)"SizerItem_GetSize", (PyCFunction
) _wrap_SizerItem_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42441 { (char *)"SizerItem_CalcMin", (PyCFunction
) _wrap_SizerItem_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42442 { (char *)"SizerItem_SetDimension", (PyCFunction
) _wrap_SizerItem_SetDimension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42443 { (char *)"SizerItem_GetMinSize", (PyCFunction
) _wrap_SizerItem_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42444 { (char *)"SizerItem_GetMinSizeWithBorder", (PyCFunction
) _wrap_SizerItem_GetMinSizeWithBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42445 { (char *)"SizerItem_SetInitSize", (PyCFunction
) _wrap_SizerItem_SetInitSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42446 { (char *)"SizerItem_SetRatioWH", (PyCFunction
) _wrap_SizerItem_SetRatioWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42447 { (char *)"SizerItem_SetRatioSize", (PyCFunction
) _wrap_SizerItem_SetRatioSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42448 { (char *)"SizerItem_SetRatio", (PyCFunction
) _wrap_SizerItem_SetRatio
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42449 { (char *)"SizerItem_GetRatio", (PyCFunction
) _wrap_SizerItem_GetRatio
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42450 { (char *)"SizerItem_GetRect", (PyCFunction
) _wrap_SizerItem_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42451 { (char *)"SizerItem_IsWindow", (PyCFunction
) _wrap_SizerItem_IsWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42452 { (char *)"SizerItem_IsSizer", (PyCFunction
) _wrap_SizerItem_IsSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42453 { (char *)"SizerItem_IsSpacer", (PyCFunction
) _wrap_SizerItem_IsSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42454 { (char *)"SizerItem_SetProportion", (PyCFunction
) _wrap_SizerItem_SetProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42455 { (char *)"SizerItem_GetProportion", (PyCFunction
) _wrap_SizerItem_GetProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42456 { (char *)"SizerItem_SetFlag", (PyCFunction
) _wrap_SizerItem_SetFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42457 { (char *)"SizerItem_GetFlag", (PyCFunction
) _wrap_SizerItem_GetFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42458 { (char *)"SizerItem_SetBorder", (PyCFunction
) _wrap_SizerItem_SetBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42459 { (char *)"SizerItem_GetBorder", (PyCFunction
) _wrap_SizerItem_GetBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42460 { (char *)"SizerItem_GetWindow", (PyCFunction
) _wrap_SizerItem_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42461 { (char *)"SizerItem_SetWindow", (PyCFunction
) _wrap_SizerItem_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42462 { (char *)"SizerItem_GetSizer", (PyCFunction
) _wrap_SizerItem_GetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42463 { (char *)"SizerItem_SetSizer", (PyCFunction
) _wrap_SizerItem_SetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42464 { (char *)"SizerItem_GetSpacer", (PyCFunction
) _wrap_SizerItem_GetSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42465 { (char *)"SizerItem_SetSpacer", (PyCFunction
) _wrap_SizerItem_SetSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42466 { (char *)"SizerItem_Show", (PyCFunction
) _wrap_SizerItem_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42467 { (char *)"SizerItem_IsShown", (PyCFunction
) _wrap_SizerItem_IsShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42468 { (char *)"SizerItem_GetPosition", (PyCFunction
) _wrap_SizerItem_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42469 { (char *)"SizerItem_GetUserData", (PyCFunction
) _wrap_SizerItem_GetUserData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42470 { (char *)"SizerItem_swigregister", SizerItem_swigregister
, METH_VARARGS
, NULL
},
42471 { (char *)"Sizer__setOORInfo", (PyCFunction
) _wrap_Sizer__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42472 { (char *)"Sizer_Add", (PyCFunction
) _wrap_Sizer_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42473 { (char *)"Sizer_Insert", (PyCFunction
) _wrap_Sizer_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42474 { (char *)"Sizer_Prepend", (PyCFunction
) _wrap_Sizer_Prepend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42475 { (char *)"Sizer_Remove", (PyCFunction
) _wrap_Sizer_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42476 { (char *)"Sizer_Detach", (PyCFunction
) _wrap_Sizer_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42477 { (char *)"Sizer_GetItem", (PyCFunction
) _wrap_Sizer_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42478 { (char *)"Sizer__SetItemMinSize", (PyCFunction
) _wrap_Sizer__SetItemMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42479 { (char *)"Sizer_AddItem", (PyCFunction
) _wrap_Sizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42480 { (char *)"Sizer_InsertItem", (PyCFunction
) _wrap_Sizer_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42481 { (char *)"Sizer_PrependItem", (PyCFunction
) _wrap_Sizer_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42482 { (char *)"Sizer_SetDimension", (PyCFunction
) _wrap_Sizer_SetDimension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42483 { (char *)"Sizer_SetMinSize", (PyCFunction
) _wrap_Sizer_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42484 { (char *)"Sizer_GetSize", (PyCFunction
) _wrap_Sizer_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42485 { (char *)"Sizer_GetPosition", (PyCFunction
) _wrap_Sizer_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42486 { (char *)"Sizer_GetMinSize", (PyCFunction
) _wrap_Sizer_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42487 { (char *)"Sizer_RecalcSizes", (PyCFunction
) _wrap_Sizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42488 { (char *)"Sizer_CalcMin", (PyCFunction
) _wrap_Sizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42489 { (char *)"Sizer_Layout", (PyCFunction
) _wrap_Sizer_Layout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42490 { (char *)"Sizer_Fit", (PyCFunction
) _wrap_Sizer_Fit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42491 { (char *)"Sizer_FitInside", (PyCFunction
) _wrap_Sizer_FitInside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42492 { (char *)"Sizer_SetSizeHints", (PyCFunction
) _wrap_Sizer_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42493 { (char *)"Sizer_SetVirtualSizeHints", (PyCFunction
) _wrap_Sizer_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42494 { (char *)"Sizer_Clear", (PyCFunction
) _wrap_Sizer_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42495 { (char *)"Sizer_DeleteWindows", (PyCFunction
) _wrap_Sizer_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42496 { (char *)"Sizer_GetChildren", (PyCFunction
) _wrap_Sizer_GetChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42497 { (char *)"Sizer_Show", (PyCFunction
) _wrap_Sizer_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42498 { (char *)"Sizer_IsShown", (PyCFunction
) _wrap_Sizer_IsShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42499 { (char *)"Sizer_ShowItems", (PyCFunction
) _wrap_Sizer_ShowItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42500 { (char *)"Sizer_swigregister", Sizer_swigregister
, METH_VARARGS
, NULL
},
42501 { (char *)"new_PySizer", (PyCFunction
) _wrap_new_PySizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42502 { (char *)"PySizer__setCallbackInfo", (PyCFunction
) _wrap_PySizer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42503 { (char *)"PySizer_swigregister", PySizer_swigregister
, METH_VARARGS
, NULL
},
42504 { (char *)"new_BoxSizer", (PyCFunction
) _wrap_new_BoxSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42505 { (char *)"BoxSizer_GetOrientation", (PyCFunction
) _wrap_BoxSizer_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42506 { (char *)"BoxSizer_SetOrientation", (PyCFunction
) _wrap_BoxSizer_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42507 { (char *)"BoxSizer_swigregister", BoxSizer_swigregister
, METH_VARARGS
, NULL
},
42508 { (char *)"new_StaticBoxSizer", (PyCFunction
) _wrap_new_StaticBoxSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42509 { (char *)"StaticBoxSizer_GetStaticBox", (PyCFunction
) _wrap_StaticBoxSizer_GetStaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42510 { (char *)"StaticBoxSizer_swigregister", StaticBoxSizer_swigregister
, METH_VARARGS
, NULL
},
42511 { (char *)"new_GridSizer", (PyCFunction
) _wrap_new_GridSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42512 { (char *)"GridSizer_SetCols", (PyCFunction
) _wrap_GridSizer_SetCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42513 { (char *)"GridSizer_SetRows", (PyCFunction
) _wrap_GridSizer_SetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42514 { (char *)"GridSizer_SetVGap", (PyCFunction
) _wrap_GridSizer_SetVGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42515 { (char *)"GridSizer_SetHGap", (PyCFunction
) _wrap_GridSizer_SetHGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42516 { (char *)"GridSizer_GetCols", (PyCFunction
) _wrap_GridSizer_GetCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42517 { (char *)"GridSizer_GetRows", (PyCFunction
) _wrap_GridSizer_GetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42518 { (char *)"GridSizer_GetVGap", (PyCFunction
) _wrap_GridSizer_GetVGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42519 { (char *)"GridSizer_GetHGap", (PyCFunction
) _wrap_GridSizer_GetHGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42520 { (char *)"GridSizer_swigregister", GridSizer_swigregister
, METH_VARARGS
, NULL
},
42521 { (char *)"new_FlexGridSizer", (PyCFunction
) _wrap_new_FlexGridSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42522 { (char *)"FlexGridSizer_AddGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42523 { (char *)"FlexGridSizer_RemoveGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42524 { (char *)"FlexGridSizer_AddGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42525 { (char *)"FlexGridSizer_RemoveGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42526 { (char *)"FlexGridSizer_SetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_SetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42527 { (char *)"FlexGridSizer_GetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_GetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42528 { (char *)"FlexGridSizer_SetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_SetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42529 { (char *)"FlexGridSizer_GetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_GetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42530 { (char *)"FlexGridSizer_GetRowHeights", (PyCFunction
) _wrap_FlexGridSizer_GetRowHeights
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42531 { (char *)"FlexGridSizer_GetColWidths", (PyCFunction
) _wrap_FlexGridSizer_GetColWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42532 { (char *)"FlexGridSizer_swigregister", FlexGridSizer_swigregister
, METH_VARARGS
, NULL
},
42533 { (char *)"new_GBPosition", (PyCFunction
) _wrap_new_GBPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42534 { (char *)"GBPosition_GetRow", (PyCFunction
) _wrap_GBPosition_GetRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42535 { (char *)"GBPosition_GetCol", (PyCFunction
) _wrap_GBPosition_GetCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42536 { (char *)"GBPosition_SetRow", (PyCFunction
) _wrap_GBPosition_SetRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42537 { (char *)"GBPosition_SetCol", (PyCFunction
) _wrap_GBPosition_SetCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42538 { (char *)"GBPosition___eq__", (PyCFunction
) _wrap_GBPosition___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42539 { (char *)"GBPosition___ne__", (PyCFunction
) _wrap_GBPosition___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42540 { (char *)"GBPosition_Set", (PyCFunction
) _wrap_GBPosition_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42541 { (char *)"GBPosition_Get", (PyCFunction
) _wrap_GBPosition_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42542 { (char *)"GBPosition_swigregister", GBPosition_swigregister
, METH_VARARGS
, NULL
},
42543 { (char *)"new_GBSpan", (PyCFunction
) _wrap_new_GBSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42544 { (char *)"GBSpan_GetRowspan", (PyCFunction
) _wrap_GBSpan_GetRowspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42545 { (char *)"GBSpan_GetColspan", (PyCFunction
) _wrap_GBSpan_GetColspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42546 { (char *)"GBSpan_SetRowspan", (PyCFunction
) _wrap_GBSpan_SetRowspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42547 { (char *)"GBSpan_SetColspan", (PyCFunction
) _wrap_GBSpan_SetColspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42548 { (char *)"GBSpan___eq__", (PyCFunction
) _wrap_GBSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42549 { (char *)"GBSpan___ne__", (PyCFunction
) _wrap_GBSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42550 { (char *)"GBSpan_Set", (PyCFunction
) _wrap_GBSpan_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42551 { (char *)"GBSpan_Get", (PyCFunction
) _wrap_GBSpan_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42552 { (char *)"GBSpan_swigregister", GBSpan_swigregister
, METH_VARARGS
, NULL
},
42553 { (char *)"new_GBSizerItem", (PyCFunction
) _wrap_new_GBSizerItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42554 { (char *)"new_GBSizerItemWindow", (PyCFunction
) _wrap_new_GBSizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42555 { (char *)"new_GBSizerItemSizer", (PyCFunction
) _wrap_new_GBSizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42556 { (char *)"new_GBSizerItemSpacer", (PyCFunction
) _wrap_new_GBSizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42557 { (char *)"GBSizerItem_GetPos", (PyCFunction
) _wrap_GBSizerItem_GetPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42558 { (char *)"GBSizerItem_GetSpan", (PyCFunction
) _wrap_GBSizerItem_GetSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42559 { (char *)"GBSizerItem_SetPos", (PyCFunction
) _wrap_GBSizerItem_SetPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42560 { (char *)"GBSizerItem_SetSpan", (PyCFunction
) _wrap_GBSizerItem_SetSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42561 { (char *)"GBSizerItem_Intersects", (PyCFunction
) _wrap_GBSizerItem_Intersects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42562 { (char *)"GBSizerItem_IntersectsPos", (PyCFunction
) _wrap_GBSizerItem_IntersectsPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42563 { (char *)"GBSizerItem_GetEndPos", (PyCFunction
) _wrap_GBSizerItem_GetEndPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42564 { (char *)"GBSizerItem_GetGBSizer", (PyCFunction
) _wrap_GBSizerItem_GetGBSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42565 { (char *)"GBSizerItem_SetGBSizer", (PyCFunction
) _wrap_GBSizerItem_SetGBSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42566 { (char *)"GBSizerItem_swigregister", GBSizerItem_swigregister
, METH_VARARGS
, NULL
},
42567 { (char *)"new_GridBagSizer", (PyCFunction
) _wrap_new_GridBagSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42568 { (char *)"GridBagSizer_Add", (PyCFunction
) _wrap_GridBagSizer_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42569 { (char *)"GridBagSizer_AddItem", (PyCFunction
) _wrap_GridBagSizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42570 { (char *)"GridBagSizer_GetCellSize", (PyCFunction
) _wrap_GridBagSizer_GetCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42571 { (char *)"GridBagSizer_GetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_GetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42572 { (char *)"GridBagSizer_SetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_SetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42573 { (char *)"GridBagSizer_GetItemPosition", _wrap_GridBagSizer_GetItemPosition
, METH_VARARGS
, NULL
},
42574 { (char *)"GridBagSizer_SetItemPosition", _wrap_GridBagSizer_SetItemPosition
, METH_VARARGS
, NULL
},
42575 { (char *)"GridBagSizer_GetItemSpan", _wrap_GridBagSizer_GetItemSpan
, METH_VARARGS
, NULL
},
42576 { (char *)"GridBagSizer_SetItemSpan", _wrap_GridBagSizer_SetItemSpan
, METH_VARARGS
, NULL
},
42577 { (char *)"GridBagSizer_FindItem", _wrap_GridBagSizer_FindItem
, METH_VARARGS
, NULL
},
42578 { (char *)"GridBagSizer_FindItemAtPosition", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42579 { (char *)"GridBagSizer_FindItemAtPoint", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42580 { (char *)"GridBagSizer_CheckForIntersection", (PyCFunction
) _wrap_GridBagSizer_CheckForIntersection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42581 { (char *)"GridBagSizer_CheckForIntersectionPos", (PyCFunction
) _wrap_GridBagSizer_CheckForIntersectionPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42582 { (char *)"GridBagSizer_swigregister", GridBagSizer_swigregister
, METH_VARARGS
, NULL
},
42583 { (char *)"IndividualLayoutConstraint_Set", (PyCFunction
) _wrap_IndividualLayoutConstraint_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42584 { (char *)"IndividualLayoutConstraint_LeftOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_LeftOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42585 { (char *)"IndividualLayoutConstraint_RightOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_RightOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42586 { (char *)"IndividualLayoutConstraint_Above", (PyCFunction
) _wrap_IndividualLayoutConstraint_Above
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42587 { (char *)"IndividualLayoutConstraint_Below", (PyCFunction
) _wrap_IndividualLayoutConstraint_Below
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42588 { (char *)"IndividualLayoutConstraint_SameAs", (PyCFunction
) _wrap_IndividualLayoutConstraint_SameAs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42589 { (char *)"IndividualLayoutConstraint_PercentOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_PercentOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42590 { (char *)"IndividualLayoutConstraint_Absolute", (PyCFunction
) _wrap_IndividualLayoutConstraint_Absolute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42591 { (char *)"IndividualLayoutConstraint_Unconstrained", (PyCFunction
) _wrap_IndividualLayoutConstraint_Unconstrained
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42592 { (char *)"IndividualLayoutConstraint_AsIs", (PyCFunction
) _wrap_IndividualLayoutConstraint_AsIs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42593 { (char *)"IndividualLayoutConstraint_GetOtherWindow", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42594 { (char *)"IndividualLayoutConstraint_GetMyEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMyEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42595 { (char *)"IndividualLayoutConstraint_SetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42596 { (char *)"IndividualLayoutConstraint_SetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42597 { (char *)"IndividualLayoutConstraint_GetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42598 { (char *)"IndividualLayoutConstraint_SetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42599 { (char *)"IndividualLayoutConstraint_GetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42600 { (char *)"IndividualLayoutConstraint_GetPercent", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetPercent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42601 { (char *)"IndividualLayoutConstraint_GetOtherEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42602 { (char *)"IndividualLayoutConstraint_GetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetDone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42603 { (char *)"IndividualLayoutConstraint_SetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetDone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42604 { (char *)"IndividualLayoutConstraint_GetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetRelationship
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42605 { (char *)"IndividualLayoutConstraint_SetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetRelationship
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42606 { (char *)"IndividualLayoutConstraint_ResetIfWin", (PyCFunction
) _wrap_IndividualLayoutConstraint_ResetIfWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42607 { (char *)"IndividualLayoutConstraint_SatisfyConstraint", (PyCFunction
) _wrap_IndividualLayoutConstraint_SatisfyConstraint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42608 { (char *)"IndividualLayoutConstraint_GetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42609 { (char *)"IndividualLayoutConstraint_swigregister", IndividualLayoutConstraint_swigregister
, METH_VARARGS
, NULL
},
42610 { (char *)"LayoutConstraints_left_get", (PyCFunction
) _wrap_LayoutConstraints_left_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42611 { (char *)"LayoutConstraints_top_get", (PyCFunction
) _wrap_LayoutConstraints_top_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42612 { (char *)"LayoutConstraints_right_get", (PyCFunction
) _wrap_LayoutConstraints_right_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42613 { (char *)"LayoutConstraints_bottom_get", (PyCFunction
) _wrap_LayoutConstraints_bottom_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42614 { (char *)"LayoutConstraints_width_get", (PyCFunction
) _wrap_LayoutConstraints_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42615 { (char *)"LayoutConstraints_height_get", (PyCFunction
) _wrap_LayoutConstraints_height_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42616 { (char *)"LayoutConstraints_centreX_get", (PyCFunction
) _wrap_LayoutConstraints_centreX_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42617 { (char *)"LayoutConstraints_centreY_get", (PyCFunction
) _wrap_LayoutConstraints_centreY_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42618 { (char *)"new_LayoutConstraints", (PyCFunction
) _wrap_new_LayoutConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42619 { (char *)"LayoutConstraints_SatisfyConstraints", (PyCFunction
) _wrap_LayoutConstraints_SatisfyConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42620 { (char *)"LayoutConstraints_AreSatisfied", (PyCFunction
) _wrap_LayoutConstraints_AreSatisfied
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42621 { (char *)"LayoutConstraints_swigregister", LayoutConstraints_swigregister
, METH_VARARGS
, NULL
},
42622 { NULL
, NULL
, 0, NULL
}
42626 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
42628 static void *_p_wxGBSizerItemTo_p_wxSizerItem(void *x
) {
42629 return (void *)((wxSizerItem
*) ((wxGBSizerItem
*) x
));
42631 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
42632 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
42634 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
42635 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
42637 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
42638 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
42640 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
42641 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
42643 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
42644 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
42646 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
42647 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
42649 static void *_p_wxStaticBoxSizerTo_p_wxBoxSizer(void *x
) {
42650 return (void *)((wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
42652 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
42653 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
42655 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
42656 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
42658 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
42659 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
42661 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
42662 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
42664 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
42665 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
42667 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
42668 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
42670 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
42671 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
42673 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
42674 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
42676 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
42677 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
42679 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
42680 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
42682 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
42683 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
42685 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
42686 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
42688 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
42689 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
42691 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
42692 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
42694 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
42695 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
42697 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
42698 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
42700 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
42701 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
42703 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
42704 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
42706 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
42707 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
42709 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
42710 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
42712 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
42713 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
42715 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
42716 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
42718 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
42719 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
42721 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
42722 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
42724 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
42725 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
42727 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
42728 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
42730 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
42731 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
42733 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
42734 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
42736 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
42737 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
42739 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
42740 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
42742 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
42743 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
42745 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
42746 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
42748 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
42749 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
42751 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
42752 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
42754 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
42755 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
42757 static void *_p_wxGridBagSizerTo_p_wxGridSizer(void *x
) {
42758 return (void *)((wxGridSizer
*) (wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
42760 static void *_p_wxFlexGridSizerTo_p_wxGridSizer(void *x
) {
42761 return (void *)((wxGridSizer
*) ((wxFlexGridSizer
*) x
));
42763 static void *_p_wxGridBagSizerTo_p_wxFlexGridSizer(void *x
) {
42764 return (void *)((wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
42766 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
42767 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
42769 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
42770 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
42772 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
42773 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
42775 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
42776 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
42778 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
42779 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
42781 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
42782 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
42784 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
42785 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
42787 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
42788 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
42790 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
42791 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
42793 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
42794 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
42796 static void *_p_wxANIHandlerTo_p_wxCURHandler(void *x
) {
42797 return (void *)((wxCURHandler
*) ((wxANIHandler
*) x
));
42799 static void *_p_wxCURHandlerTo_p_wxICOHandler(void *x
) {
42800 return (void *)((wxICOHandler
*) ((wxCURHandler
*) x
));
42802 static void *_p_wxANIHandlerTo_p_wxICOHandler(void *x
) {
42803 return (void *)((wxICOHandler
*) (wxCURHandler
*) ((wxANIHandler
*) x
));
42805 static void *_p_wxICOHandlerTo_p_wxBMPHandler(void *x
) {
42806 return (void *)((wxBMPHandler
*) ((wxICOHandler
*) x
));
42808 static void *_p_wxCURHandlerTo_p_wxBMPHandler(void *x
) {
42809 return (void *)((wxBMPHandler
*) (wxICOHandler
*) ((wxCURHandler
*) x
));
42811 static void *_p_wxANIHandlerTo_p_wxBMPHandler(void *x
) {
42812 return (void *)((wxBMPHandler
*) (wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
42814 static void *_p_wxBMPHandlerTo_p_wxImageHandler(void *x
) {
42815 return (void *)((wxImageHandler
*) ((wxBMPHandler
*) x
));
42817 static void *_p_wxICOHandlerTo_p_wxImageHandler(void *x
) {
42818 return (void *)((wxImageHandler
*) (wxBMPHandler
*) ((wxICOHandler
*) x
));
42820 static void *_p_wxCURHandlerTo_p_wxImageHandler(void *x
) {
42821 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
42823 static void *_p_wxANIHandlerTo_p_wxImageHandler(void *x
) {
42824 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
42826 static void *_p_wxPNGHandlerTo_p_wxImageHandler(void *x
) {
42827 return (void *)((wxImageHandler
*) ((wxPNGHandler
*) x
));
42829 static void *_p_wxGIFHandlerTo_p_wxImageHandler(void *x
) {
42830 return (void *)((wxImageHandler
*) ((wxGIFHandler
*) x
));
42832 static void *_p_wxPCXHandlerTo_p_wxImageHandler(void *x
) {
42833 return (void *)((wxImageHandler
*) ((wxPCXHandler
*) x
));
42835 static void *_p_wxJPEGHandlerTo_p_wxImageHandler(void *x
) {
42836 return (void *)((wxImageHandler
*) ((wxJPEGHandler
*) x
));
42838 static void *_p_wxPNMHandlerTo_p_wxImageHandler(void *x
) {
42839 return (void *)((wxImageHandler
*) ((wxPNMHandler
*) x
));
42841 static void *_p_wxXPMHandlerTo_p_wxImageHandler(void *x
) {
42842 return (void *)((wxImageHandler
*) ((wxXPMHandler
*) x
));
42844 static void *_p_wxTIFFHandlerTo_p_wxImageHandler(void *x
) {
42845 return (void *)((wxImageHandler
*) ((wxTIFFHandler
*) x
));
42847 static void *_p_wxPyFileSystemHandlerTo_p_wxFileSystemHandler(void *x
) {
42848 return (void *)((wxFileSystemHandler
*) ((wxPyFileSystemHandler
*) x
));
42850 static void *_p_wxInternetFSHandlerTo_p_wxFileSystemHandler(void *x
) {
42851 return (void *)((wxFileSystemHandler
*) ((wxInternetFSHandler
*) x
));
42853 static void *_p_wxZipFSHandlerTo_p_wxFileSystemHandler(void *x
) {
42854 return (void *)((wxFileSystemHandler
*) ((wxZipFSHandler
*) x
));
42856 static void *_p_wxMemoryFSHandlerTo_p_wxFileSystemHandler(void *x
) {
42857 return (void *)((wxFileSystemHandler
*) ((wxMemoryFSHandler
*) x
));
42859 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
42860 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
42862 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
42863 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
42865 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
42866 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
42868 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
42869 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
42871 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
42872 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
42874 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
42875 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
42877 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
42878 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
42880 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
42881 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
42883 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
42884 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
42886 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
42887 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
42889 static void *_p_wxSizerTo_p_wxObject(void *x
) {
42890 return (void *)((wxObject
*) ((wxSizer
*) x
));
42892 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
42893 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
42895 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
42896 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
42898 static void *_p_wxMenuTo_p_wxObject(void *x
) {
42899 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
42901 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
42902 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
42904 static void *_p_wxImageTo_p_wxObject(void *x
) {
42905 return (void *)((wxObject
*) ((wxImage
*) x
));
42907 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
42908 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
42910 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
42911 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
42913 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
42914 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
42916 static void *_p_wxWindowTo_p_wxObject(void *x
) {
42917 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
42919 static void *_p_wxControlTo_p_wxObject(void *x
) {
42920 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
42922 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
42923 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
42925 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
42926 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
42928 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
42929 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
42931 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
42932 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
42934 static void *_p_wxEventTo_p_wxObject(void *x
) {
42935 return (void *)((wxObject
*) ((wxEvent
*) x
));
42937 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
42938 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
42940 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
42941 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
42943 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
42944 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
42946 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
42947 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
42949 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
42950 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
42952 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
42953 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
42955 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
42956 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
42958 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
42959 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
42961 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
42962 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
42964 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
42965 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
42967 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
42968 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
42970 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
42971 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
42973 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
42974 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
42976 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
42977 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
42979 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
42980 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
42982 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
42983 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
42985 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
42986 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
42988 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
42989 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
42991 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
42992 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
42994 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
42995 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
42997 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
42998 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
43000 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
43001 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
43003 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
43004 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
43006 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
43007 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
43009 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
43010 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
43012 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
43013 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
43015 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
43016 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
43018 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
43019 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
43021 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
43022 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
43024 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
43025 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
43027 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
43028 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
43030 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
43031 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
43033 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
43034 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
43036 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
43037 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
43039 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
43040 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
43042 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
43043 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
43045 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
43046 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
43048 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
43049 return (void *)((wxObject
*) ((wxFSFile
*) x
));
43051 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
43052 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
43054 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
43055 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
43057 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
43058 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
43060 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
43061 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
43063 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
43064 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
43066 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
43067 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
43069 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
43070 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
43072 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
43073 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
43075 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
43076 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
43078 static void *_p_wxControlTo_p_wxWindow(void *x
) {
43079 return (void *)((wxWindow
*) ((wxControl
*) x
));
43081 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
43082 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
43084 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
43085 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
43087 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
43088 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
43090 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
43091 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
43093 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
43094 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
43096 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
43097 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
43099 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
43100 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
43102 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
43103 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
43105 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
43106 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
43108 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
43109 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
43111 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
43112 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
43114 static swig_type_info _swigt__p_wxLayoutConstraints
[] = {{"_p_wxLayoutConstraints", 0, "wxLayoutConstraints *", 0, 0, 0, 0},{"_p_wxLayoutConstraints", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
43115 static swig_type_info _swigt__p_wxRealPoint
[] = {{"_p_wxRealPoint", 0, "wxRealPoint *", 0, 0, 0, 0},{"_p_wxRealPoint", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
43116 static swig_type_info _swigt__p_wxSizerItem
[] = {{"_p_wxSizerItem", 0, "wxSizerItem *", 0, 0, 0, 0},{"_p_wxSizerItem", 0, 0, 0, 0, 0, 0},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxSizerItem
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
43117 static swig_type_info _swigt__p_wxGBSizerItem
[] = {{"_p_wxGBSizerItem", 0, "wxGBSizerItem *", 0, 0, 0, 0},{"_p_wxGBSizerItem", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
43118 static swig_type_info _swigt__p_wxScrollEvent
[] = {{"_p_wxScrollEvent", 0, "wxScrollEvent *", 0, 0, 0, 0},{"_p_wxScrollEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
43119 static swig_type_info _swigt__p_wxEventLoop
[] = {{"_p_wxEventLoop", 0, "wxEventLoop *", 0, 0, 0, 0},{"_p_wxEventLoop", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
43120 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
[] = {{"_p_wxIndividualLayoutConstraint", 0, "wxIndividualLayoutConstraint *", 0, 0, 0, 0},{"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
43121 static swig_type_info _swigt__p_wxSizer
[] = {{"_p_wxSizer", 0, "wxSizer *", 0, 0, 0, 0},{"_p_wxSizer", 0, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxSizer
, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxSizer
, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxSizer
, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxSizer
, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxSizer
, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxSizer
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
43122 static swig_type_info _swigt__p_wxBoxSizer
[] = {{"_p_wxBoxSizer", 0, "wxBoxSizer *", 0, 0, 0, 0},{"_p_wxBoxSizer", 0, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxBoxSizer
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
43123 static swig_type_info _swigt__p_wxStaticBoxSizer
[] = {{"_p_wxStaticBoxSizer", 0, "wxStaticBoxSizer *", 0, 0, 0, 0},{"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
43124 static swig_type_info _swigt__p_wxGridBagSizer
[] = {{"_p_wxGridBagSizer", 0, "wxGridBagSizer *", 0, 0, 0, 0},{"_p_wxGridBagSizer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
43125 static swig_type_info _swigt__p_wxAcceleratorEntry
[] = {{"_p_wxAcceleratorEntry", 0, "wxAcceleratorEntry *", 0, 0, 0, 0},{"_p_wxAcceleratorEntry", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
43126 static swig_type_info _swigt__p_wxUpdateUIEvent
[] = {{"_p_wxUpdateUIEvent", 0, "wxUpdateUIEvent *", 0, 0, 0, 0},{"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
43127 static swig_type_info _swigt__p_wxMenu
[] = {{"_p_wxMenu", 0, "wxMenu *", 0, 0, 0, 0},{"_p_wxMenu", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
43128 static swig_type_info _swigt__p_wxEvent
[] = {{"_p_wxEvent", 0, "wxEvent *", 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxEvent", 0, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
43129 static swig_type_info _swigt__p_wxGridSizer
[] = {{"_p_wxGridSizer", 0, "wxGridSizer *", 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxGridSizer
, 0, 0, 0, 0, 0},{"_p_wxGridSizer", 0, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxGridSizer
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
43130 static swig_type_info _swigt__p_wxFlexGridSizer
[] = {{"_p_wxFlexGridSizer", 0, "wxFlexGridSizer *", 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxFlexGridSizer
, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
43131 static swig_type_info _swigt__p_wxInitDialogEvent
[] = {{"_p_wxInitDialogEvent", 0, "wxInitDialogEvent *", 0, 0, 0, 0},{"_p_wxInitDialogEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
43132 static swig_type_info _swigt__p_wxItemContainer
[] = {{"_p_wxItemContainer", 0, "wxItemContainer *", 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxItemContainer
, 0, 0, 0, 0, 0},{"_p_wxItemContainer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
43133 static swig_type_info _swigt__p_wxNcPaintEvent
[] = {{"_p_wxNcPaintEvent", 0, "wxNcPaintEvent *", 0, 0, 0, 0},{"_p_wxNcPaintEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
43134 static swig_type_info _swigt__p_wxPaintEvent
[] = {{"_p_wxPaintEvent", 0, "wxPaintEvent *", 0, 0, 0, 0},{"_p_wxPaintEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
43135 static swig_type_info _swigt__p_wxSysColourChangedEvent
[] = {{"_p_wxSysColourChangedEvent", 0, "wxSysColourChangedEvent *", 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
43136 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
[] = {{"_p_wxMouseCaptureChangedEvent", 0, "wxMouseCaptureChangedEvent *", 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
43137 static swig_type_info _swigt__p_wxDisplayChangedEvent
[] = {{"_p_wxDisplayChangedEvent", 0, "wxDisplayChangedEvent *", 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
43138 static swig_type_info _swigt__p_wxPaletteChangedEvent
[] = {{"_p_wxPaletteChangedEvent", 0, "wxPaletteChangedEvent *", 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
43139 static swig_type_info _swigt__p_wxControl
[] = {{"_p_wxControl", 0, "wxControl *", 0, 0, 0, 0},{"_p_wxControl", 0, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxControl
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
43140 static swig_type_info _swigt__p_wxFont
[] = {{"_p_wxFont", 0, "wxFont *", 0, 0, 0, 0},{"_p_wxFont", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
43141 static swig_type_info _swigt__p_wxMenuBarBase
[] = {{"_p_wxMenuBarBase", 0, "wxMenuBarBase *", 0, 0, 0, 0},{"_p_wxMenuBarBase", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
43142 static swig_type_info _swigt__p_wxSetCursorEvent
[] = {{"_p_wxSetCursorEvent", 0, "wxSetCursorEvent *", 0, 0, 0, 0},{"_p_wxSetCursorEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
43143 static swig_type_info _swigt__p_wxFSFile
[] = {{"_p_wxFSFile", 0, "wxFSFile *", 0, 0, 0, 0},{"_p_wxFSFile", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
43144 static swig_type_info _swigt__p_wxCaret
[] = {{"_p_wxCaret", 0, "wxCaret *", 0, 0, 0, 0},{"_p_wxCaret", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
43145 static swig_type_info _swigt__p_wxRegion
[] = {{"_p_wxRegion", 0, "wxRegion *", 0, 0, 0, 0},{"_p_wxRegion", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
43146 static swig_type_info _swigt__p_wxPoint2D
[] = {{"_p_wxPoint2D", 0, "wxPoint2D *", 0, 0, 0, 0},{"_p_wxPoint2D", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
43147 static swig_type_info _swigt__p_int
[] = {{"_p_int", 0, "int *", 0, 0, 0, 0},{"_p_int", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
43148 static swig_type_info _swigt__p_wxSize
[] = {{"_p_wxSize", 0, "wxSize *", 0, 0, 0, 0},{"_p_wxSize", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
43149 static swig_type_info _swigt__p_wxDC
[] = {{"_p_wxDC", 0, "wxDC *", 0, 0, 0, 0},{"_p_wxDC", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
43150 static swig_type_info _swigt__p_wxPySizer
[] = {{"_p_wxPySizer", 0, "wxPySizer *", 0, 0, 0, 0},{"_p_wxPySizer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
43151 static swig_type_info _swigt__p_wxVisualAttributes
[] = {{"_p_wxVisualAttributes", 0, "wxVisualAttributes *", 0, 0, 0, 0},{"_p_wxVisualAttributes", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
43152 static swig_type_info _swigt__p_wxNotifyEvent
[] = {{"_p_wxNotifyEvent", 0, "wxNotifyEvent *", 0, 0, 0, 0},{"_p_wxNotifyEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
43153 static swig_type_info _swigt__p_wxPyEvent
[] = {{"_p_wxPyEvent", 0, "wxPyEvent *", 0, 0, 0, 0},{"_p_wxPyEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
43154 static swig_type_info _swigt__p_wxPropagationDisabler
[] = {{"_p_wxPropagationDisabler", 0, "wxPropagationDisabler *", 0, 0, 0, 0},{"_p_wxPropagationDisabler", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
43155 static swig_type_info _swigt__p_wxAppTraits
[] = {{"_p_wxAppTraits", 0, "wxAppTraits *", 0, 0, 0, 0},{"_p_wxAppTraits", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
43156 static swig_type_info _swigt__p_wxArrayString
[] = {{"_p_wxArrayString", 0, "wxArrayString *", 0, 0, 0, 0},{"_p_wxArrayString", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
43157 static swig_type_info _swigt__p_wxShowEvent
[] = {{"_p_wxShowEvent", 0, "wxShowEvent *", 0, 0, 0, 0},{"_p_wxShowEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
43158 static swig_type_info _swigt__p_wxToolTip
[] = {{"_p_wxToolTip", 0, "wxToolTip *", 0, 0, 0, 0},{"_p_wxToolTip", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
43159 static swig_type_info _swigt__p_wxIconizeEvent
[] = {{"_p_wxIconizeEvent", 0, "wxIconizeEvent *", 0, 0, 0, 0},{"_p_wxIconizeEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
43160 static swig_type_info _swigt__p_wxActivateEvent
[] = {{"_p_wxActivateEvent", 0, "wxActivateEvent *", 0, 0, 0, 0},{"_p_wxActivateEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
43161 static swig_type_info _swigt__p_wxMoveEvent
[] = {{"_p_wxMoveEvent", 0, "wxMoveEvent *", 0, 0, 0, 0},{"_p_wxMoveEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
43162 static swig_type_info _swigt__p_wxSizeEvent
[] = {{"_p_wxSizeEvent", 0, "wxSizeEvent *", 0, 0, 0, 0},{"_p_wxSizeEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
43163 static swig_type_info _swigt__p_wxMaximizeEvent
[] = {{"_p_wxMaximizeEvent", 0, "wxMaximizeEvent *", 0, 0, 0, 0},{"_p_wxMaximizeEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
43164 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
[] = {{"_p_wxQueryNewPaletteEvent", 0, "wxQueryNewPaletteEvent *", 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
43165 static swig_type_info _swigt__p_wxWindowCreateEvent
[] = {{"_p_wxWindowCreateEvent", 0, "wxWindowCreateEvent *", 0, 0, 0, 0},{"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
43166 static swig_type_info _swigt__p_wxIdleEvent
[] = {{"_p_wxIdleEvent", 0, "wxIdleEvent *", 0, 0, 0, 0},{"_p_wxIdleEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
43167 static swig_type_info _swigt__p_wxMenuItem
[] = {{"_p_wxMenuItem", 0, "wxMenuItem *", 0, 0, 0, 0},{"_p_wxMenuItem", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
43168 static swig_type_info _swigt__p_wxStaticBox
[] = {{"_p_wxStaticBox", 0, "wxStaticBox *", 0, 0, 0, 0},{"_p_wxStaticBox", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
43169 static swig_type_info _swigt__p_long
[] = {{"_p_long", 0, "long *", 0, 0, 0, 0},{"_p_long", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
43170 static swig_type_info _swigt__p_wxTIFFHandler
[] = {{"_p_wxTIFFHandler", 0, "wxTIFFHandler *", 0, 0, 0, 0},{"_p_wxTIFFHandler", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
43171 static swig_type_info _swigt__p_wxXPMHandler
[] = {{"_p_wxXPMHandler", 0, "wxXPMHandler *", 0, 0, 0, 0},{"_p_wxXPMHandler", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
43172 static swig_type_info _swigt__p_wxPNMHandler
[] = {{"_p_wxPNMHandler", 0, "wxPNMHandler *", 0, 0, 0, 0},{"_p_wxPNMHandler", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
43173 static swig_type_info _swigt__p_wxJPEGHandler
[] = {{"_p_wxJPEGHandler", 0, "wxJPEGHandler *", 0, 0, 0, 0},{"_p_wxJPEGHandler", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
43174 static swig_type_info _swigt__p_wxPCXHandler
[] = {{"_p_wxPCXHandler", 0, "wxPCXHandler *", 0, 0, 0, 0},{"_p_wxPCXHandler", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
43175 static swig_type_info _swigt__p_wxGIFHandler
[] = {{"_p_wxGIFHandler", 0, "wxGIFHandler *", 0, 0, 0, 0},{"_p_wxGIFHandler", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
43176 static swig_type_info _swigt__p_wxPNGHandler
[] = {{"_p_wxPNGHandler", 0, "wxPNGHandler *", 0, 0, 0, 0},{"_p_wxPNGHandler", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
43177 static swig_type_info _swigt__p_wxANIHandler
[] = {{"_p_wxANIHandler", 0, "wxANIHandler *", 0, 0, 0, 0},{"_p_wxANIHandler", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
43178 static swig_type_info _swigt__p_wxMemoryFSHandler
[] = {{"_p_wxMemoryFSHandler", 0, "wxMemoryFSHandler *", 0, 0, 0, 0},{"_p_wxMemoryFSHandler", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
43179 static swig_type_info _swigt__p_wxEvtHandler
[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", 0, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
43180 static swig_type_info _swigt__p_wxCURHandler
[] = {{"_p_wxCURHandler", 0, "wxCURHandler *", 0, 0, 0, 0},{"_p_wxCURHandler", 0, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxCURHandler
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
43181 static swig_type_info _swigt__p_wxICOHandler
[] = {{"_p_wxICOHandler", 0, "wxICOHandler *", 0, 0, 0, 0},{"_p_wxICOHandler", 0, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxICOHandler
, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxICOHandler
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
43182 static swig_type_info _swigt__p_wxBMPHandler
[] = {{"_p_wxBMPHandler", 0, "wxBMPHandler *", 0, 0, 0, 0},{"_p_wxBMPHandler", 0, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxBMPHandler
, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxBMPHandler
, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxBMPHandler
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
43183 static swig_type_info _swigt__p_wxImageHandler
[] = {{"_p_wxImageHandler", 0, "wxImageHandler *", 0, 0, 0, 0},{"_p_wxImageHandler", 0, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxImageHandler
, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxImageHandler
, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxImageHandler
, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxImageHandler
, 0, 0, 0, 0, 0},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxImageHandler
, 0, 0, 0, 0, 0},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxImageHandler
, 0, 0, 0, 0, 0},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxImageHandler
, 0, 0, 0, 0, 0},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxImageHandler
, 0, 0, 0, 0, 0},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxImageHandler
, 0, 0, 0, 0, 0},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxImageHandler
, 0, 0, 0, 0, 0},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxImageHandler
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
43184 static swig_type_info _swigt__p_wxFileSystemHandler
[] = {{"_p_wxFileSystemHandler", 0, "wxFileSystemHandler *", 0, 0, 0, 0},{"_p_wxFileSystemHandler", 0, 0, 0, 0, 0, 0},{"_p_wxPyFileSystemHandler", _p_wxPyFileSystemHandlerTo_p_wxFileSystemHandler
, 0, 0, 0, 0, 0},{"_p_wxInternetFSHandler", _p_wxInternetFSHandlerTo_p_wxFileSystemHandler
, 0, 0, 0, 0, 0},{"_p_wxZipFSHandler", _p_wxZipFSHandlerTo_p_wxFileSystemHandler
, 0, 0, 0, 0, 0},{"_p_wxMemoryFSHandler", _p_wxMemoryFSHandlerTo_p_wxFileSystemHandler
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
43185 static swig_type_info _swigt__p_wxPyFileSystemHandler
[] = {{"_p_wxPyFileSystemHandler", 0, "wxPyFileSystemHandler *", 0, 0, 0, 0},{"_p_wxPyFileSystemHandler", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
43186 static swig_type_info _swigt__p_wxInternetFSHandler
[] = {{"_p_wxInternetFSHandler", 0, "wxInternetFSHandler *", 0, 0, 0, 0},{"_p_wxInternetFSHandler", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
43187 static swig_type_info _swigt__p_wxZipFSHandler
[] = {{"_p_wxZipFSHandler", 0, "wxZipFSHandler *", 0, 0, 0, 0},{"_p_wxZipFSHandler", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
43188 static swig_type_info _swigt__p_wxRect
[] = {{"_p_wxRect", 0, "wxRect *", 0, 0, 0, 0},{"_p_wxRect", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
43189 static swig_type_info _swigt__p_wxGBSpan
[] = {{"_p_wxGBSpan", 0, "wxGBSpan *", 0, 0, 0, 0},{"_p_wxGBSpan", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
43190 static swig_type_info _swigt__p_wxPropagateOnce
[] = {{"_p_wxPropagateOnce", 0, "wxPropagateOnce *", 0, 0, 0, 0},{"_p_wxPropagateOnce", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
43191 static swig_type_info _swigt__p_wxAcceleratorTable
[] = {{"_p_wxAcceleratorTable", 0, "wxAcceleratorTable *", 0, 0, 0, 0},{"_p_wxAcceleratorTable", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
43192 static swig_type_info _swigt__p_char
[] = {{"_p_char", 0, "char *", 0, 0, 0, 0},{"_p_char", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
43193 static swig_type_info _swigt__p_wxGBPosition
[] = {{"_p_wxGBPosition", 0, "wxGBPosition *", 0, 0, 0, 0},{"_p_wxGBPosition", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
43194 static swig_type_info _swigt__p_wxImage
[] = {{"_p_wxImage", 0, "wxImage *", 0, 0, 0, 0},{"_p_wxImage", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
43195 static swig_type_info _swigt__p_wxFrame
[] = {{"_p_wxFrame", 0, "wxFrame *", 0, 0, 0, 0},{"_p_wxFrame", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
43196 static swig_type_info _swigt__p_wxScrollWinEvent
[] = {{"_p_wxScrollWinEvent", 0, "wxScrollWinEvent *", 0, 0, 0, 0},{"_p_wxScrollWinEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
43197 static swig_type_info _swigt__p_wxImageHistogram
[] = {{"_p_wxImageHistogram", 0, "wxImageHistogram *", 0, 0, 0, 0},{"_p_wxImageHistogram", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
43198 static swig_type_info _swigt__p_byte
[] = {{"_p_byte", 0, "unsigned char *|byte *", 0, 0, 0, 0},{"_p_unsigned_char", 0, 0, 0, 0, 0, 0},{"_p_byte", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
43199 static swig_type_info _swigt__p_wxPoint
[] = {{"_p_wxPoint", 0, "wxPoint *", 0, 0, 0, 0},{"_p_wxPoint", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
43200 static swig_type_info _swigt__p_wxCursor
[] = {{"_p_wxCursor", 0, "wxCursor *", 0, 0, 0, 0},{"_p_wxCursor", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
43201 static swig_type_info _swigt__p_wxObject
[] = {{"_p_wxObject", 0, "wxObject *", 0, 0, 0, 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizer", _p_wxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEvent", _p_wxEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxImage", _p_wxImageTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxObject", 0, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
43202 static swig_type_info _swigt__p_wxPyInputStream
[] = {{"_p_wxPyInputStream", 0, "wxPyInputStream *", 0, 0, 0, 0},{"_p_wxPyInputStream", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
43203 static swig_type_info _swigt__p_wxOutputStream
[] = {{"_p_wxOutputStream", 0, "wxOutputStream *", 0, 0, 0, 0},{"_p_wxOutputStream", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
43204 static swig_type_info _swigt__p_wxInputStream
[] = {{"_p_wxInputStream", 0, "wxInputStream *", 0, 0, 0, 0},{"_p_wxInputStream", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
43205 static swig_type_info _swigt__p_wxDateTime
[] = {{"_p_wxDateTime", 0, "wxDateTime *", 0, 0, 0, 0},{"_p_wxDateTime", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
43206 static swig_type_info _swigt__p_wxKeyEvent
[] = {{"_p_wxKeyEvent", 0, "wxKeyEvent *", 0, 0, 0, 0},{"_p_wxKeyEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
43207 static swig_type_info _swigt__p_wxNavigationKeyEvent
[] = {{"_p_wxNavigationKeyEvent", 0, "wxNavigationKeyEvent *", 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
43208 static swig_type_info _swigt__p_wxWindowDestroyEvent
[] = {{"_p_wxWindowDestroyEvent", 0, "wxWindowDestroyEvent *", 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
43209 static swig_type_info _swigt__p_wxWindow
[] = {{"_p_wxWindow", 0, "wxWindow *", 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxWindow", 0, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
43210 static swig_type_info _swigt__p_wxMenuBar
[] = {{"_p_wxMenuBar", 0, "wxMenuBar *", 0, 0, 0, 0},{"_p_wxMenuBar", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
43211 static swig_type_info _swigt__p_wxFileSystem
[] = {{"_p_wxFileSystem", 0, "wxFileSystem *", 0, 0, 0, 0},{"_p_wxFileSystem", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
43212 static swig_type_info _swigt__p_wxBitmap
[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0, 0, 0, 0},{"_p_wxBitmap", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
43213 static swig_type_info _swigt__p_wxMenuEvent
[] = {{"_p_wxMenuEvent", 0, "wxMenuEvent *", 0, 0, 0, 0},{"_p_wxMenuEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
43214 static swig_type_info _swigt__p_wxContextMenuEvent
[] = {{"_p_wxContextMenuEvent", 0, "wxContextMenuEvent *", 0, 0, 0, 0},{"_p_wxContextMenuEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
43215 static swig_type_info _swigt__p_unsigned_char
[] = {{"_p_unsigned_char", 0, "unsigned char *", 0, 0, 0, 0},{"_p_unsigned_char", 0, 0, 0, 0, 0, 0},{"_p_byte", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
43216 static swig_type_info _swigt__p_wxCloseEvent
[] = {{"_p_wxCloseEvent", 0, "wxCloseEvent *", 0, 0, 0, 0},{"_p_wxCloseEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
43217 static swig_type_info _swigt__p_wxEraseEvent
[] = {{"_p_wxEraseEvent", 0, "wxEraseEvent *", 0, 0, 0, 0},{"_p_wxEraseEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
43218 static swig_type_info _swigt__p_wxMouseEvent
[] = {{"_p_wxMouseEvent", 0, "wxMouseEvent *", 0, 0, 0, 0},{"_p_wxMouseEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
43219 static swig_type_info _swigt__p_wxPyApp
[] = {{"_p_wxPyApp", 0, "wxPyApp *", 0, 0, 0, 0},{"_p_wxPyApp", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
43220 static swig_type_info _swigt__p_wxCommandEvent
[] = {{"_p_wxCommandEvent", 0, "wxCommandEvent *", 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", 0, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
43221 static swig_type_info _swigt__p_wxPyCommandEvent
[] = {{"_p_wxPyCommandEvent", 0, "wxPyCommandEvent *", 0, 0, 0, 0},{"_p_wxPyCommandEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
43222 static swig_type_info _swigt__p_wxPyDropTarget
[] = {{"_p_wxPyDropTarget", 0, "wxPyDropTarget *", 0, 0, 0, 0},{"_p_wxPyDropTarget", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
43223 static swig_type_info _swigt__p_wxQuantize
[] = {{"_p_wxQuantize", 0, "wxQuantize *", 0, 0, 0, 0},{"_p_wxQuantize", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
43224 static swig_type_info _swigt__p_wxChildFocusEvent
[] = {{"_p_wxChildFocusEvent", 0, "wxChildFocusEvent *", 0, 0, 0, 0},{"_p_wxChildFocusEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
43225 static swig_type_info _swigt__p_wxFocusEvent
[] = {{"_p_wxFocusEvent", 0, "wxFocusEvent *", 0, 0, 0, 0},{"_p_wxFocusEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
43226 static swig_type_info _swigt__p_wxDropFilesEvent
[] = {{"_p_wxDropFilesEvent", 0, "wxDropFilesEvent *", 0, 0, 0, 0},{"_p_wxDropFilesEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
43227 static swig_type_info _swigt__p_wxControlWithItems
[] = {{"_p_wxControlWithItems", 0, "wxControlWithItems *", 0, 0, 0, 0},{"_p_wxControlWithItems", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
43228 static swig_type_info _swigt__p_wxColour
[] = {{"_p_wxColour", 0, "wxColour *", 0, 0, 0, 0},{"_p_wxColour", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
43229 static swig_type_info _swigt__p_wxValidator
[] = {{"_p_wxValidator", 0, "wxValidator *", 0, 0, 0, 0},{"_p_wxValidator", 0, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxValidator
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
43230 static swig_type_info _swigt__p_wxPyValidator
[] = {{"_p_wxPyValidator", 0, "wxPyValidator *", 0, 0, 0, 0},{"_p_wxPyValidator", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
43232 static swig_type_info
*swig_types_initial
[] = {
43233 _swigt__p_wxLayoutConstraints
,
43234 _swigt__p_wxRealPoint
,
43235 _swigt__p_wxSizerItem
,
43236 _swigt__p_wxGBSizerItem
,
43237 _swigt__p_wxScrollEvent
,
43238 _swigt__p_wxEventLoop
,
43239 _swigt__p_wxIndividualLayoutConstraint
,
43241 _swigt__p_wxBoxSizer
,
43242 _swigt__p_wxStaticBoxSizer
,
43243 _swigt__p_wxGridBagSizer
,
43244 _swigt__p_wxAcceleratorEntry
,
43245 _swigt__p_wxUpdateUIEvent
,
43248 _swigt__p_wxGridSizer
,
43249 _swigt__p_wxFlexGridSizer
,
43250 _swigt__p_wxInitDialogEvent
,
43251 _swigt__p_wxItemContainer
,
43252 _swigt__p_wxNcPaintEvent
,
43253 _swigt__p_wxPaintEvent
,
43254 _swigt__p_wxSysColourChangedEvent
,
43255 _swigt__p_wxMouseCaptureChangedEvent
,
43256 _swigt__p_wxDisplayChangedEvent
,
43257 _swigt__p_wxPaletteChangedEvent
,
43258 _swigt__p_wxControl
,
43260 _swigt__p_wxMenuBarBase
,
43261 _swigt__p_wxSetCursorEvent
,
43262 _swigt__p_wxFSFile
,
43264 _swigt__p_wxRegion
,
43265 _swigt__p_wxPoint2D
,
43269 _swigt__p_wxPySizer
,
43270 _swigt__p_wxVisualAttributes
,
43271 _swigt__p_wxNotifyEvent
,
43272 _swigt__p_wxPyEvent
,
43273 _swigt__p_wxPropagationDisabler
,
43274 _swigt__p_wxAppTraits
,
43275 _swigt__p_wxArrayString
,
43276 _swigt__p_wxShowEvent
,
43277 _swigt__p_wxToolTip
,
43278 _swigt__p_wxIconizeEvent
,
43279 _swigt__p_wxActivateEvent
,
43280 _swigt__p_wxMoveEvent
,
43281 _swigt__p_wxSizeEvent
,
43282 _swigt__p_wxMaximizeEvent
,
43283 _swigt__p_wxQueryNewPaletteEvent
,
43284 _swigt__p_wxWindowCreateEvent
,
43285 _swigt__p_wxIdleEvent
,
43286 _swigt__p_wxMenuItem
,
43287 _swigt__p_wxStaticBox
,
43289 _swigt__p_wxTIFFHandler
,
43290 _swigt__p_wxXPMHandler
,
43291 _swigt__p_wxPNMHandler
,
43292 _swigt__p_wxJPEGHandler
,
43293 _swigt__p_wxPCXHandler
,
43294 _swigt__p_wxGIFHandler
,
43295 _swigt__p_wxPNGHandler
,
43296 _swigt__p_wxANIHandler
,
43297 _swigt__p_wxMemoryFSHandler
,
43298 _swigt__p_wxEvtHandler
,
43299 _swigt__p_wxCURHandler
,
43300 _swigt__p_wxICOHandler
,
43301 _swigt__p_wxBMPHandler
,
43302 _swigt__p_wxImageHandler
,
43303 _swigt__p_wxFileSystemHandler
,
43304 _swigt__p_wxPyFileSystemHandler
,
43305 _swigt__p_wxInternetFSHandler
,
43306 _swigt__p_wxZipFSHandler
,
43308 _swigt__p_wxGBSpan
,
43309 _swigt__p_wxPropagateOnce
,
43310 _swigt__p_wxAcceleratorTable
,
43312 _swigt__p_wxGBPosition
,
43315 _swigt__p_wxScrollWinEvent
,
43316 _swigt__p_wxImageHistogram
,
43319 _swigt__p_wxCursor
,
43320 _swigt__p_wxObject
,
43321 _swigt__p_wxPyInputStream
,
43322 _swigt__p_wxOutputStream
,
43323 _swigt__p_wxInputStream
,
43324 _swigt__p_wxDateTime
,
43325 _swigt__p_wxKeyEvent
,
43326 _swigt__p_wxNavigationKeyEvent
,
43327 _swigt__p_wxWindowDestroyEvent
,
43328 _swigt__p_wxWindow
,
43329 _swigt__p_wxMenuBar
,
43330 _swigt__p_wxFileSystem
,
43331 _swigt__p_wxBitmap
,
43332 _swigt__p_wxMenuEvent
,
43333 _swigt__p_wxContextMenuEvent
,
43334 _swigt__p_unsigned_char
,
43335 _swigt__p_wxCloseEvent
,
43336 _swigt__p_wxEraseEvent
,
43337 _swigt__p_wxMouseEvent
,
43339 _swigt__p_wxCommandEvent
,
43340 _swigt__p_wxPyCommandEvent
,
43341 _swigt__p_wxPyDropTarget
,
43342 _swigt__p_wxQuantize
,
43343 _swigt__p_wxChildFocusEvent
,
43344 _swigt__p_wxFocusEvent
,
43345 _swigt__p_wxDropFilesEvent
,
43346 _swigt__p_wxControlWithItems
,
43347 _swigt__p_wxColour
,
43348 _swigt__p_wxValidator
,
43349 _swigt__p_wxPyValidator
,
43354 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
43356 static swig_const_info swig_const_table
[] = {
43357 {0, 0, 0, 0.0, 0, 0}};
43366 SWIGEXPORT(void) SWIG_init(void) {
43367 static PyObject
*SWIG_globals
= 0;
43368 static int typeinit
= 0;
43371 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
43372 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
43373 d
= PyModule_GetDict(m
);
43376 for (i
= 0; swig_types_initial
[i
]; i
++) {
43377 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
43381 SWIG_InstallConstants(d
,swig_const_table
);
43384 #ifndef wxPyUSE_EXPORT
43385 // Make our API structure a CObject so other modules can import it
43386 // from this module.
43387 PyObject
* cobj
= PyCObject_FromVoidPtr(&API
, NULL
);
43388 PyDict_SetItemString(d
,"_wxPyCoreAPI", cobj
);
43392 PyDict_SetItemString(d
,"NOT_FOUND", SWIG_From_int((int)wxNOT_FOUND
));
43393 PyDict_SetItemString(d
,"VSCROLL", SWIG_From_int((int)wxVSCROLL
));
43394 PyDict_SetItemString(d
,"HSCROLL", SWIG_From_int((int)wxHSCROLL
));
43395 PyDict_SetItemString(d
,"CAPTION", SWIG_From_int((int)wxCAPTION
));
43396 PyDict_SetItemString(d
,"DOUBLE_BORDER", SWIG_From_int((int)wxDOUBLE_BORDER
));
43397 PyDict_SetItemString(d
,"SUNKEN_BORDER", SWIG_From_int((int)wxSUNKEN_BORDER
));
43398 PyDict_SetItemString(d
,"RAISED_BORDER", SWIG_From_int((int)wxRAISED_BORDER
));
43399 PyDict_SetItemString(d
,"BORDER", SWIG_From_int((int)wxBORDER
));
43400 PyDict_SetItemString(d
,"SIMPLE_BORDER", SWIG_From_int((int)wxSIMPLE_BORDER
));
43401 PyDict_SetItemString(d
,"STATIC_BORDER", SWIG_From_int((int)wxSTATIC_BORDER
));
43402 PyDict_SetItemString(d
,"TRANSPARENT_WINDOW", SWIG_From_int((int)wxTRANSPARENT_WINDOW
));
43403 PyDict_SetItemString(d
,"NO_BORDER", SWIG_From_int((int)wxNO_BORDER
));
43404 PyDict_SetItemString(d
,"TAB_TRAVERSAL", SWIG_From_int((int)wxTAB_TRAVERSAL
));
43405 PyDict_SetItemString(d
,"WANTS_CHARS", SWIG_From_int((int)wxWANTS_CHARS
));
43406 PyDict_SetItemString(d
,"POPUP_WINDOW", SWIG_From_int((int)wxPOPUP_WINDOW
));
43407 PyDict_SetItemString(d
,"CENTER_FRAME", SWIG_From_int((int)wxCENTER_FRAME
));
43408 PyDict_SetItemString(d
,"CENTRE_ON_SCREEN", SWIG_From_int((int)wxCENTRE_ON_SCREEN
));
43409 PyDict_SetItemString(d
,"CENTER_ON_SCREEN", SWIG_From_int((int)wxCENTER_ON_SCREEN
));
43410 PyDict_SetItemString(d
,"ED_CLIENT_MARGIN", SWIG_From_int((int)wxED_CLIENT_MARGIN
));
43411 PyDict_SetItemString(d
,"ED_BUTTONS_BOTTOM", SWIG_From_int((int)wxED_BUTTONS_BOTTOM
));
43412 PyDict_SetItemString(d
,"ED_BUTTONS_RIGHT", SWIG_From_int((int)wxED_BUTTONS_RIGHT
));
43413 PyDict_SetItemString(d
,"ED_STATIC_LINE", SWIG_From_int((int)wxED_STATIC_LINE
));
43414 PyDict_SetItemString(d
,"EXT_DIALOG_STYLE", SWIG_From_int((int)wxEXT_DIALOG_STYLE
));
43415 PyDict_SetItemString(d
,"CLIP_CHILDREN", SWIG_From_int((int)wxCLIP_CHILDREN
));
43416 PyDict_SetItemString(d
,"CLIP_SIBLINGS", SWIG_From_int((int)wxCLIP_SIBLINGS
));
43417 PyDict_SetItemString(d
,"ALWAYS_SHOW_SB", SWIG_From_int((int)wxALWAYS_SHOW_SB
));
43418 PyDict_SetItemString(d
,"RETAINED", SWIG_From_int((int)wxRETAINED
));
43419 PyDict_SetItemString(d
,"BACKINGSTORE", SWIG_From_int((int)wxBACKINGSTORE
));
43420 PyDict_SetItemString(d
,"COLOURED", SWIG_From_int((int)wxCOLOURED
));
43421 PyDict_SetItemString(d
,"FIXED_LENGTH", SWIG_From_int((int)wxFIXED_LENGTH
));
43422 PyDict_SetItemString(d
,"LB_NEEDED_SB", SWIG_From_int((int)wxLB_NEEDED_SB
));
43423 PyDict_SetItemString(d
,"LB_ALWAYS_SB", SWIG_From_int((int)wxLB_ALWAYS_SB
));
43424 PyDict_SetItemString(d
,"LB_SORT", SWIG_From_int((int)wxLB_SORT
));
43425 PyDict_SetItemString(d
,"LB_SINGLE", SWIG_From_int((int)wxLB_SINGLE
));
43426 PyDict_SetItemString(d
,"LB_MULTIPLE", SWIG_From_int((int)wxLB_MULTIPLE
));
43427 PyDict_SetItemString(d
,"LB_EXTENDED", SWIG_From_int((int)wxLB_EXTENDED
));
43428 PyDict_SetItemString(d
,"LB_OWNERDRAW", SWIG_From_int((int)wxLB_OWNERDRAW
));
43429 PyDict_SetItemString(d
,"LB_HSCROLL", SWIG_From_int((int)wxLB_HSCROLL
));
43430 PyDict_SetItemString(d
,"PROCESS_ENTER", SWIG_From_int((int)wxPROCESS_ENTER
));
43431 PyDict_SetItemString(d
,"PASSWORD", SWIG_From_int((int)wxPASSWORD
));
43432 PyDict_SetItemString(d
,"CB_SIMPLE", SWIG_From_int((int)wxCB_SIMPLE
));
43433 PyDict_SetItemString(d
,"CB_DROPDOWN", SWIG_From_int((int)wxCB_DROPDOWN
));
43434 PyDict_SetItemString(d
,"CB_SORT", SWIG_From_int((int)wxCB_SORT
));
43435 PyDict_SetItemString(d
,"CB_READONLY", SWIG_From_int((int)wxCB_READONLY
));
43436 PyDict_SetItemString(d
,"RA_HORIZONTAL", SWIG_From_int((int)wxRA_HORIZONTAL
));
43437 PyDict_SetItemString(d
,"RA_VERTICAL", SWIG_From_int((int)wxRA_VERTICAL
));
43438 PyDict_SetItemString(d
,"RA_SPECIFY_ROWS", SWIG_From_int((int)wxRA_SPECIFY_ROWS
));
43439 PyDict_SetItemString(d
,"RA_SPECIFY_COLS", SWIG_From_int((int)wxRA_SPECIFY_COLS
));
43440 PyDict_SetItemString(d
,"RB_GROUP", SWIG_From_int((int)wxRB_GROUP
));
43441 PyDict_SetItemString(d
,"RB_SINGLE", SWIG_From_int((int)wxRB_SINGLE
));
43442 PyDict_SetItemString(d
,"SL_HORIZONTAL", SWIG_From_int((int)wxSL_HORIZONTAL
));
43443 PyDict_SetItemString(d
,"SL_VERTICAL", SWIG_From_int((int)wxSL_VERTICAL
));
43444 PyDict_SetItemString(d
,"SL_AUTOTICKS", SWIG_From_int((int)wxSL_AUTOTICKS
));
43445 PyDict_SetItemString(d
,"SL_LABELS", SWIG_From_int((int)wxSL_LABELS
));
43446 PyDict_SetItemString(d
,"SL_LEFT", SWIG_From_int((int)wxSL_LEFT
));
43447 PyDict_SetItemString(d
,"SL_TOP", SWIG_From_int((int)wxSL_TOP
));
43448 PyDict_SetItemString(d
,"SL_RIGHT", SWIG_From_int((int)wxSL_RIGHT
));
43449 PyDict_SetItemString(d
,"SL_BOTTOM", SWIG_From_int((int)wxSL_BOTTOM
));
43450 PyDict_SetItemString(d
,"SL_BOTH", SWIG_From_int((int)wxSL_BOTH
));
43451 PyDict_SetItemString(d
,"SL_SELRANGE", SWIG_From_int((int)wxSL_SELRANGE
));
43452 PyDict_SetItemString(d
,"SB_HORIZONTAL", SWIG_From_int((int)wxSB_HORIZONTAL
));
43453 PyDict_SetItemString(d
,"SB_VERTICAL", SWIG_From_int((int)wxSB_VERTICAL
));
43454 PyDict_SetItemString(d
,"ST_SIZEGRIP", SWIG_From_int((int)wxST_SIZEGRIP
));
43455 PyDict_SetItemString(d
,"ST_NO_AUTORESIZE", SWIG_From_int((int)wxST_NO_AUTORESIZE
));
43456 PyDict_SetItemString(d
,"FLOOD_SURFACE", SWIG_From_int((int)wxFLOOD_SURFACE
));
43457 PyDict_SetItemString(d
,"FLOOD_BORDER", SWIG_From_int((int)wxFLOOD_BORDER
));
43458 PyDict_SetItemString(d
,"ODDEVEN_RULE", SWIG_From_int((int)wxODDEVEN_RULE
));
43459 PyDict_SetItemString(d
,"WINDING_RULE", SWIG_From_int((int)wxWINDING_RULE
));
43460 PyDict_SetItemString(d
,"TOOL_TOP", SWIG_From_int((int)wxTOOL_TOP
));
43461 PyDict_SetItemString(d
,"TOOL_BOTTOM", SWIG_From_int((int)wxTOOL_BOTTOM
));
43462 PyDict_SetItemString(d
,"TOOL_LEFT", SWIG_From_int((int)wxTOOL_LEFT
));
43463 PyDict_SetItemString(d
,"TOOL_RIGHT", SWIG_From_int((int)wxTOOL_RIGHT
));
43464 PyDict_SetItemString(d
,"OK", SWIG_From_int((int)wxOK
));
43465 PyDict_SetItemString(d
,"YES_NO", SWIG_From_int((int)wxYES_NO
));
43466 PyDict_SetItemString(d
,"CANCEL", SWIG_From_int((int)wxCANCEL
));
43467 PyDict_SetItemString(d
,"YES", SWIG_From_int((int)wxYES
));
43468 PyDict_SetItemString(d
,"NO", SWIG_From_int((int)wxNO
));
43469 PyDict_SetItemString(d
,"NO_DEFAULT", SWIG_From_int((int)wxNO_DEFAULT
));
43470 PyDict_SetItemString(d
,"YES_DEFAULT", SWIG_From_int((int)wxYES_DEFAULT
));
43471 PyDict_SetItemString(d
,"ICON_EXCLAMATION", SWIG_From_int((int)wxICON_EXCLAMATION
));
43472 PyDict_SetItemString(d
,"ICON_HAND", SWIG_From_int((int)wxICON_HAND
));
43473 PyDict_SetItemString(d
,"ICON_QUESTION", SWIG_From_int((int)wxICON_QUESTION
));
43474 PyDict_SetItemString(d
,"ICON_INFORMATION", SWIG_From_int((int)wxICON_INFORMATION
));
43475 PyDict_SetItemString(d
,"ICON_STOP", SWIG_From_int((int)wxICON_STOP
));
43476 PyDict_SetItemString(d
,"ICON_ASTERISK", SWIG_From_int((int)wxICON_ASTERISK
));
43477 PyDict_SetItemString(d
,"ICON_MASK", SWIG_From_int((int)wxICON_MASK
));
43478 PyDict_SetItemString(d
,"ICON_WARNING", SWIG_From_int((int)wxICON_WARNING
));
43479 PyDict_SetItemString(d
,"ICON_ERROR", SWIG_From_int((int)wxICON_ERROR
));
43480 PyDict_SetItemString(d
,"FORWARD", SWIG_From_int((int)wxFORWARD
));
43481 PyDict_SetItemString(d
,"BACKWARD", SWIG_From_int((int)wxBACKWARD
));
43482 PyDict_SetItemString(d
,"RESET", SWIG_From_int((int)wxRESET
));
43483 PyDict_SetItemString(d
,"HELP", SWIG_From_int((int)wxHELP
));
43484 PyDict_SetItemString(d
,"MORE", SWIG_From_int((int)wxMORE
));
43485 PyDict_SetItemString(d
,"SETUP", SWIG_From_int((int)wxSETUP
));
43486 PyDict_SetItemString(d
,"SIZE_AUTO_WIDTH", SWIG_From_int((int)wxSIZE_AUTO_WIDTH
));
43487 PyDict_SetItemString(d
,"SIZE_AUTO_HEIGHT", SWIG_From_int((int)wxSIZE_AUTO_HEIGHT
));
43488 PyDict_SetItemString(d
,"SIZE_AUTO", SWIG_From_int((int)wxSIZE_AUTO
));
43489 PyDict_SetItemString(d
,"SIZE_USE_EXISTING", SWIG_From_int((int)wxSIZE_USE_EXISTING
));
43490 PyDict_SetItemString(d
,"SIZE_ALLOW_MINUS_ONE", SWIG_From_int((int)wxSIZE_ALLOW_MINUS_ONE
));
43491 PyDict_SetItemString(d
,"PORTRAIT", SWIG_From_int((int)wxPORTRAIT
));
43492 PyDict_SetItemString(d
,"LANDSCAPE", SWIG_From_int((int)wxLANDSCAPE
));
43493 PyDict_SetItemString(d
,"PRINT_QUALITY_HIGH", SWIG_From_int((int)wxPRINT_QUALITY_HIGH
));
43494 PyDict_SetItemString(d
,"PRINT_QUALITY_MEDIUM", SWIG_From_int((int)wxPRINT_QUALITY_MEDIUM
));
43495 PyDict_SetItemString(d
,"PRINT_QUALITY_LOW", SWIG_From_int((int)wxPRINT_QUALITY_LOW
));
43496 PyDict_SetItemString(d
,"PRINT_QUALITY_DRAFT", SWIG_From_int((int)wxPRINT_QUALITY_DRAFT
));
43497 PyDict_SetItemString(d
,"ID_ANY", SWIG_From_int((int)wxID_ANY
));
43498 PyDict_SetItemString(d
,"ID_SEPARATOR", SWIG_From_int((int)wxID_SEPARATOR
));
43499 PyDict_SetItemString(d
,"ID_LOWEST", SWIG_From_int((int)wxID_LOWEST
));
43500 PyDict_SetItemString(d
,"ID_OPEN", SWIG_From_int((int)wxID_OPEN
));
43501 PyDict_SetItemString(d
,"ID_CLOSE", SWIG_From_int((int)wxID_CLOSE
));
43502 PyDict_SetItemString(d
,"ID_NEW", SWIG_From_int((int)wxID_NEW
));
43503 PyDict_SetItemString(d
,"ID_SAVE", SWIG_From_int((int)wxID_SAVE
));
43504 PyDict_SetItemString(d
,"ID_SAVEAS", SWIG_From_int((int)wxID_SAVEAS
));
43505 PyDict_SetItemString(d
,"ID_REVERT", SWIG_From_int((int)wxID_REVERT
));
43506 PyDict_SetItemString(d
,"ID_EXIT", SWIG_From_int((int)wxID_EXIT
));
43507 PyDict_SetItemString(d
,"ID_UNDO", SWIG_From_int((int)wxID_UNDO
));
43508 PyDict_SetItemString(d
,"ID_REDO", SWIG_From_int((int)wxID_REDO
));
43509 PyDict_SetItemString(d
,"ID_HELP", SWIG_From_int((int)wxID_HELP
));
43510 PyDict_SetItemString(d
,"ID_PRINT", SWIG_From_int((int)wxID_PRINT
));
43511 PyDict_SetItemString(d
,"ID_PRINT_SETUP", SWIG_From_int((int)wxID_PRINT_SETUP
));
43512 PyDict_SetItemString(d
,"ID_PREVIEW", SWIG_From_int((int)wxID_PREVIEW
));
43513 PyDict_SetItemString(d
,"ID_ABOUT", SWIG_From_int((int)wxID_ABOUT
));
43514 PyDict_SetItemString(d
,"ID_HELP_CONTENTS", SWIG_From_int((int)wxID_HELP_CONTENTS
));
43515 PyDict_SetItemString(d
,"ID_HELP_COMMANDS", SWIG_From_int((int)wxID_HELP_COMMANDS
));
43516 PyDict_SetItemString(d
,"ID_HELP_PROCEDURES", SWIG_From_int((int)wxID_HELP_PROCEDURES
));
43517 PyDict_SetItemString(d
,"ID_HELP_CONTEXT", SWIG_From_int((int)wxID_HELP_CONTEXT
));
43518 PyDict_SetItemString(d
,"ID_CLOSE_ALL", SWIG_From_int((int)wxID_CLOSE_ALL
));
43519 PyDict_SetItemString(d
,"ID_PREFERENCES", SWIG_From_int((int)wxID_PREFERENCES
));
43520 PyDict_SetItemString(d
,"ID_CUT", SWIG_From_int((int)wxID_CUT
));
43521 PyDict_SetItemString(d
,"ID_COPY", SWIG_From_int((int)wxID_COPY
));
43522 PyDict_SetItemString(d
,"ID_PASTE", SWIG_From_int((int)wxID_PASTE
));
43523 PyDict_SetItemString(d
,"ID_CLEAR", SWIG_From_int((int)wxID_CLEAR
));
43524 PyDict_SetItemString(d
,"ID_FIND", SWIG_From_int((int)wxID_FIND
));
43525 PyDict_SetItemString(d
,"ID_DUPLICATE", SWIG_From_int((int)wxID_DUPLICATE
));
43526 PyDict_SetItemString(d
,"ID_SELECTALL", SWIG_From_int((int)wxID_SELECTALL
));
43527 PyDict_SetItemString(d
,"ID_DELETE", SWIG_From_int((int)wxID_DELETE
));
43528 PyDict_SetItemString(d
,"ID_REPLACE", SWIG_From_int((int)wxID_REPLACE
));
43529 PyDict_SetItemString(d
,"ID_REPLACE_ALL", SWIG_From_int((int)wxID_REPLACE_ALL
));
43530 PyDict_SetItemString(d
,"ID_PROPERTIES", SWIG_From_int((int)wxID_PROPERTIES
));
43531 PyDict_SetItemString(d
,"ID_VIEW_DETAILS", SWIG_From_int((int)wxID_VIEW_DETAILS
));
43532 PyDict_SetItemString(d
,"ID_VIEW_LARGEICONS", SWIG_From_int((int)wxID_VIEW_LARGEICONS
));
43533 PyDict_SetItemString(d
,"ID_VIEW_SMALLICONS", SWIG_From_int((int)wxID_VIEW_SMALLICONS
));
43534 PyDict_SetItemString(d
,"ID_VIEW_LIST", SWIG_From_int((int)wxID_VIEW_LIST
));
43535 PyDict_SetItemString(d
,"ID_VIEW_SORTDATE", SWIG_From_int((int)wxID_VIEW_SORTDATE
));
43536 PyDict_SetItemString(d
,"ID_VIEW_SORTNAME", SWIG_From_int((int)wxID_VIEW_SORTNAME
));
43537 PyDict_SetItemString(d
,"ID_VIEW_SORTSIZE", SWIG_From_int((int)wxID_VIEW_SORTSIZE
));
43538 PyDict_SetItemString(d
,"ID_VIEW_SORTTYPE", SWIG_From_int((int)wxID_VIEW_SORTTYPE
));
43539 PyDict_SetItemString(d
,"ID_FILE1", SWIG_From_int((int)wxID_FILE1
));
43540 PyDict_SetItemString(d
,"ID_FILE2", SWIG_From_int((int)wxID_FILE2
));
43541 PyDict_SetItemString(d
,"ID_FILE3", SWIG_From_int((int)wxID_FILE3
));
43542 PyDict_SetItemString(d
,"ID_FILE4", SWIG_From_int((int)wxID_FILE4
));
43543 PyDict_SetItemString(d
,"ID_FILE5", SWIG_From_int((int)wxID_FILE5
));
43544 PyDict_SetItemString(d
,"ID_FILE6", SWIG_From_int((int)wxID_FILE6
));
43545 PyDict_SetItemString(d
,"ID_FILE7", SWIG_From_int((int)wxID_FILE7
));
43546 PyDict_SetItemString(d
,"ID_FILE8", SWIG_From_int((int)wxID_FILE8
));
43547 PyDict_SetItemString(d
,"ID_FILE9", SWIG_From_int((int)wxID_FILE9
));
43548 PyDict_SetItemString(d
,"ID_OK", SWIG_From_int((int)wxID_OK
));
43549 PyDict_SetItemString(d
,"ID_CANCEL", SWIG_From_int((int)wxID_CANCEL
));
43550 PyDict_SetItemString(d
,"ID_APPLY", SWIG_From_int((int)wxID_APPLY
));
43551 PyDict_SetItemString(d
,"ID_YES", SWIG_From_int((int)wxID_YES
));
43552 PyDict_SetItemString(d
,"ID_NO", SWIG_From_int((int)wxID_NO
));
43553 PyDict_SetItemString(d
,"ID_STATIC", SWIG_From_int((int)wxID_STATIC
));
43554 PyDict_SetItemString(d
,"ID_FORWARD", SWIG_From_int((int)wxID_FORWARD
));
43555 PyDict_SetItemString(d
,"ID_BACKWARD", SWIG_From_int((int)wxID_BACKWARD
));
43556 PyDict_SetItemString(d
,"ID_DEFAULT", SWIG_From_int((int)wxID_DEFAULT
));
43557 PyDict_SetItemString(d
,"ID_MORE", SWIG_From_int((int)wxID_MORE
));
43558 PyDict_SetItemString(d
,"ID_SETUP", SWIG_From_int((int)wxID_SETUP
));
43559 PyDict_SetItemString(d
,"ID_RESET", SWIG_From_int((int)wxID_RESET
));
43560 PyDict_SetItemString(d
,"ID_CONTEXT_HELP", SWIG_From_int((int)wxID_CONTEXT_HELP
));
43561 PyDict_SetItemString(d
,"ID_YESTOALL", SWIG_From_int((int)wxID_YESTOALL
));
43562 PyDict_SetItemString(d
,"ID_NOTOALL", SWIG_From_int((int)wxID_NOTOALL
));
43563 PyDict_SetItemString(d
,"ID_ABORT", SWIG_From_int((int)wxID_ABORT
));
43564 PyDict_SetItemString(d
,"ID_RETRY", SWIG_From_int((int)wxID_RETRY
));
43565 PyDict_SetItemString(d
,"ID_IGNORE", SWIG_From_int((int)wxID_IGNORE
));
43566 PyDict_SetItemString(d
,"ID_ADD", SWIG_From_int((int)wxID_ADD
));
43567 PyDict_SetItemString(d
,"ID_REMOVE", SWIG_From_int((int)wxID_REMOVE
));
43568 PyDict_SetItemString(d
,"ID_UP", SWIG_From_int((int)wxID_UP
));
43569 PyDict_SetItemString(d
,"ID_DOWN", SWIG_From_int((int)wxID_DOWN
));
43570 PyDict_SetItemString(d
,"ID_HOME", SWIG_From_int((int)wxID_HOME
));
43571 PyDict_SetItemString(d
,"ID_REFRESH", SWIG_From_int((int)wxID_REFRESH
));
43572 PyDict_SetItemString(d
,"ID_STOP", SWIG_From_int((int)wxID_STOP
));
43573 PyDict_SetItemString(d
,"ID_INDEX", SWIG_From_int((int)wxID_INDEX
));
43574 PyDict_SetItemString(d
,"ID_BOLD", SWIG_From_int((int)wxID_BOLD
));
43575 PyDict_SetItemString(d
,"ID_ITALIC", SWIG_From_int((int)wxID_ITALIC
));
43576 PyDict_SetItemString(d
,"ID_JUSTIFY_CENTER", SWIG_From_int((int)wxID_JUSTIFY_CENTER
));
43577 PyDict_SetItemString(d
,"ID_JUSTIFY_FILL", SWIG_From_int((int)wxID_JUSTIFY_FILL
));
43578 PyDict_SetItemString(d
,"ID_JUSTIFY_RIGHT", SWIG_From_int((int)wxID_JUSTIFY_RIGHT
));
43579 PyDict_SetItemString(d
,"ID_JUSTIFY_LEFT", SWIG_From_int((int)wxID_JUSTIFY_LEFT
));
43580 PyDict_SetItemString(d
,"ID_UNDERLINE", SWIG_From_int((int)wxID_UNDERLINE
));
43581 PyDict_SetItemString(d
,"ID_INDENT", SWIG_From_int((int)wxID_INDENT
));
43582 PyDict_SetItemString(d
,"ID_UNINDENT", SWIG_From_int((int)wxID_UNINDENT
));
43583 PyDict_SetItemString(d
,"ID_ZOOM_100", SWIG_From_int((int)wxID_ZOOM_100
));
43584 PyDict_SetItemString(d
,"ID_ZOOM_FIT", SWIG_From_int((int)wxID_ZOOM_FIT
));
43585 PyDict_SetItemString(d
,"ID_ZOOM_IN", SWIG_From_int((int)wxID_ZOOM_IN
));
43586 PyDict_SetItemString(d
,"ID_ZOOM_OUT", SWIG_From_int((int)wxID_ZOOM_OUT
));
43587 PyDict_SetItemString(d
,"ID_UNDELETE", SWIG_From_int((int)wxID_UNDELETE
));
43588 PyDict_SetItemString(d
,"ID_REVERT_TO_SAVED", SWIG_From_int((int)wxID_REVERT_TO_SAVED
));
43589 PyDict_SetItemString(d
,"ID_HIGHEST", SWIG_From_int((int)wxID_HIGHEST
));
43590 PyDict_SetItemString(d
,"OPEN", SWIG_From_int((int)wxOPEN
));
43591 PyDict_SetItemString(d
,"SAVE", SWIG_From_int((int)wxSAVE
));
43592 PyDict_SetItemString(d
,"HIDE_READONLY", SWIG_From_int((int)wxHIDE_READONLY
));
43593 PyDict_SetItemString(d
,"OVERWRITE_PROMPT", SWIG_From_int((int)wxOVERWRITE_PROMPT
));
43594 PyDict_SetItemString(d
,"FILE_MUST_EXIST", SWIG_From_int((int)wxFILE_MUST_EXIST
));
43595 PyDict_SetItemString(d
,"MULTIPLE", SWIG_From_int((int)wxMULTIPLE
));
43596 PyDict_SetItemString(d
,"CHANGE_DIR", SWIG_From_int((int)wxCHANGE_DIR
));
43597 PyDict_SetItemString(d
,"ACCEL_ALT", SWIG_From_int((int)wxACCEL_ALT
));
43598 PyDict_SetItemString(d
,"ACCEL_CTRL", SWIG_From_int((int)wxACCEL_CTRL
));
43599 PyDict_SetItemString(d
,"ACCEL_SHIFT", SWIG_From_int((int)wxACCEL_SHIFT
));
43600 PyDict_SetItemString(d
,"ACCEL_NORMAL", SWIG_From_int((int)wxACCEL_NORMAL
));
43601 PyDict_SetItemString(d
,"PD_AUTO_HIDE", SWIG_From_int((int)wxPD_AUTO_HIDE
));
43602 PyDict_SetItemString(d
,"PD_APP_MODAL", SWIG_From_int((int)wxPD_APP_MODAL
));
43603 PyDict_SetItemString(d
,"PD_CAN_ABORT", SWIG_From_int((int)wxPD_CAN_ABORT
));
43604 PyDict_SetItemString(d
,"PD_ELAPSED_TIME", SWIG_From_int((int)wxPD_ELAPSED_TIME
));
43605 PyDict_SetItemString(d
,"PD_ESTIMATED_TIME", SWIG_From_int((int)wxPD_ESTIMATED_TIME
));
43606 PyDict_SetItemString(d
,"PD_REMAINING_TIME", SWIG_From_int((int)wxPD_REMAINING_TIME
));
43607 PyDict_SetItemString(d
,"DD_NEW_DIR_BUTTON", SWIG_From_int((int)wxDD_NEW_DIR_BUTTON
));
43608 PyDict_SetItemString(d
,"DD_DEFAULT_STYLE", SWIG_From_int((int)wxDD_DEFAULT_STYLE
));
43609 PyDict_SetItemString(d
,"MENU_TEAROFF", SWIG_From_int((int)wxMENU_TEAROFF
));
43610 PyDict_SetItemString(d
,"MB_DOCKABLE", SWIG_From_int((int)wxMB_DOCKABLE
));
43611 PyDict_SetItemString(d
,"NO_FULL_REPAINT_ON_RESIZE", SWIG_From_int((int)wxNO_FULL_REPAINT_ON_RESIZE
));
43612 PyDict_SetItemString(d
,"FULL_REPAINT_ON_RESIZE", SWIG_From_int((int)wxFULL_REPAINT_ON_RESIZE
));
43613 PyDict_SetItemString(d
,"LI_HORIZONTAL", SWIG_From_int((int)wxLI_HORIZONTAL
));
43614 PyDict_SetItemString(d
,"LI_VERTICAL", SWIG_From_int((int)wxLI_VERTICAL
));
43615 PyDict_SetItemString(d
,"WS_EX_VALIDATE_RECURSIVELY", SWIG_From_int((int)wxWS_EX_VALIDATE_RECURSIVELY
));
43616 PyDict_SetItemString(d
,"WS_EX_BLOCK_EVENTS", SWIG_From_int((int)wxWS_EX_BLOCK_EVENTS
));
43617 PyDict_SetItemString(d
,"WS_EX_TRANSIENT", SWIG_From_int((int)wxWS_EX_TRANSIENT
));
43618 PyDict_SetItemString(d
,"WS_EX_THEMED_BACKGROUND", SWIG_From_int((int)wxWS_EX_THEMED_BACKGROUND
));
43619 PyDict_SetItemString(d
,"WS_EX_PROCESS_IDLE", SWIG_From_int((int)wxWS_EX_PROCESS_IDLE
));
43620 PyDict_SetItemString(d
,"WS_EX_PROCESS_UI_UPDATES", SWIG_From_int((int)wxWS_EX_PROCESS_UI_UPDATES
));
43621 PyDict_SetItemString(d
,"MM_TEXT", SWIG_From_int((int)wxMM_TEXT
));
43622 PyDict_SetItemString(d
,"MM_LOMETRIC", SWIG_From_int((int)wxMM_LOMETRIC
));
43623 PyDict_SetItemString(d
,"MM_HIMETRIC", SWIG_From_int((int)wxMM_HIMETRIC
));
43624 PyDict_SetItemString(d
,"MM_LOENGLISH", SWIG_From_int((int)wxMM_LOENGLISH
));
43625 PyDict_SetItemString(d
,"MM_HIENGLISH", SWIG_From_int((int)wxMM_HIENGLISH
));
43626 PyDict_SetItemString(d
,"MM_TWIPS", SWIG_From_int((int)wxMM_TWIPS
));
43627 PyDict_SetItemString(d
,"MM_ISOTROPIC", SWIG_From_int((int)wxMM_ISOTROPIC
));
43628 PyDict_SetItemString(d
,"MM_ANISOTROPIC", SWIG_From_int((int)wxMM_ANISOTROPIC
));
43629 PyDict_SetItemString(d
,"MM_POINTS", SWIG_From_int((int)wxMM_POINTS
));
43630 PyDict_SetItemString(d
,"MM_METRIC", SWIG_From_int((int)wxMM_METRIC
));
43631 PyDict_SetItemString(d
,"CENTRE", SWIG_From_int((int)wxCENTRE
));
43632 PyDict_SetItemString(d
,"CENTER", SWIG_From_int((int)wxCENTER
));
43633 PyDict_SetItemString(d
,"HORIZONTAL", SWIG_From_int((int)wxHORIZONTAL
));
43634 PyDict_SetItemString(d
,"VERTICAL", SWIG_From_int((int)wxVERTICAL
));
43635 PyDict_SetItemString(d
,"BOTH", SWIG_From_int((int)wxBOTH
));
43636 PyDict_SetItemString(d
,"LEFT", SWIG_From_int((int)wxLEFT
));
43637 PyDict_SetItemString(d
,"RIGHT", SWIG_From_int((int)wxRIGHT
));
43638 PyDict_SetItemString(d
,"UP", SWIG_From_int((int)wxUP
));
43639 PyDict_SetItemString(d
,"DOWN", SWIG_From_int((int)wxDOWN
));
43640 PyDict_SetItemString(d
,"TOP", SWIG_From_int((int)wxTOP
));
43641 PyDict_SetItemString(d
,"BOTTOM", SWIG_From_int((int)wxBOTTOM
));
43642 PyDict_SetItemString(d
,"NORTH", SWIG_From_int((int)wxNORTH
));
43643 PyDict_SetItemString(d
,"SOUTH", SWIG_From_int((int)wxSOUTH
));
43644 PyDict_SetItemString(d
,"WEST", SWIG_From_int((int)wxWEST
));
43645 PyDict_SetItemString(d
,"EAST", SWIG_From_int((int)wxEAST
));
43646 PyDict_SetItemString(d
,"ALL", SWIG_From_int((int)wxALL
));
43647 PyDict_SetItemString(d
,"ALIGN_NOT", SWIG_From_int((int)wxALIGN_NOT
));
43648 PyDict_SetItemString(d
,"ALIGN_CENTER_HORIZONTAL", SWIG_From_int((int)wxALIGN_CENTER_HORIZONTAL
));
43649 PyDict_SetItemString(d
,"ALIGN_CENTRE_HORIZONTAL", SWIG_From_int((int)wxALIGN_CENTRE_HORIZONTAL
));
43650 PyDict_SetItemString(d
,"ALIGN_LEFT", SWIG_From_int((int)wxALIGN_LEFT
));
43651 PyDict_SetItemString(d
,"ALIGN_TOP", SWIG_From_int((int)wxALIGN_TOP
));
43652 PyDict_SetItemString(d
,"ALIGN_RIGHT", SWIG_From_int((int)wxALIGN_RIGHT
));
43653 PyDict_SetItemString(d
,"ALIGN_BOTTOM", SWIG_From_int((int)wxALIGN_BOTTOM
));
43654 PyDict_SetItemString(d
,"ALIGN_CENTER_VERTICAL", SWIG_From_int((int)wxALIGN_CENTER_VERTICAL
));
43655 PyDict_SetItemString(d
,"ALIGN_CENTRE_VERTICAL", SWIG_From_int((int)wxALIGN_CENTRE_VERTICAL
));
43656 PyDict_SetItemString(d
,"ALIGN_CENTER", SWIG_From_int((int)wxALIGN_CENTER
));
43657 PyDict_SetItemString(d
,"ALIGN_CENTRE", SWIG_From_int((int)wxALIGN_CENTRE
));
43658 PyDict_SetItemString(d
,"ALIGN_MASK", SWIG_From_int((int)wxALIGN_MASK
));
43659 PyDict_SetItemString(d
,"STRETCH_NOT", SWIG_From_int((int)wxSTRETCH_NOT
));
43660 PyDict_SetItemString(d
,"SHRINK", SWIG_From_int((int)wxSHRINK
));
43661 PyDict_SetItemString(d
,"GROW", SWIG_From_int((int)wxGROW
));
43662 PyDict_SetItemString(d
,"EXPAND", SWIG_From_int((int)wxEXPAND
));
43663 PyDict_SetItemString(d
,"SHAPED", SWIG_From_int((int)wxSHAPED
));
43664 PyDict_SetItemString(d
,"FIXED_MINSIZE", SWIG_From_int((int)wxFIXED_MINSIZE
));
43665 PyDict_SetItemString(d
,"TILE", SWIG_From_int((int)wxTILE
));
43666 PyDict_SetItemString(d
,"ADJUST_MINSIZE", SWIG_From_int((int)wxADJUST_MINSIZE
));
43667 PyDict_SetItemString(d
,"BORDER_DEFAULT", SWIG_From_int((int)wxBORDER_DEFAULT
));
43668 PyDict_SetItemString(d
,"BORDER_NONE", SWIG_From_int((int)wxBORDER_NONE
));
43669 PyDict_SetItemString(d
,"BORDER_STATIC", SWIG_From_int((int)wxBORDER_STATIC
));
43670 PyDict_SetItemString(d
,"BORDER_SIMPLE", SWIG_From_int((int)wxBORDER_SIMPLE
));
43671 PyDict_SetItemString(d
,"BORDER_RAISED", SWIG_From_int((int)wxBORDER_RAISED
));
43672 PyDict_SetItemString(d
,"BORDER_SUNKEN", SWIG_From_int((int)wxBORDER_SUNKEN
));
43673 PyDict_SetItemString(d
,"BORDER_DOUBLE", SWIG_From_int((int)wxBORDER_DOUBLE
));
43674 PyDict_SetItemString(d
,"BORDER_MASK", SWIG_From_int((int)wxBORDER_MASK
));
43675 PyDict_SetItemString(d
,"BG_STYLE_SYSTEM", SWIG_From_int((int)wxBG_STYLE_SYSTEM
));
43676 PyDict_SetItemString(d
,"BG_STYLE_COLOUR", SWIG_From_int((int)wxBG_STYLE_COLOUR
));
43677 PyDict_SetItemString(d
,"BG_STYLE_CUSTOM", SWIG_From_int((int)wxBG_STYLE_CUSTOM
));
43678 PyDict_SetItemString(d
,"DEFAULT", SWIG_From_int((int)wxDEFAULT
));
43679 PyDict_SetItemString(d
,"DECORATIVE", SWIG_From_int((int)wxDECORATIVE
));
43680 PyDict_SetItemString(d
,"ROMAN", SWIG_From_int((int)wxROMAN
));
43681 PyDict_SetItemString(d
,"SCRIPT", SWIG_From_int((int)wxSCRIPT
));
43682 PyDict_SetItemString(d
,"SWISS", SWIG_From_int((int)wxSWISS
));
43683 PyDict_SetItemString(d
,"MODERN", SWIG_From_int((int)wxMODERN
));
43684 PyDict_SetItemString(d
,"TELETYPE", SWIG_From_int((int)wxTELETYPE
));
43685 PyDict_SetItemString(d
,"VARIABLE", SWIG_From_int((int)wxVARIABLE
));
43686 PyDict_SetItemString(d
,"FIXED", SWIG_From_int((int)wxFIXED
));
43687 PyDict_SetItemString(d
,"NORMAL", SWIG_From_int((int)wxNORMAL
));
43688 PyDict_SetItemString(d
,"LIGHT", SWIG_From_int((int)wxLIGHT
));
43689 PyDict_SetItemString(d
,"BOLD", SWIG_From_int((int)wxBOLD
));
43690 PyDict_SetItemString(d
,"ITALIC", SWIG_From_int((int)wxITALIC
));
43691 PyDict_SetItemString(d
,"SLANT", SWIG_From_int((int)wxSLANT
));
43692 PyDict_SetItemString(d
,"SOLID", SWIG_From_int((int)wxSOLID
));
43693 PyDict_SetItemString(d
,"DOT", SWIG_From_int((int)wxDOT
));
43694 PyDict_SetItemString(d
,"LONG_DASH", SWIG_From_int((int)wxLONG_DASH
));
43695 PyDict_SetItemString(d
,"SHORT_DASH", SWIG_From_int((int)wxSHORT_DASH
));
43696 PyDict_SetItemString(d
,"DOT_DASH", SWIG_From_int((int)wxDOT_DASH
));
43697 PyDict_SetItemString(d
,"USER_DASH", SWIG_From_int((int)wxUSER_DASH
));
43698 PyDict_SetItemString(d
,"TRANSPARENT", SWIG_From_int((int)wxTRANSPARENT
));
43699 PyDict_SetItemString(d
,"STIPPLE", SWIG_From_int((int)wxSTIPPLE
));
43700 PyDict_SetItemString(d
,"BDIAGONAL_HATCH", SWIG_From_int((int)wxBDIAGONAL_HATCH
));
43701 PyDict_SetItemString(d
,"CROSSDIAG_HATCH", SWIG_From_int((int)wxCROSSDIAG_HATCH
));
43702 PyDict_SetItemString(d
,"FDIAGONAL_HATCH", SWIG_From_int((int)wxFDIAGONAL_HATCH
));
43703 PyDict_SetItemString(d
,"CROSS_HATCH", SWIG_From_int((int)wxCROSS_HATCH
));
43704 PyDict_SetItemString(d
,"HORIZONTAL_HATCH", SWIG_From_int((int)wxHORIZONTAL_HATCH
));
43705 PyDict_SetItemString(d
,"VERTICAL_HATCH", SWIG_From_int((int)wxVERTICAL_HATCH
));
43706 PyDict_SetItemString(d
,"JOIN_BEVEL", SWIG_From_int((int)wxJOIN_BEVEL
));
43707 PyDict_SetItemString(d
,"JOIN_MITER", SWIG_From_int((int)wxJOIN_MITER
));
43708 PyDict_SetItemString(d
,"JOIN_ROUND", SWIG_From_int((int)wxJOIN_ROUND
));
43709 PyDict_SetItemString(d
,"CAP_ROUND", SWIG_From_int((int)wxCAP_ROUND
));
43710 PyDict_SetItemString(d
,"CAP_PROJECTING", SWIG_From_int((int)wxCAP_PROJECTING
));
43711 PyDict_SetItemString(d
,"CAP_BUTT", SWIG_From_int((int)wxCAP_BUTT
));
43712 PyDict_SetItemString(d
,"CLEAR", SWIG_From_int((int)wxCLEAR
));
43713 PyDict_SetItemString(d
,"XOR", SWIG_From_int((int)wxXOR
));
43714 PyDict_SetItemString(d
,"INVERT", SWIG_From_int((int)wxINVERT
));
43715 PyDict_SetItemString(d
,"OR_REVERSE", SWIG_From_int((int)wxOR_REVERSE
));
43716 PyDict_SetItemString(d
,"AND_REVERSE", SWIG_From_int((int)wxAND_REVERSE
));
43717 PyDict_SetItemString(d
,"COPY", SWIG_From_int((int)wxCOPY
));
43718 PyDict_SetItemString(d
,"AND", SWIG_From_int((int)wxAND
));
43719 PyDict_SetItemString(d
,"AND_INVERT", SWIG_From_int((int)wxAND_INVERT
));
43720 PyDict_SetItemString(d
,"NO_OP", SWIG_From_int((int)wxNO_OP
));
43721 PyDict_SetItemString(d
,"NOR", SWIG_From_int((int)wxNOR
));
43722 PyDict_SetItemString(d
,"EQUIV", SWIG_From_int((int)wxEQUIV
));
43723 PyDict_SetItemString(d
,"SRC_INVERT", SWIG_From_int((int)wxSRC_INVERT
));
43724 PyDict_SetItemString(d
,"OR_INVERT", SWIG_From_int((int)wxOR_INVERT
));
43725 PyDict_SetItemString(d
,"NAND", SWIG_From_int((int)wxNAND
));
43726 PyDict_SetItemString(d
,"OR", SWIG_From_int((int)wxOR
));
43727 PyDict_SetItemString(d
,"SET", SWIG_From_int((int)wxSET
));
43728 PyDict_SetItemString(d
,"WXK_BACK", SWIG_From_int((int)WXK_BACK
));
43729 PyDict_SetItemString(d
,"WXK_TAB", SWIG_From_int((int)WXK_TAB
));
43730 PyDict_SetItemString(d
,"WXK_RETURN", SWIG_From_int((int)WXK_RETURN
));
43731 PyDict_SetItemString(d
,"WXK_ESCAPE", SWIG_From_int((int)WXK_ESCAPE
));
43732 PyDict_SetItemString(d
,"WXK_SPACE", SWIG_From_int((int)WXK_SPACE
));
43733 PyDict_SetItemString(d
,"WXK_DELETE", SWIG_From_int((int)WXK_DELETE
));
43734 PyDict_SetItemString(d
,"WXK_START", SWIG_From_int((int)WXK_START
));
43735 PyDict_SetItemString(d
,"WXK_LBUTTON", SWIG_From_int((int)WXK_LBUTTON
));
43736 PyDict_SetItemString(d
,"WXK_RBUTTON", SWIG_From_int((int)WXK_RBUTTON
));
43737 PyDict_SetItemString(d
,"WXK_CANCEL", SWIG_From_int((int)WXK_CANCEL
));
43738 PyDict_SetItemString(d
,"WXK_MBUTTON", SWIG_From_int((int)WXK_MBUTTON
));
43739 PyDict_SetItemString(d
,"WXK_CLEAR", SWIG_From_int((int)WXK_CLEAR
));
43740 PyDict_SetItemString(d
,"WXK_SHIFT", SWIG_From_int((int)WXK_SHIFT
));
43741 PyDict_SetItemString(d
,"WXK_ALT", SWIG_From_int((int)WXK_ALT
));
43742 PyDict_SetItemString(d
,"WXK_CONTROL", SWIG_From_int((int)WXK_CONTROL
));
43743 PyDict_SetItemString(d
,"WXK_MENU", SWIG_From_int((int)WXK_MENU
));
43744 PyDict_SetItemString(d
,"WXK_PAUSE", SWIG_From_int((int)WXK_PAUSE
));
43745 PyDict_SetItemString(d
,"WXK_CAPITAL", SWIG_From_int((int)WXK_CAPITAL
));
43746 PyDict_SetItemString(d
,"WXK_PRIOR", SWIG_From_int((int)WXK_PRIOR
));
43747 PyDict_SetItemString(d
,"WXK_NEXT", SWIG_From_int((int)WXK_NEXT
));
43748 PyDict_SetItemString(d
,"WXK_END", SWIG_From_int((int)WXK_END
));
43749 PyDict_SetItemString(d
,"WXK_HOME", SWIG_From_int((int)WXK_HOME
));
43750 PyDict_SetItemString(d
,"WXK_LEFT", SWIG_From_int((int)WXK_LEFT
));
43751 PyDict_SetItemString(d
,"WXK_UP", SWIG_From_int((int)WXK_UP
));
43752 PyDict_SetItemString(d
,"WXK_RIGHT", SWIG_From_int((int)WXK_RIGHT
));
43753 PyDict_SetItemString(d
,"WXK_DOWN", SWIG_From_int((int)WXK_DOWN
));
43754 PyDict_SetItemString(d
,"WXK_SELECT", SWIG_From_int((int)WXK_SELECT
));
43755 PyDict_SetItemString(d
,"WXK_PRINT", SWIG_From_int((int)WXK_PRINT
));
43756 PyDict_SetItemString(d
,"WXK_EXECUTE", SWIG_From_int((int)WXK_EXECUTE
));
43757 PyDict_SetItemString(d
,"WXK_SNAPSHOT", SWIG_From_int((int)WXK_SNAPSHOT
));
43758 PyDict_SetItemString(d
,"WXK_INSERT", SWIG_From_int((int)WXK_INSERT
));
43759 PyDict_SetItemString(d
,"WXK_HELP", SWIG_From_int((int)WXK_HELP
));
43760 PyDict_SetItemString(d
,"WXK_NUMPAD0", SWIG_From_int((int)WXK_NUMPAD0
));
43761 PyDict_SetItemString(d
,"WXK_NUMPAD1", SWIG_From_int((int)WXK_NUMPAD1
));
43762 PyDict_SetItemString(d
,"WXK_NUMPAD2", SWIG_From_int((int)WXK_NUMPAD2
));
43763 PyDict_SetItemString(d
,"WXK_NUMPAD3", SWIG_From_int((int)WXK_NUMPAD3
));
43764 PyDict_SetItemString(d
,"WXK_NUMPAD4", SWIG_From_int((int)WXK_NUMPAD4
));
43765 PyDict_SetItemString(d
,"WXK_NUMPAD5", SWIG_From_int((int)WXK_NUMPAD5
));
43766 PyDict_SetItemString(d
,"WXK_NUMPAD6", SWIG_From_int((int)WXK_NUMPAD6
));
43767 PyDict_SetItemString(d
,"WXK_NUMPAD7", SWIG_From_int((int)WXK_NUMPAD7
));
43768 PyDict_SetItemString(d
,"WXK_NUMPAD8", SWIG_From_int((int)WXK_NUMPAD8
));
43769 PyDict_SetItemString(d
,"WXK_NUMPAD9", SWIG_From_int((int)WXK_NUMPAD9
));
43770 PyDict_SetItemString(d
,"WXK_MULTIPLY", SWIG_From_int((int)WXK_MULTIPLY
));
43771 PyDict_SetItemString(d
,"WXK_ADD", SWIG_From_int((int)WXK_ADD
));
43772 PyDict_SetItemString(d
,"WXK_SEPARATOR", SWIG_From_int((int)WXK_SEPARATOR
));
43773 PyDict_SetItemString(d
,"WXK_SUBTRACT", SWIG_From_int((int)WXK_SUBTRACT
));
43774 PyDict_SetItemString(d
,"WXK_DECIMAL", SWIG_From_int((int)WXK_DECIMAL
));
43775 PyDict_SetItemString(d
,"WXK_DIVIDE", SWIG_From_int((int)WXK_DIVIDE
));
43776 PyDict_SetItemString(d
,"WXK_F1", SWIG_From_int((int)WXK_F1
));
43777 PyDict_SetItemString(d
,"WXK_F2", SWIG_From_int((int)WXK_F2
));
43778 PyDict_SetItemString(d
,"WXK_F3", SWIG_From_int((int)WXK_F3
));
43779 PyDict_SetItemString(d
,"WXK_F4", SWIG_From_int((int)WXK_F4
));
43780 PyDict_SetItemString(d
,"WXK_F5", SWIG_From_int((int)WXK_F5
));
43781 PyDict_SetItemString(d
,"WXK_F6", SWIG_From_int((int)WXK_F6
));
43782 PyDict_SetItemString(d
,"WXK_F7", SWIG_From_int((int)WXK_F7
));
43783 PyDict_SetItemString(d
,"WXK_F8", SWIG_From_int((int)WXK_F8
));
43784 PyDict_SetItemString(d
,"WXK_F9", SWIG_From_int((int)WXK_F9
));
43785 PyDict_SetItemString(d
,"WXK_F10", SWIG_From_int((int)WXK_F10
));
43786 PyDict_SetItemString(d
,"WXK_F11", SWIG_From_int((int)WXK_F11
));
43787 PyDict_SetItemString(d
,"WXK_F12", SWIG_From_int((int)WXK_F12
));
43788 PyDict_SetItemString(d
,"WXK_F13", SWIG_From_int((int)WXK_F13
));
43789 PyDict_SetItemString(d
,"WXK_F14", SWIG_From_int((int)WXK_F14
));
43790 PyDict_SetItemString(d
,"WXK_F15", SWIG_From_int((int)WXK_F15
));
43791 PyDict_SetItemString(d
,"WXK_F16", SWIG_From_int((int)WXK_F16
));
43792 PyDict_SetItemString(d
,"WXK_F17", SWIG_From_int((int)WXK_F17
));
43793 PyDict_SetItemString(d
,"WXK_F18", SWIG_From_int((int)WXK_F18
));
43794 PyDict_SetItemString(d
,"WXK_F19", SWIG_From_int((int)WXK_F19
));
43795 PyDict_SetItemString(d
,"WXK_F20", SWIG_From_int((int)WXK_F20
));
43796 PyDict_SetItemString(d
,"WXK_F21", SWIG_From_int((int)WXK_F21
));
43797 PyDict_SetItemString(d
,"WXK_F22", SWIG_From_int((int)WXK_F22
));
43798 PyDict_SetItemString(d
,"WXK_F23", SWIG_From_int((int)WXK_F23
));
43799 PyDict_SetItemString(d
,"WXK_F24", SWIG_From_int((int)WXK_F24
));
43800 PyDict_SetItemString(d
,"WXK_NUMLOCK", SWIG_From_int((int)WXK_NUMLOCK
));
43801 PyDict_SetItemString(d
,"WXK_SCROLL", SWIG_From_int((int)WXK_SCROLL
));
43802 PyDict_SetItemString(d
,"WXK_PAGEUP", SWIG_From_int((int)WXK_PAGEUP
));
43803 PyDict_SetItemString(d
,"WXK_PAGEDOWN", SWIG_From_int((int)WXK_PAGEDOWN
));
43804 PyDict_SetItemString(d
,"WXK_NUMPAD_SPACE", SWIG_From_int((int)WXK_NUMPAD_SPACE
));
43805 PyDict_SetItemString(d
,"WXK_NUMPAD_TAB", SWIG_From_int((int)WXK_NUMPAD_TAB
));
43806 PyDict_SetItemString(d
,"WXK_NUMPAD_ENTER", SWIG_From_int((int)WXK_NUMPAD_ENTER
));
43807 PyDict_SetItemString(d
,"WXK_NUMPAD_F1", SWIG_From_int((int)WXK_NUMPAD_F1
));
43808 PyDict_SetItemString(d
,"WXK_NUMPAD_F2", SWIG_From_int((int)WXK_NUMPAD_F2
));
43809 PyDict_SetItemString(d
,"WXK_NUMPAD_F3", SWIG_From_int((int)WXK_NUMPAD_F3
));
43810 PyDict_SetItemString(d
,"WXK_NUMPAD_F4", SWIG_From_int((int)WXK_NUMPAD_F4
));
43811 PyDict_SetItemString(d
,"WXK_NUMPAD_HOME", SWIG_From_int((int)WXK_NUMPAD_HOME
));
43812 PyDict_SetItemString(d
,"WXK_NUMPAD_LEFT", SWIG_From_int((int)WXK_NUMPAD_LEFT
));
43813 PyDict_SetItemString(d
,"WXK_NUMPAD_UP", SWIG_From_int((int)WXK_NUMPAD_UP
));
43814 PyDict_SetItemString(d
,"WXK_NUMPAD_RIGHT", SWIG_From_int((int)WXK_NUMPAD_RIGHT
));
43815 PyDict_SetItemString(d
,"WXK_NUMPAD_DOWN", SWIG_From_int((int)WXK_NUMPAD_DOWN
));
43816 PyDict_SetItemString(d
,"WXK_NUMPAD_PRIOR", SWIG_From_int((int)WXK_NUMPAD_PRIOR
));
43817 PyDict_SetItemString(d
,"WXK_NUMPAD_PAGEUP", SWIG_From_int((int)WXK_NUMPAD_PAGEUP
));
43818 PyDict_SetItemString(d
,"WXK_NUMPAD_NEXT", SWIG_From_int((int)WXK_NUMPAD_NEXT
));
43819 PyDict_SetItemString(d
,"WXK_NUMPAD_PAGEDOWN", SWIG_From_int((int)WXK_NUMPAD_PAGEDOWN
));
43820 PyDict_SetItemString(d
,"WXK_NUMPAD_END", SWIG_From_int((int)WXK_NUMPAD_END
));
43821 PyDict_SetItemString(d
,"WXK_NUMPAD_BEGIN", SWIG_From_int((int)WXK_NUMPAD_BEGIN
));
43822 PyDict_SetItemString(d
,"WXK_NUMPAD_INSERT", SWIG_From_int((int)WXK_NUMPAD_INSERT
));
43823 PyDict_SetItemString(d
,"WXK_NUMPAD_DELETE", SWIG_From_int((int)WXK_NUMPAD_DELETE
));
43824 PyDict_SetItemString(d
,"WXK_NUMPAD_EQUAL", SWIG_From_int((int)WXK_NUMPAD_EQUAL
));
43825 PyDict_SetItemString(d
,"WXK_NUMPAD_MULTIPLY", SWIG_From_int((int)WXK_NUMPAD_MULTIPLY
));
43826 PyDict_SetItemString(d
,"WXK_NUMPAD_ADD", SWIG_From_int((int)WXK_NUMPAD_ADD
));
43827 PyDict_SetItemString(d
,"WXK_NUMPAD_SEPARATOR", SWIG_From_int((int)WXK_NUMPAD_SEPARATOR
));
43828 PyDict_SetItemString(d
,"WXK_NUMPAD_SUBTRACT", SWIG_From_int((int)WXK_NUMPAD_SUBTRACT
));
43829 PyDict_SetItemString(d
,"WXK_NUMPAD_DECIMAL", SWIG_From_int((int)WXK_NUMPAD_DECIMAL
));
43830 PyDict_SetItemString(d
,"WXK_NUMPAD_DIVIDE", SWIG_From_int((int)WXK_NUMPAD_DIVIDE
));
43831 PyDict_SetItemString(d
,"WXK_WINDOWS_LEFT", SWIG_From_int((int)WXK_WINDOWS_LEFT
));
43832 PyDict_SetItemString(d
,"WXK_WINDOWS_RIGHT", SWIG_From_int((int)WXK_WINDOWS_RIGHT
));
43833 PyDict_SetItemString(d
,"WXK_WINDOWS_MENU", SWIG_From_int((int)WXK_WINDOWS_MENU
));
43834 PyDict_SetItemString(d
,"PAPER_NONE", SWIG_From_int((int)wxPAPER_NONE
));
43835 PyDict_SetItemString(d
,"PAPER_LETTER", SWIG_From_int((int)wxPAPER_LETTER
));
43836 PyDict_SetItemString(d
,"PAPER_LEGAL", SWIG_From_int((int)wxPAPER_LEGAL
));
43837 PyDict_SetItemString(d
,"PAPER_A4", SWIG_From_int((int)wxPAPER_A4
));
43838 PyDict_SetItemString(d
,"PAPER_CSHEET", SWIG_From_int((int)wxPAPER_CSHEET
));
43839 PyDict_SetItemString(d
,"PAPER_DSHEET", SWIG_From_int((int)wxPAPER_DSHEET
));
43840 PyDict_SetItemString(d
,"PAPER_ESHEET", SWIG_From_int((int)wxPAPER_ESHEET
));
43841 PyDict_SetItemString(d
,"PAPER_LETTERSMALL", SWIG_From_int((int)wxPAPER_LETTERSMALL
));
43842 PyDict_SetItemString(d
,"PAPER_TABLOID", SWIG_From_int((int)wxPAPER_TABLOID
));
43843 PyDict_SetItemString(d
,"PAPER_LEDGER", SWIG_From_int((int)wxPAPER_LEDGER
));
43844 PyDict_SetItemString(d
,"PAPER_STATEMENT", SWIG_From_int((int)wxPAPER_STATEMENT
));
43845 PyDict_SetItemString(d
,"PAPER_EXECUTIVE", SWIG_From_int((int)wxPAPER_EXECUTIVE
));
43846 PyDict_SetItemString(d
,"PAPER_A3", SWIG_From_int((int)wxPAPER_A3
));
43847 PyDict_SetItemString(d
,"PAPER_A4SMALL", SWIG_From_int((int)wxPAPER_A4SMALL
));
43848 PyDict_SetItemString(d
,"PAPER_A5", SWIG_From_int((int)wxPAPER_A5
));
43849 PyDict_SetItemString(d
,"PAPER_B4", SWIG_From_int((int)wxPAPER_B4
));
43850 PyDict_SetItemString(d
,"PAPER_B5", SWIG_From_int((int)wxPAPER_B5
));
43851 PyDict_SetItemString(d
,"PAPER_FOLIO", SWIG_From_int((int)wxPAPER_FOLIO
));
43852 PyDict_SetItemString(d
,"PAPER_QUARTO", SWIG_From_int((int)wxPAPER_QUARTO
));
43853 PyDict_SetItemString(d
,"PAPER_10X14", SWIG_From_int((int)wxPAPER_10X14
));
43854 PyDict_SetItemString(d
,"PAPER_11X17", SWIG_From_int((int)wxPAPER_11X17
));
43855 PyDict_SetItemString(d
,"PAPER_NOTE", SWIG_From_int((int)wxPAPER_NOTE
));
43856 PyDict_SetItemString(d
,"PAPER_ENV_9", SWIG_From_int((int)wxPAPER_ENV_9
));
43857 PyDict_SetItemString(d
,"PAPER_ENV_10", SWIG_From_int((int)wxPAPER_ENV_10
));
43858 PyDict_SetItemString(d
,"PAPER_ENV_11", SWIG_From_int((int)wxPAPER_ENV_11
));
43859 PyDict_SetItemString(d
,"PAPER_ENV_12", SWIG_From_int((int)wxPAPER_ENV_12
));
43860 PyDict_SetItemString(d
,"PAPER_ENV_14", SWIG_From_int((int)wxPAPER_ENV_14
));
43861 PyDict_SetItemString(d
,"PAPER_ENV_DL", SWIG_From_int((int)wxPAPER_ENV_DL
));
43862 PyDict_SetItemString(d
,"PAPER_ENV_C5", SWIG_From_int((int)wxPAPER_ENV_C5
));
43863 PyDict_SetItemString(d
,"PAPER_ENV_C3", SWIG_From_int((int)wxPAPER_ENV_C3
));
43864 PyDict_SetItemString(d
,"PAPER_ENV_C4", SWIG_From_int((int)wxPAPER_ENV_C4
));
43865 PyDict_SetItemString(d
,"PAPER_ENV_C6", SWIG_From_int((int)wxPAPER_ENV_C6
));
43866 PyDict_SetItemString(d
,"PAPER_ENV_C65", SWIG_From_int((int)wxPAPER_ENV_C65
));
43867 PyDict_SetItemString(d
,"PAPER_ENV_B4", SWIG_From_int((int)wxPAPER_ENV_B4
));
43868 PyDict_SetItemString(d
,"PAPER_ENV_B5", SWIG_From_int((int)wxPAPER_ENV_B5
));
43869 PyDict_SetItemString(d
,"PAPER_ENV_B6", SWIG_From_int((int)wxPAPER_ENV_B6
));
43870 PyDict_SetItemString(d
,"PAPER_ENV_ITALY", SWIG_From_int((int)wxPAPER_ENV_ITALY
));
43871 PyDict_SetItemString(d
,"PAPER_ENV_MONARCH", SWIG_From_int((int)wxPAPER_ENV_MONARCH
));
43872 PyDict_SetItemString(d
,"PAPER_ENV_PERSONAL", SWIG_From_int((int)wxPAPER_ENV_PERSONAL
));
43873 PyDict_SetItemString(d
,"PAPER_FANFOLD_US", SWIG_From_int((int)wxPAPER_FANFOLD_US
));
43874 PyDict_SetItemString(d
,"PAPER_FANFOLD_STD_GERMAN", SWIG_From_int((int)wxPAPER_FANFOLD_STD_GERMAN
));
43875 PyDict_SetItemString(d
,"PAPER_FANFOLD_LGL_GERMAN", SWIG_From_int((int)wxPAPER_FANFOLD_LGL_GERMAN
));
43876 PyDict_SetItemString(d
,"PAPER_ISO_B4", SWIG_From_int((int)wxPAPER_ISO_B4
));
43877 PyDict_SetItemString(d
,"PAPER_JAPANESE_POSTCARD", SWIG_From_int((int)wxPAPER_JAPANESE_POSTCARD
));
43878 PyDict_SetItemString(d
,"PAPER_9X11", SWIG_From_int((int)wxPAPER_9X11
));
43879 PyDict_SetItemString(d
,"PAPER_10X11", SWIG_From_int((int)wxPAPER_10X11
));
43880 PyDict_SetItemString(d
,"PAPER_15X11", SWIG_From_int((int)wxPAPER_15X11
));
43881 PyDict_SetItemString(d
,"PAPER_ENV_INVITE", SWIG_From_int((int)wxPAPER_ENV_INVITE
));
43882 PyDict_SetItemString(d
,"PAPER_LETTER_EXTRA", SWIG_From_int((int)wxPAPER_LETTER_EXTRA
));
43883 PyDict_SetItemString(d
,"PAPER_LEGAL_EXTRA", SWIG_From_int((int)wxPAPER_LEGAL_EXTRA
));
43884 PyDict_SetItemString(d
,"PAPER_TABLOID_EXTRA", SWIG_From_int((int)wxPAPER_TABLOID_EXTRA
));
43885 PyDict_SetItemString(d
,"PAPER_A4_EXTRA", SWIG_From_int((int)wxPAPER_A4_EXTRA
));
43886 PyDict_SetItemString(d
,"PAPER_LETTER_TRANSVERSE", SWIG_From_int((int)wxPAPER_LETTER_TRANSVERSE
));
43887 PyDict_SetItemString(d
,"PAPER_A4_TRANSVERSE", SWIG_From_int((int)wxPAPER_A4_TRANSVERSE
));
43888 PyDict_SetItemString(d
,"PAPER_LETTER_EXTRA_TRANSVERSE", SWIG_From_int((int)wxPAPER_LETTER_EXTRA_TRANSVERSE
));
43889 PyDict_SetItemString(d
,"PAPER_A_PLUS", SWIG_From_int((int)wxPAPER_A_PLUS
));
43890 PyDict_SetItemString(d
,"PAPER_B_PLUS", SWIG_From_int((int)wxPAPER_B_PLUS
));
43891 PyDict_SetItemString(d
,"PAPER_LETTER_PLUS", SWIG_From_int((int)wxPAPER_LETTER_PLUS
));
43892 PyDict_SetItemString(d
,"PAPER_A4_PLUS", SWIG_From_int((int)wxPAPER_A4_PLUS
));
43893 PyDict_SetItemString(d
,"PAPER_A5_TRANSVERSE", SWIG_From_int((int)wxPAPER_A5_TRANSVERSE
));
43894 PyDict_SetItemString(d
,"PAPER_B5_TRANSVERSE", SWIG_From_int((int)wxPAPER_B5_TRANSVERSE
));
43895 PyDict_SetItemString(d
,"PAPER_A3_EXTRA", SWIG_From_int((int)wxPAPER_A3_EXTRA
));
43896 PyDict_SetItemString(d
,"PAPER_A5_EXTRA", SWIG_From_int((int)wxPAPER_A5_EXTRA
));
43897 PyDict_SetItemString(d
,"PAPER_B5_EXTRA", SWIG_From_int((int)wxPAPER_B5_EXTRA
));
43898 PyDict_SetItemString(d
,"PAPER_A2", SWIG_From_int((int)wxPAPER_A2
));
43899 PyDict_SetItemString(d
,"PAPER_A3_TRANSVERSE", SWIG_From_int((int)wxPAPER_A3_TRANSVERSE
));
43900 PyDict_SetItemString(d
,"PAPER_A3_EXTRA_TRANSVERSE", SWIG_From_int((int)wxPAPER_A3_EXTRA_TRANSVERSE
));
43901 PyDict_SetItemString(d
,"DUPLEX_SIMPLEX", SWIG_From_int((int)wxDUPLEX_SIMPLEX
));
43902 PyDict_SetItemString(d
,"DUPLEX_HORIZONTAL", SWIG_From_int((int)wxDUPLEX_HORIZONTAL
));
43903 PyDict_SetItemString(d
,"DUPLEX_VERTICAL", SWIG_From_int((int)wxDUPLEX_VERTICAL
));
43904 PyDict_SetItemString(d
,"ITEM_SEPARATOR", SWIG_From_int((int)wxITEM_SEPARATOR
));
43905 PyDict_SetItemString(d
,"ITEM_NORMAL", SWIG_From_int((int)wxITEM_NORMAL
));
43906 PyDict_SetItemString(d
,"ITEM_CHECK", SWIG_From_int((int)wxITEM_CHECK
));
43907 PyDict_SetItemString(d
,"ITEM_RADIO", SWIG_From_int((int)wxITEM_RADIO
));
43908 PyDict_SetItemString(d
,"ITEM_MAX", SWIG_From_int((int)wxITEM_MAX
));
43909 PyDict_SetItemString(d
,"HT_NOWHERE", SWIG_From_int((int)wxHT_NOWHERE
));
43910 PyDict_SetItemString(d
,"HT_SCROLLBAR_FIRST", SWIG_From_int((int)wxHT_SCROLLBAR_FIRST
));
43911 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_LINE_1", SWIG_From_int((int)wxHT_SCROLLBAR_ARROW_LINE_1
));
43912 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_LINE_2", SWIG_From_int((int)wxHT_SCROLLBAR_ARROW_LINE_2
));
43913 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_PAGE_1", SWIG_From_int((int)wxHT_SCROLLBAR_ARROW_PAGE_1
));
43914 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_PAGE_2", SWIG_From_int((int)wxHT_SCROLLBAR_ARROW_PAGE_2
));
43915 PyDict_SetItemString(d
,"HT_SCROLLBAR_THUMB", SWIG_From_int((int)wxHT_SCROLLBAR_THUMB
));
43916 PyDict_SetItemString(d
,"HT_SCROLLBAR_BAR_1", SWIG_From_int((int)wxHT_SCROLLBAR_BAR_1
));
43917 PyDict_SetItemString(d
,"HT_SCROLLBAR_BAR_2", SWIG_From_int((int)wxHT_SCROLLBAR_BAR_2
));
43918 PyDict_SetItemString(d
,"HT_SCROLLBAR_LAST", SWIG_From_int((int)wxHT_SCROLLBAR_LAST
));
43919 PyDict_SetItemString(d
,"HT_WINDOW_OUTSIDE", SWIG_From_int((int)wxHT_WINDOW_OUTSIDE
));
43920 PyDict_SetItemString(d
,"HT_WINDOW_INSIDE", SWIG_From_int((int)wxHT_WINDOW_INSIDE
));
43921 PyDict_SetItemString(d
,"HT_WINDOW_VERT_SCROLLBAR", SWIG_From_int((int)wxHT_WINDOW_VERT_SCROLLBAR
));
43922 PyDict_SetItemString(d
,"HT_WINDOW_HORZ_SCROLLBAR", SWIG_From_int((int)wxHT_WINDOW_HORZ_SCROLLBAR
));
43923 PyDict_SetItemString(d
,"HT_WINDOW_CORNER", SWIG_From_int((int)wxHT_WINDOW_CORNER
));
43924 PyDict_SetItemString(d
,"HT_MAX", SWIG_From_int((int)wxHT_MAX
));
43925 PyDict_SetItemString(d
,"MOD_NONE", SWIG_From_int((int)wxMOD_NONE
));
43926 PyDict_SetItemString(d
,"MOD_ALT", SWIG_From_int((int)wxMOD_ALT
));
43927 PyDict_SetItemString(d
,"MOD_CONTROL", SWIG_From_int((int)wxMOD_CONTROL
));
43928 PyDict_SetItemString(d
,"MOD_SHIFT", SWIG_From_int((int)wxMOD_SHIFT
));
43929 PyDict_SetItemString(d
,"MOD_WIN", SWIG_From_int((int)wxMOD_WIN
));
43930 PyDict_SetItemString(d
,"UPDATE_UI_NONE", SWIG_From_int((int)wxUPDATE_UI_NONE
));
43931 PyDict_SetItemString(d
,"UPDATE_UI_RECURSE", SWIG_From_int((int)wxUPDATE_UI_RECURSE
));
43932 PyDict_SetItemString(d
,"UPDATE_UI_FROMIDLE", SWIG_From_int((int)wxUPDATE_UI_FROMIDLE
));
43933 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
43934 SWIG_addvarlink(SWIG_globals
,(char*)"EmptyString",_wrap_EmptyString_get
, _wrap_EmptyString_set
);
43935 PyDict_SetItemString(d
,"BITMAP_TYPE_INVALID", SWIG_From_int((int)wxBITMAP_TYPE_INVALID
));
43936 PyDict_SetItemString(d
,"BITMAP_TYPE_BMP", SWIG_From_int((int)wxBITMAP_TYPE_BMP
));
43937 PyDict_SetItemString(d
,"BITMAP_TYPE_ICO", SWIG_From_int((int)wxBITMAP_TYPE_ICO
));
43938 PyDict_SetItemString(d
,"BITMAP_TYPE_CUR", SWIG_From_int((int)wxBITMAP_TYPE_CUR
));
43939 PyDict_SetItemString(d
,"BITMAP_TYPE_XBM", SWIG_From_int((int)wxBITMAP_TYPE_XBM
));
43940 PyDict_SetItemString(d
,"BITMAP_TYPE_XBM_DATA", SWIG_From_int((int)wxBITMAP_TYPE_XBM_DATA
));
43941 PyDict_SetItemString(d
,"BITMAP_TYPE_XPM", SWIG_From_int((int)wxBITMAP_TYPE_XPM
));
43942 PyDict_SetItemString(d
,"BITMAP_TYPE_XPM_DATA", SWIG_From_int((int)wxBITMAP_TYPE_XPM_DATA
));
43943 PyDict_SetItemString(d
,"BITMAP_TYPE_TIF", SWIG_From_int((int)wxBITMAP_TYPE_TIF
));
43944 PyDict_SetItemString(d
,"BITMAP_TYPE_GIF", SWIG_From_int((int)wxBITMAP_TYPE_GIF
));
43945 PyDict_SetItemString(d
,"BITMAP_TYPE_PNG", SWIG_From_int((int)wxBITMAP_TYPE_PNG
));
43946 PyDict_SetItemString(d
,"BITMAP_TYPE_JPEG", SWIG_From_int((int)wxBITMAP_TYPE_JPEG
));
43947 PyDict_SetItemString(d
,"BITMAP_TYPE_PNM", SWIG_From_int((int)wxBITMAP_TYPE_PNM
));
43948 PyDict_SetItemString(d
,"BITMAP_TYPE_PCX", SWIG_From_int((int)wxBITMAP_TYPE_PCX
));
43949 PyDict_SetItemString(d
,"BITMAP_TYPE_PICT", SWIG_From_int((int)wxBITMAP_TYPE_PICT
));
43950 PyDict_SetItemString(d
,"BITMAP_TYPE_ICON", SWIG_From_int((int)wxBITMAP_TYPE_ICON
));
43951 PyDict_SetItemString(d
,"BITMAP_TYPE_ANI", SWIG_From_int((int)wxBITMAP_TYPE_ANI
));
43952 PyDict_SetItemString(d
,"BITMAP_TYPE_IFF", SWIG_From_int((int)wxBITMAP_TYPE_IFF
));
43953 PyDict_SetItemString(d
,"BITMAP_TYPE_MACCURSOR", SWIG_From_int((int)wxBITMAP_TYPE_MACCURSOR
));
43954 PyDict_SetItemString(d
,"BITMAP_TYPE_ANY", SWIG_From_int((int)wxBITMAP_TYPE_ANY
));
43955 PyDict_SetItemString(d
,"CURSOR_NONE", SWIG_From_int((int)wxCURSOR_NONE
));
43956 PyDict_SetItemString(d
,"CURSOR_ARROW", SWIG_From_int((int)wxCURSOR_ARROW
));
43957 PyDict_SetItemString(d
,"CURSOR_RIGHT_ARROW", SWIG_From_int((int)wxCURSOR_RIGHT_ARROW
));
43958 PyDict_SetItemString(d
,"CURSOR_BULLSEYE", SWIG_From_int((int)wxCURSOR_BULLSEYE
));
43959 PyDict_SetItemString(d
,"CURSOR_CHAR", SWIG_From_int((int)wxCURSOR_CHAR
));
43960 PyDict_SetItemString(d
,"CURSOR_CROSS", SWIG_From_int((int)wxCURSOR_CROSS
));
43961 PyDict_SetItemString(d
,"CURSOR_HAND", SWIG_From_int((int)wxCURSOR_HAND
));
43962 PyDict_SetItemString(d
,"CURSOR_IBEAM", SWIG_From_int((int)wxCURSOR_IBEAM
));
43963 PyDict_SetItemString(d
,"CURSOR_LEFT_BUTTON", SWIG_From_int((int)wxCURSOR_LEFT_BUTTON
));
43964 PyDict_SetItemString(d
,"CURSOR_MAGNIFIER", SWIG_From_int((int)wxCURSOR_MAGNIFIER
));
43965 PyDict_SetItemString(d
,"CURSOR_MIDDLE_BUTTON", SWIG_From_int((int)wxCURSOR_MIDDLE_BUTTON
));
43966 PyDict_SetItemString(d
,"CURSOR_NO_ENTRY", SWIG_From_int((int)wxCURSOR_NO_ENTRY
));
43967 PyDict_SetItemString(d
,"CURSOR_PAINT_BRUSH", SWIG_From_int((int)wxCURSOR_PAINT_BRUSH
));
43968 PyDict_SetItemString(d
,"CURSOR_PENCIL", SWIG_From_int((int)wxCURSOR_PENCIL
));
43969 PyDict_SetItemString(d
,"CURSOR_POINT_LEFT", SWIG_From_int((int)wxCURSOR_POINT_LEFT
));
43970 PyDict_SetItemString(d
,"CURSOR_POINT_RIGHT", SWIG_From_int((int)wxCURSOR_POINT_RIGHT
));
43971 PyDict_SetItemString(d
,"CURSOR_QUESTION_ARROW", SWIG_From_int((int)wxCURSOR_QUESTION_ARROW
));
43972 PyDict_SetItemString(d
,"CURSOR_RIGHT_BUTTON", SWIG_From_int((int)wxCURSOR_RIGHT_BUTTON
));
43973 PyDict_SetItemString(d
,"CURSOR_SIZENESW", SWIG_From_int((int)wxCURSOR_SIZENESW
));
43974 PyDict_SetItemString(d
,"CURSOR_SIZENS", SWIG_From_int((int)wxCURSOR_SIZENS
));
43975 PyDict_SetItemString(d
,"CURSOR_SIZENWSE", SWIG_From_int((int)wxCURSOR_SIZENWSE
));
43976 PyDict_SetItemString(d
,"CURSOR_SIZEWE", SWIG_From_int((int)wxCURSOR_SIZEWE
));
43977 PyDict_SetItemString(d
,"CURSOR_SIZING", SWIG_From_int((int)wxCURSOR_SIZING
));
43978 PyDict_SetItemString(d
,"CURSOR_SPRAYCAN", SWIG_From_int((int)wxCURSOR_SPRAYCAN
));
43979 PyDict_SetItemString(d
,"CURSOR_WAIT", SWIG_From_int((int)wxCURSOR_WAIT
));
43980 PyDict_SetItemString(d
,"CURSOR_WATCH", SWIG_From_int((int)wxCURSOR_WATCH
));
43981 PyDict_SetItemString(d
,"CURSOR_BLANK", SWIG_From_int((int)wxCURSOR_BLANK
));
43982 PyDict_SetItemString(d
,"CURSOR_DEFAULT", SWIG_From_int((int)wxCURSOR_DEFAULT
));
43983 PyDict_SetItemString(d
,"CURSOR_COPY_ARROW", SWIG_From_int((int)wxCURSOR_COPY_ARROW
));
43984 PyDict_SetItemString(d
,"CURSOR_ARROWWAIT", SWIG_From_int((int)wxCURSOR_ARROWWAIT
));
43985 PyDict_SetItemString(d
,"CURSOR_MAX", SWIG_From_int((int)wxCURSOR_MAX
));
43986 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultPosition",_wrap_DefaultPosition_get
, _wrap_DefaultPosition_set
);
43987 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSize",_wrap_DefaultSize_get
, _wrap_DefaultSize_set
);
43988 PyDict_SetItemString(d
,"FromStart", SWIG_From_int((int)wxFromStart
));
43989 PyDict_SetItemString(d
,"FromCurrent", SWIG_From_int((int)wxFromCurrent
));
43990 PyDict_SetItemString(d
,"FromEnd", SWIG_From_int((int)wxFromEnd
));
43992 wxPyPtrTypeMap_Add("wxInputStream", "wxPyInputStream");
43995 wxPyPtrTypeMap_Add("wxFileSystemHandler", "wxPyFileSystemHandler");
43997 SWIG_addvarlink(SWIG_globals
,(char*)"NullImage",_wrap_NullImage_get
, _wrap_NullImage_set
);
43998 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_BMP_FORMAT",_wrap_IMAGE_OPTION_BMP_FORMAT_get
, _wrap_IMAGE_OPTION_BMP_FORMAT_set
);
43999 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_X",_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set
);
44000 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_Y",_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set
);
44001 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTION",_wrap_IMAGE_OPTION_RESOLUTION_get
, _wrap_IMAGE_OPTION_RESOLUTION_set
);
44002 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTIONUNIT",_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get
, _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set
);
44003 PyDict_SetItemString(d
,"IMAGE_RESOLUTION_INCHES", SWIG_From_int((int)wxIMAGE_RESOLUTION_INCHES
));
44004 PyDict_SetItemString(d
,"IMAGE_RESOLUTION_CM", SWIG_From_int((int)wxIMAGE_RESOLUTION_CM
));
44005 PyDict_SetItemString(d
,"BMP_24BPP", SWIG_From_int((int)wxBMP_24BPP
));
44006 PyDict_SetItemString(d
,"BMP_8BPP", SWIG_From_int((int)wxBMP_8BPP
));
44007 PyDict_SetItemString(d
,"BMP_8BPP_GREY", SWIG_From_int((int)wxBMP_8BPP_GREY
));
44008 PyDict_SetItemString(d
,"BMP_8BPP_GRAY", SWIG_From_int((int)wxBMP_8BPP_GRAY
));
44009 PyDict_SetItemString(d
,"BMP_8BPP_RED", SWIG_From_int((int)wxBMP_8BPP_RED
));
44010 PyDict_SetItemString(d
,"BMP_8BPP_PALETTE", SWIG_From_int((int)wxBMP_8BPP_PALETTE
));
44011 PyDict_SetItemString(d
,"BMP_4BPP", SWIG_From_int((int)wxBMP_4BPP
));
44012 PyDict_SetItemString(d
,"BMP_1BPP", SWIG_From_int((int)wxBMP_1BPP
));
44013 PyDict_SetItemString(d
,"BMP_1BPP_BW", SWIG_From_int((int)wxBMP_1BPP_BW
));
44014 PyDict_SetItemString(d
,"QUANTIZE_INCLUDE_WINDOWS_COLOURS", SWIG_From_int((int)wxQUANTIZE_INCLUDE_WINDOWS_COLOURS
));
44015 PyDict_SetItemString(d
,"QUANTIZE_FILL_DESTINATION_IMAGE", SWIG_From_int((int)wxQUANTIZE_FILL_DESTINATION_IMAGE
));
44016 PyDict_SetItemString(d
,"EVENT_PROPAGATE_NONE", SWIG_From_int((int)wxEVENT_PROPAGATE_NONE
));
44017 PyDict_SetItemString(d
,"EVENT_PROPAGATE_MAX", SWIG_From_int((int)wxEVENT_PROPAGATE_MAX
));
44018 PyDict_SetItemString(d
, "wxEVT_NULL", PyInt_FromLong(wxEVT_NULL
));
44019 PyDict_SetItemString(d
, "wxEVT_FIRST", PyInt_FromLong(wxEVT_FIRST
));
44020 PyDict_SetItemString(d
, "wxEVT_USER_FIRST", PyInt_FromLong(wxEVT_USER_FIRST
));
44021 PyDict_SetItemString(d
, "wxEVT_COMMAND_BUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_BUTTON_CLICKED
));
44022 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKBOX_CLICKED", PyInt_FromLong(wxEVT_COMMAND_CHECKBOX_CLICKED
));
44023 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICE_SELECTED", PyInt_FromLong(wxEVT_COMMAND_CHOICE_SELECTED
));
44024 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_SELECTED
));
44025 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_DOUBLECLICKED
));
44026 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKLISTBOX_TOGGLED", PyInt_FromLong(wxEVT_COMMAND_CHECKLISTBOX_TOGGLED
));
44027 PyDict_SetItemString(d
, "wxEVT_COMMAND_MENU_SELECTED", PyInt_FromLong(wxEVT_COMMAND_MENU_SELECTED
));
44028 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_CLICKED
));
44029 PyDict_SetItemString(d
, "wxEVT_COMMAND_SLIDER_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SLIDER_UPDATED
));
44030 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBOX_SELECTED
));
44031 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBUTTON_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBUTTON_SELECTED
));
44032 PyDict_SetItemString(d
, "wxEVT_COMMAND_SCROLLBAR_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SCROLLBAR_UPDATED
));
44033 PyDict_SetItemString(d
, "wxEVT_COMMAND_VLBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_VLBOX_SELECTED
));
44034 PyDict_SetItemString(d
, "wxEVT_COMMAND_COMBOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_COMBOBOX_SELECTED
));
44035 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_RCLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_RCLICKED
));
44036 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_ENTER", PyInt_FromLong(wxEVT_COMMAND_TOOL_ENTER
));
44037 PyDict_SetItemString(d
, "wxEVT_LEFT_DOWN", PyInt_FromLong(wxEVT_LEFT_DOWN
));
44038 PyDict_SetItemString(d
, "wxEVT_LEFT_UP", PyInt_FromLong(wxEVT_LEFT_UP
));
44039 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DOWN", PyInt_FromLong(wxEVT_MIDDLE_DOWN
));
44040 PyDict_SetItemString(d
, "wxEVT_MIDDLE_UP", PyInt_FromLong(wxEVT_MIDDLE_UP
));
44041 PyDict_SetItemString(d
, "wxEVT_RIGHT_DOWN", PyInt_FromLong(wxEVT_RIGHT_DOWN
));
44042 PyDict_SetItemString(d
, "wxEVT_RIGHT_UP", PyInt_FromLong(wxEVT_RIGHT_UP
));
44043 PyDict_SetItemString(d
, "wxEVT_MOTION", PyInt_FromLong(wxEVT_MOTION
));
44044 PyDict_SetItemString(d
, "wxEVT_ENTER_WINDOW", PyInt_FromLong(wxEVT_ENTER_WINDOW
));
44045 PyDict_SetItemString(d
, "wxEVT_LEAVE_WINDOW", PyInt_FromLong(wxEVT_LEAVE_WINDOW
));
44046 PyDict_SetItemString(d
, "wxEVT_LEFT_DCLICK", PyInt_FromLong(wxEVT_LEFT_DCLICK
));
44047 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_MIDDLE_DCLICK
));
44048 PyDict_SetItemString(d
, "wxEVT_RIGHT_DCLICK", PyInt_FromLong(wxEVT_RIGHT_DCLICK
));
44049 PyDict_SetItemString(d
, "wxEVT_SET_FOCUS", PyInt_FromLong(wxEVT_SET_FOCUS
));
44050 PyDict_SetItemString(d
, "wxEVT_KILL_FOCUS", PyInt_FromLong(wxEVT_KILL_FOCUS
));
44051 PyDict_SetItemString(d
, "wxEVT_CHILD_FOCUS", PyInt_FromLong(wxEVT_CHILD_FOCUS
));
44052 PyDict_SetItemString(d
, "wxEVT_MOUSEWHEEL", PyInt_FromLong(wxEVT_MOUSEWHEEL
));
44053 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DOWN", PyInt_FromLong(wxEVT_NC_LEFT_DOWN
));
44054 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_UP", PyInt_FromLong(wxEVT_NC_LEFT_UP
));
44055 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DOWN", PyInt_FromLong(wxEVT_NC_MIDDLE_DOWN
));
44056 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_UP", PyInt_FromLong(wxEVT_NC_MIDDLE_UP
));
44057 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DOWN", PyInt_FromLong(wxEVT_NC_RIGHT_DOWN
));
44058 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_UP", PyInt_FromLong(wxEVT_NC_RIGHT_UP
));
44059 PyDict_SetItemString(d
, "wxEVT_NC_MOTION", PyInt_FromLong(wxEVT_NC_MOTION
));
44060 PyDict_SetItemString(d
, "wxEVT_NC_ENTER_WINDOW", PyInt_FromLong(wxEVT_NC_ENTER_WINDOW
));
44061 PyDict_SetItemString(d
, "wxEVT_NC_LEAVE_WINDOW", PyInt_FromLong(wxEVT_NC_LEAVE_WINDOW
));
44062 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DCLICK", PyInt_FromLong(wxEVT_NC_LEFT_DCLICK
));
44063 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_NC_MIDDLE_DCLICK
));
44064 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DCLICK", PyInt_FromLong(wxEVT_NC_RIGHT_DCLICK
));
44065 PyDict_SetItemString(d
, "wxEVT_CHAR", PyInt_FromLong(wxEVT_CHAR
));
44066 PyDict_SetItemString(d
, "wxEVT_CHAR_HOOK", PyInt_FromLong(wxEVT_CHAR_HOOK
));
44067 PyDict_SetItemString(d
, "wxEVT_NAVIGATION_KEY", PyInt_FromLong(wxEVT_NAVIGATION_KEY
));
44068 PyDict_SetItemString(d
, "wxEVT_KEY_DOWN", PyInt_FromLong(wxEVT_KEY_DOWN
));
44069 PyDict_SetItemString(d
, "wxEVT_KEY_UP", PyInt_FromLong(wxEVT_KEY_UP
));
44070 PyDict_SetItemString(d
, "wxEVT_HOTKEY", PyInt_FromLong(wxEVT_HOTKEY
));
44071 PyDict_SetItemString(d
, "wxEVT_SET_CURSOR", PyInt_FromLong(wxEVT_SET_CURSOR
));
44072 PyDict_SetItemString(d
, "wxEVT_SCROLL_TOP", PyInt_FromLong(wxEVT_SCROLL_TOP
));
44073 PyDict_SetItemString(d
, "wxEVT_SCROLL_BOTTOM", PyInt_FromLong(wxEVT_SCROLL_BOTTOM
));
44074 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEUP", PyInt_FromLong(wxEVT_SCROLL_LINEUP
));
44075 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEDOWN", PyInt_FromLong(wxEVT_SCROLL_LINEDOWN
));
44076 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEUP", PyInt_FromLong(wxEVT_SCROLL_PAGEUP
));
44077 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLL_PAGEDOWN
));
44078 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLL_THUMBTRACK
));
44079 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLL_THUMBRELEASE
));
44080 PyDict_SetItemString(d
, "wxEVT_SCROLL_ENDSCROLL", PyInt_FromLong(wxEVT_SCROLL_ENDSCROLL
));
44081 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_TOP", PyInt_FromLong(wxEVT_SCROLLWIN_TOP
));
44082 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_BOTTOM", PyInt_FromLong(wxEVT_SCROLLWIN_BOTTOM
));
44083 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEUP", PyInt_FromLong(wxEVT_SCROLLWIN_LINEUP
));
44084 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_LINEDOWN
));
44085 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEUP", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEUP
));
44086 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEDOWN
));
44087 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBTRACK
));
44088 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBRELEASE
));
44089 PyDict_SetItemString(d
, "wxEVT_SIZE", PyInt_FromLong(wxEVT_SIZE
));
44090 PyDict_SetItemString(d
, "wxEVT_MOVE", PyInt_FromLong(wxEVT_MOVE
));
44091 PyDict_SetItemString(d
, "wxEVT_CLOSE_WINDOW", PyInt_FromLong(wxEVT_CLOSE_WINDOW
));
44092 PyDict_SetItemString(d
, "wxEVT_END_SESSION", PyInt_FromLong(wxEVT_END_SESSION
));
44093 PyDict_SetItemString(d
, "wxEVT_QUERY_END_SESSION", PyInt_FromLong(wxEVT_QUERY_END_SESSION
));
44094 PyDict_SetItemString(d
, "wxEVT_ACTIVATE_APP", PyInt_FromLong(wxEVT_ACTIVATE_APP
));
44095 PyDict_SetItemString(d
, "wxEVT_POWER", PyInt_FromLong(wxEVT_POWER
));
44096 PyDict_SetItemString(d
, "wxEVT_ACTIVATE", PyInt_FromLong(wxEVT_ACTIVATE
));
44097 PyDict_SetItemString(d
, "wxEVT_CREATE", PyInt_FromLong(wxEVT_CREATE
));
44098 PyDict_SetItemString(d
, "wxEVT_DESTROY", PyInt_FromLong(wxEVT_DESTROY
));
44099 PyDict_SetItemString(d
, "wxEVT_SHOW", PyInt_FromLong(wxEVT_SHOW
));
44100 PyDict_SetItemString(d
, "wxEVT_ICONIZE", PyInt_FromLong(wxEVT_ICONIZE
));
44101 PyDict_SetItemString(d
, "wxEVT_MAXIMIZE", PyInt_FromLong(wxEVT_MAXIMIZE
));
44102 PyDict_SetItemString(d
, "wxEVT_MOUSE_CAPTURE_CHANGED", PyInt_FromLong(wxEVT_MOUSE_CAPTURE_CHANGED
));
44103 PyDict_SetItemString(d
, "wxEVT_PAINT", PyInt_FromLong(wxEVT_PAINT
));
44104 PyDict_SetItemString(d
, "wxEVT_ERASE_BACKGROUND", PyInt_FromLong(wxEVT_ERASE_BACKGROUND
));
44105 PyDict_SetItemString(d
, "wxEVT_NC_PAINT", PyInt_FromLong(wxEVT_NC_PAINT
));
44106 PyDict_SetItemString(d
, "wxEVT_PAINT_ICON", PyInt_FromLong(wxEVT_PAINT_ICON
));
44107 PyDict_SetItemString(d
, "wxEVT_MENU_OPEN", PyInt_FromLong(wxEVT_MENU_OPEN
));
44108 PyDict_SetItemString(d
, "wxEVT_MENU_CLOSE", PyInt_FromLong(wxEVT_MENU_CLOSE
));
44109 PyDict_SetItemString(d
, "wxEVT_MENU_HIGHLIGHT", PyInt_FromLong(wxEVT_MENU_HIGHLIGHT
));
44110 PyDict_SetItemString(d
, "wxEVT_CONTEXT_MENU", PyInt_FromLong(wxEVT_CONTEXT_MENU
));
44111 PyDict_SetItemString(d
, "wxEVT_SYS_COLOUR_CHANGED", PyInt_FromLong(wxEVT_SYS_COLOUR_CHANGED
));
44112 PyDict_SetItemString(d
, "wxEVT_DISPLAY_CHANGED", PyInt_FromLong(wxEVT_DISPLAY_CHANGED
));
44113 PyDict_SetItemString(d
, "wxEVT_SETTING_CHANGED", PyInt_FromLong(wxEVT_SETTING_CHANGED
));
44114 PyDict_SetItemString(d
, "wxEVT_QUERY_NEW_PALETTE", PyInt_FromLong(wxEVT_QUERY_NEW_PALETTE
));
44115 PyDict_SetItemString(d
, "wxEVT_PALETTE_CHANGED", PyInt_FromLong(wxEVT_PALETTE_CHANGED
));
44116 PyDict_SetItemString(d
, "wxEVT_DROP_FILES", PyInt_FromLong(wxEVT_DROP_FILES
));
44117 PyDict_SetItemString(d
, "wxEVT_DRAW_ITEM", PyInt_FromLong(wxEVT_DRAW_ITEM
));
44118 PyDict_SetItemString(d
, "wxEVT_MEASURE_ITEM", PyInt_FromLong(wxEVT_MEASURE_ITEM
));
44119 PyDict_SetItemString(d
, "wxEVT_COMPARE_ITEM", PyInt_FromLong(wxEVT_COMPARE_ITEM
));
44120 PyDict_SetItemString(d
, "wxEVT_INIT_DIALOG", PyInt_FromLong(wxEVT_INIT_DIALOG
));
44121 PyDict_SetItemString(d
, "wxEVT_IDLE", PyInt_FromLong(wxEVT_IDLE
));
44122 PyDict_SetItemString(d
, "wxEVT_UPDATE_UI", PyInt_FromLong(wxEVT_UPDATE_UI
));
44123 PyDict_SetItemString(d
, "wxEVT_SIZING", PyInt_FromLong(wxEVT_SIZING
));
44124 PyDict_SetItemString(d
, "wxEVT_MOVING", PyInt_FromLong(wxEVT_MOVING
));
44125 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_CLICK
));
44126 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_DCLICK
));
44127 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_CLICK
));
44128 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_DCLICK
));
44129 PyDict_SetItemString(d
, "wxEVT_COMMAND_SET_FOCUS", PyInt_FromLong(wxEVT_COMMAND_SET_FOCUS
));
44130 PyDict_SetItemString(d
, "wxEVT_COMMAND_KILL_FOCUS", PyInt_FromLong(wxEVT_COMMAND_KILL_FOCUS
));
44131 PyDict_SetItemString(d
, "wxEVT_COMMAND_ENTER", PyInt_FromLong(wxEVT_COMMAND_ENTER
));
44132 PyDict_SetItemString(d
,"MOUSE_BTN_ANY", SWIG_From_int((int)wxMOUSE_BTN_ANY
));
44133 PyDict_SetItemString(d
,"MOUSE_BTN_NONE", SWIG_From_int((int)wxMOUSE_BTN_NONE
));
44134 PyDict_SetItemString(d
,"MOUSE_BTN_LEFT", SWIG_From_int((int)wxMOUSE_BTN_LEFT
));
44135 PyDict_SetItemString(d
,"MOUSE_BTN_MIDDLE", SWIG_From_int((int)wxMOUSE_BTN_MIDDLE
));
44136 PyDict_SetItemString(d
,"MOUSE_BTN_RIGHT", SWIG_From_int((int)wxMOUSE_BTN_RIGHT
));
44137 PyDict_SetItemString(d
,"UPDATE_UI_PROCESS_ALL", SWIG_From_int((int)wxUPDATE_UI_PROCESS_ALL
));
44138 PyDict_SetItemString(d
,"UPDATE_UI_PROCESS_SPECIFIED", SWIG_From_int((int)wxUPDATE_UI_PROCESS_SPECIFIED
));
44139 PyDict_SetItemString(d
,"NavigationKeyEvent_IsBackward", SWIG_From_int((int)wxNavigationKeyEvent::IsBackward
));
44140 PyDict_SetItemString(d
,"NavigationKeyEvent_IsForward", SWIG_From_int((int)wxNavigationKeyEvent::IsForward
));
44141 PyDict_SetItemString(d
,"NavigationKeyEvent_WinChange", SWIG_From_int((int)wxNavigationKeyEvent::WinChange
));
44142 PyDict_SetItemString(d
,"IDLE_PROCESS_ALL", SWIG_From_int((int)wxIDLE_PROCESS_ALL
));
44143 PyDict_SetItemString(d
,"IDLE_PROCESS_SPECIFIED", SWIG_From_int((int)wxIDLE_PROCESS_SPECIFIED
));
44144 PyDict_SetItemString(d
,"PYAPP_ASSERT_SUPPRESS", SWIG_From_int((int)wxPYAPP_ASSERT_SUPPRESS
));
44145 PyDict_SetItemString(d
,"PYAPP_ASSERT_EXCEPTION", SWIG_From_int((int)wxPYAPP_ASSERT_EXCEPTION
));
44146 PyDict_SetItemString(d
,"PYAPP_ASSERT_DIALOG", SWIG_From_int((int)wxPYAPP_ASSERT_DIALOG
));
44147 PyDict_SetItemString(d
,"PYAPP_ASSERT_LOG", SWIG_From_int((int)wxPYAPP_ASSERT_LOG
));
44148 PyDict_SetItemString(d
,"PRINT_WINDOWS", SWIG_From_int((int)wxPRINT_WINDOWS
));
44149 PyDict_SetItemString(d
,"PRINT_POSTSCRIPT", SWIG_From_int((int)wxPRINT_POSTSCRIPT
));
44150 SWIG_addvarlink(SWIG_globals
,(char*)"NullAcceleratorTable",_wrap_NullAcceleratorTable_get
, _wrap_NullAcceleratorTable_set
);
44151 SWIG_addvarlink(SWIG_globals
,(char*)"PanelNameStr",_wrap_PanelNameStr_get
, _wrap_PanelNameStr_set
);
44152 PyDict_SetItemString(d
,"WINDOW_VARIANT_NORMAL", SWIG_From_int((int)wxWINDOW_VARIANT_NORMAL
));
44153 PyDict_SetItemString(d
,"WINDOW_VARIANT_SMALL", SWIG_From_int((int)wxWINDOW_VARIANT_SMALL
));
44154 PyDict_SetItemString(d
,"WINDOW_VARIANT_MINI", SWIG_From_int((int)wxWINDOW_VARIANT_MINI
));
44155 PyDict_SetItemString(d
,"WINDOW_VARIANT_LARGE", SWIG_From_int((int)wxWINDOW_VARIANT_LARGE
));
44156 PyDict_SetItemString(d
,"WINDOW_VARIANT_MAX", SWIG_From_int((int)wxWINDOW_VARIANT_MAX
));
44157 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultValidator",_wrap_DefaultValidator_get
, _wrap_DefaultValidator_set
);
44158 SWIG_addvarlink(SWIG_globals
,(char*)"ControlNameStr",_wrap_ControlNameStr_get
, _wrap_ControlNameStr_set
);
44159 PyDict_SetItemString(d
,"FLEX_GROWMODE_NONE", SWIG_From_int((int)wxFLEX_GROWMODE_NONE
));
44160 PyDict_SetItemString(d
,"FLEX_GROWMODE_SPECIFIED", SWIG_From_int((int)wxFLEX_GROWMODE_SPECIFIED
));
44161 PyDict_SetItemString(d
,"FLEX_GROWMODE_ALL", SWIG_From_int((int)wxFLEX_GROWMODE_ALL
));
44162 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSpan",_wrap_DefaultSpan_get
, _wrap_DefaultSpan_set
);
44163 PyDict_SetItemString(d
,"Left", SWIG_From_int((int)wxLeft
));
44164 PyDict_SetItemString(d
,"Top", SWIG_From_int((int)wxTop
));
44165 PyDict_SetItemString(d
,"Right", SWIG_From_int((int)wxRight
));
44166 PyDict_SetItemString(d
,"Bottom", SWIG_From_int((int)wxBottom
));
44167 PyDict_SetItemString(d
,"Width", SWIG_From_int((int)wxWidth
));
44168 PyDict_SetItemString(d
,"Height", SWIG_From_int((int)wxHeight
));
44169 PyDict_SetItemString(d
,"Centre", SWIG_From_int((int)wxCentre
));
44170 PyDict_SetItemString(d
,"Center", SWIG_From_int((int)wxCenter
));
44171 PyDict_SetItemString(d
,"CentreX", SWIG_From_int((int)wxCentreX
));
44172 PyDict_SetItemString(d
,"CentreY", SWIG_From_int((int)wxCentreY
));
44173 PyDict_SetItemString(d
,"Unconstrained", SWIG_From_int((int)wxUnconstrained
));
44174 PyDict_SetItemString(d
,"AsIs", SWIG_From_int((int)wxAsIs
));
44175 PyDict_SetItemString(d
,"PercentOf", SWIG_From_int((int)wxPercentOf
));
44176 PyDict_SetItemString(d
,"Above", SWIG_From_int((int)wxAbove
));
44177 PyDict_SetItemString(d
,"Below", SWIG_From_int((int)wxBelow
));
44178 PyDict_SetItemString(d
,"LeftOf", SWIG_From_int((int)wxLeftOf
));
44179 PyDict_SetItemString(d
,"RightOf", SWIG_From_int((int)wxRightOf
));
44180 PyDict_SetItemString(d
,"SameAs", SWIG_From_int((int)wxSameAs
));
44181 PyDict_SetItemString(d
,"Absolute", SWIG_From_int((int)wxAbsolute
));
44183 // Initialize threading, some globals and such
44187 // Although these are defined in __version__ they need to be here too so
44188 // that an assert can be done to ensure that the wxPython and the wxWindows
44190 PyDict_SetItemString(d
,"MAJOR_VERSION", PyInt_FromLong((long)wxMAJOR_VERSION
));
44191 PyDict_SetItemString(d
,"MINOR_VERSION", PyInt_FromLong((long)wxMINOR_VERSION
));
44192 PyDict_SetItemString(d
,"RELEASE_VERSION", PyInt_FromLong((long)wxRELEASE_NUMBER
));