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_wxIndividualLayoutConstraint swig_types[5]
217 #define SWIGTYPE_p_wxSizer swig_types[6]
218 #define SWIGTYPE_p_wxBoxSizer swig_types[7]
219 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[8]
220 #define SWIGTYPE_p_wxGridBagSizer swig_types[9]
221 #define SWIGTYPE_p_wxAcceleratorEntry swig_types[10]
222 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[11]
223 #define SWIGTYPE_p_wxMenu swig_types[12]
224 #define SWIGTYPE_p_wxEvent swig_types[13]
225 #define SWIGTYPE_p_wxGridSizer swig_types[14]
226 #define SWIGTYPE_p_wxFlexGridSizer swig_types[15]
227 #define SWIGTYPE_p_wxInitDialogEvent swig_types[16]
228 #define SWIGTYPE_p_wxItemContainer swig_types[17]
229 #define SWIGTYPE_p_wxNcPaintEvent swig_types[18]
230 #define SWIGTYPE_p_wxPaintEvent swig_types[19]
231 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[20]
232 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[21]
233 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[22]
234 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[23]
235 #define SWIGTYPE_p_wxControl swig_types[24]
236 #define SWIGTYPE_p_wxFont swig_types[25]
237 #define SWIGTYPE_p_wxMenuBarBase swig_types[26]
238 #define SWIGTYPE_p_wxSetCursorEvent swig_types[27]
239 #define SWIGTYPE_p_wxFSFile swig_types[28]
240 #define SWIGTYPE_p_wxCaret swig_types[29]
241 #define SWIGTYPE_p_wxRegion swig_types[30]
242 #define SWIGTYPE_p_wxPoint2D swig_types[31]
243 #define SWIGTYPE_p_int swig_types[32]
244 #define SWIGTYPE_p_wxSize swig_types[33]
245 #define SWIGTYPE_p_wxDC swig_types[34]
246 #define SWIGTYPE_p_wxPySizer swig_types[35]
247 #define SWIGTYPE_p_wxVisualAttributes swig_types[36]
248 #define SWIGTYPE_p_wxNotifyEvent swig_types[37]
249 #define SWIGTYPE_p_wxPyEvent swig_types[38]
250 #define SWIGTYPE_p_wxPropagationDisabler swig_types[39]
251 #define SWIGTYPE_p_wxAppTraits swig_types[40]
252 #define SWIGTYPE_p_wxArrayString swig_types[41]
253 #define SWIGTYPE_p_wxShowEvent swig_types[42]
254 #define SWIGTYPE_p_wxToolTip swig_types[43]
255 #define SWIGTYPE_p_wxIconizeEvent swig_types[44]
256 #define SWIGTYPE_p_wxActivateEvent swig_types[45]
257 #define SWIGTYPE_p_wxMoveEvent swig_types[46]
258 #define SWIGTYPE_p_wxSizeEvent swig_types[47]
259 #define SWIGTYPE_p_wxMaximizeEvent swig_types[48]
260 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[49]
261 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[50]
262 #define SWIGTYPE_p_wxIdleEvent swig_types[51]
263 #define SWIGTYPE_p_wxMenuItem swig_types[52]
264 #define SWIGTYPE_p_wxStaticBox swig_types[53]
265 #define SWIGTYPE_p_long swig_types[54]
266 #define SWIGTYPE_p_wxTIFFHandler swig_types[55]
267 #define SWIGTYPE_p_wxXPMHandler swig_types[56]
268 #define SWIGTYPE_p_wxPNMHandler swig_types[57]
269 #define SWIGTYPE_p_wxJPEGHandler swig_types[58]
270 #define SWIGTYPE_p_wxPCXHandler swig_types[59]
271 #define SWIGTYPE_p_wxGIFHandler swig_types[60]
272 #define SWIGTYPE_p_wxPNGHandler swig_types[61]
273 #define SWIGTYPE_p_wxANIHandler swig_types[62]
274 #define SWIGTYPE_p_wxMemoryFSHandler swig_types[63]
275 #define SWIGTYPE_p_wxEvtHandler swig_types[64]
276 #define SWIGTYPE_p_wxCURHandler swig_types[65]
277 #define SWIGTYPE_p_wxICOHandler swig_types[66]
278 #define SWIGTYPE_p_wxBMPHandler swig_types[67]
279 #define SWIGTYPE_p_wxImageHandler swig_types[68]
280 #define SWIGTYPE_p_wxFileSystemHandler swig_types[69]
281 #define SWIGTYPE_p_wxPyFileSystemHandler swig_types[70]
282 #define SWIGTYPE_p_wxInternetFSHandler swig_types[71]
283 #define SWIGTYPE_p_wxZipFSHandler swig_types[72]
284 #define SWIGTYPE_p_wxRect swig_types[73]
285 #define SWIGTYPE_p_wxGBSpan swig_types[74]
286 #define SWIGTYPE_p_wxPropagateOnce swig_types[75]
287 #define SWIGTYPE_p_wxAcceleratorTable swig_types[76]
288 #define SWIGTYPE_p_char swig_types[77]
289 #define SWIGTYPE_p_wxGBPosition swig_types[78]
290 #define SWIGTYPE_p_wxImage swig_types[79]
291 #define SWIGTYPE_p_wxFrame swig_types[80]
292 #define SWIGTYPE_p_wxScrollWinEvent swig_types[81]
293 #define SWIGTYPE_p_wxImageHistogram swig_types[82]
294 #define SWIGTYPE_p_byte swig_types[83]
295 #define SWIGTYPE_p_wxPoint swig_types[84]
296 #define SWIGTYPE_p_wxCursor swig_types[85]
297 #define SWIGTYPE_p_wxObject swig_types[86]
298 #define SWIGTYPE_p_wxPyInputStream swig_types[87]
299 #define SWIGTYPE_p_wxOutputStream swig_types[88]
300 #define SWIGTYPE_p_wxInputStream swig_types[89]
301 #define SWIGTYPE_p_wxDateTime swig_types[90]
302 #define SWIGTYPE_p_wxKeyEvent swig_types[91]
303 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[92]
304 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[93]
305 #define SWIGTYPE_p_wxWindow swig_types[94]
306 #define SWIGTYPE_p_wxMenuBar swig_types[95]
307 #define SWIGTYPE_p_wxFileSystem swig_types[96]
308 #define SWIGTYPE_p_wxBitmap swig_types[97]
309 #define SWIGTYPE_p_wxMenuEvent swig_types[98]
310 #define SWIGTYPE_p_wxContextMenuEvent swig_types[99]
311 #define SWIGTYPE_p_unsigned_char swig_types[100]
312 #define SWIGTYPE_p_wxCloseEvent swig_types[101]
313 #define SWIGTYPE_p_wxEraseEvent swig_types[102]
314 #define SWIGTYPE_p_wxMouseEvent swig_types[103]
315 #define SWIGTYPE_p_wxPyApp swig_types[104]
316 #define SWIGTYPE_p_wxCommandEvent swig_types[105]
317 #define SWIGTYPE_p_wxPyCommandEvent swig_types[106]
318 #define SWIGTYPE_p_wxPyDropTarget swig_types[107]
319 #define SWIGTYPE_p_wxQuantize swig_types[108]
320 #define SWIGTYPE_p_wxChildFocusEvent swig_types[109]
321 #define SWIGTYPE_p_wxFocusEvent swig_types[110]
322 #define SWIGTYPE_p_wxDropFilesEvent swig_types[111]
323 #define SWIGTYPE_p_wxControlWithItems swig_types[112]
324 #define SWIGTYPE_p_wxColour swig_types[113]
325 #define SWIGTYPE_p_wxValidator swig_types[114]
326 #define SWIGTYPE_p_wxPyValidator swig_types[115]
327 static swig_type_info
*swig_types
[117];
329 /* -------- TYPES TABLE (END) -------- */
332 /*-----------------------------------------------
333 @(target):= _core_.so
334 ------------------------------------------------*/
335 #define SWIG_init init_core_
337 #define SWIG_name "_core_"
339 /* Auxiliar swig macros that appear in the header */
341 #define SWIG_OLDOBJ 1
342 #define SWIG_NEWOBJ SWIG_OLDOBJ + 1
343 #define SWIG_PYSTR SWIG_NEWOBJ + 1
346 #define SWIGSTATICINLINE(a) static inline a
347 #define SWIGSTATIC(a) static a
348 #define swig_new_array(size,Type) (new Type[(size)])
349 #define swig_delete(cptr) delete cptr
350 #define swig_delete_array(cptr) delete[] cptr
351 #define swig_const_cast(a,Type) const_cast<Type >(a)
352 #define swig_static_cast(a,Type) static_cast<Type >(a)
353 #define swig_reinterpret_cast(a,Type) reinterpret_cast<Type >(a)
354 #define swig_new_copy(ptr,Type) (new Type(*ptr))
355 #define swig_numeric_cast(a,Type) static_cast<Type >(a)
359 #define SWIGSTATICINLINE(a) static a
360 #define SWIGSTATIC(a) static a
361 #define swig_new_array(size,Type) ((Type*) malloc((size)*sizeof(Type)))
362 #define swig_delete(cptr) free((char*)cptr)
363 #define swig_delete_array(cptr) free((char*)cptr)
364 #define swig_const_cast(a,Type) (Type)(a)
365 #define swig_static_cast(a,Type) (Type)(a)
366 #define swig_reinterpret_cast(a,Type) (Type)(a)
367 #define swig_numeric_cast(a,Type) (Type)(a)
368 #define swig_new_copy(ptr,Type) ((Type*)memcpy(malloc(sizeof(Type)),ptr,sizeof(Type)))
370 #endif /* __cplusplus */
373 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
374 #define SWIG_From_signed_SS_char PyInt_FromLong
376 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
377 #define SWIG_From_unsigned_SS_char PyInt_FromLong
379 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
380 #define SWIG_From_short PyInt_FromLong
382 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
383 #define SWIG_From_unsigned_SS_short PyInt_FromLong
385 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
386 #define SWIG_From_int PyInt_FromLong
388 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
389 #define SWIG_From_long PyInt_FromLong
391 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
392 #define SWIG_From_float PyFloat_FromDouble
394 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
395 #define SWIG_From_double PyFloat_FromDouble
399 #include "wx/wxPython/wxPython_int.h"
400 #include "wx/wxPython/pyclasses.h"
403 #ifndef wxPyUSE_EXPORT
404 // Helper functions for dealing with SWIG objects and such. These are
405 // located here so they know about the SWIG types and functions declared
406 // in the wrapper code.
408 #include <wx/hashmap.h>
409 WX_DECLARE_STRING_HASH_MAP( swig_type_info
*, wxPyTypeInfoHashMap
);
412 // Maintains a hashmap of className to swig_type_info pointers. Given the
413 // name of a class either looks up the type info in the cache, or scans the
414 // SWIG tables for it.
415 extern PyObject
* wxPyPtrTypeMap
;
417 swig_type_info
* wxPyFindSwigType(const wxChar
* className
) {
419 static wxPyTypeInfoHashMap
* typeInfoCache
= NULL
;
421 if (typeInfoCache
== NULL
)
422 typeInfoCache
= new wxPyTypeInfoHashMap
;
424 wxString
name(className
);
425 swig_type_info
* swigType
= (*typeInfoCache
)[name
];
428 // it wasn't in the cache, so look it up from SWIG
429 name
.Append(wxT(" *"));
430 swigType
= SWIG_Python_TypeQuery(name
.mb_str());
432 // if it still wasn't found, try looking for a mapped name
437 if ((item
= PyDict_GetItemString(wxPyPtrTypeMap
,
438 (char*)(const char*)name
.mbc_str())) != NULL
) {
439 name
= wxString(PyString_AsString(item
), *wxConvCurrent
);
440 name
.Append(wxT(" *"));
441 swigType
= SWIG_Python_TypeQuery(name
.mb_str());
445 // and add it to the map if found
446 (*typeInfoCache
)[className
] = swigType
;
453 // Check if a class name is a type known to SWIG
454 bool wxPyCheckSwigType(const wxChar
* className
) {
456 swig_type_info
* swigType
= wxPyFindSwigType(className
);
457 return swigType
!= NULL
;
461 // Given a pointer to a C++ object and a class name, construct a Python proxy
463 PyObject
* wxPyConstructObject(void* ptr
,
464 const wxChar
* className
,
467 swig_type_info
* swigType
= wxPyFindSwigType(className
);
468 wxCHECK_MSG(swigType
!= NULL
, NULL
, wxT("Unknown type in wxPyConstructObject"));
470 return SWIG_Python_NewPointerObj(ptr
, swigType
, setThisOwn
);
474 // Extract a pointer to the wrapped C++ object from a Python proxy object.
475 // Ensures that the proxy object is of the specified (or derived) type. If
476 // not able to perform the conversion then a Python exception is set and the
477 // error should be handled properly in the caller. Returns True on success.
478 bool wxPyConvertSwigPtr(PyObject
* obj
, void **ptr
,
479 const wxChar
* className
) {
481 swig_type_info
* swigType
= wxPyFindSwigType(className
);
482 wxCHECK_MSG(swigType
!= NULL
, False
, wxT("Unknown type in wxPyConvertSwigPtr"));
484 return SWIG_Python_ConvertPtr(obj
, ptr
, swigType
, SWIG_POINTER_EXCEPTION
) != -1;
488 // Make a SWIGified pointer object suitable for a .this attribute
489 PyObject
* wxPyMakeSwigPtr(void* ptr
, const wxChar
* className
) {
491 PyObject
* robj
= NULL
;
493 swig_type_info
* swigType
= wxPyFindSwigType(className
);
494 wxCHECK_MSG(swigType
!= NULL
, NULL
, wxT("Unknown type in wxPyConvertSwigPtr"));
496 #ifdef SWIG_COBJECT_TYPES
497 robj
= PyCObject_FromVoidPtrAndDesc((void *) ptr
, (char *) swigType
->name
, NULL
);
503 r
= SWIG_Python_PackData(r
, &ptr
, sizeof(void *));
504 strcpy(r
, swigType
->name
);
505 robj
= PyString_FromString(result
);
515 // Export a C API in a struct. Other modules will be able to load this from
516 // the wx._core_ module and will then have safe access to these functions,
517 // even if they are located in another shared library.
518 static wxPyCoreAPI API
= {
520 (p_SWIG_Python_TypeRegister_t
)SWIG_Python_TypeRegister
,
521 (p_SWIG_Python_TypeCheck_t
)SWIG_Python_TypeCheck
,
522 (p_SWIG_Python_TypeCast_t
)SWIG_Python_TypeCast
,
523 (p_SWIG_Python_TypeDynamicCast_t
)SWIG_Python_TypeDynamicCast
,
524 (p_SWIG_Python_TypeName_t
)SWIG_Python_TypeName
,
525 (p_SWIG_Python_TypePrettyName_t
)SWIG_Python_TypePrettyName
,
526 (p_SWIG_Python_TypeQuery_t
)SWIG_Python_TypeQuery
,
527 (p_SWIG_Python_TypeClientData_t
)SWIG_Python_TypeClientData
,
528 (p_SWIG_Python_newvarlink_t
)SWIG_Python_newvarlink
,
529 (p_SWIG_Python_addvarlink_t
)SWIG_Python_addvarlink
,
530 (p_SWIG_Python_ConvertPtr_t
)SWIG_Python_ConvertPtr
,
531 (p_SWIG_Python_ConvertPacked_t
)SWIG_Python_ConvertPacked
,
532 (p_SWIG_Python_PackData_t
)SWIG_Python_PackData
,
533 (p_SWIG_Python_UnpackData_t
)SWIG_Python_UnpackData
,
534 (p_SWIG_Python_NewPointerObj_t
)SWIG_Python_NewPointerObj
,
535 (p_SWIG_Python_NewPackedObj_t
)SWIG_Python_NewPackedObj
,
536 (p_SWIG_Python_InstallConstants_t
)SWIG_Python_InstallConstants
,
537 (p_SWIG_Python_MustGetPtr_t
)SWIG_Python_MustGetPtr
,
544 wxPyBeginAllowThreads
,
546 wxPyBeginBlockThreads
,
560 wxBitmap_LIST_helper
,
561 wxString_LIST_helper
,
562 wxAcceleratorEntry_LIST_helper
,
571 wxPySimple_typecheck
,
574 wxPyCBH_setCallbackInfo
,
575 wxPyCBH_findCallback
,
576 wxPyCBH_callCallback
,
577 wxPyCBH_callCallbackObj
,
585 wxArrayString2PyList_helper
,
586 wxArrayInt2PyList_helper
,
590 wxPyOORClientData_dtor
,
592 wxPyCBInputStream_create
,
595 wxPySwigInstance_Check
,
605 enum wxHotkeyModifier
613 #define wxEVT_HOTKEY 9999
616 static const wxString
wxPyEmptyString(wxEmptyString
);
617 wxString
wxObject_GetClassName(wxObject
*self
){
618 return self
->GetClassInfo()->GetClassName();
620 void wxObject_Destroy(wxObject
*self
){
625 #define wxCURSOR_COPY_ARROW wxCURSOR_ARROW
632 SWIGSTATICINLINE(int)
633 SWIG_CheckLongInRange(long value
, long min_value
, long max_value
,
636 if (value
< min_value
) {
638 PyErr_Format(PyExc_OverflowError
,
639 "value %ld is less than '%s' minimum %ld",
640 value
, errmsg
, min_value
);
643 } else if (value
> max_value
) {
645 PyErr_Format(PyExc_OverflowError
,
646 "value %ld is greater than '%s' maximum %ld",
647 value
, errmsg
, max_value
);
655 // See my_fragments.i
656 SWIGSTATICINLINE(int)
657 SWIG_AsVal_long(PyObject
* obj
, long* val
)
659 if (PyNumber_Check(obj
)) {
660 if (val
) *val
= PyInt_AsLong(obj
);
664 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
665 obj
->ob_type
->tp_name
);
666 PyErr_SetObject(PyExc_TypeError
, errmsg
);
673 #if INT_MAX != LONG_MAX
674 SWIGSTATICINLINE(int)
675 SWIG_AsVal_int(PyObject
*obj
, int *val
)
677 const char* errmsg
= val
? "int" : 0;
679 if (SWIG_AsVal_long(obj
, &v
)) {
680 if (SWIG_CheckLongInRange(v
, INT_MIN
,INT_MAX
, errmsg
)) {
681 if (val
) *val
= swig_numeric_cast(v
, int);
690 PyErr_SetString(PyExc_TypeError
, "an int is expected");
695 SWIGSTATICINLINE(int)
696 SWIG_AsVal_int(PyObject
*obj
, int *val
)
698 return SWIG_AsVal_long(obj
,(long*)val
);
703 SWIGSTATICINLINE(int)
704 SWIG_As_int(PyObject
* obj
)
707 if (!SWIG_AsVal_int(obj
, &v
)) {
709 this is needed to make valgrind/purify happier. the other
710 solution is throw an exception, but since this code should work
713 memset((void*)&v
, 0, sizeof(int));
719 SWIGSTATICINLINE(int)
720 SWIG_Check_int(PyObject
* obj
)
722 return SWIG_AsVal_int(obj
, (int*)0);
725 PyObject
*wxSize_Get(wxSize
*self
){
726 bool blocked
= wxPyBeginBlockThreads();
727 PyObject
* tup
= PyTuple_New(2);
728 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
729 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
730 wxPyEndBlockThreads(blocked
);
734 // See my_fragments.i
735 SWIGSTATICINLINE(int)
736 SWIG_AsVal_double(PyObject
*obj
, double* val
)
738 if (PyNumber_Check(obj
)) {
739 if (val
) *val
= PyFloat_AsDouble(obj
);
743 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
744 obj
->ob_type
->tp_name
);
745 PyErr_SetObject(PyExc_TypeError
, errmsg
);
752 SWIGSTATICINLINE(double)
753 SWIG_As_double(PyObject
* obj
)
756 if (!SWIG_AsVal_double(obj
, &v
)) {
758 this is needed to make valgrind/purify happier. the other
759 solution is throw an exception, but since this code should work
762 memset((void*)&v
, 0, sizeof(double));
768 SWIGSTATICINLINE(int)
769 SWIG_Check_double(PyObject
* obj
)
771 return SWIG_AsVal_double(obj
, (double*)0);
774 void wxRealPoint_Set(wxRealPoint
*self
,double x
,double y
){
778 PyObject
*wxRealPoint_Get(wxRealPoint
*self
){
779 bool blocked
= wxPyBeginBlockThreads();
780 PyObject
* tup
= PyTuple_New(2);
781 PyTuple_SET_ITEM(tup
, 0, PyFloat_FromDouble(self
->x
));
782 PyTuple_SET_ITEM(tup
, 1, PyFloat_FromDouble(self
->y
));
783 wxPyEndBlockThreads(blocked
);
787 SWIGSTATICINLINE(long)
788 SWIG_As_long(PyObject
* obj
)
791 if (!SWIG_AsVal_long(obj
, &v
)) {
793 this is needed to make valgrind/purify happier. the other
794 solution is throw an exception, but since this code should work
797 memset((void*)&v
, 0, sizeof(long));
803 SWIGSTATICINLINE(int)
804 SWIG_Check_long(PyObject
* obj
)
806 return SWIG_AsVal_long(obj
, (long*)0);
809 void wxPoint_Set(wxPoint
*self
,long x
,long y
){
813 PyObject
*wxPoint_Get(wxPoint
*self
){
814 bool blocked
= wxPyBeginBlockThreads();
815 PyObject
* tup
= PyTuple_New(2);
816 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
817 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
818 wxPyEndBlockThreads(blocked
);
821 void wxRect_Set(wxRect
*self
,int x
,int y
,int width
,int height
){
825 self
->height
= height
;
827 PyObject
*wxRect_Get(wxRect
*self
){
828 bool blocked
= wxPyBeginBlockThreads();
829 PyObject
* tup
= PyTuple_New(4);
830 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
831 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
832 PyTuple_SET_ITEM(tup
, 2, PyInt_FromLong(self
->width
));
833 PyTuple_SET_ITEM(tup
, 3, PyInt_FromLong(self
->height
));
834 wxPyEndBlockThreads(blocked
);
838 PyObject
* wxIntersectRect(wxRect
* r1
, wxRect
* r2
) {
841 wxRect
dest(0,0,0,0);
844 reg1
.Intersect(reg2
);
845 dest
= reg1
.GetBox();
847 if (dest
!= wxRect(0,0,0,0)) {
848 bool blocked
= wxPyBeginBlockThreads();
849 wxRect
* newRect
= new wxRect(dest
);
850 obj
= wxPyConstructObject((void*)newRect
, wxT("wxRect"), True
);
851 wxPyEndBlockThreads(blocked
);
859 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
865 } else if (target
== Py_None
) {
869 if (!PyTuple_Check(target
)) {
871 target
= PyTuple_New(1);
872 PyTuple_SetItem(target
, 0, o2
);
875 PyTuple_SetItem(o3
, 0, o
);
878 target
= PySequence_Concat(o2
, o3
);
886 void wxPoint2D_Set(wxPoint2D
*self
,double x
,double y
){
890 PyObject
*wxPoint2D_Get(wxPoint2D
*self
){
891 bool blocked
= wxPyBeginBlockThreads();
892 PyObject
* tup
= PyTuple_New(2);
893 PyTuple_SET_ITEM(tup
, 0, PyFloat_FromDouble(self
->m_x
));
894 PyTuple_SET_ITEM(tup
, 1, PyFloat_FromDouble(self
->m_y
));
895 wxPyEndBlockThreads(blocked
);
899 #include "wx/wxPython/pyistream.h"
901 wxPyInputStream
*new_wxPyInputStream(PyObject
*p
){
902 wxInputStream
* wxis
= wxPyCBInputStream::create(p
);
904 return new wxPyInputStream(wxis
);
909 SWIGSTATICINLINE(PyObject
*)
910 SWIG_From_char(char c
)
912 return PyString_FromStringAndSize(&c
,1);
916 SWIGSTATICINLINE(PyObject
* )
917 SWIG_From_unsigned_SS_long(unsigned long value
)
919 return (value
> LONG_MAX
) ?
920 PyLong_FromUnsignedLong(value
)
921 : PyInt_FromLong(swig_numeric_cast(value
,long));
925 /* returns SWIG_OLDOBJ if the input is a raw char*, SWIG_PYSTR if is a PyString */
927 SWIG_AsCharPtrAndSize(PyObject
*obj
, char** cptr
, size_t* psize
)
929 static swig_type_info
* pchar_info
= 0;
931 if (!pchar_info
) pchar_info
= SWIG_TypeQuery("char *");
932 if (SWIG_ConvertPtr(obj
, (void**)&vptr
, pchar_info
, 0) != -1) {
933 if (cptr
) *cptr
= vptr
;
934 if (psize
) *psize
= vptr
? (strlen(vptr
) + 1) : 0;
937 if (PyString_Check(obj
)) {
939 *cptr
= PyString_AS_STRING(obj
);
941 *psize
= PyString_GET_SIZE(obj
) + 1;
948 PyErr_SetString(PyExc_TypeError
, "a string is expected");
955 SWIG_AsCharArray(PyObject
*obj
, char *val
, size_t size
)
957 char* cptr
; size_t csize
;
958 if (SWIG_AsCharPtrAndSize(obj
, &cptr
, &csize
)) {
963 ie, assing the array using an extra '0' char.
965 if ((csize
== size
+ 1) && !(cptr
[csize
-1])) --csize
;
968 if (csize
) memcpy(val
, cptr
, csize
);
969 if (csize
< size
) memset(val
+ csize
, 0, size
- csize
);
975 PyErr_Format(PyExc_TypeError
,
976 "a char array of maximum size %ld is expected",
983 SWIGSTATICINLINE(int)
984 SWIG_AsVal_char(PyObject
*obj
, char *val
)
986 const char* errmsg
= val
? "char" : 0;
988 if (SWIG_AsVal_long(obj
, &v
)) {
989 if (SWIG_CheckLongInRange(v
, CHAR_MIN
,CHAR_MAX
, errmsg
)) {
997 return SWIG_AsCharArray(obj
, val
, 1);
1002 SWIGSTATICINLINE(char)
1003 SWIG_As_char(PyObject
* obj
)
1006 if (!SWIG_AsVal_char(obj
, &v
)) {
1008 this is needed to make valgrind/purify happier. the other
1009 solution is throw an exception, but since this code should work
1012 memset((void*)&v
, 0, sizeof(char));
1018 SWIGSTATICINLINE(int)
1019 SWIG_Check_char(PyObject
* obj
)
1021 return SWIG_AsVal_char(obj
, (char*)0);
1024 void wxOutputStream_write(wxOutputStream
*self
,PyObject
*obj
){
1025 // We use only strings for the streams, not unicode
1026 PyObject
* str
= PyObject_Str(obj
);
1028 PyErr_SetString(PyExc_TypeError
, "Unable to convert to string");
1031 self
->Write(PyString_AS_STRING(str
),
1032 PyString_GET_SIZE(str
));
1036 #include "wx/wxPython/pyistream.h"
1039 class wxPyFileSystemHandler
: public wxFileSystemHandler
1042 wxPyFileSystemHandler() : wxFileSystemHandler() {}
1044 DEC_PYCALLBACK_BOOL_STRING_pure(CanOpen
);
1045 DEC_PYCALLBACK_FSF_FSSTRING_pure(OpenFile
);
1046 DEC_PYCALLBACK_STRING_STRINGINT_pure(FindFirst
);
1047 DEC_PYCALLBACK_STRING__pure(FindNext
);
1049 wxString
GetProtocol(const wxString
& location
) {
1050 return wxFileSystemHandler::GetProtocol(location
);
1053 wxString
GetLeftLocation(const wxString
& location
) {
1054 return wxFileSystemHandler::GetLeftLocation(location
);
1057 wxString
GetAnchor(const wxString
& location
) {
1058 return wxFileSystemHandler::GetAnchor(location
);
1061 wxString
GetRightLocation(const wxString
& location
) {
1062 return wxFileSystemHandler::GetRightLocation(location
);
1065 wxString
GetMimeTypeFromExt(const wxString
& location
) {
1066 return wxFileSystemHandler::GetMimeTypeFromExt(location
);
1073 IMP_PYCALLBACK_BOOL_STRING_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, CanOpen
);
1074 IMP_PYCALLBACK_FSF_FSSTRING_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, OpenFile
);
1075 IMP_PYCALLBACK_STRING_STRINGINT_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, FindFirst
);
1076 IMP_PYCALLBACK_STRING__pure(wxPyFileSystemHandler
, wxFileSystemHandler
, FindNext
);
1079 SWIGSTATICINLINE(int)
1080 SWIG_AsVal_bool(PyObject
*obj
, bool *val
)
1082 /* if (val) *val = PyObject_IsTrue(obj); return 1; */
1083 if (obj
== Py_True
) {
1084 if (val
) *val
= true;
1087 if (obj
== Py_False
) {
1088 if (val
) *val
= false;
1092 if (SWIG_AsVal_int(obj
, &res
)) {
1093 if (val
) *val
= (bool)res
;
1097 PyErr_SetString(PyExc_TypeError
, "a bool is expected");
1103 SWIGSTATICINLINE(bool)
1104 SWIG_As_bool(PyObject
* obj
)
1107 if (!SWIG_AsVal_bool(obj
, &v
)) {
1109 this is needed to make valgrind/purify happier. the other
1110 solution is throw an exception, but since this code should work
1113 memset((void*)&v
, 0, sizeof(bool));
1119 SWIGSTATICINLINE(int)
1120 SWIG_Check_bool(PyObject
* obj
)
1122 return SWIG_AsVal_bool(obj
, (bool*)0);
1126 wxString
wxFileSystem_URLToFileName(const wxString
& url
) {
1127 wxFileName fname
= wxFileSystem::URLToFileName(url
);
1128 return fname
.GetFullPath();
1132 void __wxMemoryFSHandler_AddFile_wxImage(const wxString
& filename
,
1135 wxMemoryFSHandler::AddFile(filename
, image
, type
);
1138 void __wxMemoryFSHandler_AddFile_wxBitmap(const wxString
& filename
,
1139 const wxBitmap
& bitmap
,
1141 wxMemoryFSHandler::AddFile(filename
, bitmap
, type
);
1144 void __wxMemoryFSHandler_AddFile_Data(const wxString
& filename
,
1146 wxMemoryFSHandler::AddFile(filename
,
1147 // TODO: Verify data type
1148 (void*)PyString_AsString(data
),
1149 (size_t)PyString_Size(data
));
1153 #include "wx/wxPython/pyistream.h"
1156 // See my_fragments.i
1157 SWIGSTATICINLINE(int)
1158 SWIG_AsVal_unsigned_SS_long(PyObject
* obj
, unsigned long* val
)
1161 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
1162 PyErr_SetString(PyExc_TypeError
, "negative value received for unsigned type");
1166 *val
= (unsigned long)v
;
1171 SWIGSTATICINLINE(int)
1172 SWIG_CheckUnsignedLongInRange(unsigned long value
,
1173 unsigned long max_value
,
1176 if (value
> max_value
) {
1178 PyErr_Format(PyExc_OverflowError
,
1179 "value %ld is greater than '%s' minimum %ld",
1180 value
, errmsg
, max_value
);
1188 SWIGSTATICINLINE(int)
1189 SWIG_AsVal_unsigned_SS_char(PyObject
*obj
, unsigned char *val
)
1191 const char* errmsg
= val
? "unsigned char" : 0;
1193 if (SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
1194 if (SWIG_CheckUnsignedLongInRange(v
, UCHAR_MAX
,errmsg
)) {
1195 if (val
) *val
= swig_numeric_cast(v
, unsigned char);
1204 PyErr_SetString(PyExc_TypeError
, "an unsigned char is expected");
1210 SWIGSTATICINLINE(unsigned char)
1211 SWIG_As_unsigned_SS_char(PyObject
* obj
)
1214 if (!SWIG_AsVal_unsigned_SS_char(obj
, &v
)) {
1216 this is needed to make valgrind/purify happier. the other
1217 solution is throw an exception, but since this code should work
1220 memset((void*)&v
, 0, sizeof(unsigned char));
1226 SWIGSTATICINLINE(int)
1227 SWIG_Check_unsigned_SS_char(PyObject
* obj
)
1229 return SWIG_AsVal_unsigned_SS_char(obj
, (unsigned char*)0);
1233 wxImage
*new_wxImage(int width
,int height
,bool clear
){
1234 if (width
> 0 && height
> 0)
1235 return new wxImage(width
, height
, clear
);
1239 wxImage
*new_wxImage(wxBitmap
const &bitmap
){
1240 return new wxImage(bitmap
.ConvertToImage());
1242 wxImage
*new_wxImage(int width
,int height
,unsigned char *data
){
1243 // Copy the source data so the wxImage can clean it up later
1244 unsigned char* copy
= (unsigned char*)malloc(width
*height
*3);
1249 memcpy(copy
, data
, width
*height
*3);
1250 return new wxImage(width
, height
, copy
, False
);
1252 wxSize
wxImage_GetSize(wxImage
*self
){
1253 wxSize
size(self
->GetWidth(), self
->GetHeight());
1256 PyObject
*wxImage_GetData(wxImage
*self
){
1257 unsigned char* data
= self
->GetData();
1258 int len
= self
->GetWidth() * self
->GetHeight() * 3;
1260 wxPyBLOCK_THREADS( rv
= PyString_FromStringAndSize((char*)data
, len
));
1263 void wxImage_SetData(wxImage
*self
,PyObject
*data
){
1264 unsigned char* dataPtr
;
1266 if (! PyString_Check(data
)) {
1267 PyErr_SetString(PyExc_TypeError
, "Expected string object");
1271 size_t len
= self
->GetWidth() * self
->GetHeight() * 3;
1272 dataPtr
= (unsigned char*) malloc(len
);
1273 wxPyBLOCK_THREADS( memcpy(dataPtr
, PyString_AsString(data
), len
) );
1274 self
->SetData(dataPtr
);
1275 // wxImage takes ownership of dataPtr...
1277 PyObject
*wxImage_GetDataBuffer(wxImage
*self
){
1278 unsigned char* data
= self
->GetData();
1279 int len
= self
->GetWidth() * self
->GetHeight() * 3;
1281 wxPyBLOCK_THREADS( rv
= PyBuffer_FromReadWriteMemory(data
, len
) );
1284 void wxImage_SetDataBuffer(wxImage
*self
,PyObject
*data
){
1285 unsigned char* buffer
;
1288 bool blocked
= wxPyBeginBlockThreads();
1289 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
1292 if (size
!= self
->GetWidth() * self
->GetHeight() * 3) {
1293 PyErr_SetString(PyExc_TypeError
, "Incorrect buffer size");
1296 self
->SetData(buffer
);
1298 wxPyEndBlockThreads(blocked
);
1300 PyObject
*wxImage_GetAlphaData(wxImage
*self
){
1301 unsigned char* data
= self
->GetAlpha();
1305 int len
= self
->GetWidth() * self
->GetHeight();
1307 wxPyBLOCK_THREADS( rv
= PyString_FromStringAndSize((char*)data
, len
) );
1311 void wxImage_SetAlphaData(wxImage
*self
,PyObject
*data
){
1312 unsigned char* dataPtr
;
1314 if (! PyString_Check(data
)) {
1315 PyErr_SetString(PyExc_TypeError
, "Expected string object");
1319 size_t len
= self
->GetWidth() * self
->GetHeight();
1320 dataPtr
= (unsigned char*) malloc(len
);
1321 wxPyBLOCK_THREADS( memcpy(dataPtr
, PyString_AsString(data
), len
) );
1322 self
->SetAlpha(dataPtr
);
1323 // wxImage takes ownership of dataPtr...
1325 PyObject
*wxImage_GetAlphaBuffer(wxImage
*self
){
1326 unsigned char* data
= self
->GetAlpha();
1327 int len
= self
->GetWidth() * self
->GetHeight();
1329 wxPyBLOCK_THREADS( rv
= PyBuffer_FromReadWriteMemory(data
, len
) );
1332 void wxImage_SetAlphaBuffer(wxImage
*self
,PyObject
*data
){
1333 unsigned char* buffer
;
1336 bool blocked
= wxPyBeginBlockThreads();
1337 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
1340 if (size
!= self
->GetWidth() * self
->GetHeight()) {
1341 PyErr_SetString(PyExc_TypeError
, "Incorrect buffer size");
1344 self
->SetAlpha(buffer
);
1346 wxPyEndBlockThreads(blocked
);
1349 SWIGSTATICINLINE(unsigned long)
1350 SWIG_As_unsigned_SS_long(PyObject
* obj
)
1353 if (!SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
1355 this is needed to make valgrind/purify happier. the other
1356 solution is throw an exception, but since this code should work
1359 memset((void*)&v
, 0, sizeof(unsigned long));
1365 SWIGSTATICINLINE(int)
1366 SWIG_Check_unsigned_SS_long(PyObject
* obj
)
1368 return SWIG_AsVal_unsigned_SS_long(obj
, (unsigned long*)0);
1371 wxBitmap
wxImage_ConvertToBitmap(wxImage
*self
,int depth
){
1372 wxBitmap
bitmap(*self
, depth
);
1375 wxBitmap
wxImage_ConvertToMonoBitmap(wxImage
*self
,unsigned char red
,unsigned char green
,unsigned char blue
){
1376 wxImage mono
= self
->ConvertToMono( red
, green
, blue
);
1377 wxBitmap
bitmap( mono
, 1 );
1380 static const wxString
wxPyIMAGE_OPTION_BMP_FORMAT(wxIMAGE_OPTION_BMP_FORMAT
);
1381 static const wxString
wxPyIMAGE_OPTION_CUR_HOTSPOT_X(wxIMAGE_OPTION_CUR_HOTSPOT_X
);
1382 static const wxString
wxPyIMAGE_OPTION_CUR_HOTSPOT_Y(wxIMAGE_OPTION_CUR_HOTSPOT_Y
);
1383 static const wxString
wxPyIMAGE_OPTION_RESOLUTION(wxIMAGE_OPTION_RESOLUTION
);
1384 static const wxString
wxPyIMAGE_OPTION_RESOLUTIONUNIT(wxIMAGE_OPTION_RESOLUTIONUNIT
);
1386 #include <wx/quantize.h>
1388 bool Quantize_Quantize(wxImage
const &src
,wxImage
&dest
,int desiredNoColours
,int flags
){
1389 return wxQuantize::Quantize(src
, dest
,
1392 NULL
, // eightBitData
1395 void wxEvtHandler_Connect(wxEvtHandler
*self
,int id
,int lastId
,int eventType
,PyObject
*func
){
1396 if (PyCallable_Check(func
)) {
1397 self
->Connect(id
, lastId
, eventType
,
1398 (wxObjectEventFunction
) &wxPyCallback::EventThunker
,
1399 new wxPyCallback(func
));
1401 else if (func
== Py_None
) {
1402 self
->Disconnect(id
, lastId
, eventType
,
1403 (wxObjectEventFunction
)
1404 &wxPyCallback::EventThunker
);
1408 PyErr_SetString(PyExc_TypeError
, "Expected callable object or None."));
1411 bool wxEvtHandler_Disconnect(wxEvtHandler
*self
,int id
,int lastId
,wxEventType eventType
){
1412 return self
->Disconnect(id
, lastId
, eventType
,
1413 (wxObjectEventFunction
)
1414 &wxPyCallback::EventThunker
);
1416 void wxEvtHandler__setOORInfo(wxEvtHandler
*self
,PyObject
*_self
){
1417 if (_self
&& _self
!= Py_None
) {
1418 self
->SetClientObject(new wxPyOORClientData(_self
));
1421 wxPyOORClientData
* data
= (wxPyOORClientData
*)self
->GetClientObject();
1423 self
->SetClientObject(NULL
); // This will delete it too
1428 int wxKeyEvent_GetUnicodeKey(wxKeyEvent
*self
){
1430 return self
->GetUnicodeKey();
1436 #if UINT_MAX < LONG_MAX
1437 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
1438 #define SWIG_From_unsigned_SS_int SWIG_From_long
1441 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
1442 #define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long
1447 #if UINT_MAX != ULONG_MAX
1448 SWIGSTATICINLINE(int)
1449 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
1451 const char* errmsg
= val
? "unsigned int" : 0;
1453 if (SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
1454 if (SWIG_CheckUnsignedLongInRange(v
, INT_MAX
, errmsg
)) {
1455 if (val
) *val
= swig_numeric_cast(v
, unsigned int);
1462 PyErr_SetString(PyExc_TypeError
, "an unsigned int is expected");
1467 SWIGSTATICINLINE(unsigned int)
1468 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
1470 return SWIG_AsVal_unsigned_SS_long(obj
,(unsigned long *)val
);
1475 SWIGSTATICINLINE(unsigned int)
1476 SWIG_As_unsigned_SS_int(PyObject
* obj
)
1479 if (!SWIG_AsVal_unsigned_SS_int(obj
, &v
)) {
1481 this is needed to make valgrind/purify happier. the other
1482 solution is throw an exception, but since this code should work
1485 memset((void*)&v
, 0, sizeof(unsigned int));
1491 SWIGSTATICINLINE(int)
1492 SWIG_Check_unsigned_SS_int(PyObject
* obj
)
1494 return SWIG_AsVal_unsigned_SS_int(obj
, (unsigned int*)0);
1497 void wxSizeEvent_SetSize(wxSizeEvent
*self
,wxSize size
){
1498 self
->m_size
= size
;
1500 void wxMoveEvent_SetPosition(wxMoveEvent
*self
,wxPoint pos
){
1503 PyObject
*wxDropFilesEvent_GetFiles(wxDropFilesEvent
*self
){
1504 int count
= self
->GetNumberOfFiles();
1505 wxString
* files
= self
->GetFiles();
1506 PyObject
* list
= PyList_New(count
);
1509 PyErr_SetString(PyExc_MemoryError
, "Can't allocate list of files!");
1513 for (int i
=0; i
<count
; i
++) {
1514 PyList_SetItem(list
, i
, wx2PyString(files
[i
]));
1520 wxPyApp
*new_wxPyApp(){
1521 wxPythonApp
= new wxPyApp();
1525 void wxApp_CleanUp() {
1530 wxPyApp
* wxPyGetApp() { return (wxPyApp
*)wxTheApp
; }
1534 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
1535 wxVisualAttributes
*new_wxVisualAttributes(){ return new wxVisualAttributes
; }
1536 void delete_wxVisualAttributes(wxVisualAttributes
*self
){ delete self
; }
1537 PyObject
*wxWindow_GetChildren(wxWindow
*self
){
1538 wxWindowList
& list
= self
->GetChildren();
1539 return wxPy_ConvertList(&list
);
1541 bool wxWindow_RegisterHotKey(wxWindow
*self
,int hotkeyId
,int modifiers
,int keycode
){
1543 return self
->RegisterHotKey(hotkeyId
, modifiers
, keycode
);
1548 bool wxWindow_UnregisterHotKey(wxWindow
*self
,int hotkeyId
){
1555 long wxWindow_GetHandle(wxWindow
*self
){
1556 return wxPyGetWinHandle(self
);
1558 void wxWindow_AssociateHandle(wxWindow
*self
,long handle
){
1559 self
->AssociateHandle((WXWidget
)handle
);
1562 wxWindow
* wxFindWindowById( long id
, const wxWindow
*parent
= NULL
) {
1563 return wxWindow::FindWindowById(id
, parent
);
1566 wxWindow
* wxFindWindowByName( const wxString
& name
,
1567 const wxWindow
*parent
= NULL
) {
1568 return wxWindow::FindWindowByName(name
, parent
);
1571 wxWindow
* wxFindWindowByLabel( const wxString
& label
,
1572 const wxWindow
*parent
= NULL
) {
1573 return wxWindow::FindWindowByLabel(label
, parent
);
1578 #include <wx/msw/private.h> // to get wxGetWindowId
1582 wxWindow
* wxWindow_FromHWND(wxWindow
* parent
, unsigned long _hWnd
) {
1584 WXHWND hWnd
= (WXHWND
)_hWnd
;
1585 long id
= wxGetWindowId(hWnd
);
1586 wxWindow
* win
= new wxWindow
;
1587 parent
->AddChild(win
);
1588 win
->SetEventHandler(win
);
1591 win
->SubclassWin(hWnd
);
1592 win
->AdoptAttributesFromHWND();
1593 win
->SetupColours();
1596 wxPyRaiseNotImplemented();
1602 IMP_PYCALLBACK_BOOL_WXWIN(wxPyValidator
, wxValidator
, Validate
);
1603 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferToWindow
);
1604 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferFromWindow
);
1606 IMPLEMENT_DYNAMIC_CLASS(wxPyValidator
, wxValidator
);
1608 void wxMenu_Destroy(wxMenu
*self
){ delete self
; }
1609 PyObject
*wxMenu_GetMenuItems(wxMenu
*self
){
1610 wxMenuItemList
& list
= self
->GetMenuItems();
1611 return wxPy_ConvertList(&list
);
1613 static const wxString
wxPyControlNameStr(wxControlNameStr
);
1614 int wxItemContainer_Append(wxItemContainer
*self
,wxString
const &item
,PyObject
*clientData
){
1616 wxPyClientData
* data
= new wxPyClientData(clientData
);
1617 return self
->Append(item
, data
);
1619 return self
->Append(item
);
1621 int wxItemContainer_Insert(wxItemContainer
*self
,wxString
const &item
,int pos
,PyObject
*clientData
){
1623 wxPyClientData
* data
= new wxPyClientData(clientData
);
1624 return self
->Insert(item
, pos
, data
);
1626 return self
->Insert(item
, pos
);
1628 PyObject
*wxItemContainer_GetClientData(wxItemContainer
*self
,int n
){
1629 wxPyClientData
* data
= (wxPyClientData
*)self
->GetClientObject(n
);
1631 Py_INCREF(data
->m_obj
);
1638 void wxItemContainer_SetClientData(wxItemContainer
*self
,int n
,PyObject
*clientData
){
1639 wxPyClientData
* data
= new wxPyClientData(clientData
);
1640 self
->SetClientObject(n
, data
);
1644 wxSizerItem
*new_wxSizerItem(wxWindow
*window
,int proportion
,int flag
,int border
,PyObject
*userData
){
1645 wxPyUserData
* data
= NULL
;
1647 bool blocked
= wxPyBeginBlockThreads();
1648 data
= new wxPyUserData(userData
);
1649 wxPyEndBlockThreads(blocked
);
1651 return new wxSizerItem(window
, proportion
, flag
, border
, data
);
1653 wxSizerItem
*new_wxSizerItem(int width
,int height
,int proportion
,int flag
,int border
,PyObject
*userData
){
1654 wxPyUserData
* data
= NULL
;
1656 bool blocked
= wxPyBeginBlockThreads();
1657 data
= new wxPyUserData(userData
);
1658 wxPyEndBlockThreads(blocked
);
1660 return new wxSizerItem(width
, height
, proportion
, flag
, border
, data
);
1662 wxSizerItem
*new_wxSizerItem(wxSizer
*sizer
,int proportion
,int flag
,int border
,PyObject
*userData
){
1663 wxPyUserData
* data
= NULL
;
1665 bool blocked
= wxPyBeginBlockThreads();
1666 data
= new wxPyUserData(userData
);
1667 wxPyEndBlockThreads(blocked
);
1669 return new wxSizerItem(sizer
, proportion
, flag
, border
, data
);
1673 SWIGSTATICINLINE(int)
1674 SWIG_CheckDoubleInRange(double value
, double min_value
,
1675 double max_value
, const char* errmsg
)
1677 if (value
< min_value
) {
1679 PyErr_Format(PyExc_OverflowError
,
1680 "value %g is less than %s minimum %g",
1681 value
, errmsg
, min_value
);
1684 } else if (value
> max_value
) {
1686 PyErr_Format(PyExc_OverflowError
,
1687 "value %g is greater than %s maximum %g",
1688 value
, errmsg
, max_value
);
1696 SWIGSTATICINLINE(int)
1697 SWIG_AsVal_float(PyObject
*obj
, float *val
)
1699 const char* errmsg
= val
? "float" : 0;
1701 if (SWIG_AsVal_double(obj
, &v
)) {
1702 if (SWIG_CheckDoubleInRange(v
, -FLT_MAX
, FLT_MAX
, errmsg
)) {
1712 PyErr_SetString(PyExc_TypeError
, "a float is expected");
1718 SWIGSTATICINLINE(float)
1719 SWIG_As_float(PyObject
* obj
)
1722 if (!SWIG_AsVal_float(obj
, &v
)) {
1724 this is needed to make valgrind/purify happier. the other
1725 solution is throw an exception, but since this code should work
1728 memset((void*)&v
, 0, sizeof(float));
1734 SWIGSTATICINLINE(int)
1735 SWIG_Check_float(PyObject
* obj
)
1737 return SWIG_AsVal_float(obj
, (float*)0);
1740 PyObject
*wxSizerItem_GetUserData(wxSizerItem
*self
){
1741 wxPyUserData
* data
= (wxPyUserData
*)self
->GetUserData();
1743 Py_INCREF(data
->m_obj
);
1751 // Figure out the type of the sizer item
1753 struct wxPySizerItemInfo
{
1755 : window(NULL
), sizer(NULL
), gotSize(False
),
1756 size(wxDefaultSize
), gotPos(False
), pos(-1)
1767 static wxPySizerItemInfo
wxPySizerItemTypeHelper(PyObject
* item
, bool checkSize
, bool checkIdx
) {
1769 wxPySizerItemInfo info
;
1771 wxSize
* sizePtr
= &size
;
1773 // Find out what the type of the item is
1775 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.window
, wxT("wxWindow")) ) {
1780 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.sizer
, wxT("wxSizer")) ) {
1784 // try wxSize or (w,h)
1785 if ( checkSize
&& wxSize_helper(item
, &sizePtr
)) {
1786 info
.size
= *sizePtr
;
1787 info
.gotSize
= True
;
1791 if (checkIdx
&& PyInt_Check(item
)) {
1792 info
.pos
= PyInt_AsLong(item
);
1798 if ( !(info
.window
|| info
.sizer
|| (checkSize
&& info
.gotSize
) || (checkIdx
&& info
.gotPos
)) ) {
1799 // no expected type, figure out what kind of error message to generate
1800 if ( !checkSize
&& !checkIdx
)
1801 PyErr_SetString(PyExc_TypeError
, "wxWindow or wxSizer expected for item");
1802 else if ( checkSize
&& !checkIdx
)
1803 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer, wxSize, or (w,h) expected for item");
1804 else if ( !checkSize
&& checkIdx
)
1805 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer or int (position) expected for item");
1807 // can this one happen?
1808 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer, wxSize, or (w,h) or int (position) expected for item");
1814 void wxSizer__setOORInfo(wxSizer
*self
,PyObject
*_self
){
1815 if (!self
->GetClientObject())
1816 self
->SetClientObject(new wxPyOORClientData(_self
));
1818 void wxSizer_Add(wxSizer
*self
,PyObject
*item
,int proportion
,int flag
,int border
,PyObject
*userData
){
1820 wxPyUserData
* data
= NULL
;
1821 bool blocked
= wxPyBeginBlockThreads();
1822 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, True
, False
);
1823 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1824 data
= new wxPyUserData(userData
);
1825 wxPyEndBlockThreads(blocked
);
1827 // Now call the real Add method if a valid item type was found
1829 self
->Add(info
.window
, proportion
, flag
, border
, data
);
1830 else if ( info
.sizer
)
1831 self
->Add(info
.sizer
, proportion
, flag
, border
, data
);
1832 else if (info
.gotSize
)
1833 self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
1834 proportion
, flag
, border
, data
);
1836 void wxSizer_Insert(wxSizer
*self
,int before
,PyObject
*item
,int proportion
,int flag
,int border
,PyObject
*userData
){
1838 wxPyUserData
* data
= NULL
;
1839 bool blocked
= wxPyBeginBlockThreads();
1840 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, True
, False
);
1841 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1842 data
= new wxPyUserData(userData
);
1843 wxPyEndBlockThreads(blocked
);
1845 // Now call the real Insert method if a valid item type was found
1847 self
->Insert(before
, info
.window
, proportion
, flag
, border
, data
);
1848 else if ( info
.sizer
)
1849 self
->Insert(before
, info
.sizer
, proportion
, flag
, border
, data
);
1850 else if (info
.gotSize
)
1851 self
->Insert(before
, info
.size
.GetWidth(), info
.size
.GetHeight(),
1852 proportion
, flag
, border
, data
);
1854 void wxSizer_Prepend(wxSizer
*self
,PyObject
*item
,int proportion
,int flag
,int border
,PyObject
*userData
){
1856 wxPyUserData
* data
= NULL
;
1857 bool blocked
= wxPyBeginBlockThreads();
1858 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, True
, False
);
1859 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1860 data
= new wxPyUserData(userData
);
1861 wxPyEndBlockThreads(blocked
);
1863 // Now call the real Prepend method if a valid item type was found
1865 self
->Prepend(info
.window
, proportion
, flag
, border
, data
);
1866 else if ( info
.sizer
)
1867 self
->Prepend(info
.sizer
, proportion
, flag
, border
, data
);
1868 else if (info
.gotSize
)
1869 self
->Prepend(info
.size
.GetWidth(), info
.size
.GetHeight(),
1870 proportion
, flag
, border
, data
);
1872 bool wxSizer_Remove(wxSizer
*self
,PyObject
*item
){
1873 bool blocked
= wxPyBeginBlockThreads();
1874 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, True
);
1875 wxPyEndBlockThreads(blocked
);
1877 return self
->Remove(info
.window
);
1878 else if ( info
.sizer
)
1879 return self
->Remove(info
.sizer
);
1880 else if ( info
.gotPos
)
1881 return self
->Remove(info
.pos
);
1885 bool wxSizer_Detach(wxSizer
*self
,PyObject
*item
){
1886 bool blocked
= wxPyBeginBlockThreads();
1887 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, True
);
1888 wxPyEndBlockThreads(blocked
);
1890 return self
->Detach(info
.window
);
1891 else if ( info
.sizer
)
1892 return self
->Detach(info
.sizer
);
1893 else if ( info
.gotPos
)
1894 return self
->Detach(info
.pos
);
1898 void wxSizer__SetItemMinSize(wxSizer
*self
,PyObject
*item
,wxSize
const &size
){
1899 bool blocked
= wxPyBeginBlockThreads();
1900 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, True
);
1901 wxPyEndBlockThreads(blocked
);
1903 self
->SetItemMinSize(info
.window
, size
);
1904 else if ( info
.sizer
)
1905 self
->SetItemMinSize(info
.sizer
, size
);
1906 else if ( info
.gotPos
)
1907 self
->SetItemMinSize(info
.pos
, size
);
1909 PyObject
*wxSizer_GetChildren(wxSizer
*self
){
1910 wxSizerItemList
& list
= self
->GetChildren();
1911 return wxPy_ConvertList(&list
);
1913 bool wxSizer_Show(wxSizer
*self
,PyObject
*item
,bool show
,bool recursive
){
1914 bool blocked
= wxPyBeginBlockThreads();
1915 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, True
);
1916 wxPyEndBlockThreads(blocked
);
1918 return self
->Show(info
.window
, show
, recursive
);
1919 else if ( info
.sizer
)
1920 return self
->Show(info
.sizer
, show
, recursive
);
1921 else if ( info
.gotPos
)
1922 return self
->Show(info
.pos
, show
);
1924 bool wxSizer_IsShown(wxSizer
*self
,PyObject
*item
){
1925 bool blocked
= wxPyBeginBlockThreads();
1926 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, False
);
1927 wxPyEndBlockThreads(blocked
);
1929 return self
->IsShown(info
.window
);
1930 else if ( info
.sizer
)
1931 return self
->IsShown(info
.sizer
);
1932 else if ( info
.gotPos
)
1933 return self
->IsShown(info
.pos
);
1939 IMP_PYCALLBACK___pure(wxPySizer
, wxSizer
, RecalcSizes
);
1940 IMP_PYCALLBACK_wxSize__pure(wxPySizer
, wxSizer
, CalcMin
);
1941 IMPLEMENT_DYNAMIC_CLASS(wxPySizer
, wxSizer
);
1946 bool wxGBPosition_helper(PyObject
* source
, wxGBPosition
** obj
)
1948 if (source
== Py_None
) {
1949 **obj
= wxGBPosition(-1,-1);
1952 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBPosition"));
1955 bool wxGBSpan_helper(PyObject
* source
, wxGBSpan
** obj
)
1957 if (source
== Py_None
) {
1958 **obj
= wxGBSpan(-1,-1);
1961 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBSpan"));
1965 void wxGBPosition_Set(wxGBPosition
*self
,int row
,int col
){
1969 PyObject
*wxGBPosition_Get(wxGBPosition
*self
){
1970 bool blocked
= wxPyBeginBlockThreads();
1971 PyObject
* tup
= PyTuple_New(2);
1972 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRow()));
1973 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetCol()));
1974 wxPyEndBlockThreads(blocked
);
1977 void wxGBSpan_Set(wxGBSpan
*self
,int rowspan
,int colspan
){
1978 self
->SetRowspan(rowspan
);
1979 self
->SetColspan(colspan
);
1981 PyObject
*wxGBSpan_Get(wxGBSpan
*self
){
1982 bool blocked
= wxPyBeginBlockThreads();
1983 PyObject
* tup
= PyTuple_New(2);
1984 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRowspan()));
1985 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetColspan()));
1986 wxPyEndBlockThreads(blocked
);
1989 wxGBSizerItem
*new_wxGBSizerItem(wxWindow
*window
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
){
1990 wxPyUserData
* data
= NULL
;
1992 bool blocked
= wxPyBeginBlockThreads();
1993 data
= new wxPyUserData(userData
);
1994 wxPyEndBlockThreads(blocked
);
1996 return new wxGBSizerItem(window
, pos
, span
, flag
, border
, data
);
1998 wxGBSizerItem
*new_wxGBSizerItem(wxSizer
*sizer
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
){
1999 wxPyUserData
* data
= NULL
;
2001 bool blocked
= wxPyBeginBlockThreads();
2002 data
= new wxPyUserData(userData
);
2003 wxPyEndBlockThreads(blocked
);
2005 return new wxGBSizerItem(sizer
, pos
, span
, flag
, border
, data
);
2007 wxGBSizerItem
*new_wxGBSizerItem(int width
,int height
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
){
2008 wxPyUserData
* data
= NULL
;
2010 bool blocked
= wxPyBeginBlockThreads();
2011 data
= new wxPyUserData(userData
);
2012 wxPyEndBlockThreads(blocked
);
2014 return new wxGBSizerItem(width
, height
, pos
, span
, flag
, border
, data
);
2016 wxGBPosition
wxGBSizerItem_GetEndPos(wxGBSizerItem
*self
){
2018 self
->GetEndPos(row
, col
);
2019 return wxGBPosition(row
, col
);
2021 bool wxGridBagSizer_Add(wxGridBagSizer
*self
,PyObject
*item
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
){
2023 wxPyUserData
* data
= NULL
;
2024 bool blocked
= wxPyBeginBlockThreads();
2025 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, True
, False
);
2026 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
2027 data
= new wxPyUserData(userData
);
2028 wxPyEndBlockThreads(blocked
);
2030 // Now call the real Add method if a valid item type was found
2032 return self
->Add(info
.window
, pos
, span
, flag
, border
, data
);
2033 else if ( info
.sizer
)
2034 return self
->Add(info
.sizer
, pos
, span
, flag
, border
, data
);
2035 else if (info
.gotSize
)
2036 return self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
2037 pos
, span
, flag
, border
, data
);
2045 static int _wrap_EmptyString_set(PyObject
*) {
2046 PyErr_SetString(PyExc_TypeError
,"Variable EmptyString is read-only.");
2051 static PyObject
*_wrap_EmptyString_get() {
2056 pyobj
= PyUnicode_FromWideChar((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
2058 pyobj
= PyString_FromStringAndSize((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
2065 static PyObject
*_wrap_Object_GetClassName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2066 PyObject
*resultobj
;
2067 wxObject
*arg1
= (wxObject
*) 0 ;
2069 PyObject
* obj0
= 0 ;
2071 (char *) "self", NULL
2074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_GetClassName",kwnames
,&obj0
)) goto fail
;
2075 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxObject
,
2076 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2079 result
= wxObject_GetClassName(arg1
);
2081 wxPyEndAllowThreads(__tstate
);
2082 if (PyErr_Occurred()) SWIG_fail
;
2086 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2088 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2097 static PyObject
*_wrap_Object_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2098 PyObject
*resultobj
;
2099 wxObject
*arg1
= (wxObject
*) 0 ;
2100 PyObject
* obj0
= 0 ;
2102 (char *) "self", NULL
2105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_Destroy",kwnames
,&obj0
)) goto fail
;
2106 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxObject
,
2107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2110 wxObject_Destroy(arg1
);
2112 wxPyEndAllowThreads(__tstate
);
2113 if (PyErr_Occurred()) SWIG_fail
;
2115 Py_INCREF(Py_None
); resultobj
= Py_None
;
2122 static PyObject
* Object_swigregister(PyObject
*, PyObject
*args
) {
2124 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2125 SWIG_TypeClientData(SWIGTYPE_p_wxObject
, obj
);
2127 return Py_BuildValue((char *)"");
2129 static PyObject
*_wrap_Size_width_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2130 PyObject
*resultobj
;
2131 wxSize
*arg1
= (wxSize
*) 0 ;
2133 PyObject
* obj0
= 0 ;
2134 PyObject
* obj1
= 0 ;
2136 (char *) "self",(char *) "x", NULL
2139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2142 arg2
= (int)SWIG_As_int(obj1
);
2143 if (PyErr_Occurred()) SWIG_fail
;
2144 if (arg1
) (arg1
)->x
= arg2
;
2146 Py_INCREF(Py_None
); resultobj
= Py_None
;
2153 static PyObject
*_wrap_Size_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2154 PyObject
*resultobj
;
2155 wxSize
*arg1
= (wxSize
*) 0 ;
2157 PyObject
* obj0
= 0 ;
2159 (char *) "self", NULL
2162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_width_get",kwnames
,&obj0
)) goto fail
;
2163 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2164 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2165 result
= (int) ((arg1
)->x
);
2167 resultobj
= SWIG_From_int((int)result
);
2174 static PyObject
*_wrap_Size_height_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2175 PyObject
*resultobj
;
2176 wxSize
*arg1
= (wxSize
*) 0 ;
2178 PyObject
* obj0
= 0 ;
2179 PyObject
* obj1
= 0 ;
2181 (char *) "self",(char *) "y", NULL
2184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_height_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2185 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2186 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2187 arg2
= (int)SWIG_As_int(obj1
);
2188 if (PyErr_Occurred()) SWIG_fail
;
2189 if (arg1
) (arg1
)->y
= arg2
;
2191 Py_INCREF(Py_None
); resultobj
= Py_None
;
2198 static PyObject
*_wrap_Size_height_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2199 PyObject
*resultobj
;
2200 wxSize
*arg1
= (wxSize
*) 0 ;
2202 PyObject
* obj0
= 0 ;
2204 (char *) "self", NULL
2207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_height_get",kwnames
,&obj0
)) goto fail
;
2208 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2210 result
= (int) ((arg1
)->y
);
2212 resultobj
= SWIG_From_int((int)result
);
2219 static PyObject
*_wrap_new_Size(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2220 PyObject
*resultobj
;
2221 int arg1
= (int) 0 ;
2222 int arg2
= (int) 0 ;
2224 PyObject
* obj0
= 0 ;
2225 PyObject
* obj1
= 0 ;
2227 (char *) "w",(char *) "h", NULL
2230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Size",kwnames
,&obj0
,&obj1
)) goto fail
;
2232 arg1
= (int)SWIG_As_int(obj0
);
2233 if (PyErr_Occurred()) SWIG_fail
;
2236 arg2
= (int)SWIG_As_int(obj1
);
2237 if (PyErr_Occurred()) SWIG_fail
;
2240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2241 result
= (wxSize
*)new wxSize(arg1
,arg2
);
2243 wxPyEndAllowThreads(__tstate
);
2244 if (PyErr_Occurred()) SWIG_fail
;
2246 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 1);
2253 static PyObject
*_wrap_delete_Size(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2254 PyObject
*resultobj
;
2255 wxSize
*arg1
= (wxSize
*) 0 ;
2256 PyObject
* obj0
= 0 ;
2258 (char *) "self", NULL
2261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Size",kwnames
,&obj0
)) goto fail
;
2262 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2263 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2268 wxPyEndAllowThreads(__tstate
);
2269 if (PyErr_Occurred()) SWIG_fail
;
2271 Py_INCREF(Py_None
); resultobj
= Py_None
;
2278 static PyObject
*_wrap_Size___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2279 PyObject
*resultobj
;
2280 wxSize
*arg1
= (wxSize
*) 0 ;
2284 PyObject
* obj0
= 0 ;
2285 PyObject
* obj1
= 0 ;
2287 (char *) "self",(char *) "sz", NULL
2290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
2291 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2292 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2295 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2299 result
= (bool)(arg1
)->operator ==((wxSize
const &)*arg2
);
2301 wxPyEndAllowThreads(__tstate
);
2302 if (PyErr_Occurred()) SWIG_fail
;
2305 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2313 static PyObject
*_wrap_Size___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2314 PyObject
*resultobj
;
2315 wxSize
*arg1
= (wxSize
*) 0 ;
2319 PyObject
* obj0
= 0 ;
2320 PyObject
* obj1
= 0 ;
2322 (char *) "self",(char *) "sz", NULL
2325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
2326 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2327 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2330 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2334 result
= (bool)(arg1
)->operator !=((wxSize
const &)*arg2
);
2336 wxPyEndAllowThreads(__tstate
);
2337 if (PyErr_Occurred()) SWIG_fail
;
2340 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2348 static PyObject
*_wrap_Size___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2349 PyObject
*resultobj
;
2350 wxSize
*arg1
= (wxSize
*) 0 ;
2354 PyObject
* obj0
= 0 ;
2355 PyObject
* obj1
= 0 ;
2357 (char *) "self",(char *) "sz", NULL
2360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
2361 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2362 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2365 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2369 result
= (arg1
)->operator +((wxSize
const &)*arg2
);
2371 wxPyEndAllowThreads(__tstate
);
2372 if (PyErr_Occurred()) SWIG_fail
;
2376 resultptr
= new wxSize((wxSize
&) result
);
2377 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
2385 static PyObject
*_wrap_Size___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2386 PyObject
*resultobj
;
2387 wxSize
*arg1
= (wxSize
*) 0 ;
2391 PyObject
* obj0
= 0 ;
2392 PyObject
* obj1
= 0 ;
2394 (char *) "self",(char *) "sz", NULL
2397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
2398 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2399 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2402 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2406 result
= (arg1
)->operator -((wxSize
const &)*arg2
);
2408 wxPyEndAllowThreads(__tstate
);
2409 if (PyErr_Occurred()) SWIG_fail
;
2413 resultptr
= new wxSize((wxSize
&) result
);
2414 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
2422 static PyObject
*_wrap_Size_IncTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2423 PyObject
*resultobj
;
2424 wxSize
*arg1
= (wxSize
*) 0 ;
2427 PyObject
* obj0
= 0 ;
2428 PyObject
* obj1
= 0 ;
2430 (char *) "self",(char *) "sz", NULL
2433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_IncTo",kwnames
,&obj0
,&obj1
)) goto fail
;
2434 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2435 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2438 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2442 (arg1
)->IncTo((wxSize
const &)*arg2
);
2444 wxPyEndAllowThreads(__tstate
);
2445 if (PyErr_Occurred()) SWIG_fail
;
2447 Py_INCREF(Py_None
); resultobj
= Py_None
;
2454 static PyObject
*_wrap_Size_DecTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2455 PyObject
*resultobj
;
2456 wxSize
*arg1
= (wxSize
*) 0 ;
2459 PyObject
* obj0
= 0 ;
2460 PyObject
* obj1
= 0 ;
2462 (char *) "self",(char *) "sz", NULL
2465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_DecTo",kwnames
,&obj0
,&obj1
)) goto fail
;
2466 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2467 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2470 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2474 (arg1
)->DecTo((wxSize
const &)*arg2
);
2476 wxPyEndAllowThreads(__tstate
);
2477 if (PyErr_Occurred()) SWIG_fail
;
2479 Py_INCREF(Py_None
); resultobj
= Py_None
;
2486 static PyObject
*_wrap_Size_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2487 PyObject
*resultobj
;
2488 wxSize
*arg1
= (wxSize
*) 0 ;
2491 PyObject
* obj0
= 0 ;
2492 PyObject
* obj1
= 0 ;
2493 PyObject
* obj2
= 0 ;
2495 (char *) "self",(char *) "w",(char *) "h", NULL
2498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Size_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2499 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2500 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2501 arg2
= (int)SWIG_As_int(obj1
);
2502 if (PyErr_Occurred()) SWIG_fail
;
2503 arg3
= (int)SWIG_As_int(obj2
);
2504 if (PyErr_Occurred()) SWIG_fail
;
2506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2507 (arg1
)->Set(arg2
,arg3
);
2509 wxPyEndAllowThreads(__tstate
);
2510 if (PyErr_Occurred()) SWIG_fail
;
2512 Py_INCREF(Py_None
); resultobj
= Py_None
;
2519 static PyObject
*_wrap_Size_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2520 PyObject
*resultobj
;
2521 wxSize
*arg1
= (wxSize
*) 0 ;
2523 PyObject
* obj0
= 0 ;
2524 PyObject
* obj1
= 0 ;
2526 (char *) "self",(char *) "w", NULL
2529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
2530 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2532 arg2
= (int)SWIG_As_int(obj1
);
2533 if (PyErr_Occurred()) SWIG_fail
;
2535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2536 (arg1
)->SetWidth(arg2
);
2538 wxPyEndAllowThreads(__tstate
);
2539 if (PyErr_Occurred()) SWIG_fail
;
2541 Py_INCREF(Py_None
); resultobj
= Py_None
;
2548 static PyObject
*_wrap_Size_SetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2549 PyObject
*resultobj
;
2550 wxSize
*arg1
= (wxSize
*) 0 ;
2552 PyObject
* obj0
= 0 ;
2553 PyObject
* obj1
= 0 ;
2555 (char *) "self",(char *) "h", NULL
2558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
2559 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2560 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2561 arg2
= (int)SWIG_As_int(obj1
);
2562 if (PyErr_Occurred()) SWIG_fail
;
2564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2565 (arg1
)->SetHeight(arg2
);
2567 wxPyEndAllowThreads(__tstate
);
2568 if (PyErr_Occurred()) SWIG_fail
;
2570 Py_INCREF(Py_None
); resultobj
= Py_None
;
2577 static PyObject
*_wrap_Size_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2578 PyObject
*resultobj
;
2579 wxSize
*arg1
= (wxSize
*) 0 ;
2581 PyObject
* obj0
= 0 ;
2583 (char *) "self", NULL
2586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetWidth",kwnames
,&obj0
)) goto fail
;
2587 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2591 result
= (int)((wxSize
const *)arg1
)->GetWidth();
2593 wxPyEndAllowThreads(__tstate
);
2594 if (PyErr_Occurred()) SWIG_fail
;
2596 resultobj
= SWIG_From_int((int)result
);
2603 static PyObject
*_wrap_Size_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2604 PyObject
*resultobj
;
2605 wxSize
*arg1
= (wxSize
*) 0 ;
2607 PyObject
* obj0
= 0 ;
2609 (char *) "self", NULL
2612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetHeight",kwnames
,&obj0
)) goto fail
;
2613 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2614 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2617 result
= (int)((wxSize
const *)arg1
)->GetHeight();
2619 wxPyEndAllowThreads(__tstate
);
2620 if (PyErr_Occurred()) SWIG_fail
;
2622 resultobj
= SWIG_From_int((int)result
);
2629 static PyObject
*_wrap_Size_IsFullySpecified(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_IsFullySpecified",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
= (bool)((wxSize
const *)arg1
)->IsFullySpecified();
2645 wxPyEndAllowThreads(__tstate
);
2646 if (PyErr_Occurred()) SWIG_fail
;
2649 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2657 static PyObject
*_wrap_Size_SetDefaults(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2658 PyObject
*resultobj
;
2659 wxSize
*arg1
= (wxSize
*) 0 ;
2662 PyObject
* obj0
= 0 ;
2663 PyObject
* obj1
= 0 ;
2665 (char *) "self",(char *) "size", NULL
2668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetDefaults",kwnames
,&obj0
,&obj1
)) goto fail
;
2669 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2670 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2673 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2677 (arg1
)->SetDefaults((wxSize
const &)*arg2
);
2679 wxPyEndAllowThreads(__tstate
);
2680 if (PyErr_Occurred()) SWIG_fail
;
2682 Py_INCREF(Py_None
); resultobj
= Py_None
;
2689 static PyObject
*_wrap_Size_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2690 PyObject
*resultobj
;
2691 wxSize
*arg1
= (wxSize
*) 0 ;
2693 PyObject
* obj0
= 0 ;
2695 (char *) "self", NULL
2698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_Get",kwnames
,&obj0
)) goto fail
;
2699 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2700 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2703 result
= (PyObject
*)wxSize_Get(arg1
);
2705 wxPyEndAllowThreads(__tstate
);
2706 if (PyErr_Occurred()) SWIG_fail
;
2715 static PyObject
* Size_swigregister(PyObject
*, PyObject
*args
) {
2717 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2718 SWIG_TypeClientData(SWIGTYPE_p_wxSize
, obj
);
2720 return Py_BuildValue((char *)"");
2722 static PyObject
*_wrap_RealPoint_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2723 PyObject
*resultobj
;
2724 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2726 PyObject
* obj0
= 0 ;
2727 PyObject
* obj1
= 0 ;
2729 (char *) "self",(char *) "x", NULL
2732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2733 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2735 arg2
= (double)SWIG_As_double(obj1
);
2736 if (PyErr_Occurred()) SWIG_fail
;
2737 if (arg1
) (arg1
)->x
= arg2
;
2739 Py_INCREF(Py_None
); resultobj
= Py_None
;
2746 static PyObject
*_wrap_RealPoint_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2747 PyObject
*resultobj
;
2748 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2750 PyObject
* obj0
= 0 ;
2752 (char *) "self", NULL
2755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_x_get",kwnames
,&obj0
)) goto fail
;
2756 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2757 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2758 result
= (double) ((arg1
)->x
);
2760 resultobj
= SWIG_From_double((double)result
);
2767 static PyObject
*_wrap_RealPoint_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2768 PyObject
*resultobj
;
2769 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2771 PyObject
* obj0
= 0 ;
2772 PyObject
* obj1
= 0 ;
2774 (char *) "self",(char *) "y", NULL
2777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2778 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2779 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2780 arg2
= (double)SWIG_As_double(obj1
);
2781 if (PyErr_Occurred()) SWIG_fail
;
2782 if (arg1
) (arg1
)->y
= arg2
;
2784 Py_INCREF(Py_None
); resultobj
= Py_None
;
2791 static PyObject
*_wrap_RealPoint_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2792 PyObject
*resultobj
;
2793 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2795 PyObject
* obj0
= 0 ;
2797 (char *) "self", NULL
2800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_y_get",kwnames
,&obj0
)) goto fail
;
2801 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2802 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2803 result
= (double) ((arg1
)->y
);
2805 resultobj
= SWIG_From_double((double)result
);
2812 static PyObject
*_wrap_new_RealPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2813 PyObject
*resultobj
;
2814 double arg1
= (double) 0.0 ;
2815 double arg2
= (double) 0.0 ;
2816 wxRealPoint
*result
;
2817 PyObject
* obj0
= 0 ;
2818 PyObject
* obj1
= 0 ;
2820 (char *) "x",(char *) "y", NULL
2823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_RealPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
2825 arg1
= (double)SWIG_As_double(obj0
);
2826 if (PyErr_Occurred()) SWIG_fail
;
2829 arg2
= (double)SWIG_As_double(obj1
);
2830 if (PyErr_Occurred()) SWIG_fail
;
2833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2834 result
= (wxRealPoint
*)new wxRealPoint(arg1
,arg2
);
2836 wxPyEndAllowThreads(__tstate
);
2837 if (PyErr_Occurred()) SWIG_fail
;
2839 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRealPoint
, 1);
2846 static PyObject
*_wrap_delete_RealPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2847 PyObject
*resultobj
;
2848 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2849 PyObject
* obj0
= 0 ;
2851 (char *) "self", NULL
2854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_RealPoint",kwnames
,&obj0
)) goto fail
;
2855 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2856 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2861 wxPyEndAllowThreads(__tstate
);
2862 if (PyErr_Occurred()) SWIG_fail
;
2864 Py_INCREF(Py_None
); resultobj
= Py_None
;
2871 static PyObject
*_wrap_RealPoint___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2872 PyObject
*resultobj
;
2873 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2874 wxRealPoint
*arg2
= 0 ;
2877 PyObject
* obj0
= 0 ;
2878 PyObject
* obj1
= 0 ;
2880 (char *) "self",(char *) "pt", NULL
2883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
2884 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2885 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2888 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2892 result
= (bool)(arg1
)->operator ==((wxRealPoint
const &)*arg2
);
2894 wxPyEndAllowThreads(__tstate
);
2895 if (PyErr_Occurred()) SWIG_fail
;
2898 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2906 static PyObject
*_wrap_RealPoint___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2907 PyObject
*resultobj
;
2908 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2909 wxRealPoint
*arg2
= 0 ;
2912 PyObject
* obj0
= 0 ;
2913 PyObject
* obj1
= 0 ;
2915 (char *) "self",(char *) "pt", NULL
2918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
2919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2923 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2927 result
= (bool)(arg1
)->operator !=((wxRealPoint
const &)*arg2
);
2929 wxPyEndAllowThreads(__tstate
);
2930 if (PyErr_Occurred()) SWIG_fail
;
2933 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2941 static PyObject
*_wrap_RealPoint___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2942 PyObject
*resultobj
;
2943 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2944 wxRealPoint
*arg2
= 0 ;
2947 PyObject
* obj0
= 0 ;
2948 PyObject
* obj1
= 0 ;
2950 (char *) "self",(char *) "pt", NULL
2953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
2954 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2955 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2958 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2962 result
= (arg1
)->operator +((wxRealPoint
const &)*arg2
);
2964 wxPyEndAllowThreads(__tstate
);
2965 if (PyErr_Occurred()) SWIG_fail
;
2968 wxRealPoint
* resultptr
;
2969 resultptr
= new wxRealPoint((wxRealPoint
&) result
);
2970 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRealPoint
, 1);
2978 static PyObject
*_wrap_RealPoint___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2979 PyObject
*resultobj
;
2980 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2981 wxRealPoint
*arg2
= 0 ;
2984 PyObject
* obj0
= 0 ;
2985 PyObject
* obj1
= 0 ;
2987 (char *) "self",(char *) "pt", NULL
2990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
2991 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2995 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2999 result
= (arg1
)->operator -((wxRealPoint
const &)*arg2
);
3001 wxPyEndAllowThreads(__tstate
);
3002 if (PyErr_Occurred()) SWIG_fail
;
3005 wxRealPoint
* resultptr
;
3006 resultptr
= new wxRealPoint((wxRealPoint
&) result
);
3007 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRealPoint
, 1);
3015 static PyObject
*_wrap_RealPoint_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3016 PyObject
*resultobj
;
3017 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
3020 PyObject
* obj0
= 0 ;
3021 PyObject
* obj1
= 0 ;
3022 PyObject
* obj2
= 0 ;
3024 (char *) "self",(char *) "x",(char *) "y", NULL
3027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RealPoint_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3028 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
3029 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3030 arg2
= (double)SWIG_As_double(obj1
);
3031 if (PyErr_Occurred()) SWIG_fail
;
3032 arg3
= (double)SWIG_As_double(obj2
);
3033 if (PyErr_Occurred()) SWIG_fail
;
3035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3036 wxRealPoint_Set(arg1
,arg2
,arg3
);
3038 wxPyEndAllowThreads(__tstate
);
3039 if (PyErr_Occurred()) SWIG_fail
;
3041 Py_INCREF(Py_None
); resultobj
= Py_None
;
3048 static PyObject
*_wrap_RealPoint_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3049 PyObject
*resultobj
;
3050 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
3052 PyObject
* obj0
= 0 ;
3054 (char *) "self", NULL
3057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_Get",kwnames
,&obj0
)) goto fail
;
3058 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
3059 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3062 result
= (PyObject
*)wxRealPoint_Get(arg1
);
3064 wxPyEndAllowThreads(__tstate
);
3065 if (PyErr_Occurred()) SWIG_fail
;
3074 static PyObject
* RealPoint_swigregister(PyObject
*, PyObject
*args
) {
3076 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3077 SWIG_TypeClientData(SWIGTYPE_p_wxRealPoint
, obj
);
3079 return Py_BuildValue((char *)"");
3081 static PyObject
*_wrap_Point_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3082 PyObject
*resultobj
;
3083 wxPoint
*arg1
= (wxPoint
*) 0 ;
3085 PyObject
* obj0
= 0 ;
3086 PyObject
* obj1
= 0 ;
3088 (char *) "self",(char *) "x", NULL
3091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
3092 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3094 arg2
= (int)SWIG_As_int(obj1
);
3095 if (PyErr_Occurred()) SWIG_fail
;
3096 if (arg1
) (arg1
)->x
= arg2
;
3098 Py_INCREF(Py_None
); resultobj
= Py_None
;
3105 static PyObject
*_wrap_Point_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3106 PyObject
*resultobj
;
3107 wxPoint
*arg1
= (wxPoint
*) 0 ;
3109 PyObject
* obj0
= 0 ;
3111 (char *) "self", NULL
3114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_x_get",kwnames
,&obj0
)) goto fail
;
3115 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3117 result
= (int) ((arg1
)->x
);
3119 resultobj
= SWIG_From_int((int)result
);
3126 static PyObject
*_wrap_Point_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3127 PyObject
*resultobj
;
3128 wxPoint
*arg1
= (wxPoint
*) 0 ;
3130 PyObject
* obj0
= 0 ;
3131 PyObject
* obj1
= 0 ;
3133 (char *) "self",(char *) "y", NULL
3136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
3137 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3138 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3139 arg2
= (int)SWIG_As_int(obj1
);
3140 if (PyErr_Occurred()) SWIG_fail
;
3141 if (arg1
) (arg1
)->y
= arg2
;
3143 Py_INCREF(Py_None
); resultobj
= Py_None
;
3150 static PyObject
*_wrap_Point_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3151 PyObject
*resultobj
;
3152 wxPoint
*arg1
= (wxPoint
*) 0 ;
3154 PyObject
* obj0
= 0 ;
3156 (char *) "self", NULL
3159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_y_get",kwnames
,&obj0
)) goto fail
;
3160 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3161 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3162 result
= (int) ((arg1
)->y
);
3164 resultobj
= SWIG_From_int((int)result
);
3171 static PyObject
*_wrap_new_Point(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3172 PyObject
*resultobj
;
3173 int arg1
= (int) 0 ;
3174 int arg2
= (int) 0 ;
3176 PyObject
* obj0
= 0 ;
3177 PyObject
* obj1
= 0 ;
3179 (char *) "x",(char *) "y", NULL
3182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point",kwnames
,&obj0
,&obj1
)) goto fail
;
3184 arg1
= (int)SWIG_As_int(obj0
);
3185 if (PyErr_Occurred()) SWIG_fail
;
3188 arg2
= (int)SWIG_As_int(obj1
);
3189 if (PyErr_Occurred()) SWIG_fail
;
3192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3193 result
= (wxPoint
*)new wxPoint(arg1
,arg2
);
3195 wxPyEndAllowThreads(__tstate
);
3196 if (PyErr_Occurred()) SWIG_fail
;
3198 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 1);
3205 static PyObject
*_wrap_delete_Point(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3206 PyObject
*resultobj
;
3207 wxPoint
*arg1
= (wxPoint
*) 0 ;
3208 PyObject
* obj0
= 0 ;
3210 (char *) "self", NULL
3213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Point",kwnames
,&obj0
)) goto fail
;
3214 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3215 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3220 wxPyEndAllowThreads(__tstate
);
3221 if (PyErr_Occurred()) SWIG_fail
;
3223 Py_INCREF(Py_None
); resultobj
= Py_None
;
3230 static PyObject
*_wrap_Point___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3231 PyObject
*resultobj
;
3232 wxPoint
*arg1
= (wxPoint
*) 0 ;
3236 PyObject
* obj0
= 0 ;
3237 PyObject
* obj1
= 0 ;
3239 (char *) "self",(char *) "pt", NULL
3242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
3243 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3244 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3247 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3251 result
= (bool)(arg1
)->operator ==((wxPoint
const &)*arg2
);
3253 wxPyEndAllowThreads(__tstate
);
3254 if (PyErr_Occurred()) SWIG_fail
;
3257 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3265 static PyObject
*_wrap_Point___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3266 PyObject
*resultobj
;
3267 wxPoint
*arg1
= (wxPoint
*) 0 ;
3271 PyObject
* obj0
= 0 ;
3272 PyObject
* obj1
= 0 ;
3274 (char *) "self",(char *) "pt", NULL
3277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
3278 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3279 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3282 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3286 result
= (bool)(arg1
)->operator !=((wxPoint
const &)*arg2
);
3288 wxPyEndAllowThreads(__tstate
);
3289 if (PyErr_Occurred()) SWIG_fail
;
3292 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3300 static PyObject
*_wrap_Point___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3301 PyObject
*resultobj
;
3302 wxPoint
*arg1
= (wxPoint
*) 0 ;
3306 PyObject
* obj0
= 0 ;
3307 PyObject
* obj1
= 0 ;
3309 (char *) "self",(char *) "pt", NULL
3312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
3313 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3314 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3317 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3321 result
= (arg1
)->operator +((wxPoint
const &)*arg2
);
3323 wxPyEndAllowThreads(__tstate
);
3324 if (PyErr_Occurred()) SWIG_fail
;
3327 wxPoint
* resultptr
;
3328 resultptr
= new wxPoint((wxPoint
&) result
);
3329 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3337 static PyObject
*_wrap_Point___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3338 PyObject
*resultobj
;
3339 wxPoint
*arg1
= (wxPoint
*) 0 ;
3343 PyObject
* obj0
= 0 ;
3344 PyObject
* obj1
= 0 ;
3346 (char *) "self",(char *) "pt", NULL
3349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
3350 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3351 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3354 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3358 result
= (arg1
)->operator -((wxPoint
const &)*arg2
);
3360 wxPyEndAllowThreads(__tstate
);
3361 if (PyErr_Occurred()) SWIG_fail
;
3364 wxPoint
* resultptr
;
3365 resultptr
= new wxPoint((wxPoint
&) result
);
3366 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3374 static PyObject
*_wrap_Point___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3375 PyObject
*resultobj
;
3376 wxPoint
*arg1
= (wxPoint
*) 0 ;
3380 PyObject
* obj0
= 0 ;
3381 PyObject
* obj1
= 0 ;
3383 (char *) "self",(char *) "pt", NULL
3386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
3387 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3388 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
3391 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3396 wxPoint
&_result_ref
= (arg1
)->operator +=((wxPoint
const &)*arg2
);
3397 result
= (wxPoint
*) &_result_ref
;
3400 wxPyEndAllowThreads(__tstate
);
3401 if (PyErr_Occurred()) SWIG_fail
;
3403 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 1);
3410 static PyObject
*_wrap_Point___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3411 PyObject
*resultobj
;
3412 wxPoint
*arg1
= (wxPoint
*) 0 ;
3416 PyObject
* obj0
= 0 ;
3417 PyObject
* obj1
= 0 ;
3419 (char *) "self",(char *) "pt", NULL
3422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
3423 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3424 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
3427 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3432 wxPoint
&_result_ref
= (arg1
)->operator -=((wxPoint
const &)*arg2
);
3433 result
= (wxPoint
*) &_result_ref
;
3436 wxPyEndAllowThreads(__tstate
);
3437 if (PyErr_Occurred()) SWIG_fail
;
3439 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 1);
3446 static PyObject
*_wrap_Point_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3447 PyObject
*resultobj
;
3448 wxPoint
*arg1
= (wxPoint
*) 0 ;
3451 PyObject
* obj0
= 0 ;
3452 PyObject
* obj1
= 0 ;
3453 PyObject
* obj2
= 0 ;
3455 (char *) "self",(char *) "x",(char *) "y", NULL
3458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Point_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3459 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3460 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3461 arg2
= (long)SWIG_As_long(obj1
);
3462 if (PyErr_Occurred()) SWIG_fail
;
3463 arg3
= (long)SWIG_As_long(obj2
);
3464 if (PyErr_Occurred()) SWIG_fail
;
3466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3467 wxPoint_Set(arg1
,arg2
,arg3
);
3469 wxPyEndAllowThreads(__tstate
);
3470 if (PyErr_Occurred()) SWIG_fail
;
3472 Py_INCREF(Py_None
); resultobj
= Py_None
;
3479 static PyObject
*_wrap_Point_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3480 PyObject
*resultobj
;
3481 wxPoint
*arg1
= (wxPoint
*) 0 ;
3483 PyObject
* obj0
= 0 ;
3485 (char *) "self", NULL
3488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_Get",kwnames
,&obj0
)) goto fail
;
3489 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3490 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3493 result
= (PyObject
*)wxPoint_Get(arg1
);
3495 wxPyEndAllowThreads(__tstate
);
3496 if (PyErr_Occurred()) SWIG_fail
;
3505 static PyObject
* Point_swigregister(PyObject
*, PyObject
*args
) {
3507 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3508 SWIG_TypeClientData(SWIGTYPE_p_wxPoint
, obj
);
3510 return Py_BuildValue((char *)"");
3512 static PyObject
*_wrap_new_Rect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3513 PyObject
*resultobj
;
3514 int arg1
= (int) 0 ;
3515 int arg2
= (int) 0 ;
3516 int arg3
= (int) 0 ;
3517 int arg4
= (int) 0 ;
3519 PyObject
* obj0
= 0 ;
3520 PyObject
* obj1
= 0 ;
3521 PyObject
* obj2
= 0 ;
3522 PyObject
* obj3
= 0 ;
3524 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
3527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Rect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3529 arg1
= (int)SWIG_As_int(obj0
);
3530 if (PyErr_Occurred()) SWIG_fail
;
3533 arg2
= (int)SWIG_As_int(obj1
);
3534 if (PyErr_Occurred()) SWIG_fail
;
3537 arg3
= (int)SWIG_As_int(obj2
);
3538 if (PyErr_Occurred()) SWIG_fail
;
3541 arg4
= (int)SWIG_As_int(obj3
);
3542 if (PyErr_Occurred()) SWIG_fail
;
3545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3546 result
= (wxRect
*)new wxRect(arg1
,arg2
,arg3
,arg4
);
3548 wxPyEndAllowThreads(__tstate
);
3549 if (PyErr_Occurred()) SWIG_fail
;
3551 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
3558 static PyObject
*_wrap_new_RectPP(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3559 PyObject
*resultobj
;
3565 PyObject
* obj0
= 0 ;
3566 PyObject
* obj1
= 0 ;
3568 (char *) "topLeft",(char *) "bottomRight", NULL
3571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPP",kwnames
,&obj0
,&obj1
)) goto fail
;
3574 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
3578 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3582 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxPoint
const &)*arg2
);
3584 wxPyEndAllowThreads(__tstate
);
3585 if (PyErr_Occurred()) SWIG_fail
;
3587 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
3594 static PyObject
*_wrap_new_RectPS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3595 PyObject
*resultobj
;
3601 PyObject
* obj0
= 0 ;
3602 PyObject
* obj1
= 0 ;
3604 (char *) "pos",(char *) "size", NULL
3607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPS",kwnames
,&obj0
,&obj1
)) goto fail
;
3610 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
3614 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3618 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxSize
const &)*arg2
);
3620 wxPyEndAllowThreads(__tstate
);
3621 if (PyErr_Occurred()) SWIG_fail
;
3623 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
3630 static PyObject
*_wrap_delete_Rect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3631 PyObject
*resultobj
;
3632 wxRect
*arg1
= (wxRect
*) 0 ;
3633 PyObject
* obj0
= 0 ;
3635 (char *) "self", NULL
3638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Rect",kwnames
,&obj0
)) goto fail
;
3639 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3645 wxPyEndAllowThreads(__tstate
);
3646 if (PyErr_Occurred()) SWIG_fail
;
3648 Py_INCREF(Py_None
); resultobj
= Py_None
;
3655 static PyObject
*_wrap_Rect_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3656 PyObject
*resultobj
;
3657 wxRect
*arg1
= (wxRect
*) 0 ;
3659 PyObject
* obj0
= 0 ;
3661 (char *) "self", NULL
3664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetX",kwnames
,&obj0
)) goto fail
;
3665 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3666 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3669 result
= (int)((wxRect
const *)arg1
)->GetX();
3671 wxPyEndAllowThreads(__tstate
);
3672 if (PyErr_Occurred()) SWIG_fail
;
3674 resultobj
= SWIG_From_int((int)result
);
3681 static PyObject
*_wrap_Rect_SetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3682 PyObject
*resultobj
;
3683 wxRect
*arg1
= (wxRect
*) 0 ;
3685 PyObject
* obj0
= 0 ;
3686 PyObject
* obj1
= 0 ;
3688 (char *) "self",(char *) "x", NULL
3691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetX",kwnames
,&obj0
,&obj1
)) goto fail
;
3692 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3694 arg2
= (int)SWIG_As_int(obj1
);
3695 if (PyErr_Occurred()) SWIG_fail
;
3697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3700 wxPyEndAllowThreads(__tstate
);
3701 if (PyErr_Occurred()) SWIG_fail
;
3703 Py_INCREF(Py_None
); resultobj
= Py_None
;
3710 static PyObject
*_wrap_Rect_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3711 PyObject
*resultobj
;
3712 wxRect
*arg1
= (wxRect
*) 0 ;
3714 PyObject
* obj0
= 0 ;
3716 (char *) "self", NULL
3719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetY",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();
3724 result
= (int)(arg1
)->GetY();
3726 wxPyEndAllowThreads(__tstate
);
3727 if (PyErr_Occurred()) SWIG_fail
;
3729 resultobj
= SWIG_From_int((int)result
);
3736 static PyObject
*_wrap_Rect_SetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3737 PyObject
*resultobj
;
3738 wxRect
*arg1
= (wxRect
*) 0 ;
3740 PyObject
* obj0
= 0 ;
3741 PyObject
* obj1
= 0 ;
3743 (char *) "self",(char *) "y", NULL
3746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetY",kwnames
,&obj0
,&obj1
)) goto fail
;
3747 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3748 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3749 arg2
= (int)SWIG_As_int(obj1
);
3750 if (PyErr_Occurred()) SWIG_fail
;
3752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3755 wxPyEndAllowThreads(__tstate
);
3756 if (PyErr_Occurred()) SWIG_fail
;
3758 Py_INCREF(Py_None
); resultobj
= Py_None
;
3765 static PyObject
*_wrap_Rect_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3766 PyObject
*resultobj
;
3767 wxRect
*arg1
= (wxRect
*) 0 ;
3769 PyObject
* obj0
= 0 ;
3771 (char *) "self", NULL
3774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetWidth",kwnames
,&obj0
)) goto fail
;
3775 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3776 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3779 result
= (int)((wxRect
const *)arg1
)->GetWidth();
3781 wxPyEndAllowThreads(__tstate
);
3782 if (PyErr_Occurred()) SWIG_fail
;
3784 resultobj
= SWIG_From_int((int)result
);
3791 static PyObject
*_wrap_Rect_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3792 PyObject
*resultobj
;
3793 wxRect
*arg1
= (wxRect
*) 0 ;
3795 PyObject
* obj0
= 0 ;
3796 PyObject
* obj1
= 0 ;
3798 (char *) "self",(char *) "w", NULL
3801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3802 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3803 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3804 arg2
= (int)SWIG_As_int(obj1
);
3805 if (PyErr_Occurred()) SWIG_fail
;
3807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3808 (arg1
)->SetWidth(arg2
);
3810 wxPyEndAllowThreads(__tstate
);
3811 if (PyErr_Occurred()) SWIG_fail
;
3813 Py_INCREF(Py_None
); resultobj
= Py_None
;
3820 static PyObject
*_wrap_Rect_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3821 PyObject
*resultobj
;
3822 wxRect
*arg1
= (wxRect
*) 0 ;
3824 PyObject
* obj0
= 0 ;
3826 (char *) "self", NULL
3829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetHeight",kwnames
,&obj0
)) goto fail
;
3830 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3831 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3834 result
= (int)((wxRect
const *)arg1
)->GetHeight();
3836 wxPyEndAllowThreads(__tstate
);
3837 if (PyErr_Occurred()) SWIG_fail
;
3839 resultobj
= SWIG_From_int((int)result
);
3846 static PyObject
*_wrap_Rect_SetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3847 PyObject
*resultobj
;
3848 wxRect
*arg1
= (wxRect
*) 0 ;
3850 PyObject
* obj0
= 0 ;
3851 PyObject
* obj1
= 0 ;
3853 (char *) "self",(char *) "h", NULL
3856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
3857 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3859 arg2
= (int)SWIG_As_int(obj1
);
3860 if (PyErr_Occurred()) SWIG_fail
;
3862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3863 (arg1
)->SetHeight(arg2
);
3865 wxPyEndAllowThreads(__tstate
);
3866 if (PyErr_Occurred()) SWIG_fail
;
3868 Py_INCREF(Py_None
); resultobj
= Py_None
;
3875 static PyObject
*_wrap_Rect_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3876 PyObject
*resultobj
;
3877 wxRect
*arg1
= (wxRect
*) 0 ;
3879 PyObject
* obj0
= 0 ;
3881 (char *) "self", NULL
3884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetPosition",kwnames
,&obj0
)) goto fail
;
3885 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3889 result
= ((wxRect
const *)arg1
)->GetPosition();
3891 wxPyEndAllowThreads(__tstate
);
3892 if (PyErr_Occurred()) SWIG_fail
;
3895 wxPoint
* resultptr
;
3896 resultptr
= new wxPoint((wxPoint
&) result
);
3897 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3905 static PyObject
*_wrap_Rect_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3906 PyObject
*resultobj
;
3907 wxRect
*arg1
= (wxRect
*) 0 ;
3910 PyObject
* obj0
= 0 ;
3911 PyObject
* obj1
= 0 ;
3913 (char *) "self",(char *) "p", NULL
3916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
3917 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3918 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3921 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3925 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
3927 wxPyEndAllowThreads(__tstate
);
3928 if (PyErr_Occurred()) SWIG_fail
;
3930 Py_INCREF(Py_None
); resultobj
= Py_None
;
3937 static PyObject
*_wrap_Rect_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3938 PyObject
*resultobj
;
3939 wxRect
*arg1
= (wxRect
*) 0 ;
3941 PyObject
* obj0
= 0 ;
3943 (char *) "self", NULL
3946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetSize",kwnames
,&obj0
)) goto fail
;
3947 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3948 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3951 result
= ((wxRect
const *)arg1
)->GetSize();
3953 wxPyEndAllowThreads(__tstate
);
3954 if (PyErr_Occurred()) SWIG_fail
;
3958 resultptr
= new wxSize((wxSize
&) result
);
3959 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
3967 static PyObject
*_wrap_Rect_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3968 PyObject
*resultobj
;
3969 wxRect
*arg1
= (wxRect
*) 0 ;
3972 PyObject
* obj0
= 0 ;
3973 PyObject
* obj1
= 0 ;
3975 (char *) "self",(char *) "s", NULL
3978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
3979 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3980 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3983 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3987 (arg1
)->SetSize((wxSize
const &)*arg2
);
3989 wxPyEndAllowThreads(__tstate
);
3990 if (PyErr_Occurred()) SWIG_fail
;
3992 Py_INCREF(Py_None
); resultobj
= Py_None
;
3999 static PyObject
*_wrap_Rect_GetTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4000 PyObject
*resultobj
;
4001 wxRect
*arg1
= (wxRect
*) 0 ;
4003 PyObject
* obj0
= 0 ;
4005 (char *) "self", NULL
4008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetTopLeft",kwnames
,&obj0
)) goto fail
;
4009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4013 result
= ((wxRect
const *)arg1
)->GetTopLeft();
4015 wxPyEndAllowThreads(__tstate
);
4016 if (PyErr_Occurred()) SWIG_fail
;
4019 wxPoint
* resultptr
;
4020 resultptr
= new wxPoint((wxPoint
&) result
);
4021 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
4029 static PyObject
*_wrap_Rect_SetTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4030 PyObject
*resultobj
;
4031 wxRect
*arg1
= (wxRect
*) 0 ;
4034 PyObject
* obj0
= 0 ;
4035 PyObject
* obj1
= 0 ;
4037 (char *) "self",(char *) "p", NULL
4040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
4041 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4042 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4045 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4049 (arg1
)->SetTopLeft((wxPoint
const &)*arg2
);
4051 wxPyEndAllowThreads(__tstate
);
4052 if (PyErr_Occurred()) SWIG_fail
;
4054 Py_INCREF(Py_None
); resultobj
= Py_None
;
4061 static PyObject
*_wrap_Rect_GetBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4062 PyObject
*resultobj
;
4063 wxRect
*arg1
= (wxRect
*) 0 ;
4065 PyObject
* obj0
= 0 ;
4067 (char *) "self", NULL
4070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetBottomRight",kwnames
,&obj0
)) goto fail
;
4071 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4072 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4075 result
= ((wxRect
const *)arg1
)->GetBottomRight();
4077 wxPyEndAllowThreads(__tstate
);
4078 if (PyErr_Occurred()) SWIG_fail
;
4081 wxPoint
* resultptr
;
4082 resultptr
= new wxPoint((wxPoint
&) result
);
4083 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
4091 static PyObject
*_wrap_Rect_SetBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4092 PyObject
*resultobj
;
4093 wxRect
*arg1
= (wxRect
*) 0 ;
4096 PyObject
* obj0
= 0 ;
4097 PyObject
* obj1
= 0 ;
4099 (char *) "self",(char *) "p", NULL
4102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
4103 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4104 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4107 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4111 (arg1
)->SetBottomRight((wxPoint
const &)*arg2
);
4113 wxPyEndAllowThreads(__tstate
);
4114 if (PyErr_Occurred()) SWIG_fail
;
4116 Py_INCREF(Py_None
); resultobj
= Py_None
;
4123 static PyObject
*_wrap_Rect_GetLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4124 PyObject
*resultobj
;
4125 wxRect
*arg1
= (wxRect
*) 0 ;
4127 PyObject
* obj0
= 0 ;
4129 (char *) "self", NULL
4132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetLeft",kwnames
,&obj0
)) goto fail
;
4133 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4134 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4137 result
= (int)((wxRect
const *)arg1
)->GetLeft();
4139 wxPyEndAllowThreads(__tstate
);
4140 if (PyErr_Occurred()) SWIG_fail
;
4142 resultobj
= SWIG_From_int((int)result
);
4149 static PyObject
*_wrap_Rect_GetTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4150 PyObject
*resultobj
;
4151 wxRect
*arg1
= (wxRect
*) 0 ;
4153 PyObject
* obj0
= 0 ;
4155 (char *) "self", NULL
4158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetTop",kwnames
,&obj0
)) goto fail
;
4159 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4160 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4163 result
= (int)((wxRect
const *)arg1
)->GetTop();
4165 wxPyEndAllowThreads(__tstate
);
4166 if (PyErr_Occurred()) SWIG_fail
;
4168 resultobj
= SWIG_From_int((int)result
);
4175 static PyObject
*_wrap_Rect_GetBottom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4176 PyObject
*resultobj
;
4177 wxRect
*arg1
= (wxRect
*) 0 ;
4179 PyObject
* obj0
= 0 ;
4181 (char *) "self", NULL
4184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetBottom",kwnames
,&obj0
)) goto fail
;
4185 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4186 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4189 result
= (int)((wxRect
const *)arg1
)->GetBottom();
4191 wxPyEndAllowThreads(__tstate
);
4192 if (PyErr_Occurred()) SWIG_fail
;
4194 resultobj
= SWIG_From_int((int)result
);
4201 static PyObject
*_wrap_Rect_GetRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4202 PyObject
*resultobj
;
4203 wxRect
*arg1
= (wxRect
*) 0 ;
4205 PyObject
* obj0
= 0 ;
4207 (char *) "self", NULL
4210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetRight",kwnames
,&obj0
)) goto fail
;
4211 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4215 result
= (int)((wxRect
const *)arg1
)->GetRight();
4217 wxPyEndAllowThreads(__tstate
);
4218 if (PyErr_Occurred()) SWIG_fail
;
4220 resultobj
= SWIG_From_int((int)result
);
4227 static PyObject
*_wrap_Rect_SetLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4228 PyObject
*resultobj
;
4229 wxRect
*arg1
= (wxRect
*) 0 ;
4231 PyObject
* obj0
= 0 ;
4232 PyObject
* obj1
= 0 ;
4234 (char *) "self",(char *) "left", NULL
4237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
4238 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4239 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4240 arg2
= (int)SWIG_As_int(obj1
);
4241 if (PyErr_Occurred()) SWIG_fail
;
4243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4244 (arg1
)->SetLeft(arg2
);
4246 wxPyEndAllowThreads(__tstate
);
4247 if (PyErr_Occurred()) SWIG_fail
;
4249 Py_INCREF(Py_None
); resultobj
= Py_None
;
4256 static PyObject
*_wrap_Rect_SetRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4257 PyObject
*resultobj
;
4258 wxRect
*arg1
= (wxRect
*) 0 ;
4260 PyObject
* obj0
= 0 ;
4261 PyObject
* obj1
= 0 ;
4263 (char *) "self",(char *) "right", NULL
4266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetRight",kwnames
,&obj0
,&obj1
)) goto fail
;
4267 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4268 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4269 arg2
= (int)SWIG_As_int(obj1
);
4270 if (PyErr_Occurred()) SWIG_fail
;
4272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4273 (arg1
)->SetRight(arg2
);
4275 wxPyEndAllowThreads(__tstate
);
4276 if (PyErr_Occurred()) SWIG_fail
;
4278 Py_INCREF(Py_None
); resultobj
= Py_None
;
4285 static PyObject
*_wrap_Rect_SetTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4286 PyObject
*resultobj
;
4287 wxRect
*arg1
= (wxRect
*) 0 ;
4289 PyObject
* obj0
= 0 ;
4290 PyObject
* obj1
= 0 ;
4292 (char *) "self",(char *) "top", NULL
4295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTop",kwnames
,&obj0
,&obj1
)) goto fail
;
4296 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4298 arg2
= (int)SWIG_As_int(obj1
);
4299 if (PyErr_Occurred()) SWIG_fail
;
4301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4302 (arg1
)->SetTop(arg2
);
4304 wxPyEndAllowThreads(__tstate
);
4305 if (PyErr_Occurred()) SWIG_fail
;
4307 Py_INCREF(Py_None
); resultobj
= Py_None
;
4314 static PyObject
*_wrap_Rect_SetBottom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4315 PyObject
*resultobj
;
4316 wxRect
*arg1
= (wxRect
*) 0 ;
4318 PyObject
* obj0
= 0 ;
4319 PyObject
* obj1
= 0 ;
4321 (char *) "self",(char *) "bottom", NULL
4324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottom",kwnames
,&obj0
,&obj1
)) goto fail
;
4325 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4327 arg2
= (int)SWIG_As_int(obj1
);
4328 if (PyErr_Occurred()) SWIG_fail
;
4330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4331 (arg1
)->SetBottom(arg2
);
4333 wxPyEndAllowThreads(__tstate
);
4334 if (PyErr_Occurred()) SWIG_fail
;
4336 Py_INCREF(Py_None
); resultobj
= Py_None
;
4343 static PyObject
*_wrap_Rect_Inflate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4344 PyObject
*resultobj
;
4345 wxRect
*arg1
= (wxRect
*) 0 ;
4349 PyObject
* obj0
= 0 ;
4350 PyObject
* obj1
= 0 ;
4351 PyObject
* obj2
= 0 ;
4353 (char *) "self",(char *) "dx",(char *) "dy", NULL
4356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_Inflate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4357 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4358 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4359 arg2
= (int)SWIG_As_int(obj1
);
4360 if (PyErr_Occurred()) SWIG_fail
;
4361 arg3
= (int)SWIG_As_int(obj2
);
4362 if (PyErr_Occurred()) SWIG_fail
;
4364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4366 wxRect
&_result_ref
= (arg1
)->Inflate(arg2
,arg3
);
4367 result
= (wxRect
*) &_result_ref
;
4370 wxPyEndAllowThreads(__tstate
);
4371 if (PyErr_Occurred()) SWIG_fail
;
4373 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
4380 static PyObject
*_wrap_Rect_Deflate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4381 PyObject
*resultobj
;
4382 wxRect
*arg1
= (wxRect
*) 0 ;
4386 PyObject
* obj0
= 0 ;
4387 PyObject
* obj1
= 0 ;
4388 PyObject
* obj2
= 0 ;
4390 (char *) "self",(char *) "dx",(char *) "dy", NULL
4393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_Deflate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4394 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4396 arg2
= (int)SWIG_As_int(obj1
);
4397 if (PyErr_Occurred()) SWIG_fail
;
4398 arg3
= (int)SWIG_As_int(obj2
);
4399 if (PyErr_Occurred()) SWIG_fail
;
4401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4403 wxRect
&_result_ref
= (arg1
)->Deflate(arg2
,arg3
);
4404 result
= (wxRect
*) &_result_ref
;
4407 wxPyEndAllowThreads(__tstate
);
4408 if (PyErr_Occurred()) SWIG_fail
;
4410 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
4417 static PyObject
*_wrap_Rect_OffsetXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4418 PyObject
*resultobj
;
4419 wxRect
*arg1
= (wxRect
*) 0 ;
4422 PyObject
* obj0
= 0 ;
4423 PyObject
* obj1
= 0 ;
4424 PyObject
* obj2
= 0 ;
4426 (char *) "self",(char *) "dx",(char *) "dy", NULL
4429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_OffsetXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4430 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4431 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4432 arg2
= (int)SWIG_As_int(obj1
);
4433 if (PyErr_Occurred()) SWIG_fail
;
4434 arg3
= (int)SWIG_As_int(obj2
);
4435 if (PyErr_Occurred()) SWIG_fail
;
4437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4438 (arg1
)->Offset(arg2
,arg3
);
4440 wxPyEndAllowThreads(__tstate
);
4441 if (PyErr_Occurred()) SWIG_fail
;
4443 Py_INCREF(Py_None
); resultobj
= Py_None
;
4450 static PyObject
*_wrap_Rect_Offset(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4451 PyObject
*resultobj
;
4452 wxRect
*arg1
= (wxRect
*) 0 ;
4455 PyObject
* obj0
= 0 ;
4456 PyObject
* obj1
= 0 ;
4458 (char *) "self",(char *) "pt", NULL
4461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Offset",kwnames
,&obj0
,&obj1
)) goto fail
;
4462 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4463 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4466 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4470 (arg1
)->Offset((wxPoint
const &)*arg2
);
4472 wxPyEndAllowThreads(__tstate
);
4473 if (PyErr_Occurred()) SWIG_fail
;
4475 Py_INCREF(Py_None
); resultobj
= Py_None
;
4482 static PyObject
*_wrap_Rect_Intersect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4483 PyObject
*resultobj
;
4484 wxRect
*arg1
= (wxRect
*) 0 ;
4488 PyObject
* obj0
= 0 ;
4489 PyObject
* obj1
= 0 ;
4491 (char *) "self",(char *) "rect", NULL
4494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersect",kwnames
,&obj0
,&obj1
)) goto fail
;
4495 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4499 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4504 wxRect
&_result_ref
= (arg1
)->Intersect((wxRect
const &)*arg2
);
4505 result
= (wxRect
*) &_result_ref
;
4508 wxPyEndAllowThreads(__tstate
);
4509 if (PyErr_Occurred()) SWIG_fail
;
4511 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
4518 static PyObject
*_wrap_Rect___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4519 PyObject
*resultobj
;
4520 wxRect
*arg1
= (wxRect
*) 0 ;
4524 PyObject
* obj0
= 0 ;
4525 PyObject
* obj1
= 0 ;
4527 (char *) "self",(char *) "rect", NULL
4530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
4531 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4532 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4535 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4539 result
= ((wxRect
const *)arg1
)->operator +((wxRect
const &)*arg2
);
4541 wxPyEndAllowThreads(__tstate
);
4542 if (PyErr_Occurred()) SWIG_fail
;
4546 resultptr
= new wxRect((wxRect
&) result
);
4547 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
4555 static PyObject
*_wrap_Rect___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4556 PyObject
*resultobj
;
4557 wxRect
*arg1
= (wxRect
*) 0 ;
4561 PyObject
* obj0
= 0 ;
4562 PyObject
* obj1
= 0 ;
4564 (char *) "self",(char *) "rect", NULL
4567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
4568 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4569 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
4572 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4577 wxRect
&_result_ref
= (arg1
)->operator +=((wxRect
const &)*arg2
);
4578 result
= (wxRect
*) &_result_ref
;
4581 wxPyEndAllowThreads(__tstate
);
4582 if (PyErr_Occurred()) SWIG_fail
;
4584 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
4591 static PyObject
*_wrap_Rect___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4592 PyObject
*resultobj
;
4593 wxRect
*arg1
= (wxRect
*) 0 ;
4597 PyObject
* obj0
= 0 ;
4598 PyObject
* obj1
= 0 ;
4600 (char *) "self",(char *) "rect", NULL
4603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
4604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4608 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4612 result
= (bool)((wxRect
const *)arg1
)->operator ==((wxRect
const &)*arg2
);
4614 wxPyEndAllowThreads(__tstate
);
4615 if (PyErr_Occurred()) SWIG_fail
;
4618 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4626 static PyObject
*_wrap_Rect___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4627 PyObject
*resultobj
;
4628 wxRect
*arg1
= (wxRect
*) 0 ;
4632 PyObject
* obj0
= 0 ;
4633 PyObject
* obj1
= 0 ;
4635 (char *) "self",(char *) "rect", NULL
4638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
4639 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4643 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4647 result
= (bool)((wxRect
const *)arg1
)->operator !=((wxRect
const &)*arg2
);
4649 wxPyEndAllowThreads(__tstate
);
4650 if (PyErr_Occurred()) SWIG_fail
;
4653 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4661 static PyObject
*_wrap_Rect_InsideXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4662 PyObject
*resultobj
;
4663 wxRect
*arg1
= (wxRect
*) 0 ;
4667 PyObject
* obj0
= 0 ;
4668 PyObject
* obj1
= 0 ;
4669 PyObject
* obj2
= 0 ;
4671 (char *) "self",(char *) "x",(char *) "y", NULL
4674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_InsideXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4675 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4676 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4677 arg2
= (int)SWIG_As_int(obj1
);
4678 if (PyErr_Occurred()) SWIG_fail
;
4679 arg3
= (int)SWIG_As_int(obj2
);
4680 if (PyErr_Occurred()) SWIG_fail
;
4682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4683 result
= (bool)((wxRect
const *)arg1
)->Inside(arg2
,arg3
);
4685 wxPyEndAllowThreads(__tstate
);
4686 if (PyErr_Occurred()) SWIG_fail
;
4689 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4697 static PyObject
*_wrap_Rect_Inside(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4698 PyObject
*resultobj
;
4699 wxRect
*arg1
= (wxRect
*) 0 ;
4703 PyObject
* obj0
= 0 ;
4704 PyObject
* obj1
= 0 ;
4706 (char *) "self",(char *) "pt", NULL
4709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Inside",kwnames
,&obj0
,&obj1
)) goto fail
;
4710 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4714 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4718 result
= (bool)((wxRect
const *)arg1
)->Inside((wxPoint
const &)*arg2
);
4720 wxPyEndAllowThreads(__tstate
);
4721 if (PyErr_Occurred()) SWIG_fail
;
4724 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4732 static PyObject
*_wrap_Rect_Intersects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4733 PyObject
*resultobj
;
4734 wxRect
*arg1
= (wxRect
*) 0 ;
4738 PyObject
* obj0
= 0 ;
4739 PyObject
* obj1
= 0 ;
4741 (char *) "self",(char *) "rect", NULL
4744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersects",kwnames
,&obj0
,&obj1
)) goto fail
;
4745 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4746 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4749 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4753 result
= (bool)((wxRect
const *)arg1
)->Intersects((wxRect
const &)*arg2
);
4755 wxPyEndAllowThreads(__tstate
);
4756 if (PyErr_Occurred()) SWIG_fail
;
4759 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4767 static PyObject
*_wrap_Rect_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4768 PyObject
*resultobj
;
4769 wxRect
*arg1
= (wxRect
*) 0 ;
4771 PyObject
* obj0
= 0 ;
4772 PyObject
* obj1
= 0 ;
4774 (char *) "self",(char *) "x", NULL
4777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4778 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4779 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4780 arg2
= (int)SWIG_As_int(obj1
);
4781 if (PyErr_Occurred()) SWIG_fail
;
4782 if (arg1
) (arg1
)->x
= arg2
;
4784 Py_INCREF(Py_None
); resultobj
= Py_None
;
4791 static PyObject
*_wrap_Rect_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4792 PyObject
*resultobj
;
4793 wxRect
*arg1
= (wxRect
*) 0 ;
4795 PyObject
* obj0
= 0 ;
4797 (char *) "self", NULL
4800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_x_get",kwnames
,&obj0
)) goto fail
;
4801 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4802 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4803 result
= (int) ((arg1
)->x
);
4805 resultobj
= SWIG_From_int((int)result
);
4812 static PyObject
*_wrap_Rect_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4813 PyObject
*resultobj
;
4814 wxRect
*arg1
= (wxRect
*) 0 ;
4816 PyObject
* obj0
= 0 ;
4817 PyObject
* obj1
= 0 ;
4819 (char *) "self",(char *) "y", NULL
4822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4823 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4824 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4825 arg2
= (int)SWIG_As_int(obj1
);
4826 if (PyErr_Occurred()) SWIG_fail
;
4827 if (arg1
) (arg1
)->y
= arg2
;
4829 Py_INCREF(Py_None
); resultobj
= Py_None
;
4836 static PyObject
*_wrap_Rect_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4837 PyObject
*resultobj
;
4838 wxRect
*arg1
= (wxRect
*) 0 ;
4840 PyObject
* obj0
= 0 ;
4842 (char *) "self", NULL
4845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_y_get",kwnames
,&obj0
)) goto fail
;
4846 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4847 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4848 result
= (int) ((arg1
)->y
);
4850 resultobj
= SWIG_From_int((int)result
);
4857 static PyObject
*_wrap_Rect_width_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4858 PyObject
*resultobj
;
4859 wxRect
*arg1
= (wxRect
*) 0 ;
4861 PyObject
* obj0
= 0 ;
4862 PyObject
* obj1
= 0 ;
4864 (char *) "self",(char *) "width", NULL
4867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4868 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4870 arg2
= (int)SWIG_As_int(obj1
);
4871 if (PyErr_Occurred()) SWIG_fail
;
4872 if (arg1
) (arg1
)->width
= arg2
;
4874 Py_INCREF(Py_None
); resultobj
= Py_None
;
4881 static PyObject
*_wrap_Rect_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4882 PyObject
*resultobj
;
4883 wxRect
*arg1
= (wxRect
*) 0 ;
4885 PyObject
* obj0
= 0 ;
4887 (char *) "self", NULL
4890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_width_get",kwnames
,&obj0
)) goto fail
;
4891 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4892 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4893 result
= (int) ((arg1
)->width
);
4895 resultobj
= SWIG_From_int((int)result
);
4902 static PyObject
*_wrap_Rect_height_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4903 PyObject
*resultobj
;
4904 wxRect
*arg1
= (wxRect
*) 0 ;
4906 PyObject
* obj0
= 0 ;
4907 PyObject
* obj1
= 0 ;
4909 (char *) "self",(char *) "height", NULL
4912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_height_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4913 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4914 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4915 arg2
= (int)SWIG_As_int(obj1
);
4916 if (PyErr_Occurred()) SWIG_fail
;
4917 if (arg1
) (arg1
)->height
= arg2
;
4919 Py_INCREF(Py_None
); resultobj
= Py_None
;
4926 static PyObject
*_wrap_Rect_height_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4927 PyObject
*resultobj
;
4928 wxRect
*arg1
= (wxRect
*) 0 ;
4930 PyObject
* obj0
= 0 ;
4932 (char *) "self", NULL
4935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_height_get",kwnames
,&obj0
)) goto fail
;
4936 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4937 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4938 result
= (int) ((arg1
)->height
);
4940 resultobj
= SWIG_From_int((int)result
);
4947 static PyObject
*_wrap_Rect_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4948 PyObject
*resultobj
;
4949 wxRect
*arg1
= (wxRect
*) 0 ;
4950 int arg2
= (int) 0 ;
4951 int arg3
= (int) 0 ;
4952 int arg4
= (int) 0 ;
4953 int arg5
= (int) 0 ;
4954 PyObject
* obj0
= 0 ;
4955 PyObject
* obj1
= 0 ;
4956 PyObject
* obj2
= 0 ;
4957 PyObject
* obj3
= 0 ;
4958 PyObject
* obj4
= 0 ;
4960 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
4963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Rect_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
4964 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4965 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4967 arg2
= (int)SWIG_As_int(obj1
);
4968 if (PyErr_Occurred()) SWIG_fail
;
4971 arg3
= (int)SWIG_As_int(obj2
);
4972 if (PyErr_Occurred()) SWIG_fail
;
4975 arg4
= (int)SWIG_As_int(obj3
);
4976 if (PyErr_Occurred()) SWIG_fail
;
4979 arg5
= (int)SWIG_As_int(obj4
);
4980 if (PyErr_Occurred()) SWIG_fail
;
4983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4984 wxRect_Set(arg1
,arg2
,arg3
,arg4
,arg5
);
4986 wxPyEndAllowThreads(__tstate
);
4987 if (PyErr_Occurred()) SWIG_fail
;
4989 Py_INCREF(Py_None
); resultobj
= Py_None
;
4996 static PyObject
*_wrap_Rect_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4997 PyObject
*resultobj
;
4998 wxRect
*arg1
= (wxRect
*) 0 ;
5000 PyObject
* obj0
= 0 ;
5002 (char *) "self", NULL
5005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_Get",kwnames
,&obj0
)) goto fail
;
5006 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
5007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5010 result
= (PyObject
*)wxRect_Get(arg1
);
5012 wxPyEndAllowThreads(__tstate
);
5013 if (PyErr_Occurred()) SWIG_fail
;
5022 static PyObject
* Rect_swigregister(PyObject
*, PyObject
*args
) {
5024 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5025 SWIG_TypeClientData(SWIGTYPE_p_wxRect
, obj
);
5027 return Py_BuildValue((char *)"");
5029 static PyObject
*_wrap_IntersectRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5030 PyObject
*resultobj
;
5031 wxRect
*arg1
= (wxRect
*) 0 ;
5032 wxRect
*arg2
= (wxRect
*) 0 ;
5034 PyObject
* obj0
= 0 ;
5035 PyObject
* obj1
= 0 ;
5037 (char *) "r1",(char *) "r2", NULL
5040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IntersectRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5041 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
5042 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5043 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRect
,
5044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5046 if (!wxPyCheckForApp()) SWIG_fail
;
5047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5048 result
= (PyObject
*)wxIntersectRect(arg1
,arg2
);
5050 wxPyEndAllowThreads(__tstate
);
5051 if (PyErr_Occurred()) SWIG_fail
;
5060 static PyObject
*_wrap_new_Point2D(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5061 PyObject
*resultobj
;
5062 double arg1
= (double) 0.0 ;
5063 double arg2
= (double) 0.0 ;
5065 PyObject
* obj0
= 0 ;
5066 PyObject
* obj1
= 0 ;
5068 (char *) "x",(char *) "y", NULL
5071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point2D",kwnames
,&obj0
,&obj1
)) goto fail
;
5073 arg1
= (double)SWIG_As_double(obj0
);
5074 if (PyErr_Occurred()) SWIG_fail
;
5077 arg2
= (double)SWIG_As_double(obj1
);
5078 if (PyErr_Occurred()) SWIG_fail
;
5081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5082 result
= (wxPoint2D
*)new wxPoint2D(arg1
,arg2
);
5084 wxPyEndAllowThreads(__tstate
);
5085 if (PyErr_Occurred()) SWIG_fail
;
5087 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
5094 static PyObject
*_wrap_new_Point2DCopy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5095 PyObject
*resultobj
;
5096 wxPoint2D
*arg1
= 0 ;
5099 PyObject
* obj0
= 0 ;
5104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DCopy",kwnames
,&obj0
)) goto fail
;
5107 if ( ! wxPoint2D_helper(obj0
, &arg1
)) SWIG_fail
;
5110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5111 result
= (wxPoint2D
*)new wxPoint2D((wxPoint2D
const &)*arg1
);
5113 wxPyEndAllowThreads(__tstate
);
5114 if (PyErr_Occurred()) SWIG_fail
;
5116 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
5123 static PyObject
*_wrap_new_Point2DFromPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5124 PyObject
*resultobj
;
5128 PyObject
* obj0
= 0 ;
5133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DFromPoint",kwnames
,&obj0
)) goto fail
;
5136 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
5139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5140 result
= (wxPoint2D
*)new wxPoint2D((wxPoint
const &)*arg1
);
5142 wxPyEndAllowThreads(__tstate
);
5143 if (PyErr_Occurred()) SWIG_fail
;
5145 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
5152 static PyObject
*_wrap_Point2D_GetFloor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5153 PyObject
*resultobj
;
5154 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5155 int *arg2
= (int *) 0 ;
5156 int *arg3
= (int *) 0 ;
5161 PyObject
* obj0
= 0 ;
5163 (char *) "self", NULL
5166 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
5167 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
5168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetFloor",kwnames
,&obj0
)) goto fail
;
5169 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5170 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5173 ((wxPoint2D
const *)arg1
)->GetFloor(arg2
,arg3
);
5175 wxPyEndAllowThreads(__tstate
);
5176 if (PyErr_Occurred()) SWIG_fail
;
5178 Py_INCREF(Py_None
); resultobj
= Py_None
;
5179 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
5180 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
5181 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
5182 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
5189 static PyObject
*_wrap_Point2D_GetRounded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5190 PyObject
*resultobj
;
5191 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5192 int *arg2
= (int *) 0 ;
5193 int *arg3
= (int *) 0 ;
5198 PyObject
* obj0
= 0 ;
5200 (char *) "self", NULL
5203 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
5204 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
5205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetRounded",kwnames
,&obj0
)) goto fail
;
5206 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5207 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5210 ((wxPoint2D
const *)arg1
)->GetRounded(arg2
,arg3
);
5212 wxPyEndAllowThreads(__tstate
);
5213 if (PyErr_Occurred()) SWIG_fail
;
5215 Py_INCREF(Py_None
); resultobj
= Py_None
;
5216 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
5217 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
5218 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
5219 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
5226 static PyObject
*_wrap_Point2D_GetVectorLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5227 PyObject
*resultobj
;
5228 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5230 PyObject
* obj0
= 0 ;
5232 (char *) "self", NULL
5235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetVectorLength",kwnames
,&obj0
)) goto fail
;
5236 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5240 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorLength();
5242 wxPyEndAllowThreads(__tstate
);
5243 if (PyErr_Occurred()) SWIG_fail
;
5245 resultobj
= SWIG_From_double((double)result
);
5252 static PyObject
*_wrap_Point2D_GetVectorAngle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5253 PyObject
*resultobj
;
5254 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5256 PyObject
* obj0
= 0 ;
5258 (char *) "self", NULL
5261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetVectorAngle",kwnames
,&obj0
)) goto fail
;
5262 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5263 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5266 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorAngle();
5268 wxPyEndAllowThreads(__tstate
);
5269 if (PyErr_Occurred()) SWIG_fail
;
5271 resultobj
= SWIG_From_double((double)result
);
5278 static PyObject
*_wrap_Point2D_SetVectorLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5279 PyObject
*resultobj
;
5280 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5282 PyObject
* obj0
= 0 ;
5283 PyObject
* obj1
= 0 ;
5285 (char *) "self",(char *) "length", NULL
5288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorLength",kwnames
,&obj0
,&obj1
)) goto fail
;
5289 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5290 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5291 arg2
= (double)SWIG_As_double(obj1
);
5292 if (PyErr_Occurred()) SWIG_fail
;
5294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5295 (arg1
)->SetVectorLength(arg2
);
5297 wxPyEndAllowThreads(__tstate
);
5298 if (PyErr_Occurred()) SWIG_fail
;
5300 Py_INCREF(Py_None
); resultobj
= Py_None
;
5307 static PyObject
*_wrap_Point2D_SetVectorAngle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5308 PyObject
*resultobj
;
5309 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5311 PyObject
* obj0
= 0 ;
5312 PyObject
* obj1
= 0 ;
5314 (char *) "self",(char *) "degrees", NULL
5317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorAngle",kwnames
,&obj0
,&obj1
)) goto fail
;
5318 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5320 arg2
= (double)SWIG_As_double(obj1
);
5321 if (PyErr_Occurred()) SWIG_fail
;
5323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5324 (arg1
)->SetVectorAngle(arg2
);
5326 wxPyEndAllowThreads(__tstate
);
5327 if (PyErr_Occurred()) SWIG_fail
;
5329 Py_INCREF(Py_None
); resultobj
= Py_None
;
5336 static PyObject
*_wrap_Point2D_GetDistance(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5337 PyObject
*resultobj
;
5338 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5339 wxPoint2D
*arg2
= 0 ;
5342 PyObject
* obj0
= 0 ;
5343 PyObject
* obj1
= 0 ;
5345 (char *) "self",(char *) "pt", NULL
5348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistance",kwnames
,&obj0
,&obj1
)) goto fail
;
5349 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5353 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5357 result
= (double)((wxPoint2D
const *)arg1
)->GetDistance((wxPoint2D
const &)*arg2
);
5359 wxPyEndAllowThreads(__tstate
);
5360 if (PyErr_Occurred()) SWIG_fail
;
5362 resultobj
= SWIG_From_double((double)result
);
5369 static PyObject
*_wrap_Point2D_GetDistanceSquare(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5370 PyObject
*resultobj
;
5371 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5372 wxPoint2D
*arg2
= 0 ;
5375 PyObject
* obj0
= 0 ;
5376 PyObject
* obj1
= 0 ;
5378 (char *) "self",(char *) "pt", NULL
5381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistanceSquare",kwnames
,&obj0
,&obj1
)) goto fail
;
5382 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5386 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5390 result
= (double)((wxPoint2D
const *)arg1
)->GetDistanceSquare((wxPoint2D
const &)*arg2
);
5392 wxPyEndAllowThreads(__tstate
);
5393 if (PyErr_Occurred()) SWIG_fail
;
5395 resultobj
= SWIG_From_double((double)result
);
5402 static PyObject
*_wrap_Point2D_GetDotProduct(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5403 PyObject
*resultobj
;
5404 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5405 wxPoint2D
*arg2
= 0 ;
5408 PyObject
* obj0
= 0 ;
5409 PyObject
* obj1
= 0 ;
5411 (char *) "self",(char *) "vec", NULL
5414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDotProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
5415 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5419 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5423 result
= (double)((wxPoint2D
const *)arg1
)->GetDotProduct((wxPoint2D
const &)*arg2
);
5425 wxPyEndAllowThreads(__tstate
);
5426 if (PyErr_Occurred()) SWIG_fail
;
5428 resultobj
= SWIG_From_double((double)result
);
5435 static PyObject
*_wrap_Point2D_GetCrossProduct(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5436 PyObject
*resultobj
;
5437 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5438 wxPoint2D
*arg2
= 0 ;
5441 PyObject
* obj0
= 0 ;
5442 PyObject
* obj1
= 0 ;
5444 (char *) "self",(char *) "vec", NULL
5447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetCrossProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
5448 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5452 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5456 result
= (double)((wxPoint2D
const *)arg1
)->GetCrossProduct((wxPoint2D
const &)*arg2
);
5458 wxPyEndAllowThreads(__tstate
);
5459 if (PyErr_Occurred()) SWIG_fail
;
5461 resultobj
= SWIG_From_double((double)result
);
5468 static PyObject
*_wrap_Point2D___neg__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5469 PyObject
*resultobj
;
5470 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5472 PyObject
* obj0
= 0 ;
5474 (char *) "self", NULL
5477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D___neg__",kwnames
,&obj0
)) goto fail
;
5478 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5479 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5482 result
= (arg1
)->operator -();
5484 wxPyEndAllowThreads(__tstate
);
5485 if (PyErr_Occurred()) SWIG_fail
;
5488 wxPoint2D
* resultptr
;
5489 resultptr
= new wxPoint2D((wxPoint2D
&) result
);
5490 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint2D
, 1);
5498 static PyObject
*_wrap_Point2D___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5499 PyObject
*resultobj
;
5500 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5501 wxPoint2D
*arg2
= 0 ;
5504 PyObject
* obj0
= 0 ;
5505 PyObject
* obj1
= 0 ;
5507 (char *) "self",(char *) "pt", NULL
5510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
5511 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5512 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
5515 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5520 wxPoint2D
&_result_ref
= (arg1
)->operator +=((wxPoint2D
const &)*arg2
);
5521 result
= (wxPoint2D
*) &_result_ref
;
5524 wxPyEndAllowThreads(__tstate
);
5525 if (PyErr_Occurred()) SWIG_fail
;
5527 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
5534 static PyObject
*_wrap_Point2D___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5535 PyObject
*resultobj
;
5536 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5537 wxPoint2D
*arg2
= 0 ;
5540 PyObject
* obj0
= 0 ;
5541 PyObject
* obj1
= 0 ;
5543 (char *) "self",(char *) "pt", NULL
5546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
5547 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5548 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
5551 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5556 wxPoint2D
&_result_ref
= (arg1
)->operator -=((wxPoint2D
const &)*arg2
);
5557 result
= (wxPoint2D
*) &_result_ref
;
5560 wxPyEndAllowThreads(__tstate
);
5561 if (PyErr_Occurred()) SWIG_fail
;
5563 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
5570 static PyObject
*_wrap_Point2D___imul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5571 PyObject
*resultobj
;
5572 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5573 wxPoint2D
*arg2
= 0 ;
5576 PyObject
* obj0
= 0 ;
5577 PyObject
* obj1
= 0 ;
5579 (char *) "self",(char *) "pt", NULL
5582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
5583 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5584 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
5587 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5592 wxPoint2D
&_result_ref
= (arg1
)->operator *=((wxPoint2D
const &)*arg2
);
5593 result
= (wxPoint2D
*) &_result_ref
;
5596 wxPyEndAllowThreads(__tstate
);
5597 if (PyErr_Occurred()) SWIG_fail
;
5599 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
5606 static PyObject
*_wrap_Point2D___idiv__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5607 PyObject
*resultobj
;
5608 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5609 wxPoint2D
*arg2
= 0 ;
5612 PyObject
* obj0
= 0 ;
5613 PyObject
* obj1
= 0 ;
5615 (char *) "self",(char *) "pt", NULL
5618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___idiv__",kwnames
,&obj0
,&obj1
)) goto fail
;
5619 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5620 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
5623 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5628 wxPoint2D
&_result_ref
= (arg1
)->operator /=((wxPoint2D
const &)*arg2
);
5629 result
= (wxPoint2D
*) &_result_ref
;
5632 wxPyEndAllowThreads(__tstate
);
5633 if (PyErr_Occurred()) SWIG_fail
;
5635 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
5642 static PyObject
*_wrap_Point2D___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5643 PyObject
*resultobj
;
5644 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5645 wxPoint2D
*arg2
= 0 ;
5648 PyObject
* obj0
= 0 ;
5649 PyObject
* obj1
= 0 ;
5651 (char *) "self",(char *) "pt", NULL
5654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
5655 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5656 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5659 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5663 result
= (bool)((wxPoint2D
const *)arg1
)->operator ==((wxPoint2D
const &)*arg2
);
5665 wxPyEndAllowThreads(__tstate
);
5666 if (PyErr_Occurred()) SWIG_fail
;
5669 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5677 static PyObject
*_wrap_Point2D___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5678 PyObject
*resultobj
;
5679 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5680 wxPoint2D
*arg2
= 0 ;
5683 PyObject
* obj0
= 0 ;
5684 PyObject
* obj1
= 0 ;
5686 (char *) "self",(char *) "pt", NULL
5689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
5690 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5691 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5694 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5698 result
= (bool)((wxPoint2D
const *)arg1
)->operator !=((wxPoint2D
const &)*arg2
);
5700 wxPyEndAllowThreads(__tstate
);
5701 if (PyErr_Occurred()) SWIG_fail
;
5704 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5712 static PyObject
*_wrap_Point2D_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5713 PyObject
*resultobj
;
5714 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5716 PyObject
* obj0
= 0 ;
5717 PyObject
* obj1
= 0 ;
5719 (char *) "self",(char *) "m_x", NULL
5722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
5723 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5724 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5725 arg2
= (double)SWIG_As_double(obj1
);
5726 if (PyErr_Occurred()) SWIG_fail
;
5727 if (arg1
) (arg1
)->m_x
= arg2
;
5729 Py_INCREF(Py_None
); resultobj
= Py_None
;
5736 static PyObject
*_wrap_Point2D_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5737 PyObject
*resultobj
;
5738 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5740 PyObject
* obj0
= 0 ;
5742 (char *) "self", NULL
5745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_x_get",kwnames
,&obj0
)) goto fail
;
5746 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5747 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5748 result
= (double) ((arg1
)->m_x
);
5750 resultobj
= SWIG_From_double((double)result
);
5757 static PyObject
*_wrap_Point2D_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5758 PyObject
*resultobj
;
5759 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5761 PyObject
* obj0
= 0 ;
5762 PyObject
* obj1
= 0 ;
5764 (char *) "self",(char *) "m_y", NULL
5767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
5768 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5769 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5770 arg2
= (double)SWIG_As_double(obj1
);
5771 if (PyErr_Occurred()) SWIG_fail
;
5772 if (arg1
) (arg1
)->m_y
= arg2
;
5774 Py_INCREF(Py_None
); resultobj
= Py_None
;
5781 static PyObject
*_wrap_Point2D_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5782 PyObject
*resultobj
;
5783 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5785 PyObject
* obj0
= 0 ;
5787 (char *) "self", NULL
5790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_y_get",kwnames
,&obj0
)) goto fail
;
5791 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5793 result
= (double) ((arg1
)->m_y
);
5795 resultobj
= SWIG_From_double((double)result
);
5802 static PyObject
*_wrap_Point2D_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5803 PyObject
*resultobj
;
5804 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5805 double arg2
= (double) 0 ;
5806 double arg3
= (double) 0 ;
5807 PyObject
* obj0
= 0 ;
5808 PyObject
* obj1
= 0 ;
5809 PyObject
* obj2
= 0 ;
5811 (char *) "self",(char *) "x",(char *) "y", NULL
5814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Point2D_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5815 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5816 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5818 arg2
= (double)SWIG_As_double(obj1
);
5819 if (PyErr_Occurred()) SWIG_fail
;
5822 arg3
= (double)SWIG_As_double(obj2
);
5823 if (PyErr_Occurred()) SWIG_fail
;
5826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5827 wxPoint2D_Set(arg1
,arg2
,arg3
);
5829 wxPyEndAllowThreads(__tstate
);
5830 if (PyErr_Occurred()) SWIG_fail
;
5832 Py_INCREF(Py_None
); resultobj
= Py_None
;
5839 static PyObject
*_wrap_Point2D_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5840 PyObject
*resultobj
;
5841 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5843 PyObject
* obj0
= 0 ;
5845 (char *) "self", NULL
5848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_Get",kwnames
,&obj0
)) goto fail
;
5849 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5853 result
= (PyObject
*)wxPoint2D_Get(arg1
);
5855 wxPyEndAllowThreads(__tstate
);
5856 if (PyErr_Occurred()) SWIG_fail
;
5865 static PyObject
* Point2D_swigregister(PyObject
*, PyObject
*args
) {
5867 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5868 SWIG_TypeClientData(SWIGTYPE_p_wxPoint2D
, obj
);
5870 return Py_BuildValue((char *)"");
5872 static int _wrap_DefaultPosition_set(PyObject
*) {
5873 PyErr_SetString(PyExc_TypeError
,"Variable DefaultPosition is read-only.");
5878 static PyObject
*_wrap_DefaultPosition_get() {
5881 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultPosition
), SWIGTYPE_p_wxPoint
, 0);
5886 static int _wrap_DefaultSize_set(PyObject
*) {
5887 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSize is read-only.");
5892 static PyObject
*_wrap_DefaultSize_get() {
5895 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultSize
), SWIGTYPE_p_wxSize
, 0);
5900 static PyObject
*_wrap_new_InputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5901 PyObject
*resultobj
;
5902 PyObject
*arg1
= (PyObject
*) 0 ;
5903 wxPyInputStream
*result
;
5904 PyObject
* obj0
= 0 ;
5909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_InputStream",kwnames
,&obj0
)) goto fail
;
5912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5913 result
= (wxPyInputStream
*)new_wxPyInputStream(arg1
);
5915 wxPyEndAllowThreads(__tstate
);
5916 if (PyErr_Occurred()) SWIG_fail
;
5918 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyInputStream
, 1);
5925 static PyObject
*_wrap_InputStream_close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5926 PyObject
*resultobj
;
5927 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5928 PyObject
* obj0
= 0 ;
5930 (char *) "self", NULL
5933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_close",kwnames
,&obj0
)) goto fail
;
5934 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5935 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5940 wxPyEndAllowThreads(__tstate
);
5941 if (PyErr_Occurred()) SWIG_fail
;
5943 Py_INCREF(Py_None
); resultobj
= Py_None
;
5950 static PyObject
*_wrap_InputStream_flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5951 PyObject
*resultobj
;
5952 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5953 PyObject
* obj0
= 0 ;
5955 (char *) "self", NULL
5958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_flush",kwnames
,&obj0
)) goto fail
;
5959 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5960 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5965 wxPyEndAllowThreads(__tstate
);
5966 if (PyErr_Occurred()) SWIG_fail
;
5968 Py_INCREF(Py_None
); resultobj
= Py_None
;
5975 static PyObject
*_wrap_InputStream_eof(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5976 PyObject
*resultobj
;
5977 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5979 PyObject
* obj0
= 0 ;
5981 (char *) "self", NULL
5984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_eof",kwnames
,&obj0
)) goto fail
;
5985 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5989 result
= (bool)(arg1
)->eof();
5991 wxPyEndAllowThreads(__tstate
);
5992 if (PyErr_Occurred()) SWIG_fail
;
5995 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6003 static PyObject
*_wrap_InputStream_read(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6004 PyObject
*resultobj
;
6005 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6006 int arg2
= (int) -1 ;
6008 PyObject
* obj0
= 0 ;
6009 PyObject
* obj1
= 0 ;
6011 (char *) "self",(char *) "size", NULL
6014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_read",kwnames
,&obj0
,&obj1
)) goto fail
;
6015 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6016 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6018 arg2
= (int)SWIG_As_int(obj1
);
6019 if (PyErr_Occurred()) SWIG_fail
;
6022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6023 result
= (PyObject
*)(arg1
)->read(arg2
);
6025 wxPyEndAllowThreads(__tstate
);
6026 if (PyErr_Occurred()) SWIG_fail
;
6035 static PyObject
*_wrap_InputStream_readline(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6036 PyObject
*resultobj
;
6037 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6038 int arg2
= (int) -1 ;
6040 PyObject
* obj0
= 0 ;
6041 PyObject
* obj1
= 0 ;
6043 (char *) "self",(char *) "size", NULL
6046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readline",kwnames
,&obj0
,&obj1
)) goto fail
;
6047 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6048 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6050 arg2
= (int)SWIG_As_int(obj1
);
6051 if (PyErr_Occurred()) SWIG_fail
;
6054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6055 result
= (PyObject
*)(arg1
)->readline(arg2
);
6057 wxPyEndAllowThreads(__tstate
);
6058 if (PyErr_Occurred()) SWIG_fail
;
6067 static PyObject
*_wrap_InputStream_readlines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6068 PyObject
*resultobj
;
6069 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6070 int arg2
= (int) -1 ;
6072 PyObject
* obj0
= 0 ;
6073 PyObject
* obj1
= 0 ;
6075 (char *) "self",(char *) "sizehint", NULL
6078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readlines",kwnames
,&obj0
,&obj1
)) goto fail
;
6079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6082 arg2
= (int)SWIG_As_int(obj1
);
6083 if (PyErr_Occurred()) SWIG_fail
;
6086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6087 result
= (PyObject
*)(arg1
)->readlines(arg2
);
6089 wxPyEndAllowThreads(__tstate
);
6090 if (PyErr_Occurred()) SWIG_fail
;
6099 static PyObject
*_wrap_InputStream_seek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6100 PyObject
*resultobj
;
6101 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6103 int arg3
= (int) 0 ;
6104 PyObject
* obj0
= 0 ;
6105 PyObject
* obj1
= 0 ;
6106 PyObject
* obj2
= 0 ;
6108 (char *) "self",(char *) "offset",(char *) "whence", NULL
6111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_seek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6112 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6114 arg2
= (int)SWIG_As_int(obj1
);
6115 if (PyErr_Occurred()) SWIG_fail
;
6117 arg3
= (int)SWIG_As_int(obj2
);
6118 if (PyErr_Occurred()) SWIG_fail
;
6121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6122 (arg1
)->seek(arg2
,arg3
);
6124 wxPyEndAllowThreads(__tstate
);
6125 if (PyErr_Occurred()) SWIG_fail
;
6127 Py_INCREF(Py_None
); resultobj
= Py_None
;
6134 static PyObject
*_wrap_InputStream_tell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6135 PyObject
*resultobj
;
6136 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6138 PyObject
* obj0
= 0 ;
6140 (char *) "self", NULL
6143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_tell",kwnames
,&obj0
)) goto fail
;
6144 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6145 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6148 result
= (int)(arg1
)->tell();
6150 wxPyEndAllowThreads(__tstate
);
6151 if (PyErr_Occurred()) SWIG_fail
;
6153 resultobj
= SWIG_From_int((int)result
);
6160 static PyObject
*_wrap_InputStream_Peek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6161 PyObject
*resultobj
;
6162 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6164 PyObject
* obj0
= 0 ;
6166 (char *) "self", NULL
6169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Peek",kwnames
,&obj0
)) goto fail
;
6170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6174 result
= (char)(arg1
)->Peek();
6176 wxPyEndAllowThreads(__tstate
);
6177 if (PyErr_Occurred()) SWIG_fail
;
6179 resultobj
= SWIG_From_char((char)result
);
6186 static PyObject
*_wrap_InputStream_GetC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6187 PyObject
*resultobj
;
6188 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6190 PyObject
* obj0
= 0 ;
6192 (char *) "self", NULL
6195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_GetC",kwnames
,&obj0
)) goto fail
;
6196 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6200 result
= (char)(arg1
)->GetC();
6202 wxPyEndAllowThreads(__tstate
);
6203 if (PyErr_Occurred()) SWIG_fail
;
6205 resultobj
= SWIG_From_char((char)result
);
6212 static PyObject
*_wrap_InputStream_LastRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6213 PyObject
*resultobj
;
6214 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6216 PyObject
* obj0
= 0 ;
6218 (char *) "self", NULL
6221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_LastRead",kwnames
,&obj0
)) goto fail
;
6222 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6223 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6226 result
= (size_t)(arg1
)->LastRead();
6228 wxPyEndAllowThreads(__tstate
);
6229 if (PyErr_Occurred()) SWIG_fail
;
6231 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
6238 static PyObject
*_wrap_InputStream_CanRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6239 PyObject
*resultobj
;
6240 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6242 PyObject
* obj0
= 0 ;
6244 (char *) "self", NULL
6247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_CanRead",kwnames
,&obj0
)) goto fail
;
6248 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6252 result
= (bool)(arg1
)->CanRead();
6254 wxPyEndAllowThreads(__tstate
);
6255 if (PyErr_Occurred()) SWIG_fail
;
6258 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6266 static PyObject
*_wrap_InputStream_Eof(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_Eof",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
= (bool)(arg1
)->Eof();
6282 wxPyEndAllowThreads(__tstate
);
6283 if (PyErr_Occurred()) SWIG_fail
;
6286 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6294 static PyObject
*_wrap_InputStream_Ungetch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6295 PyObject
*resultobj
;
6296 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6299 PyObject
* obj0
= 0 ;
6300 PyObject
* obj1
= 0 ;
6302 (char *) "self",(char *) "c", NULL
6305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InputStream_Ungetch",kwnames
,&obj0
,&obj1
)) goto fail
;
6306 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6308 arg2
= (char)SWIG_As_char(obj1
);
6309 if (PyErr_Occurred()) SWIG_fail
;
6311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6312 result
= (bool)(arg1
)->Ungetch(arg2
);
6314 wxPyEndAllowThreads(__tstate
);
6315 if (PyErr_Occurred()) SWIG_fail
;
6318 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6326 static PyObject
*_wrap_InputStream_SeekI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6327 PyObject
*resultobj
;
6328 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6330 int arg3
= (int) wxFromStart
;
6332 PyObject
* obj0
= 0 ;
6333 PyObject
* obj1
= 0 ;
6334 PyObject
* obj2
= 0 ;
6336 (char *) "self",(char *) "pos",(char *) "mode", NULL
6339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_SeekI",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6342 arg2
= (long)SWIG_As_long(obj1
);
6343 if (PyErr_Occurred()) SWIG_fail
;
6345 arg3
= (int)SWIG_As_int(obj2
);
6346 if (PyErr_Occurred()) SWIG_fail
;
6349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6350 result
= (long)(arg1
)->SeekI(arg2
,(wxSeekMode
)arg3
);
6352 wxPyEndAllowThreads(__tstate
);
6353 if (PyErr_Occurred()) SWIG_fail
;
6355 resultobj
= SWIG_From_long((long)result
);
6362 static PyObject
*_wrap_InputStream_TellI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6363 PyObject
*resultobj
;
6364 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6366 PyObject
* obj0
= 0 ;
6368 (char *) "self", NULL
6371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_TellI",kwnames
,&obj0
)) goto fail
;
6372 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6376 result
= (long)(arg1
)->TellI();
6378 wxPyEndAllowThreads(__tstate
);
6379 if (PyErr_Occurred()) SWIG_fail
;
6381 resultobj
= SWIG_From_long((long)result
);
6388 static PyObject
* InputStream_swigregister(PyObject
*, PyObject
*args
) {
6390 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6391 SWIG_TypeClientData(SWIGTYPE_p_wxPyInputStream
, obj
);
6393 return Py_BuildValue((char *)"");
6395 static PyObject
*_wrap_OutputStream_write(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6396 PyObject
*resultobj
;
6397 wxOutputStream
*arg1
= (wxOutputStream
*) 0 ;
6398 PyObject
*arg2
= (PyObject
*) 0 ;
6399 PyObject
* obj0
= 0 ;
6400 PyObject
* obj1
= 0 ;
6402 (char *) "self",(char *) "obj", NULL
6405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:OutputStream_write",kwnames
,&obj0
,&obj1
)) goto fail
;
6406 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxOutputStream
,
6407 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6411 wxOutputStream_write(arg1
,arg2
);
6413 wxPyEndAllowThreads(__tstate
);
6414 if (PyErr_Occurred()) SWIG_fail
;
6416 Py_INCREF(Py_None
); resultobj
= Py_None
;
6423 static PyObject
* OutputStream_swigregister(PyObject
*, PyObject
*args
) {
6425 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6426 SWIG_TypeClientData(SWIGTYPE_p_wxOutputStream
, obj
);
6428 return Py_BuildValue((char *)"");
6430 static PyObject
*_wrap_new_FSFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6431 PyObject
*resultobj
;
6432 wxInputStream
*arg1
= (wxInputStream
*) 0 ;
6433 wxString
*arg2
= 0 ;
6434 wxString
*arg3
= 0 ;
6435 wxString
*arg4
= 0 ;
6438 wxPyInputStream
*temp1
;
6440 bool temp2
= False
;
6441 bool temp3
= False
;
6442 bool temp4
= False
;
6444 PyObject
* obj0
= 0 ;
6445 PyObject
* obj1
= 0 ;
6446 PyObject
* obj2
= 0 ;
6447 PyObject
* obj3
= 0 ;
6448 PyObject
* obj4
= 0 ;
6450 (char *) "stream",(char *) "loc",(char *) "mimetype",(char *) "anchor",(char *) "modif", NULL
6453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:new_FSFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
6455 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
6456 arg1
= temp1
->m_wxis
;
6459 PyErr_Clear(); // clear the failure of the wxPyConvert above
6460 arg1
= wxPyCBInputStream_create(obj0
, False
);
6462 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
6469 arg2
= wxString_in_helper(obj1
);
6470 if (arg2
== NULL
) SWIG_fail
;
6474 arg3
= wxString_in_helper(obj2
);
6475 if (arg3
== NULL
) SWIG_fail
;
6479 arg4
= wxString_in_helper(obj3
);
6480 if (arg4
== NULL
) SWIG_fail
;
6483 if ((SWIG_ConvertPtr(obj4
,(void **)(&argp5
),SWIGTYPE_p_wxDateTime
,
6484 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
6487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6488 result
= (wxFSFile
*)new wxFSFile(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
6490 wxPyEndAllowThreads(__tstate
);
6491 if (PyErr_Occurred()) SWIG_fail
;
6494 resultobj
= wxPyMake_wxObject(result
, 1);
6534 static PyObject
*_wrap_delete_FSFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6535 PyObject
*resultobj
;
6536 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6537 PyObject
* obj0
= 0 ;
6539 (char *) "self", NULL
6542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FSFile",kwnames
,&obj0
)) goto fail
;
6543 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6544 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6549 wxPyEndAllowThreads(__tstate
);
6550 if (PyErr_Occurred()) SWIG_fail
;
6552 Py_INCREF(Py_None
); resultobj
= Py_None
;
6559 static PyObject
*_wrap_FSFile_GetStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6560 PyObject
*resultobj
;
6561 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6562 wxInputStream
*result
;
6563 PyObject
* obj0
= 0 ;
6565 (char *) "self", NULL
6568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetStream",kwnames
,&obj0
)) goto fail
;
6569 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6570 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6573 result
= (wxInputStream
*)(arg1
)->GetStream();
6575 wxPyEndAllowThreads(__tstate
);
6576 if (PyErr_Occurred()) SWIG_fail
;
6579 wxPyInputStream
* _ptr
= NULL
;
6582 _ptr
= new wxPyInputStream(result
);
6584 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), True
);
6592 static PyObject
*_wrap_FSFile_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6593 PyObject
*resultobj
;
6594 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6596 PyObject
* obj0
= 0 ;
6598 (char *) "self", NULL
6601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetMimeType",kwnames
,&obj0
)) goto fail
;
6602 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6603 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6607 wxString
const &_result_ref
= (arg1
)->GetMimeType();
6608 result
= (wxString
*) &_result_ref
;
6611 wxPyEndAllowThreads(__tstate
);
6612 if (PyErr_Occurred()) SWIG_fail
;
6616 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
6618 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
6627 static PyObject
*_wrap_FSFile_GetLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6628 PyObject
*resultobj
;
6629 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6631 PyObject
* obj0
= 0 ;
6633 (char *) "self", NULL
6636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetLocation",kwnames
,&obj0
)) goto fail
;
6637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6642 wxString
const &_result_ref
= (arg1
)->GetLocation();
6643 result
= (wxString
*) &_result_ref
;
6646 wxPyEndAllowThreads(__tstate
);
6647 if (PyErr_Occurred()) SWIG_fail
;
6651 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
6653 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
6662 static PyObject
*_wrap_FSFile_GetAnchor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6663 PyObject
*resultobj
;
6664 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6666 PyObject
* obj0
= 0 ;
6668 (char *) "self", NULL
6671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetAnchor",kwnames
,&obj0
)) goto fail
;
6672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6677 wxString
const &_result_ref
= (arg1
)->GetAnchor();
6678 result
= (wxString
*) &_result_ref
;
6681 wxPyEndAllowThreads(__tstate
);
6682 if (PyErr_Occurred()) SWIG_fail
;
6686 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
6688 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
6697 static PyObject
*_wrap_FSFile_GetModificationTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6698 PyObject
*resultobj
;
6699 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6701 PyObject
* obj0
= 0 ;
6703 (char *) "self", NULL
6706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetModificationTime",kwnames
,&obj0
)) goto fail
;
6707 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6708 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6711 result
= (arg1
)->GetModificationTime();
6713 wxPyEndAllowThreads(__tstate
);
6714 if (PyErr_Occurred()) SWIG_fail
;
6717 wxDateTime
* resultptr
;
6718 resultptr
= new wxDateTime((wxDateTime
&) result
);
6719 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
6727 static PyObject
* FSFile_swigregister(PyObject
*, PyObject
*args
) {
6729 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6730 SWIG_TypeClientData(SWIGTYPE_p_wxFSFile
, obj
);
6732 return Py_BuildValue((char *)"");
6734 static PyObject
* CPPFileSystemHandler_swigregister(PyObject
*, PyObject
*args
) {
6736 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6737 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystemHandler
, obj
);
6739 return Py_BuildValue((char *)"");
6741 static PyObject
*_wrap_new_FileSystemHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6742 PyObject
*resultobj
;
6743 wxPyFileSystemHandler
*result
;
6748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystemHandler",kwnames
)) goto fail
;
6750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6751 result
= (wxPyFileSystemHandler
*)new wxPyFileSystemHandler();
6753 wxPyEndAllowThreads(__tstate
);
6754 if (PyErr_Occurred()) SWIG_fail
;
6756 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFileSystemHandler
, 1);
6763 static PyObject
*_wrap_FileSystemHandler__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6764 PyObject
*resultobj
;
6765 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6766 PyObject
*arg2
= (PyObject
*) 0 ;
6767 PyObject
*arg3
= (PyObject
*) 0 ;
6768 PyObject
* obj0
= 0 ;
6769 PyObject
* obj1
= 0 ;
6770 PyObject
* obj2
= 0 ;
6772 (char *) "self",(char *) "self",(char *) "_class", NULL
6775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6782 (arg1
)->_setCallbackInfo(arg2
,arg3
);
6784 wxPyEndAllowThreads(__tstate
);
6785 if (PyErr_Occurred()) SWIG_fail
;
6787 Py_INCREF(Py_None
); resultobj
= Py_None
;
6794 static PyObject
*_wrap_FileSystemHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6795 PyObject
*resultobj
;
6796 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6797 wxString
*arg2
= 0 ;
6799 bool temp2
= False
;
6800 PyObject
* obj0
= 0 ;
6801 PyObject
* obj1
= 0 ;
6803 (char *) "self",(char *) "location", NULL
6806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
6807 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6810 arg2
= wxString_in_helper(obj1
);
6811 if (arg2
== NULL
) SWIG_fail
;
6815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6816 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
6818 wxPyEndAllowThreads(__tstate
);
6819 if (PyErr_Occurred()) SWIG_fail
;
6822 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6838 static PyObject
*_wrap_FileSystemHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6839 PyObject
*resultobj
;
6840 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6841 wxFileSystem
*arg2
= 0 ;
6842 wxString
*arg3
= 0 ;
6844 bool temp3
= False
;
6845 PyObject
* obj0
= 0 ;
6846 PyObject
* obj1
= 0 ;
6847 PyObject
* obj2
= 0 ;
6849 (char *) "self",(char *) "fs",(char *) "location", NULL
6852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6853 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6855 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileSystem
,
6856 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6859 PyErr_SetString(PyExc_TypeError
,"null reference");
6863 arg3
= wxString_in_helper(obj2
);
6864 if (arg3
== NULL
) SWIG_fail
;
6868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6869 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
6871 wxPyEndAllowThreads(__tstate
);
6872 if (PyErr_Occurred()) SWIG_fail
;
6875 resultobj
= wxPyMake_wxObject(result
, 1);
6891 static PyObject
*_wrap_FileSystemHandler_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6892 PyObject
*resultobj
;
6893 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6894 wxString
*arg2
= 0 ;
6895 int arg3
= (int) 0 ;
6897 bool temp2
= False
;
6898 PyObject
* obj0
= 0 ;
6899 PyObject
* obj1
= 0 ;
6900 PyObject
* obj2
= 0 ;
6902 (char *) "self",(char *) "spec",(char *) "flags", NULL
6905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystemHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6906 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6907 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6909 arg2
= wxString_in_helper(obj1
);
6910 if (arg2
== NULL
) SWIG_fail
;
6914 arg3
= (int)SWIG_As_int(obj2
);
6915 if (PyErr_Occurred()) SWIG_fail
;
6918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6919 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
6921 wxPyEndAllowThreads(__tstate
);
6922 if (PyErr_Occurred()) SWIG_fail
;
6926 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6928 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6945 static PyObject
*_wrap_FileSystemHandler_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6946 PyObject
*resultobj
;
6947 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6949 PyObject
* obj0
= 0 ;
6951 (char *) "self", NULL
6954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystemHandler_FindNext",kwnames
,&obj0
)) goto fail
;
6955 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6956 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6959 result
= (arg1
)->FindNext();
6961 wxPyEndAllowThreads(__tstate
);
6962 if (PyErr_Occurred()) SWIG_fail
;
6966 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6968 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6977 static PyObject
*_wrap_FileSystemHandler_GetProtocol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6978 PyObject
*resultobj
;
6979 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6980 wxString
*arg2
= 0 ;
6982 bool temp2
= False
;
6983 PyObject
* obj0
= 0 ;
6984 PyObject
* obj1
= 0 ;
6986 (char *) "self",(char *) "location", NULL
6989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetProtocol",kwnames
,&obj0
,&obj1
)) goto fail
;
6990 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6991 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6993 arg2
= wxString_in_helper(obj1
);
6994 if (arg2
== NULL
) SWIG_fail
;
6998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6999 result
= (arg1
)->GetProtocol((wxString
const &)*arg2
);
7001 wxPyEndAllowThreads(__tstate
);
7002 if (PyErr_Occurred()) SWIG_fail
;
7006 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7008 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7025 static PyObject
*_wrap_FileSystemHandler_GetLeftLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7026 PyObject
*resultobj
;
7027 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
7028 wxString
*arg2
= 0 ;
7030 bool temp2
= False
;
7031 PyObject
* obj0
= 0 ;
7032 PyObject
* obj1
= 0 ;
7034 (char *) "self",(char *) "location", NULL
7037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetLeftLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
7038 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
7039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7041 arg2
= wxString_in_helper(obj1
);
7042 if (arg2
== NULL
) SWIG_fail
;
7046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7047 result
= (arg1
)->GetLeftLocation((wxString
const &)*arg2
);
7049 wxPyEndAllowThreads(__tstate
);
7050 if (PyErr_Occurred()) SWIG_fail
;
7054 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7056 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7073 static PyObject
*_wrap_FileSystemHandler_GetAnchor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7074 PyObject
*resultobj
;
7075 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
7076 wxString
*arg2
= 0 ;
7078 bool temp2
= False
;
7079 PyObject
* obj0
= 0 ;
7080 PyObject
* obj1
= 0 ;
7082 (char *) "self",(char *) "location", NULL
7085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetAnchor",kwnames
,&obj0
,&obj1
)) goto fail
;
7086 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
7087 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7089 arg2
= wxString_in_helper(obj1
);
7090 if (arg2
== NULL
) SWIG_fail
;
7094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7095 result
= (arg1
)->GetAnchor((wxString
const &)*arg2
);
7097 wxPyEndAllowThreads(__tstate
);
7098 if (PyErr_Occurred()) SWIG_fail
;
7102 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7104 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7121 static PyObject
*_wrap_FileSystemHandler_GetRightLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7122 PyObject
*resultobj
;
7123 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
7124 wxString
*arg2
= 0 ;
7126 bool temp2
= False
;
7127 PyObject
* obj0
= 0 ;
7128 PyObject
* obj1
= 0 ;
7130 (char *) "self",(char *) "location", NULL
7133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetRightLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
7134 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
7135 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7137 arg2
= wxString_in_helper(obj1
);
7138 if (arg2
== NULL
) SWIG_fail
;
7142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7143 result
= (arg1
)->GetRightLocation((wxString
const &)*arg2
);
7145 wxPyEndAllowThreads(__tstate
);
7146 if (PyErr_Occurred()) SWIG_fail
;
7150 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7152 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7169 static PyObject
*_wrap_FileSystemHandler_GetMimeTypeFromExt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7170 PyObject
*resultobj
;
7171 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
7172 wxString
*arg2
= 0 ;
7174 bool temp2
= False
;
7175 PyObject
* obj0
= 0 ;
7176 PyObject
* obj1
= 0 ;
7178 (char *) "self",(char *) "location", NULL
7181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetMimeTypeFromExt",kwnames
,&obj0
,&obj1
)) goto fail
;
7182 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
7183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7185 arg2
= wxString_in_helper(obj1
);
7186 if (arg2
== NULL
) SWIG_fail
;
7190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7191 result
= (arg1
)->GetMimeTypeFromExt((wxString
const &)*arg2
);
7193 wxPyEndAllowThreads(__tstate
);
7194 if (PyErr_Occurred()) SWIG_fail
;
7198 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7200 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7217 static PyObject
* FileSystemHandler_swigregister(PyObject
*, PyObject
*args
) {
7219 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7220 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileSystemHandler
, obj
);
7222 return Py_BuildValue((char *)"");
7224 static PyObject
*_wrap_new_FileSystem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7225 PyObject
*resultobj
;
7226 wxFileSystem
*result
;
7231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystem",kwnames
)) goto fail
;
7233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7234 result
= (wxFileSystem
*)new wxFileSystem();
7236 wxPyEndAllowThreads(__tstate
);
7237 if (PyErr_Occurred()) SWIG_fail
;
7240 resultobj
= wxPyMake_wxObject(result
, 1);
7248 static PyObject
*_wrap_delete_FileSystem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7249 PyObject
*resultobj
;
7250 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7251 PyObject
* obj0
= 0 ;
7253 (char *) "self", NULL
7256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileSystem",kwnames
,&obj0
)) goto fail
;
7257 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7258 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7263 wxPyEndAllowThreads(__tstate
);
7264 if (PyErr_Occurred()) SWIG_fail
;
7266 Py_INCREF(Py_None
); resultobj
= Py_None
;
7273 static PyObject
*_wrap_FileSystem_ChangePathTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7274 PyObject
*resultobj
;
7275 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7276 wxString
*arg2
= 0 ;
7277 bool arg3
= (bool) False
;
7278 bool temp2
= False
;
7279 PyObject
* obj0
= 0 ;
7280 PyObject
* obj1
= 0 ;
7281 PyObject
* obj2
= 0 ;
7283 (char *) "self",(char *) "location",(char *) "is_dir", NULL
7286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_ChangePathTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7287 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7290 arg2
= wxString_in_helper(obj1
);
7291 if (arg2
== NULL
) SWIG_fail
;
7295 arg3
= (bool)SWIG_As_bool(obj2
);
7296 if (PyErr_Occurred()) SWIG_fail
;
7299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7300 (arg1
)->ChangePathTo((wxString
const &)*arg2
,arg3
);
7302 wxPyEndAllowThreads(__tstate
);
7303 if (PyErr_Occurred()) SWIG_fail
;
7305 Py_INCREF(Py_None
); resultobj
= Py_None
;
7320 static PyObject
*_wrap_FileSystem_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7321 PyObject
*resultobj
;
7322 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7324 PyObject
* obj0
= 0 ;
7326 (char *) "self", NULL
7329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_GetPath",kwnames
,&obj0
)) goto fail
;
7330 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7331 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7334 result
= (arg1
)->GetPath();
7336 wxPyEndAllowThreads(__tstate
);
7337 if (PyErr_Occurred()) SWIG_fail
;
7341 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7343 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7352 static PyObject
*_wrap_FileSystem_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7353 PyObject
*resultobj
;
7354 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7355 wxString
*arg2
= 0 ;
7357 bool temp2
= False
;
7358 PyObject
* obj0
= 0 ;
7359 PyObject
* obj1
= 0 ;
7361 (char *) "self",(char *) "location", NULL
7364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystem_OpenFile",kwnames
,&obj0
,&obj1
)) goto fail
;
7365 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7368 arg2
= wxString_in_helper(obj1
);
7369 if (arg2
== NULL
) SWIG_fail
;
7373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7374 result
= (wxFSFile
*)(arg1
)->OpenFile((wxString
const &)*arg2
);
7376 wxPyEndAllowThreads(__tstate
);
7377 if (PyErr_Occurred()) SWIG_fail
;
7380 resultobj
= wxPyMake_wxObject(result
, 1);
7396 static PyObject
*_wrap_FileSystem_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7397 PyObject
*resultobj
;
7398 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7399 wxString
*arg2
= 0 ;
7400 int arg3
= (int) 0 ;
7402 bool temp2
= False
;
7403 PyObject
* obj0
= 0 ;
7404 PyObject
* obj1
= 0 ;
7405 PyObject
* obj2
= 0 ;
7407 (char *) "self",(char *) "spec",(char *) "flags", NULL
7410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7411 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7414 arg2
= wxString_in_helper(obj1
);
7415 if (arg2
== NULL
) SWIG_fail
;
7419 arg3
= (int)SWIG_As_int(obj2
);
7420 if (PyErr_Occurred()) SWIG_fail
;
7423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7424 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
7426 wxPyEndAllowThreads(__tstate
);
7427 if (PyErr_Occurred()) SWIG_fail
;
7431 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7433 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7450 static PyObject
*_wrap_FileSystem_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7451 PyObject
*resultobj
;
7452 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7454 PyObject
* obj0
= 0 ;
7456 (char *) "self", NULL
7459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FindNext",kwnames
,&obj0
)) goto fail
;
7460 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7464 result
= (arg1
)->FindNext();
7466 wxPyEndAllowThreads(__tstate
);
7467 if (PyErr_Occurred()) SWIG_fail
;
7471 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7473 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7482 static PyObject
*_wrap_FileSystem_AddHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7483 PyObject
*resultobj
;
7484 wxFileSystemHandler
*arg1
= (wxFileSystemHandler
*) 0 ;
7485 PyObject
* obj0
= 0 ;
7487 (char *) "handler", NULL
7490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_AddHandler",kwnames
,&obj0
)) goto fail
;
7491 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystemHandler
,
7492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7495 wxFileSystem::AddHandler(arg1
);
7497 wxPyEndAllowThreads(__tstate
);
7498 if (PyErr_Occurred()) SWIG_fail
;
7500 Py_INCREF(Py_None
); resultobj
= Py_None
;
7507 static PyObject
*_wrap_FileSystem_CleanUpHandlers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7508 PyObject
*resultobj
;
7513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FileSystem_CleanUpHandlers",kwnames
)) goto fail
;
7515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7516 wxFileSystem::CleanUpHandlers();
7518 wxPyEndAllowThreads(__tstate
);
7519 if (PyErr_Occurred()) SWIG_fail
;
7521 Py_INCREF(Py_None
); resultobj
= Py_None
;
7528 static PyObject
*_wrap_FileSystem_FileNameToURL(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7529 PyObject
*resultobj
;
7530 wxString
*arg1
= 0 ;
7532 bool temp1
= False
;
7533 PyObject
* obj0
= 0 ;
7535 (char *) "filename", NULL
7538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FileNameToURL",kwnames
,&obj0
)) goto fail
;
7540 arg1
= wxString_in_helper(obj0
);
7541 if (arg1
== NULL
) SWIG_fail
;
7545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7546 result
= wxFileSystem::FileNameToURL((wxString
const &)*arg1
);
7548 wxPyEndAllowThreads(__tstate
);
7549 if (PyErr_Occurred()) SWIG_fail
;
7553 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7555 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7572 static PyObject
* FileSystem_swigregister(PyObject
*, PyObject
*args
) {
7574 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7575 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystem
, obj
);
7577 return Py_BuildValue((char *)"");
7579 static PyObject
*_wrap_FileSystem_URLToFileName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7580 PyObject
*resultobj
;
7581 wxString
*arg1
= 0 ;
7583 bool temp1
= False
;
7584 PyObject
* obj0
= 0 ;
7586 (char *) "url", NULL
7589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_URLToFileName",kwnames
,&obj0
)) goto fail
;
7591 arg1
= wxString_in_helper(obj0
);
7592 if (arg1
== NULL
) SWIG_fail
;
7596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7597 result
= wxFileSystem_URLToFileName((wxString
const &)*arg1
);
7599 wxPyEndAllowThreads(__tstate
);
7600 if (PyErr_Occurred()) SWIG_fail
;
7604 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7606 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7623 static PyObject
*_wrap_new_InternetFSHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7624 PyObject
*resultobj
;
7625 wxInternetFSHandler
*result
;
7630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_InternetFSHandler",kwnames
)) goto fail
;
7632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7633 result
= (wxInternetFSHandler
*)new wxInternetFSHandler();
7635 wxPyEndAllowThreads(__tstate
);
7636 if (PyErr_Occurred()) SWIG_fail
;
7638 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxInternetFSHandler
, 1);
7645 static PyObject
*_wrap_InternetFSHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7646 PyObject
*resultobj
;
7647 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
7648 wxString
*arg2
= 0 ;
7650 bool temp2
= False
;
7651 PyObject
* obj0
= 0 ;
7652 PyObject
* obj1
= 0 ;
7654 (char *) "self",(char *) "location", NULL
7657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InternetFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
7658 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxInternetFSHandler
,
7659 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7661 arg2
= wxString_in_helper(obj1
);
7662 if (arg2
== NULL
) SWIG_fail
;
7666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7667 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
7669 wxPyEndAllowThreads(__tstate
);
7670 if (PyErr_Occurred()) SWIG_fail
;
7673 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7689 static PyObject
*_wrap_InternetFSHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7690 PyObject
*resultobj
;
7691 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
7692 wxFileSystem
*arg2
= 0 ;
7693 wxString
*arg3
= 0 ;
7695 bool temp3
= False
;
7696 PyObject
* obj0
= 0 ;
7697 PyObject
* obj1
= 0 ;
7698 PyObject
* obj2
= 0 ;
7700 (char *) "self",(char *) "fs",(char *) "location", NULL
7703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:InternetFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7704 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxInternetFSHandler
,
7705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7706 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileSystem
,
7707 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7710 PyErr_SetString(PyExc_TypeError
,"null reference");
7714 arg3
= wxString_in_helper(obj2
);
7715 if (arg3
== NULL
) SWIG_fail
;
7719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7720 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
7722 wxPyEndAllowThreads(__tstate
);
7723 if (PyErr_Occurred()) SWIG_fail
;
7726 resultobj
= wxPyMake_wxObject(result
, 1);
7742 static PyObject
* InternetFSHandler_swigregister(PyObject
*, PyObject
*args
) {
7744 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7745 SWIG_TypeClientData(SWIGTYPE_p_wxInternetFSHandler
, obj
);
7747 return Py_BuildValue((char *)"");
7749 static PyObject
*_wrap_new_ZipFSHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7750 PyObject
*resultobj
;
7751 wxZipFSHandler
*result
;
7756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ZipFSHandler",kwnames
)) goto fail
;
7758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7759 result
= (wxZipFSHandler
*)new wxZipFSHandler();
7761 wxPyEndAllowThreads(__tstate
);
7762 if (PyErr_Occurred()) SWIG_fail
;
7764 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxZipFSHandler
, 1);
7771 static PyObject
*_wrap_ZipFSHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7772 PyObject
*resultobj
;
7773 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7774 wxString
*arg2
= 0 ;
7776 bool temp2
= False
;
7777 PyObject
* obj0
= 0 ;
7778 PyObject
* obj1
= 0 ;
7780 (char *) "self",(char *) "location", NULL
7783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ZipFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
7784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxZipFSHandler
,
7785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7787 arg2
= wxString_in_helper(obj1
);
7788 if (arg2
== NULL
) SWIG_fail
;
7792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7793 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
7795 wxPyEndAllowThreads(__tstate
);
7796 if (PyErr_Occurred()) SWIG_fail
;
7799 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7815 static PyObject
*_wrap_ZipFSHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7816 PyObject
*resultobj
;
7817 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7818 wxFileSystem
*arg2
= 0 ;
7819 wxString
*arg3
= 0 ;
7821 bool temp3
= False
;
7822 PyObject
* obj0
= 0 ;
7823 PyObject
* obj1
= 0 ;
7824 PyObject
* obj2
= 0 ;
7826 (char *) "self",(char *) "fs",(char *) "location", NULL
7829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ZipFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7830 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxZipFSHandler
,
7831 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7832 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileSystem
,
7833 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7836 PyErr_SetString(PyExc_TypeError
,"null reference");
7840 arg3
= wxString_in_helper(obj2
);
7841 if (arg3
== NULL
) SWIG_fail
;
7845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7846 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
7848 wxPyEndAllowThreads(__tstate
);
7849 if (PyErr_Occurred()) SWIG_fail
;
7852 resultobj
= wxPyMake_wxObject(result
, 1);
7868 static PyObject
*_wrap_ZipFSHandler_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7869 PyObject
*resultobj
;
7870 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7871 wxString
*arg2
= 0 ;
7872 int arg3
= (int) 0 ;
7874 bool temp2
= False
;
7875 PyObject
* obj0
= 0 ;
7876 PyObject
* obj1
= 0 ;
7877 PyObject
* obj2
= 0 ;
7879 (char *) "self",(char *) "spec",(char *) "flags", NULL
7882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ZipFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7883 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxZipFSHandler
,
7884 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7886 arg2
= wxString_in_helper(obj1
);
7887 if (arg2
== NULL
) SWIG_fail
;
7891 arg3
= (int)SWIG_As_int(obj2
);
7892 if (PyErr_Occurred()) SWIG_fail
;
7895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7896 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
7898 wxPyEndAllowThreads(__tstate
);
7899 if (PyErr_Occurred()) SWIG_fail
;
7903 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7905 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7922 static PyObject
*_wrap_ZipFSHandler_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7923 PyObject
*resultobj
;
7924 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7926 PyObject
* obj0
= 0 ;
7928 (char *) "self", NULL
7931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ZipFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
7932 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxZipFSHandler
,
7933 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7936 result
= (arg1
)->FindNext();
7938 wxPyEndAllowThreads(__tstate
);
7939 if (PyErr_Occurred()) SWIG_fail
;
7943 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7945 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7954 static PyObject
* ZipFSHandler_swigregister(PyObject
*, PyObject
*args
) {
7956 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7957 SWIG_TypeClientData(SWIGTYPE_p_wxZipFSHandler
, obj
);
7959 return Py_BuildValue((char *)"");
7961 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7962 PyObject
*resultobj
;
7963 wxString
*arg1
= 0 ;
7966 bool temp1
= False
;
7967 PyObject
* obj0
= 0 ;
7968 PyObject
* obj1
= 0 ;
7969 PyObject
* obj2
= 0 ;
7971 (char *) "filename",(char *) "image",(char *) "type", NULL
7974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7976 arg1
= wxString_in_helper(obj0
);
7977 if (arg1
== NULL
) SWIG_fail
;
7980 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImage
,
7981 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7984 PyErr_SetString(PyExc_TypeError
,"null reference");
7987 arg3
= (long)SWIG_As_long(obj2
);
7988 if (PyErr_Occurred()) SWIG_fail
;
7990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7991 __wxMemoryFSHandler_AddFile_wxImage((wxString
const &)*arg1
,*arg2
,arg3
);
7993 wxPyEndAllowThreads(__tstate
);
7994 if (PyErr_Occurred()) SWIG_fail
;
7996 Py_INCREF(Py_None
); resultobj
= Py_None
;
8011 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8012 PyObject
*resultobj
;
8013 wxString
*arg1
= 0 ;
8014 wxBitmap
*arg2
= 0 ;
8016 bool temp1
= False
;
8017 PyObject
* obj0
= 0 ;
8018 PyObject
* obj1
= 0 ;
8019 PyObject
* obj2
= 0 ;
8021 (char *) "filename",(char *) "bitmap",(char *) "type", NULL
8024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8026 arg1
= wxString_in_helper(obj0
);
8027 if (arg1
== NULL
) SWIG_fail
;
8030 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
8031 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8034 PyErr_SetString(PyExc_TypeError
,"null reference");
8037 arg3
= (long)SWIG_As_long(obj2
);
8038 if (PyErr_Occurred()) SWIG_fail
;
8040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8041 __wxMemoryFSHandler_AddFile_wxBitmap((wxString
const &)*arg1
,(wxBitmap
const &)*arg2
,arg3
);
8043 wxPyEndAllowThreads(__tstate
);
8044 if (PyErr_Occurred()) SWIG_fail
;
8046 Py_INCREF(Py_None
); resultobj
= Py_None
;
8061 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_Data(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8062 PyObject
*resultobj
;
8063 wxString
*arg1
= 0 ;
8064 PyObject
*arg2
= (PyObject
*) 0 ;
8065 bool temp1
= False
;
8066 PyObject
* obj0
= 0 ;
8067 PyObject
* obj1
= 0 ;
8069 (char *) "filename",(char *) "data", NULL
8072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:__wxMemoryFSHandler_AddFile_Data",kwnames
,&obj0
,&obj1
)) goto fail
;
8074 arg1
= wxString_in_helper(obj0
);
8075 if (arg1
== NULL
) SWIG_fail
;
8080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8081 __wxMemoryFSHandler_AddFile_Data((wxString
const &)*arg1
,arg2
);
8083 wxPyEndAllowThreads(__tstate
);
8084 if (PyErr_Occurred()) SWIG_fail
;
8086 Py_INCREF(Py_None
); resultobj
= Py_None
;
8101 static PyObject
*_wrap_new_MemoryFSHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8102 PyObject
*resultobj
;
8103 wxMemoryFSHandler
*result
;
8108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MemoryFSHandler",kwnames
)) goto fail
;
8110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8111 result
= (wxMemoryFSHandler
*)new wxMemoryFSHandler();
8113 wxPyEndAllowThreads(__tstate
);
8114 if (PyErr_Occurred()) SWIG_fail
;
8116 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryFSHandler
, 1);
8123 static PyObject
*_wrap_MemoryFSHandler_RemoveFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8124 PyObject
*resultobj
;
8125 wxString
*arg1
= 0 ;
8126 bool temp1
= False
;
8127 PyObject
* obj0
= 0 ;
8129 (char *) "filename", NULL
8132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_RemoveFile",kwnames
,&obj0
)) goto fail
;
8134 arg1
= wxString_in_helper(obj0
);
8135 if (arg1
== NULL
) SWIG_fail
;
8139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8140 wxMemoryFSHandler::RemoveFile((wxString
const &)*arg1
);
8142 wxPyEndAllowThreads(__tstate
);
8143 if (PyErr_Occurred()) SWIG_fail
;
8145 Py_INCREF(Py_None
); resultobj
= Py_None
;
8160 static PyObject
*_wrap_MemoryFSHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8161 PyObject
*resultobj
;
8162 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
8163 wxString
*arg2
= 0 ;
8165 bool temp2
= False
;
8166 PyObject
* obj0
= 0 ;
8167 PyObject
* obj1
= 0 ;
8169 (char *) "self",(char *) "location", NULL
8172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
8173 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryFSHandler
,
8174 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8176 arg2
= wxString_in_helper(obj1
);
8177 if (arg2
== NULL
) SWIG_fail
;
8181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8182 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
8184 wxPyEndAllowThreads(__tstate
);
8185 if (PyErr_Occurred()) SWIG_fail
;
8188 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8204 static PyObject
*_wrap_MemoryFSHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8205 PyObject
*resultobj
;
8206 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
8207 wxFileSystem
*arg2
= 0 ;
8208 wxString
*arg3
= 0 ;
8210 bool temp3
= False
;
8211 PyObject
* obj0
= 0 ;
8212 PyObject
* obj1
= 0 ;
8213 PyObject
* obj2
= 0 ;
8215 (char *) "self",(char *) "fs",(char *) "location", NULL
8218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MemoryFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8219 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryFSHandler
,
8220 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8221 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileSystem
,
8222 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8225 PyErr_SetString(PyExc_TypeError
,"null reference");
8229 arg3
= wxString_in_helper(obj2
);
8230 if (arg3
== NULL
) SWIG_fail
;
8234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8235 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
8237 wxPyEndAllowThreads(__tstate
);
8238 if (PyErr_Occurred()) SWIG_fail
;
8241 resultobj
= wxPyMake_wxObject(result
, 1);
8257 static PyObject
*_wrap_MemoryFSHandler_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8258 PyObject
*resultobj
;
8259 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
8260 wxString
*arg2
= 0 ;
8261 int arg3
= (int) 0 ;
8263 bool temp2
= False
;
8264 PyObject
* obj0
= 0 ;
8265 PyObject
* obj1
= 0 ;
8266 PyObject
* obj2
= 0 ;
8268 (char *) "self",(char *) "spec",(char *) "flags", NULL
8271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MemoryFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8272 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryFSHandler
,
8273 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8275 arg2
= wxString_in_helper(obj1
);
8276 if (arg2
== NULL
) SWIG_fail
;
8280 arg3
= (int)SWIG_As_int(obj2
);
8281 if (PyErr_Occurred()) SWIG_fail
;
8284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8285 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
8287 wxPyEndAllowThreads(__tstate
);
8288 if (PyErr_Occurred()) SWIG_fail
;
8292 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8294 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8311 static PyObject
*_wrap_MemoryFSHandler_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8312 PyObject
*resultobj
;
8313 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
8315 PyObject
* obj0
= 0 ;
8317 (char *) "self", NULL
8320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
8321 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryFSHandler
,
8322 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8325 result
= (arg1
)->FindNext();
8327 wxPyEndAllowThreads(__tstate
);
8328 if (PyErr_Occurred()) SWIG_fail
;
8332 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8334 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8343 static PyObject
* MemoryFSHandler_swigregister(PyObject
*, PyObject
*args
) {
8345 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8346 SWIG_TypeClientData(SWIGTYPE_p_wxMemoryFSHandler
, obj
);
8348 return Py_BuildValue((char *)"");
8350 static PyObject
*_wrap_ImageHandler_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8351 PyObject
*resultobj
;
8352 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8354 PyObject
* obj0
= 0 ;
8356 (char *) "self", NULL
8359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetName",kwnames
,&obj0
)) goto fail
;
8360 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8361 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8364 result
= (arg1
)->GetName();
8366 wxPyEndAllowThreads(__tstate
);
8367 if (PyErr_Occurred()) SWIG_fail
;
8371 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8373 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8382 static PyObject
*_wrap_ImageHandler_GetExtension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8383 PyObject
*resultobj
;
8384 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8386 PyObject
* obj0
= 0 ;
8388 (char *) "self", NULL
8391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetExtension",kwnames
,&obj0
)) goto fail
;
8392 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8393 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8396 result
= (arg1
)->GetExtension();
8398 wxPyEndAllowThreads(__tstate
);
8399 if (PyErr_Occurred()) SWIG_fail
;
8403 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8405 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8414 static PyObject
*_wrap_ImageHandler_GetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8415 PyObject
*resultobj
;
8416 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8418 PyObject
* obj0
= 0 ;
8420 (char *) "self", NULL
8423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetType",kwnames
,&obj0
)) goto fail
;
8424 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8425 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8428 result
= (long)(arg1
)->GetType();
8430 wxPyEndAllowThreads(__tstate
);
8431 if (PyErr_Occurred()) SWIG_fail
;
8433 resultobj
= SWIG_From_long((long)result
);
8440 static PyObject
*_wrap_ImageHandler_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8441 PyObject
*resultobj
;
8442 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8444 PyObject
* obj0
= 0 ;
8446 (char *) "self", NULL
8449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetMimeType",kwnames
,&obj0
)) goto fail
;
8450 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8451 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8454 result
= (arg1
)->GetMimeType();
8456 wxPyEndAllowThreads(__tstate
);
8457 if (PyErr_Occurred()) SWIG_fail
;
8461 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8463 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8472 static PyObject
*_wrap_ImageHandler_CanRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8473 PyObject
*resultobj
;
8474 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8475 wxString
*arg2
= 0 ;
8477 bool temp2
= False
;
8478 PyObject
* obj0
= 0 ;
8479 PyObject
* obj1
= 0 ;
8481 (char *) "self",(char *) "name", NULL
8484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_CanRead",kwnames
,&obj0
,&obj1
)) goto fail
;
8485 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8486 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8488 arg2
= wxString_in_helper(obj1
);
8489 if (arg2
== NULL
) SWIG_fail
;
8493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8494 result
= (bool)(arg1
)->CanRead((wxString
const &)*arg2
);
8496 wxPyEndAllowThreads(__tstate
);
8497 if (PyErr_Occurred()) SWIG_fail
;
8500 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8516 static PyObject
*_wrap_ImageHandler_SetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8517 PyObject
*resultobj
;
8518 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8519 wxString
*arg2
= 0 ;
8520 bool temp2
= False
;
8521 PyObject
* obj0
= 0 ;
8522 PyObject
* obj1
= 0 ;
8524 (char *) "self",(char *) "name", NULL
8527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
8528 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8531 arg2
= wxString_in_helper(obj1
);
8532 if (arg2
== NULL
) SWIG_fail
;
8536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8537 (arg1
)->SetName((wxString
const &)*arg2
);
8539 wxPyEndAllowThreads(__tstate
);
8540 if (PyErr_Occurred()) SWIG_fail
;
8542 Py_INCREF(Py_None
); resultobj
= Py_None
;
8557 static PyObject
*_wrap_ImageHandler_SetExtension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8558 PyObject
*resultobj
;
8559 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8560 wxString
*arg2
= 0 ;
8561 bool temp2
= False
;
8562 PyObject
* obj0
= 0 ;
8563 PyObject
* obj1
= 0 ;
8565 (char *) "self",(char *) "extension", NULL
8568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetExtension",kwnames
,&obj0
,&obj1
)) goto fail
;
8569 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8570 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8572 arg2
= wxString_in_helper(obj1
);
8573 if (arg2
== NULL
) SWIG_fail
;
8577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8578 (arg1
)->SetExtension((wxString
const &)*arg2
);
8580 wxPyEndAllowThreads(__tstate
);
8581 if (PyErr_Occurred()) SWIG_fail
;
8583 Py_INCREF(Py_None
); resultobj
= Py_None
;
8598 static PyObject
*_wrap_ImageHandler_SetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8599 PyObject
*resultobj
;
8600 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8602 PyObject
* obj0
= 0 ;
8603 PyObject
* obj1
= 0 ;
8605 (char *) "self",(char *) "type", NULL
8608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetType",kwnames
,&obj0
,&obj1
)) goto fail
;
8609 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8611 arg2
= (long)SWIG_As_long(obj1
);
8612 if (PyErr_Occurred()) SWIG_fail
;
8614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8615 (arg1
)->SetType(arg2
);
8617 wxPyEndAllowThreads(__tstate
);
8618 if (PyErr_Occurred()) SWIG_fail
;
8620 Py_INCREF(Py_None
); resultobj
= Py_None
;
8627 static PyObject
*_wrap_ImageHandler_SetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8628 PyObject
*resultobj
;
8629 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8630 wxString
*arg2
= 0 ;
8631 bool temp2
= False
;
8632 PyObject
* obj0
= 0 ;
8633 PyObject
* obj1
= 0 ;
8635 (char *) "self",(char *) "mimetype", NULL
8638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetMimeType",kwnames
,&obj0
,&obj1
)) goto fail
;
8639 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8642 arg2
= wxString_in_helper(obj1
);
8643 if (arg2
== NULL
) SWIG_fail
;
8647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8648 (arg1
)->SetMimeType((wxString
const &)*arg2
);
8650 wxPyEndAllowThreads(__tstate
);
8651 if (PyErr_Occurred()) SWIG_fail
;
8653 Py_INCREF(Py_None
); resultobj
= Py_None
;
8668 static PyObject
* ImageHandler_swigregister(PyObject
*, PyObject
*args
) {
8670 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8671 SWIG_TypeClientData(SWIGTYPE_p_wxImageHandler
, obj
);
8673 return Py_BuildValue((char *)"");
8675 static PyObject
*_wrap_new_ImageHistogram(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8676 PyObject
*resultobj
;
8677 wxImageHistogram
*result
;
8682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ImageHistogram",kwnames
)) goto fail
;
8684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8685 result
= (wxImageHistogram
*)new wxImageHistogram();
8687 wxPyEndAllowThreads(__tstate
);
8688 if (PyErr_Occurred()) SWIG_fail
;
8690 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImageHistogram
, 1);
8697 static PyObject
*_wrap_ImageHistogram_MakeKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8698 PyObject
*resultobj
;
8699 unsigned char arg1
;
8700 unsigned char arg2
;
8701 unsigned char arg3
;
8702 unsigned long result
;
8703 PyObject
* obj0
= 0 ;
8704 PyObject
* obj1
= 0 ;
8705 PyObject
* obj2
= 0 ;
8707 (char *) "r",(char *) "g",(char *) "b", NULL
8710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageHistogram_MakeKey",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8711 arg1
= (unsigned char)SWIG_As_unsigned_SS_char(obj0
);
8712 if (PyErr_Occurred()) SWIG_fail
;
8713 arg2
= (unsigned char)SWIG_As_unsigned_SS_char(obj1
);
8714 if (PyErr_Occurred()) SWIG_fail
;
8715 arg3
= (unsigned char)SWIG_As_unsigned_SS_char(obj2
);
8716 if (PyErr_Occurred()) SWIG_fail
;
8718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8719 result
= (unsigned long)wxImageHistogram::MakeKey(arg1
,arg2
,arg3
);
8721 wxPyEndAllowThreads(__tstate
);
8722 if (PyErr_Occurred()) SWIG_fail
;
8724 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
8731 static PyObject
*_wrap_ImageHistogram_FindFirstUnusedColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8732 PyObject
*resultobj
;
8733 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
8734 unsigned char *arg2
= (unsigned char *) 0 ;
8735 unsigned char *arg3
= (unsigned char *) 0 ;
8736 unsigned char *arg4
= (unsigned char *) 0 ;
8737 unsigned char arg5
= (unsigned char) 1 ;
8738 unsigned char arg6
= (unsigned char) 0 ;
8739 unsigned char arg7
= (unsigned char) 0 ;
8741 unsigned char temp2
;
8743 unsigned char temp3
;
8745 unsigned char temp4
;
8747 PyObject
* obj0
= 0 ;
8748 PyObject
* obj1
= 0 ;
8749 PyObject
* obj2
= 0 ;
8750 PyObject
* obj3
= 0 ;
8752 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
8755 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
8756 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
8757 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
8758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:ImageHistogram_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8759 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHistogram
,
8760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8762 arg5
= (unsigned char)SWIG_As_unsigned_SS_char(obj1
);
8763 if (PyErr_Occurred()) SWIG_fail
;
8766 arg6
= (unsigned char)SWIG_As_unsigned_SS_char(obj2
);
8767 if (PyErr_Occurred()) SWIG_fail
;
8770 arg7
= (unsigned char)SWIG_As_unsigned_SS_char(obj3
);
8771 if (PyErr_Occurred()) SWIG_fail
;
8774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8775 result
= (bool)((wxImageHistogram
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
8777 wxPyEndAllowThreads(__tstate
);
8778 if (PyErr_Occurred()) SWIG_fail
;
8781 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8783 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
8784 SWIG_From_unsigned_SS_char((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_unsigned_char
, 0)));
8785 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
8786 SWIG_From_unsigned_SS_char((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, 0)));
8787 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
8788 SWIG_From_unsigned_SS_char((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, 0)));
8795 static PyObject
* ImageHistogram_swigregister(PyObject
*, PyObject
*args
) {
8797 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8798 SWIG_TypeClientData(SWIGTYPE_p_wxImageHistogram
, obj
);
8800 return Py_BuildValue((char *)"");
8802 static PyObject
*_wrap_new_Image(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8803 PyObject
*resultobj
;
8804 wxString
*arg1
= 0 ;
8805 long arg2
= (long) wxBITMAP_TYPE_ANY
;
8806 int arg3
= (int) -1 ;
8808 bool temp1
= False
;
8809 PyObject
* obj0
= 0 ;
8810 PyObject
* obj1
= 0 ;
8811 PyObject
* obj2
= 0 ;
8813 (char *) "name",(char *) "type",(char *) "index", NULL
8816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Image",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8818 arg1
= wxString_in_helper(obj0
);
8819 if (arg1
== NULL
) SWIG_fail
;
8823 arg2
= (long)SWIG_As_long(obj1
);
8824 if (PyErr_Occurred()) SWIG_fail
;
8827 arg3
= (int)SWIG_As_int(obj2
);
8828 if (PyErr_Occurred()) SWIG_fail
;
8831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8832 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,arg2
,arg3
);
8834 wxPyEndAllowThreads(__tstate
);
8835 if (PyErr_Occurred()) SWIG_fail
;
8837 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8852 static PyObject
*_wrap_delete_Image(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8853 PyObject
*resultobj
;
8854 wxImage
*arg1
= (wxImage
*) 0 ;
8855 PyObject
* obj0
= 0 ;
8857 (char *) "self", NULL
8860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Image",kwnames
,&obj0
)) goto fail
;
8861 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
8862 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8867 wxPyEndAllowThreads(__tstate
);
8868 if (PyErr_Occurred()) SWIG_fail
;
8870 Py_INCREF(Py_None
); resultobj
= Py_None
;
8877 static PyObject
*_wrap_new_ImageFromMime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8878 PyObject
*resultobj
;
8879 wxString
*arg1
= 0 ;
8880 wxString
*arg2
= 0 ;
8881 int arg3
= (int) -1 ;
8883 bool temp1
= False
;
8884 bool temp2
= False
;
8885 PyObject
* obj0
= 0 ;
8886 PyObject
* obj1
= 0 ;
8887 PyObject
* obj2
= 0 ;
8889 (char *) "name",(char *) "mimetype",(char *) "index", NULL
8892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromMime",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8894 arg1
= wxString_in_helper(obj0
);
8895 if (arg1
== NULL
) SWIG_fail
;
8899 arg2
= wxString_in_helper(obj1
);
8900 if (arg2
== NULL
) SWIG_fail
;
8904 arg3
= (int)SWIG_As_int(obj2
);
8905 if (PyErr_Occurred()) SWIG_fail
;
8908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8909 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
8911 wxPyEndAllowThreads(__tstate
);
8912 if (PyErr_Occurred()) SWIG_fail
;
8914 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8937 static PyObject
*_wrap_new_ImageFromStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8938 PyObject
*resultobj
;
8939 wxInputStream
*arg1
= 0 ;
8940 long arg2
= (long) wxBITMAP_TYPE_ANY
;
8941 int arg3
= (int) -1 ;
8943 wxPyInputStream
*temp1
;
8945 PyObject
* obj0
= 0 ;
8946 PyObject
* obj1
= 0 ;
8947 PyObject
* obj2
= 0 ;
8949 (char *) "stream",(char *) "type",(char *) "index", NULL
8952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_ImageFromStream",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8954 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
8955 arg1
= temp1
->m_wxis
;
8958 PyErr_Clear(); // clear the failure of the wxPyConvert above
8959 arg1
= wxPyCBInputStream_create(obj0
, False
);
8961 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
8968 arg2
= (long)SWIG_As_long(obj1
);
8969 if (PyErr_Occurred()) SWIG_fail
;
8972 arg3
= (int)SWIG_As_int(obj2
);
8973 if (PyErr_Occurred()) SWIG_fail
;
8976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8977 result
= (wxImage
*)new wxImage(*arg1
,arg2
,arg3
);
8979 wxPyEndAllowThreads(__tstate
);
8980 if (PyErr_Occurred()) SWIG_fail
;
8982 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8997 static PyObject
*_wrap_new_ImageFromStreamMime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8998 PyObject
*resultobj
;
8999 wxInputStream
*arg1
= 0 ;
9000 wxString
*arg2
= 0 ;
9001 int arg3
= (int) -1 ;
9003 wxPyInputStream
*temp1
;
9005 bool temp2
= False
;
9006 PyObject
* obj0
= 0 ;
9007 PyObject
* obj1
= 0 ;
9008 PyObject
* obj2
= 0 ;
9010 (char *) "stream",(char *) "mimetype",(char *) "index", NULL
9013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromStreamMime",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9015 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
9016 arg1
= temp1
->m_wxis
;
9019 PyErr_Clear(); // clear the failure of the wxPyConvert above
9020 arg1
= wxPyCBInputStream_create(obj0
, False
);
9022 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
9029 arg2
= wxString_in_helper(obj1
);
9030 if (arg2
== NULL
) SWIG_fail
;
9034 arg3
= (int)SWIG_As_int(obj2
);
9035 if (PyErr_Occurred()) SWIG_fail
;
9038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9039 result
= (wxImage
*)new wxImage(*arg1
,(wxString
const &)*arg2
,arg3
);
9041 wxPyEndAllowThreads(__tstate
);
9042 if (PyErr_Occurred()) SWIG_fail
;
9044 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
9067 static PyObject
*_wrap_new_EmptyImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9068 PyObject
*resultobj
;
9069 int arg1
= (int) 0 ;
9070 int arg2
= (int) 0 ;
9071 bool arg3
= (bool) True
;
9073 PyObject
* obj0
= 0 ;
9074 PyObject
* obj1
= 0 ;
9075 PyObject
* obj2
= 0 ;
9077 (char *) "width",(char *) "height",(char *) "clear", NULL
9080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_EmptyImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9082 arg1
= (int)SWIG_As_int(obj0
);
9083 if (PyErr_Occurred()) SWIG_fail
;
9086 arg2
= (int)SWIG_As_int(obj1
);
9087 if (PyErr_Occurred()) SWIG_fail
;
9090 arg3
= (bool)SWIG_As_bool(obj2
);
9091 if (PyErr_Occurred()) SWIG_fail
;
9094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9095 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
);
9097 wxPyEndAllowThreads(__tstate
);
9098 if (PyErr_Occurred()) SWIG_fail
;
9100 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
9107 static PyObject
*_wrap_new_ImageFromBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9108 PyObject
*resultobj
;
9109 wxBitmap
*arg1
= 0 ;
9111 PyObject
* obj0
= 0 ;
9113 (char *) "bitmap", NULL
9116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ImageFromBitmap",kwnames
,&obj0
)) goto fail
;
9117 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
9118 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9121 PyErr_SetString(PyExc_TypeError
,"null reference");
9125 if (!wxPyCheckForApp()) SWIG_fail
;
9126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9127 result
= (wxImage
*)new_wxImage((wxBitmap
const &)*arg1
);
9129 wxPyEndAllowThreads(__tstate
);
9130 if (PyErr_Occurred()) SWIG_fail
;
9132 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
9139 static PyObject
*_wrap_new_ImageFromData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9140 PyObject
*resultobj
;
9143 unsigned char *arg3
= (unsigned char *) 0 ;
9145 PyObject
* obj0
= 0 ;
9146 PyObject
* obj1
= 0 ;
9147 PyObject
* obj2
= 0 ;
9149 (char *) "width",(char *) "height",(char *) "data", NULL
9152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_ImageFromData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9153 arg1
= (int)SWIG_As_int(obj0
);
9154 if (PyErr_Occurred()) SWIG_fail
;
9155 arg2
= (int)SWIG_As_int(obj1
);
9156 if (PyErr_Occurred()) SWIG_fail
;
9157 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_unsigned_char
,
9158 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9161 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
);
9163 wxPyEndAllowThreads(__tstate
);
9164 if (PyErr_Occurred()) SWIG_fail
;
9166 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
9173 static PyObject
*_wrap_Image_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9174 PyObject
*resultobj
;
9175 wxImage
*arg1
= (wxImage
*) 0 ;
9178 PyObject
* obj0
= 0 ;
9179 PyObject
* obj1
= 0 ;
9180 PyObject
* obj2
= 0 ;
9182 (char *) "self",(char *) "width",(char *) "height", NULL
9185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9186 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9187 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9188 arg2
= (int)SWIG_As_int(obj1
);
9189 if (PyErr_Occurred()) SWIG_fail
;
9190 arg3
= (int)SWIG_As_int(obj2
);
9191 if (PyErr_Occurred()) SWIG_fail
;
9193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9194 (arg1
)->Create(arg2
,arg3
);
9196 wxPyEndAllowThreads(__tstate
);
9197 if (PyErr_Occurred()) SWIG_fail
;
9199 Py_INCREF(Py_None
); resultobj
= Py_None
;
9206 static PyObject
*_wrap_Image_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9207 PyObject
*resultobj
;
9208 wxImage
*arg1
= (wxImage
*) 0 ;
9209 PyObject
* obj0
= 0 ;
9211 (char *) "self", NULL
9214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Destroy",kwnames
,&obj0
)) goto fail
;
9215 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9216 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9221 wxPyEndAllowThreads(__tstate
);
9222 if (PyErr_Occurred()) SWIG_fail
;
9224 Py_INCREF(Py_None
); resultobj
= Py_None
;
9231 static PyObject
*_wrap_Image_Scale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9232 PyObject
*resultobj
;
9233 wxImage
*arg1
= (wxImage
*) 0 ;
9236 SwigValueWrapper
< wxImage
> result
;
9237 PyObject
* obj0
= 0 ;
9238 PyObject
* obj1
= 0 ;
9239 PyObject
* obj2
= 0 ;
9241 (char *) "self",(char *) "width",(char *) "height", NULL
9244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9247 arg2
= (int)SWIG_As_int(obj1
);
9248 if (PyErr_Occurred()) SWIG_fail
;
9249 arg3
= (int)SWIG_As_int(obj2
);
9250 if (PyErr_Occurred()) SWIG_fail
;
9252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9253 result
= (arg1
)->Scale(arg2
,arg3
);
9255 wxPyEndAllowThreads(__tstate
);
9256 if (PyErr_Occurred()) SWIG_fail
;
9259 wxImage
* resultptr
;
9260 resultptr
= new wxImage((wxImage
&) result
);
9261 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
9269 static PyObject
*_wrap_Image_ShrinkBy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9270 PyObject
*resultobj
;
9271 wxImage
*arg1
= (wxImage
*) 0 ;
9274 SwigValueWrapper
< wxImage
> result
;
9275 PyObject
* obj0
= 0 ;
9276 PyObject
* obj1
= 0 ;
9277 PyObject
* obj2
= 0 ;
9279 (char *) "self",(char *) "xFactor",(char *) "yFactor", NULL
9282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_ShrinkBy",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9283 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9284 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9285 arg2
= (int)SWIG_As_int(obj1
);
9286 if (PyErr_Occurred()) SWIG_fail
;
9287 arg3
= (int)SWIG_As_int(obj2
);
9288 if (PyErr_Occurred()) SWIG_fail
;
9290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9291 result
= ((wxImage
const *)arg1
)->ShrinkBy(arg2
,arg3
);
9293 wxPyEndAllowThreads(__tstate
);
9294 if (PyErr_Occurred()) SWIG_fail
;
9297 wxImage
* resultptr
;
9298 resultptr
= new wxImage((wxImage
&) result
);
9299 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
9307 static PyObject
*_wrap_Image_Rescale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9308 PyObject
*resultobj
;
9309 wxImage
*arg1
= (wxImage
*) 0 ;
9313 PyObject
* obj0
= 0 ;
9314 PyObject
* obj1
= 0 ;
9315 PyObject
* obj2
= 0 ;
9317 (char *) "self",(char *) "width",(char *) "height", NULL
9320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Rescale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9321 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9322 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9323 arg2
= (int)SWIG_As_int(obj1
);
9324 if (PyErr_Occurred()) SWIG_fail
;
9325 arg3
= (int)SWIG_As_int(obj2
);
9326 if (PyErr_Occurred()) SWIG_fail
;
9328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9330 wxImage
&_result_ref
= (arg1
)->Rescale(arg2
,arg3
);
9331 result
= (wxImage
*) &_result_ref
;
9334 wxPyEndAllowThreads(__tstate
);
9335 if (PyErr_Occurred()) SWIG_fail
;
9337 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 0);
9344 static PyObject
*_wrap_Image_SetRGB(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9345 PyObject
*resultobj
;
9346 wxImage
*arg1
= (wxImage
*) 0 ;
9349 unsigned char arg4
;
9350 unsigned char arg5
;
9351 unsigned char arg6
;
9352 PyObject
* obj0
= 0 ;
9353 PyObject
* obj1
= 0 ;
9354 PyObject
* obj2
= 0 ;
9355 PyObject
* obj3
= 0 ;
9356 PyObject
* obj4
= 0 ;
9357 PyObject
* obj5
= 0 ;
9359 (char *) "self",(char *) "x",(char *) "y",(char *) "r",(char *) "g",(char *) "b", NULL
9362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Image_SetRGB",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9363 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9364 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9365 arg2
= (int)SWIG_As_int(obj1
);
9366 if (PyErr_Occurred()) SWIG_fail
;
9367 arg3
= (int)SWIG_As_int(obj2
);
9368 if (PyErr_Occurred()) SWIG_fail
;
9369 arg4
= (unsigned char)SWIG_As_unsigned_SS_char(obj3
);
9370 if (PyErr_Occurred()) SWIG_fail
;
9371 arg5
= (unsigned char)SWIG_As_unsigned_SS_char(obj4
);
9372 if (PyErr_Occurred()) SWIG_fail
;
9373 arg6
= (unsigned char)SWIG_As_unsigned_SS_char(obj5
);
9374 if (PyErr_Occurred()) SWIG_fail
;
9376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9377 (arg1
)->SetRGB(arg2
,arg3
,arg4
,arg5
,arg6
);
9379 wxPyEndAllowThreads(__tstate
);
9380 if (PyErr_Occurred()) SWIG_fail
;
9382 Py_INCREF(Py_None
); resultobj
= Py_None
;
9389 static PyObject
*_wrap_Image_GetRed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9390 PyObject
*resultobj
;
9391 wxImage
*arg1
= (wxImage
*) 0 ;
9394 unsigned char result
;
9395 PyObject
* obj0
= 0 ;
9396 PyObject
* obj1
= 0 ;
9397 PyObject
* obj2
= 0 ;
9399 (char *) "self",(char *) "x",(char *) "y", NULL
9402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetRed",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9405 arg2
= (int)SWIG_As_int(obj1
);
9406 if (PyErr_Occurred()) SWIG_fail
;
9407 arg3
= (int)SWIG_As_int(obj2
);
9408 if (PyErr_Occurred()) SWIG_fail
;
9410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9411 result
= (unsigned char)(arg1
)->GetRed(arg2
,arg3
);
9413 wxPyEndAllowThreads(__tstate
);
9414 if (PyErr_Occurred()) SWIG_fail
;
9416 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)result
);
9423 static PyObject
*_wrap_Image_GetGreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9424 PyObject
*resultobj
;
9425 wxImage
*arg1
= (wxImage
*) 0 ;
9428 unsigned char result
;
9429 PyObject
* obj0
= 0 ;
9430 PyObject
* obj1
= 0 ;
9431 PyObject
* obj2
= 0 ;
9433 (char *) "self",(char *) "x",(char *) "y", NULL
9436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetGreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9437 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9438 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9439 arg2
= (int)SWIG_As_int(obj1
);
9440 if (PyErr_Occurred()) SWIG_fail
;
9441 arg3
= (int)SWIG_As_int(obj2
);
9442 if (PyErr_Occurred()) SWIG_fail
;
9444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9445 result
= (unsigned char)(arg1
)->GetGreen(arg2
,arg3
);
9447 wxPyEndAllowThreads(__tstate
);
9448 if (PyErr_Occurred()) SWIG_fail
;
9450 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)result
);
9457 static PyObject
*_wrap_Image_GetBlue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9458 PyObject
*resultobj
;
9459 wxImage
*arg1
= (wxImage
*) 0 ;
9462 unsigned char result
;
9463 PyObject
* obj0
= 0 ;
9464 PyObject
* obj1
= 0 ;
9465 PyObject
* obj2
= 0 ;
9467 (char *) "self",(char *) "x",(char *) "y", NULL
9470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetBlue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9471 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9472 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9473 arg2
= (int)SWIG_As_int(obj1
);
9474 if (PyErr_Occurred()) SWIG_fail
;
9475 arg3
= (int)SWIG_As_int(obj2
);
9476 if (PyErr_Occurred()) SWIG_fail
;
9478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9479 result
= (unsigned char)(arg1
)->GetBlue(arg2
,arg3
);
9481 wxPyEndAllowThreads(__tstate
);
9482 if (PyErr_Occurred()) SWIG_fail
;
9484 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)result
);
9491 static PyObject
*_wrap_Image_SetAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9492 PyObject
*resultobj
;
9493 wxImage
*arg1
= (wxImage
*) 0 ;
9496 unsigned char arg4
;
9497 PyObject
* obj0
= 0 ;
9498 PyObject
* obj1
= 0 ;
9499 PyObject
* obj2
= 0 ;
9500 PyObject
* obj3
= 0 ;
9502 (char *) "self",(char *) "x",(char *) "y",(char *) "alpha", NULL
9505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9506 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9507 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9508 arg2
= (int)SWIG_As_int(obj1
);
9509 if (PyErr_Occurred()) SWIG_fail
;
9510 arg3
= (int)SWIG_As_int(obj2
);
9511 if (PyErr_Occurred()) SWIG_fail
;
9512 arg4
= (unsigned char)SWIG_As_unsigned_SS_char(obj3
);
9513 if (PyErr_Occurred()) SWIG_fail
;
9515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9516 (arg1
)->SetAlpha(arg2
,arg3
,arg4
);
9518 wxPyEndAllowThreads(__tstate
);
9519 if (PyErr_Occurred()) SWIG_fail
;
9521 Py_INCREF(Py_None
); resultobj
= Py_None
;
9528 static PyObject
*_wrap_Image_GetAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9529 PyObject
*resultobj
;
9530 wxImage
*arg1
= (wxImage
*) 0 ;
9533 unsigned char result
;
9534 PyObject
* obj0
= 0 ;
9535 PyObject
* obj1
= 0 ;
9536 PyObject
* obj2
= 0 ;
9538 (char *) "self",(char *) "x",(char *) "y", NULL
9541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetAlpha",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9542 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9543 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9544 arg2
= (int)SWIG_As_int(obj1
);
9545 if (PyErr_Occurred()) SWIG_fail
;
9546 arg3
= (int)SWIG_As_int(obj2
);
9547 if (PyErr_Occurred()) SWIG_fail
;
9549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9550 result
= (unsigned char)(arg1
)->GetAlpha(arg2
,arg3
);
9552 wxPyEndAllowThreads(__tstate
);
9553 if (PyErr_Occurred()) SWIG_fail
;
9555 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)result
);
9562 static PyObject
*_wrap_Image_HasAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9563 PyObject
*resultobj
;
9564 wxImage
*arg1
= (wxImage
*) 0 ;
9566 PyObject
* obj0
= 0 ;
9568 (char *) "self", NULL
9571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HasAlpha",kwnames
,&obj0
)) goto fail
;
9572 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9573 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9576 result
= (bool)(arg1
)->HasAlpha();
9578 wxPyEndAllowThreads(__tstate
);
9579 if (PyErr_Occurred()) SWIG_fail
;
9582 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9590 static PyObject
*_wrap_Image_FindFirstUnusedColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9591 PyObject
*resultobj
;
9592 wxImage
*arg1
= (wxImage
*) 0 ;
9593 byte
*arg2
= (byte
*) 0 ;
9594 byte
*arg3
= (byte
*) 0 ;
9595 byte
*arg4
= (byte
*) 0 ;
9596 byte arg5
= (byte
) 0 ;
9597 byte arg6
= (byte
) 0 ;
9598 byte arg7
= (byte
) 0 ;
9606 PyObject
* obj0
= 0 ;
9607 PyObject
* obj1
= 0 ;
9608 PyObject
* obj2
= 0 ;
9609 PyObject
* obj3
= 0 ;
9611 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
9614 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
9615 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
9616 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
9617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Image_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9618 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9621 arg5
= (byte
)SWIG_As_unsigned_SS_char(obj1
);
9622 if (PyErr_Occurred()) SWIG_fail
;
9625 arg6
= (byte
)SWIG_As_unsigned_SS_char(obj2
);
9626 if (PyErr_Occurred()) SWIG_fail
;
9629 arg7
= (byte
)SWIG_As_unsigned_SS_char(obj3
);
9630 if (PyErr_Occurred()) SWIG_fail
;
9633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9634 result
= (bool)((wxImage
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
9636 wxPyEndAllowThreads(__tstate
);
9637 if (PyErr_Occurred()) SWIG_fail
;
9640 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9642 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
9643 SWIG_From_unsigned_SS_char((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_byte
, 0)));
9644 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
9645 SWIG_From_unsigned_SS_char((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_byte
, 0)));
9646 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
9647 SWIG_From_unsigned_SS_char((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_byte
, 0)));
9654 static PyObject
*_wrap_Image_ConvertAlphaToMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9655 PyObject
*resultobj
;
9656 wxImage
*arg1
= (wxImage
*) 0 ;
9657 byte arg2
= (byte
) 128 ;
9659 PyObject
* obj0
= 0 ;
9660 PyObject
* obj1
= 0 ;
9662 (char *) "self",(char *) "threshold", NULL
9665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_ConvertAlphaToMask",kwnames
,&obj0
,&obj1
)) goto fail
;
9666 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9669 arg2
= (byte
)SWIG_As_unsigned_SS_char(obj1
);
9670 if (PyErr_Occurred()) SWIG_fail
;
9673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9674 result
= (bool)(arg1
)->ConvertAlphaToMask(arg2
);
9676 wxPyEndAllowThreads(__tstate
);
9677 if (PyErr_Occurred()) SWIG_fail
;
9680 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9688 static PyObject
*_wrap_Image_SetMaskFromImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9689 PyObject
*resultobj
;
9690 wxImage
*arg1
= (wxImage
*) 0 ;
9696 PyObject
* obj0
= 0 ;
9697 PyObject
* obj1
= 0 ;
9698 PyObject
* obj2
= 0 ;
9699 PyObject
* obj3
= 0 ;
9700 PyObject
* obj4
= 0 ;
9702 (char *) "self",(char *) "mask",(char *) "mr",(char *) "mg",(char *) "mb", NULL
9705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Image_SetMaskFromImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
9706 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9707 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9708 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImage
,
9709 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9712 PyErr_SetString(PyExc_TypeError
,"null reference");
9715 arg3
= (byte
)SWIG_As_unsigned_SS_char(obj2
);
9716 if (PyErr_Occurred()) SWIG_fail
;
9717 arg4
= (byte
)SWIG_As_unsigned_SS_char(obj3
);
9718 if (PyErr_Occurred()) SWIG_fail
;
9719 arg5
= (byte
)SWIG_As_unsigned_SS_char(obj4
);
9720 if (PyErr_Occurred()) SWIG_fail
;
9722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9723 result
= (bool)(arg1
)->SetMaskFromImage((wxImage
const &)*arg2
,arg3
,arg4
,arg5
);
9725 wxPyEndAllowThreads(__tstate
);
9726 if (PyErr_Occurred()) SWIG_fail
;
9729 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9737 static PyObject
*_wrap_Image_CanRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9738 PyObject
*resultobj
;
9739 wxString
*arg1
= 0 ;
9741 bool temp1
= False
;
9742 PyObject
* obj0
= 0 ;
9744 (char *) "name", NULL
9747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanRead",kwnames
,&obj0
)) goto fail
;
9749 arg1
= wxString_in_helper(obj0
);
9750 if (arg1
== NULL
) SWIG_fail
;
9754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9755 result
= (bool)wxImage::CanRead((wxString
const &)*arg1
);
9757 wxPyEndAllowThreads(__tstate
);
9758 if (PyErr_Occurred()) SWIG_fail
;
9761 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9777 static PyObject
*_wrap_Image_GetImageCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9778 PyObject
*resultobj
;
9779 wxString
*arg1
= 0 ;
9780 long arg2
= (long) wxBITMAP_TYPE_ANY
;
9782 bool temp1
= False
;
9783 PyObject
* obj0
= 0 ;
9784 PyObject
* obj1
= 0 ;
9786 (char *) "name",(char *) "type", NULL
9789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_GetImageCount",kwnames
,&obj0
,&obj1
)) goto fail
;
9791 arg1
= wxString_in_helper(obj0
);
9792 if (arg1
== NULL
) SWIG_fail
;
9796 arg2
= (long)SWIG_As_long(obj1
);
9797 if (PyErr_Occurred()) SWIG_fail
;
9800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9801 result
= (int)wxImage::GetImageCount((wxString
const &)*arg1
,arg2
);
9803 wxPyEndAllowThreads(__tstate
);
9804 if (PyErr_Occurred()) SWIG_fail
;
9806 resultobj
= SWIG_From_int((int)result
);
9821 static PyObject
*_wrap_Image_LoadFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9822 PyObject
*resultobj
;
9823 wxImage
*arg1
= (wxImage
*) 0 ;
9824 wxString
*arg2
= 0 ;
9825 long arg3
= (long) wxBITMAP_TYPE_ANY
;
9826 int arg4
= (int) -1 ;
9828 bool temp2
= False
;
9829 PyObject
* obj0
= 0 ;
9830 PyObject
* obj1
= 0 ;
9831 PyObject
* obj2
= 0 ;
9832 PyObject
* obj3
= 0 ;
9834 (char *) "self",(char *) "name",(char *) "type",(char *) "index", NULL
9837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9838 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9839 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9841 arg2
= wxString_in_helper(obj1
);
9842 if (arg2
== NULL
) SWIG_fail
;
9846 arg3
= (long)SWIG_As_long(obj2
);
9847 if (PyErr_Occurred()) SWIG_fail
;
9850 arg4
= (int)SWIG_As_int(obj3
);
9851 if (PyErr_Occurred()) SWIG_fail
;
9854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9855 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
,arg4
);
9857 wxPyEndAllowThreads(__tstate
);
9858 if (PyErr_Occurred()) SWIG_fail
;
9861 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9877 static PyObject
*_wrap_Image_LoadMimeFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9878 PyObject
*resultobj
;
9879 wxImage
*arg1
= (wxImage
*) 0 ;
9880 wxString
*arg2
= 0 ;
9881 wxString
*arg3
= 0 ;
9882 int arg4
= (int) -1 ;
9884 bool temp2
= False
;
9885 bool temp3
= False
;
9886 PyObject
* obj0
= 0 ;
9887 PyObject
* obj1
= 0 ;
9888 PyObject
* obj2
= 0 ;
9889 PyObject
* obj3
= 0 ;
9891 (char *) "self",(char *) "name",(char *) "mimetype",(char *) "index", NULL
9894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9895 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9898 arg2
= wxString_in_helper(obj1
);
9899 if (arg2
== NULL
) SWIG_fail
;
9903 arg3
= wxString_in_helper(obj2
);
9904 if (arg3
== NULL
) SWIG_fail
;
9908 arg4
= (int)SWIG_As_int(obj3
);
9909 if (PyErr_Occurred()) SWIG_fail
;
9912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9913 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
9915 wxPyEndAllowThreads(__tstate
);
9916 if (PyErr_Occurred()) SWIG_fail
;
9919 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9943 static PyObject
*_wrap_Image_SaveFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9944 PyObject
*resultobj
;
9945 wxImage
*arg1
= (wxImage
*) 0 ;
9946 wxString
*arg2
= 0 ;
9949 bool temp2
= False
;
9950 PyObject
* obj0
= 0 ;
9951 PyObject
* obj1
= 0 ;
9952 PyObject
* obj2
= 0 ;
9954 (char *) "self",(char *) "name",(char *) "type", NULL
9957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9958 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9961 arg2
= wxString_in_helper(obj1
);
9962 if (arg2
== NULL
) SWIG_fail
;
9965 arg3
= (int)SWIG_As_int(obj2
);
9966 if (PyErr_Occurred()) SWIG_fail
;
9968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9969 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
);
9971 wxPyEndAllowThreads(__tstate
);
9972 if (PyErr_Occurred()) SWIG_fail
;
9975 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9991 static PyObject
*_wrap_Image_SaveMimeFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9992 PyObject
*resultobj
;
9993 wxImage
*arg1
= (wxImage
*) 0 ;
9994 wxString
*arg2
= 0 ;
9995 wxString
*arg3
= 0 ;
9997 bool temp2
= False
;
9998 bool temp3
= False
;
9999 PyObject
* obj0
= 0 ;
10000 PyObject
* obj1
= 0 ;
10001 PyObject
* obj2
= 0 ;
10002 char *kwnames
[] = {
10003 (char *) "self",(char *) "name",(char *) "mimetype", NULL
10006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveMimeFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10007 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10008 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10010 arg2
= wxString_in_helper(obj1
);
10011 if (arg2
== NULL
) SWIG_fail
;
10015 arg3
= wxString_in_helper(obj2
);
10016 if (arg3
== NULL
) SWIG_fail
;
10020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10021 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,(wxString
const &)*arg3
);
10023 wxPyEndAllowThreads(__tstate
);
10024 if (PyErr_Occurred()) SWIG_fail
;
10027 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10051 static PyObject
*_wrap_Image_CanReadStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10052 PyObject
*resultobj
;
10053 wxInputStream
*arg1
= 0 ;
10055 wxPyInputStream
*temp1
;
10057 PyObject
* obj0
= 0 ;
10058 char *kwnames
[] = {
10059 (char *) "stream", NULL
10062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanReadStream",kwnames
,&obj0
)) goto fail
;
10064 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
10065 arg1
= temp1
->m_wxis
;
10068 PyErr_Clear(); // clear the failure of the wxPyConvert above
10069 arg1
= wxPyCBInputStream_create(obj0
, False
);
10070 if (arg1
== NULL
) {
10071 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
10078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10079 result
= (bool)wxImage::CanRead(*arg1
);
10081 wxPyEndAllowThreads(__tstate
);
10082 if (PyErr_Occurred()) SWIG_fail
;
10085 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10101 static PyObject
*_wrap_Image_LoadStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10102 PyObject
*resultobj
;
10103 wxImage
*arg1
= (wxImage
*) 0 ;
10104 wxInputStream
*arg2
= 0 ;
10105 long arg3
= (long) wxBITMAP_TYPE_ANY
;
10106 int arg4
= (int) -1 ;
10108 wxPyInputStream
*temp2
;
10110 PyObject
* obj0
= 0 ;
10111 PyObject
* obj1
= 0 ;
10112 PyObject
* obj2
= 0 ;
10113 PyObject
* obj3
= 0 ;
10114 char *kwnames
[] = {
10115 (char *) "self",(char *) "stream",(char *) "type",(char *) "index", NULL
10118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10119 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10122 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
10123 arg2
= temp2
->m_wxis
;
10126 PyErr_Clear(); // clear the failure of the wxPyConvert above
10127 arg2
= wxPyCBInputStream_create(obj1
, False
);
10128 if (arg2
== NULL
) {
10129 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
10136 arg3
= (long)SWIG_As_long(obj2
);
10137 if (PyErr_Occurred()) SWIG_fail
;
10140 arg4
= (int)SWIG_As_int(obj3
);
10141 if (PyErr_Occurred()) SWIG_fail
;
10144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10145 result
= (bool)(arg1
)->LoadFile(*arg2
,arg3
,arg4
);
10147 wxPyEndAllowThreads(__tstate
);
10148 if (PyErr_Occurred()) SWIG_fail
;
10151 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10167 static PyObject
*_wrap_Image_LoadMimeStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10168 PyObject
*resultobj
;
10169 wxImage
*arg1
= (wxImage
*) 0 ;
10170 wxInputStream
*arg2
= 0 ;
10171 wxString
*arg3
= 0 ;
10172 int arg4
= (int) -1 ;
10174 wxPyInputStream
*temp2
;
10176 bool temp3
= False
;
10177 PyObject
* obj0
= 0 ;
10178 PyObject
* obj1
= 0 ;
10179 PyObject
* obj2
= 0 ;
10180 PyObject
* obj3
= 0 ;
10181 char *kwnames
[] = {
10182 (char *) "self",(char *) "stream",(char *) "mimetype",(char *) "index", NULL
10185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10186 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10187 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10189 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
10190 arg2
= temp2
->m_wxis
;
10193 PyErr_Clear(); // clear the failure of the wxPyConvert above
10194 arg2
= wxPyCBInputStream_create(obj1
, False
);
10195 if (arg2
== NULL
) {
10196 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
10203 arg3
= wxString_in_helper(obj2
);
10204 if (arg3
== NULL
) SWIG_fail
;
10208 arg4
= (int)SWIG_As_int(obj3
);
10209 if (PyErr_Occurred()) SWIG_fail
;
10212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10213 result
= (bool)(arg1
)->LoadFile(*arg2
,(wxString
const &)*arg3
,arg4
);
10215 wxPyEndAllowThreads(__tstate
);
10216 if (PyErr_Occurred()) SWIG_fail
;
10219 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10243 static PyObject
*_wrap_Image_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10244 PyObject
*resultobj
;
10245 wxImage
*arg1
= (wxImage
*) 0 ;
10247 PyObject
* obj0
= 0 ;
10248 char *kwnames
[] = {
10249 (char *) "self", NULL
10252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Ok",kwnames
,&obj0
)) goto fail
;
10253 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10254 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10257 result
= (bool)(arg1
)->Ok();
10259 wxPyEndAllowThreads(__tstate
);
10260 if (PyErr_Occurred()) SWIG_fail
;
10263 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10271 static PyObject
*_wrap_Image_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10272 PyObject
*resultobj
;
10273 wxImage
*arg1
= (wxImage
*) 0 ;
10275 PyObject
* obj0
= 0 ;
10276 char *kwnames
[] = {
10277 (char *) "self", NULL
10280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetWidth",kwnames
,&obj0
)) goto fail
;
10281 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10282 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10285 result
= (int)(arg1
)->GetWidth();
10287 wxPyEndAllowThreads(__tstate
);
10288 if (PyErr_Occurred()) SWIG_fail
;
10290 resultobj
= SWIG_From_int((int)result
);
10297 static PyObject
*_wrap_Image_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10298 PyObject
*resultobj
;
10299 wxImage
*arg1
= (wxImage
*) 0 ;
10301 PyObject
* obj0
= 0 ;
10302 char *kwnames
[] = {
10303 (char *) "self", NULL
10306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetHeight",kwnames
,&obj0
)) goto fail
;
10307 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10308 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10311 result
= (int)(arg1
)->GetHeight();
10313 wxPyEndAllowThreads(__tstate
);
10314 if (PyErr_Occurred()) SWIG_fail
;
10316 resultobj
= SWIG_From_int((int)result
);
10323 static PyObject
*_wrap_Image_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10324 PyObject
*resultobj
;
10325 wxImage
*arg1
= (wxImage
*) 0 ;
10327 PyObject
* obj0
= 0 ;
10328 char *kwnames
[] = {
10329 (char *) "self", NULL
10332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetSize",kwnames
,&obj0
)) goto fail
;
10333 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10334 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10337 result
= wxImage_GetSize(arg1
);
10339 wxPyEndAllowThreads(__tstate
);
10340 if (PyErr_Occurred()) SWIG_fail
;
10343 wxSize
* resultptr
;
10344 resultptr
= new wxSize((wxSize
&) result
);
10345 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
10353 static PyObject
*_wrap_Image_GetSubImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10354 PyObject
*resultobj
;
10355 wxImage
*arg1
= (wxImage
*) 0 ;
10357 SwigValueWrapper
< wxImage
> result
;
10359 PyObject
* obj0
= 0 ;
10360 PyObject
* obj1
= 0 ;
10361 char *kwnames
[] = {
10362 (char *) "self",(char *) "rect", NULL
10365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetSubImage",kwnames
,&obj0
,&obj1
)) goto fail
;
10366 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10367 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10370 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10374 result
= (arg1
)->GetSubImage((wxRect
const &)*arg2
);
10376 wxPyEndAllowThreads(__tstate
);
10377 if (PyErr_Occurred()) SWIG_fail
;
10380 wxImage
* resultptr
;
10381 resultptr
= new wxImage((wxImage
&) result
);
10382 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10390 static PyObject
*_wrap_Image_Copy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10391 PyObject
*resultobj
;
10392 wxImage
*arg1
= (wxImage
*) 0 ;
10393 SwigValueWrapper
< wxImage
> result
;
10394 PyObject
* obj0
= 0 ;
10395 char *kwnames
[] = {
10396 (char *) "self", NULL
10399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Copy",kwnames
,&obj0
)) goto fail
;
10400 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10404 result
= (arg1
)->Copy();
10406 wxPyEndAllowThreads(__tstate
);
10407 if (PyErr_Occurred()) SWIG_fail
;
10410 wxImage
* resultptr
;
10411 resultptr
= new wxImage((wxImage
&) result
);
10412 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10420 static PyObject
*_wrap_Image_Paste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10421 PyObject
*resultobj
;
10422 wxImage
*arg1
= (wxImage
*) 0 ;
10423 wxImage
*arg2
= 0 ;
10426 PyObject
* obj0
= 0 ;
10427 PyObject
* obj1
= 0 ;
10428 PyObject
* obj2
= 0 ;
10429 PyObject
* obj3
= 0 ;
10430 char *kwnames
[] = {
10431 (char *) "self",(char *) "image",(char *) "x",(char *) "y", NULL
10434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_Paste",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10435 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10436 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10437 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImage
,
10438 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10440 if (arg2
== NULL
) {
10441 PyErr_SetString(PyExc_TypeError
,"null reference");
10444 arg3
= (int)SWIG_As_int(obj2
);
10445 if (PyErr_Occurred()) SWIG_fail
;
10446 arg4
= (int)SWIG_As_int(obj3
);
10447 if (PyErr_Occurred()) SWIG_fail
;
10449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10450 (arg1
)->Paste((wxImage
const &)*arg2
,arg3
,arg4
);
10452 wxPyEndAllowThreads(__tstate
);
10453 if (PyErr_Occurred()) SWIG_fail
;
10455 Py_INCREF(Py_None
); resultobj
= Py_None
;
10462 static PyObject
*_wrap_Image_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10463 PyObject
*resultobj
;
10464 wxImage
*arg1
= (wxImage
*) 0 ;
10466 PyObject
* obj0
= 0 ;
10467 char *kwnames
[] = {
10468 (char *) "self", NULL
10471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetData",kwnames
,&obj0
)) goto fail
;
10472 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10473 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10476 result
= (PyObject
*)wxImage_GetData(arg1
);
10478 wxPyEndAllowThreads(__tstate
);
10479 if (PyErr_Occurred()) SWIG_fail
;
10481 resultobj
= result
;
10488 static PyObject
*_wrap_Image_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10489 PyObject
*resultobj
;
10490 wxImage
*arg1
= (wxImage
*) 0 ;
10491 PyObject
*arg2
= (PyObject
*) 0 ;
10492 PyObject
* obj0
= 0 ;
10493 PyObject
* obj1
= 0 ;
10494 char *kwnames
[] = {
10495 (char *) "self",(char *) "data", NULL
10498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
10499 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10500 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10504 wxImage_SetData(arg1
,arg2
);
10506 wxPyEndAllowThreads(__tstate
);
10507 if (PyErr_Occurred()) SWIG_fail
;
10509 Py_INCREF(Py_None
); resultobj
= Py_None
;
10516 static PyObject
*_wrap_Image_GetDataBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10517 PyObject
*resultobj
;
10518 wxImage
*arg1
= (wxImage
*) 0 ;
10520 PyObject
* obj0
= 0 ;
10521 char *kwnames
[] = {
10522 (char *) "self", NULL
10525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetDataBuffer",kwnames
,&obj0
)) goto fail
;
10526 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10527 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10530 result
= (PyObject
*)wxImage_GetDataBuffer(arg1
);
10532 wxPyEndAllowThreads(__tstate
);
10533 if (PyErr_Occurred()) SWIG_fail
;
10535 resultobj
= result
;
10542 static PyObject
*_wrap_Image_SetDataBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10543 PyObject
*resultobj
;
10544 wxImage
*arg1
= (wxImage
*) 0 ;
10545 PyObject
*arg2
= (PyObject
*) 0 ;
10546 PyObject
* obj0
= 0 ;
10547 PyObject
* obj1
= 0 ;
10548 char *kwnames
[] = {
10549 (char *) "self",(char *) "data", NULL
10552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetDataBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
10553 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10554 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10558 wxImage_SetDataBuffer(arg1
,arg2
);
10560 wxPyEndAllowThreads(__tstate
);
10561 if (PyErr_Occurred()) SWIG_fail
;
10563 Py_INCREF(Py_None
); resultobj
= Py_None
;
10570 static PyObject
*_wrap_Image_GetAlphaData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10571 PyObject
*resultobj
;
10572 wxImage
*arg1
= (wxImage
*) 0 ;
10574 PyObject
* obj0
= 0 ;
10575 char *kwnames
[] = {
10576 (char *) "self", NULL
10579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaData",kwnames
,&obj0
)) goto fail
;
10580 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10581 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10584 result
= (PyObject
*)wxImage_GetAlphaData(arg1
);
10586 wxPyEndAllowThreads(__tstate
);
10587 if (PyErr_Occurred()) SWIG_fail
;
10589 resultobj
= result
;
10596 static PyObject
*_wrap_Image_SetAlphaData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10597 PyObject
*resultobj
;
10598 wxImage
*arg1
= (wxImage
*) 0 ;
10599 PyObject
*arg2
= (PyObject
*) 0 ;
10600 PyObject
* obj0
= 0 ;
10601 PyObject
* obj1
= 0 ;
10602 char *kwnames
[] = {
10603 (char *) "self",(char *) "data", NULL
10606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaData",kwnames
,&obj0
,&obj1
)) goto fail
;
10607 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10608 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10612 wxImage_SetAlphaData(arg1
,arg2
);
10614 wxPyEndAllowThreads(__tstate
);
10615 if (PyErr_Occurred()) SWIG_fail
;
10617 Py_INCREF(Py_None
); resultobj
= Py_None
;
10624 static PyObject
*_wrap_Image_GetAlphaBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10625 PyObject
*resultobj
;
10626 wxImage
*arg1
= (wxImage
*) 0 ;
10628 PyObject
* obj0
= 0 ;
10629 char *kwnames
[] = {
10630 (char *) "self", NULL
10633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaBuffer",kwnames
,&obj0
)) goto fail
;
10634 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10635 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10638 result
= (PyObject
*)wxImage_GetAlphaBuffer(arg1
);
10640 wxPyEndAllowThreads(__tstate
);
10641 if (PyErr_Occurred()) SWIG_fail
;
10643 resultobj
= result
;
10650 static PyObject
*_wrap_Image_SetAlphaBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10651 PyObject
*resultobj
;
10652 wxImage
*arg1
= (wxImage
*) 0 ;
10653 PyObject
*arg2
= (PyObject
*) 0 ;
10654 PyObject
* obj0
= 0 ;
10655 PyObject
* obj1
= 0 ;
10656 char *kwnames
[] = {
10657 (char *) "self",(char *) "data", NULL
10660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
10661 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10662 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10666 wxImage_SetAlphaBuffer(arg1
,arg2
);
10668 wxPyEndAllowThreads(__tstate
);
10669 if (PyErr_Occurred()) SWIG_fail
;
10671 Py_INCREF(Py_None
); resultobj
= Py_None
;
10678 static PyObject
*_wrap_Image_SetMaskColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10679 PyObject
*resultobj
;
10680 wxImage
*arg1
= (wxImage
*) 0 ;
10681 unsigned char arg2
;
10682 unsigned char arg3
;
10683 unsigned char arg4
;
10684 PyObject
* obj0
= 0 ;
10685 PyObject
* obj1
= 0 ;
10686 PyObject
* obj2
= 0 ;
10687 PyObject
* obj3
= 0 ;
10688 char *kwnames
[] = {
10689 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
10692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetMaskColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10693 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10694 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10695 arg2
= (unsigned char)SWIG_As_unsigned_SS_char(obj1
);
10696 if (PyErr_Occurred()) SWIG_fail
;
10697 arg3
= (unsigned char)SWIG_As_unsigned_SS_char(obj2
);
10698 if (PyErr_Occurred()) SWIG_fail
;
10699 arg4
= (unsigned char)SWIG_As_unsigned_SS_char(obj3
);
10700 if (PyErr_Occurred()) SWIG_fail
;
10702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10703 (arg1
)->SetMaskColour(arg2
,arg3
,arg4
);
10705 wxPyEndAllowThreads(__tstate
);
10706 if (PyErr_Occurred()) SWIG_fail
;
10708 Py_INCREF(Py_None
); resultobj
= Py_None
;
10715 static PyObject
*_wrap_Image_GetMaskRed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10716 PyObject
*resultobj
;
10717 wxImage
*arg1
= (wxImage
*) 0 ;
10718 unsigned char result
;
10719 PyObject
* obj0
= 0 ;
10720 char *kwnames
[] = {
10721 (char *) "self", NULL
10724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskRed",kwnames
,&obj0
)) goto fail
;
10725 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10726 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10729 result
= (unsigned char)(arg1
)->GetMaskRed();
10731 wxPyEndAllowThreads(__tstate
);
10732 if (PyErr_Occurred()) SWIG_fail
;
10734 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)result
);
10741 static PyObject
*_wrap_Image_GetMaskGreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10742 PyObject
*resultobj
;
10743 wxImage
*arg1
= (wxImage
*) 0 ;
10744 unsigned char result
;
10745 PyObject
* obj0
= 0 ;
10746 char *kwnames
[] = {
10747 (char *) "self", NULL
10750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskGreen",kwnames
,&obj0
)) goto fail
;
10751 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10752 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10755 result
= (unsigned char)(arg1
)->GetMaskGreen();
10757 wxPyEndAllowThreads(__tstate
);
10758 if (PyErr_Occurred()) SWIG_fail
;
10760 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)result
);
10767 static PyObject
*_wrap_Image_GetMaskBlue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10768 PyObject
*resultobj
;
10769 wxImage
*arg1
= (wxImage
*) 0 ;
10770 unsigned char result
;
10771 PyObject
* obj0
= 0 ;
10772 char *kwnames
[] = {
10773 (char *) "self", NULL
10776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskBlue",kwnames
,&obj0
)) goto fail
;
10777 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10778 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10781 result
= (unsigned char)(arg1
)->GetMaskBlue();
10783 wxPyEndAllowThreads(__tstate
);
10784 if (PyErr_Occurred()) SWIG_fail
;
10786 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)result
);
10793 static PyObject
*_wrap_Image_SetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10794 PyObject
*resultobj
;
10795 wxImage
*arg1
= (wxImage
*) 0 ;
10796 bool arg2
= (bool) True
;
10797 PyObject
* obj0
= 0 ;
10798 PyObject
* obj1
= 0 ;
10799 char *kwnames
[] = {
10800 (char *) "self",(char *) "mask", NULL
10803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
10804 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10807 arg2
= (bool)SWIG_As_bool(obj1
);
10808 if (PyErr_Occurred()) SWIG_fail
;
10811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10812 (arg1
)->SetMask(arg2
);
10814 wxPyEndAllowThreads(__tstate
);
10815 if (PyErr_Occurred()) SWIG_fail
;
10817 Py_INCREF(Py_None
); resultobj
= Py_None
;
10824 static PyObject
*_wrap_Image_HasMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10825 PyObject
*resultobj
;
10826 wxImage
*arg1
= (wxImage
*) 0 ;
10828 PyObject
* obj0
= 0 ;
10829 char *kwnames
[] = {
10830 (char *) "self", NULL
10833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HasMask",kwnames
,&obj0
)) goto fail
;
10834 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10835 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10838 result
= (bool)(arg1
)->HasMask();
10840 wxPyEndAllowThreads(__tstate
);
10841 if (PyErr_Occurred()) SWIG_fail
;
10844 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10852 static PyObject
*_wrap_Image_Rotate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10853 PyObject
*resultobj
;
10854 wxImage
*arg1
= (wxImage
*) 0 ;
10856 wxPoint
*arg3
= 0 ;
10857 bool arg4
= (bool) True
;
10858 wxPoint
*arg5
= (wxPoint
*) NULL
;
10859 SwigValueWrapper
< wxImage
> result
;
10861 PyObject
* obj0
= 0 ;
10862 PyObject
* obj1
= 0 ;
10863 PyObject
* obj2
= 0 ;
10864 PyObject
* obj3
= 0 ;
10865 PyObject
* obj4
= 0 ;
10866 char *kwnames
[] = {
10867 (char *) "self",(char *) "angle",(char *) "centre_of_rotation",(char *) "interpolating",(char *) "offset_after_rotation", NULL
10870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Image_Rotate",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10871 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10872 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10873 arg2
= (double)SWIG_As_double(obj1
);
10874 if (PyErr_Occurred()) SWIG_fail
;
10877 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10880 arg4
= (bool)SWIG_As_bool(obj3
);
10881 if (PyErr_Occurred()) SWIG_fail
;
10884 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxPoint
,
10885 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10889 result
= ((wxImage
const *)arg1
)->Rotate(arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
10891 wxPyEndAllowThreads(__tstate
);
10892 if (PyErr_Occurred()) SWIG_fail
;
10895 wxImage
* resultptr
;
10896 resultptr
= new wxImage((wxImage
&) result
);
10897 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10905 static PyObject
*_wrap_Image_Rotate90(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10906 PyObject
*resultobj
;
10907 wxImage
*arg1
= (wxImage
*) 0 ;
10908 bool arg2
= (bool) True
;
10909 SwigValueWrapper
< wxImage
> result
;
10910 PyObject
* obj0
= 0 ;
10911 PyObject
* obj1
= 0 ;
10912 char *kwnames
[] = {
10913 (char *) "self",(char *) "clockwise", NULL
10916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Rotate90",kwnames
,&obj0
,&obj1
)) goto fail
;
10917 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10918 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10920 arg2
= (bool)SWIG_As_bool(obj1
);
10921 if (PyErr_Occurred()) SWIG_fail
;
10924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10925 result
= (arg1
)->Rotate90(arg2
);
10927 wxPyEndAllowThreads(__tstate
);
10928 if (PyErr_Occurred()) SWIG_fail
;
10931 wxImage
* resultptr
;
10932 resultptr
= new wxImage((wxImage
&) result
);
10933 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10941 static PyObject
*_wrap_Image_Mirror(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10942 PyObject
*resultobj
;
10943 wxImage
*arg1
= (wxImage
*) 0 ;
10944 bool arg2
= (bool) True
;
10945 SwigValueWrapper
< wxImage
> result
;
10946 PyObject
* obj0
= 0 ;
10947 PyObject
* obj1
= 0 ;
10948 char *kwnames
[] = {
10949 (char *) "self",(char *) "horizontally", NULL
10952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Mirror",kwnames
,&obj0
,&obj1
)) goto fail
;
10953 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10954 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10956 arg2
= (bool)SWIG_As_bool(obj1
);
10957 if (PyErr_Occurred()) SWIG_fail
;
10960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10961 result
= (arg1
)->Mirror(arg2
);
10963 wxPyEndAllowThreads(__tstate
);
10964 if (PyErr_Occurred()) SWIG_fail
;
10967 wxImage
* resultptr
;
10968 resultptr
= new wxImage((wxImage
&) result
);
10969 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10977 static PyObject
*_wrap_Image_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10978 PyObject
*resultobj
;
10979 wxImage
*arg1
= (wxImage
*) 0 ;
10980 unsigned char arg2
;
10981 unsigned char arg3
;
10982 unsigned char arg4
;
10983 unsigned char arg5
;
10984 unsigned char arg6
;
10985 unsigned char arg7
;
10986 PyObject
* obj0
= 0 ;
10987 PyObject
* obj1
= 0 ;
10988 PyObject
* obj2
= 0 ;
10989 PyObject
* obj3
= 0 ;
10990 PyObject
* obj4
= 0 ;
10991 PyObject
* obj5
= 0 ;
10992 PyObject
* obj6
= 0 ;
10993 char *kwnames
[] = {
10994 (char *) "self",(char *) "r1",(char *) "g1",(char *) "b1",(char *) "r2",(char *) "g2",(char *) "b2", NULL
10997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:Image_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10998 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10999 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11000 arg2
= (unsigned char)SWIG_As_unsigned_SS_char(obj1
);
11001 if (PyErr_Occurred()) SWIG_fail
;
11002 arg3
= (unsigned char)SWIG_As_unsigned_SS_char(obj2
);
11003 if (PyErr_Occurred()) SWIG_fail
;
11004 arg4
= (unsigned char)SWIG_As_unsigned_SS_char(obj3
);
11005 if (PyErr_Occurred()) SWIG_fail
;
11006 arg5
= (unsigned char)SWIG_As_unsigned_SS_char(obj4
);
11007 if (PyErr_Occurred()) SWIG_fail
;
11008 arg6
= (unsigned char)SWIG_As_unsigned_SS_char(obj5
);
11009 if (PyErr_Occurred()) SWIG_fail
;
11010 arg7
= (unsigned char)SWIG_As_unsigned_SS_char(obj6
);
11011 if (PyErr_Occurred()) SWIG_fail
;
11013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11014 (arg1
)->Replace(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
11016 wxPyEndAllowThreads(__tstate
);
11017 if (PyErr_Occurred()) SWIG_fail
;
11019 Py_INCREF(Py_None
); resultobj
= Py_None
;
11026 static PyObject
*_wrap_Image_ConvertToMono(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11027 PyObject
*resultobj
;
11028 wxImage
*arg1
= (wxImage
*) 0 ;
11029 unsigned char arg2
;
11030 unsigned char arg3
;
11031 unsigned char arg4
;
11032 SwigValueWrapper
< wxImage
> result
;
11033 PyObject
* obj0
= 0 ;
11034 PyObject
* obj1
= 0 ;
11035 PyObject
* obj2
= 0 ;
11036 PyObject
* obj3
= 0 ;
11037 char *kwnames
[] = {
11038 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
11041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMono",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11044 arg2
= (unsigned char)SWIG_As_unsigned_SS_char(obj1
);
11045 if (PyErr_Occurred()) SWIG_fail
;
11046 arg3
= (unsigned char)SWIG_As_unsigned_SS_char(obj2
);
11047 if (PyErr_Occurred()) SWIG_fail
;
11048 arg4
= (unsigned char)SWIG_As_unsigned_SS_char(obj3
);
11049 if (PyErr_Occurred()) SWIG_fail
;
11051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11052 result
= ((wxImage
const *)arg1
)->ConvertToMono(arg2
,arg3
,arg4
);
11054 wxPyEndAllowThreads(__tstate
);
11055 if (PyErr_Occurred()) SWIG_fail
;
11058 wxImage
* resultptr
;
11059 resultptr
= new wxImage((wxImage
&) result
);
11060 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
11068 static PyObject
*_wrap_Image_SetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11069 PyObject
*resultobj
;
11070 wxImage
*arg1
= (wxImage
*) 0 ;
11071 wxString
*arg2
= 0 ;
11072 wxString
*arg3
= 0 ;
11073 bool temp2
= False
;
11074 bool temp3
= False
;
11075 PyObject
* obj0
= 0 ;
11076 PyObject
* obj1
= 0 ;
11077 PyObject
* obj2
= 0 ;
11078 char *kwnames
[] = {
11079 (char *) "self",(char *) "name",(char *) "value", NULL
11082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOption",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11083 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11084 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11086 arg2
= wxString_in_helper(obj1
);
11087 if (arg2
== NULL
) SWIG_fail
;
11091 arg3
= wxString_in_helper(obj2
);
11092 if (arg3
== NULL
) SWIG_fail
;
11096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11097 (arg1
)->SetOption((wxString
const &)*arg2
,(wxString
const &)*arg3
);
11099 wxPyEndAllowThreads(__tstate
);
11100 if (PyErr_Occurred()) SWIG_fail
;
11102 Py_INCREF(Py_None
); resultobj
= Py_None
;
11125 static PyObject
*_wrap_Image_SetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11126 PyObject
*resultobj
;
11127 wxImage
*arg1
= (wxImage
*) 0 ;
11128 wxString
*arg2
= 0 ;
11130 bool temp2
= False
;
11131 PyObject
* obj0
= 0 ;
11132 PyObject
* obj1
= 0 ;
11133 PyObject
* obj2
= 0 ;
11134 char *kwnames
[] = {
11135 (char *) "self",(char *) "name",(char *) "value", NULL
11138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOptionInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11139 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11140 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11142 arg2
= wxString_in_helper(obj1
);
11143 if (arg2
== NULL
) SWIG_fail
;
11146 arg3
= (int)SWIG_As_int(obj2
);
11147 if (PyErr_Occurred()) SWIG_fail
;
11149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11150 (arg1
)->SetOption((wxString
const &)*arg2
,arg3
);
11152 wxPyEndAllowThreads(__tstate
);
11153 if (PyErr_Occurred()) SWIG_fail
;
11155 Py_INCREF(Py_None
); resultobj
= Py_None
;
11170 static PyObject
*_wrap_Image_GetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11171 PyObject
*resultobj
;
11172 wxImage
*arg1
= (wxImage
*) 0 ;
11173 wxString
*arg2
= 0 ;
11175 bool temp2
= False
;
11176 PyObject
* obj0
= 0 ;
11177 PyObject
* obj1
= 0 ;
11178 char *kwnames
[] = {
11179 (char *) "self",(char *) "name", NULL
11182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOption",kwnames
,&obj0
,&obj1
)) goto fail
;
11183 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11184 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11186 arg2
= wxString_in_helper(obj1
);
11187 if (arg2
== NULL
) SWIG_fail
;
11191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11192 result
= ((wxImage
const *)arg1
)->GetOption((wxString
const &)*arg2
);
11194 wxPyEndAllowThreads(__tstate
);
11195 if (PyErr_Occurred()) SWIG_fail
;
11199 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11201 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11218 static PyObject
*_wrap_Image_GetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11219 PyObject
*resultobj
;
11220 wxImage
*arg1
= (wxImage
*) 0 ;
11221 wxString
*arg2
= 0 ;
11223 bool temp2
= False
;
11224 PyObject
* obj0
= 0 ;
11225 PyObject
* obj1
= 0 ;
11226 char *kwnames
[] = {
11227 (char *) "self",(char *) "name", NULL
11230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOptionInt",kwnames
,&obj0
,&obj1
)) goto fail
;
11231 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11232 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11234 arg2
= wxString_in_helper(obj1
);
11235 if (arg2
== NULL
) SWIG_fail
;
11239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11240 result
= (int)((wxImage
const *)arg1
)->GetOptionInt((wxString
const &)*arg2
);
11242 wxPyEndAllowThreads(__tstate
);
11243 if (PyErr_Occurred()) SWIG_fail
;
11245 resultobj
= SWIG_From_int((int)result
);
11260 static PyObject
*_wrap_Image_HasOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11261 PyObject
*resultobj
;
11262 wxImage
*arg1
= (wxImage
*) 0 ;
11263 wxString
*arg2
= 0 ;
11265 bool temp2
= False
;
11266 PyObject
* obj0
= 0 ;
11267 PyObject
* obj1
= 0 ;
11268 char *kwnames
[] = {
11269 (char *) "self",(char *) "name", NULL
11272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_HasOption",kwnames
,&obj0
,&obj1
)) goto fail
;
11273 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11276 arg2
= wxString_in_helper(obj1
);
11277 if (arg2
== NULL
) SWIG_fail
;
11281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11282 result
= (bool)((wxImage
const *)arg1
)->HasOption((wxString
const &)*arg2
);
11284 wxPyEndAllowThreads(__tstate
);
11285 if (PyErr_Occurred()) SWIG_fail
;
11288 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11304 static PyObject
*_wrap_Image_CountColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11305 PyObject
*resultobj
;
11306 wxImage
*arg1
= (wxImage
*) 0 ;
11307 unsigned long arg2
= (unsigned long) (unsigned long) -1 ;
11308 unsigned long result
;
11309 PyObject
* obj0
= 0 ;
11310 PyObject
* obj1
= 0 ;
11311 char *kwnames
[] = {
11312 (char *) "self",(char *) "stopafter", NULL
11315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_CountColours",kwnames
,&obj0
,&obj1
)) goto fail
;
11316 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11317 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11319 arg2
= (unsigned long)SWIG_As_unsigned_SS_long(obj1
);
11320 if (PyErr_Occurred()) SWIG_fail
;
11323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11324 result
= (unsigned long)(arg1
)->CountColours(arg2
);
11326 wxPyEndAllowThreads(__tstate
);
11327 if (PyErr_Occurred()) SWIG_fail
;
11329 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
11336 static PyObject
*_wrap_Image_ComputeHistogram(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11337 PyObject
*resultobj
;
11338 wxImage
*arg1
= (wxImage
*) 0 ;
11339 wxImageHistogram
*arg2
= 0 ;
11340 unsigned long result
;
11341 PyObject
* obj0
= 0 ;
11342 PyObject
* obj1
= 0 ;
11343 char *kwnames
[] = {
11344 (char *) "self",(char *) "h", NULL
11347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_ComputeHistogram",kwnames
,&obj0
,&obj1
)) goto fail
;
11348 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11350 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageHistogram
,
11351 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11353 if (arg2
== NULL
) {
11354 PyErr_SetString(PyExc_TypeError
,"null reference");
11358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11359 result
= (unsigned long)(arg1
)->ComputeHistogram(*arg2
);
11361 wxPyEndAllowThreads(__tstate
);
11362 if (PyErr_Occurred()) SWIG_fail
;
11364 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
11371 static PyObject
*_wrap_Image_AddHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11372 PyObject
*resultobj
;
11373 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
11374 PyObject
* obj0
= 0 ;
11375 char *kwnames
[] = {
11376 (char *) "handler", NULL
11379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_AddHandler",kwnames
,&obj0
)) goto fail
;
11380 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
11381 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11384 wxImage::AddHandler(arg1
);
11386 wxPyEndAllowThreads(__tstate
);
11387 if (PyErr_Occurred()) SWIG_fail
;
11389 Py_INCREF(Py_None
); resultobj
= Py_None
;
11396 static PyObject
*_wrap_Image_InsertHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11397 PyObject
*resultobj
;
11398 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
11399 PyObject
* obj0
= 0 ;
11400 char *kwnames
[] = {
11401 (char *) "handler", NULL
11404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_InsertHandler",kwnames
,&obj0
)) goto fail
;
11405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
11406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11409 wxImage::InsertHandler(arg1
);
11411 wxPyEndAllowThreads(__tstate
);
11412 if (PyErr_Occurred()) SWIG_fail
;
11414 Py_INCREF(Py_None
); resultobj
= Py_None
;
11421 static PyObject
*_wrap_Image_RemoveHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11422 PyObject
*resultobj
;
11423 wxString
*arg1
= 0 ;
11425 bool temp1
= False
;
11426 PyObject
* obj0
= 0 ;
11427 char *kwnames
[] = {
11428 (char *) "name", NULL
11431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_RemoveHandler",kwnames
,&obj0
)) goto fail
;
11433 arg1
= wxString_in_helper(obj0
);
11434 if (arg1
== NULL
) SWIG_fail
;
11438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11439 result
= (bool)wxImage::RemoveHandler((wxString
const &)*arg1
);
11441 wxPyEndAllowThreads(__tstate
);
11442 if (PyErr_Occurred()) SWIG_fail
;
11445 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11461 static PyObject
*_wrap_Image_GetImageExtWildcard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11462 PyObject
*resultobj
;
11464 char *kwnames
[] = {
11468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Image_GetImageExtWildcard",kwnames
)) goto fail
;
11470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11471 result
= wxImage::GetImageExtWildcard();
11473 wxPyEndAllowThreads(__tstate
);
11474 if (PyErr_Occurred()) SWIG_fail
;
11478 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11480 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11489 static PyObject
*_wrap_Image_ConvertToBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11490 PyObject
*resultobj
;
11491 wxImage
*arg1
= (wxImage
*) 0 ;
11492 int arg2
= (int) -1 ;
11494 PyObject
* obj0
= 0 ;
11495 PyObject
* obj1
= 0 ;
11496 char *kwnames
[] = {
11497 (char *) "self",(char *) "depth", NULL
11500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_ConvertToBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
11501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11504 arg2
= (int)SWIG_As_int(obj1
);
11505 if (PyErr_Occurred()) SWIG_fail
;
11508 if (!wxPyCheckForApp()) SWIG_fail
;
11509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11510 result
= wxImage_ConvertToBitmap(arg1
,arg2
);
11512 wxPyEndAllowThreads(__tstate
);
11513 if (PyErr_Occurred()) SWIG_fail
;
11516 wxBitmap
* resultptr
;
11517 resultptr
= new wxBitmap((wxBitmap
&) result
);
11518 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
11526 static PyObject
*_wrap_Image_ConvertToMonoBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11527 PyObject
*resultobj
;
11528 wxImage
*arg1
= (wxImage
*) 0 ;
11529 unsigned char arg2
;
11530 unsigned char arg3
;
11531 unsigned char arg4
;
11533 PyObject
* obj0
= 0 ;
11534 PyObject
* obj1
= 0 ;
11535 PyObject
* obj2
= 0 ;
11536 PyObject
* obj3
= 0 ;
11537 char *kwnames
[] = {
11538 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
11541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMonoBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11542 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11543 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11544 arg2
= (unsigned char)SWIG_As_unsigned_SS_char(obj1
);
11545 if (PyErr_Occurred()) SWIG_fail
;
11546 arg3
= (unsigned char)SWIG_As_unsigned_SS_char(obj2
);
11547 if (PyErr_Occurred()) SWIG_fail
;
11548 arg4
= (unsigned char)SWIG_As_unsigned_SS_char(obj3
);
11549 if (PyErr_Occurred()) SWIG_fail
;
11551 if (!wxPyCheckForApp()) SWIG_fail
;
11552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11553 result
= wxImage_ConvertToMonoBitmap(arg1
,arg2
,arg3
,arg4
);
11555 wxPyEndAllowThreads(__tstate
);
11556 if (PyErr_Occurred()) SWIG_fail
;
11559 wxBitmap
* resultptr
;
11560 resultptr
= new wxBitmap((wxBitmap
&) result
);
11561 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
11569 static PyObject
* Image_swigregister(PyObject
*, PyObject
*args
) {
11571 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11572 SWIG_TypeClientData(SWIGTYPE_p_wxImage
, obj
);
11574 return Py_BuildValue((char *)"");
11576 static int _wrap_NullImage_set(PyObject
*) {
11577 PyErr_SetString(PyExc_TypeError
,"Variable NullImage is read-only.");
11582 static PyObject
*_wrap_NullImage_get() {
11585 pyobj
= SWIG_NewPointerObj((void *)(&wxNullImage
), SWIGTYPE_p_wxImage
, 0);
11590 static int _wrap_IMAGE_OPTION_BMP_FORMAT_set(PyObject
*) {
11591 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_BMP_FORMAT is read-only.");
11596 static PyObject
*_wrap_IMAGE_OPTION_BMP_FORMAT_get() {
11601 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
11603 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
11610 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set(PyObject
*) {
11611 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_X is read-only.");
11616 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get() {
11621 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
11623 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
11630 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set(PyObject
*) {
11631 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_Y is read-only.");
11636 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get() {
11641 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
11643 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
11650 static int _wrap_IMAGE_OPTION_RESOLUTION_set(PyObject
*) {
11651 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTION is read-only.");
11656 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTION_get() {
11661 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
11663 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
11670 static int _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set(PyObject
*) {
11671 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTIONUNIT is read-only.");
11676 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get() {
11681 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
11683 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
11690 static PyObject
*_wrap_new_BMPHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11691 PyObject
*resultobj
;
11692 wxBMPHandler
*result
;
11693 char *kwnames
[] = {
11697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_BMPHandler",kwnames
)) goto fail
;
11699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11700 result
= (wxBMPHandler
*)new wxBMPHandler();
11702 wxPyEndAllowThreads(__tstate
);
11703 if (PyErr_Occurred()) SWIG_fail
;
11705 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBMPHandler
, 1);
11712 static PyObject
* BMPHandler_swigregister(PyObject
*, PyObject
*args
) {
11714 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11715 SWIG_TypeClientData(SWIGTYPE_p_wxBMPHandler
, obj
);
11717 return Py_BuildValue((char *)"");
11719 static PyObject
*_wrap_new_ICOHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11720 PyObject
*resultobj
;
11721 wxICOHandler
*result
;
11722 char *kwnames
[] = {
11726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ICOHandler",kwnames
)) goto fail
;
11728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11729 result
= (wxICOHandler
*)new wxICOHandler();
11731 wxPyEndAllowThreads(__tstate
);
11732 if (PyErr_Occurred()) SWIG_fail
;
11734 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxICOHandler
, 1);
11741 static PyObject
* ICOHandler_swigregister(PyObject
*, PyObject
*args
) {
11743 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11744 SWIG_TypeClientData(SWIGTYPE_p_wxICOHandler
, obj
);
11746 return Py_BuildValue((char *)"");
11748 static PyObject
*_wrap_new_CURHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11749 PyObject
*resultobj
;
11750 wxCURHandler
*result
;
11751 char *kwnames
[] = {
11755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_CURHandler",kwnames
)) goto fail
;
11757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11758 result
= (wxCURHandler
*)new wxCURHandler();
11760 wxPyEndAllowThreads(__tstate
);
11761 if (PyErr_Occurred()) SWIG_fail
;
11763 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCURHandler
, 1);
11770 static PyObject
* CURHandler_swigregister(PyObject
*, PyObject
*args
) {
11772 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11773 SWIG_TypeClientData(SWIGTYPE_p_wxCURHandler
, obj
);
11775 return Py_BuildValue((char *)"");
11777 static PyObject
*_wrap_new_ANIHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11778 PyObject
*resultobj
;
11779 wxANIHandler
*result
;
11780 char *kwnames
[] = {
11784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ANIHandler",kwnames
)) goto fail
;
11786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11787 result
= (wxANIHandler
*)new wxANIHandler();
11789 wxPyEndAllowThreads(__tstate
);
11790 if (PyErr_Occurred()) SWIG_fail
;
11792 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxANIHandler
, 1);
11799 static PyObject
* ANIHandler_swigregister(PyObject
*, PyObject
*args
) {
11801 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11802 SWIG_TypeClientData(SWIGTYPE_p_wxANIHandler
, obj
);
11804 return Py_BuildValue((char *)"");
11806 static PyObject
*_wrap_new_PNGHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11807 PyObject
*resultobj
;
11808 wxPNGHandler
*result
;
11809 char *kwnames
[] = {
11813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNGHandler",kwnames
)) goto fail
;
11815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11816 result
= (wxPNGHandler
*)new wxPNGHandler();
11818 wxPyEndAllowThreads(__tstate
);
11819 if (PyErr_Occurred()) SWIG_fail
;
11821 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPNGHandler
, 1);
11828 static PyObject
* PNGHandler_swigregister(PyObject
*, PyObject
*args
) {
11830 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11831 SWIG_TypeClientData(SWIGTYPE_p_wxPNGHandler
, obj
);
11833 return Py_BuildValue((char *)"");
11835 static PyObject
*_wrap_new_GIFHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11836 PyObject
*resultobj
;
11837 wxGIFHandler
*result
;
11838 char *kwnames
[] = {
11842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GIFHandler",kwnames
)) goto fail
;
11844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11845 result
= (wxGIFHandler
*)new wxGIFHandler();
11847 wxPyEndAllowThreads(__tstate
);
11848 if (PyErr_Occurred()) SWIG_fail
;
11850 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGIFHandler
, 1);
11857 static PyObject
* GIFHandler_swigregister(PyObject
*, PyObject
*args
) {
11859 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11860 SWIG_TypeClientData(SWIGTYPE_p_wxGIFHandler
, obj
);
11862 return Py_BuildValue((char *)"");
11864 static PyObject
*_wrap_new_PCXHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11865 PyObject
*resultobj
;
11866 wxPCXHandler
*result
;
11867 char *kwnames
[] = {
11871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PCXHandler",kwnames
)) goto fail
;
11873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11874 result
= (wxPCXHandler
*)new wxPCXHandler();
11876 wxPyEndAllowThreads(__tstate
);
11877 if (PyErr_Occurred()) SWIG_fail
;
11879 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPCXHandler
, 1);
11886 static PyObject
* PCXHandler_swigregister(PyObject
*, PyObject
*args
) {
11888 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11889 SWIG_TypeClientData(SWIGTYPE_p_wxPCXHandler
, obj
);
11891 return Py_BuildValue((char *)"");
11893 static PyObject
*_wrap_new_JPEGHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11894 PyObject
*resultobj
;
11895 wxJPEGHandler
*result
;
11896 char *kwnames
[] = {
11900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_JPEGHandler",kwnames
)) goto fail
;
11902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11903 result
= (wxJPEGHandler
*)new wxJPEGHandler();
11905 wxPyEndAllowThreads(__tstate
);
11906 if (PyErr_Occurred()) SWIG_fail
;
11908 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJPEGHandler
, 1);
11915 static PyObject
* JPEGHandler_swigregister(PyObject
*, PyObject
*args
) {
11917 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11918 SWIG_TypeClientData(SWIGTYPE_p_wxJPEGHandler
, obj
);
11920 return Py_BuildValue((char *)"");
11922 static PyObject
*_wrap_new_PNMHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11923 PyObject
*resultobj
;
11924 wxPNMHandler
*result
;
11925 char *kwnames
[] = {
11929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNMHandler",kwnames
)) goto fail
;
11931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11932 result
= (wxPNMHandler
*)new wxPNMHandler();
11934 wxPyEndAllowThreads(__tstate
);
11935 if (PyErr_Occurred()) SWIG_fail
;
11937 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPNMHandler
, 1);
11944 static PyObject
* PNMHandler_swigregister(PyObject
*, PyObject
*args
) {
11946 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11947 SWIG_TypeClientData(SWIGTYPE_p_wxPNMHandler
, obj
);
11949 return Py_BuildValue((char *)"");
11951 static PyObject
*_wrap_new_XPMHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11952 PyObject
*resultobj
;
11953 wxXPMHandler
*result
;
11954 char *kwnames
[] = {
11958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_XPMHandler",kwnames
)) goto fail
;
11960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11961 result
= (wxXPMHandler
*)new wxXPMHandler();
11963 wxPyEndAllowThreads(__tstate
);
11964 if (PyErr_Occurred()) SWIG_fail
;
11966 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxXPMHandler
, 1);
11973 static PyObject
* XPMHandler_swigregister(PyObject
*, PyObject
*args
) {
11975 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11976 SWIG_TypeClientData(SWIGTYPE_p_wxXPMHandler
, obj
);
11978 return Py_BuildValue((char *)"");
11980 static PyObject
*_wrap_new_TIFFHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11981 PyObject
*resultobj
;
11982 wxTIFFHandler
*result
;
11983 char *kwnames
[] = {
11987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TIFFHandler",kwnames
)) goto fail
;
11989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11990 result
= (wxTIFFHandler
*)new wxTIFFHandler();
11992 wxPyEndAllowThreads(__tstate
);
11993 if (PyErr_Occurred()) SWIG_fail
;
11995 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTIFFHandler
, 1);
12002 static PyObject
* TIFFHandler_swigregister(PyObject
*, PyObject
*args
) {
12004 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12005 SWIG_TypeClientData(SWIGTYPE_p_wxTIFFHandler
, obj
);
12007 return Py_BuildValue((char *)"");
12009 static PyObject
*_wrap_Quantize_Quantize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12010 PyObject
*resultobj
;
12011 wxImage
*arg1
= 0 ;
12012 wxImage
*arg2
= 0 ;
12013 int arg3
= (int) 236 ;
12014 int arg4
= (int) wxQUANTIZE_INCLUDE_WINDOWS_COLOURS
|wxQUANTIZE_FILL_DESTINATION_IMAGE
;
12016 PyObject
* obj0
= 0 ;
12017 PyObject
* obj1
= 0 ;
12018 PyObject
* obj2
= 0 ;
12019 PyObject
* obj3
= 0 ;
12020 char *kwnames
[] = {
12021 (char *) "src",(char *) "dest",(char *) "desiredNoColours",(char *) "flags", NULL
12024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Quantize_Quantize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
12026 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12028 if (arg1
== NULL
) {
12029 PyErr_SetString(PyExc_TypeError
,"null reference");
12032 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImage
,
12033 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12035 if (arg2
== NULL
) {
12036 PyErr_SetString(PyExc_TypeError
,"null reference");
12040 arg3
= (int)SWIG_As_int(obj2
);
12041 if (PyErr_Occurred()) SWIG_fail
;
12044 arg4
= (int)SWIG_As_int(obj3
);
12045 if (PyErr_Occurred()) SWIG_fail
;
12048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12049 result
= (bool)Quantize_Quantize((wxImage
const &)*arg1
,*arg2
,arg3
,arg4
);
12051 wxPyEndAllowThreads(__tstate
);
12052 if (PyErr_Occurred()) SWIG_fail
;
12055 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12063 static PyObject
* Quantize_swigregister(PyObject
*, PyObject
*args
) {
12065 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12066 SWIG_TypeClientData(SWIGTYPE_p_wxQuantize
, obj
);
12068 return Py_BuildValue((char *)"");
12070 static PyObject
*_wrap_new_EvtHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12071 PyObject
*resultobj
;
12072 wxEvtHandler
*result
;
12073 char *kwnames
[] = {
12077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EvtHandler",kwnames
)) goto fail
;
12079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12080 result
= (wxEvtHandler
*)new wxEvtHandler();
12082 wxPyEndAllowThreads(__tstate
);
12083 if (PyErr_Occurred()) SWIG_fail
;
12085 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvtHandler
, 1);
12092 static PyObject
*_wrap_EvtHandler_GetNextHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12093 PyObject
*resultobj
;
12094 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12095 wxEvtHandler
*result
;
12096 PyObject
* obj0
= 0 ;
12097 char *kwnames
[] = {
12098 (char *) "self", NULL
12101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetNextHandler",kwnames
,&obj0
)) goto fail
;
12102 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12103 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12106 result
= (wxEvtHandler
*)(arg1
)->GetNextHandler();
12108 wxPyEndAllowThreads(__tstate
);
12109 if (PyErr_Occurred()) SWIG_fail
;
12112 resultobj
= wxPyMake_wxObject(result
, 0);
12120 static PyObject
*_wrap_EvtHandler_GetPreviousHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12121 PyObject
*resultobj
;
12122 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12123 wxEvtHandler
*result
;
12124 PyObject
* obj0
= 0 ;
12125 char *kwnames
[] = {
12126 (char *) "self", NULL
12129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetPreviousHandler",kwnames
,&obj0
)) goto fail
;
12130 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12131 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12134 result
= (wxEvtHandler
*)(arg1
)->GetPreviousHandler();
12136 wxPyEndAllowThreads(__tstate
);
12137 if (PyErr_Occurred()) SWIG_fail
;
12140 resultobj
= wxPyMake_wxObject(result
, 0);
12148 static PyObject
*_wrap_EvtHandler_SetNextHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12149 PyObject
*resultobj
;
12150 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12151 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
12152 PyObject
* obj0
= 0 ;
12153 PyObject
* obj1
= 0 ;
12154 char *kwnames
[] = {
12155 (char *) "self",(char *) "handler", NULL
12158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetNextHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
12159 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12160 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12161 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
12162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12165 (arg1
)->SetNextHandler(arg2
);
12167 wxPyEndAllowThreads(__tstate
);
12168 if (PyErr_Occurred()) SWIG_fail
;
12170 Py_INCREF(Py_None
); resultobj
= Py_None
;
12177 static PyObject
*_wrap_EvtHandler_SetPreviousHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12178 PyObject
*resultobj
;
12179 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12180 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
12181 PyObject
* obj0
= 0 ;
12182 PyObject
* obj1
= 0 ;
12183 char *kwnames
[] = {
12184 (char *) "self",(char *) "handler", NULL
12187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetPreviousHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
12188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12190 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
12191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12194 (arg1
)->SetPreviousHandler(arg2
);
12196 wxPyEndAllowThreads(__tstate
);
12197 if (PyErr_Occurred()) SWIG_fail
;
12199 Py_INCREF(Py_None
); resultobj
= Py_None
;
12206 static PyObject
*_wrap_EvtHandler_GetEvtHandlerEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12207 PyObject
*resultobj
;
12208 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12210 PyObject
* obj0
= 0 ;
12211 char *kwnames
[] = {
12212 (char *) "self", NULL
12215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetEvtHandlerEnabled",kwnames
,&obj0
)) goto fail
;
12216 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12217 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12220 result
= (bool)(arg1
)->GetEvtHandlerEnabled();
12222 wxPyEndAllowThreads(__tstate
);
12223 if (PyErr_Occurred()) SWIG_fail
;
12226 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12234 static PyObject
*_wrap_EvtHandler_SetEvtHandlerEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12235 PyObject
*resultobj
;
12236 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12238 PyObject
* obj0
= 0 ;
12239 PyObject
* obj1
= 0 ;
12240 char *kwnames
[] = {
12241 (char *) "self",(char *) "enabled", NULL
12244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetEvtHandlerEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
12245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12247 arg2
= (bool)SWIG_As_bool(obj1
);
12248 if (PyErr_Occurred()) SWIG_fail
;
12250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12251 (arg1
)->SetEvtHandlerEnabled(arg2
);
12253 wxPyEndAllowThreads(__tstate
);
12254 if (PyErr_Occurred()) SWIG_fail
;
12256 Py_INCREF(Py_None
); resultobj
= Py_None
;
12263 static PyObject
*_wrap_EvtHandler_ProcessEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12264 PyObject
*resultobj
;
12265 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12266 wxEvent
*arg2
= 0 ;
12268 PyObject
* obj0
= 0 ;
12269 PyObject
* obj1
= 0 ;
12270 char *kwnames
[] = {
12271 (char *) "self",(char *) "event", NULL
12274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_ProcessEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
12275 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12276 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12277 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvent
,
12278 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12280 if (arg2
== NULL
) {
12281 PyErr_SetString(PyExc_TypeError
,"null reference");
12285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12286 result
= (bool)(arg1
)->ProcessEvent(*arg2
);
12288 wxPyEndAllowThreads(__tstate
);
12289 if (PyErr_Occurred()) SWIG_fail
;
12292 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12300 static PyObject
*_wrap_EvtHandler_AddPendingEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12301 PyObject
*resultobj
;
12302 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12303 wxEvent
*arg2
= 0 ;
12304 PyObject
* obj0
= 0 ;
12305 PyObject
* obj1
= 0 ;
12306 char *kwnames
[] = {
12307 (char *) "self",(char *) "event", NULL
12310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_AddPendingEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
12311 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12313 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvent
,
12314 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12316 if (arg2
== NULL
) {
12317 PyErr_SetString(PyExc_TypeError
,"null reference");
12321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12322 (arg1
)->AddPendingEvent(*arg2
);
12324 wxPyEndAllowThreads(__tstate
);
12325 if (PyErr_Occurred()) SWIG_fail
;
12327 Py_INCREF(Py_None
); resultobj
= Py_None
;
12334 static PyObject
*_wrap_EvtHandler_ProcessPendingEvents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12335 PyObject
*resultobj
;
12336 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12337 PyObject
* obj0
= 0 ;
12338 char *kwnames
[] = {
12339 (char *) "self", NULL
12342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
12343 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12347 (arg1
)->ProcessPendingEvents();
12349 wxPyEndAllowThreads(__tstate
);
12350 if (PyErr_Occurred()) SWIG_fail
;
12352 Py_INCREF(Py_None
); resultobj
= Py_None
;
12359 static PyObject
*_wrap_EvtHandler_Connect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12360 PyObject
*resultobj
;
12361 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12365 PyObject
*arg5
= (PyObject
*) 0 ;
12366 PyObject
* obj0
= 0 ;
12367 PyObject
* obj1
= 0 ;
12368 PyObject
* obj2
= 0 ;
12369 PyObject
* obj3
= 0 ;
12370 PyObject
* obj4
= 0 ;
12371 char *kwnames
[] = {
12372 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType",(char *) "func", NULL
12375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:EvtHandler_Connect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12376 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12378 arg2
= (int)SWIG_As_int(obj1
);
12379 if (PyErr_Occurred()) SWIG_fail
;
12380 arg3
= (int)SWIG_As_int(obj2
);
12381 if (PyErr_Occurred()) SWIG_fail
;
12382 arg4
= (int)SWIG_As_int(obj3
);
12383 if (PyErr_Occurred()) SWIG_fail
;
12386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12387 wxEvtHandler_Connect(arg1
,arg2
,arg3
,arg4
,arg5
);
12389 wxPyEndAllowThreads(__tstate
);
12390 if (PyErr_Occurred()) SWIG_fail
;
12392 Py_INCREF(Py_None
); resultobj
= Py_None
;
12399 static PyObject
*_wrap_EvtHandler_Disconnect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12400 PyObject
*resultobj
;
12401 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12403 int arg3
= (int) -1 ;
12404 wxEventType arg4
= (wxEventType
) wxEVT_NULL
;
12406 PyObject
* obj0
= 0 ;
12407 PyObject
* obj1
= 0 ;
12408 PyObject
* obj2
= 0 ;
12409 PyObject
* obj3
= 0 ;
12410 char *kwnames
[] = {
12411 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType", NULL
12414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:EvtHandler_Disconnect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12415 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12417 arg2
= (int)SWIG_As_int(obj1
);
12418 if (PyErr_Occurred()) SWIG_fail
;
12420 arg3
= (int)SWIG_As_int(obj2
);
12421 if (PyErr_Occurred()) SWIG_fail
;
12424 arg4
= (wxEventType
)SWIG_As_int(obj3
);
12425 if (PyErr_Occurred()) SWIG_fail
;
12428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12429 result
= (bool)wxEvtHandler_Disconnect(arg1
,arg2
,arg3
,arg4
);
12431 wxPyEndAllowThreads(__tstate
);
12432 if (PyErr_Occurred()) SWIG_fail
;
12435 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12443 static PyObject
*_wrap_EvtHandler__setOORInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12444 PyObject
*resultobj
;
12445 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12446 PyObject
*arg2
= (PyObject
*) 0 ;
12447 PyObject
* obj0
= 0 ;
12448 PyObject
* obj1
= 0 ;
12449 char *kwnames
[] = {
12450 (char *) "self",(char *) "_self", NULL
12453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
12454 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12455 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12459 wxEvtHandler__setOORInfo(arg1
,arg2
);
12461 wxPyEndAllowThreads(__tstate
);
12462 if (PyErr_Occurred()) SWIG_fail
;
12464 Py_INCREF(Py_None
); resultobj
= Py_None
;
12471 static PyObject
* EvtHandler_swigregister(PyObject
*, PyObject
*args
) {
12473 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12474 SWIG_TypeClientData(SWIGTYPE_p_wxEvtHandler
, obj
);
12476 return Py_BuildValue((char *)"");
12478 static PyObject
*_wrap_NewEventType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12479 PyObject
*resultobj
;
12480 wxEventType result
;
12481 char *kwnames
[] = {
12485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewEventType",kwnames
)) goto fail
;
12487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12488 result
= (wxEventType
)wxNewEventType();
12490 wxPyEndAllowThreads(__tstate
);
12491 if (PyErr_Occurred()) SWIG_fail
;
12493 resultobj
= SWIG_From_int((int)result
);
12500 static PyObject
*_wrap_delete_Event(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12501 PyObject
*resultobj
;
12502 wxEvent
*arg1
= (wxEvent
*) 0 ;
12503 PyObject
* obj0
= 0 ;
12504 char *kwnames
[] = {
12505 (char *) "self", NULL
12508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Event",kwnames
,&obj0
)) goto fail
;
12509 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12510 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12515 wxPyEndAllowThreads(__tstate
);
12516 if (PyErr_Occurred()) SWIG_fail
;
12518 Py_INCREF(Py_None
); resultobj
= Py_None
;
12525 static PyObject
*_wrap_Event_SetEventType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12526 PyObject
*resultobj
;
12527 wxEvent
*arg1
= (wxEvent
*) 0 ;
12529 PyObject
* obj0
= 0 ;
12530 PyObject
* obj1
= 0 ;
12531 char *kwnames
[] = {
12532 (char *) "self",(char *) "typ", NULL
12535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventType",kwnames
,&obj0
,&obj1
)) goto fail
;
12536 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12537 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12538 arg2
= (wxEventType
)SWIG_As_int(obj1
);
12539 if (PyErr_Occurred()) SWIG_fail
;
12541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12542 (arg1
)->SetEventType(arg2
);
12544 wxPyEndAllowThreads(__tstate
);
12545 if (PyErr_Occurred()) SWIG_fail
;
12547 Py_INCREF(Py_None
); resultobj
= Py_None
;
12554 static PyObject
*_wrap_Event_GetEventType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12555 PyObject
*resultobj
;
12556 wxEvent
*arg1
= (wxEvent
*) 0 ;
12557 wxEventType result
;
12558 PyObject
* obj0
= 0 ;
12559 char *kwnames
[] = {
12560 (char *) "self", NULL
12563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventType",kwnames
,&obj0
)) goto fail
;
12564 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12568 result
= (wxEventType
)((wxEvent
const *)arg1
)->GetEventType();
12570 wxPyEndAllowThreads(__tstate
);
12571 if (PyErr_Occurred()) SWIG_fail
;
12573 resultobj
= SWIG_From_int((int)result
);
12580 static PyObject
*_wrap_Event_GetEventObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12581 PyObject
*resultobj
;
12582 wxEvent
*arg1
= (wxEvent
*) 0 ;
12584 PyObject
* obj0
= 0 ;
12585 char *kwnames
[] = {
12586 (char *) "self", NULL
12589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventObject",kwnames
,&obj0
)) goto fail
;
12590 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12591 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12594 result
= (wxObject
*)((wxEvent
const *)arg1
)->GetEventObject();
12596 wxPyEndAllowThreads(__tstate
);
12597 if (PyErr_Occurred()) SWIG_fail
;
12600 resultobj
= wxPyMake_wxObject(result
, 0);
12608 static PyObject
*_wrap_Event_SetEventObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12609 PyObject
*resultobj
;
12610 wxEvent
*arg1
= (wxEvent
*) 0 ;
12611 wxObject
*arg2
= (wxObject
*) 0 ;
12612 PyObject
* obj0
= 0 ;
12613 PyObject
* obj1
= 0 ;
12614 char *kwnames
[] = {
12615 (char *) "self",(char *) "obj", NULL
12618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventObject",kwnames
,&obj0
,&obj1
)) goto fail
;
12619 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12620 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12621 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxObject
,
12622 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12625 (arg1
)->SetEventObject(arg2
);
12627 wxPyEndAllowThreads(__tstate
);
12628 if (PyErr_Occurred()) SWIG_fail
;
12630 Py_INCREF(Py_None
); resultobj
= Py_None
;
12637 static PyObject
*_wrap_Event_GetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12638 PyObject
*resultobj
;
12639 wxEvent
*arg1
= (wxEvent
*) 0 ;
12641 PyObject
* obj0
= 0 ;
12642 char *kwnames
[] = {
12643 (char *) "self", NULL
12646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetTimestamp",kwnames
,&obj0
)) goto fail
;
12647 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12651 result
= (long)((wxEvent
const *)arg1
)->GetTimestamp();
12653 wxPyEndAllowThreads(__tstate
);
12654 if (PyErr_Occurred()) SWIG_fail
;
12656 resultobj
= SWIG_From_long((long)result
);
12663 static PyObject
*_wrap_Event_SetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12664 PyObject
*resultobj
;
12665 wxEvent
*arg1
= (wxEvent
*) 0 ;
12666 long arg2
= (long) 0 ;
12667 PyObject
* obj0
= 0 ;
12668 PyObject
* obj1
= 0 ;
12669 char *kwnames
[] = {
12670 (char *) "self",(char *) "ts", NULL
12673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_SetTimestamp",kwnames
,&obj0
,&obj1
)) goto fail
;
12674 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12675 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12677 arg2
= (long)SWIG_As_long(obj1
);
12678 if (PyErr_Occurred()) SWIG_fail
;
12681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12682 (arg1
)->SetTimestamp(arg2
);
12684 wxPyEndAllowThreads(__tstate
);
12685 if (PyErr_Occurred()) SWIG_fail
;
12687 Py_INCREF(Py_None
); resultobj
= Py_None
;
12694 static PyObject
*_wrap_Event_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12695 PyObject
*resultobj
;
12696 wxEvent
*arg1
= (wxEvent
*) 0 ;
12698 PyObject
* obj0
= 0 ;
12699 char *kwnames
[] = {
12700 (char *) "self", NULL
12703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetId",kwnames
,&obj0
)) goto fail
;
12704 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12708 result
= (int)((wxEvent
const *)arg1
)->GetId();
12710 wxPyEndAllowThreads(__tstate
);
12711 if (PyErr_Occurred()) SWIG_fail
;
12713 resultobj
= SWIG_From_int((int)result
);
12720 static PyObject
*_wrap_Event_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12721 PyObject
*resultobj
;
12722 wxEvent
*arg1
= (wxEvent
*) 0 ;
12724 PyObject
* obj0
= 0 ;
12725 PyObject
* obj1
= 0 ;
12726 char *kwnames
[] = {
12727 (char *) "self",(char *) "Id", NULL
12730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
12731 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12732 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12733 arg2
= (int)SWIG_As_int(obj1
);
12734 if (PyErr_Occurred()) SWIG_fail
;
12736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12737 (arg1
)->SetId(arg2
);
12739 wxPyEndAllowThreads(__tstate
);
12740 if (PyErr_Occurred()) SWIG_fail
;
12742 Py_INCREF(Py_None
); resultobj
= Py_None
;
12749 static PyObject
*_wrap_Event_IsCommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12750 PyObject
*resultobj
;
12751 wxEvent
*arg1
= (wxEvent
*) 0 ;
12753 PyObject
* obj0
= 0 ;
12754 char *kwnames
[] = {
12755 (char *) "self", NULL
12758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_IsCommandEvent",kwnames
,&obj0
)) goto fail
;
12759 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12763 result
= (bool)((wxEvent
const *)arg1
)->IsCommandEvent();
12765 wxPyEndAllowThreads(__tstate
);
12766 if (PyErr_Occurred()) SWIG_fail
;
12769 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12777 static PyObject
*_wrap_Event_Skip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12778 PyObject
*resultobj
;
12779 wxEvent
*arg1
= (wxEvent
*) 0 ;
12780 bool arg2
= (bool) True
;
12781 PyObject
* obj0
= 0 ;
12782 PyObject
* obj1
= 0 ;
12783 char *kwnames
[] = {
12784 (char *) "self",(char *) "skip", NULL
12787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_Skip",kwnames
,&obj0
,&obj1
)) goto fail
;
12788 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12791 arg2
= (bool)SWIG_As_bool(obj1
);
12792 if (PyErr_Occurred()) SWIG_fail
;
12795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12796 (arg1
)->Skip(arg2
);
12798 wxPyEndAllowThreads(__tstate
);
12799 if (PyErr_Occurred()) SWIG_fail
;
12801 Py_INCREF(Py_None
); resultobj
= Py_None
;
12808 static PyObject
*_wrap_Event_GetSkipped(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12809 PyObject
*resultobj
;
12810 wxEvent
*arg1
= (wxEvent
*) 0 ;
12812 PyObject
* obj0
= 0 ;
12813 char *kwnames
[] = {
12814 (char *) "self", NULL
12817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetSkipped",kwnames
,&obj0
)) goto fail
;
12818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12822 result
= (bool)((wxEvent
const *)arg1
)->GetSkipped();
12824 wxPyEndAllowThreads(__tstate
);
12825 if (PyErr_Occurred()) SWIG_fail
;
12828 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12836 static PyObject
*_wrap_Event_ShouldPropagate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12837 PyObject
*resultobj
;
12838 wxEvent
*arg1
= (wxEvent
*) 0 ;
12840 PyObject
* obj0
= 0 ;
12841 char *kwnames
[] = {
12842 (char *) "self", NULL
12845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_ShouldPropagate",kwnames
,&obj0
)) goto fail
;
12846 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12847 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12850 result
= (bool)((wxEvent
const *)arg1
)->ShouldPropagate();
12852 wxPyEndAllowThreads(__tstate
);
12853 if (PyErr_Occurred()) SWIG_fail
;
12856 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12864 static PyObject
*_wrap_Event_StopPropagation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12865 PyObject
*resultobj
;
12866 wxEvent
*arg1
= (wxEvent
*) 0 ;
12868 PyObject
* obj0
= 0 ;
12869 char *kwnames
[] = {
12870 (char *) "self", NULL
12873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_StopPropagation",kwnames
,&obj0
)) goto fail
;
12874 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12878 result
= (int)(arg1
)->StopPropagation();
12880 wxPyEndAllowThreads(__tstate
);
12881 if (PyErr_Occurred()) SWIG_fail
;
12883 resultobj
= SWIG_From_int((int)result
);
12890 static PyObject
*_wrap_Event_ResumePropagation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12891 PyObject
*resultobj
;
12892 wxEvent
*arg1
= (wxEvent
*) 0 ;
12894 PyObject
* obj0
= 0 ;
12895 PyObject
* obj1
= 0 ;
12896 char *kwnames
[] = {
12897 (char *) "self",(char *) "propagationLevel", NULL
12900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_ResumePropagation",kwnames
,&obj0
,&obj1
)) goto fail
;
12901 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12902 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12903 arg2
= (int)SWIG_As_int(obj1
);
12904 if (PyErr_Occurred()) SWIG_fail
;
12906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12907 (arg1
)->ResumePropagation(arg2
);
12909 wxPyEndAllowThreads(__tstate
);
12910 if (PyErr_Occurred()) SWIG_fail
;
12912 Py_INCREF(Py_None
); resultobj
= Py_None
;
12919 static PyObject
*_wrap_Event_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12920 PyObject
*resultobj
;
12921 wxEvent
*arg1
= (wxEvent
*) 0 ;
12923 PyObject
* obj0
= 0 ;
12924 char *kwnames
[] = {
12925 (char *) "self", NULL
12928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_Clone",kwnames
,&obj0
)) goto fail
;
12929 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12930 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12933 result
= (wxEvent
*)(arg1
)->Clone();
12935 wxPyEndAllowThreads(__tstate
);
12936 if (PyErr_Occurred()) SWIG_fail
;
12938 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvent
, 0);
12945 static PyObject
* Event_swigregister(PyObject
*, PyObject
*args
) {
12947 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12948 SWIG_TypeClientData(SWIGTYPE_p_wxEvent
, obj
);
12950 return Py_BuildValue((char *)"");
12952 static PyObject
*_wrap_new_PropagationDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12953 PyObject
*resultobj
;
12954 wxEvent
*arg1
= 0 ;
12955 wxPropagationDisabler
*result
;
12956 PyObject
* obj0
= 0 ;
12957 char *kwnames
[] = {
12958 (char *) "event", NULL
12961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
12962 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12963 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12965 if (arg1
== NULL
) {
12966 PyErr_SetString(PyExc_TypeError
,"null reference");
12970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12971 result
= (wxPropagationDisabler
*)new wxPropagationDisabler(*arg1
);
12973 wxPyEndAllowThreads(__tstate
);
12974 if (PyErr_Occurred()) SWIG_fail
;
12976 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPropagationDisabler
, 1);
12983 static PyObject
*_wrap_delete_PropagationDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12984 PyObject
*resultobj
;
12985 wxPropagationDisabler
*arg1
= (wxPropagationDisabler
*) 0 ;
12986 PyObject
* obj0
= 0 ;
12987 char *kwnames
[] = {
12988 (char *) "self", NULL
12991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
12992 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPropagationDisabler
,
12993 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12998 wxPyEndAllowThreads(__tstate
);
12999 if (PyErr_Occurred()) SWIG_fail
;
13001 Py_INCREF(Py_None
); resultobj
= Py_None
;
13008 static PyObject
* PropagationDisabler_swigregister(PyObject
*, PyObject
*args
) {
13010 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13011 SWIG_TypeClientData(SWIGTYPE_p_wxPropagationDisabler
, obj
);
13013 return Py_BuildValue((char *)"");
13015 static PyObject
*_wrap_new_PropagateOnce(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13016 PyObject
*resultobj
;
13017 wxEvent
*arg1
= 0 ;
13018 wxPropagateOnce
*result
;
13019 PyObject
* obj0
= 0 ;
13020 char *kwnames
[] = {
13021 (char *) "event", NULL
13024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagateOnce",kwnames
,&obj0
)) goto fail
;
13025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
13026 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13028 if (arg1
== NULL
) {
13029 PyErr_SetString(PyExc_TypeError
,"null reference");
13033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13034 result
= (wxPropagateOnce
*)new wxPropagateOnce(*arg1
);
13036 wxPyEndAllowThreads(__tstate
);
13037 if (PyErr_Occurred()) SWIG_fail
;
13039 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPropagateOnce
, 1);
13046 static PyObject
*_wrap_delete_PropagateOnce(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13047 PyObject
*resultobj
;
13048 wxPropagateOnce
*arg1
= (wxPropagateOnce
*) 0 ;
13049 PyObject
* obj0
= 0 ;
13050 char *kwnames
[] = {
13051 (char *) "self", NULL
13054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagateOnce",kwnames
,&obj0
)) goto fail
;
13055 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPropagateOnce
,
13056 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13061 wxPyEndAllowThreads(__tstate
);
13062 if (PyErr_Occurred()) SWIG_fail
;
13064 Py_INCREF(Py_None
); resultobj
= Py_None
;
13071 static PyObject
* PropagateOnce_swigregister(PyObject
*, PyObject
*args
) {
13073 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13074 SWIG_TypeClientData(SWIGTYPE_p_wxPropagateOnce
, obj
);
13076 return Py_BuildValue((char *)"");
13078 static PyObject
*_wrap_new_CommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13079 PyObject
*resultobj
;
13080 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13081 int arg2
= (int) 0 ;
13082 wxCommandEvent
*result
;
13083 PyObject
* obj0
= 0 ;
13084 PyObject
* obj1
= 0 ;
13085 char *kwnames
[] = {
13086 (char *) "commandType",(char *) "winid", NULL
13089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CommandEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
13091 arg1
= (wxEventType
)SWIG_As_int(obj0
);
13092 if (PyErr_Occurred()) SWIG_fail
;
13095 arg2
= (int)SWIG_As_int(obj1
);
13096 if (PyErr_Occurred()) SWIG_fail
;
13099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13100 result
= (wxCommandEvent
*)new wxCommandEvent(arg1
,arg2
);
13102 wxPyEndAllowThreads(__tstate
);
13103 if (PyErr_Occurred()) SWIG_fail
;
13105 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCommandEvent
, 1);
13112 static PyObject
*_wrap_CommandEvent_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13113 PyObject
*resultobj
;
13114 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13116 PyObject
* obj0
= 0 ;
13117 char *kwnames
[] = {
13118 (char *) "self", NULL
13121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
13122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13126 result
= (int)((wxCommandEvent
const *)arg1
)->GetSelection();
13128 wxPyEndAllowThreads(__tstate
);
13129 if (PyErr_Occurred()) SWIG_fail
;
13131 resultobj
= SWIG_From_int((int)result
);
13138 static PyObject
*_wrap_CommandEvent_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13139 PyObject
*resultobj
;
13140 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13141 wxString
*arg2
= 0 ;
13142 bool temp2
= False
;
13143 PyObject
* obj0
= 0 ;
13144 PyObject
* obj1
= 0 ;
13145 char *kwnames
[] = {
13146 (char *) "self",(char *) "s", NULL
13149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetString",kwnames
,&obj0
,&obj1
)) goto fail
;
13150 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13151 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13153 arg2
= wxString_in_helper(obj1
);
13154 if (arg2
== NULL
) SWIG_fail
;
13158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13159 (arg1
)->SetString((wxString
const &)*arg2
);
13161 wxPyEndAllowThreads(__tstate
);
13162 if (PyErr_Occurred()) SWIG_fail
;
13164 Py_INCREF(Py_None
); resultobj
= Py_None
;
13179 static PyObject
*_wrap_CommandEvent_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13180 PyObject
*resultobj
;
13181 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13183 PyObject
* obj0
= 0 ;
13184 char *kwnames
[] = {
13185 (char *) "self", NULL
13188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetString",kwnames
,&obj0
)) goto fail
;
13189 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13190 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13193 result
= ((wxCommandEvent
const *)arg1
)->GetString();
13195 wxPyEndAllowThreads(__tstate
);
13196 if (PyErr_Occurred()) SWIG_fail
;
13200 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13202 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13211 static PyObject
*_wrap_CommandEvent_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13212 PyObject
*resultobj
;
13213 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13215 PyObject
* obj0
= 0 ;
13216 char *kwnames
[] = {
13217 (char *) "self", NULL
13220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsChecked",kwnames
,&obj0
)) goto fail
;
13221 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13222 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13225 result
= (bool)((wxCommandEvent
const *)arg1
)->IsChecked();
13227 wxPyEndAllowThreads(__tstate
);
13228 if (PyErr_Occurred()) SWIG_fail
;
13231 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13239 static PyObject
*_wrap_CommandEvent_IsSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13240 PyObject
*resultobj
;
13241 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13243 PyObject
* obj0
= 0 ;
13244 char *kwnames
[] = {
13245 (char *) "self", NULL
13248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsSelection",kwnames
,&obj0
)) goto fail
;
13249 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13253 result
= (bool)((wxCommandEvent
const *)arg1
)->IsSelection();
13255 wxPyEndAllowThreads(__tstate
);
13256 if (PyErr_Occurred()) SWIG_fail
;
13259 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13267 static PyObject
*_wrap_CommandEvent_SetExtraLong(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13268 PyObject
*resultobj
;
13269 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13271 PyObject
* obj0
= 0 ;
13272 PyObject
* obj1
= 0 ;
13273 char *kwnames
[] = {
13274 (char *) "self",(char *) "extraLong", NULL
13277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetExtraLong",kwnames
,&obj0
,&obj1
)) goto fail
;
13278 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13279 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13280 arg2
= (long)SWIG_As_long(obj1
);
13281 if (PyErr_Occurred()) SWIG_fail
;
13283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13284 (arg1
)->SetExtraLong(arg2
);
13286 wxPyEndAllowThreads(__tstate
);
13287 if (PyErr_Occurred()) SWIG_fail
;
13289 Py_INCREF(Py_None
); resultobj
= Py_None
;
13296 static PyObject
*_wrap_CommandEvent_GetExtraLong(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13297 PyObject
*resultobj
;
13298 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13300 PyObject
* obj0
= 0 ;
13301 char *kwnames
[] = {
13302 (char *) "self", NULL
13305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetExtraLong",kwnames
,&obj0
)) goto fail
;
13306 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13310 result
= (long)((wxCommandEvent
const *)arg1
)->GetExtraLong();
13312 wxPyEndAllowThreads(__tstate
);
13313 if (PyErr_Occurred()) SWIG_fail
;
13315 resultobj
= SWIG_From_long((long)result
);
13322 static PyObject
*_wrap_CommandEvent_SetInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13323 PyObject
*resultobj
;
13324 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13326 PyObject
* obj0
= 0 ;
13327 PyObject
* obj1
= 0 ;
13328 char *kwnames
[] = {
13329 (char *) "self",(char *) "i", NULL
13332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetInt",kwnames
,&obj0
,&obj1
)) goto fail
;
13333 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13334 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13335 arg2
= (int)SWIG_As_int(obj1
);
13336 if (PyErr_Occurred()) SWIG_fail
;
13338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13339 (arg1
)->SetInt(arg2
);
13341 wxPyEndAllowThreads(__tstate
);
13342 if (PyErr_Occurred()) SWIG_fail
;
13344 Py_INCREF(Py_None
); resultobj
= Py_None
;
13351 static PyObject
*_wrap_CommandEvent_GetInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13352 PyObject
*resultobj
;
13353 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13355 PyObject
* obj0
= 0 ;
13356 char *kwnames
[] = {
13357 (char *) "self", NULL
13360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetInt",kwnames
,&obj0
)) goto fail
;
13361 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13362 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13365 result
= (long)((wxCommandEvent
const *)arg1
)->GetInt();
13367 wxPyEndAllowThreads(__tstate
);
13368 if (PyErr_Occurred()) SWIG_fail
;
13370 resultobj
= SWIG_From_long((long)result
);
13377 static PyObject
*_wrap_CommandEvent_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13378 PyObject
*resultobj
;
13379 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13381 PyObject
* obj0
= 0 ;
13382 char *kwnames
[] = {
13383 (char *) "self", NULL
13386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_Clone",kwnames
,&obj0
)) goto fail
;
13387 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13388 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13391 result
= (wxEvent
*)((wxCommandEvent
const *)arg1
)->Clone();
13393 wxPyEndAllowThreads(__tstate
);
13394 if (PyErr_Occurred()) SWIG_fail
;
13396 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvent
, 0);
13403 static PyObject
* CommandEvent_swigregister(PyObject
*, PyObject
*args
) {
13405 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13406 SWIG_TypeClientData(SWIGTYPE_p_wxCommandEvent
, obj
);
13408 return Py_BuildValue((char *)"");
13410 static PyObject
*_wrap_new_NotifyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13411 PyObject
*resultobj
;
13412 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13413 int arg2
= (int) 0 ;
13414 wxNotifyEvent
*result
;
13415 PyObject
* obj0
= 0 ;
13416 PyObject
* obj1
= 0 ;
13417 char *kwnames
[] = {
13418 (char *) "commandType",(char *) "winid", NULL
13421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_NotifyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
13423 arg1
= (wxEventType
)SWIG_As_int(obj0
);
13424 if (PyErr_Occurred()) SWIG_fail
;
13427 arg2
= (int)SWIG_As_int(obj1
);
13428 if (PyErr_Occurred()) SWIG_fail
;
13431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13432 result
= (wxNotifyEvent
*)new wxNotifyEvent(arg1
,arg2
);
13434 wxPyEndAllowThreads(__tstate
);
13435 if (PyErr_Occurred()) SWIG_fail
;
13437 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotifyEvent
, 1);
13444 static PyObject
*_wrap_NotifyEvent_Veto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13445 PyObject
*resultobj
;
13446 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
13447 PyObject
* obj0
= 0 ;
13448 char *kwnames
[] = {
13449 (char *) "self", NULL
13452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Veto",kwnames
,&obj0
)) goto fail
;
13453 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotifyEvent
,
13454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13459 wxPyEndAllowThreads(__tstate
);
13460 if (PyErr_Occurred()) SWIG_fail
;
13462 Py_INCREF(Py_None
); resultobj
= Py_None
;
13469 static PyObject
*_wrap_NotifyEvent_Allow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13470 PyObject
*resultobj
;
13471 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
13472 PyObject
* obj0
= 0 ;
13473 char *kwnames
[] = {
13474 (char *) "self", NULL
13477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Allow",kwnames
,&obj0
)) goto fail
;
13478 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotifyEvent
,
13479 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13484 wxPyEndAllowThreads(__tstate
);
13485 if (PyErr_Occurred()) SWIG_fail
;
13487 Py_INCREF(Py_None
); resultobj
= Py_None
;
13494 static PyObject
*_wrap_NotifyEvent_IsAllowed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13495 PyObject
*resultobj
;
13496 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
13498 PyObject
* obj0
= 0 ;
13499 char *kwnames
[] = {
13500 (char *) "self", NULL
13503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_IsAllowed",kwnames
,&obj0
)) goto fail
;
13504 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotifyEvent
,
13505 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13508 result
= (bool)(arg1
)->IsAllowed();
13510 wxPyEndAllowThreads(__tstate
);
13511 if (PyErr_Occurred()) SWIG_fail
;
13514 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13522 static PyObject
* NotifyEvent_swigregister(PyObject
*, PyObject
*args
) {
13524 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13525 SWIG_TypeClientData(SWIGTYPE_p_wxNotifyEvent
, obj
);
13527 return Py_BuildValue((char *)"");
13529 static PyObject
*_wrap_new_ScrollEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13530 PyObject
*resultobj
;
13531 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13532 int arg2
= (int) 0 ;
13533 int arg3
= (int) 0 ;
13534 int arg4
= (int) 0 ;
13535 wxScrollEvent
*result
;
13536 PyObject
* obj0
= 0 ;
13537 PyObject
* obj1
= 0 ;
13538 PyObject
* obj2
= 0 ;
13539 PyObject
* obj3
= 0 ;
13540 char *kwnames
[] = {
13541 (char *) "commandType",(char *) "winid",(char *) "pos",(char *) "orient", NULL
13544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ScrollEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13546 arg1
= (wxEventType
)SWIG_As_int(obj0
);
13547 if (PyErr_Occurred()) SWIG_fail
;
13550 arg2
= (int)SWIG_As_int(obj1
);
13551 if (PyErr_Occurred()) SWIG_fail
;
13554 arg3
= (int)SWIG_As_int(obj2
);
13555 if (PyErr_Occurred()) SWIG_fail
;
13558 arg4
= (int)SWIG_As_int(obj3
);
13559 if (PyErr_Occurred()) SWIG_fail
;
13562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13563 result
= (wxScrollEvent
*)new wxScrollEvent(arg1
,arg2
,arg3
,arg4
);
13565 wxPyEndAllowThreads(__tstate
);
13566 if (PyErr_Occurred()) SWIG_fail
;
13568 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollEvent
, 1);
13575 static PyObject
*_wrap_ScrollEvent_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13576 PyObject
*resultobj
;
13577 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13579 PyObject
* obj0
= 0 ;
13580 char *kwnames
[] = {
13581 (char *) "self", NULL
13584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
13585 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13589 result
= (int)((wxScrollEvent
const *)arg1
)->GetOrientation();
13591 wxPyEndAllowThreads(__tstate
);
13592 if (PyErr_Occurred()) SWIG_fail
;
13594 resultobj
= SWIG_From_int((int)result
);
13601 static PyObject
*_wrap_ScrollEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13602 PyObject
*resultobj
;
13603 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13605 PyObject
* obj0
= 0 ;
13606 char *kwnames
[] = {
13607 (char *) "self", NULL
13610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
13611 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13612 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13615 result
= (int)((wxScrollEvent
const *)arg1
)->GetPosition();
13617 wxPyEndAllowThreads(__tstate
);
13618 if (PyErr_Occurred()) SWIG_fail
;
13620 resultobj
= SWIG_From_int((int)result
);
13627 static PyObject
*_wrap_ScrollEvent_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13628 PyObject
*resultobj
;
13629 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13631 PyObject
* obj0
= 0 ;
13632 PyObject
* obj1
= 0 ;
13633 char *kwnames
[] = {
13634 (char *) "self",(char *) "orient", NULL
13637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
13638 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13639 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13640 arg2
= (int)SWIG_As_int(obj1
);
13641 if (PyErr_Occurred()) SWIG_fail
;
13643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13644 (arg1
)->SetOrientation(arg2
);
13646 wxPyEndAllowThreads(__tstate
);
13647 if (PyErr_Occurred()) SWIG_fail
;
13649 Py_INCREF(Py_None
); resultobj
= Py_None
;
13656 static PyObject
*_wrap_ScrollEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13657 PyObject
*resultobj
;
13658 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13660 PyObject
* obj0
= 0 ;
13661 PyObject
* obj1
= 0 ;
13662 char *kwnames
[] = {
13663 (char *) "self",(char *) "pos", NULL
13666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
13667 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13669 arg2
= (int)SWIG_As_int(obj1
);
13670 if (PyErr_Occurred()) SWIG_fail
;
13672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13673 (arg1
)->SetPosition(arg2
);
13675 wxPyEndAllowThreads(__tstate
);
13676 if (PyErr_Occurred()) SWIG_fail
;
13678 Py_INCREF(Py_None
); resultobj
= Py_None
;
13685 static PyObject
* ScrollEvent_swigregister(PyObject
*, PyObject
*args
) {
13687 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13688 SWIG_TypeClientData(SWIGTYPE_p_wxScrollEvent
, obj
);
13690 return Py_BuildValue((char *)"");
13692 static PyObject
*_wrap_new_ScrollWinEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13693 PyObject
*resultobj
;
13694 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13695 int arg2
= (int) 0 ;
13696 int arg3
= (int) 0 ;
13697 wxScrollWinEvent
*result
;
13698 PyObject
* obj0
= 0 ;
13699 PyObject
* obj1
= 0 ;
13700 PyObject
* obj2
= 0 ;
13701 char *kwnames
[] = {
13702 (char *) "commandType",(char *) "pos",(char *) "orient", NULL
13705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ScrollWinEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13707 arg1
= (wxEventType
)SWIG_As_int(obj0
);
13708 if (PyErr_Occurred()) SWIG_fail
;
13711 arg2
= (int)SWIG_As_int(obj1
);
13712 if (PyErr_Occurred()) SWIG_fail
;
13715 arg3
= (int)SWIG_As_int(obj2
);
13716 if (PyErr_Occurred()) SWIG_fail
;
13719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13720 result
= (wxScrollWinEvent
*)new wxScrollWinEvent(arg1
,arg2
,arg3
);
13722 wxPyEndAllowThreads(__tstate
);
13723 if (PyErr_Occurred()) SWIG_fail
;
13725 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollWinEvent
, 1);
13732 static PyObject
*_wrap_ScrollWinEvent_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13733 PyObject
*resultobj
;
13734 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13736 PyObject
* obj0
= 0 ;
13737 char *kwnames
[] = {
13738 (char *) "self", NULL
13741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
13742 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
13743 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13746 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetOrientation();
13748 wxPyEndAllowThreads(__tstate
);
13749 if (PyErr_Occurred()) SWIG_fail
;
13751 resultobj
= SWIG_From_int((int)result
);
13758 static PyObject
*_wrap_ScrollWinEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13759 PyObject
*resultobj
;
13760 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13762 PyObject
* obj0
= 0 ;
13763 char *kwnames
[] = {
13764 (char *) "self", NULL
13767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
13768 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
13769 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13772 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetPosition();
13774 wxPyEndAllowThreads(__tstate
);
13775 if (PyErr_Occurred()) SWIG_fail
;
13777 resultobj
= SWIG_From_int((int)result
);
13784 static PyObject
*_wrap_ScrollWinEvent_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13785 PyObject
*resultobj
;
13786 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13788 PyObject
* obj0
= 0 ;
13789 PyObject
* obj1
= 0 ;
13790 char *kwnames
[] = {
13791 (char *) "self",(char *) "orient", NULL
13794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
13795 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
13796 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13797 arg2
= (int)SWIG_As_int(obj1
);
13798 if (PyErr_Occurred()) SWIG_fail
;
13800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13801 (arg1
)->SetOrientation(arg2
);
13803 wxPyEndAllowThreads(__tstate
);
13804 if (PyErr_Occurred()) SWIG_fail
;
13806 Py_INCREF(Py_None
); resultobj
= Py_None
;
13813 static PyObject
*_wrap_ScrollWinEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13814 PyObject
*resultobj
;
13815 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13817 PyObject
* obj0
= 0 ;
13818 PyObject
* obj1
= 0 ;
13819 char *kwnames
[] = {
13820 (char *) "self",(char *) "pos", NULL
13823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
13824 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
13825 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13826 arg2
= (int)SWIG_As_int(obj1
);
13827 if (PyErr_Occurred()) SWIG_fail
;
13829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13830 (arg1
)->SetPosition(arg2
);
13832 wxPyEndAllowThreads(__tstate
);
13833 if (PyErr_Occurred()) SWIG_fail
;
13835 Py_INCREF(Py_None
); resultobj
= Py_None
;
13842 static PyObject
* ScrollWinEvent_swigregister(PyObject
*, PyObject
*args
) {
13844 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13845 SWIG_TypeClientData(SWIGTYPE_p_wxScrollWinEvent
, obj
);
13847 return Py_BuildValue((char *)"");
13849 static PyObject
*_wrap_new_MouseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13850 PyObject
*resultobj
;
13851 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13852 wxMouseEvent
*result
;
13853 PyObject
* obj0
= 0 ;
13854 char *kwnames
[] = {
13855 (char *) "mouseType", NULL
13858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MouseEvent",kwnames
,&obj0
)) goto fail
;
13860 arg1
= (wxEventType
)SWIG_As_int(obj0
);
13861 if (PyErr_Occurred()) SWIG_fail
;
13864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13865 result
= (wxMouseEvent
*)new wxMouseEvent(arg1
);
13867 wxPyEndAllowThreads(__tstate
);
13868 if (PyErr_Occurred()) SWIG_fail
;
13871 resultobj
= wxPyMake_wxObject(result
, 1);
13879 static PyObject
*_wrap_MouseEvent_IsButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13880 PyObject
*resultobj
;
13881 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13883 PyObject
* obj0
= 0 ;
13884 char *kwnames
[] = {
13885 (char *) "self", NULL
13888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsButton",kwnames
,&obj0
)) goto fail
;
13889 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13893 result
= (bool)((wxMouseEvent
const *)arg1
)->IsButton();
13895 wxPyEndAllowThreads(__tstate
);
13896 if (PyErr_Occurred()) SWIG_fail
;
13899 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13907 static PyObject
*_wrap_MouseEvent_ButtonDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13908 PyObject
*resultobj
;
13909 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13910 int arg2
= (int) wxMOUSE_BTN_ANY
;
13912 PyObject
* obj0
= 0 ;
13913 PyObject
* obj1
= 0 ;
13914 char *kwnames
[] = {
13915 (char *) "self",(char *) "but", NULL
13918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) goto fail
;
13919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13922 arg2
= (int)SWIG_As_int(obj1
);
13923 if (PyErr_Occurred()) SWIG_fail
;
13926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13927 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDown(arg2
);
13929 wxPyEndAllowThreads(__tstate
);
13930 if (PyErr_Occurred()) SWIG_fail
;
13933 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13941 static PyObject
*_wrap_MouseEvent_ButtonDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13942 PyObject
*resultobj
;
13943 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13944 int arg2
= (int) wxMOUSE_BTN_ANY
;
13946 PyObject
* obj0
= 0 ;
13947 PyObject
* obj1
= 0 ;
13948 char *kwnames
[] = {
13949 (char *) "self",(char *) "but", NULL
13952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDClick",kwnames
,&obj0
,&obj1
)) goto fail
;
13953 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13954 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13956 arg2
= (int)SWIG_As_int(obj1
);
13957 if (PyErr_Occurred()) SWIG_fail
;
13960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13961 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDClick(arg2
);
13963 wxPyEndAllowThreads(__tstate
);
13964 if (PyErr_Occurred()) SWIG_fail
;
13967 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13975 static PyObject
*_wrap_MouseEvent_ButtonUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13976 PyObject
*resultobj
;
13977 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13978 int arg2
= (int) wxMOUSE_BTN_ANY
;
13980 PyObject
* obj0
= 0 ;
13981 PyObject
* obj1
= 0 ;
13982 char *kwnames
[] = {
13983 (char *) "self",(char *) "but", NULL
13986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) goto fail
;
13987 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13990 arg2
= (int)SWIG_As_int(obj1
);
13991 if (PyErr_Occurred()) SWIG_fail
;
13994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13995 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonUp(arg2
);
13997 wxPyEndAllowThreads(__tstate
);
13998 if (PyErr_Occurred()) SWIG_fail
;
14001 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14009 static PyObject
*_wrap_MouseEvent_Button(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14010 PyObject
*resultobj
;
14011 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14014 PyObject
* obj0
= 0 ;
14015 PyObject
* obj1
= 0 ;
14016 char *kwnames
[] = {
14017 (char *) "self",(char *) "but", NULL
14020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_Button",kwnames
,&obj0
,&obj1
)) goto fail
;
14021 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14022 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14023 arg2
= (int)SWIG_As_int(obj1
);
14024 if (PyErr_Occurred()) SWIG_fail
;
14026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14027 result
= (bool)((wxMouseEvent
const *)arg1
)->Button(arg2
);
14029 wxPyEndAllowThreads(__tstate
);
14030 if (PyErr_Occurred()) SWIG_fail
;
14033 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14041 static PyObject
*_wrap_MouseEvent_ButtonIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14042 PyObject
*resultobj
;
14043 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14046 PyObject
* obj0
= 0 ;
14047 PyObject
* obj1
= 0 ;
14048 char *kwnames
[] = {
14049 (char *) "self",(char *) "but", NULL
14052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) goto fail
;
14053 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14054 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14055 arg2
= (int)SWIG_As_int(obj1
);
14056 if (PyErr_Occurred()) SWIG_fail
;
14058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14059 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonIsDown(arg2
);
14061 wxPyEndAllowThreads(__tstate
);
14062 if (PyErr_Occurred()) SWIG_fail
;
14065 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14073 static PyObject
*_wrap_MouseEvent_GetButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14074 PyObject
*resultobj
;
14075 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14077 PyObject
* obj0
= 0 ;
14078 char *kwnames
[] = {
14079 (char *) "self", NULL
14082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetButton",kwnames
,&obj0
)) goto fail
;
14083 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14084 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14087 result
= (int)((wxMouseEvent
const *)arg1
)->GetButton();
14089 wxPyEndAllowThreads(__tstate
);
14090 if (PyErr_Occurred()) SWIG_fail
;
14092 resultobj
= SWIG_From_int((int)result
);
14099 static PyObject
*_wrap_MouseEvent_ControlDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14100 PyObject
*resultobj
;
14101 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14103 PyObject
* obj0
= 0 ;
14104 char *kwnames
[] = {
14105 (char *) "self", NULL
14108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
14109 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14110 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14113 result
= (bool)((wxMouseEvent
const *)arg1
)->ControlDown();
14115 wxPyEndAllowThreads(__tstate
);
14116 if (PyErr_Occurred()) SWIG_fail
;
14119 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14127 static PyObject
*_wrap_MouseEvent_MetaDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14128 PyObject
*resultobj
;
14129 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14131 PyObject
* obj0
= 0 ;
14132 char *kwnames
[] = {
14133 (char *) "self", NULL
14136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
14137 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14138 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14141 result
= (bool)((wxMouseEvent
const *)arg1
)->MetaDown();
14143 wxPyEndAllowThreads(__tstate
);
14144 if (PyErr_Occurred()) SWIG_fail
;
14147 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14155 static PyObject
*_wrap_MouseEvent_AltDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14156 PyObject
*resultobj
;
14157 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14159 PyObject
* obj0
= 0 ;
14160 char *kwnames
[] = {
14161 (char *) "self", NULL
14164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_AltDown",kwnames
,&obj0
)) goto fail
;
14165 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14166 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14169 result
= (bool)((wxMouseEvent
const *)arg1
)->AltDown();
14171 wxPyEndAllowThreads(__tstate
);
14172 if (PyErr_Occurred()) SWIG_fail
;
14175 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14183 static PyObject
*_wrap_MouseEvent_ShiftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14184 PyObject
*resultobj
;
14185 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14187 PyObject
* obj0
= 0 ;
14188 char *kwnames
[] = {
14189 (char *) "self", NULL
14192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
14193 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14194 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14197 result
= (bool)((wxMouseEvent
const *)arg1
)->ShiftDown();
14199 wxPyEndAllowThreads(__tstate
);
14200 if (PyErr_Occurred()) SWIG_fail
;
14203 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14211 static PyObject
*_wrap_MouseEvent_CmdDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14212 PyObject
*resultobj
;
14213 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14215 PyObject
* obj0
= 0 ;
14216 char *kwnames
[] = {
14217 (char *) "self", NULL
14220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_CmdDown",kwnames
,&obj0
)) goto fail
;
14221 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14222 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14225 result
= (bool)((wxMouseEvent
const *)arg1
)->CmdDown();
14227 wxPyEndAllowThreads(__tstate
);
14228 if (PyErr_Occurred()) SWIG_fail
;
14231 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14239 static PyObject
*_wrap_MouseEvent_LeftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14240 PyObject
*resultobj
;
14241 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14243 PyObject
* obj0
= 0 ;
14244 char *kwnames
[] = {
14245 (char *) "self", NULL
14248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDown",kwnames
,&obj0
)) goto fail
;
14249 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14253 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDown();
14255 wxPyEndAllowThreads(__tstate
);
14256 if (PyErr_Occurred()) SWIG_fail
;
14259 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14267 static PyObject
*_wrap_MouseEvent_MiddleDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14268 PyObject
*resultobj
;
14269 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14271 PyObject
* obj0
= 0 ;
14272 char *kwnames
[] = {
14273 (char *) "self", NULL
14276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDown",kwnames
,&obj0
)) goto fail
;
14277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14281 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDown();
14283 wxPyEndAllowThreads(__tstate
);
14284 if (PyErr_Occurred()) SWIG_fail
;
14287 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14295 static PyObject
*_wrap_MouseEvent_RightDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14296 PyObject
*resultobj
;
14297 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14299 PyObject
* obj0
= 0 ;
14300 char *kwnames
[] = {
14301 (char *) "self", NULL
14304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDown",kwnames
,&obj0
)) goto fail
;
14305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14309 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDown();
14311 wxPyEndAllowThreads(__tstate
);
14312 if (PyErr_Occurred()) SWIG_fail
;
14315 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14323 static PyObject
*_wrap_MouseEvent_LeftUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14324 PyObject
*resultobj
;
14325 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14327 PyObject
* obj0
= 0 ;
14328 char *kwnames
[] = {
14329 (char *) "self", NULL
14332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftUp",kwnames
,&obj0
)) goto fail
;
14333 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14334 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14337 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftUp();
14339 wxPyEndAllowThreads(__tstate
);
14340 if (PyErr_Occurred()) SWIG_fail
;
14343 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14351 static PyObject
*_wrap_MouseEvent_MiddleUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14352 PyObject
*resultobj
;
14353 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14355 PyObject
* obj0
= 0 ;
14356 char *kwnames
[] = {
14357 (char *) "self", NULL
14360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleUp",kwnames
,&obj0
)) goto fail
;
14361 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14362 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14365 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleUp();
14367 wxPyEndAllowThreads(__tstate
);
14368 if (PyErr_Occurred()) SWIG_fail
;
14371 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14379 static PyObject
*_wrap_MouseEvent_RightUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14380 PyObject
*resultobj
;
14381 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14383 PyObject
* obj0
= 0 ;
14384 char *kwnames
[] = {
14385 (char *) "self", NULL
14388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightUp",kwnames
,&obj0
)) goto fail
;
14389 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14393 result
= (bool)((wxMouseEvent
const *)arg1
)->RightUp();
14395 wxPyEndAllowThreads(__tstate
);
14396 if (PyErr_Occurred()) SWIG_fail
;
14399 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14407 static PyObject
*_wrap_MouseEvent_LeftDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14408 PyObject
*resultobj
;
14409 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14411 PyObject
* obj0
= 0 ;
14412 char *kwnames
[] = {
14413 (char *) "self", NULL
14416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDClick",kwnames
,&obj0
)) goto fail
;
14417 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14418 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14421 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDClick();
14423 wxPyEndAllowThreads(__tstate
);
14424 if (PyErr_Occurred()) SWIG_fail
;
14427 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14435 static PyObject
*_wrap_MouseEvent_MiddleDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14436 PyObject
*resultobj
;
14437 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14439 PyObject
* obj0
= 0 ;
14440 char *kwnames
[] = {
14441 (char *) "self", NULL
14444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDClick",kwnames
,&obj0
)) goto fail
;
14445 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14449 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDClick();
14451 wxPyEndAllowThreads(__tstate
);
14452 if (PyErr_Occurred()) SWIG_fail
;
14455 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14463 static PyObject
*_wrap_MouseEvent_RightDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14464 PyObject
*resultobj
;
14465 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14467 PyObject
* obj0
= 0 ;
14468 char *kwnames
[] = {
14469 (char *) "self", NULL
14472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDClick",kwnames
,&obj0
)) goto fail
;
14473 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14477 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDClick();
14479 wxPyEndAllowThreads(__tstate
);
14480 if (PyErr_Occurred()) SWIG_fail
;
14483 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14491 static PyObject
*_wrap_MouseEvent_LeftIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14492 PyObject
*resultobj
;
14493 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14495 PyObject
* obj0
= 0 ;
14496 char *kwnames
[] = {
14497 (char *) "self", NULL
14500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftIsDown",kwnames
,&obj0
)) goto fail
;
14501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14505 result
= (bool)(arg1
)->LeftIsDown();
14507 wxPyEndAllowThreads(__tstate
);
14508 if (PyErr_Occurred()) SWIG_fail
;
14511 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14519 static PyObject
*_wrap_MouseEvent_MiddleIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14520 PyObject
*resultobj
;
14521 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14523 PyObject
* obj0
= 0 ;
14524 char *kwnames
[] = {
14525 (char *) "self", NULL
14528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleIsDown",kwnames
,&obj0
)) goto fail
;
14529 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14533 result
= (bool)(arg1
)->MiddleIsDown();
14535 wxPyEndAllowThreads(__tstate
);
14536 if (PyErr_Occurred()) SWIG_fail
;
14539 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14547 static PyObject
*_wrap_MouseEvent_RightIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14548 PyObject
*resultobj
;
14549 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14551 PyObject
* obj0
= 0 ;
14552 char *kwnames
[] = {
14553 (char *) "self", NULL
14556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightIsDown",kwnames
,&obj0
)) goto fail
;
14557 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14558 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14561 result
= (bool)(arg1
)->RightIsDown();
14563 wxPyEndAllowThreads(__tstate
);
14564 if (PyErr_Occurred()) SWIG_fail
;
14567 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14575 static PyObject
*_wrap_MouseEvent_Dragging(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14576 PyObject
*resultobj
;
14577 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14579 PyObject
* obj0
= 0 ;
14580 char *kwnames
[] = {
14581 (char *) "self", NULL
14584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Dragging",kwnames
,&obj0
)) goto fail
;
14585 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14589 result
= (bool)((wxMouseEvent
const *)arg1
)->Dragging();
14591 wxPyEndAllowThreads(__tstate
);
14592 if (PyErr_Occurred()) SWIG_fail
;
14595 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14603 static PyObject
*_wrap_MouseEvent_Moving(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14604 PyObject
*resultobj
;
14605 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14607 PyObject
* obj0
= 0 ;
14608 char *kwnames
[] = {
14609 (char *) "self", NULL
14612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Moving",kwnames
,&obj0
)) goto fail
;
14613 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14614 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14617 result
= (bool)((wxMouseEvent
const *)arg1
)->Moving();
14619 wxPyEndAllowThreads(__tstate
);
14620 if (PyErr_Occurred()) SWIG_fail
;
14623 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14631 static PyObject
*_wrap_MouseEvent_Entering(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14632 PyObject
*resultobj
;
14633 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14635 PyObject
* obj0
= 0 ;
14636 char *kwnames
[] = {
14637 (char *) "self", NULL
14640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Entering",kwnames
,&obj0
)) goto fail
;
14641 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14642 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14645 result
= (bool)((wxMouseEvent
const *)arg1
)->Entering();
14647 wxPyEndAllowThreads(__tstate
);
14648 if (PyErr_Occurred()) SWIG_fail
;
14651 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14659 static PyObject
*_wrap_MouseEvent_Leaving(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14660 PyObject
*resultobj
;
14661 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14663 PyObject
* obj0
= 0 ;
14664 char *kwnames
[] = {
14665 (char *) "self", NULL
14668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Leaving",kwnames
,&obj0
)) goto fail
;
14669 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14670 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14673 result
= (bool)((wxMouseEvent
const *)arg1
)->Leaving();
14675 wxPyEndAllowThreads(__tstate
);
14676 if (PyErr_Occurred()) SWIG_fail
;
14679 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14687 static PyObject
*_wrap_MouseEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14688 PyObject
*resultobj
;
14689 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14691 PyObject
* obj0
= 0 ;
14692 char *kwnames
[] = {
14693 (char *) "self", NULL
14696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
14697 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14698 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14701 result
= (arg1
)->GetPosition();
14703 wxPyEndAllowThreads(__tstate
);
14704 if (PyErr_Occurred()) SWIG_fail
;
14707 wxPoint
* resultptr
;
14708 resultptr
= new wxPoint((wxPoint
&) result
);
14709 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
14717 static PyObject
*_wrap_MouseEvent_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14718 PyObject
*resultobj
;
14719 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14720 long *arg2
= (long *) 0 ;
14721 long *arg3
= (long *) 0 ;
14726 PyObject
* obj0
= 0 ;
14727 char *kwnames
[] = {
14728 (char *) "self", NULL
14731 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
14732 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
14733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
14734 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14738 (arg1
)->GetPosition(arg2
,arg3
);
14740 wxPyEndAllowThreads(__tstate
);
14741 if (PyErr_Occurred()) SWIG_fail
;
14743 Py_INCREF(Py_None
); resultobj
= Py_None
;
14744 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
14745 SWIG_From_long((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, 0)));
14746 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
14747 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
14754 static PyObject
*_wrap_MouseEvent_GetLogicalPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14755 PyObject
*resultobj
;
14756 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14759 PyObject
* obj0
= 0 ;
14760 PyObject
* obj1
= 0 ;
14761 char *kwnames
[] = {
14762 (char *) "self",(char *) "dc", NULL
14765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_GetLogicalPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
14766 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14767 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14768 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
14769 SWIG_POINTER_EXCEPTION
| 0)) == -1)
14771 if (arg2
== NULL
) {
14772 PyErr_SetString(PyExc_TypeError
,"null reference");
14776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14777 result
= ((wxMouseEvent
const *)arg1
)->GetLogicalPosition((wxDC
const &)*arg2
);
14779 wxPyEndAllowThreads(__tstate
);
14780 if (PyErr_Occurred()) SWIG_fail
;
14783 wxPoint
* resultptr
;
14784 resultptr
= new wxPoint((wxPoint
&) result
);
14785 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
14793 static PyObject
*_wrap_MouseEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14794 PyObject
*resultobj
;
14795 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14797 PyObject
* obj0
= 0 ;
14798 char *kwnames
[] = {
14799 (char *) "self", NULL
14802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetX",kwnames
,&obj0
)) goto fail
;
14803 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14804 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14807 result
= (int)((wxMouseEvent
const *)arg1
)->GetX();
14809 wxPyEndAllowThreads(__tstate
);
14810 if (PyErr_Occurred()) SWIG_fail
;
14812 resultobj
= SWIG_From_int((int)result
);
14819 static PyObject
*_wrap_MouseEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14820 PyObject
*resultobj
;
14821 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14823 PyObject
* obj0
= 0 ;
14824 char *kwnames
[] = {
14825 (char *) "self", NULL
14828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetY",kwnames
,&obj0
)) goto fail
;
14829 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14833 result
= (int)((wxMouseEvent
const *)arg1
)->GetY();
14835 wxPyEndAllowThreads(__tstate
);
14836 if (PyErr_Occurred()) SWIG_fail
;
14838 resultobj
= SWIG_From_int((int)result
);
14845 static PyObject
*_wrap_MouseEvent_GetWheelRotation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14846 PyObject
*resultobj
;
14847 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14849 PyObject
* obj0
= 0 ;
14850 char *kwnames
[] = {
14851 (char *) "self", NULL
14854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelRotation",kwnames
,&obj0
)) goto fail
;
14855 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14856 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14859 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelRotation();
14861 wxPyEndAllowThreads(__tstate
);
14862 if (PyErr_Occurred()) SWIG_fail
;
14864 resultobj
= SWIG_From_int((int)result
);
14871 static PyObject
*_wrap_MouseEvent_GetWheelDelta(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14872 PyObject
*resultobj
;
14873 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14875 PyObject
* obj0
= 0 ;
14876 char *kwnames
[] = {
14877 (char *) "self", NULL
14880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelDelta",kwnames
,&obj0
)) goto fail
;
14881 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14882 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14885 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelDelta();
14887 wxPyEndAllowThreads(__tstate
);
14888 if (PyErr_Occurred()) SWIG_fail
;
14890 resultobj
= SWIG_From_int((int)result
);
14897 static PyObject
*_wrap_MouseEvent_GetLinesPerAction(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14898 PyObject
*resultobj
;
14899 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14901 PyObject
* obj0
= 0 ;
14902 char *kwnames
[] = {
14903 (char *) "self", NULL
14906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetLinesPerAction",kwnames
,&obj0
)) goto fail
;
14907 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14908 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14911 result
= (int)((wxMouseEvent
const *)arg1
)->GetLinesPerAction();
14913 wxPyEndAllowThreads(__tstate
);
14914 if (PyErr_Occurred()) SWIG_fail
;
14916 resultobj
= SWIG_From_int((int)result
);
14923 static PyObject
*_wrap_MouseEvent_IsPageScroll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14924 PyObject
*resultobj
;
14925 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14927 PyObject
* obj0
= 0 ;
14928 char *kwnames
[] = {
14929 (char *) "self", NULL
14932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsPageScroll",kwnames
,&obj0
)) goto fail
;
14933 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14934 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14937 result
= (bool)((wxMouseEvent
const *)arg1
)->IsPageScroll();
14939 wxPyEndAllowThreads(__tstate
);
14940 if (PyErr_Occurred()) SWIG_fail
;
14943 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14951 static PyObject
*_wrap_MouseEvent_m_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14952 PyObject
*resultobj
;
14953 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14955 PyObject
* obj0
= 0 ;
14956 PyObject
* obj1
= 0 ;
14957 char *kwnames
[] = {
14958 (char *) "self",(char *) "m_x", NULL
14961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14962 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14963 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14964 arg2
= (int)SWIG_As_int(obj1
);
14965 if (PyErr_Occurred()) SWIG_fail
;
14966 if (arg1
) (arg1
)->m_x
= arg2
;
14968 Py_INCREF(Py_None
); resultobj
= Py_None
;
14975 static PyObject
*_wrap_MouseEvent_m_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14976 PyObject
*resultobj
;
14977 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14979 PyObject
* obj0
= 0 ;
14980 char *kwnames
[] = {
14981 (char *) "self", NULL
14984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
14985 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14987 result
= (int) ((arg1
)->m_x
);
14989 resultobj
= SWIG_From_int((int)result
);
14996 static PyObject
*_wrap_MouseEvent_m_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14997 PyObject
*resultobj
;
14998 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15000 PyObject
* obj0
= 0 ;
15001 PyObject
* obj1
= 0 ;
15002 char *kwnames
[] = {
15003 (char *) "self",(char *) "m_y", NULL
15006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15007 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15008 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15009 arg2
= (int)SWIG_As_int(obj1
);
15010 if (PyErr_Occurred()) SWIG_fail
;
15011 if (arg1
) (arg1
)->m_y
= arg2
;
15013 Py_INCREF(Py_None
); resultobj
= Py_None
;
15020 static PyObject
*_wrap_MouseEvent_m_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15021 PyObject
*resultobj
;
15022 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15024 PyObject
* obj0
= 0 ;
15025 char *kwnames
[] = {
15026 (char *) "self", NULL
15029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
15030 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15031 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15032 result
= (int) ((arg1
)->m_y
);
15034 resultobj
= SWIG_From_int((int)result
);
15041 static PyObject
*_wrap_MouseEvent_m_leftDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15042 PyObject
*resultobj
;
15043 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15045 PyObject
* obj0
= 0 ;
15046 PyObject
* obj1
= 0 ;
15047 char *kwnames
[] = {
15048 (char *) "self",(char *) "m_leftDown", NULL
15051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_leftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15052 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15053 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15054 arg2
= (bool)SWIG_As_bool(obj1
);
15055 if (PyErr_Occurred()) SWIG_fail
;
15056 if (arg1
) (arg1
)->m_leftDown
= arg2
;
15058 Py_INCREF(Py_None
); resultobj
= Py_None
;
15065 static PyObject
*_wrap_MouseEvent_m_leftDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15066 PyObject
*resultobj
;
15067 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15069 PyObject
* obj0
= 0 ;
15070 char *kwnames
[] = {
15071 (char *) "self", NULL
15074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_leftDown_get",kwnames
,&obj0
)) goto fail
;
15075 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15076 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15077 result
= (bool) ((arg1
)->m_leftDown
);
15080 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15088 static PyObject
*_wrap_MouseEvent_m_middleDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15089 PyObject
*resultobj
;
15090 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15092 PyObject
* obj0
= 0 ;
15093 PyObject
* obj1
= 0 ;
15094 char *kwnames
[] = {
15095 (char *) "self",(char *) "m_middleDown", NULL
15098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_middleDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15099 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15100 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15101 arg2
= (bool)SWIG_As_bool(obj1
);
15102 if (PyErr_Occurred()) SWIG_fail
;
15103 if (arg1
) (arg1
)->m_middleDown
= arg2
;
15105 Py_INCREF(Py_None
); resultobj
= Py_None
;
15112 static PyObject
*_wrap_MouseEvent_m_middleDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15113 PyObject
*resultobj
;
15114 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15116 PyObject
* obj0
= 0 ;
15117 char *kwnames
[] = {
15118 (char *) "self", NULL
15121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_middleDown_get",kwnames
,&obj0
)) goto fail
;
15122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15124 result
= (bool) ((arg1
)->m_middleDown
);
15127 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15135 static PyObject
*_wrap_MouseEvent_m_rightDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15136 PyObject
*resultobj
;
15137 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15139 PyObject
* obj0
= 0 ;
15140 PyObject
* obj1
= 0 ;
15141 char *kwnames
[] = {
15142 (char *) "self",(char *) "m_rightDown", NULL
15145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_rightDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15146 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15147 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15148 arg2
= (bool)SWIG_As_bool(obj1
);
15149 if (PyErr_Occurred()) SWIG_fail
;
15150 if (arg1
) (arg1
)->m_rightDown
= arg2
;
15152 Py_INCREF(Py_None
); resultobj
= Py_None
;
15159 static PyObject
*_wrap_MouseEvent_m_rightDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15160 PyObject
*resultobj
;
15161 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15163 PyObject
* obj0
= 0 ;
15164 char *kwnames
[] = {
15165 (char *) "self", NULL
15168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_rightDown_get",kwnames
,&obj0
)) goto fail
;
15169 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15170 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15171 result
= (bool) ((arg1
)->m_rightDown
);
15174 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15182 static PyObject
*_wrap_MouseEvent_m_controlDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15183 PyObject
*resultobj
;
15184 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15186 PyObject
* obj0
= 0 ;
15187 PyObject
* obj1
= 0 ;
15188 char *kwnames
[] = {
15189 (char *) "self",(char *) "m_controlDown", NULL
15192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15193 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15194 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15195 arg2
= (bool)SWIG_As_bool(obj1
);
15196 if (PyErr_Occurred()) SWIG_fail
;
15197 if (arg1
) (arg1
)->m_controlDown
= arg2
;
15199 Py_INCREF(Py_None
); resultobj
= Py_None
;
15206 static PyObject
*_wrap_MouseEvent_m_controlDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15207 PyObject
*resultobj
;
15208 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15210 PyObject
* obj0
= 0 ;
15211 char *kwnames
[] = {
15212 (char *) "self", NULL
15215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
15216 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15217 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15218 result
= (bool) ((arg1
)->m_controlDown
);
15221 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15229 static PyObject
*_wrap_MouseEvent_m_shiftDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15230 PyObject
*resultobj
;
15231 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15233 PyObject
* obj0
= 0 ;
15234 PyObject
* obj1
= 0 ;
15235 char *kwnames
[] = {
15236 (char *) "self",(char *) "m_shiftDown", NULL
15239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15240 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15241 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15242 arg2
= (bool)SWIG_As_bool(obj1
);
15243 if (PyErr_Occurred()) SWIG_fail
;
15244 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
15246 Py_INCREF(Py_None
); resultobj
= Py_None
;
15253 static PyObject
*_wrap_MouseEvent_m_shiftDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15254 PyObject
*resultobj
;
15255 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15257 PyObject
* obj0
= 0 ;
15258 char *kwnames
[] = {
15259 (char *) "self", NULL
15262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
15263 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15264 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15265 result
= (bool) ((arg1
)->m_shiftDown
);
15268 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15276 static PyObject
*_wrap_MouseEvent_m_altDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15277 PyObject
*resultobj
;
15278 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15280 PyObject
* obj0
= 0 ;
15281 PyObject
* obj1
= 0 ;
15282 char *kwnames
[] = {
15283 (char *) "self",(char *) "m_altDown", NULL
15286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15287 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15289 arg2
= (bool)SWIG_As_bool(obj1
);
15290 if (PyErr_Occurred()) SWIG_fail
;
15291 if (arg1
) (arg1
)->m_altDown
= arg2
;
15293 Py_INCREF(Py_None
); resultobj
= Py_None
;
15300 static PyObject
*_wrap_MouseEvent_m_altDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15301 PyObject
*resultobj
;
15302 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15304 PyObject
* obj0
= 0 ;
15305 char *kwnames
[] = {
15306 (char *) "self", NULL
15309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
15310 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15311 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15312 result
= (bool) ((arg1
)->m_altDown
);
15315 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15323 static PyObject
*_wrap_MouseEvent_m_metaDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15324 PyObject
*resultobj
;
15325 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15327 PyObject
* obj0
= 0 ;
15328 PyObject
* obj1
= 0 ;
15329 char *kwnames
[] = {
15330 (char *) "self",(char *) "m_metaDown", NULL
15333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15334 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15335 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15336 arg2
= (bool)SWIG_As_bool(obj1
);
15337 if (PyErr_Occurred()) SWIG_fail
;
15338 if (arg1
) (arg1
)->m_metaDown
= arg2
;
15340 Py_INCREF(Py_None
); resultobj
= Py_None
;
15347 static PyObject
*_wrap_MouseEvent_m_metaDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15348 PyObject
*resultobj
;
15349 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15351 PyObject
* obj0
= 0 ;
15352 char *kwnames
[] = {
15353 (char *) "self", NULL
15356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
15357 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15358 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15359 result
= (bool) ((arg1
)->m_metaDown
);
15362 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15370 static PyObject
*_wrap_MouseEvent_m_wheelRotation_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15371 PyObject
*resultobj
;
15372 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15374 PyObject
* obj0
= 0 ;
15375 PyObject
* obj1
= 0 ;
15376 char *kwnames
[] = {
15377 (char *) "self",(char *) "m_wheelRotation", NULL
15380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_wheelRotation_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15381 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15383 arg2
= (int)SWIG_As_int(obj1
);
15384 if (PyErr_Occurred()) SWIG_fail
;
15385 if (arg1
) (arg1
)->m_wheelRotation
= arg2
;
15387 Py_INCREF(Py_None
); resultobj
= Py_None
;
15394 static PyObject
*_wrap_MouseEvent_m_wheelRotation_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15395 PyObject
*resultobj
;
15396 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15398 PyObject
* obj0
= 0 ;
15399 char *kwnames
[] = {
15400 (char *) "self", NULL
15403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelRotation_get",kwnames
,&obj0
)) goto fail
;
15404 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15405 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15406 result
= (int) ((arg1
)->m_wheelRotation
);
15408 resultobj
= SWIG_From_int((int)result
);
15415 static PyObject
*_wrap_MouseEvent_m_wheelDelta_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15416 PyObject
*resultobj
;
15417 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15419 PyObject
* obj0
= 0 ;
15420 PyObject
* obj1
= 0 ;
15421 char *kwnames
[] = {
15422 (char *) "self",(char *) "m_wheelDelta", NULL
15425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_wheelDelta_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15426 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15427 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15428 arg2
= (int)SWIG_As_int(obj1
);
15429 if (PyErr_Occurred()) SWIG_fail
;
15430 if (arg1
) (arg1
)->m_wheelDelta
= arg2
;
15432 Py_INCREF(Py_None
); resultobj
= Py_None
;
15439 static PyObject
*_wrap_MouseEvent_m_wheelDelta_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15440 PyObject
*resultobj
;
15441 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15443 PyObject
* obj0
= 0 ;
15444 char *kwnames
[] = {
15445 (char *) "self", NULL
15448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelDelta_get",kwnames
,&obj0
)) goto fail
;
15449 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15450 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15451 result
= (int) ((arg1
)->m_wheelDelta
);
15453 resultobj
= SWIG_From_int((int)result
);
15460 static PyObject
*_wrap_MouseEvent_m_linesPerAction_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15461 PyObject
*resultobj
;
15462 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15464 PyObject
* obj0
= 0 ;
15465 PyObject
* obj1
= 0 ;
15466 char *kwnames
[] = {
15467 (char *) "self",(char *) "m_linesPerAction", NULL
15470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_linesPerAction_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15471 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15472 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15473 arg2
= (int)SWIG_As_int(obj1
);
15474 if (PyErr_Occurred()) SWIG_fail
;
15475 if (arg1
) (arg1
)->m_linesPerAction
= arg2
;
15477 Py_INCREF(Py_None
); resultobj
= Py_None
;
15484 static PyObject
*_wrap_MouseEvent_m_linesPerAction_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15485 PyObject
*resultobj
;
15486 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15488 PyObject
* obj0
= 0 ;
15489 char *kwnames
[] = {
15490 (char *) "self", NULL
15493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_linesPerAction_get",kwnames
,&obj0
)) goto fail
;
15494 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15495 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15496 result
= (int) ((arg1
)->m_linesPerAction
);
15498 resultobj
= SWIG_From_int((int)result
);
15505 static PyObject
* MouseEvent_swigregister(PyObject
*, PyObject
*args
) {
15507 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15508 SWIG_TypeClientData(SWIGTYPE_p_wxMouseEvent
, obj
);
15510 return Py_BuildValue((char *)"");
15512 static PyObject
*_wrap_new_SetCursorEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15513 PyObject
*resultobj
;
15514 int arg1
= (int) 0 ;
15515 int arg2
= (int) 0 ;
15516 wxSetCursorEvent
*result
;
15517 PyObject
* obj0
= 0 ;
15518 PyObject
* obj1
= 0 ;
15519 char *kwnames
[] = {
15520 (char *) "x",(char *) "y", NULL
15523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SetCursorEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
15525 arg1
= (int)SWIG_As_int(obj0
);
15526 if (PyErr_Occurred()) SWIG_fail
;
15529 arg2
= (int)SWIG_As_int(obj1
);
15530 if (PyErr_Occurred()) SWIG_fail
;
15533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15534 result
= (wxSetCursorEvent
*)new wxSetCursorEvent(arg1
,arg2
);
15536 wxPyEndAllowThreads(__tstate
);
15537 if (PyErr_Occurred()) SWIG_fail
;
15539 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSetCursorEvent
, 1);
15546 static PyObject
*_wrap_SetCursorEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15547 PyObject
*resultobj
;
15548 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15550 PyObject
* obj0
= 0 ;
15551 char *kwnames
[] = {
15552 (char *) "self", NULL
15555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetX",kwnames
,&obj0
)) goto fail
;
15556 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15560 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetX();
15562 wxPyEndAllowThreads(__tstate
);
15563 if (PyErr_Occurred()) SWIG_fail
;
15565 resultobj
= SWIG_From_int((int)result
);
15572 static PyObject
*_wrap_SetCursorEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15573 PyObject
*resultobj
;
15574 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15576 PyObject
* obj0
= 0 ;
15577 char *kwnames
[] = {
15578 (char *) "self", NULL
15581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetY",kwnames
,&obj0
)) goto fail
;
15582 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15583 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15586 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetY();
15588 wxPyEndAllowThreads(__tstate
);
15589 if (PyErr_Occurred()) SWIG_fail
;
15591 resultobj
= SWIG_From_int((int)result
);
15598 static PyObject
*_wrap_SetCursorEvent_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15599 PyObject
*resultobj
;
15600 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15601 wxCursor
*arg2
= 0 ;
15602 PyObject
* obj0
= 0 ;
15603 PyObject
* obj1
= 0 ;
15604 char *kwnames
[] = {
15605 (char *) "self",(char *) "cursor", NULL
15608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SetCursorEvent_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
15609 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15611 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
15612 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15614 if (arg2
== NULL
) {
15615 PyErr_SetString(PyExc_TypeError
,"null reference");
15619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15620 (arg1
)->SetCursor((wxCursor
const &)*arg2
);
15622 wxPyEndAllowThreads(__tstate
);
15623 if (PyErr_Occurred()) SWIG_fail
;
15625 Py_INCREF(Py_None
); resultobj
= Py_None
;
15632 static PyObject
*_wrap_SetCursorEvent_GetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15633 PyObject
*resultobj
;
15634 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15636 PyObject
* obj0
= 0 ;
15637 char *kwnames
[] = {
15638 (char *) "self", NULL
15641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetCursor",kwnames
,&obj0
)) goto fail
;
15642 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15643 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15647 wxCursor
const &_result_ref
= ((wxSetCursorEvent
const *)arg1
)->GetCursor();
15648 result
= (wxCursor
*) &_result_ref
;
15651 wxPyEndAllowThreads(__tstate
);
15652 if (PyErr_Occurred()) SWIG_fail
;
15655 wxCursor
* resultptr
= new wxCursor(*result
);
15656 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxCursor
, 1);
15664 static PyObject
*_wrap_SetCursorEvent_HasCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15665 PyObject
*resultobj
;
15666 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15668 PyObject
* obj0
= 0 ;
15669 char *kwnames
[] = {
15670 (char *) "self", NULL
15673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_HasCursor",kwnames
,&obj0
)) goto fail
;
15674 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15675 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15678 result
= (bool)((wxSetCursorEvent
const *)arg1
)->HasCursor();
15680 wxPyEndAllowThreads(__tstate
);
15681 if (PyErr_Occurred()) SWIG_fail
;
15684 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15692 static PyObject
* SetCursorEvent_swigregister(PyObject
*, PyObject
*args
) {
15694 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15695 SWIG_TypeClientData(SWIGTYPE_p_wxSetCursorEvent
, obj
);
15697 return Py_BuildValue((char *)"");
15699 static PyObject
*_wrap_new_KeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15700 PyObject
*resultobj
;
15701 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15702 wxKeyEvent
*result
;
15703 PyObject
* obj0
= 0 ;
15704 char *kwnames
[] = {
15705 (char *) "keyType", NULL
15708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_KeyEvent",kwnames
,&obj0
)) goto fail
;
15710 arg1
= (wxEventType
)SWIG_As_int(obj0
);
15711 if (PyErr_Occurred()) SWIG_fail
;
15714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15715 result
= (wxKeyEvent
*)new wxKeyEvent(arg1
);
15717 wxPyEndAllowThreads(__tstate
);
15718 if (PyErr_Occurred()) SWIG_fail
;
15720 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxKeyEvent
, 1);
15727 static PyObject
*_wrap_KeyEvent_ControlDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15728 PyObject
*resultobj
;
15729 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15731 PyObject
* obj0
= 0 ;
15732 char *kwnames
[] = {
15733 (char *) "self", NULL
15736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
15737 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15738 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15741 result
= (bool)((wxKeyEvent
const *)arg1
)->ControlDown();
15743 wxPyEndAllowThreads(__tstate
);
15744 if (PyErr_Occurred()) SWIG_fail
;
15747 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15755 static PyObject
*_wrap_KeyEvent_MetaDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15756 PyObject
*resultobj
;
15757 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15759 PyObject
* obj0
= 0 ;
15760 char *kwnames
[] = {
15761 (char *) "self", NULL
15764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
15765 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15766 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15769 result
= (bool)((wxKeyEvent
const *)arg1
)->MetaDown();
15771 wxPyEndAllowThreads(__tstate
);
15772 if (PyErr_Occurred()) SWIG_fail
;
15775 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15783 static PyObject
*_wrap_KeyEvent_AltDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15784 PyObject
*resultobj
;
15785 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15787 PyObject
* obj0
= 0 ;
15788 char *kwnames
[] = {
15789 (char *) "self", NULL
15792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_AltDown",kwnames
,&obj0
)) goto fail
;
15793 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15794 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15797 result
= (bool)((wxKeyEvent
const *)arg1
)->AltDown();
15799 wxPyEndAllowThreads(__tstate
);
15800 if (PyErr_Occurred()) SWIG_fail
;
15803 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15811 static PyObject
*_wrap_KeyEvent_ShiftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15812 PyObject
*resultobj
;
15813 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15815 PyObject
* obj0
= 0 ;
15816 char *kwnames
[] = {
15817 (char *) "self", NULL
15820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
15821 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15825 result
= (bool)((wxKeyEvent
const *)arg1
)->ShiftDown();
15827 wxPyEndAllowThreads(__tstate
);
15828 if (PyErr_Occurred()) SWIG_fail
;
15831 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15839 static PyObject
*_wrap_KeyEvent_CmdDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15840 PyObject
*resultobj
;
15841 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15843 PyObject
* obj0
= 0 ;
15844 char *kwnames
[] = {
15845 (char *) "self", NULL
15848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_CmdDown",kwnames
,&obj0
)) goto fail
;
15849 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15853 result
= (bool)((wxKeyEvent
const *)arg1
)->CmdDown();
15855 wxPyEndAllowThreads(__tstate
);
15856 if (PyErr_Occurred()) SWIG_fail
;
15859 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15867 static PyObject
*_wrap_KeyEvent_HasModifiers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15868 PyObject
*resultobj
;
15869 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15871 PyObject
* obj0
= 0 ;
15872 char *kwnames
[] = {
15873 (char *) "self", NULL
15876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_HasModifiers",kwnames
,&obj0
)) goto fail
;
15877 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15878 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15881 result
= (bool)((wxKeyEvent
const *)arg1
)->HasModifiers();
15883 wxPyEndAllowThreads(__tstate
);
15884 if (PyErr_Occurred()) SWIG_fail
;
15887 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15895 static PyObject
*_wrap_KeyEvent_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15896 PyObject
*resultobj
;
15897 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15899 PyObject
* obj0
= 0 ;
15900 char *kwnames
[] = {
15901 (char *) "self", NULL
15904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
15905 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15906 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15909 result
= (int)((wxKeyEvent
const *)arg1
)->GetKeyCode();
15911 wxPyEndAllowThreads(__tstate
);
15912 if (PyErr_Occurred()) SWIG_fail
;
15914 resultobj
= SWIG_From_int((int)result
);
15921 static PyObject
*_wrap_KeyEvent_GetUnicodeKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15922 PyObject
*resultobj
;
15923 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15925 PyObject
* obj0
= 0 ;
15926 char *kwnames
[] = {
15927 (char *) "self", NULL
15930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetUnicodeKey",kwnames
,&obj0
)) goto fail
;
15931 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15935 result
= (int)wxKeyEvent_GetUnicodeKey(arg1
);
15937 wxPyEndAllowThreads(__tstate
);
15938 if (PyErr_Occurred()) SWIG_fail
;
15940 resultobj
= SWIG_From_int((int)result
);
15947 static PyObject
*_wrap_KeyEvent_GetRawKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15948 PyObject
*resultobj
;
15949 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15950 unsigned int result
;
15951 PyObject
* obj0
= 0 ;
15952 char *kwnames
[] = {
15953 (char *) "self", NULL
15956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyCode",kwnames
,&obj0
)) goto fail
;
15957 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15958 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15961 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyCode();
15963 wxPyEndAllowThreads(__tstate
);
15964 if (PyErr_Occurred()) SWIG_fail
;
15966 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)result
);
15973 static PyObject
*_wrap_KeyEvent_GetRawKeyFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15974 PyObject
*resultobj
;
15975 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15976 unsigned int result
;
15977 PyObject
* obj0
= 0 ;
15978 char *kwnames
[] = {
15979 (char *) "self", NULL
15982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyFlags",kwnames
,&obj0
)) goto fail
;
15983 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15984 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15987 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyFlags();
15989 wxPyEndAllowThreads(__tstate
);
15990 if (PyErr_Occurred()) SWIG_fail
;
15992 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)result
);
15999 static PyObject
*_wrap_KeyEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16000 PyObject
*resultobj
;
16001 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16003 PyObject
* obj0
= 0 ;
16004 char *kwnames
[] = {
16005 (char *) "self", NULL
16008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
16009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16013 result
= (arg1
)->GetPosition();
16015 wxPyEndAllowThreads(__tstate
);
16016 if (PyErr_Occurred()) SWIG_fail
;
16019 wxPoint
* resultptr
;
16020 resultptr
= new wxPoint((wxPoint
&) result
);
16021 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
16029 static PyObject
*_wrap_KeyEvent_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16030 PyObject
*resultobj
;
16031 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16032 long *arg2
= (long *) 0 ;
16033 long *arg3
= (long *) 0 ;
16038 PyObject
* obj0
= 0 ;
16039 char *kwnames
[] = {
16040 (char *) "self", NULL
16043 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
16044 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
16045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
16046 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16047 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16050 (arg1
)->GetPosition(arg2
,arg3
);
16052 wxPyEndAllowThreads(__tstate
);
16053 if (PyErr_Occurred()) SWIG_fail
;
16055 Py_INCREF(Py_None
); resultobj
= Py_None
;
16056 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
16057 SWIG_From_long((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, 0)));
16058 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
16059 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
16066 static PyObject
*_wrap_KeyEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16067 PyObject
*resultobj
;
16068 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16070 PyObject
* obj0
= 0 ;
16071 char *kwnames
[] = {
16072 (char *) "self", NULL
16075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetX",kwnames
,&obj0
)) goto fail
;
16076 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16077 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16080 result
= (int)((wxKeyEvent
const *)arg1
)->GetX();
16082 wxPyEndAllowThreads(__tstate
);
16083 if (PyErr_Occurred()) SWIG_fail
;
16085 resultobj
= SWIG_From_int((int)result
);
16092 static PyObject
*_wrap_KeyEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16093 PyObject
*resultobj
;
16094 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16096 PyObject
* obj0
= 0 ;
16097 char *kwnames
[] = {
16098 (char *) "self", NULL
16101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetY",kwnames
,&obj0
)) goto fail
;
16102 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16103 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16106 result
= (int)((wxKeyEvent
const *)arg1
)->GetY();
16108 wxPyEndAllowThreads(__tstate
);
16109 if (PyErr_Occurred()) SWIG_fail
;
16111 resultobj
= SWIG_From_int((int)result
);
16118 static PyObject
*_wrap_KeyEvent_m_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16119 PyObject
*resultobj
;
16120 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16122 PyObject
* obj0
= 0 ;
16123 PyObject
* obj1
= 0 ;
16124 char *kwnames
[] = {
16125 (char *) "self",(char *) "m_x", NULL
16128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16129 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16131 arg2
= (int)SWIG_As_int(obj1
);
16132 if (PyErr_Occurred()) SWIG_fail
;
16133 if (arg1
) (arg1
)->m_x
= arg2
;
16135 Py_INCREF(Py_None
); resultobj
= Py_None
;
16142 static PyObject
*_wrap_KeyEvent_m_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16143 PyObject
*resultobj
;
16144 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16146 PyObject
* obj0
= 0 ;
16147 char *kwnames
[] = {
16148 (char *) "self", NULL
16151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
16152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16154 result
= (int) ((arg1
)->m_x
);
16156 resultobj
= SWIG_From_int((int)result
);
16163 static PyObject
*_wrap_KeyEvent_m_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16164 PyObject
*resultobj
;
16165 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16167 PyObject
* obj0
= 0 ;
16168 PyObject
* obj1
= 0 ;
16169 char *kwnames
[] = {
16170 (char *) "self",(char *) "m_y", NULL
16173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16174 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16175 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16176 arg2
= (int)SWIG_As_int(obj1
);
16177 if (PyErr_Occurred()) SWIG_fail
;
16178 if (arg1
) (arg1
)->m_y
= arg2
;
16180 Py_INCREF(Py_None
); resultobj
= Py_None
;
16187 static PyObject
*_wrap_KeyEvent_m_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16188 PyObject
*resultobj
;
16189 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16191 PyObject
* obj0
= 0 ;
16192 char *kwnames
[] = {
16193 (char *) "self", NULL
16196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
16197 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16198 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16199 result
= (int) ((arg1
)->m_y
);
16201 resultobj
= SWIG_From_int((int)result
);
16208 static PyObject
*_wrap_KeyEvent_m_keyCode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16209 PyObject
*resultobj
;
16210 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16212 PyObject
* obj0
= 0 ;
16213 PyObject
* obj1
= 0 ;
16214 char *kwnames
[] = {
16215 (char *) "self",(char *) "m_keyCode", NULL
16218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_keyCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16219 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16220 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16221 arg2
= (long)SWIG_As_long(obj1
);
16222 if (PyErr_Occurred()) SWIG_fail
;
16223 if (arg1
) (arg1
)->m_keyCode
= arg2
;
16225 Py_INCREF(Py_None
); resultobj
= Py_None
;
16232 static PyObject
*_wrap_KeyEvent_m_keyCode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16233 PyObject
*resultobj
;
16234 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16236 PyObject
* obj0
= 0 ;
16237 char *kwnames
[] = {
16238 (char *) "self", NULL
16241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_keyCode_get",kwnames
,&obj0
)) goto fail
;
16242 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16243 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16244 result
= (long) ((arg1
)->m_keyCode
);
16246 resultobj
= SWIG_From_long((long)result
);
16253 static PyObject
*_wrap_KeyEvent_m_controlDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16254 PyObject
*resultobj
;
16255 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16257 PyObject
* obj0
= 0 ;
16258 PyObject
* obj1
= 0 ;
16259 char *kwnames
[] = {
16260 (char *) "self",(char *) "m_controlDown", NULL
16263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16266 arg2
= (bool)SWIG_As_bool(obj1
);
16267 if (PyErr_Occurred()) SWIG_fail
;
16268 if (arg1
) (arg1
)->m_controlDown
= arg2
;
16270 Py_INCREF(Py_None
); resultobj
= Py_None
;
16277 static PyObject
*_wrap_KeyEvent_m_controlDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16278 PyObject
*resultobj
;
16279 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16281 PyObject
* obj0
= 0 ;
16282 char *kwnames
[] = {
16283 (char *) "self", NULL
16286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
16287 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16289 result
= (bool) ((arg1
)->m_controlDown
);
16292 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16300 static PyObject
*_wrap_KeyEvent_m_shiftDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16301 PyObject
*resultobj
;
16302 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16304 PyObject
* obj0
= 0 ;
16305 PyObject
* obj1
= 0 ;
16306 char *kwnames
[] = {
16307 (char *) "self",(char *) "m_shiftDown", NULL
16310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16311 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16313 arg2
= (bool)SWIG_As_bool(obj1
);
16314 if (PyErr_Occurred()) SWIG_fail
;
16315 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
16317 Py_INCREF(Py_None
); resultobj
= Py_None
;
16324 static PyObject
*_wrap_KeyEvent_m_shiftDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16325 PyObject
*resultobj
;
16326 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16328 PyObject
* obj0
= 0 ;
16329 char *kwnames
[] = {
16330 (char *) "self", NULL
16333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
16334 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16335 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16336 result
= (bool) ((arg1
)->m_shiftDown
);
16339 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16347 static PyObject
*_wrap_KeyEvent_m_altDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16348 PyObject
*resultobj
;
16349 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16351 PyObject
* obj0
= 0 ;
16352 PyObject
* obj1
= 0 ;
16353 char *kwnames
[] = {
16354 (char *) "self",(char *) "m_altDown", NULL
16357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16360 arg2
= (bool)SWIG_As_bool(obj1
);
16361 if (PyErr_Occurred()) SWIG_fail
;
16362 if (arg1
) (arg1
)->m_altDown
= arg2
;
16364 Py_INCREF(Py_None
); resultobj
= Py_None
;
16371 static PyObject
*_wrap_KeyEvent_m_altDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16372 PyObject
*resultobj
;
16373 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16375 PyObject
* obj0
= 0 ;
16376 char *kwnames
[] = {
16377 (char *) "self", NULL
16380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
16381 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16383 result
= (bool) ((arg1
)->m_altDown
);
16386 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16394 static PyObject
*_wrap_KeyEvent_m_metaDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16395 PyObject
*resultobj
;
16396 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16398 PyObject
* obj0
= 0 ;
16399 PyObject
* obj1
= 0 ;
16400 char *kwnames
[] = {
16401 (char *) "self",(char *) "m_metaDown", NULL
16404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16407 arg2
= (bool)SWIG_As_bool(obj1
);
16408 if (PyErr_Occurred()) SWIG_fail
;
16409 if (arg1
) (arg1
)->m_metaDown
= arg2
;
16411 Py_INCREF(Py_None
); resultobj
= Py_None
;
16418 static PyObject
*_wrap_KeyEvent_m_metaDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16419 PyObject
*resultobj
;
16420 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16422 PyObject
* obj0
= 0 ;
16423 char *kwnames
[] = {
16424 (char *) "self", NULL
16427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
16428 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16429 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16430 result
= (bool) ((arg1
)->m_metaDown
);
16433 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16441 static PyObject
*_wrap_KeyEvent_m_scanCode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16442 PyObject
*resultobj
;
16443 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16445 PyObject
* obj0
= 0 ;
16446 PyObject
* obj1
= 0 ;
16447 char *kwnames
[] = {
16448 (char *) "self",(char *) "m_scanCode", NULL
16451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_scanCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16452 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16453 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16454 arg2
= (bool)SWIG_As_bool(obj1
);
16455 if (PyErr_Occurred()) SWIG_fail
;
16456 if (arg1
) (arg1
)->m_scanCode
= arg2
;
16458 Py_INCREF(Py_None
); resultobj
= Py_None
;
16465 static PyObject
*_wrap_KeyEvent_m_scanCode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16466 PyObject
*resultobj
;
16467 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16469 PyObject
* obj0
= 0 ;
16470 char *kwnames
[] = {
16471 (char *) "self", NULL
16474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_scanCode_get",kwnames
,&obj0
)) goto fail
;
16475 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16476 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16477 result
= (bool) ((arg1
)->m_scanCode
);
16480 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16488 static PyObject
*_wrap_KeyEvent_m_rawCode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16489 PyObject
*resultobj
;
16490 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16491 unsigned int arg2
;
16492 PyObject
* obj0
= 0 ;
16493 PyObject
* obj1
= 0 ;
16494 char *kwnames
[] = {
16495 (char *) "self",(char *) "m_rawCode", NULL
16498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16499 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16500 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16501 arg2
= (unsigned int)SWIG_As_unsigned_SS_int(obj1
);
16502 if (PyErr_Occurred()) SWIG_fail
;
16503 if (arg1
) (arg1
)->m_rawCode
= arg2
;
16505 Py_INCREF(Py_None
); resultobj
= Py_None
;
16512 static PyObject
*_wrap_KeyEvent_m_rawCode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16513 PyObject
*resultobj
;
16514 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16515 unsigned int result
;
16516 PyObject
* obj0
= 0 ;
16517 char *kwnames
[] = {
16518 (char *) "self", NULL
16521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawCode_get",kwnames
,&obj0
)) goto fail
;
16522 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16523 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16524 result
= (unsigned int) ((arg1
)->m_rawCode
);
16526 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)result
);
16533 static PyObject
*_wrap_KeyEvent_m_rawFlags_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16534 PyObject
*resultobj
;
16535 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16536 unsigned int arg2
;
16537 PyObject
* obj0
= 0 ;
16538 PyObject
* obj1
= 0 ;
16539 char *kwnames
[] = {
16540 (char *) "self",(char *) "m_rawFlags", NULL
16543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawFlags_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16544 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16545 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16546 arg2
= (unsigned int)SWIG_As_unsigned_SS_int(obj1
);
16547 if (PyErr_Occurred()) SWIG_fail
;
16548 if (arg1
) (arg1
)->m_rawFlags
= arg2
;
16550 Py_INCREF(Py_None
); resultobj
= Py_None
;
16557 static PyObject
*_wrap_KeyEvent_m_rawFlags_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16558 PyObject
*resultobj
;
16559 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16560 unsigned int result
;
16561 PyObject
* obj0
= 0 ;
16562 char *kwnames
[] = {
16563 (char *) "self", NULL
16566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawFlags_get",kwnames
,&obj0
)) goto fail
;
16567 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16568 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16569 result
= (unsigned int) ((arg1
)->m_rawFlags
);
16571 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)result
);
16578 static PyObject
* KeyEvent_swigregister(PyObject
*, PyObject
*args
) {
16580 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16581 SWIG_TypeClientData(SWIGTYPE_p_wxKeyEvent
, obj
);
16583 return Py_BuildValue((char *)"");
16585 static PyObject
*_wrap_new_SizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16586 PyObject
*resultobj
;
16587 wxSize
const &arg1_defvalue
= wxDefaultSize
;
16588 wxSize
*arg1
= (wxSize
*) &arg1_defvalue
;
16589 int arg2
= (int) 0 ;
16590 wxSizeEvent
*result
;
16592 PyObject
* obj0
= 0 ;
16593 PyObject
* obj1
= 0 ;
16594 char *kwnames
[] = {
16595 (char *) "sz",(char *) "winid", NULL
16598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SizeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16602 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
16606 arg2
= (int)SWIG_As_int(obj1
);
16607 if (PyErr_Occurred()) SWIG_fail
;
16610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16611 result
= (wxSizeEvent
*)new wxSizeEvent((wxSize
const &)*arg1
,arg2
);
16613 wxPyEndAllowThreads(__tstate
);
16614 if (PyErr_Occurred()) SWIG_fail
;
16616 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizeEvent
, 1);
16623 static PyObject
*_wrap_SizeEvent_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16624 PyObject
*resultobj
;
16625 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16627 PyObject
* obj0
= 0 ;
16628 char *kwnames
[] = {
16629 (char *) "self", NULL
16632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetSize",kwnames
,&obj0
)) goto fail
;
16633 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16634 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16637 result
= ((wxSizeEvent
const *)arg1
)->GetSize();
16639 wxPyEndAllowThreads(__tstate
);
16640 if (PyErr_Occurred()) SWIG_fail
;
16643 wxSize
* resultptr
;
16644 resultptr
= new wxSize((wxSize
&) result
);
16645 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16653 static PyObject
*_wrap_SizeEvent_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16654 PyObject
*resultobj
;
16655 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16657 PyObject
* obj0
= 0 ;
16658 char *kwnames
[] = {
16659 (char *) "self", NULL
16662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetRect",kwnames
,&obj0
)) goto fail
;
16663 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16664 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16667 result
= ((wxSizeEvent
const *)arg1
)->GetRect();
16669 wxPyEndAllowThreads(__tstate
);
16670 if (PyErr_Occurred()) SWIG_fail
;
16673 wxRect
* resultptr
;
16674 resultptr
= new wxRect((wxRect
&) result
);
16675 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
16683 static PyObject
*_wrap_SizeEvent_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16684 PyObject
*resultobj
;
16685 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16688 PyObject
* obj0
= 0 ;
16689 PyObject
* obj1
= 0 ;
16690 char *kwnames
[] = {
16691 (char *) "self",(char *) "rect", NULL
16694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
16695 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16696 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16697 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxRect
,
16698 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
16701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16702 (arg1
)->SetRect(arg2
);
16704 wxPyEndAllowThreads(__tstate
);
16705 if (PyErr_Occurred()) SWIG_fail
;
16707 Py_INCREF(Py_None
); resultobj
= Py_None
;
16714 static PyObject
*_wrap_SizeEvent_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16715 PyObject
*resultobj
;
16716 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16719 PyObject
* obj0
= 0 ;
16720 PyObject
* obj1
= 0 ;
16721 char *kwnames
[] = {
16722 (char *) "self",(char *) "size", NULL
16725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
16726 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16727 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16728 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxSize
,
16729 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
16732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16733 wxSizeEvent_SetSize(arg1
,arg2
);
16735 wxPyEndAllowThreads(__tstate
);
16736 if (PyErr_Occurred()) SWIG_fail
;
16738 Py_INCREF(Py_None
); resultobj
= Py_None
;
16745 static PyObject
*_wrap_SizeEvent_m_size_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16746 PyObject
*resultobj
;
16747 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16748 wxSize
*arg2
= (wxSize
*) 0 ;
16749 PyObject
* obj0
= 0 ;
16750 PyObject
* obj1
= 0 ;
16751 char *kwnames
[] = {
16752 (char *) "self",(char *) "m_size", NULL
16755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_size_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16756 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16757 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16758 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSize
,
16759 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16760 if (arg1
) (arg1
)->m_size
= *arg2
;
16762 Py_INCREF(Py_None
); resultobj
= Py_None
;
16769 static PyObject
*_wrap_SizeEvent_m_size_get(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_m_size_get",kwnames
,&obj0
)) goto fail
;
16779 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16780 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16781 result
= (wxSize
*)& ((arg1
)->m_size
);
16783 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
16790 static PyObject
*_wrap_SizeEvent_m_rect_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16791 PyObject
*resultobj
;
16792 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16793 wxRect
*arg2
= (wxRect
*) 0 ;
16794 PyObject
* obj0
= 0 ;
16795 PyObject
* obj1
= 0 ;
16796 char *kwnames
[] = {
16797 (char *) "self",(char *) "m_rect", NULL
16800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_rect_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16801 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16802 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16803 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRect
,
16804 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16805 if (arg1
) (arg1
)->m_rect
= *arg2
;
16807 Py_INCREF(Py_None
); resultobj
= Py_None
;
16814 static PyObject
*_wrap_SizeEvent_m_rect_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16815 PyObject
*resultobj
;
16816 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16818 PyObject
* obj0
= 0 ;
16819 char *kwnames
[] = {
16820 (char *) "self", NULL
16823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_rect_get",kwnames
,&obj0
)) goto fail
;
16824 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16825 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16826 result
= (wxRect
*)& ((arg1
)->m_rect
);
16828 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
16835 static PyObject
* SizeEvent_swigregister(PyObject
*, PyObject
*args
) {
16837 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16838 SWIG_TypeClientData(SWIGTYPE_p_wxSizeEvent
, obj
);
16840 return Py_BuildValue((char *)"");
16842 static PyObject
*_wrap_new_MoveEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16843 PyObject
*resultobj
;
16844 wxPoint
const &arg1_defvalue
= wxDefaultPosition
;
16845 wxPoint
*arg1
= (wxPoint
*) &arg1_defvalue
;
16846 int arg2
= (int) 0 ;
16847 wxMoveEvent
*result
;
16849 PyObject
* obj0
= 0 ;
16850 PyObject
* obj1
= 0 ;
16851 char *kwnames
[] = {
16852 (char *) "pos",(char *) "winid", NULL
16855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MoveEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16859 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
16863 arg2
= (int)SWIG_As_int(obj1
);
16864 if (PyErr_Occurred()) SWIG_fail
;
16867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16868 result
= (wxMoveEvent
*)new wxMoveEvent((wxPoint
const &)*arg1
,arg2
);
16870 wxPyEndAllowThreads(__tstate
);
16871 if (PyErr_Occurred()) SWIG_fail
;
16873 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMoveEvent
, 1);
16880 static PyObject
*_wrap_MoveEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16881 PyObject
*resultobj
;
16882 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16884 PyObject
* obj0
= 0 ;
16885 char *kwnames
[] = {
16886 (char *) "self", NULL
16889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
16890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16894 result
= ((wxMoveEvent
const *)arg1
)->GetPosition();
16896 wxPyEndAllowThreads(__tstate
);
16897 if (PyErr_Occurred()) SWIG_fail
;
16900 wxPoint
* resultptr
;
16901 resultptr
= new wxPoint((wxPoint
&) result
);
16902 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
16910 static PyObject
*_wrap_MoveEvent_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16911 PyObject
*resultobj
;
16912 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16914 PyObject
* obj0
= 0 ;
16915 char *kwnames
[] = {
16916 (char *) "self", NULL
16919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetRect",kwnames
,&obj0
)) goto fail
;
16920 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16921 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16924 result
= ((wxMoveEvent
const *)arg1
)->GetRect();
16926 wxPyEndAllowThreads(__tstate
);
16927 if (PyErr_Occurred()) SWIG_fail
;
16930 wxRect
* resultptr
;
16931 resultptr
= new wxRect((wxRect
&) result
);
16932 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
16940 static PyObject
*_wrap_MoveEvent_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16941 PyObject
*resultobj
;
16942 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16945 PyObject
* obj0
= 0 ;
16946 PyObject
* obj1
= 0 ;
16947 char *kwnames
[] = {
16948 (char *) "self",(char *) "rect", NULL
16951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
16952 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16954 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxRect
,
16955 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
16958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16959 (arg1
)->SetRect(arg2
);
16961 wxPyEndAllowThreads(__tstate
);
16962 if (PyErr_Occurred()) SWIG_fail
;
16964 Py_INCREF(Py_None
); resultobj
= Py_None
;
16971 static PyObject
*_wrap_MoveEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16972 PyObject
*resultobj
;
16973 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16976 PyObject
* obj0
= 0 ;
16977 PyObject
* obj1
= 0 ;
16978 char *kwnames
[] = {
16979 (char *) "self",(char *) "pos", NULL
16982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
16983 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16984 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16985 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxPoint
,
16986 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
16989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16990 wxMoveEvent_SetPosition(arg1
,arg2
);
16992 wxPyEndAllowThreads(__tstate
);
16993 if (PyErr_Occurred()) SWIG_fail
;
16995 Py_INCREF(Py_None
); resultobj
= Py_None
;
17002 static PyObject
*_wrap_MoveEvent_m_pos_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17003 PyObject
*resultobj
;
17004 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
17005 wxPoint
*arg2
= (wxPoint
*) 0 ;
17006 PyObject
* obj0
= 0 ;
17007 PyObject
* obj1
= 0 ;
17008 char *kwnames
[] = {
17009 (char *) "self",(char *) "m_pos", NULL
17012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_m_pos_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17013 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
17014 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17015 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPoint
,
17016 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17017 if (arg1
) (arg1
)->m_pos
= *arg2
;
17019 Py_INCREF(Py_None
); resultobj
= Py_None
;
17026 static PyObject
*_wrap_MoveEvent_m_pos_get(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_m_pos_get",kwnames
,&obj0
)) goto fail
;
17036 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
17037 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17038 result
= (wxPoint
*)& ((arg1
)->m_pos
);
17040 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
17047 static PyObject
*_wrap_MoveEvent_m_rect_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17048 PyObject
*resultobj
;
17049 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
17050 wxRect
*arg2
= (wxRect
*) 0 ;
17051 PyObject
* obj0
= 0 ;
17052 PyObject
* obj1
= 0 ;
17053 char *kwnames
[] = {
17054 (char *) "self",(char *) "m_rect", NULL
17057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_m_rect_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17058 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
17059 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17060 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRect
,
17061 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17062 if (arg1
) (arg1
)->m_rect
= *arg2
;
17064 Py_INCREF(Py_None
); resultobj
= Py_None
;
17071 static PyObject
*_wrap_MoveEvent_m_rect_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17072 PyObject
*resultobj
;
17073 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
17075 PyObject
* obj0
= 0 ;
17076 char *kwnames
[] = {
17077 (char *) "self", NULL
17080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_m_rect_get",kwnames
,&obj0
)) goto fail
;
17081 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
17082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17083 result
= (wxRect
*)& ((arg1
)->m_rect
);
17085 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
17092 static PyObject
* MoveEvent_swigregister(PyObject
*, PyObject
*args
) {
17094 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17095 SWIG_TypeClientData(SWIGTYPE_p_wxMoveEvent
, obj
);
17097 return Py_BuildValue((char *)"");
17099 static PyObject
*_wrap_new_PaintEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17100 PyObject
*resultobj
;
17101 int arg1
= (int) 0 ;
17102 wxPaintEvent
*result
;
17103 PyObject
* obj0
= 0 ;
17104 char *kwnames
[] = {
17105 (char *) "Id", NULL
17108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaintEvent",kwnames
,&obj0
)) goto fail
;
17110 arg1
= (int)SWIG_As_int(obj0
);
17111 if (PyErr_Occurred()) SWIG_fail
;
17114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17115 result
= (wxPaintEvent
*)new wxPaintEvent(arg1
);
17117 wxPyEndAllowThreads(__tstate
);
17118 if (PyErr_Occurred()) SWIG_fail
;
17120 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaintEvent
, 1);
17127 static PyObject
* PaintEvent_swigregister(PyObject
*, PyObject
*args
) {
17129 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17130 SWIG_TypeClientData(SWIGTYPE_p_wxPaintEvent
, obj
);
17132 return Py_BuildValue((char *)"");
17134 static PyObject
*_wrap_new_NcPaintEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17135 PyObject
*resultobj
;
17136 int arg1
= (int) 0 ;
17137 wxNcPaintEvent
*result
;
17138 PyObject
* obj0
= 0 ;
17139 char *kwnames
[] = {
17140 (char *) "winid", NULL
17143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_NcPaintEvent",kwnames
,&obj0
)) goto fail
;
17145 arg1
= (int)SWIG_As_int(obj0
);
17146 if (PyErr_Occurred()) SWIG_fail
;
17149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17150 result
= (wxNcPaintEvent
*)new wxNcPaintEvent(arg1
);
17152 wxPyEndAllowThreads(__tstate
);
17153 if (PyErr_Occurred()) SWIG_fail
;
17155 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNcPaintEvent
, 1);
17162 static PyObject
* NcPaintEvent_swigregister(PyObject
*, PyObject
*args
) {
17164 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17165 SWIG_TypeClientData(SWIGTYPE_p_wxNcPaintEvent
, obj
);
17167 return Py_BuildValue((char *)"");
17169 static PyObject
*_wrap_new_EraseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17170 PyObject
*resultobj
;
17171 int arg1
= (int) 0 ;
17172 wxDC
*arg2
= (wxDC
*) (wxDC
*) NULL
;
17173 wxEraseEvent
*result
;
17174 PyObject
* obj0
= 0 ;
17175 PyObject
* obj1
= 0 ;
17176 char *kwnames
[] = {
17177 (char *) "Id",(char *) "dc", NULL
17180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_EraseEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17182 arg1
= (int)SWIG_As_int(obj0
);
17183 if (PyErr_Occurred()) SWIG_fail
;
17186 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
17187 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17191 result
= (wxEraseEvent
*)new wxEraseEvent(arg1
,arg2
);
17193 wxPyEndAllowThreads(__tstate
);
17194 if (PyErr_Occurred()) SWIG_fail
;
17196 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEraseEvent
, 1);
17203 static PyObject
*_wrap_EraseEvent_GetDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17204 PyObject
*resultobj
;
17205 wxEraseEvent
*arg1
= (wxEraseEvent
*) 0 ;
17207 PyObject
* obj0
= 0 ;
17208 char *kwnames
[] = {
17209 (char *) "self", NULL
17212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EraseEvent_GetDC",kwnames
,&obj0
)) goto fail
;
17213 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEraseEvent
,
17214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17217 result
= (wxDC
*)((wxEraseEvent
const *)arg1
)->GetDC();
17219 wxPyEndAllowThreads(__tstate
);
17220 if (PyErr_Occurred()) SWIG_fail
;
17223 resultobj
= wxPyMake_wxObject(result
, 0);
17231 static PyObject
* EraseEvent_swigregister(PyObject
*, PyObject
*args
) {
17233 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17234 SWIG_TypeClientData(SWIGTYPE_p_wxEraseEvent
, obj
);
17236 return Py_BuildValue((char *)"");
17238 static PyObject
*_wrap_new_FocusEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17239 PyObject
*resultobj
;
17240 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17241 int arg2
= (int) 0 ;
17242 wxFocusEvent
*result
;
17243 PyObject
* obj0
= 0 ;
17244 PyObject
* obj1
= 0 ;
17245 char *kwnames
[] = {
17246 (char *) "type",(char *) "winid", NULL
17249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FocusEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17251 arg1
= (wxEventType
)SWIG_As_int(obj0
);
17252 if (PyErr_Occurred()) SWIG_fail
;
17255 arg2
= (int)SWIG_As_int(obj1
);
17256 if (PyErr_Occurred()) SWIG_fail
;
17259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17260 result
= (wxFocusEvent
*)new wxFocusEvent(arg1
,arg2
);
17262 wxPyEndAllowThreads(__tstate
);
17263 if (PyErr_Occurred()) SWIG_fail
;
17265 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFocusEvent
, 1);
17272 static PyObject
*_wrap_FocusEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17273 PyObject
*resultobj
;
17274 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
17276 PyObject
* obj0
= 0 ;
17277 char *kwnames
[] = {
17278 (char *) "self", NULL
17281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
17282 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFocusEvent
,
17283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17286 result
= (wxWindow
*)((wxFocusEvent
const *)arg1
)->GetWindow();
17288 wxPyEndAllowThreads(__tstate
);
17289 if (PyErr_Occurred()) SWIG_fail
;
17292 resultobj
= wxPyMake_wxObject(result
, 0);
17300 static PyObject
*_wrap_FocusEvent_SetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17301 PyObject
*resultobj
;
17302 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
17303 wxWindow
*arg2
= (wxWindow
*) 0 ;
17304 PyObject
* obj0
= 0 ;
17305 PyObject
* obj1
= 0 ;
17306 char *kwnames
[] = {
17307 (char *) "self",(char *) "win", NULL
17310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FocusEvent_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
17311 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFocusEvent
,
17312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17313 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
17314 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17317 (arg1
)->SetWindow(arg2
);
17319 wxPyEndAllowThreads(__tstate
);
17320 if (PyErr_Occurred()) SWIG_fail
;
17322 Py_INCREF(Py_None
); resultobj
= Py_None
;
17329 static PyObject
* FocusEvent_swigregister(PyObject
*, PyObject
*args
) {
17331 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17332 SWIG_TypeClientData(SWIGTYPE_p_wxFocusEvent
, obj
);
17334 return Py_BuildValue((char *)"");
17336 static PyObject
*_wrap_new_ChildFocusEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17337 PyObject
*resultobj
;
17338 wxWindow
*arg1
= (wxWindow
*) NULL
;
17339 wxChildFocusEvent
*result
;
17340 PyObject
* obj0
= 0 ;
17341 char *kwnames
[] = {
17342 (char *) "win", NULL
17345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ChildFocusEvent",kwnames
,&obj0
)) goto fail
;
17347 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
17348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17352 result
= (wxChildFocusEvent
*)new wxChildFocusEvent(arg1
);
17354 wxPyEndAllowThreads(__tstate
);
17355 if (PyErr_Occurred()) SWIG_fail
;
17357 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChildFocusEvent
, 1);
17364 static PyObject
*_wrap_ChildFocusEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17365 PyObject
*resultobj
;
17366 wxChildFocusEvent
*arg1
= (wxChildFocusEvent
*) 0 ;
17368 PyObject
* obj0
= 0 ;
17369 char *kwnames
[] = {
17370 (char *) "self", NULL
17373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ChildFocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
17374 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChildFocusEvent
,
17375 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17378 result
= (wxWindow
*)((wxChildFocusEvent
const *)arg1
)->GetWindow();
17380 wxPyEndAllowThreads(__tstate
);
17381 if (PyErr_Occurred()) SWIG_fail
;
17384 resultobj
= wxPyMake_wxObject(result
, 0);
17392 static PyObject
* ChildFocusEvent_swigregister(PyObject
*, PyObject
*args
) {
17394 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17395 SWIG_TypeClientData(SWIGTYPE_p_wxChildFocusEvent
, obj
);
17397 return Py_BuildValue((char *)"");
17399 static PyObject
*_wrap_new_ActivateEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17400 PyObject
*resultobj
;
17401 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17402 bool arg2
= (bool) True
;
17403 int arg3
= (int) 0 ;
17404 wxActivateEvent
*result
;
17405 PyObject
* obj0
= 0 ;
17406 PyObject
* obj1
= 0 ;
17407 PyObject
* obj2
= 0 ;
17408 char *kwnames
[] = {
17409 (char *) "type",(char *) "active",(char *) "Id", NULL
17412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ActivateEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17414 arg1
= (wxEventType
)SWIG_As_int(obj0
);
17415 if (PyErr_Occurred()) SWIG_fail
;
17418 arg2
= (bool)SWIG_As_bool(obj1
);
17419 if (PyErr_Occurred()) SWIG_fail
;
17422 arg3
= (int)SWIG_As_int(obj2
);
17423 if (PyErr_Occurred()) SWIG_fail
;
17426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17427 result
= (wxActivateEvent
*)new wxActivateEvent(arg1
,arg2
,arg3
);
17429 wxPyEndAllowThreads(__tstate
);
17430 if (PyErr_Occurred()) SWIG_fail
;
17432 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxActivateEvent
, 1);
17439 static PyObject
*_wrap_ActivateEvent_GetActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17440 PyObject
*resultobj
;
17441 wxActivateEvent
*arg1
= (wxActivateEvent
*) 0 ;
17443 PyObject
* obj0
= 0 ;
17444 char *kwnames
[] = {
17445 (char *) "self", NULL
17448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ActivateEvent_GetActive",kwnames
,&obj0
)) goto fail
;
17449 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxActivateEvent
,
17450 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17453 result
= (bool)((wxActivateEvent
const *)arg1
)->GetActive();
17455 wxPyEndAllowThreads(__tstate
);
17456 if (PyErr_Occurred()) SWIG_fail
;
17459 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17467 static PyObject
* ActivateEvent_swigregister(PyObject
*, PyObject
*args
) {
17469 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17470 SWIG_TypeClientData(SWIGTYPE_p_wxActivateEvent
, obj
);
17472 return Py_BuildValue((char *)"");
17474 static PyObject
*_wrap_new_InitDialogEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17475 PyObject
*resultobj
;
17476 int arg1
= (int) 0 ;
17477 wxInitDialogEvent
*result
;
17478 PyObject
* obj0
= 0 ;
17479 char *kwnames
[] = {
17480 (char *) "Id", NULL
17483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_InitDialogEvent",kwnames
,&obj0
)) goto fail
;
17485 arg1
= (int)SWIG_As_int(obj0
);
17486 if (PyErr_Occurred()) SWIG_fail
;
17489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17490 result
= (wxInitDialogEvent
*)new wxInitDialogEvent(arg1
);
17492 wxPyEndAllowThreads(__tstate
);
17493 if (PyErr_Occurred()) SWIG_fail
;
17495 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxInitDialogEvent
, 1);
17502 static PyObject
* InitDialogEvent_swigregister(PyObject
*, PyObject
*args
) {
17504 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17505 SWIG_TypeClientData(SWIGTYPE_p_wxInitDialogEvent
, obj
);
17507 return Py_BuildValue((char *)"");
17509 static PyObject
*_wrap_new_MenuEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17510 PyObject
*resultobj
;
17511 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17512 int arg2
= (int) 0 ;
17513 wxMenu
*arg3
= (wxMenu
*) NULL
;
17514 wxMenuEvent
*result
;
17515 PyObject
* obj0
= 0 ;
17516 PyObject
* obj1
= 0 ;
17517 PyObject
* obj2
= 0 ;
17518 char *kwnames
[] = {
17519 (char *) "type",(char *) "winid",(char *) "menu", NULL
17522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_MenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17524 arg1
= (wxEventType
)SWIG_As_int(obj0
);
17525 if (PyErr_Occurred()) SWIG_fail
;
17528 arg2
= (int)SWIG_As_int(obj1
);
17529 if (PyErr_Occurred()) SWIG_fail
;
17532 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenu
,
17533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17537 result
= (wxMenuEvent
*)new wxMenuEvent(arg1
,arg2
,arg3
);
17539 wxPyEndAllowThreads(__tstate
);
17540 if (PyErr_Occurred()) SWIG_fail
;
17542 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenuEvent
, 1);
17549 static PyObject
*_wrap_MenuEvent_GetMenuId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17550 PyObject
*resultobj
;
17551 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
17553 PyObject
* obj0
= 0 ;
17554 char *kwnames
[] = {
17555 (char *) "self", NULL
17558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenuId",kwnames
,&obj0
)) goto fail
;
17559 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuEvent
,
17560 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17563 result
= (int)((wxMenuEvent
const *)arg1
)->GetMenuId();
17565 wxPyEndAllowThreads(__tstate
);
17566 if (PyErr_Occurred()) SWIG_fail
;
17568 resultobj
= SWIG_From_int((int)result
);
17575 static PyObject
*_wrap_MenuEvent_IsPopup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17576 PyObject
*resultobj
;
17577 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
17579 PyObject
* obj0
= 0 ;
17580 char *kwnames
[] = {
17581 (char *) "self", NULL
17584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_IsPopup",kwnames
,&obj0
)) goto fail
;
17585 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuEvent
,
17586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17589 result
= (bool)((wxMenuEvent
const *)arg1
)->IsPopup();
17591 wxPyEndAllowThreads(__tstate
);
17592 if (PyErr_Occurred()) SWIG_fail
;
17595 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17603 static PyObject
*_wrap_MenuEvent_GetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17604 PyObject
*resultobj
;
17605 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
17607 PyObject
* obj0
= 0 ;
17608 char *kwnames
[] = {
17609 (char *) "self", NULL
17612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenu",kwnames
,&obj0
)) goto fail
;
17613 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuEvent
,
17614 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17617 result
= (wxMenu
*)((wxMenuEvent
const *)arg1
)->GetMenu();
17619 wxPyEndAllowThreads(__tstate
);
17620 if (PyErr_Occurred()) SWIG_fail
;
17623 resultobj
= wxPyMake_wxObject(result
, 0);
17631 static PyObject
* MenuEvent_swigregister(PyObject
*, PyObject
*args
) {
17633 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17634 SWIG_TypeClientData(SWIGTYPE_p_wxMenuEvent
, obj
);
17636 return Py_BuildValue((char *)"");
17638 static PyObject
*_wrap_new_CloseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17639 PyObject
*resultobj
;
17640 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17641 int arg2
= (int) 0 ;
17642 wxCloseEvent
*result
;
17643 PyObject
* obj0
= 0 ;
17644 PyObject
* obj1
= 0 ;
17645 char *kwnames
[] = {
17646 (char *) "type",(char *) "winid", NULL
17649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CloseEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17651 arg1
= (wxEventType
)SWIG_As_int(obj0
);
17652 if (PyErr_Occurred()) SWIG_fail
;
17655 arg2
= (int)SWIG_As_int(obj1
);
17656 if (PyErr_Occurred()) SWIG_fail
;
17659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17660 result
= (wxCloseEvent
*)new wxCloseEvent(arg1
,arg2
);
17662 wxPyEndAllowThreads(__tstate
);
17663 if (PyErr_Occurred()) SWIG_fail
;
17665 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCloseEvent
, 1);
17672 static PyObject
*_wrap_CloseEvent_SetLoggingOff(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17673 PyObject
*resultobj
;
17674 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17676 PyObject
* obj0
= 0 ;
17677 PyObject
* obj1
= 0 ;
17678 char *kwnames
[] = {
17679 (char *) "self",(char *) "logOff", NULL
17682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetLoggingOff",kwnames
,&obj0
,&obj1
)) goto fail
;
17683 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17684 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17685 arg2
= (bool)SWIG_As_bool(obj1
);
17686 if (PyErr_Occurred()) SWIG_fail
;
17688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17689 (arg1
)->SetLoggingOff(arg2
);
17691 wxPyEndAllowThreads(__tstate
);
17692 if (PyErr_Occurred()) SWIG_fail
;
17694 Py_INCREF(Py_None
); resultobj
= Py_None
;
17701 static PyObject
*_wrap_CloseEvent_GetLoggingOff(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17702 PyObject
*resultobj
;
17703 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17705 PyObject
* obj0
= 0 ;
17706 char *kwnames
[] = {
17707 (char *) "self", NULL
17710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetLoggingOff",kwnames
,&obj0
)) goto fail
;
17711 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17712 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17715 result
= (bool)((wxCloseEvent
const *)arg1
)->GetLoggingOff();
17717 wxPyEndAllowThreads(__tstate
);
17718 if (PyErr_Occurred()) SWIG_fail
;
17721 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17729 static PyObject
*_wrap_CloseEvent_Veto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17730 PyObject
*resultobj
;
17731 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17732 bool arg2
= (bool) True
;
17733 PyObject
* obj0
= 0 ;
17734 PyObject
* obj1
= 0 ;
17735 char *kwnames
[] = {
17736 (char *) "self",(char *) "veto", NULL
17739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CloseEvent_Veto",kwnames
,&obj0
,&obj1
)) goto fail
;
17740 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17741 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17743 arg2
= (bool)SWIG_As_bool(obj1
);
17744 if (PyErr_Occurred()) SWIG_fail
;
17747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17748 (arg1
)->Veto(arg2
);
17750 wxPyEndAllowThreads(__tstate
);
17751 if (PyErr_Occurred()) SWIG_fail
;
17753 Py_INCREF(Py_None
); resultobj
= Py_None
;
17760 static PyObject
*_wrap_CloseEvent_SetCanVeto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17761 PyObject
*resultobj
;
17762 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17764 PyObject
* obj0
= 0 ;
17765 PyObject
* obj1
= 0 ;
17766 char *kwnames
[] = {
17767 (char *) "self",(char *) "canVeto", NULL
17770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetCanVeto",kwnames
,&obj0
,&obj1
)) goto fail
;
17771 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17772 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17773 arg2
= (bool)SWIG_As_bool(obj1
);
17774 if (PyErr_Occurred()) SWIG_fail
;
17776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17777 (arg1
)->SetCanVeto(arg2
);
17779 wxPyEndAllowThreads(__tstate
);
17780 if (PyErr_Occurred()) SWIG_fail
;
17782 Py_INCREF(Py_None
); resultobj
= Py_None
;
17789 static PyObject
*_wrap_CloseEvent_CanVeto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17790 PyObject
*resultobj
;
17791 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17793 PyObject
* obj0
= 0 ;
17794 char *kwnames
[] = {
17795 (char *) "self", NULL
17798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_CanVeto",kwnames
,&obj0
)) goto fail
;
17799 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17800 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17803 result
= (bool)((wxCloseEvent
const *)arg1
)->CanVeto();
17805 wxPyEndAllowThreads(__tstate
);
17806 if (PyErr_Occurred()) SWIG_fail
;
17809 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17817 static PyObject
*_wrap_CloseEvent_GetVeto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17818 PyObject
*resultobj
;
17819 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17821 PyObject
* obj0
= 0 ;
17822 char *kwnames
[] = {
17823 (char *) "self", NULL
17826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetVeto",kwnames
,&obj0
)) goto fail
;
17827 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17828 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17831 result
= (bool)((wxCloseEvent
const *)arg1
)->GetVeto();
17833 wxPyEndAllowThreads(__tstate
);
17834 if (PyErr_Occurred()) SWIG_fail
;
17837 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17845 static PyObject
* CloseEvent_swigregister(PyObject
*, PyObject
*args
) {
17847 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17848 SWIG_TypeClientData(SWIGTYPE_p_wxCloseEvent
, obj
);
17850 return Py_BuildValue((char *)"");
17852 static PyObject
*_wrap_new_ShowEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17853 PyObject
*resultobj
;
17854 int arg1
= (int) 0 ;
17855 bool arg2
= (bool) False
;
17856 wxShowEvent
*result
;
17857 PyObject
* obj0
= 0 ;
17858 PyObject
* obj1
= 0 ;
17859 char *kwnames
[] = {
17860 (char *) "winid",(char *) "show", NULL
17863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ShowEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17865 arg1
= (int)SWIG_As_int(obj0
);
17866 if (PyErr_Occurred()) SWIG_fail
;
17869 arg2
= (bool)SWIG_As_bool(obj1
);
17870 if (PyErr_Occurred()) SWIG_fail
;
17873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17874 result
= (wxShowEvent
*)new wxShowEvent(arg1
,arg2
);
17876 wxPyEndAllowThreads(__tstate
);
17877 if (PyErr_Occurred()) SWIG_fail
;
17879 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxShowEvent
, 1);
17886 static PyObject
*_wrap_ShowEvent_SetShow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17887 PyObject
*resultobj
;
17888 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
17890 PyObject
* obj0
= 0 ;
17891 PyObject
* obj1
= 0 ;
17892 char *kwnames
[] = {
17893 (char *) "self",(char *) "show", NULL
17896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ShowEvent_SetShow",kwnames
,&obj0
,&obj1
)) goto fail
;
17897 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShowEvent
,
17898 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17899 arg2
= (bool)SWIG_As_bool(obj1
);
17900 if (PyErr_Occurred()) SWIG_fail
;
17902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17903 (arg1
)->SetShow(arg2
);
17905 wxPyEndAllowThreads(__tstate
);
17906 if (PyErr_Occurred()) SWIG_fail
;
17908 Py_INCREF(Py_None
); resultobj
= Py_None
;
17915 static PyObject
*_wrap_ShowEvent_GetShow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17916 PyObject
*resultobj
;
17917 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
17919 PyObject
* obj0
= 0 ;
17920 char *kwnames
[] = {
17921 (char *) "self", NULL
17924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShowEvent_GetShow",kwnames
,&obj0
)) goto fail
;
17925 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShowEvent
,
17926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17929 result
= (bool)((wxShowEvent
const *)arg1
)->GetShow();
17931 wxPyEndAllowThreads(__tstate
);
17932 if (PyErr_Occurred()) SWIG_fail
;
17935 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17943 static PyObject
* ShowEvent_swigregister(PyObject
*, PyObject
*args
) {
17945 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17946 SWIG_TypeClientData(SWIGTYPE_p_wxShowEvent
, obj
);
17948 return Py_BuildValue((char *)"");
17950 static PyObject
*_wrap_new_IconizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17951 PyObject
*resultobj
;
17952 int arg1
= (int) 0 ;
17953 bool arg2
= (bool) True
;
17954 wxIconizeEvent
*result
;
17955 PyObject
* obj0
= 0 ;
17956 PyObject
* obj1
= 0 ;
17957 char *kwnames
[] = {
17958 (char *) "id",(char *) "iconized", NULL
17961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconizeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17963 arg1
= (int)SWIG_As_int(obj0
);
17964 if (PyErr_Occurred()) SWIG_fail
;
17967 arg2
= (bool)SWIG_As_bool(obj1
);
17968 if (PyErr_Occurred()) SWIG_fail
;
17971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17972 result
= (wxIconizeEvent
*)new wxIconizeEvent(arg1
,arg2
);
17974 wxPyEndAllowThreads(__tstate
);
17975 if (PyErr_Occurred()) SWIG_fail
;
17977 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconizeEvent
, 1);
17984 static PyObject
*_wrap_IconizeEvent_Iconized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17985 PyObject
*resultobj
;
17986 wxIconizeEvent
*arg1
= (wxIconizeEvent
*) 0 ;
17988 PyObject
* obj0
= 0 ;
17989 char *kwnames
[] = {
17990 (char *) "self", NULL
17993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconizeEvent_Iconized",kwnames
,&obj0
)) goto fail
;
17994 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconizeEvent
,
17995 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17998 result
= (bool)(arg1
)->Iconized();
18000 wxPyEndAllowThreads(__tstate
);
18001 if (PyErr_Occurred()) SWIG_fail
;
18004 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18012 static PyObject
* IconizeEvent_swigregister(PyObject
*, PyObject
*args
) {
18014 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18015 SWIG_TypeClientData(SWIGTYPE_p_wxIconizeEvent
, obj
);
18017 return Py_BuildValue((char *)"");
18019 static PyObject
*_wrap_new_MaximizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18020 PyObject
*resultobj
;
18021 int arg1
= (int) 0 ;
18022 wxMaximizeEvent
*result
;
18023 PyObject
* obj0
= 0 ;
18024 char *kwnames
[] = {
18025 (char *) "id", NULL
18028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MaximizeEvent",kwnames
,&obj0
)) goto fail
;
18030 arg1
= (int)SWIG_As_int(obj0
);
18031 if (PyErr_Occurred()) SWIG_fail
;
18034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18035 result
= (wxMaximizeEvent
*)new wxMaximizeEvent(arg1
);
18037 wxPyEndAllowThreads(__tstate
);
18038 if (PyErr_Occurred()) SWIG_fail
;
18040 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMaximizeEvent
, 1);
18047 static PyObject
* MaximizeEvent_swigregister(PyObject
*, PyObject
*args
) {
18049 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18050 SWIG_TypeClientData(SWIGTYPE_p_wxMaximizeEvent
, obj
);
18052 return Py_BuildValue((char *)"");
18054 static PyObject
*_wrap_DropFilesEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18055 PyObject
*resultobj
;
18056 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
18058 PyObject
* obj0
= 0 ;
18059 char *kwnames
[] = {
18060 (char *) "self", NULL
18063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
18064 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDropFilesEvent
,
18065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18068 result
= (arg1
)->GetPosition();
18070 wxPyEndAllowThreads(__tstate
);
18071 if (PyErr_Occurred()) SWIG_fail
;
18074 wxPoint
* resultptr
;
18075 resultptr
= new wxPoint((wxPoint
&) result
);
18076 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
18084 static PyObject
*_wrap_DropFilesEvent_GetNumberOfFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18085 PyObject
*resultobj
;
18086 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
18088 PyObject
* obj0
= 0 ;
18089 char *kwnames
[] = {
18090 (char *) "self", NULL
18093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetNumberOfFiles",kwnames
,&obj0
)) goto fail
;
18094 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDropFilesEvent
,
18095 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18098 result
= (int)(arg1
)->GetNumberOfFiles();
18100 wxPyEndAllowThreads(__tstate
);
18101 if (PyErr_Occurred()) SWIG_fail
;
18103 resultobj
= SWIG_From_int((int)result
);
18110 static PyObject
*_wrap_DropFilesEvent_GetFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18111 PyObject
*resultobj
;
18112 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
18114 PyObject
* obj0
= 0 ;
18115 char *kwnames
[] = {
18116 (char *) "self", NULL
18119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetFiles",kwnames
,&obj0
)) goto fail
;
18120 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDropFilesEvent
,
18121 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18124 result
= (PyObject
*)wxDropFilesEvent_GetFiles(arg1
);
18126 wxPyEndAllowThreads(__tstate
);
18127 if (PyErr_Occurred()) SWIG_fail
;
18129 resultobj
= result
;
18136 static PyObject
* DropFilesEvent_swigregister(PyObject
*, PyObject
*args
) {
18138 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18139 SWIG_TypeClientData(SWIGTYPE_p_wxDropFilesEvent
, obj
);
18141 return Py_BuildValue((char *)"");
18143 static PyObject
*_wrap_new_UpdateUIEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18144 PyObject
*resultobj
;
18145 int arg1
= (int) 0 ;
18146 wxUpdateUIEvent
*result
;
18147 PyObject
* obj0
= 0 ;
18148 char *kwnames
[] = {
18149 (char *) "commandId", NULL
18152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_UpdateUIEvent",kwnames
,&obj0
)) goto fail
;
18154 arg1
= (int)SWIG_As_int(obj0
);
18155 if (PyErr_Occurred()) SWIG_fail
;
18158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18159 result
= (wxUpdateUIEvent
*)new wxUpdateUIEvent(arg1
);
18161 wxPyEndAllowThreads(__tstate
);
18162 if (PyErr_Occurred()) SWIG_fail
;
18164 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxUpdateUIEvent
, 1);
18171 static PyObject
*_wrap_UpdateUIEvent_GetChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18172 PyObject
*resultobj
;
18173 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18175 PyObject
* obj0
= 0 ;
18176 char *kwnames
[] = {
18177 (char *) "self", NULL
18180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetChecked",kwnames
,&obj0
)) goto fail
;
18181 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18182 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18185 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetChecked();
18187 wxPyEndAllowThreads(__tstate
);
18188 if (PyErr_Occurred()) SWIG_fail
;
18191 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18199 static PyObject
*_wrap_UpdateUIEvent_GetEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18200 PyObject
*resultobj
;
18201 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18203 PyObject
* obj0
= 0 ;
18204 char *kwnames
[] = {
18205 (char *) "self", NULL
18208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetEnabled",kwnames
,&obj0
)) goto fail
;
18209 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18213 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetEnabled();
18215 wxPyEndAllowThreads(__tstate
);
18216 if (PyErr_Occurred()) SWIG_fail
;
18219 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18227 static PyObject
*_wrap_UpdateUIEvent_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18228 PyObject
*resultobj
;
18229 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18231 PyObject
* obj0
= 0 ;
18232 char *kwnames
[] = {
18233 (char *) "self", NULL
18236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetText",kwnames
,&obj0
)) goto fail
;
18237 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18238 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18241 result
= ((wxUpdateUIEvent
const *)arg1
)->GetText();
18243 wxPyEndAllowThreads(__tstate
);
18244 if (PyErr_Occurred()) SWIG_fail
;
18248 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18250 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18259 static PyObject
*_wrap_UpdateUIEvent_GetSetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18260 PyObject
*resultobj
;
18261 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18263 PyObject
* obj0
= 0 ;
18264 char *kwnames
[] = {
18265 (char *) "self", NULL
18268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetText",kwnames
,&obj0
)) goto fail
;
18269 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18270 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18273 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetText();
18275 wxPyEndAllowThreads(__tstate
);
18276 if (PyErr_Occurred()) SWIG_fail
;
18279 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18287 static PyObject
*_wrap_UpdateUIEvent_GetSetChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18288 PyObject
*resultobj
;
18289 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18291 PyObject
* obj0
= 0 ;
18292 char *kwnames
[] = {
18293 (char *) "self", NULL
18296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetChecked",kwnames
,&obj0
)) goto fail
;
18297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18301 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetChecked();
18303 wxPyEndAllowThreads(__tstate
);
18304 if (PyErr_Occurred()) SWIG_fail
;
18307 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18315 static PyObject
*_wrap_UpdateUIEvent_GetSetEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18316 PyObject
*resultobj
;
18317 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18319 PyObject
* obj0
= 0 ;
18320 char *kwnames
[] = {
18321 (char *) "self", NULL
18324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetEnabled",kwnames
,&obj0
)) goto fail
;
18325 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18329 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetEnabled();
18331 wxPyEndAllowThreads(__tstate
);
18332 if (PyErr_Occurred()) SWIG_fail
;
18335 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18343 static PyObject
*_wrap_UpdateUIEvent_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18344 PyObject
*resultobj
;
18345 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18347 PyObject
* obj0
= 0 ;
18348 PyObject
* obj1
= 0 ;
18349 char *kwnames
[] = {
18350 (char *) "self",(char *) "check", NULL
18353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
18354 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18356 arg2
= (bool)SWIG_As_bool(obj1
);
18357 if (PyErr_Occurred()) SWIG_fail
;
18359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18360 (arg1
)->Check(arg2
);
18362 wxPyEndAllowThreads(__tstate
);
18363 if (PyErr_Occurred()) SWIG_fail
;
18365 Py_INCREF(Py_None
); resultobj
= Py_None
;
18372 static PyObject
*_wrap_UpdateUIEvent_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18373 PyObject
*resultobj
;
18374 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18376 PyObject
* obj0
= 0 ;
18377 PyObject
* obj1
= 0 ;
18378 char *kwnames
[] = {
18379 (char *) "self",(char *) "enable", NULL
18382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
18383 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18385 arg2
= (bool)SWIG_As_bool(obj1
);
18386 if (PyErr_Occurred()) SWIG_fail
;
18388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18389 (arg1
)->Enable(arg2
);
18391 wxPyEndAllowThreads(__tstate
);
18392 if (PyErr_Occurred()) SWIG_fail
;
18394 Py_INCREF(Py_None
); resultobj
= Py_None
;
18401 static PyObject
*_wrap_UpdateUIEvent_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18402 PyObject
*resultobj
;
18403 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18404 wxString
*arg2
= 0 ;
18405 bool temp2
= False
;
18406 PyObject
* obj0
= 0 ;
18407 PyObject
* obj1
= 0 ;
18408 char *kwnames
[] = {
18409 (char *) "self",(char *) "text", NULL
18412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
18413 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18416 arg2
= wxString_in_helper(obj1
);
18417 if (arg2
== NULL
) SWIG_fail
;
18421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18422 (arg1
)->SetText((wxString
const &)*arg2
);
18424 wxPyEndAllowThreads(__tstate
);
18425 if (PyErr_Occurred()) SWIG_fail
;
18427 Py_INCREF(Py_None
); resultobj
= Py_None
;
18442 static PyObject
*_wrap_UpdateUIEvent_SetUpdateInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18443 PyObject
*resultobj
;
18445 PyObject
* obj0
= 0 ;
18446 char *kwnames
[] = {
18447 (char *) "updateInterval", NULL
18450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetUpdateInterval",kwnames
,&obj0
)) goto fail
;
18451 arg1
= (long)SWIG_As_long(obj0
);
18452 if (PyErr_Occurred()) SWIG_fail
;
18454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18455 wxUpdateUIEvent::SetUpdateInterval(arg1
);
18457 wxPyEndAllowThreads(__tstate
);
18458 if (PyErr_Occurred()) SWIG_fail
;
18460 Py_INCREF(Py_None
); resultobj
= Py_None
;
18467 static PyObject
*_wrap_UpdateUIEvent_GetUpdateInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18468 PyObject
*resultobj
;
18470 char *kwnames
[] = {
18474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetUpdateInterval",kwnames
)) goto fail
;
18476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18477 result
= (long)wxUpdateUIEvent::GetUpdateInterval();
18479 wxPyEndAllowThreads(__tstate
);
18480 if (PyErr_Occurred()) SWIG_fail
;
18482 resultobj
= SWIG_From_long((long)result
);
18489 static PyObject
*_wrap_UpdateUIEvent_CanUpdate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18490 PyObject
*resultobj
;
18491 wxWindow
*arg1
= (wxWindow
*) 0 ;
18493 PyObject
* obj0
= 0 ;
18494 char *kwnames
[] = {
18495 (char *) "win", NULL
18498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_CanUpdate",kwnames
,&obj0
)) goto fail
;
18499 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
18500 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18503 result
= (bool)wxUpdateUIEvent::CanUpdate(arg1
);
18505 wxPyEndAllowThreads(__tstate
);
18506 if (PyErr_Occurred()) SWIG_fail
;
18509 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18517 static PyObject
*_wrap_UpdateUIEvent_ResetUpdateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18518 PyObject
*resultobj
;
18519 char *kwnames
[] = {
18523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_ResetUpdateTime",kwnames
)) goto fail
;
18525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18526 wxUpdateUIEvent::ResetUpdateTime();
18528 wxPyEndAllowThreads(__tstate
);
18529 if (PyErr_Occurred()) SWIG_fail
;
18531 Py_INCREF(Py_None
); resultobj
= Py_None
;
18538 static PyObject
*_wrap_UpdateUIEvent_SetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18539 PyObject
*resultobj
;
18541 PyObject
* obj0
= 0 ;
18542 char *kwnames
[] = {
18543 (char *) "mode", NULL
18546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetMode",kwnames
,&obj0
)) goto fail
;
18547 arg1
= (int)SWIG_As_int(obj0
);
18548 if (PyErr_Occurred()) SWIG_fail
;
18550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18551 wxUpdateUIEvent::SetMode((wxUpdateUIMode
)arg1
);
18553 wxPyEndAllowThreads(__tstate
);
18554 if (PyErr_Occurred()) SWIG_fail
;
18556 Py_INCREF(Py_None
); resultobj
= Py_None
;
18563 static PyObject
*_wrap_UpdateUIEvent_GetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18564 PyObject
*resultobj
;
18566 char *kwnames
[] = {
18570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetMode",kwnames
)) goto fail
;
18572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18573 result
= (int)wxUpdateUIEvent::GetMode();
18575 wxPyEndAllowThreads(__tstate
);
18576 if (PyErr_Occurred()) SWIG_fail
;
18578 resultobj
= SWIG_From_int((int)result
);
18585 static PyObject
* UpdateUIEvent_swigregister(PyObject
*, PyObject
*args
) {
18587 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18588 SWIG_TypeClientData(SWIGTYPE_p_wxUpdateUIEvent
, obj
);
18590 return Py_BuildValue((char *)"");
18592 static PyObject
*_wrap_new_SysColourChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18593 PyObject
*resultobj
;
18594 wxSysColourChangedEvent
*result
;
18595 char *kwnames
[] = {
18599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SysColourChangedEvent",kwnames
)) goto fail
;
18601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18602 result
= (wxSysColourChangedEvent
*)new wxSysColourChangedEvent();
18604 wxPyEndAllowThreads(__tstate
);
18605 if (PyErr_Occurred()) SWIG_fail
;
18607 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSysColourChangedEvent
, 1);
18614 static PyObject
* SysColourChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
18616 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18617 SWIG_TypeClientData(SWIGTYPE_p_wxSysColourChangedEvent
, obj
);
18619 return Py_BuildValue((char *)"");
18621 static PyObject
*_wrap_new_MouseCaptureChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18622 PyObject
*resultobj
;
18623 int arg1
= (int) 0 ;
18624 wxWindow
*arg2
= (wxWindow
*) NULL
;
18625 wxMouseCaptureChangedEvent
*result
;
18626 PyObject
* obj0
= 0 ;
18627 PyObject
* obj1
= 0 ;
18628 char *kwnames
[] = {
18629 (char *) "winid",(char *) "gainedCapture", NULL
18632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MouseCaptureChangedEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
18634 arg1
= (int)SWIG_As_int(obj0
);
18635 if (PyErr_Occurred()) SWIG_fail
;
18638 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
18639 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18643 result
= (wxMouseCaptureChangedEvent
*)new wxMouseCaptureChangedEvent(arg1
,arg2
);
18645 wxPyEndAllowThreads(__tstate
);
18646 if (PyErr_Occurred()) SWIG_fail
;
18648 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMouseCaptureChangedEvent
, 1);
18655 static PyObject
*_wrap_MouseCaptureChangedEvent_GetCapturedWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18656 PyObject
*resultobj
;
18657 wxMouseCaptureChangedEvent
*arg1
= (wxMouseCaptureChangedEvent
*) 0 ;
18659 PyObject
* obj0
= 0 ;
18660 char *kwnames
[] = {
18661 (char *) "self", NULL
18664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseCaptureChangedEvent_GetCapturedWindow",kwnames
,&obj0
)) goto fail
;
18665 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseCaptureChangedEvent
,
18666 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18669 result
= (wxWindow
*)((wxMouseCaptureChangedEvent
const *)arg1
)->GetCapturedWindow();
18671 wxPyEndAllowThreads(__tstate
);
18672 if (PyErr_Occurred()) SWIG_fail
;
18675 resultobj
= wxPyMake_wxObject(result
, 0);
18683 static PyObject
* MouseCaptureChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
18685 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18686 SWIG_TypeClientData(SWIGTYPE_p_wxMouseCaptureChangedEvent
, obj
);
18688 return Py_BuildValue((char *)"");
18690 static PyObject
*_wrap_new_DisplayChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18691 PyObject
*resultobj
;
18692 wxDisplayChangedEvent
*result
;
18693 char *kwnames
[] = {
18697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DisplayChangedEvent",kwnames
)) goto fail
;
18699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18700 result
= (wxDisplayChangedEvent
*)new wxDisplayChangedEvent();
18702 wxPyEndAllowThreads(__tstate
);
18703 if (PyErr_Occurred()) SWIG_fail
;
18705 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDisplayChangedEvent
, 1);
18712 static PyObject
* DisplayChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
18714 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18715 SWIG_TypeClientData(SWIGTYPE_p_wxDisplayChangedEvent
, obj
);
18717 return Py_BuildValue((char *)"");
18719 static PyObject
*_wrap_new_PaletteChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18720 PyObject
*resultobj
;
18721 int arg1
= (int) 0 ;
18722 wxPaletteChangedEvent
*result
;
18723 PyObject
* obj0
= 0 ;
18724 char *kwnames
[] = {
18725 (char *) "id", NULL
18728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaletteChangedEvent",kwnames
,&obj0
)) goto fail
;
18730 arg1
= (int)SWIG_As_int(obj0
);
18731 if (PyErr_Occurred()) SWIG_fail
;
18734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18735 result
= (wxPaletteChangedEvent
*)new wxPaletteChangedEvent(arg1
);
18737 wxPyEndAllowThreads(__tstate
);
18738 if (PyErr_Occurred()) SWIG_fail
;
18740 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaletteChangedEvent
, 1);
18747 static PyObject
*_wrap_PaletteChangedEvent_SetChangedWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18748 PyObject
*resultobj
;
18749 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
18750 wxWindow
*arg2
= (wxWindow
*) 0 ;
18751 PyObject
* obj0
= 0 ;
18752 PyObject
* obj1
= 0 ;
18753 char *kwnames
[] = {
18754 (char *) "self",(char *) "win", NULL
18757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PaletteChangedEvent_SetChangedWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
18758 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPaletteChangedEvent
,
18759 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18760 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
18761 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18764 (arg1
)->SetChangedWindow(arg2
);
18766 wxPyEndAllowThreads(__tstate
);
18767 if (PyErr_Occurred()) SWIG_fail
;
18769 Py_INCREF(Py_None
); resultobj
= Py_None
;
18776 static PyObject
*_wrap_PaletteChangedEvent_GetChangedWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18777 PyObject
*resultobj
;
18778 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
18780 PyObject
* obj0
= 0 ;
18781 char *kwnames
[] = {
18782 (char *) "self", NULL
18785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PaletteChangedEvent_GetChangedWindow",kwnames
,&obj0
)) goto fail
;
18786 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPaletteChangedEvent
,
18787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18790 result
= (wxWindow
*)(arg1
)->GetChangedWindow();
18792 wxPyEndAllowThreads(__tstate
);
18793 if (PyErr_Occurred()) SWIG_fail
;
18796 resultobj
= wxPyMake_wxObject(result
, 0);
18804 static PyObject
* PaletteChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
18806 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18807 SWIG_TypeClientData(SWIGTYPE_p_wxPaletteChangedEvent
, obj
);
18809 return Py_BuildValue((char *)"");
18811 static PyObject
*_wrap_new_QueryNewPaletteEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18812 PyObject
*resultobj
;
18813 int arg1
= (int) 0 ;
18814 wxQueryNewPaletteEvent
*result
;
18815 PyObject
* obj0
= 0 ;
18816 char *kwnames
[] = {
18817 (char *) "winid", NULL
18820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryNewPaletteEvent",kwnames
,&obj0
)) goto fail
;
18822 arg1
= (int)SWIG_As_int(obj0
);
18823 if (PyErr_Occurred()) SWIG_fail
;
18826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18827 result
= (wxQueryNewPaletteEvent
*)new wxQueryNewPaletteEvent(arg1
);
18829 wxPyEndAllowThreads(__tstate
);
18830 if (PyErr_Occurred()) SWIG_fail
;
18832 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxQueryNewPaletteEvent
, 1);
18839 static PyObject
*_wrap_QueryNewPaletteEvent_SetPaletteRealized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18840 PyObject
*resultobj
;
18841 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
18843 PyObject
* obj0
= 0 ;
18844 PyObject
* obj1
= 0 ;
18845 char *kwnames
[] = {
18846 (char *) "self",(char *) "realized", NULL
18849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryNewPaletteEvent_SetPaletteRealized",kwnames
,&obj0
,&obj1
)) goto fail
;
18850 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryNewPaletteEvent
,
18851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18852 arg2
= (bool)SWIG_As_bool(obj1
);
18853 if (PyErr_Occurred()) SWIG_fail
;
18855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18856 (arg1
)->SetPaletteRealized(arg2
);
18858 wxPyEndAllowThreads(__tstate
);
18859 if (PyErr_Occurred()) SWIG_fail
;
18861 Py_INCREF(Py_None
); resultobj
= Py_None
;
18868 static PyObject
*_wrap_QueryNewPaletteEvent_GetPaletteRealized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18869 PyObject
*resultobj
;
18870 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
18872 PyObject
* obj0
= 0 ;
18873 char *kwnames
[] = {
18874 (char *) "self", NULL
18877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryNewPaletteEvent_GetPaletteRealized",kwnames
,&obj0
)) goto fail
;
18878 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryNewPaletteEvent
,
18879 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18882 result
= (bool)((wxQueryNewPaletteEvent
const *)arg1
)->GetPaletteRealized();
18884 wxPyEndAllowThreads(__tstate
);
18885 if (PyErr_Occurred()) SWIG_fail
;
18888 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18896 static PyObject
* QueryNewPaletteEvent_swigregister(PyObject
*, PyObject
*args
) {
18898 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18899 SWIG_TypeClientData(SWIGTYPE_p_wxQueryNewPaletteEvent
, obj
);
18901 return Py_BuildValue((char *)"");
18903 static PyObject
*_wrap_new_NavigationKeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18904 PyObject
*resultobj
;
18905 wxNavigationKeyEvent
*result
;
18906 char *kwnames
[] = {
18910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NavigationKeyEvent",kwnames
)) goto fail
;
18912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18913 result
= (wxNavigationKeyEvent
*)new wxNavigationKeyEvent();
18915 wxPyEndAllowThreads(__tstate
);
18916 if (PyErr_Occurred()) SWIG_fail
;
18918 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNavigationKeyEvent
, 1);
18925 static PyObject
*_wrap_NavigationKeyEvent_GetDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18926 PyObject
*resultobj
;
18927 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18929 PyObject
* obj0
= 0 ;
18930 char *kwnames
[] = {
18931 (char *) "self", NULL
18934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetDirection",kwnames
,&obj0
)) goto fail
;
18935 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18936 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18939 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->GetDirection();
18941 wxPyEndAllowThreads(__tstate
);
18942 if (PyErr_Occurred()) SWIG_fail
;
18945 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18953 static PyObject
*_wrap_NavigationKeyEvent_SetDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18954 PyObject
*resultobj
;
18955 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18957 PyObject
* obj0
= 0 ;
18958 PyObject
* obj1
= 0 ;
18959 char *kwnames
[] = {
18960 (char *) "self",(char *) "forward", NULL
18963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetDirection",kwnames
,&obj0
,&obj1
)) goto fail
;
18964 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18965 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18966 arg2
= (bool)SWIG_As_bool(obj1
);
18967 if (PyErr_Occurred()) SWIG_fail
;
18969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18970 (arg1
)->SetDirection(arg2
);
18972 wxPyEndAllowThreads(__tstate
);
18973 if (PyErr_Occurred()) SWIG_fail
;
18975 Py_INCREF(Py_None
); resultobj
= Py_None
;
18982 static PyObject
*_wrap_NavigationKeyEvent_IsWindowChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18983 PyObject
*resultobj
;
18984 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18986 PyObject
* obj0
= 0 ;
18987 char *kwnames
[] = {
18988 (char *) "self", NULL
18991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_IsWindowChange",kwnames
,&obj0
)) goto fail
;
18992 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18993 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18996 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->IsWindowChange();
18998 wxPyEndAllowThreads(__tstate
);
18999 if (PyErr_Occurred()) SWIG_fail
;
19002 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19010 static PyObject
*_wrap_NavigationKeyEvent_SetWindowChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19011 PyObject
*resultobj
;
19012 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
19014 PyObject
* obj0
= 0 ;
19015 PyObject
* obj1
= 0 ;
19016 char *kwnames
[] = {
19017 (char *) "self",(char *) "ischange", NULL
19020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetWindowChange",kwnames
,&obj0
,&obj1
)) goto fail
;
19021 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
19022 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19023 arg2
= (bool)SWIG_As_bool(obj1
);
19024 if (PyErr_Occurred()) SWIG_fail
;
19026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19027 (arg1
)->SetWindowChange(arg2
);
19029 wxPyEndAllowThreads(__tstate
);
19030 if (PyErr_Occurred()) SWIG_fail
;
19032 Py_INCREF(Py_None
); resultobj
= Py_None
;
19039 static PyObject
*_wrap_NavigationKeyEvent_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19040 PyObject
*resultobj
;
19041 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
19043 PyObject
* obj0
= 0 ;
19044 PyObject
* obj1
= 0 ;
19045 char *kwnames
[] = {
19046 (char *) "self",(char *) "flags", NULL
19049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
19050 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
19051 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19052 arg2
= (long)SWIG_As_long(obj1
);
19053 if (PyErr_Occurred()) SWIG_fail
;
19055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19056 (arg1
)->SetFlags(arg2
);
19058 wxPyEndAllowThreads(__tstate
);
19059 if (PyErr_Occurred()) SWIG_fail
;
19061 Py_INCREF(Py_None
); resultobj
= Py_None
;
19068 static PyObject
*_wrap_NavigationKeyEvent_GetCurrentFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19069 PyObject
*resultobj
;
19070 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
19072 PyObject
* obj0
= 0 ;
19073 char *kwnames
[] = {
19074 (char *) "self", NULL
19077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetCurrentFocus",kwnames
,&obj0
)) goto fail
;
19078 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
19079 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19082 result
= (wxWindow
*)((wxNavigationKeyEvent
const *)arg1
)->GetCurrentFocus();
19084 wxPyEndAllowThreads(__tstate
);
19085 if (PyErr_Occurred()) SWIG_fail
;
19088 resultobj
= wxPyMake_wxObject(result
, 0);
19096 static PyObject
*_wrap_NavigationKeyEvent_SetCurrentFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19097 PyObject
*resultobj
;
19098 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
19099 wxWindow
*arg2
= (wxWindow
*) 0 ;
19100 PyObject
* obj0
= 0 ;
19101 PyObject
* obj1
= 0 ;
19102 char *kwnames
[] = {
19103 (char *) "self",(char *) "win", NULL
19106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetCurrentFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
19107 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
19108 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19109 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
19110 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19113 (arg1
)->SetCurrentFocus(arg2
);
19115 wxPyEndAllowThreads(__tstate
);
19116 if (PyErr_Occurred()) SWIG_fail
;
19118 Py_INCREF(Py_None
); resultobj
= Py_None
;
19125 static PyObject
* NavigationKeyEvent_swigregister(PyObject
*, PyObject
*args
) {
19127 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19128 SWIG_TypeClientData(SWIGTYPE_p_wxNavigationKeyEvent
, obj
);
19130 return Py_BuildValue((char *)"");
19132 static PyObject
*_wrap_new_WindowCreateEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19133 PyObject
*resultobj
;
19134 wxWindow
*arg1
= (wxWindow
*) NULL
;
19135 wxWindowCreateEvent
*result
;
19136 PyObject
* obj0
= 0 ;
19137 char *kwnames
[] = {
19138 (char *) "win", NULL
19141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowCreateEvent",kwnames
,&obj0
)) goto fail
;
19143 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
19144 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19148 result
= (wxWindowCreateEvent
*)new wxWindowCreateEvent(arg1
);
19150 wxPyEndAllowThreads(__tstate
);
19151 if (PyErr_Occurred()) SWIG_fail
;
19153 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowCreateEvent
, 1);
19160 static PyObject
*_wrap_WindowCreateEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19161 PyObject
*resultobj
;
19162 wxWindowCreateEvent
*arg1
= (wxWindowCreateEvent
*) 0 ;
19164 PyObject
* obj0
= 0 ;
19165 char *kwnames
[] = {
19166 (char *) "self", NULL
19169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowCreateEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
19170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindowCreateEvent
,
19171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19174 result
= (wxWindow
*)((wxWindowCreateEvent
const *)arg1
)->GetWindow();
19176 wxPyEndAllowThreads(__tstate
);
19177 if (PyErr_Occurred()) SWIG_fail
;
19180 resultobj
= wxPyMake_wxObject(result
, 0);
19188 static PyObject
* WindowCreateEvent_swigregister(PyObject
*, PyObject
*args
) {
19190 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19191 SWIG_TypeClientData(SWIGTYPE_p_wxWindowCreateEvent
, obj
);
19193 return Py_BuildValue((char *)"");
19195 static PyObject
*_wrap_new_WindowDestroyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19196 PyObject
*resultobj
;
19197 wxWindow
*arg1
= (wxWindow
*) NULL
;
19198 wxWindowDestroyEvent
*result
;
19199 PyObject
* obj0
= 0 ;
19200 char *kwnames
[] = {
19201 (char *) "win", NULL
19204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDestroyEvent",kwnames
,&obj0
)) goto fail
;
19206 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
19207 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19211 result
= (wxWindowDestroyEvent
*)new wxWindowDestroyEvent(arg1
);
19213 wxPyEndAllowThreads(__tstate
);
19214 if (PyErr_Occurred()) SWIG_fail
;
19216 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDestroyEvent
, 1);
19223 static PyObject
*_wrap_WindowDestroyEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19224 PyObject
*resultobj
;
19225 wxWindowDestroyEvent
*arg1
= (wxWindowDestroyEvent
*) 0 ;
19227 PyObject
* obj0
= 0 ;
19228 char *kwnames
[] = {
19229 (char *) "self", NULL
19232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowDestroyEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
19233 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindowDestroyEvent
,
19234 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19237 result
= (wxWindow
*)((wxWindowDestroyEvent
const *)arg1
)->GetWindow();
19239 wxPyEndAllowThreads(__tstate
);
19240 if (PyErr_Occurred()) SWIG_fail
;
19243 resultobj
= wxPyMake_wxObject(result
, 0);
19251 static PyObject
* WindowDestroyEvent_swigregister(PyObject
*, PyObject
*args
) {
19253 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19254 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDestroyEvent
, obj
);
19256 return Py_BuildValue((char *)"");
19258 static PyObject
*_wrap_new_ContextMenuEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19259 PyObject
*resultobj
;
19260 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19261 int arg2
= (int) 0 ;
19262 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
19263 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
19264 wxContextMenuEvent
*result
;
19266 PyObject
* obj0
= 0 ;
19267 PyObject
* obj1
= 0 ;
19268 PyObject
* obj2
= 0 ;
19269 char *kwnames
[] = {
19270 (char *) "type",(char *) "winid",(char *) "pt", NULL
19273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ContextMenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19275 arg1
= (wxEventType
)SWIG_As_int(obj0
);
19276 if (PyErr_Occurred()) SWIG_fail
;
19279 arg2
= (int)SWIG_As_int(obj1
);
19280 if (PyErr_Occurred()) SWIG_fail
;
19285 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19290 result
= (wxContextMenuEvent
*)new wxContextMenuEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
19292 wxPyEndAllowThreads(__tstate
);
19293 if (PyErr_Occurred()) SWIG_fail
;
19295 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextMenuEvent
, 1);
19302 static PyObject
*_wrap_ContextMenuEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19303 PyObject
*resultobj
;
19304 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
19306 PyObject
* obj0
= 0 ;
19307 char *kwnames
[] = {
19308 (char *) "self", NULL
19311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextMenuEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
19312 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextMenuEvent
,
19313 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19317 wxPoint
const &_result_ref
= ((wxContextMenuEvent
const *)arg1
)->GetPosition();
19318 result
= (wxPoint
*) &_result_ref
;
19321 wxPyEndAllowThreads(__tstate
);
19322 if (PyErr_Occurred()) SWIG_fail
;
19324 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
19331 static PyObject
*_wrap_ContextMenuEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19332 PyObject
*resultobj
;
19333 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
19334 wxPoint
*arg2
= 0 ;
19336 PyObject
* obj0
= 0 ;
19337 PyObject
* obj1
= 0 ;
19338 char *kwnames
[] = {
19339 (char *) "self",(char *) "pos", NULL
19342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ContextMenuEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
19343 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextMenuEvent
,
19344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19347 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19351 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
19353 wxPyEndAllowThreads(__tstate
);
19354 if (PyErr_Occurred()) SWIG_fail
;
19356 Py_INCREF(Py_None
); resultobj
= Py_None
;
19363 static PyObject
* ContextMenuEvent_swigregister(PyObject
*, PyObject
*args
) {
19365 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19366 SWIG_TypeClientData(SWIGTYPE_p_wxContextMenuEvent
, obj
);
19368 return Py_BuildValue((char *)"");
19370 static PyObject
*_wrap_new_IdleEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19371 PyObject
*resultobj
;
19372 wxIdleEvent
*result
;
19373 char *kwnames
[] = {
19377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_IdleEvent",kwnames
)) goto fail
;
19379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19380 result
= (wxIdleEvent
*)new wxIdleEvent();
19382 wxPyEndAllowThreads(__tstate
);
19383 if (PyErr_Occurred()) SWIG_fail
;
19385 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIdleEvent
, 1);
19392 static PyObject
*_wrap_IdleEvent_RequestMore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19393 PyObject
*resultobj
;
19394 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
19395 bool arg2
= (bool) True
;
19396 PyObject
* obj0
= 0 ;
19397 PyObject
* obj1
= 0 ;
19398 char *kwnames
[] = {
19399 (char *) "self",(char *) "needMore", NULL
19402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:IdleEvent_RequestMore",kwnames
,&obj0
,&obj1
)) goto fail
;
19403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIdleEvent
,
19404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19406 arg2
= (bool)SWIG_As_bool(obj1
);
19407 if (PyErr_Occurred()) SWIG_fail
;
19410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19411 (arg1
)->RequestMore(arg2
);
19413 wxPyEndAllowThreads(__tstate
);
19414 if (PyErr_Occurred()) SWIG_fail
;
19416 Py_INCREF(Py_None
); resultobj
= Py_None
;
19423 static PyObject
*_wrap_IdleEvent_MoreRequested(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19424 PyObject
*resultobj
;
19425 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
19427 PyObject
* obj0
= 0 ;
19428 char *kwnames
[] = {
19429 (char *) "self", NULL
19432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_MoreRequested",kwnames
,&obj0
)) goto fail
;
19433 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIdleEvent
,
19434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19437 result
= (bool)((wxIdleEvent
const *)arg1
)->MoreRequested();
19439 wxPyEndAllowThreads(__tstate
);
19440 if (PyErr_Occurred()) SWIG_fail
;
19443 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19451 static PyObject
*_wrap_IdleEvent_SetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19452 PyObject
*resultobj
;
19454 PyObject
* obj0
= 0 ;
19455 char *kwnames
[] = {
19456 (char *) "mode", NULL
19459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_SetMode",kwnames
,&obj0
)) goto fail
;
19460 arg1
= (int)SWIG_As_int(obj0
);
19461 if (PyErr_Occurred()) SWIG_fail
;
19463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19464 wxIdleEvent::SetMode((wxIdleMode
)arg1
);
19466 wxPyEndAllowThreads(__tstate
);
19467 if (PyErr_Occurred()) SWIG_fail
;
19469 Py_INCREF(Py_None
); resultobj
= Py_None
;
19476 static PyObject
*_wrap_IdleEvent_GetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19477 PyObject
*resultobj
;
19479 char *kwnames
[] = {
19483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IdleEvent_GetMode",kwnames
)) goto fail
;
19485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19486 result
= (int)wxIdleEvent::GetMode();
19488 wxPyEndAllowThreads(__tstate
);
19489 if (PyErr_Occurred()) SWIG_fail
;
19491 resultobj
= SWIG_From_int((int)result
);
19498 static PyObject
*_wrap_IdleEvent_CanSend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19499 PyObject
*resultobj
;
19500 wxWindow
*arg1
= (wxWindow
*) 0 ;
19502 PyObject
* obj0
= 0 ;
19503 char *kwnames
[] = {
19504 (char *) "win", NULL
19507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_CanSend",kwnames
,&obj0
)) goto fail
;
19508 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
19509 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19512 result
= (bool)wxIdleEvent::CanSend(arg1
);
19514 wxPyEndAllowThreads(__tstate
);
19515 if (PyErr_Occurred()) SWIG_fail
;
19518 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19526 static PyObject
* IdleEvent_swigregister(PyObject
*, PyObject
*args
) {
19528 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19529 SWIG_TypeClientData(SWIGTYPE_p_wxIdleEvent
, obj
);
19531 return Py_BuildValue((char *)"");
19533 static PyObject
*_wrap_new_PyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19534 PyObject
*resultobj
;
19535 int arg1
= (int) 0 ;
19536 wxEventType arg2
= (wxEventType
) wxEVT_NULL
;
19538 PyObject
* obj0
= 0 ;
19539 PyObject
* obj1
= 0 ;
19540 char *kwnames
[] = {
19541 (char *) "winid",(char *) "commandType", NULL
19544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19546 arg1
= (int)SWIG_As_int(obj0
);
19547 if (PyErr_Occurred()) SWIG_fail
;
19550 arg2
= (wxEventType
)SWIG_As_int(obj1
);
19551 if (PyErr_Occurred()) SWIG_fail
;
19554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19555 result
= (wxPyEvent
*)new wxPyEvent(arg1
,arg2
);
19557 wxPyEndAllowThreads(__tstate
);
19558 if (PyErr_Occurred()) SWIG_fail
;
19560 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyEvent
, 1);
19567 static PyObject
*_wrap_delete_PyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19568 PyObject
*resultobj
;
19569 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
19570 PyObject
* obj0
= 0 ;
19571 char *kwnames
[] = {
19572 (char *) "self", NULL
19575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyEvent",kwnames
,&obj0
)) goto fail
;
19576 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEvent
,
19577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19582 wxPyEndAllowThreads(__tstate
);
19583 if (PyErr_Occurred()) SWIG_fail
;
19585 Py_INCREF(Py_None
); resultobj
= Py_None
;
19592 static PyObject
*_wrap_PyEvent_SetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19593 PyObject
*resultobj
;
19594 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
19595 PyObject
*arg2
= (PyObject
*) 0 ;
19596 PyObject
* obj0
= 0 ;
19597 PyObject
* obj1
= 0 ;
19598 char *kwnames
[] = {
19599 (char *) "self",(char *) "self", NULL
19602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEvent_SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
19603 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEvent
,
19604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19608 (arg1
)->SetSelf(arg2
);
19610 wxPyEndAllowThreads(__tstate
);
19611 if (PyErr_Occurred()) SWIG_fail
;
19613 Py_INCREF(Py_None
); resultobj
= Py_None
;
19620 static PyObject
*_wrap_PyEvent_GetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19621 PyObject
*resultobj
;
19622 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
19624 PyObject
* obj0
= 0 ;
19625 char *kwnames
[] = {
19626 (char *) "self", NULL
19629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyEvent_GetSelf",kwnames
,&obj0
)) goto fail
;
19630 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEvent
,
19631 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19634 result
= (PyObject
*)(arg1
)->GetSelf();
19636 wxPyEndAllowThreads(__tstate
);
19637 if (PyErr_Occurred()) SWIG_fail
;
19639 resultobj
= result
;
19646 static PyObject
* PyEvent_swigregister(PyObject
*, PyObject
*args
) {
19648 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19649 SWIG_TypeClientData(SWIGTYPE_p_wxPyEvent
, obj
);
19651 return Py_BuildValue((char *)"");
19653 static PyObject
*_wrap_new_PyCommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19654 PyObject
*resultobj
;
19655 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19656 int arg2
= (int) 0 ;
19657 wxPyCommandEvent
*result
;
19658 PyObject
* obj0
= 0 ;
19659 PyObject
* obj1
= 0 ;
19660 char *kwnames
[] = {
19661 (char *) "commandType",(char *) "id", NULL
19664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyCommandEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19666 arg1
= (wxEventType
)SWIG_As_int(obj0
);
19667 if (PyErr_Occurred()) SWIG_fail
;
19670 arg2
= (int)SWIG_As_int(obj1
);
19671 if (PyErr_Occurred()) SWIG_fail
;
19674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19675 result
= (wxPyCommandEvent
*)new wxPyCommandEvent(arg1
,arg2
);
19677 wxPyEndAllowThreads(__tstate
);
19678 if (PyErr_Occurred()) SWIG_fail
;
19680 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyCommandEvent
, 1);
19687 static PyObject
*_wrap_delete_PyCommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19688 PyObject
*resultobj
;
19689 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
19690 PyObject
* obj0
= 0 ;
19691 char *kwnames
[] = {
19692 (char *) "self", NULL
19695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyCommandEvent",kwnames
,&obj0
)) goto fail
;
19696 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCommandEvent
,
19697 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19702 wxPyEndAllowThreads(__tstate
);
19703 if (PyErr_Occurred()) SWIG_fail
;
19705 Py_INCREF(Py_None
); resultobj
= Py_None
;
19712 static PyObject
*_wrap_PyCommandEvent_SetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19713 PyObject
*resultobj
;
19714 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
19715 PyObject
*arg2
= (PyObject
*) 0 ;
19716 PyObject
* obj0
= 0 ;
19717 PyObject
* obj1
= 0 ;
19718 char *kwnames
[] = {
19719 (char *) "self",(char *) "self", NULL
19722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCommandEvent_SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
19723 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCommandEvent
,
19724 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19728 (arg1
)->SetSelf(arg2
);
19730 wxPyEndAllowThreads(__tstate
);
19731 if (PyErr_Occurred()) SWIG_fail
;
19733 Py_INCREF(Py_None
); resultobj
= Py_None
;
19740 static PyObject
*_wrap_PyCommandEvent_GetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19741 PyObject
*resultobj
;
19742 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
19744 PyObject
* obj0
= 0 ;
19745 char *kwnames
[] = {
19746 (char *) "self", NULL
19749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCommandEvent_GetSelf",kwnames
,&obj0
)) goto fail
;
19750 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCommandEvent
,
19751 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19754 result
= (PyObject
*)(arg1
)->GetSelf();
19756 wxPyEndAllowThreads(__tstate
);
19757 if (PyErr_Occurred()) SWIG_fail
;
19759 resultobj
= result
;
19766 static PyObject
* PyCommandEvent_swigregister(PyObject
*, PyObject
*args
) {
19768 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19769 SWIG_TypeClientData(SWIGTYPE_p_wxPyCommandEvent
, obj
);
19771 return Py_BuildValue((char *)"");
19773 static PyObject
*_wrap_new_PyApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19774 PyObject
*resultobj
;
19776 char *kwnames
[] = {
19780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyApp",kwnames
)) goto fail
;
19782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19783 result
= (wxPyApp
*)new_wxPyApp();
19785 wxPyEndAllowThreads(__tstate
);
19786 if (PyErr_Occurred()) SWIG_fail
;
19788 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyApp
, 1);
19795 static PyObject
*_wrap_delete_PyApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19796 PyObject
*resultobj
;
19797 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19798 PyObject
* obj0
= 0 ;
19799 char *kwnames
[] = {
19800 (char *) "self", NULL
19803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyApp",kwnames
,&obj0
)) goto fail
;
19804 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19810 wxPyEndAllowThreads(__tstate
);
19811 if (PyErr_Occurred()) SWIG_fail
;
19813 Py_INCREF(Py_None
); resultobj
= Py_None
;
19820 static PyObject
*_wrap_PyApp__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19821 PyObject
*resultobj
;
19822 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19823 PyObject
*arg2
= (PyObject
*) 0 ;
19824 PyObject
*arg3
= (PyObject
*) 0 ;
19825 PyObject
* obj0
= 0 ;
19826 PyObject
* obj1
= 0 ;
19827 PyObject
* obj2
= 0 ;
19828 char *kwnames
[] = {
19829 (char *) "self",(char *) "self",(char *) "_class", NULL
19832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19833 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19834 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19839 (arg1
)->_setCallbackInfo(arg2
,arg3
);
19841 wxPyEndAllowThreads(__tstate
);
19842 if (PyErr_Occurred()) SWIG_fail
;
19844 Py_INCREF(Py_None
); resultobj
= Py_None
;
19851 static PyObject
*_wrap_PyApp_GetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19852 PyObject
*resultobj
;
19853 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19855 PyObject
* obj0
= 0 ;
19856 char *kwnames
[] = {
19857 (char *) "self", NULL
19860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAppName",kwnames
,&obj0
)) goto fail
;
19861 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19862 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19865 result
= ((wxPyApp
const *)arg1
)->GetAppName();
19867 wxPyEndAllowThreads(__tstate
);
19868 if (PyErr_Occurred()) SWIG_fail
;
19872 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19874 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19883 static PyObject
*_wrap_PyApp_SetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19884 PyObject
*resultobj
;
19885 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19886 wxString
*arg2
= 0 ;
19887 bool temp2
= False
;
19888 PyObject
* obj0
= 0 ;
19889 PyObject
* obj1
= 0 ;
19890 char *kwnames
[] = {
19891 (char *) "self",(char *) "name", NULL
19894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
;
19895 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19898 arg2
= wxString_in_helper(obj1
);
19899 if (arg2
== NULL
) SWIG_fail
;
19903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19904 (arg1
)->SetAppName((wxString
const &)*arg2
);
19906 wxPyEndAllowThreads(__tstate
);
19907 if (PyErr_Occurred()) SWIG_fail
;
19909 Py_INCREF(Py_None
); resultobj
= Py_None
;
19924 static PyObject
*_wrap_PyApp_GetClassName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19925 PyObject
*resultobj
;
19926 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19928 PyObject
* obj0
= 0 ;
19929 char *kwnames
[] = {
19930 (char *) "self", NULL
19933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetClassName",kwnames
,&obj0
)) goto fail
;
19934 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19935 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19938 result
= ((wxPyApp
const *)arg1
)->GetClassName();
19940 wxPyEndAllowThreads(__tstate
);
19941 if (PyErr_Occurred()) SWIG_fail
;
19945 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19947 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19956 static PyObject
*_wrap_PyApp_SetClassName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19957 PyObject
*resultobj
;
19958 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19959 wxString
*arg2
= 0 ;
19960 bool temp2
= False
;
19961 PyObject
* obj0
= 0 ;
19962 PyObject
* obj1
= 0 ;
19963 char *kwnames
[] = {
19964 (char *) "self",(char *) "name", NULL
19967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetClassName",kwnames
,&obj0
,&obj1
)) goto fail
;
19968 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19969 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19971 arg2
= wxString_in_helper(obj1
);
19972 if (arg2
== NULL
) SWIG_fail
;
19976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19977 (arg1
)->SetClassName((wxString
const &)*arg2
);
19979 wxPyEndAllowThreads(__tstate
);
19980 if (PyErr_Occurred()) SWIG_fail
;
19982 Py_INCREF(Py_None
); resultobj
= Py_None
;
19997 static PyObject
*_wrap_PyApp_GetVendorName(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_GetVendorName",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();
20012 wxString
const &_result_ref
= ((wxPyApp
const *)arg1
)->GetVendorName();
20013 result
= (wxString
*) &_result_ref
;
20016 wxPyEndAllowThreads(__tstate
);
20017 if (PyErr_Occurred()) SWIG_fail
;
20021 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20023 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20032 static PyObject
*_wrap_PyApp_SetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20033 PyObject
*resultobj
;
20034 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20035 wxString
*arg2
= 0 ;
20036 bool temp2
= False
;
20037 PyObject
* obj0
= 0 ;
20038 PyObject
* obj1
= 0 ;
20039 char *kwnames
[] = {
20040 (char *) "self",(char *) "name", NULL
20043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
;
20044 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20045 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20047 arg2
= wxString_in_helper(obj1
);
20048 if (arg2
== NULL
) SWIG_fail
;
20052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20053 (arg1
)->SetVendorName((wxString
const &)*arg2
);
20055 wxPyEndAllowThreads(__tstate
);
20056 if (PyErr_Occurred()) SWIG_fail
;
20058 Py_INCREF(Py_None
); resultobj
= Py_None
;
20073 static PyObject
*_wrap_PyApp_GetTraits(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20074 PyObject
*resultobj
;
20075 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20076 wxAppTraits
*result
;
20077 PyObject
* obj0
= 0 ;
20078 char *kwnames
[] = {
20079 (char *) "self", NULL
20082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTraits",kwnames
,&obj0
)) goto fail
;
20083 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20084 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20087 result
= (wxAppTraits
*)(arg1
)->GetTraits();
20089 wxPyEndAllowThreads(__tstate
);
20090 if (PyErr_Occurred()) SWIG_fail
;
20092 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAppTraits
, 0);
20099 static PyObject
*_wrap_PyApp_ProcessPendingEvents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20100 PyObject
*resultobj
;
20101 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20102 PyObject
* obj0
= 0 ;
20103 char *kwnames
[] = {
20104 (char *) "self", NULL
20107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
20108 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20109 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20112 (arg1
)->ProcessPendingEvents();
20114 wxPyEndAllowThreads(__tstate
);
20115 if (PyErr_Occurred()) SWIG_fail
;
20117 Py_INCREF(Py_None
); resultobj
= Py_None
;
20124 static PyObject
*_wrap_PyApp_Yield(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20125 PyObject
*resultobj
;
20126 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20127 bool arg2
= (bool) False
;
20129 PyObject
* obj0
= 0 ;
20130 PyObject
* obj1
= 0 ;
20131 char *kwnames
[] = {
20132 (char *) "self",(char *) "onlyIfNeeded", NULL
20135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyApp_Yield",kwnames
,&obj0
,&obj1
)) goto fail
;
20136 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20137 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20139 arg2
= (bool)SWIG_As_bool(obj1
);
20140 if (PyErr_Occurred()) SWIG_fail
;
20143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20144 result
= (bool)(arg1
)->Yield(arg2
);
20146 wxPyEndAllowThreads(__tstate
);
20147 if (PyErr_Occurred()) SWIG_fail
;
20150 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20158 static PyObject
*_wrap_PyApp_WakeUpIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20159 PyObject
*resultobj
;
20160 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20161 PyObject
* obj0
= 0 ;
20162 char *kwnames
[] = {
20163 (char *) "self", NULL
20166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_WakeUpIdle",kwnames
,&obj0
)) goto fail
;
20167 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20168 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20171 (arg1
)->WakeUpIdle();
20173 wxPyEndAllowThreads(__tstate
);
20174 if (PyErr_Occurred()) SWIG_fail
;
20176 Py_INCREF(Py_None
); resultobj
= Py_None
;
20183 static PyObject
*_wrap_PyApp_MainLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20184 PyObject
*resultobj
;
20185 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20187 PyObject
* obj0
= 0 ;
20188 char *kwnames
[] = {
20189 (char *) "self", NULL
20192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_MainLoop",kwnames
,&obj0
)) goto fail
;
20193 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20194 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20197 result
= (int)(arg1
)->MainLoop();
20199 wxPyEndAllowThreads(__tstate
);
20200 if (PyErr_Occurred()) SWIG_fail
;
20202 resultobj
= SWIG_From_int((int)result
);
20209 static PyObject
*_wrap_PyApp_Exit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20210 PyObject
*resultobj
;
20211 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20212 PyObject
* obj0
= 0 ;
20213 char *kwnames
[] = {
20214 (char *) "self", NULL
20217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Exit",kwnames
,&obj0
)) goto fail
;
20218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20224 wxPyEndAllowThreads(__tstate
);
20225 if (PyErr_Occurred()) SWIG_fail
;
20227 Py_INCREF(Py_None
); resultobj
= Py_None
;
20234 static PyObject
*_wrap_PyApp_ExitMainLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20235 PyObject
*resultobj
;
20236 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20237 PyObject
* obj0
= 0 ;
20238 char *kwnames
[] = {
20239 (char *) "self", NULL
20242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ExitMainLoop",kwnames
,&obj0
)) goto fail
;
20243 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20244 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20247 (arg1
)->ExitMainLoop();
20249 wxPyEndAllowThreads(__tstate
);
20250 if (PyErr_Occurred()) SWIG_fail
;
20252 Py_INCREF(Py_None
); resultobj
= Py_None
;
20259 static PyObject
*_wrap_PyApp_Pending(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20260 PyObject
*resultobj
;
20261 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20263 PyObject
* obj0
= 0 ;
20264 char *kwnames
[] = {
20265 (char *) "self", NULL
20268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Pending",kwnames
,&obj0
)) goto fail
;
20269 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20270 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20273 result
= (bool)(arg1
)->Pending();
20275 wxPyEndAllowThreads(__tstate
);
20276 if (PyErr_Occurred()) SWIG_fail
;
20279 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20287 static PyObject
*_wrap_PyApp_Dispatch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20288 PyObject
*resultobj
;
20289 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20291 PyObject
* obj0
= 0 ;
20292 char *kwnames
[] = {
20293 (char *) "self", NULL
20296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Dispatch",kwnames
,&obj0
)) goto fail
;
20297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20301 result
= (bool)(arg1
)->Dispatch();
20303 wxPyEndAllowThreads(__tstate
);
20304 if (PyErr_Occurred()) SWIG_fail
;
20307 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20315 static PyObject
*_wrap_PyApp_ProcessIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20316 PyObject
*resultobj
;
20317 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20319 PyObject
* obj0
= 0 ;
20320 char *kwnames
[] = {
20321 (char *) "self", NULL
20324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessIdle",kwnames
,&obj0
)) goto fail
;
20325 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20329 result
= (bool)(arg1
)->ProcessIdle();
20331 wxPyEndAllowThreads(__tstate
);
20332 if (PyErr_Occurred()) SWIG_fail
;
20335 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20343 static PyObject
*_wrap_PyApp_SendIdleEvents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20344 PyObject
*resultobj
;
20345 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20346 wxWindow
*arg2
= (wxWindow
*) 0 ;
20347 wxIdleEvent
*arg3
= 0 ;
20349 PyObject
* obj0
= 0 ;
20350 PyObject
* obj1
= 0 ;
20351 PyObject
* obj2
= 0 ;
20352 char *kwnames
[] = {
20353 (char *) "self",(char *) "win",(char *) "event", NULL
20356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp_SendIdleEvents",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20357 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20358 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20359 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
20360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20361 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxIdleEvent
,
20362 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20364 if (arg3
== NULL
) {
20365 PyErr_SetString(PyExc_TypeError
,"null reference");
20369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20370 result
= (bool)(arg1
)->SendIdleEvents(arg2
,*arg3
);
20372 wxPyEndAllowThreads(__tstate
);
20373 if (PyErr_Occurred()) SWIG_fail
;
20376 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20384 static PyObject
*_wrap_PyApp_IsActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20385 PyObject
*resultobj
;
20386 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20388 PyObject
* obj0
= 0 ;
20389 char *kwnames
[] = {
20390 (char *) "self", NULL
20393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_IsActive",kwnames
,&obj0
)) goto fail
;
20394 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20398 result
= (bool)((wxPyApp
const *)arg1
)->IsActive();
20400 wxPyEndAllowThreads(__tstate
);
20401 if (PyErr_Occurred()) SWIG_fail
;
20404 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20412 static PyObject
*_wrap_PyApp_SetTopWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20413 PyObject
*resultobj
;
20414 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20415 wxWindow
*arg2
= (wxWindow
*) 0 ;
20416 PyObject
* obj0
= 0 ;
20417 PyObject
* obj1
= 0 ;
20418 char *kwnames
[] = {
20419 (char *) "self",(char *) "win", NULL
20422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetTopWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
20423 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20424 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20425 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
20426 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20429 (arg1
)->SetTopWindow(arg2
);
20431 wxPyEndAllowThreads(__tstate
);
20432 if (PyErr_Occurred()) SWIG_fail
;
20434 Py_INCREF(Py_None
); resultobj
= Py_None
;
20441 static PyObject
*_wrap_PyApp_GetTopWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20442 PyObject
*resultobj
;
20443 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20445 PyObject
* obj0
= 0 ;
20446 char *kwnames
[] = {
20447 (char *) "self", NULL
20450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTopWindow",kwnames
,&obj0
)) goto fail
;
20451 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20452 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20455 result
= (wxWindow
*)((wxPyApp
const *)arg1
)->GetTopWindow();
20457 wxPyEndAllowThreads(__tstate
);
20458 if (PyErr_Occurred()) SWIG_fail
;
20461 resultobj
= wxPyMake_wxObject(result
, 0);
20469 static PyObject
*_wrap_PyApp_SetExitOnFrameDelete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20470 PyObject
*resultobj
;
20471 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20473 PyObject
* obj0
= 0 ;
20474 PyObject
* obj1
= 0 ;
20475 char *kwnames
[] = {
20476 (char *) "self",(char *) "flag", NULL
20479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetExitOnFrameDelete",kwnames
,&obj0
,&obj1
)) goto fail
;
20480 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20481 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20482 arg2
= (bool)SWIG_As_bool(obj1
);
20483 if (PyErr_Occurred()) SWIG_fail
;
20485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20486 (arg1
)->SetExitOnFrameDelete(arg2
);
20488 wxPyEndAllowThreads(__tstate
);
20489 if (PyErr_Occurred()) SWIG_fail
;
20491 Py_INCREF(Py_None
); resultobj
= Py_None
;
20498 static PyObject
*_wrap_PyApp_GetExitOnFrameDelete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20499 PyObject
*resultobj
;
20500 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20502 PyObject
* obj0
= 0 ;
20503 char *kwnames
[] = {
20504 (char *) "self", NULL
20507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetExitOnFrameDelete",kwnames
,&obj0
)) goto fail
;
20508 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20509 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20512 result
= (bool)((wxPyApp
const *)arg1
)->GetExitOnFrameDelete();
20514 wxPyEndAllowThreads(__tstate
);
20515 if (PyErr_Occurred()) SWIG_fail
;
20518 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20526 static PyObject
*_wrap_PyApp_SetUseBestVisual(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20527 PyObject
*resultobj
;
20528 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20530 PyObject
* obj0
= 0 ;
20531 PyObject
* obj1
= 0 ;
20532 char *kwnames
[] = {
20533 (char *) "self",(char *) "flag", NULL
20536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetUseBestVisual",kwnames
,&obj0
,&obj1
)) goto fail
;
20537 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20539 arg2
= (bool)SWIG_As_bool(obj1
);
20540 if (PyErr_Occurred()) SWIG_fail
;
20542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20543 (arg1
)->SetUseBestVisual(arg2
);
20545 wxPyEndAllowThreads(__tstate
);
20546 if (PyErr_Occurred()) SWIG_fail
;
20548 Py_INCREF(Py_None
); resultobj
= Py_None
;
20555 static PyObject
*_wrap_PyApp_GetUseBestVisual(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20556 PyObject
*resultobj
;
20557 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20559 PyObject
* obj0
= 0 ;
20560 char *kwnames
[] = {
20561 (char *) "self", NULL
20564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetUseBestVisual",kwnames
,&obj0
)) goto fail
;
20565 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20569 result
= (bool)((wxPyApp
const *)arg1
)->GetUseBestVisual();
20571 wxPyEndAllowThreads(__tstate
);
20572 if (PyErr_Occurred()) SWIG_fail
;
20575 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20583 static PyObject
*_wrap_PyApp_SetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20584 PyObject
*resultobj
;
20585 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20587 PyObject
* obj0
= 0 ;
20588 PyObject
* obj1
= 0 ;
20589 char *kwnames
[] = {
20590 (char *) "self",(char *) "mode", NULL
20593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetPrintMode",kwnames
,&obj0
,&obj1
)) goto fail
;
20594 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20595 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20596 arg2
= (int)SWIG_As_int(obj1
);
20597 if (PyErr_Occurred()) SWIG_fail
;
20599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20600 (arg1
)->SetPrintMode(arg2
);
20602 wxPyEndAllowThreads(__tstate
);
20603 if (PyErr_Occurred()) SWIG_fail
;
20605 Py_INCREF(Py_None
); resultobj
= Py_None
;
20612 static PyObject
*_wrap_PyApp_GetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20613 PyObject
*resultobj
;
20614 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20616 PyObject
* obj0
= 0 ;
20617 char *kwnames
[] = {
20618 (char *) "self", NULL
20621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetPrintMode",kwnames
,&obj0
)) goto fail
;
20622 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20623 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20626 result
= (int)((wxPyApp
const *)arg1
)->GetPrintMode();
20628 wxPyEndAllowThreads(__tstate
);
20629 if (PyErr_Occurred()) SWIG_fail
;
20631 resultobj
= SWIG_From_int((int)result
);
20638 static PyObject
*_wrap_PyApp_SetAssertMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20639 PyObject
*resultobj
;
20640 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20642 PyObject
* obj0
= 0 ;
20643 PyObject
* obj1
= 0 ;
20644 char *kwnames
[] = {
20645 (char *) "self",(char *) "mode", NULL
20648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAssertMode",kwnames
,&obj0
,&obj1
)) goto fail
;
20649 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20651 arg2
= (int)SWIG_As_int(obj1
);
20652 if (PyErr_Occurred()) SWIG_fail
;
20654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20655 (arg1
)->SetAssertMode(arg2
);
20657 wxPyEndAllowThreads(__tstate
);
20658 if (PyErr_Occurred()) SWIG_fail
;
20660 Py_INCREF(Py_None
); resultobj
= Py_None
;
20667 static PyObject
*_wrap_PyApp_GetAssertMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20668 PyObject
*resultobj
;
20669 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20671 PyObject
* obj0
= 0 ;
20672 char *kwnames
[] = {
20673 (char *) "self", NULL
20676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAssertMode",kwnames
,&obj0
)) goto fail
;
20677 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20678 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20681 result
= (int)(arg1
)->GetAssertMode();
20683 wxPyEndAllowThreads(__tstate
);
20684 if (PyErr_Occurred()) SWIG_fail
;
20686 resultobj
= SWIG_From_int((int)result
);
20693 static PyObject
*_wrap_PyApp_GetMacSupportPCMenuShortcuts(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20694 PyObject
*resultobj
;
20696 char *kwnames
[] = {
20700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacSupportPCMenuShortcuts",kwnames
)) goto fail
;
20702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20703 result
= (bool)wxPyApp::GetMacSupportPCMenuShortcuts();
20705 wxPyEndAllowThreads(__tstate
);
20706 if (PyErr_Occurred()) SWIG_fail
;
20709 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20717 static PyObject
*_wrap_PyApp_GetMacAboutMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20718 PyObject
*resultobj
;
20720 char *kwnames
[] = {
20724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacAboutMenuItemId",kwnames
)) goto fail
;
20726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20727 result
= (long)wxPyApp::GetMacAboutMenuItemId();
20729 wxPyEndAllowThreads(__tstate
);
20730 if (PyErr_Occurred()) SWIG_fail
;
20732 resultobj
= SWIG_From_long((long)result
);
20739 static PyObject
*_wrap_PyApp_GetMacPreferencesMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20740 PyObject
*resultobj
;
20742 char *kwnames
[] = {
20746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacPreferencesMenuItemId",kwnames
)) goto fail
;
20748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20749 result
= (long)wxPyApp::GetMacPreferencesMenuItemId();
20751 wxPyEndAllowThreads(__tstate
);
20752 if (PyErr_Occurred()) SWIG_fail
;
20754 resultobj
= SWIG_From_long((long)result
);
20761 static PyObject
*_wrap_PyApp_GetMacExitMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20762 PyObject
*resultobj
;
20764 char *kwnames
[] = {
20768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacExitMenuItemId",kwnames
)) goto fail
;
20770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20771 result
= (long)wxPyApp::GetMacExitMenuItemId();
20773 wxPyEndAllowThreads(__tstate
);
20774 if (PyErr_Occurred()) SWIG_fail
;
20776 resultobj
= SWIG_From_long((long)result
);
20783 static PyObject
*_wrap_PyApp_GetMacHelpMenuTitleName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20784 PyObject
*resultobj
;
20786 char *kwnames
[] = {
20790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacHelpMenuTitleName",kwnames
)) goto fail
;
20792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20793 result
= wxPyApp::GetMacHelpMenuTitleName();
20795 wxPyEndAllowThreads(__tstate
);
20796 if (PyErr_Occurred()) SWIG_fail
;
20800 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20802 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20811 static PyObject
*_wrap_PyApp_SetMacSupportPCMenuShortcuts(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20812 PyObject
*resultobj
;
20814 PyObject
* obj0
= 0 ;
20815 char *kwnames
[] = {
20816 (char *) "val", NULL
20819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacSupportPCMenuShortcuts",kwnames
,&obj0
)) goto fail
;
20820 arg1
= (bool)SWIG_As_bool(obj0
);
20821 if (PyErr_Occurred()) SWIG_fail
;
20823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20824 wxPyApp::SetMacSupportPCMenuShortcuts(arg1
);
20826 wxPyEndAllowThreads(__tstate
);
20827 if (PyErr_Occurred()) SWIG_fail
;
20829 Py_INCREF(Py_None
); resultobj
= Py_None
;
20836 static PyObject
*_wrap_PyApp_SetMacAboutMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20837 PyObject
*resultobj
;
20839 PyObject
* obj0
= 0 ;
20840 char *kwnames
[] = {
20841 (char *) "val", NULL
20844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacAboutMenuItemId",kwnames
,&obj0
)) goto fail
;
20845 arg1
= (long)SWIG_As_long(obj0
);
20846 if (PyErr_Occurred()) SWIG_fail
;
20848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20849 wxPyApp::SetMacAboutMenuItemId(arg1
);
20851 wxPyEndAllowThreads(__tstate
);
20852 if (PyErr_Occurred()) SWIG_fail
;
20854 Py_INCREF(Py_None
); resultobj
= Py_None
;
20861 static PyObject
*_wrap_PyApp_SetMacPreferencesMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20862 PyObject
*resultobj
;
20864 PyObject
* obj0
= 0 ;
20865 char *kwnames
[] = {
20866 (char *) "val", NULL
20869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacPreferencesMenuItemId",kwnames
,&obj0
)) goto fail
;
20870 arg1
= (long)SWIG_As_long(obj0
);
20871 if (PyErr_Occurred()) SWIG_fail
;
20873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20874 wxPyApp::SetMacPreferencesMenuItemId(arg1
);
20876 wxPyEndAllowThreads(__tstate
);
20877 if (PyErr_Occurred()) SWIG_fail
;
20879 Py_INCREF(Py_None
); resultobj
= Py_None
;
20886 static PyObject
*_wrap_PyApp_SetMacExitMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20887 PyObject
*resultobj
;
20889 PyObject
* obj0
= 0 ;
20890 char *kwnames
[] = {
20891 (char *) "val", NULL
20894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacExitMenuItemId",kwnames
,&obj0
)) goto fail
;
20895 arg1
= (long)SWIG_As_long(obj0
);
20896 if (PyErr_Occurred()) SWIG_fail
;
20898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20899 wxPyApp::SetMacExitMenuItemId(arg1
);
20901 wxPyEndAllowThreads(__tstate
);
20902 if (PyErr_Occurred()) SWIG_fail
;
20904 Py_INCREF(Py_None
); resultobj
= Py_None
;
20911 static PyObject
*_wrap_PyApp_SetMacHelpMenuTitleName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20912 PyObject
*resultobj
;
20913 wxString
*arg1
= 0 ;
20914 bool temp1
= False
;
20915 PyObject
* obj0
= 0 ;
20916 char *kwnames
[] = {
20917 (char *) "val", NULL
20920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacHelpMenuTitleName",kwnames
,&obj0
)) goto fail
;
20922 arg1
= wxString_in_helper(obj0
);
20923 if (arg1
== NULL
) SWIG_fail
;
20927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20928 wxPyApp::SetMacHelpMenuTitleName((wxString
const &)*arg1
);
20930 wxPyEndAllowThreads(__tstate
);
20931 if (PyErr_Occurred()) SWIG_fail
;
20933 Py_INCREF(Py_None
); resultobj
= Py_None
;
20948 static PyObject
*_wrap_PyApp__BootstrapApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20949 PyObject
*resultobj
;
20950 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20951 PyObject
* obj0
= 0 ;
20952 char *kwnames
[] = {
20953 (char *) "self", NULL
20956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp__BootstrapApp",kwnames
,&obj0
)) goto fail
;
20957 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20958 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20961 (arg1
)->_BootstrapApp();
20963 wxPyEndAllowThreads(__tstate
);
20964 if (PyErr_Occurred()) SWIG_fail
;
20966 Py_INCREF(Py_None
); resultobj
= Py_None
;
20973 static PyObject
*_wrap_PyApp_GetComCtl32Version(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20974 PyObject
*resultobj
;
20976 char *kwnames
[] = {
20980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetComCtl32Version",kwnames
)) goto fail
;
20982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20983 result
= (int)wxPyApp::GetComCtl32Version();
20985 wxPyEndAllowThreads(__tstate
);
20986 if (PyErr_Occurred()) SWIG_fail
;
20988 resultobj
= SWIG_From_int((int)result
);
20995 static PyObject
* PyApp_swigregister(PyObject
*, PyObject
*args
) {
20997 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20998 SWIG_TypeClientData(SWIGTYPE_p_wxPyApp
, obj
);
21000 return Py_BuildValue((char *)"");
21002 static PyObject
*_wrap_Exit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21003 PyObject
*resultobj
;
21004 char *kwnames
[] = {
21008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Exit",kwnames
)) goto fail
;
21010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21013 wxPyEndAllowThreads(__tstate
);
21014 if (PyErr_Occurred()) SWIG_fail
;
21016 Py_INCREF(Py_None
); resultobj
= Py_None
;
21023 static PyObject
*_wrap_Yield(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21024 PyObject
*resultobj
;
21026 char *kwnames
[] = {
21030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Yield",kwnames
)) goto fail
;
21032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21033 result
= (bool)wxYield();
21035 wxPyEndAllowThreads(__tstate
);
21036 if (PyErr_Occurred()) SWIG_fail
;
21039 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21047 static PyObject
*_wrap_YieldIfNeeded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21048 PyObject
*resultobj
;
21050 char *kwnames
[] = {
21054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":YieldIfNeeded",kwnames
)) goto fail
;
21056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21057 result
= (bool)wxYieldIfNeeded();
21059 wxPyEndAllowThreads(__tstate
);
21060 if (PyErr_Occurred()) SWIG_fail
;
21063 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21071 static PyObject
*_wrap_SafeYield(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21072 PyObject
*resultobj
;
21073 wxWindow
*arg1
= (wxWindow
*) NULL
;
21074 bool arg2
= (bool) False
;
21076 PyObject
* obj0
= 0 ;
21077 PyObject
* obj1
= 0 ;
21078 char *kwnames
[] = {
21079 (char *) "win",(char *) "onlyIfNeeded", NULL
21082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:SafeYield",kwnames
,&obj0
,&obj1
)) goto fail
;
21084 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21085 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21088 arg2
= (bool)SWIG_As_bool(obj1
);
21089 if (PyErr_Occurred()) SWIG_fail
;
21092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21093 result
= (bool)wxSafeYield(arg1
,arg2
);
21095 wxPyEndAllowThreads(__tstate
);
21096 if (PyErr_Occurred()) SWIG_fail
;
21099 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21107 static PyObject
*_wrap_WakeUpIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21108 PyObject
*resultobj
;
21109 char *kwnames
[] = {
21113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpIdle",kwnames
)) goto fail
;
21115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21118 wxPyEndAllowThreads(__tstate
);
21119 if (PyErr_Occurred()) SWIG_fail
;
21121 Py_INCREF(Py_None
); resultobj
= Py_None
;
21128 static PyObject
*_wrap_PostEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21129 PyObject
*resultobj
;
21130 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
21131 wxEvent
*arg2
= 0 ;
21132 PyObject
* obj0
= 0 ;
21133 PyObject
* obj1
= 0 ;
21134 char *kwnames
[] = {
21135 (char *) "dest",(char *) "event", NULL
21138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
21139 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
21140 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21141 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvent
,
21142 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21144 if (arg2
== NULL
) {
21145 PyErr_SetString(PyExc_TypeError
,"null reference");
21149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21150 wxPostEvent(arg1
,*arg2
);
21152 wxPyEndAllowThreads(__tstate
);
21153 if (PyErr_Occurred()) SWIG_fail
;
21155 Py_INCREF(Py_None
); resultobj
= Py_None
;
21162 static PyObject
*_wrap_App_CleanUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21163 PyObject
*resultobj
;
21164 char *kwnames
[] = {
21168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":App_CleanUp",kwnames
)) goto fail
;
21170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21173 wxPyEndAllowThreads(__tstate
);
21174 if (PyErr_Occurred()) SWIG_fail
;
21176 Py_INCREF(Py_None
); resultobj
= Py_None
;
21183 static PyObject
*_wrap_GetApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21184 PyObject
*resultobj
;
21186 char *kwnames
[] = {
21190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetApp",kwnames
)) goto fail
;
21192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21193 result
= (wxPyApp
*)wxPyGetApp();
21195 wxPyEndAllowThreads(__tstate
);
21196 if (PyErr_Occurred()) SWIG_fail
;
21199 resultobj
= wxPyMake_wxObject(result
, 0);
21207 static PyObject
*_wrap_new_AcceleratorEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21208 PyObject
*resultobj
;
21209 int arg1
= (int) 0 ;
21210 int arg2
= (int) 0 ;
21211 int arg3
= (int) 0 ;
21212 wxAcceleratorEntry
*result
;
21213 PyObject
* obj0
= 0 ;
21214 PyObject
* obj1
= 0 ;
21215 PyObject
* obj2
= 0 ;
21216 char *kwnames
[] = {
21217 (char *) "flags",(char *) "keyCode",(char *) "cmdID", NULL
21220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_AcceleratorEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21222 arg1
= (int)SWIG_As_int(obj0
);
21223 if (PyErr_Occurred()) SWIG_fail
;
21226 arg2
= (int)SWIG_As_int(obj1
);
21227 if (PyErr_Occurred()) SWIG_fail
;
21230 arg3
= (int)SWIG_As_int(obj2
);
21231 if (PyErr_Occurred()) SWIG_fail
;
21234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21235 result
= (wxAcceleratorEntry
*)new wxAcceleratorEntry(arg1
,arg2
,arg3
);
21237 wxPyEndAllowThreads(__tstate
);
21238 if (PyErr_Occurred()) SWIG_fail
;
21240 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 1);
21247 static PyObject
*_wrap_delete_AcceleratorEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21248 PyObject
*resultobj
;
21249 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
21250 PyObject
* obj0
= 0 ;
21251 char *kwnames
[] = {
21252 (char *) "self", NULL
21255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorEntry",kwnames
,&obj0
)) goto fail
;
21256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
21257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21262 wxPyEndAllowThreads(__tstate
);
21263 if (PyErr_Occurred()) SWIG_fail
;
21265 Py_INCREF(Py_None
); resultobj
= Py_None
;
21272 static PyObject
*_wrap_AcceleratorEntry_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21273 PyObject
*resultobj
;
21274 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
21278 PyObject
* obj0
= 0 ;
21279 PyObject
* obj1
= 0 ;
21280 PyObject
* obj2
= 0 ;
21281 PyObject
* obj3
= 0 ;
21282 char *kwnames
[] = {
21283 (char *) "self",(char *) "flags",(char *) "keyCode",(char *) "cmd", NULL
21286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AcceleratorEntry_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21287 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
21288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21289 arg2
= (int)SWIG_As_int(obj1
);
21290 if (PyErr_Occurred()) SWIG_fail
;
21291 arg3
= (int)SWIG_As_int(obj2
);
21292 if (PyErr_Occurred()) SWIG_fail
;
21293 arg4
= (int)SWIG_As_int(obj3
);
21294 if (PyErr_Occurred()) SWIG_fail
;
21296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21297 (arg1
)->Set(arg2
,arg3
,arg4
);
21299 wxPyEndAllowThreads(__tstate
);
21300 if (PyErr_Occurred()) SWIG_fail
;
21302 Py_INCREF(Py_None
); resultobj
= Py_None
;
21309 static PyObject
*_wrap_AcceleratorEntry_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21310 PyObject
*resultobj
;
21311 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
21313 PyObject
* obj0
= 0 ;
21314 char *kwnames
[] = {
21315 (char *) "self", NULL
21318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetFlags",kwnames
,&obj0
)) goto fail
;
21319 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
21320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21323 result
= (int)(arg1
)->GetFlags();
21325 wxPyEndAllowThreads(__tstate
);
21326 if (PyErr_Occurred()) SWIG_fail
;
21328 resultobj
= SWIG_From_int((int)result
);
21335 static PyObject
*_wrap_AcceleratorEntry_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21336 PyObject
*resultobj
;
21337 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
21339 PyObject
* obj0
= 0 ;
21340 char *kwnames
[] = {
21341 (char *) "self", NULL
21344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetKeyCode",kwnames
,&obj0
)) goto fail
;
21345 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
21346 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21349 result
= (int)(arg1
)->GetKeyCode();
21351 wxPyEndAllowThreads(__tstate
);
21352 if (PyErr_Occurred()) SWIG_fail
;
21354 resultobj
= SWIG_From_int((int)result
);
21361 static PyObject
*_wrap_AcceleratorEntry_GetCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21362 PyObject
*resultobj
;
21363 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
21365 PyObject
* obj0
= 0 ;
21366 char *kwnames
[] = {
21367 (char *) "self", NULL
21370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetCommand",kwnames
,&obj0
)) goto fail
;
21371 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
21372 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21375 result
= (int)(arg1
)->GetCommand();
21377 wxPyEndAllowThreads(__tstate
);
21378 if (PyErr_Occurred()) SWIG_fail
;
21380 resultobj
= SWIG_From_int((int)result
);
21387 static PyObject
* AcceleratorEntry_swigregister(PyObject
*, PyObject
*args
) {
21389 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21390 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorEntry
, obj
);
21392 return Py_BuildValue((char *)"");
21394 static PyObject
*_wrap_new_AcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21395 PyObject
*resultobj
;
21397 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
21398 wxAcceleratorTable
*result
;
21399 PyObject
* obj0
= 0 ;
21400 char *kwnames
[] = {
21404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
21406 arg2
= wxAcceleratorEntry_LIST_helper(obj0
);
21407 if (arg2
) arg1
= PyList_Size(obj0
);
21411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21412 result
= (wxAcceleratorTable
*)new wxAcceleratorTable(arg1
,(wxAcceleratorEntry
const *)arg2
);
21414 wxPyEndAllowThreads(__tstate
);
21415 if (PyErr_Occurred()) SWIG_fail
;
21417 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorTable
, 1);
21430 static PyObject
*_wrap_delete_AcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21431 PyObject
*resultobj
;
21432 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
21433 PyObject
* obj0
= 0 ;
21434 char *kwnames
[] = {
21435 (char *) "self", NULL
21438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
21439 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorTable
,
21440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21445 wxPyEndAllowThreads(__tstate
);
21446 if (PyErr_Occurred()) SWIG_fail
;
21448 Py_INCREF(Py_None
); resultobj
= Py_None
;
21455 static PyObject
*_wrap_AcceleratorTable_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21456 PyObject
*resultobj
;
21457 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
21459 PyObject
* obj0
= 0 ;
21460 char *kwnames
[] = {
21461 (char *) "self", NULL
21464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorTable_Ok",kwnames
,&obj0
)) goto fail
;
21465 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorTable
,
21466 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21469 result
= (bool)((wxAcceleratorTable
const *)arg1
)->Ok();
21471 wxPyEndAllowThreads(__tstate
);
21472 if (PyErr_Occurred()) SWIG_fail
;
21475 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21483 static PyObject
* AcceleratorTable_swigregister(PyObject
*, PyObject
*args
) {
21485 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21486 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorTable
, obj
);
21488 return Py_BuildValue((char *)"");
21490 static int _wrap_NullAcceleratorTable_set(PyObject
*) {
21491 PyErr_SetString(PyExc_TypeError
,"Variable NullAcceleratorTable is read-only.");
21496 static PyObject
*_wrap_NullAcceleratorTable_get() {
21499 pyobj
= SWIG_NewPointerObj((void *)(&wxNullAcceleratorTable
), SWIGTYPE_p_wxAcceleratorTable
, 0);
21504 static PyObject
*_wrap_GetAccelFromString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21505 PyObject
*resultobj
;
21506 wxString
*arg1
= 0 ;
21507 wxAcceleratorEntry
*result
;
21508 bool temp1
= False
;
21509 PyObject
* obj0
= 0 ;
21510 char *kwnames
[] = {
21511 (char *) "label", NULL
21514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetAccelFromString",kwnames
,&obj0
)) goto fail
;
21516 arg1
= wxString_in_helper(obj0
);
21517 if (arg1
== NULL
) SWIG_fail
;
21521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21522 result
= (wxAcceleratorEntry
*)wxGetAccelFromString((wxString
const &)*arg1
);
21524 wxPyEndAllowThreads(__tstate
);
21525 if (PyErr_Occurred()) SWIG_fail
;
21527 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0);
21542 static int _wrap_PanelNameStr_set(PyObject
*) {
21543 PyErr_SetString(PyExc_TypeError
,"Variable PanelNameStr is read-only.");
21548 static PyObject
*_wrap_PanelNameStr_get() {
21553 pyobj
= PyUnicode_FromWideChar((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
21555 pyobj
= PyString_FromStringAndSize((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
21562 static PyObject
*_wrap_new_VisualAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21563 PyObject
*resultobj
;
21564 wxVisualAttributes
*result
;
21565 char *kwnames
[] = {
21569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_VisualAttributes",kwnames
)) goto fail
;
21571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21572 result
= (wxVisualAttributes
*)new_wxVisualAttributes();
21574 wxPyEndAllowThreads(__tstate
);
21575 if (PyErr_Occurred()) SWIG_fail
;
21577 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxVisualAttributes
, 1);
21584 static PyObject
*_wrap_delete_VisualAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21585 PyObject
*resultobj
;
21586 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21587 PyObject
* obj0
= 0 ;
21588 char *kwnames
[] = {
21589 (char *) "self", NULL
21592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_VisualAttributes",kwnames
,&obj0
)) goto fail
;
21593 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21594 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21597 delete_wxVisualAttributes(arg1
);
21599 wxPyEndAllowThreads(__tstate
);
21600 if (PyErr_Occurred()) SWIG_fail
;
21602 Py_INCREF(Py_None
); resultobj
= Py_None
;
21609 static PyObject
*_wrap_VisualAttributes_font_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21610 PyObject
*resultobj
;
21611 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21612 wxFont
*arg2
= (wxFont
*) 0 ;
21613 PyObject
* obj0
= 0 ;
21614 PyObject
* obj1
= 0 ;
21615 char *kwnames
[] = {
21616 (char *) "self",(char *) "font", NULL
21619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_font_set",kwnames
,&obj0
,&obj1
)) goto fail
;
21620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21622 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
21623 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21624 if (arg1
) (arg1
)->font
= *arg2
;
21626 Py_INCREF(Py_None
); resultobj
= Py_None
;
21633 static PyObject
*_wrap_VisualAttributes_font_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21634 PyObject
*resultobj
;
21635 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21637 PyObject
* obj0
= 0 ;
21638 char *kwnames
[] = {
21639 (char *) "self", NULL
21642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_font_get",kwnames
,&obj0
)) goto fail
;
21643 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21644 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21645 result
= (wxFont
*)& ((arg1
)->font
);
21647 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 0);
21654 static PyObject
*_wrap_VisualAttributes_colFg_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21655 PyObject
*resultobj
;
21656 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21657 wxColour
*arg2
= (wxColour
*) 0 ;
21658 PyObject
* obj0
= 0 ;
21659 PyObject
* obj1
= 0 ;
21660 char *kwnames
[] = {
21661 (char *) "self",(char *) "colFg", NULL
21664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_colFg_set",kwnames
,&obj0
,&obj1
)) goto fail
;
21665 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21666 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21667 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxColour
,
21668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21669 if (arg1
) (arg1
)->colFg
= *arg2
;
21671 Py_INCREF(Py_None
); resultobj
= Py_None
;
21678 static PyObject
*_wrap_VisualAttributes_colFg_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21679 PyObject
*resultobj
;
21680 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21682 PyObject
* obj0
= 0 ;
21683 char *kwnames
[] = {
21684 (char *) "self", NULL
21687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_colFg_get",kwnames
,&obj0
)) goto fail
;
21688 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21689 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21690 result
= (wxColour
*)& ((arg1
)->colFg
);
21692 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
21699 static PyObject
*_wrap_VisualAttributes_colBg_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21700 PyObject
*resultobj
;
21701 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21702 wxColour
*arg2
= (wxColour
*) 0 ;
21703 PyObject
* obj0
= 0 ;
21704 PyObject
* obj1
= 0 ;
21705 char *kwnames
[] = {
21706 (char *) "self",(char *) "colBg", NULL
21709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_colBg_set",kwnames
,&obj0
,&obj1
)) goto fail
;
21710 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21712 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxColour
,
21713 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21714 if (arg1
) (arg1
)->colBg
= *arg2
;
21716 Py_INCREF(Py_None
); resultobj
= Py_None
;
21723 static PyObject
*_wrap_VisualAttributes_colBg_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21724 PyObject
*resultobj
;
21725 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21727 PyObject
* obj0
= 0 ;
21728 char *kwnames
[] = {
21729 (char *) "self", NULL
21732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_colBg_get",kwnames
,&obj0
)) goto fail
;
21733 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21735 result
= (wxColour
*)& ((arg1
)->colBg
);
21737 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
21744 static PyObject
* VisualAttributes_swigregister(PyObject
*, PyObject
*args
) {
21746 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21747 SWIG_TypeClientData(SWIGTYPE_p_wxVisualAttributes
, obj
);
21749 return Py_BuildValue((char *)"");
21751 static PyObject
*_wrap_new_Window(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21752 PyObject
*resultobj
;
21753 wxWindow
*arg1
= (wxWindow
*) 0 ;
21754 int arg2
= (int) (int)-1 ;
21755 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21756 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21757 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21758 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21759 long arg5
= (long) 0 ;
21760 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
21761 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21765 bool temp6
= False
;
21766 PyObject
* obj0
= 0 ;
21767 PyObject
* obj1
= 0 ;
21768 PyObject
* obj2
= 0 ;
21769 PyObject
* obj3
= 0 ;
21770 PyObject
* obj4
= 0 ;
21771 PyObject
* obj5
= 0 ;
21772 char *kwnames
[] = {
21773 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Window",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
21777 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21778 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21780 arg2
= (int)SWIG_As_int(obj1
);
21781 if (PyErr_Occurred()) SWIG_fail
;
21786 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21792 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21796 arg5
= (long)SWIG_As_long(obj4
);
21797 if (PyErr_Occurred()) SWIG_fail
;
21801 arg6
= wxString_in_helper(obj5
);
21802 if (arg6
== NULL
) SWIG_fail
;
21807 if (!wxPyCheckForApp()) SWIG_fail
;
21808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21809 result
= (wxWindow
*)new wxWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21811 wxPyEndAllowThreads(__tstate
);
21812 if (PyErr_Occurred()) SWIG_fail
;
21814 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindow
, 1);
21829 static PyObject
*_wrap_new_PreWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21830 PyObject
*resultobj
;
21832 char *kwnames
[] = {
21836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreWindow",kwnames
)) goto fail
;
21838 if (!wxPyCheckForApp()) SWIG_fail
;
21839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21840 result
= (wxWindow
*)new wxWindow();
21842 wxPyEndAllowThreads(__tstate
);
21843 if (PyErr_Occurred()) SWIG_fail
;
21845 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindow
, 1);
21852 static PyObject
*_wrap_Window_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21853 PyObject
*resultobj
;
21854 wxWindow
*arg1
= (wxWindow
*) 0 ;
21855 wxWindow
*arg2
= (wxWindow
*) 0 ;
21856 int arg3
= (int) (int)-1 ;
21857 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21858 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21859 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21860 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21861 long arg6
= (long) 0 ;
21862 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
21863 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21867 bool temp7
= False
;
21868 PyObject
* obj0
= 0 ;
21869 PyObject
* obj1
= 0 ;
21870 PyObject
* obj2
= 0 ;
21871 PyObject
* obj3
= 0 ;
21872 PyObject
* obj4
= 0 ;
21873 PyObject
* obj5
= 0 ;
21874 PyObject
* obj6
= 0 ;
21875 char *kwnames
[] = {
21876 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Window_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
21880 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21881 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21882 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21885 arg3
= (int)SWIG_As_int(obj2
);
21886 if (PyErr_Occurred()) SWIG_fail
;
21891 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21897 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21901 arg6
= (long)SWIG_As_long(obj5
);
21902 if (PyErr_Occurred()) SWIG_fail
;
21906 arg7
= wxString_in_helper(obj6
);
21907 if (arg7
== NULL
) SWIG_fail
;
21912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21913 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21915 wxPyEndAllowThreads(__tstate
);
21916 if (PyErr_Occurred()) SWIG_fail
;
21919 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21935 static PyObject
*_wrap_Window_Close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21936 PyObject
*resultobj
;
21937 wxWindow
*arg1
= (wxWindow
*) 0 ;
21938 bool arg2
= (bool) False
;
21940 PyObject
* obj0
= 0 ;
21941 PyObject
* obj1
= 0 ;
21942 char *kwnames
[] = {
21943 (char *) "self",(char *) "force", NULL
21946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Close",kwnames
,&obj0
,&obj1
)) goto fail
;
21947 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21948 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21950 arg2
= (bool)SWIG_As_bool(obj1
);
21951 if (PyErr_Occurred()) SWIG_fail
;
21954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21955 result
= (bool)(arg1
)->Close(arg2
);
21957 wxPyEndAllowThreads(__tstate
);
21958 if (PyErr_Occurred()) SWIG_fail
;
21961 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21969 static PyObject
*_wrap_Window_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21970 PyObject
*resultobj
;
21971 wxWindow
*arg1
= (wxWindow
*) 0 ;
21973 PyObject
* obj0
= 0 ;
21974 char *kwnames
[] = {
21975 (char *) "self", NULL
21978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Destroy",kwnames
,&obj0
)) goto fail
;
21979 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21980 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21983 result
= (bool)(arg1
)->Destroy();
21985 wxPyEndAllowThreads(__tstate
);
21986 if (PyErr_Occurred()) SWIG_fail
;
21989 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21997 static PyObject
*_wrap_Window_DestroyChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21998 PyObject
*resultobj
;
21999 wxWindow
*arg1
= (wxWindow
*) 0 ;
22001 PyObject
* obj0
= 0 ;
22002 char *kwnames
[] = {
22003 (char *) "self", NULL
22006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_DestroyChildren",kwnames
,&obj0
)) goto fail
;
22007 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22008 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22011 result
= (bool)(arg1
)->DestroyChildren();
22013 wxPyEndAllowThreads(__tstate
);
22014 if (PyErr_Occurred()) SWIG_fail
;
22017 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22025 static PyObject
*_wrap_Window_IsBeingDeleted(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22026 PyObject
*resultobj
;
22027 wxWindow
*arg1
= (wxWindow
*) 0 ;
22029 PyObject
* obj0
= 0 ;
22030 char *kwnames
[] = {
22031 (char *) "self", NULL
22034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsBeingDeleted",kwnames
,&obj0
)) goto fail
;
22035 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22039 result
= (bool)((wxWindow
const *)arg1
)->IsBeingDeleted();
22041 wxPyEndAllowThreads(__tstate
);
22042 if (PyErr_Occurred()) SWIG_fail
;
22045 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22053 static PyObject
*_wrap_Window_SetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22054 PyObject
*resultobj
;
22055 wxWindow
*arg1
= (wxWindow
*) 0 ;
22056 wxString
*arg2
= 0 ;
22057 bool temp2
= False
;
22058 PyObject
* obj0
= 0 ;
22059 PyObject
* obj1
= 0 ;
22060 char *kwnames
[] = {
22061 (char *) "self",(char *) "title", NULL
22064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
22065 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22066 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22068 arg2
= wxString_in_helper(obj1
);
22069 if (arg2
== NULL
) SWIG_fail
;
22073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22074 (arg1
)->SetTitle((wxString
const &)*arg2
);
22076 wxPyEndAllowThreads(__tstate
);
22077 if (PyErr_Occurred()) SWIG_fail
;
22079 Py_INCREF(Py_None
); resultobj
= Py_None
;
22094 static PyObject
*_wrap_Window_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22095 PyObject
*resultobj
;
22096 wxWindow
*arg1
= (wxWindow
*) 0 ;
22098 PyObject
* obj0
= 0 ;
22099 char *kwnames
[] = {
22100 (char *) "self", NULL
22103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetTitle",kwnames
,&obj0
)) goto fail
;
22104 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22105 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22108 result
= ((wxWindow
const *)arg1
)->GetTitle();
22110 wxPyEndAllowThreads(__tstate
);
22111 if (PyErr_Occurred()) SWIG_fail
;
22115 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22117 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22126 static PyObject
*_wrap_Window_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22127 PyObject
*resultobj
;
22128 wxWindow
*arg1
= (wxWindow
*) 0 ;
22129 wxString
*arg2
= 0 ;
22130 bool temp2
= False
;
22131 PyObject
* obj0
= 0 ;
22132 PyObject
* obj1
= 0 ;
22133 char *kwnames
[] = {
22134 (char *) "self",(char *) "label", NULL
22137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
22138 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22139 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22141 arg2
= wxString_in_helper(obj1
);
22142 if (arg2
== NULL
) SWIG_fail
;
22146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22147 (arg1
)->SetLabel((wxString
const &)*arg2
);
22149 wxPyEndAllowThreads(__tstate
);
22150 if (PyErr_Occurred()) SWIG_fail
;
22152 Py_INCREF(Py_None
); resultobj
= Py_None
;
22167 static PyObject
*_wrap_Window_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22168 PyObject
*resultobj
;
22169 wxWindow
*arg1
= (wxWindow
*) 0 ;
22171 PyObject
* obj0
= 0 ;
22172 char *kwnames
[] = {
22173 (char *) "self", NULL
22176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetLabel",kwnames
,&obj0
)) goto fail
;
22177 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22178 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22181 result
= ((wxWindow
const *)arg1
)->GetLabel();
22183 wxPyEndAllowThreads(__tstate
);
22184 if (PyErr_Occurred()) SWIG_fail
;
22188 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22190 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22199 static PyObject
*_wrap_Window_SetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22200 PyObject
*resultobj
;
22201 wxWindow
*arg1
= (wxWindow
*) 0 ;
22202 wxString
*arg2
= 0 ;
22203 bool temp2
= False
;
22204 PyObject
* obj0
= 0 ;
22205 PyObject
* obj1
= 0 ;
22206 char *kwnames
[] = {
22207 (char *) "self",(char *) "name", NULL
22210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
22211 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22214 arg2
= wxString_in_helper(obj1
);
22215 if (arg2
== NULL
) SWIG_fail
;
22219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22220 (arg1
)->SetName((wxString
const &)*arg2
);
22222 wxPyEndAllowThreads(__tstate
);
22223 if (PyErr_Occurred()) SWIG_fail
;
22225 Py_INCREF(Py_None
); resultobj
= Py_None
;
22240 static PyObject
*_wrap_Window_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22241 PyObject
*resultobj
;
22242 wxWindow
*arg1
= (wxWindow
*) 0 ;
22244 PyObject
* obj0
= 0 ;
22245 char *kwnames
[] = {
22246 (char *) "self", NULL
22249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetName",kwnames
,&obj0
)) goto fail
;
22250 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22251 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22254 result
= ((wxWindow
const *)arg1
)->GetName();
22256 wxPyEndAllowThreads(__tstate
);
22257 if (PyErr_Occurred()) SWIG_fail
;
22261 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22263 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22272 static PyObject
*_wrap_Window_SetWindowVariant(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22273 PyObject
*resultobj
;
22274 wxWindow
*arg1
= (wxWindow
*) 0 ;
22276 PyObject
* obj0
= 0 ;
22277 PyObject
* obj1
= 0 ;
22278 char *kwnames
[] = {
22279 (char *) "self",(char *) "variant", NULL
22282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowVariant",kwnames
,&obj0
,&obj1
)) goto fail
;
22283 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22284 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22285 arg2
= (int)SWIG_As_int(obj1
);
22286 if (PyErr_Occurred()) SWIG_fail
;
22288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22289 (arg1
)->SetWindowVariant((wxWindowVariant
)arg2
);
22291 wxPyEndAllowThreads(__tstate
);
22292 if (PyErr_Occurred()) SWIG_fail
;
22294 Py_INCREF(Py_None
); resultobj
= Py_None
;
22301 static PyObject
*_wrap_Window_GetWindowVariant(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22302 PyObject
*resultobj
;
22303 wxWindow
*arg1
= (wxWindow
*) 0 ;
22305 PyObject
* obj0
= 0 ;
22306 char *kwnames
[] = {
22307 (char *) "self", NULL
22310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowVariant",kwnames
,&obj0
)) goto fail
;
22311 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22315 result
= (int)((wxWindow
const *)arg1
)->GetWindowVariant();
22317 wxPyEndAllowThreads(__tstate
);
22318 if (PyErr_Occurred()) SWIG_fail
;
22320 resultobj
= SWIG_From_int((int)result
);
22327 static PyObject
*_wrap_Window_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22328 PyObject
*resultobj
;
22329 wxWindow
*arg1
= (wxWindow
*) 0 ;
22331 PyObject
* obj0
= 0 ;
22332 PyObject
* obj1
= 0 ;
22333 char *kwnames
[] = {
22334 (char *) "self",(char *) "winid", NULL
22337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
22338 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22340 arg2
= (int)SWIG_As_int(obj1
);
22341 if (PyErr_Occurred()) SWIG_fail
;
22343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22344 (arg1
)->SetId(arg2
);
22346 wxPyEndAllowThreads(__tstate
);
22347 if (PyErr_Occurred()) SWIG_fail
;
22349 Py_INCREF(Py_None
); resultobj
= Py_None
;
22356 static PyObject
*_wrap_Window_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22357 PyObject
*resultobj
;
22358 wxWindow
*arg1
= (wxWindow
*) 0 ;
22360 PyObject
* obj0
= 0 ;
22361 char *kwnames
[] = {
22362 (char *) "self", NULL
22365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetId",kwnames
,&obj0
)) goto fail
;
22366 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22367 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22370 result
= (int)((wxWindow
const *)arg1
)->GetId();
22372 wxPyEndAllowThreads(__tstate
);
22373 if (PyErr_Occurred()) SWIG_fail
;
22375 resultobj
= SWIG_From_int((int)result
);
22382 static PyObject
*_wrap_Window_NewControlId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22383 PyObject
*resultobj
;
22385 char *kwnames
[] = {
22389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_NewControlId",kwnames
)) goto fail
;
22391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22392 result
= (int)wxWindow::NewControlId();
22394 wxPyEndAllowThreads(__tstate
);
22395 if (PyErr_Occurred()) SWIG_fail
;
22397 resultobj
= SWIG_From_int((int)result
);
22404 static PyObject
*_wrap_Window_NextControlId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22405 PyObject
*resultobj
;
22408 PyObject
* obj0
= 0 ;
22409 char *kwnames
[] = {
22410 (char *) "winid", NULL
22413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_NextControlId",kwnames
,&obj0
)) goto fail
;
22414 arg1
= (int)SWIG_As_int(obj0
);
22415 if (PyErr_Occurred()) SWIG_fail
;
22417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22418 result
= (int)wxWindow::NextControlId(arg1
);
22420 wxPyEndAllowThreads(__tstate
);
22421 if (PyErr_Occurred()) SWIG_fail
;
22423 resultobj
= SWIG_From_int((int)result
);
22430 static PyObject
*_wrap_Window_PrevControlId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22431 PyObject
*resultobj
;
22434 PyObject
* obj0
= 0 ;
22435 char *kwnames
[] = {
22436 (char *) "winid", NULL
22439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PrevControlId",kwnames
,&obj0
)) goto fail
;
22440 arg1
= (int)SWIG_As_int(obj0
);
22441 if (PyErr_Occurred()) SWIG_fail
;
22443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22444 result
= (int)wxWindow::PrevControlId(arg1
);
22446 wxPyEndAllowThreads(__tstate
);
22447 if (PyErr_Occurred()) SWIG_fail
;
22449 resultobj
= SWIG_From_int((int)result
);
22456 static PyObject
*_wrap_Window_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22457 PyObject
*resultobj
;
22458 wxWindow
*arg1
= (wxWindow
*) 0 ;
22461 PyObject
* obj0
= 0 ;
22462 PyObject
* obj1
= 0 ;
22463 char *kwnames
[] = {
22464 (char *) "self",(char *) "size", NULL
22467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
22468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22472 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
22475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22476 (arg1
)->SetSize((wxSize
const &)*arg2
);
22478 wxPyEndAllowThreads(__tstate
);
22479 if (PyErr_Occurred()) SWIG_fail
;
22481 Py_INCREF(Py_None
); resultobj
= Py_None
;
22488 static PyObject
*_wrap_Window_SetDimensions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22489 PyObject
*resultobj
;
22490 wxWindow
*arg1
= (wxWindow
*) 0 ;
22495 int arg6
= (int) wxSIZE_AUTO
;
22496 PyObject
* obj0
= 0 ;
22497 PyObject
* obj1
= 0 ;
22498 PyObject
* obj2
= 0 ;
22499 PyObject
* obj3
= 0 ;
22500 PyObject
* obj4
= 0 ;
22501 PyObject
* obj5
= 0 ;
22502 char *kwnames
[] = {
22503 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
22506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetDimensions",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
22507 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22508 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22509 arg2
= (int)SWIG_As_int(obj1
);
22510 if (PyErr_Occurred()) SWIG_fail
;
22511 arg3
= (int)SWIG_As_int(obj2
);
22512 if (PyErr_Occurred()) SWIG_fail
;
22513 arg4
= (int)SWIG_As_int(obj3
);
22514 if (PyErr_Occurred()) SWIG_fail
;
22515 arg5
= (int)SWIG_As_int(obj4
);
22516 if (PyErr_Occurred()) SWIG_fail
;
22518 arg6
= (int)SWIG_As_int(obj5
);
22519 if (PyErr_Occurred()) SWIG_fail
;
22522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22523 (arg1
)->SetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
22525 wxPyEndAllowThreads(__tstate
);
22526 if (PyErr_Occurred()) SWIG_fail
;
22528 Py_INCREF(Py_None
); resultobj
= Py_None
;
22535 static PyObject
*_wrap_Window_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22536 PyObject
*resultobj
;
22537 wxWindow
*arg1
= (wxWindow
*) 0 ;
22539 int arg3
= (int) wxSIZE_AUTO
;
22541 PyObject
* obj0
= 0 ;
22542 PyObject
* obj1
= 0 ;
22543 PyObject
* obj2
= 0 ;
22544 char *kwnames
[] = {
22545 (char *) "self",(char *) "rect",(char *) "sizeFlags", NULL
22548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22549 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22553 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
22556 arg3
= (int)SWIG_As_int(obj2
);
22557 if (PyErr_Occurred()) SWIG_fail
;
22560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22561 (arg1
)->SetSize((wxRect
const &)*arg2
,arg3
);
22563 wxPyEndAllowThreads(__tstate
);
22564 if (PyErr_Occurred()) SWIG_fail
;
22566 Py_INCREF(Py_None
); resultobj
= Py_None
;
22573 static PyObject
*_wrap_Window_SetSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22574 PyObject
*resultobj
;
22575 wxWindow
*arg1
= (wxWindow
*) 0 ;
22578 PyObject
* obj0
= 0 ;
22579 PyObject
* obj1
= 0 ;
22580 PyObject
* obj2
= 0 ;
22581 char *kwnames
[] = {
22582 (char *) "self",(char *) "width",(char *) "height", NULL
22585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22586 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22588 arg2
= (int)SWIG_As_int(obj1
);
22589 if (PyErr_Occurred()) SWIG_fail
;
22590 arg3
= (int)SWIG_As_int(obj2
);
22591 if (PyErr_Occurred()) SWIG_fail
;
22593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22594 (arg1
)->SetSize(arg2
,arg3
);
22596 wxPyEndAllowThreads(__tstate
);
22597 if (PyErr_Occurred()) SWIG_fail
;
22599 Py_INCREF(Py_None
); resultobj
= Py_None
;
22606 static PyObject
*_wrap_Window_Move(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22607 PyObject
*resultobj
;
22608 wxWindow
*arg1
= (wxWindow
*) 0 ;
22609 wxPoint
*arg2
= 0 ;
22610 int arg3
= (int) wxSIZE_USE_EXISTING
;
22612 PyObject
* obj0
= 0 ;
22613 PyObject
* obj1
= 0 ;
22614 PyObject
* obj2
= 0 ;
22615 char *kwnames
[] = {
22616 (char *) "self",(char *) "pt",(char *) "flags", NULL
22619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_Move",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22624 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22627 arg3
= (int)SWIG_As_int(obj2
);
22628 if (PyErr_Occurred()) SWIG_fail
;
22631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22632 (arg1
)->Move((wxPoint
const &)*arg2
,arg3
);
22634 wxPyEndAllowThreads(__tstate
);
22635 if (PyErr_Occurred()) SWIG_fail
;
22637 Py_INCREF(Py_None
); resultobj
= Py_None
;
22644 static PyObject
*_wrap_Window_MoveXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22645 PyObject
*resultobj
;
22646 wxWindow
*arg1
= (wxWindow
*) 0 ;
22649 int arg4
= (int) wxSIZE_USE_EXISTING
;
22650 PyObject
* obj0
= 0 ;
22651 PyObject
* obj1
= 0 ;
22652 PyObject
* obj2
= 0 ;
22653 PyObject
* obj3
= 0 ;
22654 char *kwnames
[] = {
22655 (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL
22658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22659 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22660 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22661 arg2
= (int)SWIG_As_int(obj1
);
22662 if (PyErr_Occurred()) SWIG_fail
;
22663 arg3
= (int)SWIG_As_int(obj2
);
22664 if (PyErr_Occurred()) SWIG_fail
;
22666 arg4
= (int)SWIG_As_int(obj3
);
22667 if (PyErr_Occurred()) SWIG_fail
;
22670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22671 (arg1
)->Move(arg2
,arg3
,arg4
);
22673 wxPyEndAllowThreads(__tstate
);
22674 if (PyErr_Occurred()) SWIG_fail
;
22676 Py_INCREF(Py_None
); resultobj
= Py_None
;
22683 static PyObject
*_wrap_Window_SetBestFittingSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22684 PyObject
*resultobj
;
22685 wxWindow
*arg1
= (wxWindow
*) 0 ;
22686 wxSize
const &arg2_defvalue
= wxDefaultSize
;
22687 wxSize
*arg2
= (wxSize
*) &arg2_defvalue
;
22689 PyObject
* obj0
= 0 ;
22690 PyObject
* obj1
= 0 ;
22691 char *kwnames
[] = {
22692 (char *) "self",(char *) "size", NULL
22695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_SetBestFittingSize",kwnames
,&obj0
,&obj1
)) goto fail
;
22696 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22697 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22701 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
22705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22706 (arg1
)->SetBestFittingSize((wxSize
const &)*arg2
);
22708 wxPyEndAllowThreads(__tstate
);
22709 if (PyErr_Occurred()) SWIG_fail
;
22711 Py_INCREF(Py_None
); resultobj
= Py_None
;
22718 static PyObject
*_wrap_Window_Raise(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22719 PyObject
*resultobj
;
22720 wxWindow
*arg1
= (wxWindow
*) 0 ;
22721 PyObject
* obj0
= 0 ;
22722 char *kwnames
[] = {
22723 (char *) "self", NULL
22726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Raise",kwnames
,&obj0
)) goto fail
;
22727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22733 wxPyEndAllowThreads(__tstate
);
22734 if (PyErr_Occurred()) SWIG_fail
;
22736 Py_INCREF(Py_None
); resultobj
= Py_None
;
22743 static PyObject
*_wrap_Window_Lower(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22744 PyObject
*resultobj
;
22745 wxWindow
*arg1
= (wxWindow
*) 0 ;
22746 PyObject
* obj0
= 0 ;
22747 char *kwnames
[] = {
22748 (char *) "self", NULL
22751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Lower",kwnames
,&obj0
)) goto fail
;
22752 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22753 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22758 wxPyEndAllowThreads(__tstate
);
22759 if (PyErr_Occurred()) SWIG_fail
;
22761 Py_INCREF(Py_None
); resultobj
= Py_None
;
22768 static PyObject
*_wrap_Window_SetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22769 PyObject
*resultobj
;
22770 wxWindow
*arg1
= (wxWindow
*) 0 ;
22773 PyObject
* obj0
= 0 ;
22774 PyObject
* obj1
= 0 ;
22775 char *kwnames
[] = {
22776 (char *) "self",(char *) "size", NULL
22779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientSize",kwnames
,&obj0
,&obj1
)) goto fail
;
22780 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22781 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22784 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
22787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22788 (arg1
)->SetClientSize((wxSize
const &)*arg2
);
22790 wxPyEndAllowThreads(__tstate
);
22791 if (PyErr_Occurred()) SWIG_fail
;
22793 Py_INCREF(Py_None
); resultobj
= Py_None
;
22800 static PyObject
*_wrap_Window_SetClientSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22801 PyObject
*resultobj
;
22802 wxWindow
*arg1
= (wxWindow
*) 0 ;
22805 PyObject
* obj0
= 0 ;
22806 PyObject
* obj1
= 0 ;
22807 PyObject
* obj2
= 0 ;
22808 char *kwnames
[] = {
22809 (char *) "self",(char *) "width",(char *) "height", NULL
22812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetClientSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22813 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22814 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22815 arg2
= (int)SWIG_As_int(obj1
);
22816 if (PyErr_Occurred()) SWIG_fail
;
22817 arg3
= (int)SWIG_As_int(obj2
);
22818 if (PyErr_Occurred()) SWIG_fail
;
22820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22821 (arg1
)->SetClientSize(arg2
,arg3
);
22823 wxPyEndAllowThreads(__tstate
);
22824 if (PyErr_Occurred()) SWIG_fail
;
22826 Py_INCREF(Py_None
); resultobj
= Py_None
;
22833 static PyObject
*_wrap_Window_SetClientRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22834 PyObject
*resultobj
;
22835 wxWindow
*arg1
= (wxWindow
*) 0 ;
22838 PyObject
* obj0
= 0 ;
22839 PyObject
* obj1
= 0 ;
22840 char *kwnames
[] = {
22841 (char *) "self",(char *) "rect", NULL
22844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientRect",kwnames
,&obj0
,&obj1
)) goto fail
;
22845 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22849 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
22852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22853 (arg1
)->SetClientSize((wxRect
const &)*arg2
);
22855 wxPyEndAllowThreads(__tstate
);
22856 if (PyErr_Occurred()) SWIG_fail
;
22858 Py_INCREF(Py_None
); resultobj
= Py_None
;
22865 static PyObject
*_wrap_Window_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22866 PyObject
*resultobj
;
22867 wxWindow
*arg1
= (wxWindow
*) 0 ;
22869 PyObject
* obj0
= 0 ;
22870 char *kwnames
[] = {
22871 (char *) "self", NULL
22874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPosition",kwnames
,&obj0
)) goto fail
;
22875 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22876 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22879 result
= (arg1
)->GetPosition();
22881 wxPyEndAllowThreads(__tstate
);
22882 if (PyErr_Occurred()) SWIG_fail
;
22885 wxPoint
* resultptr
;
22886 resultptr
= new wxPoint((wxPoint
&) result
);
22887 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
22895 static PyObject
*_wrap_Window_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22896 PyObject
*resultobj
;
22897 wxWindow
*arg1
= (wxWindow
*) 0 ;
22898 int *arg2
= (int *) 0 ;
22899 int *arg3
= (int *) 0 ;
22904 PyObject
* obj0
= 0 ;
22905 char *kwnames
[] = {
22906 (char *) "self", NULL
22909 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
22910 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
22911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
22912 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22916 (arg1
)->GetPosition(arg2
,arg3
);
22918 wxPyEndAllowThreads(__tstate
);
22919 if (PyErr_Occurred()) SWIG_fail
;
22921 Py_INCREF(Py_None
); resultobj
= Py_None
;
22922 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
22923 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
22924 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
22925 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
22932 static PyObject
*_wrap_Window_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22933 PyObject
*resultobj
;
22934 wxWindow
*arg1
= (wxWindow
*) 0 ;
22936 PyObject
* obj0
= 0 ;
22937 char *kwnames
[] = {
22938 (char *) "self", NULL
22941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSize",kwnames
,&obj0
)) goto fail
;
22942 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22946 result
= ((wxWindow
const *)arg1
)->GetSize();
22948 wxPyEndAllowThreads(__tstate
);
22949 if (PyErr_Occurred()) SWIG_fail
;
22952 wxSize
* resultptr
;
22953 resultptr
= new wxSize((wxSize
&) result
);
22954 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22962 static PyObject
*_wrap_Window_GetSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22963 PyObject
*resultobj
;
22964 wxWindow
*arg1
= (wxWindow
*) 0 ;
22965 int *arg2
= (int *) 0 ;
22966 int *arg3
= (int *) 0 ;
22971 PyObject
* obj0
= 0 ;
22972 char *kwnames
[] = {
22973 (char *) "self", NULL
22976 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
22977 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
22978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
22979 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22980 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22983 ((wxWindow
const *)arg1
)->GetSize(arg2
,arg3
);
22985 wxPyEndAllowThreads(__tstate
);
22986 if (PyErr_Occurred()) SWIG_fail
;
22988 Py_INCREF(Py_None
); resultobj
= Py_None
;
22989 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
22990 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
22991 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
22992 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
22999 static PyObject
*_wrap_Window_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23000 PyObject
*resultobj
;
23001 wxWindow
*arg1
= (wxWindow
*) 0 ;
23003 PyObject
* obj0
= 0 ;
23004 char *kwnames
[] = {
23005 (char *) "self", NULL
23008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetRect",kwnames
,&obj0
)) goto fail
;
23009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23013 result
= ((wxWindow
const *)arg1
)->GetRect();
23015 wxPyEndAllowThreads(__tstate
);
23016 if (PyErr_Occurred()) SWIG_fail
;
23019 wxRect
* resultptr
;
23020 resultptr
= new wxRect((wxRect
&) result
);
23021 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
23029 static PyObject
*_wrap_Window_GetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23030 PyObject
*resultobj
;
23031 wxWindow
*arg1
= (wxWindow
*) 0 ;
23033 PyObject
* obj0
= 0 ;
23034 char *kwnames
[] = {
23035 (char *) "self", NULL
23038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSize",kwnames
,&obj0
)) goto fail
;
23039 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23040 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23043 result
= ((wxWindow
const *)arg1
)->GetClientSize();
23045 wxPyEndAllowThreads(__tstate
);
23046 if (PyErr_Occurred()) SWIG_fail
;
23049 wxSize
* resultptr
;
23050 resultptr
= new wxSize((wxSize
&) result
);
23051 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23059 static PyObject
*_wrap_Window_GetClientSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23060 PyObject
*resultobj
;
23061 wxWindow
*arg1
= (wxWindow
*) 0 ;
23062 int *arg2
= (int *) 0 ;
23063 int *arg3
= (int *) 0 ;
23068 PyObject
* obj0
= 0 ;
23069 char *kwnames
[] = {
23070 (char *) "self", NULL
23073 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
23074 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
23075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSizeTuple",kwnames
,&obj0
)) goto fail
;
23076 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23077 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23080 ((wxWindow
const *)arg1
)->GetClientSize(arg2
,arg3
);
23082 wxPyEndAllowThreads(__tstate
);
23083 if (PyErr_Occurred()) SWIG_fail
;
23085 Py_INCREF(Py_None
); resultobj
= Py_None
;
23086 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
23087 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
23088 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
23089 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
23096 static PyObject
*_wrap_Window_GetClientAreaOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23097 PyObject
*resultobj
;
23098 wxWindow
*arg1
= (wxWindow
*) 0 ;
23100 PyObject
* obj0
= 0 ;
23101 char *kwnames
[] = {
23102 (char *) "self", NULL
23105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientAreaOrigin",kwnames
,&obj0
)) goto fail
;
23106 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23110 result
= ((wxWindow
const *)arg1
)->GetClientAreaOrigin();
23112 wxPyEndAllowThreads(__tstate
);
23113 if (PyErr_Occurred()) SWIG_fail
;
23116 wxPoint
* resultptr
;
23117 resultptr
= new wxPoint((wxPoint
&) result
);
23118 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
23126 static PyObject
*_wrap_Window_GetClientRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23127 PyObject
*resultobj
;
23128 wxWindow
*arg1
= (wxWindow
*) 0 ;
23130 PyObject
* obj0
= 0 ;
23131 char *kwnames
[] = {
23132 (char *) "self", NULL
23135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientRect",kwnames
,&obj0
)) goto fail
;
23136 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23137 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23140 result
= ((wxWindow
const *)arg1
)->GetClientRect();
23142 wxPyEndAllowThreads(__tstate
);
23143 if (PyErr_Occurred()) SWIG_fail
;
23146 wxRect
* resultptr
;
23147 resultptr
= new wxRect((wxRect
&) result
);
23148 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
23156 static PyObject
*_wrap_Window_GetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23157 PyObject
*resultobj
;
23158 wxWindow
*arg1
= (wxWindow
*) 0 ;
23160 PyObject
* obj0
= 0 ;
23161 char *kwnames
[] = {
23162 (char *) "self", NULL
23165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSize",kwnames
,&obj0
)) goto fail
;
23166 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23167 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23170 result
= ((wxWindow
const *)arg1
)->GetBestSize();
23172 wxPyEndAllowThreads(__tstate
);
23173 if (PyErr_Occurred()) SWIG_fail
;
23176 wxSize
* resultptr
;
23177 resultptr
= new wxSize((wxSize
&) result
);
23178 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23186 static PyObject
*_wrap_Window_GetBestSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23187 PyObject
*resultobj
;
23188 wxWindow
*arg1
= (wxWindow
*) 0 ;
23189 int *arg2
= (int *) 0 ;
23190 int *arg3
= (int *) 0 ;
23195 PyObject
* obj0
= 0 ;
23196 char *kwnames
[] = {
23197 (char *) "self", NULL
23200 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
23201 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
23202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSizeTuple",kwnames
,&obj0
)) goto fail
;
23203 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23204 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23207 ((wxWindow
const *)arg1
)->GetBestSize(arg2
,arg3
);
23209 wxPyEndAllowThreads(__tstate
);
23210 if (PyErr_Occurred()) SWIG_fail
;
23212 Py_INCREF(Py_None
); resultobj
= Py_None
;
23213 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
23214 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
23215 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
23216 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
23223 static PyObject
*_wrap_Window_InvalidateBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23224 PyObject
*resultobj
;
23225 wxWindow
*arg1
= (wxWindow
*) 0 ;
23226 PyObject
* obj0
= 0 ;
23227 char *kwnames
[] = {
23228 (char *) "self", NULL
23231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InvalidateBestSize",kwnames
,&obj0
)) goto fail
;
23232 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23233 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23236 (arg1
)->InvalidateBestSize();
23238 wxPyEndAllowThreads(__tstate
);
23239 if (PyErr_Occurred()) SWIG_fail
;
23241 Py_INCREF(Py_None
); resultobj
= Py_None
;
23248 static PyObject
*_wrap_Window_GetBestFittingSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23249 PyObject
*resultobj
;
23250 wxWindow
*arg1
= (wxWindow
*) 0 ;
23252 PyObject
* obj0
= 0 ;
23253 char *kwnames
[] = {
23254 (char *) "self", NULL
23257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestFittingSize",kwnames
,&obj0
)) goto fail
;
23258 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23259 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23262 result
= ((wxWindow
const *)arg1
)->GetBestFittingSize();
23264 wxPyEndAllowThreads(__tstate
);
23265 if (PyErr_Occurred()) SWIG_fail
;
23268 wxSize
* resultptr
;
23269 resultptr
= new wxSize((wxSize
&) result
);
23270 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23278 static PyObject
*_wrap_Window_GetAdjustedBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23279 PyObject
*resultobj
;
23280 wxWindow
*arg1
= (wxWindow
*) 0 ;
23282 PyObject
* obj0
= 0 ;
23283 char *kwnames
[] = {
23284 (char *) "self", NULL
23287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAdjustedBestSize",kwnames
,&obj0
)) goto fail
;
23288 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23289 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23292 result
= ((wxWindow
const *)arg1
)->GetAdjustedBestSize();
23294 wxPyEndAllowThreads(__tstate
);
23295 if (PyErr_Occurred()) SWIG_fail
;
23298 wxSize
* resultptr
;
23299 resultptr
= new wxSize((wxSize
&) result
);
23300 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23308 static PyObject
*_wrap_Window_Center(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23309 PyObject
*resultobj
;
23310 wxWindow
*arg1
= (wxWindow
*) 0 ;
23311 int arg2
= (int) wxBOTH
;
23312 PyObject
* obj0
= 0 ;
23313 PyObject
* obj1
= 0 ;
23314 char *kwnames
[] = {
23315 (char *) "self",(char *) "direction", NULL
23318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Center",kwnames
,&obj0
,&obj1
)) goto fail
;
23319 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23322 arg2
= (int)SWIG_As_int(obj1
);
23323 if (PyErr_Occurred()) SWIG_fail
;
23326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23327 (arg1
)->Center(arg2
);
23329 wxPyEndAllowThreads(__tstate
);
23330 if (PyErr_Occurred()) SWIG_fail
;
23332 Py_INCREF(Py_None
); resultobj
= Py_None
;
23339 static PyObject
*_wrap_Window_CenterOnScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23340 PyObject
*resultobj
;
23341 wxWindow
*arg1
= (wxWindow
*) 0 ;
23342 int arg2
= (int) wxBOTH
;
23343 PyObject
* obj0
= 0 ;
23344 PyObject
* obj1
= 0 ;
23345 char *kwnames
[] = {
23346 (char *) "self",(char *) "dir", NULL
23349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_CenterOnScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
23350 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23351 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23353 arg2
= (int)SWIG_As_int(obj1
);
23354 if (PyErr_Occurred()) SWIG_fail
;
23357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23358 (arg1
)->CenterOnScreen(arg2
);
23360 wxPyEndAllowThreads(__tstate
);
23361 if (PyErr_Occurred()) SWIG_fail
;
23363 Py_INCREF(Py_None
); resultobj
= Py_None
;
23370 static PyObject
*_wrap_Window_CenterOnParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23371 PyObject
*resultobj
;
23372 wxWindow
*arg1
= (wxWindow
*) 0 ;
23373 int arg2
= (int) wxBOTH
;
23374 PyObject
* obj0
= 0 ;
23375 PyObject
* obj1
= 0 ;
23376 char *kwnames
[] = {
23377 (char *) "self",(char *) "dir", NULL
23380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_CenterOnParent",kwnames
,&obj0
,&obj1
)) goto fail
;
23381 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23384 arg2
= (int)SWIG_As_int(obj1
);
23385 if (PyErr_Occurred()) SWIG_fail
;
23388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23389 (arg1
)->CenterOnParent(arg2
);
23391 wxPyEndAllowThreads(__tstate
);
23392 if (PyErr_Occurred()) SWIG_fail
;
23394 Py_INCREF(Py_None
); resultobj
= Py_None
;
23401 static PyObject
*_wrap_Window_Fit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23402 PyObject
*resultobj
;
23403 wxWindow
*arg1
= (wxWindow
*) 0 ;
23404 PyObject
* obj0
= 0 ;
23405 char *kwnames
[] = {
23406 (char *) "self", NULL
23409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Fit",kwnames
,&obj0
)) goto fail
;
23410 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23411 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23416 wxPyEndAllowThreads(__tstate
);
23417 if (PyErr_Occurred()) SWIG_fail
;
23419 Py_INCREF(Py_None
); resultobj
= Py_None
;
23426 static PyObject
*_wrap_Window_FitInside(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23427 PyObject
*resultobj
;
23428 wxWindow
*arg1
= (wxWindow
*) 0 ;
23429 PyObject
* obj0
= 0 ;
23430 char *kwnames
[] = {
23431 (char *) "self", NULL
23434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_FitInside",kwnames
,&obj0
)) goto fail
;
23435 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23436 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23439 (arg1
)->FitInside();
23441 wxPyEndAllowThreads(__tstate
);
23442 if (PyErr_Occurred()) SWIG_fail
;
23444 Py_INCREF(Py_None
); resultobj
= Py_None
;
23451 static PyObject
*_wrap_Window_SetSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23452 PyObject
*resultobj
;
23453 wxWindow
*arg1
= (wxWindow
*) 0 ;
23456 int arg4
= (int) -1 ;
23457 int arg5
= (int) -1 ;
23458 int arg6
= (int) -1 ;
23459 int arg7
= (int) -1 ;
23460 PyObject
* obj0
= 0 ;
23461 PyObject
* obj1
= 0 ;
23462 PyObject
* obj2
= 0 ;
23463 PyObject
* obj3
= 0 ;
23464 PyObject
* obj4
= 0 ;
23465 PyObject
* obj5
= 0 ;
23466 PyObject
* obj6
= 0 ;
23467 char *kwnames
[] = {
23468 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH",(char *) "incW",(char *) "incH", NULL
23471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Window_SetSizeHints",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
23472 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23473 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23474 arg2
= (int)SWIG_As_int(obj1
);
23475 if (PyErr_Occurred()) SWIG_fail
;
23476 arg3
= (int)SWIG_As_int(obj2
);
23477 if (PyErr_Occurred()) SWIG_fail
;
23479 arg4
= (int)SWIG_As_int(obj3
);
23480 if (PyErr_Occurred()) SWIG_fail
;
23483 arg5
= (int)SWIG_As_int(obj4
);
23484 if (PyErr_Occurred()) SWIG_fail
;
23487 arg6
= (int)SWIG_As_int(obj5
);
23488 if (PyErr_Occurred()) SWIG_fail
;
23491 arg7
= (int)SWIG_As_int(obj6
);
23492 if (PyErr_Occurred()) SWIG_fail
;
23495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23496 (arg1
)->SetSizeHints(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
23498 wxPyEndAllowThreads(__tstate
);
23499 if (PyErr_Occurred()) SWIG_fail
;
23501 Py_INCREF(Py_None
); resultobj
= Py_None
;
23508 static PyObject
*_wrap_Window_SetSizeHintsSz(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23509 PyObject
*resultobj
;
23510 wxWindow
*arg1
= (wxWindow
*) 0 ;
23512 wxSize
const &arg3_defvalue
= wxDefaultSize
;
23513 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
23514 wxSize
const &arg4_defvalue
= wxDefaultSize
;
23515 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
23519 PyObject
* obj0
= 0 ;
23520 PyObject
* obj1
= 0 ;
23521 PyObject
* obj2
= 0 ;
23522 PyObject
* obj3
= 0 ;
23523 char *kwnames
[] = {
23524 (char *) "self",(char *) "minSize",(char *) "maxSize",(char *) "incSize", NULL
23527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Window_SetSizeHintsSz",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
23528 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23532 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
23537 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
23543 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
23547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23548 (arg1
)->SetSizeHints((wxSize
const &)*arg2
,(wxSize
const &)*arg3
,(wxSize
const &)*arg4
);
23550 wxPyEndAllowThreads(__tstate
);
23551 if (PyErr_Occurred()) SWIG_fail
;
23553 Py_INCREF(Py_None
); resultobj
= Py_None
;
23560 static PyObject
*_wrap_Window_SetVirtualSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23561 PyObject
*resultobj
;
23562 wxWindow
*arg1
= (wxWindow
*) 0 ;
23565 int arg4
= (int) -1 ;
23566 int arg5
= (int) -1 ;
23567 PyObject
* obj0
= 0 ;
23568 PyObject
* obj1
= 0 ;
23569 PyObject
* obj2
= 0 ;
23570 PyObject
* obj3
= 0 ;
23571 PyObject
* obj4
= 0 ;
23572 char *kwnames
[] = {
23573 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH", NULL
23576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Window_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
23577 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23578 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23579 arg2
= (int)SWIG_As_int(obj1
);
23580 if (PyErr_Occurred()) SWIG_fail
;
23581 arg3
= (int)SWIG_As_int(obj2
);
23582 if (PyErr_Occurred()) SWIG_fail
;
23584 arg4
= (int)SWIG_As_int(obj3
);
23585 if (PyErr_Occurred()) SWIG_fail
;
23588 arg5
= (int)SWIG_As_int(obj4
);
23589 if (PyErr_Occurred()) SWIG_fail
;
23592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23593 (arg1
)->SetVirtualSizeHints(arg2
,arg3
,arg4
,arg5
);
23595 wxPyEndAllowThreads(__tstate
);
23596 if (PyErr_Occurred()) SWIG_fail
;
23598 Py_INCREF(Py_None
); resultobj
= Py_None
;
23605 static PyObject
*_wrap_Window_SetVirtualSizeHintsSz(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23606 PyObject
*resultobj
;
23607 wxWindow
*arg1
= (wxWindow
*) 0 ;
23609 wxSize
const &arg3_defvalue
= wxDefaultSize
;
23610 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
23613 PyObject
* obj0
= 0 ;
23614 PyObject
* obj1
= 0 ;
23615 PyObject
* obj2
= 0 ;
23616 char *kwnames
[] = {
23617 (char *) "self",(char *) "minSize",(char *) "maxSize", NULL
23620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetVirtualSizeHintsSz",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23621 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23622 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23625 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
23630 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
23634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23635 (arg1
)->SetVirtualSizeHints((wxSize
const &)*arg2
,(wxSize
const &)*arg3
);
23637 wxPyEndAllowThreads(__tstate
);
23638 if (PyErr_Occurred()) SWIG_fail
;
23640 Py_INCREF(Py_None
); resultobj
= Py_None
;
23647 static PyObject
*_wrap_Window_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23648 PyObject
*resultobj
;
23649 wxWindow
*arg1
= (wxWindow
*) 0 ;
23651 PyObject
* obj0
= 0 ;
23652 char *kwnames
[] = {
23653 (char *) "self", NULL
23656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxSize",kwnames
,&obj0
)) goto fail
;
23657 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23658 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23661 result
= ((wxWindow
const *)arg1
)->GetMaxSize();
23663 wxPyEndAllowThreads(__tstate
);
23664 if (PyErr_Occurred()) SWIG_fail
;
23667 wxSize
* resultptr
;
23668 resultptr
= new wxSize((wxSize
&) result
);
23669 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23677 static PyObject
*_wrap_Window_GetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23678 PyObject
*resultobj
;
23679 wxWindow
*arg1
= (wxWindow
*) 0 ;
23681 PyObject
* obj0
= 0 ;
23682 char *kwnames
[] = {
23683 (char *) "self", NULL
23686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinSize",kwnames
,&obj0
)) goto fail
;
23687 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23688 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23691 result
= ((wxWindow
const *)arg1
)->GetMinSize();
23693 wxPyEndAllowThreads(__tstate
);
23694 if (PyErr_Occurred()) SWIG_fail
;
23697 wxSize
* resultptr
;
23698 resultptr
= new wxSize((wxSize
&) result
);
23699 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23707 static PyObject
*_wrap_Window_SetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23708 PyObject
*resultobj
;
23709 wxWindow
*arg1
= (wxWindow
*) 0 ;
23712 PyObject
* obj0
= 0 ;
23713 PyObject
* obj1
= 0 ;
23714 char *kwnames
[] = {
23715 (char *) "self",(char *) "minSize", NULL
23718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetMinSize",kwnames
,&obj0
,&obj1
)) goto fail
;
23719 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23720 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23723 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
23726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23727 (arg1
)->SetMinSize((wxSize
const &)*arg2
);
23729 wxPyEndAllowThreads(__tstate
);
23730 if (PyErr_Occurred()) SWIG_fail
;
23732 Py_INCREF(Py_None
); resultobj
= Py_None
;
23739 static PyObject
*_wrap_Window_SetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23740 PyObject
*resultobj
;
23741 wxWindow
*arg1
= (wxWindow
*) 0 ;
23744 PyObject
* obj0
= 0 ;
23745 PyObject
* obj1
= 0 ;
23746 char *kwnames
[] = {
23747 (char *) "self",(char *) "maxSize", NULL
23750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetMaxSize",kwnames
,&obj0
,&obj1
)) goto fail
;
23751 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23752 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23755 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
23758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23759 (arg1
)->SetMaxSize((wxSize
const &)*arg2
);
23761 wxPyEndAllowThreads(__tstate
);
23762 if (PyErr_Occurred()) SWIG_fail
;
23764 Py_INCREF(Py_None
); resultobj
= Py_None
;
23771 static PyObject
*_wrap_Window_GetMinWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23772 PyObject
*resultobj
;
23773 wxWindow
*arg1
= (wxWindow
*) 0 ;
23775 PyObject
* obj0
= 0 ;
23776 char *kwnames
[] = {
23777 (char *) "self", NULL
23780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinWidth",kwnames
,&obj0
)) goto fail
;
23781 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23782 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23785 result
= (int)((wxWindow
const *)arg1
)->GetMinWidth();
23787 wxPyEndAllowThreads(__tstate
);
23788 if (PyErr_Occurred()) SWIG_fail
;
23790 resultobj
= SWIG_From_int((int)result
);
23797 static PyObject
*_wrap_Window_GetMinHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23798 PyObject
*resultobj
;
23799 wxWindow
*arg1
= (wxWindow
*) 0 ;
23801 PyObject
* obj0
= 0 ;
23802 char *kwnames
[] = {
23803 (char *) "self", NULL
23806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinHeight",kwnames
,&obj0
)) goto fail
;
23807 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23811 result
= (int)((wxWindow
const *)arg1
)->GetMinHeight();
23813 wxPyEndAllowThreads(__tstate
);
23814 if (PyErr_Occurred()) SWIG_fail
;
23816 resultobj
= SWIG_From_int((int)result
);
23823 static PyObject
*_wrap_Window_GetMaxWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23824 PyObject
*resultobj
;
23825 wxWindow
*arg1
= (wxWindow
*) 0 ;
23827 PyObject
* obj0
= 0 ;
23828 char *kwnames
[] = {
23829 (char *) "self", NULL
23832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxWidth",kwnames
,&obj0
)) goto fail
;
23833 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23834 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23837 result
= (int)((wxWindow
const *)arg1
)->GetMaxWidth();
23839 wxPyEndAllowThreads(__tstate
);
23840 if (PyErr_Occurred()) SWIG_fail
;
23842 resultobj
= SWIG_From_int((int)result
);
23849 static PyObject
*_wrap_Window_GetMaxHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23850 PyObject
*resultobj
;
23851 wxWindow
*arg1
= (wxWindow
*) 0 ;
23853 PyObject
* obj0
= 0 ;
23854 char *kwnames
[] = {
23855 (char *) "self", NULL
23858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxHeight",kwnames
,&obj0
)) goto fail
;
23859 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23863 result
= (int)((wxWindow
const *)arg1
)->GetMaxHeight();
23865 wxPyEndAllowThreads(__tstate
);
23866 if (PyErr_Occurred()) SWIG_fail
;
23868 resultobj
= SWIG_From_int((int)result
);
23875 static PyObject
*_wrap_Window_SetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23876 PyObject
*resultobj
;
23877 wxWindow
*arg1
= (wxWindow
*) 0 ;
23880 PyObject
* obj0
= 0 ;
23881 PyObject
* obj1
= 0 ;
23882 char *kwnames
[] = {
23883 (char *) "self",(char *) "size", NULL
23886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetVirtualSize",kwnames
,&obj0
,&obj1
)) goto fail
;
23887 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23888 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23891 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
23894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23895 (arg1
)->SetVirtualSize((wxSize
const &)*arg2
);
23897 wxPyEndAllowThreads(__tstate
);
23898 if (PyErr_Occurred()) SWIG_fail
;
23900 Py_INCREF(Py_None
); resultobj
= Py_None
;
23907 static PyObject
*_wrap_Window_SetVirtualSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23908 PyObject
*resultobj
;
23909 wxWindow
*arg1
= (wxWindow
*) 0 ;
23912 PyObject
* obj0
= 0 ;
23913 PyObject
* obj1
= 0 ;
23914 PyObject
* obj2
= 0 ;
23915 char *kwnames
[] = {
23916 (char *) "self",(char *) "w",(char *) "h", NULL
23919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetVirtualSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23920 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23921 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23922 arg2
= (int)SWIG_As_int(obj1
);
23923 if (PyErr_Occurred()) SWIG_fail
;
23924 arg3
= (int)SWIG_As_int(obj2
);
23925 if (PyErr_Occurred()) SWIG_fail
;
23927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23928 (arg1
)->SetVirtualSize(arg2
,arg3
);
23930 wxPyEndAllowThreads(__tstate
);
23931 if (PyErr_Occurred()) SWIG_fail
;
23933 Py_INCREF(Py_None
); resultobj
= Py_None
;
23940 static PyObject
*_wrap_Window_GetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23941 PyObject
*resultobj
;
23942 wxWindow
*arg1
= (wxWindow
*) 0 ;
23944 PyObject
* obj0
= 0 ;
23945 char *kwnames
[] = {
23946 (char *) "self", NULL
23949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSize",kwnames
,&obj0
)) goto fail
;
23950 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23954 result
= ((wxWindow
const *)arg1
)->GetVirtualSize();
23956 wxPyEndAllowThreads(__tstate
);
23957 if (PyErr_Occurred()) SWIG_fail
;
23960 wxSize
* resultptr
;
23961 resultptr
= new wxSize((wxSize
&) result
);
23962 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23970 static PyObject
*_wrap_Window_GetVirtualSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23971 PyObject
*resultobj
;
23972 wxWindow
*arg1
= (wxWindow
*) 0 ;
23973 int *arg2
= (int *) 0 ;
23974 int *arg3
= (int *) 0 ;
23979 PyObject
* obj0
= 0 ;
23980 char *kwnames
[] = {
23981 (char *) "self", NULL
23984 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
23985 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
23986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSizeTuple",kwnames
,&obj0
)) goto fail
;
23987 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23991 ((wxWindow
const *)arg1
)->GetVirtualSize(arg2
,arg3
);
23993 wxPyEndAllowThreads(__tstate
);
23994 if (PyErr_Occurred()) SWIG_fail
;
23996 Py_INCREF(Py_None
); resultobj
= Py_None
;
23997 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
23998 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
23999 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
24000 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
24007 static PyObject
*_wrap_Window_GetBestVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24008 PyObject
*resultobj
;
24009 wxWindow
*arg1
= (wxWindow
*) 0 ;
24011 PyObject
* obj0
= 0 ;
24012 char *kwnames
[] = {
24013 (char *) "self", NULL
24016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestVirtualSize",kwnames
,&obj0
)) goto fail
;
24017 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24021 result
= ((wxWindow
const *)arg1
)->GetBestVirtualSize();
24023 wxPyEndAllowThreads(__tstate
);
24024 if (PyErr_Occurred()) SWIG_fail
;
24027 wxSize
* resultptr
;
24028 resultptr
= new wxSize((wxSize
&) result
);
24029 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
24037 static PyObject
*_wrap_Window_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24038 PyObject
*resultobj
;
24039 wxWindow
*arg1
= (wxWindow
*) 0 ;
24040 bool arg2
= (bool) True
;
24042 PyObject
* obj0
= 0 ;
24043 PyObject
* obj1
= 0 ;
24044 char *kwnames
[] = {
24045 (char *) "self",(char *) "show", NULL
24048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
24049 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24050 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24052 arg2
= (bool)SWIG_As_bool(obj1
);
24053 if (PyErr_Occurred()) SWIG_fail
;
24056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24057 result
= (bool)(arg1
)->Show(arg2
);
24059 wxPyEndAllowThreads(__tstate
);
24060 if (PyErr_Occurred()) SWIG_fail
;
24063 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24071 static PyObject
*_wrap_Window_Hide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24072 PyObject
*resultobj
;
24073 wxWindow
*arg1
= (wxWindow
*) 0 ;
24075 PyObject
* obj0
= 0 ;
24076 char *kwnames
[] = {
24077 (char *) "self", NULL
24080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Hide",kwnames
,&obj0
)) goto fail
;
24081 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24085 result
= (bool)(arg1
)->Hide();
24087 wxPyEndAllowThreads(__tstate
);
24088 if (PyErr_Occurred()) SWIG_fail
;
24091 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24099 static PyObject
*_wrap_Window_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24100 PyObject
*resultobj
;
24101 wxWindow
*arg1
= (wxWindow
*) 0 ;
24102 bool arg2
= (bool) True
;
24104 PyObject
* obj0
= 0 ;
24105 PyObject
* obj1
= 0 ;
24106 char *kwnames
[] = {
24107 (char *) "self",(char *) "enable", NULL
24110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
24111 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24114 arg2
= (bool)SWIG_As_bool(obj1
);
24115 if (PyErr_Occurred()) SWIG_fail
;
24118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24119 result
= (bool)(arg1
)->Enable(arg2
);
24121 wxPyEndAllowThreads(__tstate
);
24122 if (PyErr_Occurred()) SWIG_fail
;
24125 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24133 static PyObject
*_wrap_Window_Disable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24134 PyObject
*resultobj
;
24135 wxWindow
*arg1
= (wxWindow
*) 0 ;
24137 PyObject
* obj0
= 0 ;
24138 char *kwnames
[] = {
24139 (char *) "self", NULL
24142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Disable",kwnames
,&obj0
)) goto fail
;
24143 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24144 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24147 result
= (bool)(arg1
)->Disable();
24149 wxPyEndAllowThreads(__tstate
);
24150 if (PyErr_Occurred()) SWIG_fail
;
24153 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24161 static PyObject
*_wrap_Window_IsShown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24162 PyObject
*resultobj
;
24163 wxWindow
*arg1
= (wxWindow
*) 0 ;
24165 PyObject
* obj0
= 0 ;
24166 char *kwnames
[] = {
24167 (char *) "self", NULL
24170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsShown",kwnames
,&obj0
)) goto fail
;
24171 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24172 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24175 result
= (bool)((wxWindow
const *)arg1
)->IsShown();
24177 wxPyEndAllowThreads(__tstate
);
24178 if (PyErr_Occurred()) SWIG_fail
;
24181 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24189 static PyObject
*_wrap_Window_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24190 PyObject
*resultobj
;
24191 wxWindow
*arg1
= (wxWindow
*) 0 ;
24193 PyObject
* obj0
= 0 ;
24194 char *kwnames
[] = {
24195 (char *) "self", NULL
24198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsEnabled",kwnames
,&obj0
)) goto fail
;
24199 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24200 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24203 result
= (bool)((wxWindow
const *)arg1
)->IsEnabled();
24205 wxPyEndAllowThreads(__tstate
);
24206 if (PyErr_Occurred()) SWIG_fail
;
24209 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24217 static PyObject
*_wrap_Window_SetWindowStyleFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24218 PyObject
*resultobj
;
24219 wxWindow
*arg1
= (wxWindow
*) 0 ;
24221 PyObject
* obj0
= 0 ;
24222 PyObject
* obj1
= 0 ;
24223 char *kwnames
[] = {
24224 (char *) "self",(char *) "style", NULL
24227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
24228 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24230 arg2
= (long)SWIG_As_long(obj1
);
24231 if (PyErr_Occurred()) SWIG_fail
;
24233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24234 (arg1
)->SetWindowStyleFlag(arg2
);
24236 wxPyEndAllowThreads(__tstate
);
24237 if (PyErr_Occurred()) SWIG_fail
;
24239 Py_INCREF(Py_None
); resultobj
= Py_None
;
24246 static PyObject
*_wrap_Window_GetWindowStyleFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24247 PyObject
*resultobj
;
24248 wxWindow
*arg1
= (wxWindow
*) 0 ;
24250 PyObject
* obj0
= 0 ;
24251 char *kwnames
[] = {
24252 (char *) "self", NULL
24255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowStyleFlag",kwnames
,&obj0
)) goto fail
;
24256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24260 result
= (long)((wxWindow
const *)arg1
)->GetWindowStyleFlag();
24262 wxPyEndAllowThreads(__tstate
);
24263 if (PyErr_Occurred()) SWIG_fail
;
24265 resultobj
= SWIG_From_long((long)result
);
24272 static PyObject
*_wrap_Window_HasFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24273 PyObject
*resultobj
;
24274 wxWindow
*arg1
= (wxWindow
*) 0 ;
24277 PyObject
* obj0
= 0 ;
24278 PyObject
* obj1
= 0 ;
24279 char *kwnames
[] = {
24280 (char *) "self",(char *) "flag", NULL
24283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
24284 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24285 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24286 arg2
= (int)SWIG_As_int(obj1
);
24287 if (PyErr_Occurred()) SWIG_fail
;
24289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24290 result
= (bool)((wxWindow
const *)arg1
)->HasFlag(arg2
);
24292 wxPyEndAllowThreads(__tstate
);
24293 if (PyErr_Occurred()) SWIG_fail
;
24296 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24304 static PyObject
*_wrap_Window_IsRetained(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24305 PyObject
*resultobj
;
24306 wxWindow
*arg1
= (wxWindow
*) 0 ;
24308 PyObject
* obj0
= 0 ;
24309 char *kwnames
[] = {
24310 (char *) "self", NULL
24313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsRetained",kwnames
,&obj0
)) goto fail
;
24314 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24315 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24318 result
= (bool)((wxWindow
const *)arg1
)->IsRetained();
24320 wxPyEndAllowThreads(__tstate
);
24321 if (PyErr_Occurred()) SWIG_fail
;
24324 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24332 static PyObject
*_wrap_Window_SetExtraStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24333 PyObject
*resultobj
;
24334 wxWindow
*arg1
= (wxWindow
*) 0 ;
24336 PyObject
* obj0
= 0 ;
24337 PyObject
* obj1
= 0 ;
24338 char *kwnames
[] = {
24339 (char *) "self",(char *) "exStyle", NULL
24342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetExtraStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
24343 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24345 arg2
= (long)SWIG_As_long(obj1
);
24346 if (PyErr_Occurred()) SWIG_fail
;
24348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24349 (arg1
)->SetExtraStyle(arg2
);
24351 wxPyEndAllowThreads(__tstate
);
24352 if (PyErr_Occurred()) SWIG_fail
;
24354 Py_INCREF(Py_None
); resultobj
= Py_None
;
24361 static PyObject
*_wrap_Window_GetExtraStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24362 PyObject
*resultobj
;
24363 wxWindow
*arg1
= (wxWindow
*) 0 ;
24365 PyObject
* obj0
= 0 ;
24366 char *kwnames
[] = {
24367 (char *) "self", NULL
24370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetExtraStyle",kwnames
,&obj0
)) goto fail
;
24371 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24372 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24375 result
= (long)((wxWindow
const *)arg1
)->GetExtraStyle();
24377 wxPyEndAllowThreads(__tstate
);
24378 if (PyErr_Occurred()) SWIG_fail
;
24380 resultobj
= SWIG_From_long((long)result
);
24387 static PyObject
*_wrap_Window_MakeModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24388 PyObject
*resultobj
;
24389 wxWindow
*arg1
= (wxWindow
*) 0 ;
24390 bool arg2
= (bool) True
;
24391 PyObject
* obj0
= 0 ;
24392 PyObject
* obj1
= 0 ;
24393 char *kwnames
[] = {
24394 (char *) "self",(char *) "modal", NULL
24397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_MakeModal",kwnames
,&obj0
,&obj1
)) goto fail
;
24398 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24399 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24401 arg2
= (bool)SWIG_As_bool(obj1
);
24402 if (PyErr_Occurred()) SWIG_fail
;
24405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24406 (arg1
)->MakeModal(arg2
);
24408 wxPyEndAllowThreads(__tstate
);
24409 if (PyErr_Occurred()) SWIG_fail
;
24411 Py_INCREF(Py_None
); resultobj
= Py_None
;
24418 static PyObject
*_wrap_Window_SetThemeEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24419 PyObject
*resultobj
;
24420 wxWindow
*arg1
= (wxWindow
*) 0 ;
24422 PyObject
* obj0
= 0 ;
24423 PyObject
* obj1
= 0 ;
24424 char *kwnames
[] = {
24425 (char *) "self",(char *) "enableTheme", NULL
24428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetThemeEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
24429 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24430 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24431 arg2
= (bool)SWIG_As_bool(obj1
);
24432 if (PyErr_Occurred()) SWIG_fail
;
24434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24435 (arg1
)->SetThemeEnabled(arg2
);
24437 wxPyEndAllowThreads(__tstate
);
24438 if (PyErr_Occurred()) SWIG_fail
;
24440 Py_INCREF(Py_None
); resultobj
= Py_None
;
24447 static PyObject
*_wrap_Window_GetThemeEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24448 PyObject
*resultobj
;
24449 wxWindow
*arg1
= (wxWindow
*) 0 ;
24451 PyObject
* obj0
= 0 ;
24452 char *kwnames
[] = {
24453 (char *) "self", NULL
24456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetThemeEnabled",kwnames
,&obj0
)) goto fail
;
24457 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24458 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24461 result
= (bool)((wxWindow
const *)arg1
)->GetThemeEnabled();
24463 wxPyEndAllowThreads(__tstate
);
24464 if (PyErr_Occurred()) SWIG_fail
;
24467 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24475 static PyObject
*_wrap_Window_SetFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24476 PyObject
*resultobj
;
24477 wxWindow
*arg1
= (wxWindow
*) 0 ;
24478 PyObject
* obj0
= 0 ;
24479 char *kwnames
[] = {
24480 (char *) "self", NULL
24483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocus",kwnames
,&obj0
)) goto fail
;
24484 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24485 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24488 (arg1
)->SetFocus();
24490 wxPyEndAllowThreads(__tstate
);
24491 if (PyErr_Occurred()) SWIG_fail
;
24493 Py_INCREF(Py_None
); resultobj
= Py_None
;
24500 static PyObject
*_wrap_Window_SetFocusFromKbd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24501 PyObject
*resultobj
;
24502 wxWindow
*arg1
= (wxWindow
*) 0 ;
24503 PyObject
* obj0
= 0 ;
24504 char *kwnames
[] = {
24505 (char *) "self", NULL
24508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocusFromKbd",kwnames
,&obj0
)) goto fail
;
24509 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24510 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24513 (arg1
)->SetFocusFromKbd();
24515 wxPyEndAllowThreads(__tstate
);
24516 if (PyErr_Occurred()) SWIG_fail
;
24518 Py_INCREF(Py_None
); resultobj
= Py_None
;
24525 static PyObject
*_wrap_Window_FindFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24526 PyObject
*resultobj
;
24528 char *kwnames
[] = {
24532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_FindFocus",kwnames
)) goto fail
;
24534 if (!wxPyCheckForApp()) SWIG_fail
;
24535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24536 result
= (wxWindow
*)wxWindow::FindFocus();
24538 wxPyEndAllowThreads(__tstate
);
24539 if (PyErr_Occurred()) SWIG_fail
;
24542 resultobj
= wxPyMake_wxObject(result
, 0);
24550 static PyObject
*_wrap_Window_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24551 PyObject
*resultobj
;
24552 wxWindow
*arg1
= (wxWindow
*) 0 ;
24554 PyObject
* obj0
= 0 ;
24555 char *kwnames
[] = {
24556 (char *) "self", NULL
24559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
24560 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24561 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24564 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocus();
24566 wxPyEndAllowThreads(__tstate
);
24567 if (PyErr_Occurred()) SWIG_fail
;
24570 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24578 static PyObject
*_wrap_Window_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24579 PyObject
*resultobj
;
24580 wxWindow
*arg1
= (wxWindow
*) 0 ;
24582 PyObject
* obj0
= 0 ;
24583 char *kwnames
[] = {
24584 (char *) "self", NULL
24587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
24588 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24589 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24592 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocusFromKeyboard();
24594 wxPyEndAllowThreads(__tstate
);
24595 if (PyErr_Occurred()) SWIG_fail
;
24598 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24606 static PyObject
*_wrap_Window_GetDefaultItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24607 PyObject
*resultobj
;
24608 wxWindow
*arg1
= (wxWindow
*) 0 ;
24610 PyObject
* obj0
= 0 ;
24611 char *kwnames
[] = {
24612 (char *) "self", NULL
24615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDefaultItem",kwnames
,&obj0
)) goto fail
;
24616 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24617 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24620 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetDefaultItem();
24622 wxPyEndAllowThreads(__tstate
);
24623 if (PyErr_Occurred()) SWIG_fail
;
24626 resultobj
= wxPyMake_wxObject(result
, 0);
24634 static PyObject
*_wrap_Window_SetDefaultItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24635 PyObject
*resultobj
;
24636 wxWindow
*arg1
= (wxWindow
*) 0 ;
24637 wxWindow
*arg2
= (wxWindow
*) 0 ;
24639 PyObject
* obj0
= 0 ;
24640 PyObject
* obj1
= 0 ;
24641 char *kwnames
[] = {
24642 (char *) "self",(char *) "child", NULL
24645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
24646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24648 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24652 result
= (wxWindow
*)(arg1
)->SetDefaultItem(arg2
);
24654 wxPyEndAllowThreads(__tstate
);
24655 if (PyErr_Occurred()) SWIG_fail
;
24658 resultobj
= wxPyMake_wxObject(result
, 0);
24666 static PyObject
*_wrap_Window_SetTmpDefaultItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24667 PyObject
*resultobj
;
24668 wxWindow
*arg1
= (wxWindow
*) 0 ;
24669 wxWindow
*arg2
= (wxWindow
*) 0 ;
24670 PyObject
* obj0
= 0 ;
24671 PyObject
* obj1
= 0 ;
24672 char *kwnames
[] = {
24673 (char *) "self",(char *) "win", NULL
24676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTmpDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
24677 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24678 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24679 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24680 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24683 (arg1
)->SetTmpDefaultItem(arg2
);
24685 wxPyEndAllowThreads(__tstate
);
24686 if (PyErr_Occurred()) SWIG_fail
;
24688 Py_INCREF(Py_None
); resultobj
= Py_None
;
24695 static PyObject
*_wrap_Window_Navigate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24696 PyObject
*resultobj
;
24697 wxWindow
*arg1
= (wxWindow
*) 0 ;
24698 int arg2
= (int) wxNavigationKeyEvent::IsForward
;
24700 PyObject
* obj0
= 0 ;
24701 PyObject
* obj1
= 0 ;
24702 char *kwnames
[] = {
24703 (char *) "self",(char *) "flags", NULL
24706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Navigate",kwnames
,&obj0
,&obj1
)) goto fail
;
24707 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24708 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24710 arg2
= (int)SWIG_As_int(obj1
);
24711 if (PyErr_Occurred()) SWIG_fail
;
24714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24715 result
= (bool)(arg1
)->Navigate(arg2
);
24717 wxPyEndAllowThreads(__tstate
);
24718 if (PyErr_Occurred()) SWIG_fail
;
24721 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24729 static PyObject
*_wrap_Window_MoveAfterInTabOrder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24730 PyObject
*resultobj
;
24731 wxWindow
*arg1
= (wxWindow
*) 0 ;
24732 wxWindow
*arg2
= (wxWindow
*) 0 ;
24733 PyObject
* obj0
= 0 ;
24734 PyObject
* obj1
= 0 ;
24735 char *kwnames
[] = {
24736 (char *) "self",(char *) "win", NULL
24739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_MoveAfterInTabOrder",kwnames
,&obj0
,&obj1
)) goto fail
;
24740 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24741 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24742 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24743 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24746 (arg1
)->MoveAfterInTabOrder(arg2
);
24748 wxPyEndAllowThreads(__tstate
);
24749 if (PyErr_Occurred()) SWIG_fail
;
24751 Py_INCREF(Py_None
); resultobj
= Py_None
;
24758 static PyObject
*_wrap_Window_MoveBeforeInTabOrder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24759 PyObject
*resultobj
;
24760 wxWindow
*arg1
= (wxWindow
*) 0 ;
24761 wxWindow
*arg2
= (wxWindow
*) 0 ;
24762 PyObject
* obj0
= 0 ;
24763 PyObject
* obj1
= 0 ;
24764 char *kwnames
[] = {
24765 (char *) "self",(char *) "win", NULL
24768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_MoveBeforeInTabOrder",kwnames
,&obj0
,&obj1
)) goto fail
;
24769 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24770 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24771 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24772 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24775 (arg1
)->MoveBeforeInTabOrder(arg2
);
24777 wxPyEndAllowThreads(__tstate
);
24778 if (PyErr_Occurred()) SWIG_fail
;
24780 Py_INCREF(Py_None
); resultobj
= Py_None
;
24787 static PyObject
*_wrap_Window_GetChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24788 PyObject
*resultobj
;
24789 wxWindow
*arg1
= (wxWindow
*) 0 ;
24791 PyObject
* obj0
= 0 ;
24792 char *kwnames
[] = {
24793 (char *) "self", NULL
24796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetChildren",kwnames
,&obj0
)) goto fail
;
24797 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24801 result
= (PyObject
*)wxWindow_GetChildren(arg1
);
24803 wxPyEndAllowThreads(__tstate
);
24804 if (PyErr_Occurred()) SWIG_fail
;
24806 resultobj
= result
;
24813 static PyObject
*_wrap_Window_GetParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24814 PyObject
*resultobj
;
24815 wxWindow
*arg1
= (wxWindow
*) 0 ;
24817 PyObject
* obj0
= 0 ;
24818 char *kwnames
[] = {
24819 (char *) "self", NULL
24822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetParent",kwnames
,&obj0
)) goto fail
;
24823 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24824 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24827 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetParent();
24829 wxPyEndAllowThreads(__tstate
);
24830 if (PyErr_Occurred()) SWIG_fail
;
24833 resultobj
= wxPyMake_wxObject(result
, 0);
24841 static PyObject
*_wrap_Window_GetGrandParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24842 PyObject
*resultobj
;
24843 wxWindow
*arg1
= (wxWindow
*) 0 ;
24845 PyObject
* obj0
= 0 ;
24846 char *kwnames
[] = {
24847 (char *) "self", NULL
24850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetGrandParent",kwnames
,&obj0
)) goto fail
;
24851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24855 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetGrandParent();
24857 wxPyEndAllowThreads(__tstate
);
24858 if (PyErr_Occurred()) SWIG_fail
;
24861 resultobj
= wxPyMake_wxObject(result
, 0);
24869 static PyObject
*_wrap_Window_IsTopLevel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24870 PyObject
*resultobj
;
24871 wxWindow
*arg1
= (wxWindow
*) 0 ;
24873 PyObject
* obj0
= 0 ;
24874 char *kwnames
[] = {
24875 (char *) "self", NULL
24878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsTopLevel",kwnames
,&obj0
)) goto fail
;
24879 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24880 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24883 result
= (bool)((wxWindow
const *)arg1
)->IsTopLevel();
24885 wxPyEndAllowThreads(__tstate
);
24886 if (PyErr_Occurred()) SWIG_fail
;
24889 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24897 static PyObject
*_wrap_Window_Reparent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24898 PyObject
*resultobj
;
24899 wxWindow
*arg1
= (wxWindow
*) 0 ;
24900 wxWindow
*arg2
= (wxWindow
*) 0 ;
24902 PyObject
* obj0
= 0 ;
24903 PyObject
* obj1
= 0 ;
24904 char *kwnames
[] = {
24905 (char *) "self",(char *) "newParent", NULL
24908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_Reparent",kwnames
,&obj0
,&obj1
)) goto fail
;
24909 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24910 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24911 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24912 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24915 result
= (bool)(arg1
)->Reparent(arg2
);
24917 wxPyEndAllowThreads(__tstate
);
24918 if (PyErr_Occurred()) SWIG_fail
;
24921 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24929 static PyObject
*_wrap_Window_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24930 PyObject
*resultobj
;
24931 wxWindow
*arg1
= (wxWindow
*) 0 ;
24932 wxWindow
*arg2
= (wxWindow
*) 0 ;
24933 PyObject
* obj0
= 0 ;
24934 PyObject
* obj1
= 0 ;
24935 char *kwnames
[] = {
24936 (char *) "self",(char *) "child", NULL
24939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
24940 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24941 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24942 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24946 (arg1
)->AddChild(arg2
);
24948 wxPyEndAllowThreads(__tstate
);
24949 if (PyErr_Occurred()) SWIG_fail
;
24951 Py_INCREF(Py_None
); resultobj
= Py_None
;
24958 static PyObject
*_wrap_Window_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24959 PyObject
*resultobj
;
24960 wxWindow
*arg1
= (wxWindow
*) 0 ;
24961 wxWindow
*arg2
= (wxWindow
*) 0 ;
24962 PyObject
* obj0
= 0 ;
24963 PyObject
* obj1
= 0 ;
24964 char *kwnames
[] = {
24965 (char *) "self",(char *) "child", NULL
24968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
24969 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24970 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24971 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24972 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24975 (arg1
)->RemoveChild(arg2
);
24977 wxPyEndAllowThreads(__tstate
);
24978 if (PyErr_Occurred()) SWIG_fail
;
24980 Py_INCREF(Py_None
); resultobj
= Py_None
;
24987 static PyObject
*_wrap_Window_FindWindowById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24988 PyObject
*resultobj
;
24989 wxWindow
*arg1
= (wxWindow
*) 0 ;
24992 PyObject
* obj0
= 0 ;
24993 PyObject
* obj1
= 0 ;
24994 char *kwnames
[] = {
24995 (char *) "self",(char *) "winid", NULL
24998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowById",kwnames
,&obj0
,&obj1
)) goto fail
;
24999 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25000 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25001 arg2
= (long)SWIG_As_long(obj1
);
25002 if (PyErr_Occurred()) SWIG_fail
;
25004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25005 result
= (wxWindow
*)(arg1
)->FindWindow(arg2
);
25007 wxPyEndAllowThreads(__tstate
);
25008 if (PyErr_Occurred()) SWIG_fail
;
25011 resultobj
= wxPyMake_wxObject(result
, 0);
25019 static PyObject
*_wrap_Window_FindWindowByName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25020 PyObject
*resultobj
;
25021 wxWindow
*arg1
= (wxWindow
*) 0 ;
25022 wxString
*arg2
= 0 ;
25024 bool temp2
= False
;
25025 PyObject
* obj0
= 0 ;
25026 PyObject
* obj1
= 0 ;
25027 char *kwnames
[] = {
25028 (char *) "self",(char *) "name", NULL
25031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
25032 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25035 arg2
= wxString_in_helper(obj1
);
25036 if (arg2
== NULL
) SWIG_fail
;
25040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25041 result
= (wxWindow
*)(arg1
)->FindWindow((wxString
const &)*arg2
);
25043 wxPyEndAllowThreads(__tstate
);
25044 if (PyErr_Occurred()) SWIG_fail
;
25047 resultobj
= wxPyMake_wxObject(result
, 0);
25063 static PyObject
*_wrap_Window_GetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25064 PyObject
*resultobj
;
25065 wxWindow
*arg1
= (wxWindow
*) 0 ;
25066 wxEvtHandler
*result
;
25067 PyObject
* obj0
= 0 ;
25068 char *kwnames
[] = {
25069 (char *) "self", NULL
25072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetEventHandler",kwnames
,&obj0
)) goto fail
;
25073 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25077 result
= (wxEvtHandler
*)((wxWindow
const *)arg1
)->GetEventHandler();
25079 wxPyEndAllowThreads(__tstate
);
25080 if (PyErr_Occurred()) SWIG_fail
;
25083 resultobj
= wxPyMake_wxObject(result
, 0);
25091 static PyObject
*_wrap_Window_SetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25092 PyObject
*resultobj
;
25093 wxWindow
*arg1
= (wxWindow
*) 0 ;
25094 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
25095 PyObject
* obj0
= 0 ;
25096 PyObject
* obj1
= 0 ;
25097 char *kwnames
[] = {
25098 (char *) "self",(char *) "handler", NULL
25101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
25102 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25103 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25104 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
25105 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25108 (arg1
)->SetEventHandler(arg2
);
25110 wxPyEndAllowThreads(__tstate
);
25111 if (PyErr_Occurred()) SWIG_fail
;
25113 Py_INCREF(Py_None
); resultobj
= Py_None
;
25120 static PyObject
*_wrap_Window_PushEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25121 PyObject
*resultobj
;
25122 wxWindow
*arg1
= (wxWindow
*) 0 ;
25123 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
25124 PyObject
* obj0
= 0 ;
25125 PyObject
* obj1
= 0 ;
25126 char *kwnames
[] = {
25127 (char *) "self",(char *) "handler", NULL
25130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PushEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
25131 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25132 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25133 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
25134 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25137 (arg1
)->PushEventHandler(arg2
);
25139 wxPyEndAllowThreads(__tstate
);
25140 if (PyErr_Occurred()) SWIG_fail
;
25142 Py_INCREF(Py_None
); resultobj
= Py_None
;
25149 static PyObject
*_wrap_Window_PopEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25150 PyObject
*resultobj
;
25151 wxWindow
*arg1
= (wxWindow
*) 0 ;
25152 bool arg2
= (bool) False
;
25153 wxEvtHandler
*result
;
25154 PyObject
* obj0
= 0 ;
25155 PyObject
* obj1
= 0 ;
25156 char *kwnames
[] = {
25157 (char *) "self",(char *) "deleteHandler", NULL
25160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_PopEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
25161 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25164 arg2
= (bool)SWIG_As_bool(obj1
);
25165 if (PyErr_Occurred()) SWIG_fail
;
25168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25169 result
= (wxEvtHandler
*)(arg1
)->PopEventHandler(arg2
);
25171 wxPyEndAllowThreads(__tstate
);
25172 if (PyErr_Occurred()) SWIG_fail
;
25175 resultobj
= wxPyMake_wxObject(result
, 0);
25183 static PyObject
*_wrap_Window_RemoveEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25184 PyObject
*resultobj
;
25185 wxWindow
*arg1
= (wxWindow
*) 0 ;
25186 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
25188 PyObject
* obj0
= 0 ;
25189 PyObject
* obj1
= 0 ;
25190 char *kwnames
[] = {
25191 (char *) "self",(char *) "handler", NULL
25194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
25195 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25197 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
25198 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25201 result
= (bool)(arg1
)->RemoveEventHandler(arg2
);
25203 wxPyEndAllowThreads(__tstate
);
25204 if (PyErr_Occurred()) SWIG_fail
;
25207 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25215 static PyObject
*_wrap_Window_SetValidator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25216 PyObject
*resultobj
;
25217 wxWindow
*arg1
= (wxWindow
*) 0 ;
25218 wxValidator
*arg2
= 0 ;
25219 PyObject
* obj0
= 0 ;
25220 PyObject
* obj1
= 0 ;
25221 char *kwnames
[] = {
25222 (char *) "self",(char *) "validator", NULL
25225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetValidator",kwnames
,&obj0
,&obj1
)) goto fail
;
25226 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25227 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25228 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxValidator
,
25229 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25231 if (arg2
== NULL
) {
25232 PyErr_SetString(PyExc_TypeError
,"null reference");
25236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25237 (arg1
)->SetValidator((wxValidator
const &)*arg2
);
25239 wxPyEndAllowThreads(__tstate
);
25240 if (PyErr_Occurred()) SWIG_fail
;
25242 Py_INCREF(Py_None
); resultobj
= Py_None
;
25249 static PyObject
*_wrap_Window_GetValidator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25250 PyObject
*resultobj
;
25251 wxWindow
*arg1
= (wxWindow
*) 0 ;
25252 wxValidator
*result
;
25253 PyObject
* obj0
= 0 ;
25254 char *kwnames
[] = {
25255 (char *) "self", NULL
25258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetValidator",kwnames
,&obj0
)) goto fail
;
25259 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25260 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25263 result
= (wxValidator
*)(arg1
)->GetValidator();
25265 wxPyEndAllowThreads(__tstate
);
25266 if (PyErr_Occurred()) SWIG_fail
;
25269 resultobj
= wxPyMake_wxObject(result
, 0);
25277 static PyObject
*_wrap_Window_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25278 PyObject
*resultobj
;
25279 wxWindow
*arg1
= (wxWindow
*) 0 ;
25281 PyObject
* obj0
= 0 ;
25282 char *kwnames
[] = {
25283 (char *) "self", NULL
25286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Validate",kwnames
,&obj0
)) goto fail
;
25287 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25291 result
= (bool)(arg1
)->Validate();
25293 wxPyEndAllowThreads(__tstate
);
25294 if (PyErr_Occurred()) SWIG_fail
;
25297 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25305 static PyObject
*_wrap_Window_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25306 PyObject
*resultobj
;
25307 wxWindow
*arg1
= (wxWindow
*) 0 ;
25309 PyObject
* obj0
= 0 ;
25310 char *kwnames
[] = {
25311 (char *) "self", NULL
25314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
25315 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25316 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25319 result
= (bool)(arg1
)->TransferDataToWindow();
25321 wxPyEndAllowThreads(__tstate
);
25322 if (PyErr_Occurred()) SWIG_fail
;
25325 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25333 static PyObject
*_wrap_Window_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25334 PyObject
*resultobj
;
25335 wxWindow
*arg1
= (wxWindow
*) 0 ;
25337 PyObject
* obj0
= 0 ;
25338 char *kwnames
[] = {
25339 (char *) "self", NULL
25342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
25343 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25347 result
= (bool)(arg1
)->TransferDataFromWindow();
25349 wxPyEndAllowThreads(__tstate
);
25350 if (PyErr_Occurred()) SWIG_fail
;
25353 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25361 static PyObject
*_wrap_Window_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25362 PyObject
*resultobj
;
25363 wxWindow
*arg1
= (wxWindow
*) 0 ;
25364 PyObject
* obj0
= 0 ;
25365 char *kwnames
[] = {
25366 (char *) "self", NULL
25369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InitDialog",kwnames
,&obj0
)) goto fail
;
25370 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25374 (arg1
)->InitDialog();
25376 wxPyEndAllowThreads(__tstate
);
25377 if (PyErr_Occurred()) SWIG_fail
;
25379 Py_INCREF(Py_None
); resultobj
= Py_None
;
25386 static PyObject
*_wrap_Window_SetAcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25387 PyObject
*resultobj
;
25388 wxWindow
*arg1
= (wxWindow
*) 0 ;
25389 wxAcceleratorTable
*arg2
= 0 ;
25390 PyObject
* obj0
= 0 ;
25391 PyObject
* obj1
= 0 ;
25392 char *kwnames
[] = {
25393 (char *) "self",(char *) "accel", NULL
25396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAcceleratorTable",kwnames
,&obj0
,&obj1
)) goto fail
;
25397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25399 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxAcceleratorTable
,
25400 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25402 if (arg2
== NULL
) {
25403 PyErr_SetString(PyExc_TypeError
,"null reference");
25407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25408 (arg1
)->SetAcceleratorTable((wxAcceleratorTable
const &)*arg2
);
25410 wxPyEndAllowThreads(__tstate
);
25411 if (PyErr_Occurred()) SWIG_fail
;
25413 Py_INCREF(Py_None
); resultobj
= Py_None
;
25420 static PyObject
*_wrap_Window_GetAcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25421 PyObject
*resultobj
;
25422 wxWindow
*arg1
= (wxWindow
*) 0 ;
25423 wxAcceleratorTable
*result
;
25424 PyObject
* obj0
= 0 ;
25425 char *kwnames
[] = {
25426 (char *) "self", NULL
25429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAcceleratorTable",kwnames
,&obj0
)) goto fail
;
25430 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25431 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25434 result
= (wxAcceleratorTable
*)(arg1
)->GetAcceleratorTable();
25436 wxPyEndAllowThreads(__tstate
);
25437 if (PyErr_Occurred()) SWIG_fail
;
25439 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorTable
, 0);
25446 static PyObject
*_wrap_Window_RegisterHotKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25447 PyObject
*resultobj
;
25448 wxWindow
*arg1
= (wxWindow
*) 0 ;
25453 PyObject
* obj0
= 0 ;
25454 PyObject
* obj1
= 0 ;
25455 PyObject
* obj2
= 0 ;
25456 PyObject
* obj3
= 0 ;
25457 char *kwnames
[] = {
25458 (char *) "self",(char *) "hotkeyId",(char *) "modifiers",(char *) "keycode", NULL
25461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Window_RegisterHotKey",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25462 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25463 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25464 arg2
= (int)SWIG_As_int(obj1
);
25465 if (PyErr_Occurred()) SWIG_fail
;
25466 arg3
= (int)SWIG_As_int(obj2
);
25467 if (PyErr_Occurred()) SWIG_fail
;
25468 arg4
= (int)SWIG_As_int(obj3
);
25469 if (PyErr_Occurred()) SWIG_fail
;
25471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25472 result
= (bool)wxWindow_RegisterHotKey(arg1
,arg2
,arg3
,arg4
);
25474 wxPyEndAllowThreads(__tstate
);
25475 if (PyErr_Occurred()) SWIG_fail
;
25478 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25486 static PyObject
*_wrap_Window_UnregisterHotKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25487 PyObject
*resultobj
;
25488 wxWindow
*arg1
= (wxWindow
*) 0 ;
25491 PyObject
* obj0
= 0 ;
25492 PyObject
* obj1
= 0 ;
25493 char *kwnames
[] = {
25494 (char *) "self",(char *) "hotkeyId", NULL
25497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_UnregisterHotKey",kwnames
,&obj0
,&obj1
)) goto fail
;
25498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25500 arg2
= (int)SWIG_As_int(obj1
);
25501 if (PyErr_Occurred()) SWIG_fail
;
25503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25504 result
= (bool)wxWindow_UnregisterHotKey(arg1
,arg2
);
25506 wxPyEndAllowThreads(__tstate
);
25507 if (PyErr_Occurred()) SWIG_fail
;
25510 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25518 static PyObject
*_wrap_Window_ConvertDialogPointToPixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25519 PyObject
*resultobj
;
25520 wxWindow
*arg1
= (wxWindow
*) 0 ;
25521 wxPoint
*arg2
= 0 ;
25524 PyObject
* obj0
= 0 ;
25525 PyObject
* obj1
= 0 ;
25526 char *kwnames
[] = {
25527 (char *) "self",(char *) "pt", NULL
25530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogPointToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
25531 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25532 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25535 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25539 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
25541 wxPyEndAllowThreads(__tstate
);
25542 if (PyErr_Occurred()) SWIG_fail
;
25545 wxPoint
* resultptr
;
25546 resultptr
= new wxPoint((wxPoint
&) result
);
25547 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
25555 static PyObject
*_wrap_Window_ConvertDialogSizeToPixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25556 PyObject
*resultobj
;
25557 wxWindow
*arg1
= (wxWindow
*) 0 ;
25561 PyObject
* obj0
= 0 ;
25562 PyObject
* obj1
= 0 ;
25563 char *kwnames
[] = {
25564 (char *) "self",(char *) "sz", NULL
25567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogSizeToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
25568 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25572 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25576 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
25578 wxPyEndAllowThreads(__tstate
);
25579 if (PyErr_Occurred()) SWIG_fail
;
25582 wxSize
* resultptr
;
25583 resultptr
= new wxSize((wxSize
&) result
);
25584 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
25592 static PyObject
*_wrap_Window_DLG_PNT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25593 PyObject
*resultobj
;
25594 wxWindow
*arg1
= (wxWindow
*) 0 ;
25595 wxPoint
*arg2
= 0 ;
25598 PyObject
* obj0
= 0 ;
25599 PyObject
* obj1
= 0 ;
25600 char *kwnames
[] = {
25601 (char *) "self",(char *) "pt", NULL
25604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_PNT",kwnames
,&obj0
,&obj1
)) goto fail
;
25605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25609 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25613 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
25615 wxPyEndAllowThreads(__tstate
);
25616 if (PyErr_Occurred()) SWIG_fail
;
25619 wxPoint
* resultptr
;
25620 resultptr
= new wxPoint((wxPoint
&) result
);
25621 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
25629 static PyObject
*_wrap_Window_DLG_SZE(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25630 PyObject
*resultobj
;
25631 wxWindow
*arg1
= (wxWindow
*) 0 ;
25635 PyObject
* obj0
= 0 ;
25636 PyObject
* obj1
= 0 ;
25637 char *kwnames
[] = {
25638 (char *) "self",(char *) "sz", NULL
25641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_SZE",kwnames
,&obj0
,&obj1
)) goto fail
;
25642 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25643 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25646 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25650 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
25652 wxPyEndAllowThreads(__tstate
);
25653 if (PyErr_Occurred()) SWIG_fail
;
25656 wxSize
* resultptr
;
25657 resultptr
= new wxSize((wxSize
&) result
);
25658 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
25666 static PyObject
*_wrap_Window_ConvertPixelPointToDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25667 PyObject
*resultobj
;
25668 wxWindow
*arg1
= (wxWindow
*) 0 ;
25669 wxPoint
*arg2
= 0 ;
25672 PyObject
* obj0
= 0 ;
25673 PyObject
* obj1
= 0 ;
25674 char *kwnames
[] = {
25675 (char *) "self",(char *) "pt", NULL
25678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelPointToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
25679 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25680 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25683 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25687 result
= (arg1
)->ConvertPixelsToDialog((wxPoint
const &)*arg2
);
25689 wxPyEndAllowThreads(__tstate
);
25690 if (PyErr_Occurred()) SWIG_fail
;
25693 wxPoint
* resultptr
;
25694 resultptr
= new wxPoint((wxPoint
&) result
);
25695 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
25703 static PyObject
*_wrap_Window_ConvertPixelSizeToDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25704 PyObject
*resultobj
;
25705 wxWindow
*arg1
= (wxWindow
*) 0 ;
25709 PyObject
* obj0
= 0 ;
25710 PyObject
* obj1
= 0 ;
25711 char *kwnames
[] = {
25712 (char *) "self",(char *) "sz", NULL
25715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelSizeToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
25716 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25717 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25720 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25724 result
= (arg1
)->ConvertPixelsToDialog((wxSize
const &)*arg2
);
25726 wxPyEndAllowThreads(__tstate
);
25727 if (PyErr_Occurred()) SWIG_fail
;
25730 wxSize
* resultptr
;
25731 resultptr
= new wxSize((wxSize
&) result
);
25732 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
25740 static PyObject
*_wrap_Window_WarpPointer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25741 PyObject
*resultobj
;
25742 wxWindow
*arg1
= (wxWindow
*) 0 ;
25745 PyObject
* obj0
= 0 ;
25746 PyObject
* obj1
= 0 ;
25747 PyObject
* obj2
= 0 ;
25748 char *kwnames
[] = {
25749 (char *) "self",(char *) "x",(char *) "y", NULL
25752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_WarpPointer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25753 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25754 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25755 arg2
= (int)SWIG_As_int(obj1
);
25756 if (PyErr_Occurred()) SWIG_fail
;
25757 arg3
= (int)SWIG_As_int(obj2
);
25758 if (PyErr_Occurred()) SWIG_fail
;
25760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25761 (arg1
)->WarpPointer(arg2
,arg3
);
25763 wxPyEndAllowThreads(__tstate
);
25764 if (PyErr_Occurred()) SWIG_fail
;
25766 Py_INCREF(Py_None
); resultobj
= Py_None
;
25773 static PyObject
*_wrap_Window_CaptureMouse(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_CaptureMouse",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
)->CaptureMouse();
25788 wxPyEndAllowThreads(__tstate
);
25789 if (PyErr_Occurred()) SWIG_fail
;
25791 Py_INCREF(Py_None
); resultobj
= Py_None
;
25798 static PyObject
*_wrap_Window_ReleaseMouse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25799 PyObject
*resultobj
;
25800 wxWindow
*arg1
= (wxWindow
*) 0 ;
25801 PyObject
* obj0
= 0 ;
25802 char *kwnames
[] = {
25803 (char *) "self", NULL
25806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ReleaseMouse",kwnames
,&obj0
)) goto fail
;
25807 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25811 (arg1
)->ReleaseMouse();
25813 wxPyEndAllowThreads(__tstate
);
25814 if (PyErr_Occurred()) SWIG_fail
;
25816 Py_INCREF(Py_None
); resultobj
= Py_None
;
25823 static PyObject
*_wrap_Window_GetCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25824 PyObject
*resultobj
;
25826 char *kwnames
[] = {
25830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_GetCapture",kwnames
)) goto fail
;
25832 if (!wxPyCheckForApp()) SWIG_fail
;
25833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25834 result
= (wxWindow
*)wxWindow::GetCapture();
25836 wxPyEndAllowThreads(__tstate
);
25837 if (PyErr_Occurred()) SWIG_fail
;
25840 resultobj
= wxPyMake_wxObject(result
, 0);
25848 static PyObject
*_wrap_Window_HasCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25849 PyObject
*resultobj
;
25850 wxWindow
*arg1
= (wxWindow
*) 0 ;
25852 PyObject
* obj0
= 0 ;
25853 char *kwnames
[] = {
25854 (char *) "self", NULL
25857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_HasCapture",kwnames
,&obj0
)) goto fail
;
25858 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25859 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25862 result
= (bool)((wxWindow
const *)arg1
)->HasCapture();
25864 wxPyEndAllowThreads(__tstate
);
25865 if (PyErr_Occurred()) SWIG_fail
;
25868 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25876 static PyObject
*_wrap_Window_Refresh(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25877 PyObject
*resultobj
;
25878 wxWindow
*arg1
= (wxWindow
*) 0 ;
25879 bool arg2
= (bool) True
;
25880 wxRect
*arg3
= (wxRect
*) NULL
;
25881 PyObject
* obj0
= 0 ;
25882 PyObject
* obj1
= 0 ;
25883 PyObject
* obj2
= 0 ;
25884 char *kwnames
[] = {
25885 (char *) "self",(char *) "eraseBackground",(char *) "rect", NULL
25888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Window_Refresh",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25889 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25892 arg2
= (bool)SWIG_As_bool(obj1
);
25893 if (PyErr_Occurred()) SWIG_fail
;
25896 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxRect
,
25897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25901 (arg1
)->Refresh(arg2
,(wxRect
const *)arg3
);
25903 wxPyEndAllowThreads(__tstate
);
25904 if (PyErr_Occurred()) SWIG_fail
;
25906 Py_INCREF(Py_None
); resultobj
= Py_None
;
25913 static PyObject
*_wrap_Window_RefreshRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25914 PyObject
*resultobj
;
25915 wxWindow
*arg1
= (wxWindow
*) 0 ;
25918 PyObject
* obj0
= 0 ;
25919 PyObject
* obj1
= 0 ;
25920 char *kwnames
[] = {
25921 (char *) "self",(char *) "rect", NULL
25924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RefreshRect",kwnames
,&obj0
,&obj1
)) goto fail
;
25925 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25929 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
25932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25933 (arg1
)->RefreshRect((wxRect
const &)*arg2
);
25935 wxPyEndAllowThreads(__tstate
);
25936 if (PyErr_Occurred()) SWIG_fail
;
25938 Py_INCREF(Py_None
); resultobj
= Py_None
;
25945 static PyObject
*_wrap_Window_Update(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25946 PyObject
*resultobj
;
25947 wxWindow
*arg1
= (wxWindow
*) 0 ;
25948 PyObject
* obj0
= 0 ;
25949 char *kwnames
[] = {
25950 (char *) "self", NULL
25953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Update",kwnames
,&obj0
)) goto fail
;
25954 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25955 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25960 wxPyEndAllowThreads(__tstate
);
25961 if (PyErr_Occurred()) SWIG_fail
;
25963 Py_INCREF(Py_None
); resultobj
= Py_None
;
25970 static PyObject
*_wrap_Window_ClearBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25971 PyObject
*resultobj
;
25972 wxWindow
*arg1
= (wxWindow
*) 0 ;
25973 PyObject
* obj0
= 0 ;
25974 char *kwnames
[] = {
25975 (char *) "self", NULL
25978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ClearBackground",kwnames
,&obj0
)) goto fail
;
25979 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25980 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25983 (arg1
)->ClearBackground();
25985 wxPyEndAllowThreads(__tstate
);
25986 if (PyErr_Occurred()) SWIG_fail
;
25988 Py_INCREF(Py_None
); resultobj
= Py_None
;
25995 static PyObject
*_wrap_Window_Freeze(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25996 PyObject
*resultobj
;
25997 wxWindow
*arg1
= (wxWindow
*) 0 ;
25998 PyObject
* obj0
= 0 ;
25999 char *kwnames
[] = {
26000 (char *) "self", NULL
26003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Freeze",kwnames
,&obj0
)) goto fail
;
26004 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26005 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26010 wxPyEndAllowThreads(__tstate
);
26011 if (PyErr_Occurred()) SWIG_fail
;
26013 Py_INCREF(Py_None
); resultobj
= Py_None
;
26020 static PyObject
*_wrap_Window_Thaw(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26021 PyObject
*resultobj
;
26022 wxWindow
*arg1
= (wxWindow
*) 0 ;
26023 PyObject
* obj0
= 0 ;
26024 char *kwnames
[] = {
26025 (char *) "self", NULL
26028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Thaw",kwnames
,&obj0
)) goto fail
;
26029 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26030 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26035 wxPyEndAllowThreads(__tstate
);
26036 if (PyErr_Occurred()) SWIG_fail
;
26038 Py_INCREF(Py_None
); resultobj
= Py_None
;
26045 static PyObject
*_wrap_Window_PrepareDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26046 PyObject
*resultobj
;
26047 wxWindow
*arg1
= (wxWindow
*) 0 ;
26049 PyObject
* obj0
= 0 ;
26050 PyObject
* obj1
= 0 ;
26051 char *kwnames
[] = {
26052 (char *) "self",(char *) "dc", NULL
26055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PrepareDC",kwnames
,&obj0
,&obj1
)) goto fail
;
26056 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26057 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26058 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
26059 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26061 if (arg2
== NULL
) {
26062 PyErr_SetString(PyExc_TypeError
,"null reference");
26066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26067 (arg1
)->PrepareDC(*arg2
);
26069 wxPyEndAllowThreads(__tstate
);
26070 if (PyErr_Occurred()) SWIG_fail
;
26072 Py_INCREF(Py_None
); resultobj
= Py_None
;
26079 static PyObject
*_wrap_Window_GetUpdateRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26080 PyObject
*resultobj
;
26081 wxWindow
*arg1
= (wxWindow
*) 0 ;
26083 PyObject
* obj0
= 0 ;
26084 char *kwnames
[] = {
26085 (char *) "self", NULL
26088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateRegion",kwnames
,&obj0
)) goto fail
;
26089 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26090 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26094 wxRegion
&_result_ref
= (arg1
)->GetUpdateRegion();
26095 result
= (wxRegion
*) &_result_ref
;
26098 wxPyEndAllowThreads(__tstate
);
26099 if (PyErr_Occurred()) SWIG_fail
;
26101 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 0);
26108 static PyObject
*_wrap_Window_GetUpdateClientRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26109 PyObject
*resultobj
;
26110 wxWindow
*arg1
= (wxWindow
*) 0 ;
26112 PyObject
* obj0
= 0 ;
26113 char *kwnames
[] = {
26114 (char *) "self", NULL
26117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateClientRect",kwnames
,&obj0
)) goto fail
;
26118 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26119 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26122 result
= ((wxWindow
const *)arg1
)->GetUpdateClientRect();
26124 wxPyEndAllowThreads(__tstate
);
26125 if (PyErr_Occurred()) SWIG_fail
;
26128 wxRect
* resultptr
;
26129 resultptr
= new wxRect((wxRect
&) result
);
26130 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
26138 static PyObject
*_wrap_Window_IsExposed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26139 PyObject
*resultobj
;
26140 wxWindow
*arg1
= (wxWindow
*) 0 ;
26143 int arg4
= (int) 1 ;
26144 int arg5
= (int) 1 ;
26146 PyObject
* obj0
= 0 ;
26147 PyObject
* obj1
= 0 ;
26148 PyObject
* obj2
= 0 ;
26149 PyObject
* obj3
= 0 ;
26150 PyObject
* obj4
= 0 ;
26151 char *kwnames
[] = {
26152 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
26155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Window_IsExposed",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
26156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26158 arg2
= (int)SWIG_As_int(obj1
);
26159 if (PyErr_Occurred()) SWIG_fail
;
26160 arg3
= (int)SWIG_As_int(obj2
);
26161 if (PyErr_Occurred()) SWIG_fail
;
26163 arg4
= (int)SWIG_As_int(obj3
);
26164 if (PyErr_Occurred()) SWIG_fail
;
26167 arg5
= (int)SWIG_As_int(obj4
);
26168 if (PyErr_Occurred()) SWIG_fail
;
26171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26172 result
= (bool)((wxWindow
const *)arg1
)->IsExposed(arg2
,arg3
,arg4
,arg5
);
26174 wxPyEndAllowThreads(__tstate
);
26175 if (PyErr_Occurred()) SWIG_fail
;
26178 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26186 static PyObject
*_wrap_Window_IsExposedPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26187 PyObject
*resultobj
;
26188 wxWindow
*arg1
= (wxWindow
*) 0 ;
26189 wxPoint
*arg2
= 0 ;
26192 PyObject
* obj0
= 0 ;
26193 PyObject
* obj1
= 0 ;
26194 char *kwnames
[] = {
26195 (char *) "self",(char *) "pt", NULL
26198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
26199 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26200 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26203 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26207 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxPoint
const &)*arg2
);
26209 wxPyEndAllowThreads(__tstate
);
26210 if (PyErr_Occurred()) SWIG_fail
;
26213 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26221 static PyObject
*_wrap_Window_IsExposedRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26222 PyObject
*resultobj
;
26223 wxWindow
*arg1
= (wxWindow
*) 0 ;
26227 PyObject
* obj0
= 0 ;
26228 PyObject
* obj1
= 0 ;
26229 char *kwnames
[] = {
26230 (char *) "self",(char *) "rect", NULL
26233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedRect",kwnames
,&obj0
,&obj1
)) goto fail
;
26234 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26238 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
26241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26242 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxRect
const &)*arg2
);
26244 wxPyEndAllowThreads(__tstate
);
26245 if (PyErr_Occurred()) SWIG_fail
;
26248 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26256 static PyObject
*_wrap_Window_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26257 PyObject
*resultobj
;
26258 wxWindow
*arg1
= (wxWindow
*) 0 ;
26259 wxVisualAttributes result
;
26260 PyObject
* obj0
= 0 ;
26261 char *kwnames
[] = {
26262 (char *) "self", NULL
26265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
26266 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26267 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26270 result
= ((wxWindow
const *)arg1
)->GetDefaultAttributes();
26272 wxPyEndAllowThreads(__tstate
);
26273 if (PyErr_Occurred()) SWIG_fail
;
26276 wxVisualAttributes
* resultptr
;
26277 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
26278 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
26286 static PyObject
*_wrap_Window_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26287 PyObject
*resultobj
;
26288 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
26289 wxVisualAttributes result
;
26290 PyObject
* obj0
= 0 ;
26291 char *kwnames
[] = {
26292 (char *) "variant", NULL
26295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Window_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
26297 arg1
= (int)SWIG_As_int(obj0
);
26298 if (PyErr_Occurred()) SWIG_fail
;
26301 if (!wxPyCheckForApp()) SWIG_fail
;
26302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26303 result
= wxWindow::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
26305 wxPyEndAllowThreads(__tstate
);
26306 if (PyErr_Occurred()) SWIG_fail
;
26309 wxVisualAttributes
* resultptr
;
26310 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
26311 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
26319 static PyObject
*_wrap_Window_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26320 PyObject
*resultobj
;
26321 wxWindow
*arg1
= (wxWindow
*) 0 ;
26322 wxColour
*arg2
= 0 ;
26325 PyObject
* obj0
= 0 ;
26326 PyObject
* obj1
= 0 ;
26327 char *kwnames
[] = {
26328 (char *) "self",(char *) "colour", NULL
26331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
26332 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26333 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26336 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26340 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
26342 wxPyEndAllowThreads(__tstate
);
26343 if (PyErr_Occurred()) SWIG_fail
;
26346 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26354 static PyObject
*_wrap_Window_SetOwnBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26355 PyObject
*resultobj
;
26356 wxWindow
*arg1
= (wxWindow
*) 0 ;
26357 wxColour
*arg2
= 0 ;
26359 PyObject
* obj0
= 0 ;
26360 PyObject
* obj1
= 0 ;
26361 char *kwnames
[] = {
26362 (char *) "self",(char *) "colour", NULL
26365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
26366 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26367 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26370 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26374 (arg1
)->SetOwnBackgroundColour((wxColour
const &)*arg2
);
26376 wxPyEndAllowThreads(__tstate
);
26377 if (PyErr_Occurred()) SWIG_fail
;
26379 Py_INCREF(Py_None
); resultobj
= Py_None
;
26386 static PyObject
*_wrap_Window_SetForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26387 PyObject
*resultobj
;
26388 wxWindow
*arg1
= (wxWindow
*) 0 ;
26389 wxColour
*arg2
= 0 ;
26392 PyObject
* obj0
= 0 ;
26393 PyObject
* obj1
= 0 ;
26394 char *kwnames
[] = {
26395 (char *) "self",(char *) "colour", NULL
26398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
26399 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26403 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26407 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
26409 wxPyEndAllowThreads(__tstate
);
26410 if (PyErr_Occurred()) SWIG_fail
;
26413 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26421 static PyObject
*_wrap_Window_SetOwnForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26422 PyObject
*resultobj
;
26423 wxWindow
*arg1
= (wxWindow
*) 0 ;
26424 wxColour
*arg2
= 0 ;
26426 PyObject
* obj0
= 0 ;
26427 PyObject
* obj1
= 0 ;
26428 char *kwnames
[] = {
26429 (char *) "self",(char *) "colour", NULL
26432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
26433 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26437 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26441 (arg1
)->SetOwnForegroundColour((wxColour
const &)*arg2
);
26443 wxPyEndAllowThreads(__tstate
);
26444 if (PyErr_Occurred()) SWIG_fail
;
26446 Py_INCREF(Py_None
); resultobj
= Py_None
;
26453 static PyObject
*_wrap_Window_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26454 PyObject
*resultobj
;
26455 wxWindow
*arg1
= (wxWindow
*) 0 ;
26457 PyObject
* obj0
= 0 ;
26458 char *kwnames
[] = {
26459 (char *) "self", NULL
26462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
26463 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26467 result
= ((wxWindow
const *)arg1
)->GetBackgroundColour();
26469 wxPyEndAllowThreads(__tstate
);
26470 if (PyErr_Occurred()) SWIG_fail
;
26473 wxColour
* resultptr
;
26474 resultptr
= new wxColour((wxColour
&) result
);
26475 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
26483 static PyObject
*_wrap_Window_GetForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26484 PyObject
*resultobj
;
26485 wxWindow
*arg1
= (wxWindow
*) 0 ;
26487 PyObject
* obj0
= 0 ;
26488 char *kwnames
[] = {
26489 (char *) "self", NULL
26492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetForegroundColour",kwnames
,&obj0
)) goto fail
;
26493 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26494 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26497 result
= ((wxWindow
const *)arg1
)->GetForegroundColour();
26499 wxPyEndAllowThreads(__tstate
);
26500 if (PyErr_Occurred()) SWIG_fail
;
26503 wxColour
* resultptr
;
26504 resultptr
= new wxColour((wxColour
&) result
);
26505 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
26513 static PyObject
*_wrap_Window_SetBackgroundStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26514 PyObject
*resultobj
;
26515 wxWindow
*arg1
= (wxWindow
*) 0 ;
26518 PyObject
* obj0
= 0 ;
26519 PyObject
* obj1
= 0 ;
26520 char *kwnames
[] = {
26521 (char *) "self",(char *) "style", NULL
26524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetBackgroundStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
26525 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26526 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26527 arg2
= (int)SWIG_As_int(obj1
);
26528 if (PyErr_Occurred()) SWIG_fail
;
26530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26531 result
= (bool)(arg1
)->SetBackgroundStyle((wxBackgroundStyle
)arg2
);
26533 wxPyEndAllowThreads(__tstate
);
26534 if (PyErr_Occurred()) SWIG_fail
;
26537 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26545 static PyObject
*_wrap_Window_GetBackgroundStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26546 PyObject
*resultobj
;
26547 wxWindow
*arg1
= (wxWindow
*) 0 ;
26549 PyObject
* obj0
= 0 ;
26550 char *kwnames
[] = {
26551 (char *) "self", NULL
26554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBackgroundStyle",kwnames
,&obj0
)) goto fail
;
26555 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26556 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26559 result
= (int)((wxWindow
const *)arg1
)->GetBackgroundStyle();
26561 wxPyEndAllowThreads(__tstate
);
26562 if (PyErr_Occurred()) SWIG_fail
;
26564 resultobj
= SWIG_From_int((int)result
);
26571 static PyObject
*_wrap_Window_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26572 PyObject
*resultobj
;
26573 wxWindow
*arg1
= (wxWindow
*) 0 ;
26574 wxCursor
*arg2
= 0 ;
26576 PyObject
* obj0
= 0 ;
26577 PyObject
* obj1
= 0 ;
26578 char *kwnames
[] = {
26579 (char *) "self",(char *) "cursor", NULL
26582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
26583 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26584 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26585 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
26586 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26588 if (arg2
== NULL
) {
26589 PyErr_SetString(PyExc_TypeError
,"null reference");
26593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26594 result
= (bool)(arg1
)->SetCursor((wxCursor
const &)*arg2
);
26596 wxPyEndAllowThreads(__tstate
);
26597 if (PyErr_Occurred()) SWIG_fail
;
26600 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26608 static PyObject
*_wrap_Window_GetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26609 PyObject
*resultobj
;
26610 wxWindow
*arg1
= (wxWindow
*) 0 ;
26612 PyObject
* obj0
= 0 ;
26613 char *kwnames
[] = {
26614 (char *) "self", NULL
26617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCursor",kwnames
,&obj0
)) goto fail
;
26618 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26622 result
= (arg1
)->GetCursor();
26624 wxPyEndAllowThreads(__tstate
);
26625 if (PyErr_Occurred()) SWIG_fail
;
26628 wxCursor
* resultptr
;
26629 resultptr
= new wxCursor((wxCursor
&) result
);
26630 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxCursor
, 1);
26638 static PyObject
*_wrap_Window_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26639 PyObject
*resultobj
;
26640 wxWindow
*arg1
= (wxWindow
*) 0 ;
26643 PyObject
* obj0
= 0 ;
26644 PyObject
* obj1
= 0 ;
26645 char *kwnames
[] = {
26646 (char *) "self",(char *) "font", NULL
26649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
26650 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26651 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26652 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
26653 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26655 if (arg2
== NULL
) {
26656 PyErr_SetString(PyExc_TypeError
,"null reference");
26660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26661 result
= (bool)(arg1
)->SetFont((wxFont
const &)*arg2
);
26663 wxPyEndAllowThreads(__tstate
);
26664 if (PyErr_Occurred()) SWIG_fail
;
26667 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26675 static PyObject
*_wrap_Window_SetOwnFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26676 PyObject
*resultobj
;
26677 wxWindow
*arg1
= (wxWindow
*) 0 ;
26679 PyObject
* obj0
= 0 ;
26680 PyObject
* obj1
= 0 ;
26681 char *kwnames
[] = {
26682 (char *) "self",(char *) "font", NULL
26685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnFont",kwnames
,&obj0
,&obj1
)) goto fail
;
26686 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26687 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26688 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
26689 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26691 if (arg2
== NULL
) {
26692 PyErr_SetString(PyExc_TypeError
,"null reference");
26696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26697 (arg1
)->SetOwnFont((wxFont
const &)*arg2
);
26699 wxPyEndAllowThreads(__tstate
);
26700 if (PyErr_Occurred()) SWIG_fail
;
26702 Py_INCREF(Py_None
); resultobj
= Py_None
;
26709 static PyObject
*_wrap_Window_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26710 PyObject
*resultobj
;
26711 wxWindow
*arg1
= (wxWindow
*) 0 ;
26713 PyObject
* obj0
= 0 ;
26714 char *kwnames
[] = {
26715 (char *) "self", NULL
26718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetFont",kwnames
,&obj0
)) goto fail
;
26719 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26720 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26723 result
= (arg1
)->GetFont();
26725 wxPyEndAllowThreads(__tstate
);
26726 if (PyErr_Occurred()) SWIG_fail
;
26729 wxFont
* resultptr
;
26730 resultptr
= new wxFont((wxFont
&) result
);
26731 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
26739 static PyObject
*_wrap_Window_SetCaret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26740 PyObject
*resultobj
;
26741 wxWindow
*arg1
= (wxWindow
*) 0 ;
26742 wxCaret
*arg2
= (wxCaret
*) 0 ;
26743 PyObject
* obj0
= 0 ;
26744 PyObject
* obj1
= 0 ;
26745 char *kwnames
[] = {
26746 (char *) "self",(char *) "caret", NULL
26749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCaret",kwnames
,&obj0
,&obj1
)) goto fail
;
26750 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26751 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26752 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCaret
,
26753 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26756 (arg1
)->SetCaret(arg2
);
26758 wxPyEndAllowThreads(__tstate
);
26759 if (PyErr_Occurred()) SWIG_fail
;
26761 Py_INCREF(Py_None
); resultobj
= Py_None
;
26768 static PyObject
*_wrap_Window_GetCaret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26769 PyObject
*resultobj
;
26770 wxWindow
*arg1
= (wxWindow
*) 0 ;
26772 PyObject
* obj0
= 0 ;
26773 char *kwnames
[] = {
26774 (char *) "self", NULL
26777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCaret",kwnames
,&obj0
)) goto fail
;
26778 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26779 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26782 result
= (wxCaret
*)((wxWindow
const *)arg1
)->GetCaret();
26784 wxPyEndAllowThreads(__tstate
);
26785 if (PyErr_Occurred()) SWIG_fail
;
26787 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCaret
, 0);
26794 static PyObject
*_wrap_Window_GetCharHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26795 PyObject
*resultobj
;
26796 wxWindow
*arg1
= (wxWindow
*) 0 ;
26798 PyObject
* obj0
= 0 ;
26799 char *kwnames
[] = {
26800 (char *) "self", NULL
26803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharHeight",kwnames
,&obj0
)) goto fail
;
26804 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26808 result
= (int)((wxWindow
const *)arg1
)->GetCharHeight();
26810 wxPyEndAllowThreads(__tstate
);
26811 if (PyErr_Occurred()) SWIG_fail
;
26813 resultobj
= SWIG_From_int((int)result
);
26820 static PyObject
*_wrap_Window_GetCharWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26821 PyObject
*resultobj
;
26822 wxWindow
*arg1
= (wxWindow
*) 0 ;
26824 PyObject
* obj0
= 0 ;
26825 char *kwnames
[] = {
26826 (char *) "self", NULL
26829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharWidth",kwnames
,&obj0
)) goto fail
;
26830 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26831 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26834 result
= (int)((wxWindow
const *)arg1
)->GetCharWidth();
26836 wxPyEndAllowThreads(__tstate
);
26837 if (PyErr_Occurred()) SWIG_fail
;
26839 resultobj
= SWIG_From_int((int)result
);
26846 static PyObject
*_wrap_Window_GetTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26847 PyObject
*resultobj
;
26848 wxWindow
*arg1
= (wxWindow
*) 0 ;
26849 wxString
*arg2
= 0 ;
26850 int *arg3
= (int *) 0 ;
26851 int *arg4
= (int *) 0 ;
26852 bool temp2
= False
;
26857 PyObject
* obj0
= 0 ;
26858 PyObject
* obj1
= 0 ;
26859 char *kwnames
[] = {
26860 (char *) "self",(char *) "string", NULL
26863 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
26864 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
26865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetTextExtent",kwnames
,&obj0
,&obj1
)) goto fail
;
26866 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26867 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26869 arg2
= wxString_in_helper(obj1
);
26870 if (arg2
== NULL
) SWIG_fail
;
26874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26875 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
26877 wxPyEndAllowThreads(__tstate
);
26878 if (PyErr_Occurred()) SWIG_fail
;
26880 Py_INCREF(Py_None
); resultobj
= Py_None
;
26881 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
26882 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
26883 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
26884 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
26899 static PyObject
*_wrap_Window_GetFullTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26900 PyObject
*resultobj
;
26901 wxWindow
*arg1
= (wxWindow
*) 0 ;
26902 wxString
*arg2
= 0 ;
26903 int *arg3
= (int *) 0 ;
26904 int *arg4
= (int *) 0 ;
26905 int *arg5
= (int *) 0 ;
26906 int *arg6
= (int *) 0 ;
26907 wxFont
*arg7
= (wxFont
*) NULL
;
26908 bool temp2
= False
;
26917 PyObject
* obj0
= 0 ;
26918 PyObject
* obj1
= 0 ;
26919 PyObject
* obj2
= 0 ;
26920 char *kwnames
[] = {
26921 (char *) "self",(char *) "string",(char *) "font", NULL
26924 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
26925 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
26926 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
26927 arg6
= &temp6
; res6
= SWIG_NEWOBJ
;
26928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26929 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26930 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26932 arg2
= wxString_in_helper(obj1
);
26933 if (arg2
== NULL
) SWIG_fail
;
26937 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg7
),SWIGTYPE_p_wxFont
,
26938 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26942 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,(wxFont
const *)arg7
);
26944 wxPyEndAllowThreads(__tstate
);
26945 if (PyErr_Occurred()) SWIG_fail
;
26947 Py_INCREF(Py_None
); resultobj
= Py_None
;
26948 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
26949 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
26950 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
26951 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
26952 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
26953 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
26954 resultobj
= t_output_helper(resultobj
, ((res6
== SWIG_NEWOBJ
) ?
26955 SWIG_From_int((*arg6
)) : SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_int
, 0)));
26970 static PyObject
*_wrap_Window_ClientToScreenXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26971 PyObject
*resultobj
;
26972 wxWindow
*arg1
= (wxWindow
*) 0 ;
26973 int *arg2
= (int *) 0 ;
26974 int *arg3
= (int *) 0 ;
26979 PyObject
* obj0
= 0 ;
26980 PyObject
* obj1
= 0 ;
26981 PyObject
* obj2
= 0 ;
26982 char *kwnames
[] = {
26983 (char *) "self",(char *) "x",(char *) "y", NULL
26986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ClientToScreenXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26987 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26990 if (!(SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_int
,0) != -1)) {
26991 temp2
= SWIG_As_int(obj1
);
26992 if (PyErr_Occurred()) SWIG_fail
;
26994 res2
= SWIG_NEWOBJ
;
26998 if (!(SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_int
,0) != -1)) {
26999 temp3
= SWIG_As_int(obj2
);
27000 if (PyErr_Occurred()) SWIG_fail
;
27002 res3
= SWIG_NEWOBJ
;
27006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27007 ((wxWindow
const *)arg1
)->ClientToScreen(arg2
,arg3
);
27009 wxPyEndAllowThreads(__tstate
);
27010 if (PyErr_Occurred()) SWIG_fail
;
27012 Py_INCREF(Py_None
); resultobj
= Py_None
;
27013 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
27014 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
27015 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
27016 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
27023 static PyObject
*_wrap_Window_ScreenToClientXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27024 PyObject
*resultobj
;
27025 wxWindow
*arg1
= (wxWindow
*) 0 ;
27026 int *arg2
= (int *) 0 ;
27027 int *arg3
= (int *) 0 ;
27032 PyObject
* obj0
= 0 ;
27033 PyObject
* obj1
= 0 ;
27034 PyObject
* obj2
= 0 ;
27035 char *kwnames
[] = {
27036 (char *) "self",(char *) "x",(char *) "y", NULL
27039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ScreenToClientXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27040 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27041 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27043 if (!(SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_int
,0) != -1)) {
27044 temp2
= SWIG_As_int(obj1
);
27045 if (PyErr_Occurred()) SWIG_fail
;
27047 res2
= SWIG_NEWOBJ
;
27051 if (!(SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_int
,0) != -1)) {
27052 temp3
= SWIG_As_int(obj2
);
27053 if (PyErr_Occurred()) SWIG_fail
;
27055 res3
= SWIG_NEWOBJ
;
27059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27060 ((wxWindow
const *)arg1
)->ScreenToClient(arg2
,arg3
);
27062 wxPyEndAllowThreads(__tstate
);
27063 if (PyErr_Occurred()) SWIG_fail
;
27065 Py_INCREF(Py_None
); resultobj
= Py_None
;
27066 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
27067 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
27068 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
27069 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
27076 static PyObject
*_wrap_Window_ClientToScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27077 PyObject
*resultobj
;
27078 wxWindow
*arg1
= (wxWindow
*) 0 ;
27079 wxPoint
*arg2
= 0 ;
27082 PyObject
* obj0
= 0 ;
27083 PyObject
* obj1
= 0 ;
27084 char *kwnames
[] = {
27085 (char *) "self",(char *) "pt", NULL
27088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ClientToScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
27089 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27090 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27093 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
27096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27097 result
= ((wxWindow
const *)arg1
)->ClientToScreen((wxPoint
const &)*arg2
);
27099 wxPyEndAllowThreads(__tstate
);
27100 if (PyErr_Occurred()) SWIG_fail
;
27103 wxPoint
* resultptr
;
27104 resultptr
= new wxPoint((wxPoint
&) result
);
27105 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
27113 static PyObject
*_wrap_Window_ScreenToClient(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27114 PyObject
*resultobj
;
27115 wxWindow
*arg1
= (wxWindow
*) 0 ;
27116 wxPoint
*arg2
= 0 ;
27119 PyObject
* obj0
= 0 ;
27120 PyObject
* obj1
= 0 ;
27121 char *kwnames
[] = {
27122 (char *) "self",(char *) "pt", NULL
27125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScreenToClient",kwnames
,&obj0
,&obj1
)) goto fail
;
27126 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27127 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27130 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
27133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27134 result
= ((wxWindow
const *)arg1
)->ScreenToClient((wxPoint
const &)*arg2
);
27136 wxPyEndAllowThreads(__tstate
);
27137 if (PyErr_Occurred()) SWIG_fail
;
27140 wxPoint
* resultptr
;
27141 resultptr
= new wxPoint((wxPoint
&) result
);
27142 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
27150 static PyObject
*_wrap_Window_HitTestXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27151 PyObject
*resultobj
;
27152 wxWindow
*arg1
= (wxWindow
*) 0 ;
27156 PyObject
* obj0
= 0 ;
27157 PyObject
* obj1
= 0 ;
27158 PyObject
* obj2
= 0 ;
27159 char *kwnames
[] = {
27160 (char *) "self",(char *) "x",(char *) "y", NULL
27163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27164 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27165 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27166 arg2
= (int)SWIG_As_int(obj1
);
27167 if (PyErr_Occurred()) SWIG_fail
;
27168 arg3
= (int)SWIG_As_int(obj2
);
27169 if (PyErr_Occurred()) SWIG_fail
;
27171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27172 result
= (int)((wxWindow
const *)arg1
)->HitTest(arg2
,arg3
);
27174 wxPyEndAllowThreads(__tstate
);
27175 if (PyErr_Occurred()) SWIG_fail
;
27177 resultobj
= SWIG_From_int((int)result
);
27184 static PyObject
*_wrap_Window_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27185 PyObject
*resultobj
;
27186 wxWindow
*arg1
= (wxWindow
*) 0 ;
27187 wxPoint
*arg2
= 0 ;
27190 PyObject
* obj0
= 0 ;
27191 PyObject
* obj1
= 0 ;
27192 char *kwnames
[] = {
27193 (char *) "self",(char *) "pt", NULL
27196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
27197 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27198 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27201 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
27204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27205 result
= (int)((wxWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
27207 wxPyEndAllowThreads(__tstate
);
27208 if (PyErr_Occurred()) SWIG_fail
;
27210 resultobj
= SWIG_From_int((int)result
);
27217 static PyObject
*_wrap_Window_GetBorder__SWIG_0(PyObject
*, PyObject
*args
) {
27218 PyObject
*resultobj
;
27219 wxWindow
*arg1
= (wxWindow
*) 0 ;
27222 PyObject
* obj0
= 0 ;
27223 PyObject
* obj1
= 0 ;
27225 if(!PyArg_ParseTuple(args
,(char *)"OO:Window_GetBorder",&obj0
,&obj1
)) goto fail
;
27226 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27227 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27228 arg2
= (long)SWIG_As_long(obj1
);
27229 if (PyErr_Occurred()) SWIG_fail
;
27231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27232 result
= (int)((wxWindow
const *)arg1
)->GetBorder(arg2
);
27234 wxPyEndAllowThreads(__tstate
);
27235 if (PyErr_Occurred()) SWIG_fail
;
27237 resultobj
= SWIG_From_int((int)result
);
27244 static PyObject
*_wrap_Window_GetBorder__SWIG_1(PyObject
*, PyObject
*args
) {
27245 PyObject
*resultobj
;
27246 wxWindow
*arg1
= (wxWindow
*) 0 ;
27248 PyObject
* obj0
= 0 ;
27250 if(!PyArg_ParseTuple(args
,(char *)"O:Window_GetBorder",&obj0
)) goto fail
;
27251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27255 result
= (int)((wxWindow
const *)arg1
)->GetBorder();
27257 wxPyEndAllowThreads(__tstate
);
27258 if (PyErr_Occurred()) SWIG_fail
;
27260 resultobj
= SWIG_From_int((int)result
);
27267 static PyObject
*_wrap_Window_GetBorder(PyObject
*self
, PyObject
*args
) {
27272 argc
= PyObject_Length(args
);
27273 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
27274 argv
[ii
] = PyTuple_GetItem(args
,ii
);
27280 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
27288 return _wrap_Window_GetBorder__SWIG_1(self
,args
);
27295 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
27303 _v
= SWIG_Check_long(argv
[1]);
27305 return _wrap_Window_GetBorder__SWIG_0(self
,args
);
27310 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'Window_GetBorder'");
27315 static PyObject
*_wrap_Window_UpdateWindowUI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27316 PyObject
*resultobj
;
27317 wxWindow
*arg1
= (wxWindow
*) 0 ;
27318 long arg2
= (long) wxUPDATE_UI_NONE
;
27319 PyObject
* obj0
= 0 ;
27320 PyObject
* obj1
= 0 ;
27321 char *kwnames
[] = {
27322 (char *) "self",(char *) "flags", NULL
27325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_UpdateWindowUI",kwnames
,&obj0
,&obj1
)) goto fail
;
27326 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27327 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27329 arg2
= (long)SWIG_As_long(obj1
);
27330 if (PyErr_Occurred()) SWIG_fail
;
27333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27334 (arg1
)->UpdateWindowUI(arg2
);
27336 wxPyEndAllowThreads(__tstate
);
27337 if (PyErr_Occurred()) SWIG_fail
;
27339 Py_INCREF(Py_None
); resultobj
= Py_None
;
27346 static PyObject
*_wrap_Window_PopupMenuXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27347 PyObject
*resultobj
;
27348 wxWindow
*arg1
= (wxWindow
*) 0 ;
27349 wxMenu
*arg2
= (wxMenu
*) 0 ;
27350 int arg3
= (int) -1 ;
27351 int arg4
= (int) -1 ;
27353 PyObject
* obj0
= 0 ;
27354 PyObject
* obj1
= 0 ;
27355 PyObject
* obj2
= 0 ;
27356 PyObject
* obj3
= 0 ;
27357 char *kwnames
[] = {
27358 (char *) "self",(char *) "menu",(char *) "x",(char *) "y", NULL
27361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Window_PopupMenuXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27362 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27364 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
27365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27367 arg3
= (int)SWIG_As_int(obj2
);
27368 if (PyErr_Occurred()) SWIG_fail
;
27371 arg4
= (int)SWIG_As_int(obj3
);
27372 if (PyErr_Occurred()) SWIG_fail
;
27375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27376 result
= (bool)(arg1
)->PopupMenu(arg2
,arg3
,arg4
);
27378 wxPyEndAllowThreads(__tstate
);
27379 if (PyErr_Occurred()) SWIG_fail
;
27382 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27390 static PyObject
*_wrap_Window_PopupMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27391 PyObject
*resultobj
;
27392 wxWindow
*arg1
= (wxWindow
*) 0 ;
27393 wxMenu
*arg2
= (wxMenu
*) 0 ;
27394 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
27395 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
27398 PyObject
* obj0
= 0 ;
27399 PyObject
* obj1
= 0 ;
27400 PyObject
* obj2
= 0 ;
27401 char *kwnames
[] = {
27402 (char *) "self",(char *) "menu",(char *) "pos", NULL
27405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_PopupMenu",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27406 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27407 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27408 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
27409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27413 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
27417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27418 result
= (bool)(arg1
)->PopupMenu(arg2
,(wxPoint
const &)*arg3
);
27420 wxPyEndAllowThreads(__tstate
);
27421 if (PyErr_Occurred()) SWIG_fail
;
27424 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27432 static PyObject
*_wrap_Window_GetHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27433 PyObject
*resultobj
;
27434 wxWindow
*arg1
= (wxWindow
*) 0 ;
27436 PyObject
* obj0
= 0 ;
27437 char *kwnames
[] = {
27438 (char *) "self", NULL
27441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHandle",kwnames
,&obj0
)) goto fail
;
27442 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27443 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27446 result
= (long)wxWindow_GetHandle(arg1
);
27448 wxPyEndAllowThreads(__tstate
);
27449 if (PyErr_Occurred()) SWIG_fail
;
27451 resultobj
= SWIG_From_long((long)result
);
27458 static PyObject
*_wrap_Window_AssociateHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27459 PyObject
*resultobj
;
27460 wxWindow
*arg1
= (wxWindow
*) 0 ;
27462 PyObject
* obj0
= 0 ;
27463 PyObject
* obj1
= 0 ;
27464 char *kwnames
[] = {
27465 (char *) "self",(char *) "handle", NULL
27468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_AssociateHandle",kwnames
,&obj0
,&obj1
)) goto fail
;
27469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27471 arg2
= (long)SWIG_As_long(obj1
);
27472 if (PyErr_Occurred()) SWIG_fail
;
27474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27475 wxWindow_AssociateHandle(arg1
,arg2
);
27477 wxPyEndAllowThreads(__tstate
);
27478 if (PyErr_Occurred()) SWIG_fail
;
27480 Py_INCREF(Py_None
); resultobj
= Py_None
;
27487 static PyObject
*_wrap_Window_DissociateHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27488 PyObject
*resultobj
;
27489 wxWindow
*arg1
= (wxWindow
*) 0 ;
27490 PyObject
* obj0
= 0 ;
27491 char *kwnames
[] = {
27492 (char *) "self", NULL
27495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_DissociateHandle",kwnames
,&obj0
)) goto fail
;
27496 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27497 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27500 (arg1
)->DissociateHandle();
27502 wxPyEndAllowThreads(__tstate
);
27503 if (PyErr_Occurred()) SWIG_fail
;
27505 Py_INCREF(Py_None
); resultobj
= Py_None
;
27512 static PyObject
*_wrap_Window_OnPaint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27513 PyObject
*resultobj
;
27514 wxWindow
*arg1
= (wxWindow
*) 0 ;
27515 wxPaintEvent
*arg2
= 0 ;
27516 PyObject
* obj0
= 0 ;
27517 PyObject
* obj1
= 0 ;
27518 char *kwnames
[] = {
27519 (char *) "self",(char *) "event", NULL
27522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_OnPaint",kwnames
,&obj0
,&obj1
)) goto fail
;
27523 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27525 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPaintEvent
,
27526 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27528 if (arg2
== NULL
) {
27529 PyErr_SetString(PyExc_TypeError
,"null reference");
27533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27534 (arg1
)->OnPaint(*arg2
);
27536 wxPyEndAllowThreads(__tstate
);
27537 if (PyErr_Occurred()) SWIG_fail
;
27539 Py_INCREF(Py_None
); resultobj
= Py_None
;
27546 static PyObject
*_wrap_Window_HasScrollbar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27547 PyObject
*resultobj
;
27548 wxWindow
*arg1
= (wxWindow
*) 0 ;
27551 PyObject
* obj0
= 0 ;
27552 PyObject
* obj1
= 0 ;
27553 char *kwnames
[] = {
27554 (char *) "self",(char *) "orient", NULL
27557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasScrollbar",kwnames
,&obj0
,&obj1
)) goto fail
;
27558 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27559 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27560 arg2
= (int)SWIG_As_int(obj1
);
27561 if (PyErr_Occurred()) SWIG_fail
;
27563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27564 result
= (bool)((wxWindow
const *)arg1
)->HasScrollbar(arg2
);
27566 wxPyEndAllowThreads(__tstate
);
27567 if (PyErr_Occurred()) SWIG_fail
;
27570 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27578 static PyObject
*_wrap_Window_SetScrollbar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27579 PyObject
*resultobj
;
27580 wxWindow
*arg1
= (wxWindow
*) 0 ;
27585 bool arg6
= (bool) True
;
27586 PyObject
* obj0
= 0 ;
27587 PyObject
* obj1
= 0 ;
27588 PyObject
* obj2
= 0 ;
27589 PyObject
* obj3
= 0 ;
27590 PyObject
* obj4
= 0 ;
27591 PyObject
* obj5
= 0 ;
27592 char *kwnames
[] = {
27593 (char *) "self",(char *) "orientation",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "refresh", NULL
27596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
27597 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27598 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27599 arg2
= (int)SWIG_As_int(obj1
);
27600 if (PyErr_Occurred()) SWIG_fail
;
27601 arg3
= (int)SWIG_As_int(obj2
);
27602 if (PyErr_Occurred()) SWIG_fail
;
27603 arg4
= (int)SWIG_As_int(obj3
);
27604 if (PyErr_Occurred()) SWIG_fail
;
27605 arg5
= (int)SWIG_As_int(obj4
);
27606 if (PyErr_Occurred()) SWIG_fail
;
27608 arg6
= (bool)SWIG_As_bool(obj5
);
27609 if (PyErr_Occurred()) SWIG_fail
;
27612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27613 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
27615 wxPyEndAllowThreads(__tstate
);
27616 if (PyErr_Occurred()) SWIG_fail
;
27618 Py_INCREF(Py_None
); resultobj
= Py_None
;
27625 static PyObject
*_wrap_Window_SetScrollPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27626 PyObject
*resultobj
;
27627 wxWindow
*arg1
= (wxWindow
*) 0 ;
27630 bool arg4
= (bool) True
;
27631 PyObject
* obj0
= 0 ;
27632 PyObject
* obj1
= 0 ;
27633 PyObject
* obj2
= 0 ;
27634 PyObject
* obj3
= 0 ;
27635 char *kwnames
[] = {
27636 (char *) "self",(char *) "orientation",(char *) "pos",(char *) "refresh", NULL
27639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_SetScrollPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27640 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27641 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27642 arg2
= (int)SWIG_As_int(obj1
);
27643 if (PyErr_Occurred()) SWIG_fail
;
27644 arg3
= (int)SWIG_As_int(obj2
);
27645 if (PyErr_Occurred()) SWIG_fail
;
27647 arg4
= (bool)SWIG_As_bool(obj3
);
27648 if (PyErr_Occurred()) SWIG_fail
;
27651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27652 (arg1
)->SetScrollPos(arg2
,arg3
,arg4
);
27654 wxPyEndAllowThreads(__tstate
);
27655 if (PyErr_Occurred()) SWIG_fail
;
27657 Py_INCREF(Py_None
); resultobj
= Py_None
;
27664 static PyObject
*_wrap_Window_GetScrollPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27665 PyObject
*resultobj
;
27666 wxWindow
*arg1
= (wxWindow
*) 0 ;
27669 PyObject
* obj0
= 0 ;
27670 PyObject
* obj1
= 0 ;
27671 char *kwnames
[] = {
27672 (char *) "self",(char *) "orientation", NULL
27675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollPos",kwnames
,&obj0
,&obj1
)) goto fail
;
27676 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27677 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27678 arg2
= (int)SWIG_As_int(obj1
);
27679 if (PyErr_Occurred()) SWIG_fail
;
27681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27682 result
= (int)((wxWindow
const *)arg1
)->GetScrollPos(arg2
);
27684 wxPyEndAllowThreads(__tstate
);
27685 if (PyErr_Occurred()) SWIG_fail
;
27687 resultobj
= SWIG_From_int((int)result
);
27694 static PyObject
*_wrap_Window_GetScrollThumb(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27695 PyObject
*resultobj
;
27696 wxWindow
*arg1
= (wxWindow
*) 0 ;
27699 PyObject
* obj0
= 0 ;
27700 PyObject
* obj1
= 0 ;
27701 char *kwnames
[] = {
27702 (char *) "self",(char *) "orientation", NULL
27705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollThumb",kwnames
,&obj0
,&obj1
)) goto fail
;
27706 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27707 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27708 arg2
= (int)SWIG_As_int(obj1
);
27709 if (PyErr_Occurred()) SWIG_fail
;
27711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27712 result
= (int)((wxWindow
const *)arg1
)->GetScrollThumb(arg2
);
27714 wxPyEndAllowThreads(__tstate
);
27715 if (PyErr_Occurred()) SWIG_fail
;
27717 resultobj
= SWIG_From_int((int)result
);
27724 static PyObject
*_wrap_Window_GetScrollRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27725 PyObject
*resultobj
;
27726 wxWindow
*arg1
= (wxWindow
*) 0 ;
27729 PyObject
* obj0
= 0 ;
27730 PyObject
* obj1
= 0 ;
27731 char *kwnames
[] = {
27732 (char *) "self",(char *) "orientation", NULL
27735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollRange",kwnames
,&obj0
,&obj1
)) goto fail
;
27736 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27737 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27738 arg2
= (int)SWIG_As_int(obj1
);
27739 if (PyErr_Occurred()) SWIG_fail
;
27741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27742 result
= (int)((wxWindow
const *)arg1
)->GetScrollRange(arg2
);
27744 wxPyEndAllowThreads(__tstate
);
27745 if (PyErr_Occurred()) SWIG_fail
;
27747 resultobj
= SWIG_From_int((int)result
);
27754 static PyObject
*_wrap_Window_ScrollWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27755 PyObject
*resultobj
;
27756 wxWindow
*arg1
= (wxWindow
*) 0 ;
27759 wxRect
*arg4
= (wxRect
*) NULL
;
27760 PyObject
* obj0
= 0 ;
27761 PyObject
* obj1
= 0 ;
27762 PyObject
* obj2
= 0 ;
27763 PyObject
* obj3
= 0 ;
27764 char *kwnames
[] = {
27765 (char *) "self",(char *) "dx",(char *) "dy",(char *) "rect", NULL
27768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_ScrollWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27769 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27770 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27771 arg2
= (int)SWIG_As_int(obj1
);
27772 if (PyErr_Occurred()) SWIG_fail
;
27773 arg3
= (int)SWIG_As_int(obj2
);
27774 if (PyErr_Occurred()) SWIG_fail
;
27776 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxRect
,
27777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27781 (arg1
)->ScrollWindow(arg2
,arg3
,(wxRect
const *)arg4
);
27783 wxPyEndAllowThreads(__tstate
);
27784 if (PyErr_Occurred()) SWIG_fail
;
27786 Py_INCREF(Py_None
); resultobj
= Py_None
;
27793 static PyObject
*_wrap_Window_ScrollLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27794 PyObject
*resultobj
;
27795 wxWindow
*arg1
= (wxWindow
*) 0 ;
27798 PyObject
* obj0
= 0 ;
27799 PyObject
* obj1
= 0 ;
27800 char *kwnames
[] = {
27801 (char *) "self",(char *) "lines", NULL
27804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollLines",kwnames
,&obj0
,&obj1
)) goto fail
;
27805 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27806 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27807 arg2
= (int)SWIG_As_int(obj1
);
27808 if (PyErr_Occurred()) SWIG_fail
;
27810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27811 result
= (bool)(arg1
)->ScrollLines(arg2
);
27813 wxPyEndAllowThreads(__tstate
);
27814 if (PyErr_Occurred()) SWIG_fail
;
27817 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27825 static PyObject
*_wrap_Window_ScrollPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27826 PyObject
*resultobj
;
27827 wxWindow
*arg1
= (wxWindow
*) 0 ;
27830 PyObject
* obj0
= 0 ;
27831 PyObject
* obj1
= 0 ;
27832 char *kwnames
[] = {
27833 (char *) "self",(char *) "pages", NULL
27836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollPages",kwnames
,&obj0
,&obj1
)) goto fail
;
27837 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27839 arg2
= (int)SWIG_As_int(obj1
);
27840 if (PyErr_Occurred()) SWIG_fail
;
27842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27843 result
= (bool)(arg1
)->ScrollPages(arg2
);
27845 wxPyEndAllowThreads(__tstate
);
27846 if (PyErr_Occurred()) SWIG_fail
;
27849 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27857 static PyObject
*_wrap_Window_LineUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27858 PyObject
*resultobj
;
27859 wxWindow
*arg1
= (wxWindow
*) 0 ;
27861 PyObject
* obj0
= 0 ;
27862 char *kwnames
[] = {
27863 (char *) "self", NULL
27866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineUp",kwnames
,&obj0
)) goto fail
;
27867 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27868 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27871 result
= (bool)(arg1
)->LineUp();
27873 wxPyEndAllowThreads(__tstate
);
27874 if (PyErr_Occurred()) SWIG_fail
;
27877 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27885 static PyObject
*_wrap_Window_LineDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27886 PyObject
*resultobj
;
27887 wxWindow
*arg1
= (wxWindow
*) 0 ;
27889 PyObject
* obj0
= 0 ;
27890 char *kwnames
[] = {
27891 (char *) "self", NULL
27894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineDown",kwnames
,&obj0
)) goto fail
;
27895 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27899 result
= (bool)(arg1
)->LineDown();
27901 wxPyEndAllowThreads(__tstate
);
27902 if (PyErr_Occurred()) SWIG_fail
;
27905 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27913 static PyObject
*_wrap_Window_PageUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27914 PyObject
*resultobj
;
27915 wxWindow
*arg1
= (wxWindow
*) 0 ;
27917 PyObject
* obj0
= 0 ;
27918 char *kwnames
[] = {
27919 (char *) "self", NULL
27922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageUp",kwnames
,&obj0
)) goto fail
;
27923 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27927 result
= (bool)(arg1
)->PageUp();
27929 wxPyEndAllowThreads(__tstate
);
27930 if (PyErr_Occurred()) SWIG_fail
;
27933 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27941 static PyObject
*_wrap_Window_PageDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27942 PyObject
*resultobj
;
27943 wxWindow
*arg1
= (wxWindow
*) 0 ;
27945 PyObject
* obj0
= 0 ;
27946 char *kwnames
[] = {
27947 (char *) "self", NULL
27950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageDown",kwnames
,&obj0
)) goto fail
;
27951 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27952 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27955 result
= (bool)(arg1
)->PageDown();
27957 wxPyEndAllowThreads(__tstate
);
27958 if (PyErr_Occurred()) SWIG_fail
;
27961 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27969 static PyObject
*_wrap_Window_SetHelpText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27970 PyObject
*resultobj
;
27971 wxWindow
*arg1
= (wxWindow
*) 0 ;
27972 wxString
*arg2
= 0 ;
27973 bool temp2
= False
;
27974 PyObject
* obj0
= 0 ;
27975 PyObject
* obj1
= 0 ;
27976 char *kwnames
[] = {
27977 (char *) "self",(char *) "text", NULL
27980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpText",kwnames
,&obj0
,&obj1
)) goto fail
;
27981 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27984 arg2
= wxString_in_helper(obj1
);
27985 if (arg2
== NULL
) SWIG_fail
;
27989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27990 (arg1
)->SetHelpText((wxString
const &)*arg2
);
27992 wxPyEndAllowThreads(__tstate
);
27993 if (PyErr_Occurred()) SWIG_fail
;
27995 Py_INCREF(Py_None
); resultobj
= Py_None
;
28010 static PyObject
*_wrap_Window_SetHelpTextForId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28011 PyObject
*resultobj
;
28012 wxWindow
*arg1
= (wxWindow
*) 0 ;
28013 wxString
*arg2
= 0 ;
28014 bool temp2
= False
;
28015 PyObject
* obj0
= 0 ;
28016 PyObject
* obj1
= 0 ;
28017 char *kwnames
[] = {
28018 (char *) "self",(char *) "text", NULL
28021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpTextForId",kwnames
,&obj0
,&obj1
)) goto fail
;
28022 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28023 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28025 arg2
= wxString_in_helper(obj1
);
28026 if (arg2
== NULL
) SWIG_fail
;
28030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28031 (arg1
)->SetHelpTextForId((wxString
const &)*arg2
);
28033 wxPyEndAllowThreads(__tstate
);
28034 if (PyErr_Occurred()) SWIG_fail
;
28036 Py_INCREF(Py_None
); resultobj
= Py_None
;
28051 static PyObject
*_wrap_Window_GetHelpText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28052 PyObject
*resultobj
;
28053 wxWindow
*arg1
= (wxWindow
*) 0 ;
28055 PyObject
* obj0
= 0 ;
28056 char *kwnames
[] = {
28057 (char *) "self", NULL
28060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHelpText",kwnames
,&obj0
)) goto fail
;
28061 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28062 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28065 result
= ((wxWindow
const *)arg1
)->GetHelpText();
28067 wxPyEndAllowThreads(__tstate
);
28068 if (PyErr_Occurred()) SWIG_fail
;
28072 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28074 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28083 static PyObject
*_wrap_Window_SetToolTipString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28084 PyObject
*resultobj
;
28085 wxWindow
*arg1
= (wxWindow
*) 0 ;
28086 wxString
*arg2
= 0 ;
28087 bool temp2
= False
;
28088 PyObject
* obj0
= 0 ;
28089 PyObject
* obj1
= 0 ;
28090 char *kwnames
[] = {
28091 (char *) "self",(char *) "tip", NULL
28094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTipString",kwnames
,&obj0
,&obj1
)) goto fail
;
28095 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28096 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28098 arg2
= wxString_in_helper(obj1
);
28099 if (arg2
== NULL
) SWIG_fail
;
28103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28104 (arg1
)->SetToolTip((wxString
const &)*arg2
);
28106 wxPyEndAllowThreads(__tstate
);
28107 if (PyErr_Occurred()) SWIG_fail
;
28109 Py_INCREF(Py_None
); resultobj
= Py_None
;
28124 static PyObject
*_wrap_Window_SetToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28125 PyObject
*resultobj
;
28126 wxWindow
*arg1
= (wxWindow
*) 0 ;
28127 wxToolTip
*arg2
= (wxToolTip
*) 0 ;
28128 PyObject
* obj0
= 0 ;
28129 PyObject
* obj1
= 0 ;
28130 char *kwnames
[] = {
28131 (char *) "self",(char *) "tip", NULL
28134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
28135 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28136 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28137 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolTip
,
28138 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28141 (arg1
)->SetToolTip(arg2
);
28143 wxPyEndAllowThreads(__tstate
);
28144 if (PyErr_Occurred()) SWIG_fail
;
28146 Py_INCREF(Py_None
); resultobj
= Py_None
;
28153 static PyObject
*_wrap_Window_GetToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28154 PyObject
*resultobj
;
28155 wxWindow
*arg1
= (wxWindow
*) 0 ;
28157 PyObject
* obj0
= 0 ;
28158 char *kwnames
[] = {
28159 (char *) "self", NULL
28162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetToolTip",kwnames
,&obj0
)) goto fail
;
28163 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28164 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28167 result
= (wxToolTip
*)((wxWindow
const *)arg1
)->GetToolTip();
28169 wxPyEndAllowThreads(__tstate
);
28170 if (PyErr_Occurred()) SWIG_fail
;
28173 resultobj
= wxPyMake_wxObject(result
, 0);
28181 static PyObject
*_wrap_Window_SetDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28182 PyObject
*resultobj
;
28183 wxWindow
*arg1
= (wxWindow
*) 0 ;
28184 wxPyDropTarget
*arg2
= (wxPyDropTarget
*) 0 ;
28185 PyObject
* obj0
= 0 ;
28186 PyObject
* obj1
= 0 ;
28187 char *kwnames
[] = {
28188 (char *) "self",(char *) "dropTarget", NULL
28191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDropTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
28192 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28193 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28194 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyDropTarget
,
28195 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
28197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28198 (arg1
)->SetDropTarget(arg2
);
28200 wxPyEndAllowThreads(__tstate
);
28201 if (PyErr_Occurred()) SWIG_fail
;
28203 Py_INCREF(Py_None
); resultobj
= Py_None
;
28210 static PyObject
*_wrap_Window_GetDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28211 PyObject
*resultobj
;
28212 wxWindow
*arg1
= (wxWindow
*) 0 ;
28213 wxPyDropTarget
*result
;
28214 PyObject
* obj0
= 0 ;
28215 char *kwnames
[] = {
28216 (char *) "self", NULL
28219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDropTarget",kwnames
,&obj0
)) goto fail
;
28220 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28221 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28224 result
= (wxPyDropTarget
*)((wxWindow
const *)arg1
)->GetDropTarget();
28226 wxPyEndAllowThreads(__tstate
);
28227 if (PyErr_Occurred()) SWIG_fail
;
28229 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropTarget
, 0);
28236 static PyObject
*_wrap_Window_DragAcceptFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28237 PyObject
*resultobj
;
28238 wxWindow
*arg1
= (wxWindow
*) 0 ;
28240 PyObject
* obj0
= 0 ;
28241 PyObject
* obj1
= 0 ;
28242 char *kwnames
[] = {
28243 (char *) "self",(char *) "accept", NULL
28246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DragAcceptFiles",kwnames
,&obj0
,&obj1
)) goto fail
;
28247 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28249 arg2
= (bool)SWIG_As_bool(obj1
);
28250 if (PyErr_Occurred()) SWIG_fail
;
28252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28253 (arg1
)->DragAcceptFiles(arg2
);
28255 wxPyEndAllowThreads(__tstate
);
28256 if (PyErr_Occurred()) SWIG_fail
;
28258 Py_INCREF(Py_None
); resultobj
= Py_None
;
28265 static PyObject
*_wrap_Window_SetConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28266 PyObject
*resultobj
;
28267 wxWindow
*arg1
= (wxWindow
*) 0 ;
28268 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
28269 PyObject
* obj0
= 0 ;
28270 PyObject
* obj1
= 0 ;
28271 char *kwnames
[] = {
28272 (char *) "self",(char *) "constraints", NULL
28275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
28276 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28278 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxLayoutConstraints
,
28279 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28282 (arg1
)->SetConstraints(arg2
);
28284 wxPyEndAllowThreads(__tstate
);
28285 if (PyErr_Occurred()) SWIG_fail
;
28287 Py_INCREF(Py_None
); resultobj
= Py_None
;
28294 static PyObject
*_wrap_Window_GetConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28295 PyObject
*resultobj
;
28296 wxWindow
*arg1
= (wxWindow
*) 0 ;
28297 wxLayoutConstraints
*result
;
28298 PyObject
* obj0
= 0 ;
28299 char *kwnames
[] = {
28300 (char *) "self", NULL
28303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetConstraints",kwnames
,&obj0
)) goto fail
;
28304 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28308 result
= (wxLayoutConstraints
*)((wxWindow
const *)arg1
)->GetConstraints();
28310 wxPyEndAllowThreads(__tstate
);
28311 if (PyErr_Occurred()) SWIG_fail
;
28313 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutConstraints
, 0);
28320 static PyObject
*_wrap_Window_SetAutoLayout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28321 PyObject
*resultobj
;
28322 wxWindow
*arg1
= (wxWindow
*) 0 ;
28324 PyObject
* obj0
= 0 ;
28325 PyObject
* obj1
= 0 ;
28326 char *kwnames
[] = {
28327 (char *) "self",(char *) "autoLayout", NULL
28330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAutoLayout",kwnames
,&obj0
,&obj1
)) goto fail
;
28331 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28333 arg2
= (bool)SWIG_As_bool(obj1
);
28334 if (PyErr_Occurred()) SWIG_fail
;
28336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28337 (arg1
)->SetAutoLayout(arg2
);
28339 wxPyEndAllowThreads(__tstate
);
28340 if (PyErr_Occurred()) SWIG_fail
;
28342 Py_INCREF(Py_None
); resultobj
= Py_None
;
28349 static PyObject
*_wrap_Window_GetAutoLayout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28350 PyObject
*resultobj
;
28351 wxWindow
*arg1
= (wxWindow
*) 0 ;
28353 PyObject
* obj0
= 0 ;
28354 char *kwnames
[] = {
28355 (char *) "self", NULL
28358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAutoLayout",kwnames
,&obj0
)) goto fail
;
28359 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28363 result
= (bool)((wxWindow
const *)arg1
)->GetAutoLayout();
28365 wxPyEndAllowThreads(__tstate
);
28366 if (PyErr_Occurred()) SWIG_fail
;
28369 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28377 static PyObject
*_wrap_Window_Layout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28378 PyObject
*resultobj
;
28379 wxWindow
*arg1
= (wxWindow
*) 0 ;
28381 PyObject
* obj0
= 0 ;
28382 char *kwnames
[] = {
28383 (char *) "self", NULL
28386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Layout",kwnames
,&obj0
)) goto fail
;
28387 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28388 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28391 result
= (bool)(arg1
)->Layout();
28393 wxPyEndAllowThreads(__tstate
);
28394 if (PyErr_Occurred()) SWIG_fail
;
28397 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28405 static PyObject
*_wrap_Window_SetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28406 PyObject
*resultobj
;
28407 wxWindow
*arg1
= (wxWindow
*) 0 ;
28408 wxSizer
*arg2
= (wxSizer
*) 0 ;
28409 bool arg3
= (bool) True
;
28410 PyObject
* obj0
= 0 ;
28411 PyObject
* obj1
= 0 ;
28412 PyObject
* obj2
= 0 ;
28413 char *kwnames
[] = {
28414 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
28417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28418 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28419 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28420 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
28421 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28423 arg3
= (bool)SWIG_As_bool(obj2
);
28424 if (PyErr_Occurred()) SWIG_fail
;
28427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28428 (arg1
)->SetSizer(arg2
,arg3
);
28430 wxPyEndAllowThreads(__tstate
);
28431 if (PyErr_Occurred()) SWIG_fail
;
28433 Py_INCREF(Py_None
); resultobj
= Py_None
;
28440 static PyObject
*_wrap_Window_SetSizerAndFit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28441 PyObject
*resultobj
;
28442 wxWindow
*arg1
= (wxWindow
*) 0 ;
28443 wxSizer
*arg2
= (wxSizer
*) 0 ;
28444 bool arg3
= (bool) True
;
28445 PyObject
* obj0
= 0 ;
28446 PyObject
* obj1
= 0 ;
28447 PyObject
* obj2
= 0 ;
28448 char *kwnames
[] = {
28449 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
28452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizerAndFit",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28453 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28455 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
28456 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28458 arg3
= (bool)SWIG_As_bool(obj2
);
28459 if (PyErr_Occurred()) SWIG_fail
;
28462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28463 (arg1
)->SetSizerAndFit(arg2
,arg3
);
28465 wxPyEndAllowThreads(__tstate
);
28466 if (PyErr_Occurred()) SWIG_fail
;
28468 Py_INCREF(Py_None
); resultobj
= Py_None
;
28475 static PyObject
*_wrap_Window_GetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28476 PyObject
*resultobj
;
28477 wxWindow
*arg1
= (wxWindow
*) 0 ;
28479 PyObject
* obj0
= 0 ;
28480 char *kwnames
[] = {
28481 (char *) "self", NULL
28484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizer",kwnames
,&obj0
)) goto fail
;
28485 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28486 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28489 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetSizer();
28491 wxPyEndAllowThreads(__tstate
);
28492 if (PyErr_Occurred()) SWIG_fail
;
28495 resultobj
= wxPyMake_wxSizer(result
, 0);
28503 static PyObject
*_wrap_Window_SetContainingSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28504 PyObject
*resultobj
;
28505 wxWindow
*arg1
= (wxWindow
*) 0 ;
28506 wxSizer
*arg2
= (wxSizer
*) 0 ;
28507 PyObject
* obj0
= 0 ;
28508 PyObject
* obj1
= 0 ;
28509 char *kwnames
[] = {
28510 (char *) "self",(char *) "sizer", NULL
28513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetContainingSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
28514 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28516 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
28517 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28520 (arg1
)->SetContainingSizer(arg2
);
28522 wxPyEndAllowThreads(__tstate
);
28523 if (PyErr_Occurred()) SWIG_fail
;
28525 Py_INCREF(Py_None
); resultobj
= Py_None
;
28532 static PyObject
*_wrap_Window_GetContainingSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28533 PyObject
*resultobj
;
28534 wxWindow
*arg1
= (wxWindow
*) 0 ;
28536 PyObject
* obj0
= 0 ;
28537 char *kwnames
[] = {
28538 (char *) "self", NULL
28541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetContainingSizer",kwnames
,&obj0
)) goto fail
;
28542 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28543 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28546 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetContainingSizer();
28548 wxPyEndAllowThreads(__tstate
);
28549 if (PyErr_Occurred()) SWIG_fail
;
28552 resultobj
= wxPyMake_wxSizer(result
, 0);
28560 static PyObject
*_wrap_Window_InheritAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28561 PyObject
*resultobj
;
28562 wxWindow
*arg1
= (wxWindow
*) 0 ;
28563 PyObject
* obj0
= 0 ;
28564 char *kwnames
[] = {
28565 (char *) "self", NULL
28568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InheritAttributes",kwnames
,&obj0
)) goto fail
;
28569 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28570 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28573 (arg1
)->InheritAttributes();
28575 wxPyEndAllowThreads(__tstate
);
28576 if (PyErr_Occurred()) SWIG_fail
;
28578 Py_INCREF(Py_None
); resultobj
= Py_None
;
28585 static PyObject
*_wrap_Window_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28586 PyObject
*resultobj
;
28587 wxWindow
*arg1
= (wxWindow
*) 0 ;
28589 PyObject
* obj0
= 0 ;
28590 char *kwnames
[] = {
28591 (char *) "self", NULL
28594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
28595 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28596 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28599 result
= (bool)((wxWindow
const *)arg1
)->ShouldInheritColours();
28601 wxPyEndAllowThreads(__tstate
);
28602 if (PyErr_Occurred()) SWIG_fail
;
28605 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28613 static PyObject
* Window_swigregister(PyObject
*, PyObject
*args
) {
28615 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28616 SWIG_TypeClientData(SWIGTYPE_p_wxWindow
, obj
);
28618 return Py_BuildValue((char *)"");
28620 static PyObject
*_wrap_FindWindowById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28621 PyObject
*resultobj
;
28623 wxWindow
*arg2
= (wxWindow
*) NULL
;
28625 PyObject
* obj0
= 0 ;
28626 PyObject
* obj1
= 0 ;
28627 char *kwnames
[] = {
28628 (char *) "id",(char *) "parent", NULL
28631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowById",kwnames
,&obj0
,&obj1
)) goto fail
;
28632 arg1
= (long)SWIG_As_long(obj0
);
28633 if (PyErr_Occurred()) SWIG_fail
;
28635 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28636 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28639 if (!wxPyCheckForApp()) SWIG_fail
;
28640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28641 result
= (wxWindow
*)wxFindWindowById(arg1
,(wxWindow
const *)arg2
);
28643 wxPyEndAllowThreads(__tstate
);
28644 if (PyErr_Occurred()) SWIG_fail
;
28647 resultobj
= wxPyMake_wxObject(result
, 0);
28655 static PyObject
*_wrap_FindWindowByName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28656 PyObject
*resultobj
;
28657 wxString
*arg1
= 0 ;
28658 wxWindow
*arg2
= (wxWindow
*) NULL
;
28660 bool temp1
= False
;
28661 PyObject
* obj0
= 0 ;
28662 PyObject
* obj1
= 0 ;
28663 char *kwnames
[] = {
28664 (char *) "name",(char *) "parent", NULL
28667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
28669 arg1
= wxString_in_helper(obj0
);
28670 if (arg1
== NULL
) SWIG_fail
;
28674 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28675 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28678 if (!wxPyCheckForApp()) SWIG_fail
;
28679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28680 result
= (wxWindow
*)wxFindWindowByName((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
28682 wxPyEndAllowThreads(__tstate
);
28683 if (PyErr_Occurred()) SWIG_fail
;
28686 resultobj
= wxPyMake_wxObject(result
, 0);
28702 static PyObject
*_wrap_FindWindowByLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28703 PyObject
*resultobj
;
28704 wxString
*arg1
= 0 ;
28705 wxWindow
*arg2
= (wxWindow
*) NULL
;
28707 bool temp1
= False
;
28708 PyObject
* obj0
= 0 ;
28709 PyObject
* obj1
= 0 ;
28710 char *kwnames
[] = {
28711 (char *) "label",(char *) "parent", NULL
28714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
28716 arg1
= wxString_in_helper(obj0
);
28717 if (arg1
== NULL
) SWIG_fail
;
28721 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28722 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28725 if (!wxPyCheckForApp()) SWIG_fail
;
28726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28727 result
= (wxWindow
*)wxFindWindowByLabel((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
28729 wxPyEndAllowThreads(__tstate
);
28730 if (PyErr_Occurred()) SWIG_fail
;
28733 resultobj
= wxPyMake_wxObject(result
, 0);
28749 static PyObject
*_wrap_Window_FromHWND(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28750 PyObject
*resultobj
;
28751 wxWindow
*arg1
= (wxWindow
*) 0 ;
28752 unsigned long arg2
;
28754 PyObject
* obj0
= 0 ;
28755 PyObject
* obj1
= 0 ;
28756 char *kwnames
[] = {
28757 (char *) "parent",(char *) "_hWnd", NULL
28760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FromHWND",kwnames
,&obj0
,&obj1
)) goto fail
;
28761 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28763 arg2
= (unsigned long)SWIG_As_unsigned_SS_long(obj1
);
28764 if (PyErr_Occurred()) SWIG_fail
;
28766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28767 result
= (wxWindow
*)wxWindow_FromHWND(arg1
,arg2
);
28769 wxPyEndAllowThreads(__tstate
);
28770 if (PyErr_Occurred()) SWIG_fail
;
28773 resultobj
= wxPyMake_wxObject(result
, 0);
28781 static PyObject
*_wrap_new_Validator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28782 PyObject
*resultobj
;
28783 wxValidator
*result
;
28784 char *kwnames
[] = {
28788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Validator",kwnames
)) goto fail
;
28790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28791 result
= (wxValidator
*)new wxValidator();
28793 wxPyEndAllowThreads(__tstate
);
28794 if (PyErr_Occurred()) SWIG_fail
;
28796 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxValidator
, 1);
28803 static PyObject
*_wrap_Validator_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28804 PyObject
*resultobj
;
28805 wxValidator
*arg1
= (wxValidator
*) 0 ;
28806 wxValidator
*result
;
28807 PyObject
* obj0
= 0 ;
28808 char *kwnames
[] = {
28809 (char *) "self", NULL
28812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_Clone",kwnames
,&obj0
)) goto fail
;
28813 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
28814 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28817 result
= (wxValidator
*)(arg1
)->Clone();
28819 wxPyEndAllowThreads(__tstate
);
28820 if (PyErr_Occurred()) SWIG_fail
;
28823 resultobj
= wxPyMake_wxObject(result
, 0);
28831 static PyObject
*_wrap_Validator_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28832 PyObject
*resultobj
;
28833 wxValidator
*arg1
= (wxValidator
*) 0 ;
28834 wxWindow
*arg2
= (wxWindow
*) 0 ;
28836 PyObject
* obj0
= 0 ;
28837 PyObject
* obj1
= 0 ;
28838 char *kwnames
[] = {
28839 (char *) "self",(char *) "parent", NULL
28842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_Validate",kwnames
,&obj0
,&obj1
)) goto fail
;
28843 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
28844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28845 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28849 result
= (bool)(arg1
)->Validate(arg2
);
28851 wxPyEndAllowThreads(__tstate
);
28852 if (PyErr_Occurred()) SWIG_fail
;
28855 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28863 static PyObject
*_wrap_Validator_TransferToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28864 PyObject
*resultobj
;
28865 wxValidator
*arg1
= (wxValidator
*) 0 ;
28867 PyObject
* obj0
= 0 ;
28868 char *kwnames
[] = {
28869 (char *) "self", NULL
28872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferToWindow",kwnames
,&obj0
)) goto fail
;
28873 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
28874 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28877 result
= (bool)(arg1
)->TransferToWindow();
28879 wxPyEndAllowThreads(__tstate
);
28880 if (PyErr_Occurred()) SWIG_fail
;
28883 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28891 static PyObject
*_wrap_Validator_TransferFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28892 PyObject
*resultobj
;
28893 wxValidator
*arg1
= (wxValidator
*) 0 ;
28895 PyObject
* obj0
= 0 ;
28896 char *kwnames
[] = {
28897 (char *) "self", NULL
28900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferFromWindow",kwnames
,&obj0
)) goto fail
;
28901 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
28902 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28905 result
= (bool)(arg1
)->TransferFromWindow();
28907 wxPyEndAllowThreads(__tstate
);
28908 if (PyErr_Occurred()) SWIG_fail
;
28911 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28919 static PyObject
*_wrap_Validator_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28920 PyObject
*resultobj
;
28921 wxValidator
*arg1
= (wxValidator
*) 0 ;
28923 PyObject
* obj0
= 0 ;
28924 char *kwnames
[] = {
28925 (char *) "self", NULL
28928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_GetWindow",kwnames
,&obj0
)) goto fail
;
28929 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
28930 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28933 result
= (wxWindow
*)(arg1
)->GetWindow();
28935 wxPyEndAllowThreads(__tstate
);
28936 if (PyErr_Occurred()) SWIG_fail
;
28939 resultobj
= wxPyMake_wxObject(result
, 0);
28947 static PyObject
*_wrap_Validator_SetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28948 PyObject
*resultobj
;
28949 wxValidator
*arg1
= (wxValidator
*) 0 ;
28950 wxWindow
*arg2
= (wxWindow
*) 0 ;
28951 PyObject
* obj0
= 0 ;
28952 PyObject
* obj1
= 0 ;
28953 char *kwnames
[] = {
28954 (char *) "self",(char *) "window", NULL
28957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
28958 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
28959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28960 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28964 (arg1
)->SetWindow(arg2
);
28966 wxPyEndAllowThreads(__tstate
);
28967 if (PyErr_Occurred()) SWIG_fail
;
28969 Py_INCREF(Py_None
); resultobj
= Py_None
;
28976 static PyObject
*_wrap_Validator_IsSilent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28977 PyObject
*resultobj
;
28979 char *kwnames
[] = {
28983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Validator_IsSilent",kwnames
)) goto fail
;
28985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28986 result
= (bool)wxValidator::IsSilent();
28988 wxPyEndAllowThreads(__tstate
);
28989 if (PyErr_Occurred()) SWIG_fail
;
28992 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29000 static PyObject
*_wrap_Validator_SetBellOnError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29001 PyObject
*resultobj
;
29002 int arg1
= (int) True
;
29003 PyObject
* obj0
= 0 ;
29004 char *kwnames
[] = {
29005 (char *) "doIt", NULL
29008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Validator_SetBellOnError",kwnames
,&obj0
)) goto fail
;
29010 arg1
= (int)SWIG_As_int(obj0
);
29011 if (PyErr_Occurred()) SWIG_fail
;
29014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29015 wxValidator::SetBellOnError(arg1
);
29017 wxPyEndAllowThreads(__tstate
);
29018 if (PyErr_Occurred()) SWIG_fail
;
29020 Py_INCREF(Py_None
); resultobj
= Py_None
;
29027 static PyObject
* Validator_swigregister(PyObject
*, PyObject
*args
) {
29029 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29030 SWIG_TypeClientData(SWIGTYPE_p_wxValidator
, obj
);
29032 return Py_BuildValue((char *)"");
29034 static PyObject
*_wrap_new_PyValidator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29035 PyObject
*resultobj
;
29036 wxPyValidator
*result
;
29037 char *kwnames
[] = {
29041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyValidator",kwnames
)) goto fail
;
29043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29044 result
= (wxPyValidator
*)new wxPyValidator();
29046 wxPyEndAllowThreads(__tstate
);
29047 if (PyErr_Occurred()) SWIG_fail
;
29049 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyValidator
, 1);
29056 static PyObject
*_wrap_PyValidator__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29057 PyObject
*resultobj
;
29058 wxPyValidator
*arg1
= (wxPyValidator
*) 0 ;
29059 PyObject
*arg2
= (PyObject
*) 0 ;
29060 PyObject
*arg3
= (PyObject
*) 0 ;
29061 int arg4
= (int) True
;
29062 PyObject
* obj0
= 0 ;
29063 PyObject
* obj1
= 0 ;
29064 PyObject
* obj2
= 0 ;
29065 PyObject
* obj3
= 0 ;
29066 char *kwnames
[] = {
29067 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
29070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyValidator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29071 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyValidator
,
29072 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29076 arg4
= (int)SWIG_As_int(obj3
);
29077 if (PyErr_Occurred()) SWIG_fail
;
29080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29081 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
29083 wxPyEndAllowThreads(__tstate
);
29084 if (PyErr_Occurred()) SWIG_fail
;
29086 Py_INCREF(Py_None
); resultobj
= Py_None
;
29093 static PyObject
* PyValidator_swigregister(PyObject
*, PyObject
*args
) {
29095 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29096 SWIG_TypeClientData(SWIGTYPE_p_wxPyValidator
, obj
);
29098 return Py_BuildValue((char *)"");
29100 static int _wrap_DefaultValidator_set(PyObject
*) {
29101 PyErr_SetString(PyExc_TypeError
,"Variable DefaultValidator is read-only.");
29106 static PyObject
*_wrap_DefaultValidator_get() {
29109 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultValidator
), SWIGTYPE_p_wxValidator
, 0);
29114 static PyObject
*_wrap_new_Menu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29115 PyObject
*resultobj
;
29116 wxString
const &arg1_defvalue
= wxPyEmptyString
;
29117 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
29118 long arg2
= (long) 0 ;
29120 bool temp1
= False
;
29121 PyObject
* obj0
= 0 ;
29122 PyObject
* obj1
= 0 ;
29123 char *kwnames
[] = {
29124 (char *) "title",(char *) "style", NULL
29127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Menu",kwnames
,&obj0
,&obj1
)) goto fail
;
29130 arg1
= wxString_in_helper(obj0
);
29131 if (arg1
== NULL
) SWIG_fail
;
29136 arg2
= (long)SWIG_As_long(obj1
);
29137 if (PyErr_Occurred()) SWIG_fail
;
29140 if (!wxPyCheckForApp()) SWIG_fail
;
29141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29142 result
= (wxMenu
*)new wxMenu((wxString
const &)*arg1
,arg2
);
29144 wxPyEndAllowThreads(__tstate
);
29145 if (PyErr_Occurred()) SWIG_fail
;
29147 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenu
, 1);
29162 static PyObject
*_wrap_Menu_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29163 PyObject
*resultobj
;
29164 wxMenu
*arg1
= (wxMenu
*) 0 ;
29166 wxString
*arg3
= 0 ;
29167 wxString
const &arg4_defvalue
= wxPyEmptyString
;
29168 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
29169 int arg5
= (int) wxITEM_NORMAL
;
29170 wxMenuItem
*result
;
29171 bool temp3
= False
;
29172 bool temp4
= False
;
29173 PyObject
* obj0
= 0 ;
29174 PyObject
* obj1
= 0 ;
29175 PyObject
* obj2
= 0 ;
29176 PyObject
* obj3
= 0 ;
29177 PyObject
* obj4
= 0 ;
29178 char *kwnames
[] = {
29179 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
29182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29183 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29184 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29185 arg2
= (int)SWIG_As_int(obj1
);
29186 if (PyErr_Occurred()) SWIG_fail
;
29188 arg3
= wxString_in_helper(obj2
);
29189 if (arg3
== NULL
) SWIG_fail
;
29194 arg4
= wxString_in_helper(obj3
);
29195 if (arg4
== NULL
) SWIG_fail
;
29200 arg5
= (int)SWIG_As_int(obj4
);
29201 if (PyErr_Occurred()) SWIG_fail
;
29204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29205 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
29207 wxPyEndAllowThreads(__tstate
);
29208 if (PyErr_Occurred()) SWIG_fail
;
29211 resultobj
= wxPyMake_wxObject(result
, 0);
29235 static PyObject
*_wrap_Menu_AppendSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29236 PyObject
*resultobj
;
29237 wxMenu
*arg1
= (wxMenu
*) 0 ;
29238 wxMenuItem
*result
;
29239 PyObject
* obj0
= 0 ;
29240 char *kwnames
[] = {
29241 (char *) "self", NULL
29244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_AppendSeparator",kwnames
,&obj0
)) goto fail
;
29245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29249 result
= (wxMenuItem
*)(arg1
)->AppendSeparator();
29251 wxPyEndAllowThreads(__tstate
);
29252 if (PyErr_Occurred()) SWIG_fail
;
29255 resultobj
= wxPyMake_wxObject(result
, 0);
29263 static PyObject
*_wrap_Menu_AppendCheckItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29264 PyObject
*resultobj
;
29265 wxMenu
*arg1
= (wxMenu
*) 0 ;
29267 wxString
*arg3
= 0 ;
29268 wxString
const &arg4_defvalue
= wxPyEmptyString
;
29269 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
29270 wxMenuItem
*result
;
29271 bool temp3
= False
;
29272 bool temp4
= False
;
29273 PyObject
* obj0
= 0 ;
29274 PyObject
* obj1
= 0 ;
29275 PyObject
* obj2
= 0 ;
29276 PyObject
* obj3
= 0 ;
29277 char *kwnames
[] = {
29278 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
29281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29282 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29284 arg2
= (int)SWIG_As_int(obj1
);
29285 if (PyErr_Occurred()) SWIG_fail
;
29287 arg3
= wxString_in_helper(obj2
);
29288 if (arg3
== NULL
) SWIG_fail
;
29293 arg4
= wxString_in_helper(obj3
);
29294 if (arg4
== NULL
) SWIG_fail
;
29299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29300 result
= (wxMenuItem
*)(arg1
)->AppendCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
29302 wxPyEndAllowThreads(__tstate
);
29303 if (PyErr_Occurred()) SWIG_fail
;
29306 resultobj
= wxPyMake_wxObject(result
, 0);
29330 static PyObject
*_wrap_Menu_AppendRadioItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29331 PyObject
*resultobj
;
29332 wxMenu
*arg1
= (wxMenu
*) 0 ;
29334 wxString
*arg3
= 0 ;
29335 wxString
const &arg4_defvalue
= wxPyEmptyString
;
29336 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
29337 wxMenuItem
*result
;
29338 bool temp3
= False
;
29339 bool temp4
= False
;
29340 PyObject
* obj0
= 0 ;
29341 PyObject
* obj1
= 0 ;
29342 PyObject
* obj2
= 0 ;
29343 PyObject
* obj3
= 0 ;
29344 char *kwnames
[] = {
29345 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
29348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29349 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29351 arg2
= (int)SWIG_As_int(obj1
);
29352 if (PyErr_Occurred()) SWIG_fail
;
29354 arg3
= wxString_in_helper(obj2
);
29355 if (arg3
== NULL
) SWIG_fail
;
29360 arg4
= wxString_in_helper(obj3
);
29361 if (arg4
== NULL
) SWIG_fail
;
29366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29367 result
= (wxMenuItem
*)(arg1
)->AppendRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
29369 wxPyEndAllowThreads(__tstate
);
29370 if (PyErr_Occurred()) SWIG_fail
;
29373 resultobj
= wxPyMake_wxObject(result
, 0);
29397 static PyObject
*_wrap_Menu_AppendMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29398 PyObject
*resultobj
;
29399 wxMenu
*arg1
= (wxMenu
*) 0 ;
29401 wxString
*arg3
= 0 ;
29402 wxMenu
*arg4
= (wxMenu
*) 0 ;
29403 wxString
const &arg5_defvalue
= wxPyEmptyString
;
29404 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
29405 wxMenuItem
*result
;
29406 bool temp3
= False
;
29407 bool temp5
= False
;
29408 PyObject
* obj0
= 0 ;
29409 PyObject
* obj1
= 0 ;
29410 PyObject
* obj2
= 0 ;
29411 PyObject
* obj3
= 0 ;
29412 PyObject
* obj4
= 0 ;
29413 char *kwnames
[] = {
29414 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
29417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_AppendMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29418 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29419 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29420 arg2
= (int)SWIG_As_int(obj1
);
29421 if (PyErr_Occurred()) SWIG_fail
;
29423 arg3
= wxString_in_helper(obj2
);
29424 if (arg3
== NULL
) SWIG_fail
;
29427 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxMenu
,
29428 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29431 arg5
= wxString_in_helper(obj4
);
29432 if (arg5
== NULL
) SWIG_fail
;
29437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29438 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
29440 wxPyEndAllowThreads(__tstate
);
29441 if (PyErr_Occurred()) SWIG_fail
;
29444 resultobj
= wxPyMake_wxObject(result
, 0);
29468 static PyObject
*_wrap_Menu_AppendItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29469 PyObject
*resultobj
;
29470 wxMenu
*arg1
= (wxMenu
*) 0 ;
29471 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
29472 wxMenuItem
*result
;
29473 PyObject
* obj0
= 0 ;
29474 PyObject
* obj1
= 0 ;
29475 char *kwnames
[] = {
29476 (char *) "self",(char *) "item", NULL
29479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_AppendItem",kwnames
,&obj0
,&obj1
)) goto fail
;
29480 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29481 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29482 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
29483 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29486 result
= (wxMenuItem
*)(arg1
)->Append(arg2
);
29488 wxPyEndAllowThreads(__tstate
);
29489 if (PyErr_Occurred()) SWIG_fail
;
29492 resultobj
= wxPyMake_wxObject(result
, 0);
29500 static PyObject
*_wrap_Menu_Break(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29501 PyObject
*resultobj
;
29502 wxMenu
*arg1
= (wxMenu
*) 0 ;
29503 PyObject
* obj0
= 0 ;
29504 char *kwnames
[] = {
29505 (char *) "self", NULL
29508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Break",kwnames
,&obj0
)) goto fail
;
29509 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29510 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29515 wxPyEndAllowThreads(__tstate
);
29516 if (PyErr_Occurred()) SWIG_fail
;
29518 Py_INCREF(Py_None
); resultobj
= Py_None
;
29525 static PyObject
*_wrap_Menu_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29526 PyObject
*resultobj
;
29527 wxMenu
*arg1
= (wxMenu
*) 0 ;
29529 wxMenuItem
*arg3
= (wxMenuItem
*) 0 ;
29530 wxMenuItem
*result
;
29531 PyObject
* obj0
= 0 ;
29532 PyObject
* obj1
= 0 ;
29533 PyObject
* obj2
= 0 ;
29534 char *kwnames
[] = {
29535 (char *) "self",(char *) "pos",(char *) "item", NULL
29538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29539 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29540 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29541 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
29542 if (PyErr_Occurred()) SWIG_fail
;
29543 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenuItem
,
29544 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29547 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
);
29549 wxPyEndAllowThreads(__tstate
);
29550 if (PyErr_Occurred()) SWIG_fail
;
29553 resultobj
= wxPyMake_wxObject(result
, 0);
29561 static PyObject
*_wrap_Menu_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29562 PyObject
*resultobj
;
29563 wxMenu
*arg1
= (wxMenu
*) 0 ;
29566 wxString
*arg4
= 0 ;
29567 wxString
const &arg5_defvalue
= wxPyEmptyString
;
29568 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
29569 int arg6
= (int) wxITEM_NORMAL
;
29570 wxMenuItem
*result
;
29571 bool temp4
= False
;
29572 bool temp5
= False
;
29573 PyObject
* obj0
= 0 ;
29574 PyObject
* obj1
= 0 ;
29575 PyObject
* obj2
= 0 ;
29576 PyObject
* obj3
= 0 ;
29577 PyObject
* obj4
= 0 ;
29578 PyObject
* obj5
= 0 ;
29579 char *kwnames
[] = {
29580 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
29583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:Menu_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
29584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29586 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
29587 if (PyErr_Occurred()) SWIG_fail
;
29588 arg3
= (int)SWIG_As_int(obj2
);
29589 if (PyErr_Occurred()) SWIG_fail
;
29591 arg4
= wxString_in_helper(obj3
);
29592 if (arg4
== NULL
) SWIG_fail
;
29597 arg5
= wxString_in_helper(obj4
);
29598 if (arg5
== NULL
) SWIG_fail
;
29603 arg6
= (int)SWIG_As_int(obj5
);
29604 if (PyErr_Occurred()) SWIG_fail
;
29607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29608 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,(wxItemKind
)arg6
);
29610 wxPyEndAllowThreads(__tstate
);
29611 if (PyErr_Occurred()) SWIG_fail
;
29614 resultobj
= wxPyMake_wxObject(result
, 0);
29638 static PyObject
*_wrap_Menu_InsertSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29639 PyObject
*resultobj
;
29640 wxMenu
*arg1
= (wxMenu
*) 0 ;
29642 wxMenuItem
*result
;
29643 PyObject
* obj0
= 0 ;
29644 PyObject
* obj1
= 0 ;
29645 char *kwnames
[] = {
29646 (char *) "self",(char *) "pos", NULL
29649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
29650 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29651 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29652 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
29653 if (PyErr_Occurred()) SWIG_fail
;
29655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29656 result
= (wxMenuItem
*)(arg1
)->InsertSeparator(arg2
);
29658 wxPyEndAllowThreads(__tstate
);
29659 if (PyErr_Occurred()) SWIG_fail
;
29662 resultobj
= wxPyMake_wxObject(result
, 0);
29670 static PyObject
*_wrap_Menu_InsertCheckItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29671 PyObject
*resultobj
;
29672 wxMenu
*arg1
= (wxMenu
*) 0 ;
29675 wxString
*arg4
= 0 ;
29676 wxString
const &arg5_defvalue
= wxPyEmptyString
;
29677 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
29678 wxMenuItem
*result
;
29679 bool temp4
= False
;
29680 bool temp5
= False
;
29681 PyObject
* obj0
= 0 ;
29682 PyObject
* obj1
= 0 ;
29683 PyObject
* obj2
= 0 ;
29684 PyObject
* obj3
= 0 ;
29685 PyObject
* obj4
= 0 ;
29686 char *kwnames
[] = {
29687 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
29690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29691 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29692 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29693 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
29694 if (PyErr_Occurred()) SWIG_fail
;
29695 arg3
= (int)SWIG_As_int(obj2
);
29696 if (PyErr_Occurred()) SWIG_fail
;
29698 arg4
= wxString_in_helper(obj3
);
29699 if (arg4
== NULL
) SWIG_fail
;
29704 arg5
= wxString_in_helper(obj4
);
29705 if (arg5
== NULL
) SWIG_fail
;
29710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29711 result
= (wxMenuItem
*)(arg1
)->InsertCheckItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
29713 wxPyEndAllowThreads(__tstate
);
29714 if (PyErr_Occurred()) SWIG_fail
;
29717 resultobj
= wxPyMake_wxObject(result
, 0);
29741 static PyObject
*_wrap_Menu_InsertRadioItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29742 PyObject
*resultobj
;
29743 wxMenu
*arg1
= (wxMenu
*) 0 ;
29746 wxString
*arg4
= 0 ;
29747 wxString
const &arg5_defvalue
= wxPyEmptyString
;
29748 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
29749 wxMenuItem
*result
;
29750 bool temp4
= False
;
29751 bool temp5
= False
;
29752 PyObject
* obj0
= 0 ;
29753 PyObject
* obj1
= 0 ;
29754 PyObject
* obj2
= 0 ;
29755 PyObject
* obj3
= 0 ;
29756 PyObject
* obj4
= 0 ;
29757 char *kwnames
[] = {
29758 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
29761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29762 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29763 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29764 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
29765 if (PyErr_Occurred()) SWIG_fail
;
29766 arg3
= (int)SWIG_As_int(obj2
);
29767 if (PyErr_Occurred()) SWIG_fail
;
29769 arg4
= wxString_in_helper(obj3
);
29770 if (arg4
== NULL
) SWIG_fail
;
29775 arg5
= wxString_in_helper(obj4
);
29776 if (arg5
== NULL
) SWIG_fail
;
29781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29782 result
= (wxMenuItem
*)(arg1
)->InsertRadioItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
29784 wxPyEndAllowThreads(__tstate
);
29785 if (PyErr_Occurred()) SWIG_fail
;
29788 resultobj
= wxPyMake_wxObject(result
, 0);
29812 static PyObject
*_wrap_Menu_InsertMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29813 PyObject
*resultobj
;
29814 wxMenu
*arg1
= (wxMenu
*) 0 ;
29817 wxString
*arg4
= 0 ;
29818 wxMenu
*arg5
= (wxMenu
*) 0 ;
29819 wxString
const &arg6_defvalue
= wxPyEmptyString
;
29820 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
29821 wxMenuItem
*result
;
29822 bool temp4
= False
;
29823 bool temp6
= False
;
29824 PyObject
* obj0
= 0 ;
29825 PyObject
* obj1
= 0 ;
29826 PyObject
* obj2
= 0 ;
29827 PyObject
* obj3
= 0 ;
29828 PyObject
* obj4
= 0 ;
29829 PyObject
* obj5
= 0 ;
29830 char *kwnames
[] = {
29831 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
29834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Menu_InsertMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
29835 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29836 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29837 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
29838 if (PyErr_Occurred()) SWIG_fail
;
29839 arg3
= (int)SWIG_As_int(obj2
);
29840 if (PyErr_Occurred()) SWIG_fail
;
29842 arg4
= wxString_in_helper(obj3
);
29843 if (arg4
== NULL
) SWIG_fail
;
29846 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxMenu
,
29847 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29850 arg6
= wxString_in_helper(obj5
);
29851 if (arg6
== NULL
) SWIG_fail
;
29856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29857 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
29859 wxPyEndAllowThreads(__tstate
);
29860 if (PyErr_Occurred()) SWIG_fail
;
29863 resultobj
= wxPyMake_wxObject(result
, 0);
29887 static PyObject
*_wrap_Menu_PrependItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29888 PyObject
*resultobj
;
29889 wxMenu
*arg1
= (wxMenu
*) 0 ;
29890 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
29891 wxMenuItem
*result
;
29892 PyObject
* obj0
= 0 ;
29893 PyObject
* obj1
= 0 ;
29894 char *kwnames
[] = {
29895 (char *) "self",(char *) "item", NULL
29898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
29899 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29900 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29901 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
29902 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29905 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
);
29907 wxPyEndAllowThreads(__tstate
);
29908 if (PyErr_Occurred()) SWIG_fail
;
29911 resultobj
= wxPyMake_wxObject(result
, 0);
29919 static PyObject
*_wrap_Menu_Prepend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29920 PyObject
*resultobj
;
29921 wxMenu
*arg1
= (wxMenu
*) 0 ;
29923 wxString
*arg3
= 0 ;
29924 wxString
const &arg4_defvalue
= wxPyEmptyString
;
29925 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
29926 int arg5
= (int) wxITEM_NORMAL
;
29927 wxMenuItem
*result
;
29928 bool temp3
= False
;
29929 bool temp4
= False
;
29930 PyObject
* obj0
= 0 ;
29931 PyObject
* obj1
= 0 ;
29932 PyObject
* obj2
= 0 ;
29933 PyObject
* obj3
= 0 ;
29934 PyObject
* obj4
= 0 ;
29935 char *kwnames
[] = {
29936 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
29939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29940 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29941 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29942 arg2
= (int)SWIG_As_int(obj1
);
29943 if (PyErr_Occurred()) SWIG_fail
;
29945 arg3
= wxString_in_helper(obj2
);
29946 if (arg3
== NULL
) SWIG_fail
;
29951 arg4
= wxString_in_helper(obj3
);
29952 if (arg4
== NULL
) SWIG_fail
;
29957 arg5
= (int)SWIG_As_int(obj4
);
29958 if (PyErr_Occurred()) SWIG_fail
;
29961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29962 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
29964 wxPyEndAllowThreads(__tstate
);
29965 if (PyErr_Occurred()) SWIG_fail
;
29968 resultobj
= wxPyMake_wxObject(result
, 0);
29992 static PyObject
*_wrap_Menu_PrependSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29993 PyObject
*resultobj
;
29994 wxMenu
*arg1
= (wxMenu
*) 0 ;
29995 wxMenuItem
*result
;
29996 PyObject
* obj0
= 0 ;
29997 char *kwnames
[] = {
29998 (char *) "self", NULL
30001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_PrependSeparator",kwnames
,&obj0
)) goto fail
;
30002 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30003 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30006 result
= (wxMenuItem
*)(arg1
)->PrependSeparator();
30008 wxPyEndAllowThreads(__tstate
);
30009 if (PyErr_Occurred()) SWIG_fail
;
30012 resultobj
= wxPyMake_wxObject(result
, 0);
30020 static PyObject
*_wrap_Menu_PrependCheckItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30021 PyObject
*resultobj
;
30022 wxMenu
*arg1
= (wxMenu
*) 0 ;
30024 wxString
*arg3
= 0 ;
30025 wxString
const &arg4_defvalue
= wxPyEmptyString
;
30026 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
30027 wxMenuItem
*result
;
30028 bool temp3
= False
;
30029 bool temp4
= False
;
30030 PyObject
* obj0
= 0 ;
30031 PyObject
* obj1
= 0 ;
30032 PyObject
* obj2
= 0 ;
30033 PyObject
* obj3
= 0 ;
30034 char *kwnames
[] = {
30035 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
30038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30039 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30040 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30041 arg2
= (int)SWIG_As_int(obj1
);
30042 if (PyErr_Occurred()) SWIG_fail
;
30044 arg3
= wxString_in_helper(obj2
);
30045 if (arg3
== NULL
) SWIG_fail
;
30050 arg4
= wxString_in_helper(obj3
);
30051 if (arg4
== NULL
) SWIG_fail
;
30056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30057 result
= (wxMenuItem
*)(arg1
)->PrependCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
30059 wxPyEndAllowThreads(__tstate
);
30060 if (PyErr_Occurred()) SWIG_fail
;
30063 resultobj
= wxPyMake_wxObject(result
, 0);
30087 static PyObject
*_wrap_Menu_PrependRadioItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30088 PyObject
*resultobj
;
30089 wxMenu
*arg1
= (wxMenu
*) 0 ;
30091 wxString
*arg3
= 0 ;
30092 wxString
const &arg4_defvalue
= wxPyEmptyString
;
30093 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
30094 wxMenuItem
*result
;
30095 bool temp3
= False
;
30096 bool temp4
= False
;
30097 PyObject
* obj0
= 0 ;
30098 PyObject
* obj1
= 0 ;
30099 PyObject
* obj2
= 0 ;
30100 PyObject
* obj3
= 0 ;
30101 char *kwnames
[] = {
30102 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
30105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30106 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30108 arg2
= (int)SWIG_As_int(obj1
);
30109 if (PyErr_Occurred()) SWIG_fail
;
30111 arg3
= wxString_in_helper(obj2
);
30112 if (arg3
== NULL
) SWIG_fail
;
30117 arg4
= wxString_in_helper(obj3
);
30118 if (arg4
== NULL
) SWIG_fail
;
30123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30124 result
= (wxMenuItem
*)(arg1
)->PrependRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
30126 wxPyEndAllowThreads(__tstate
);
30127 if (PyErr_Occurred()) SWIG_fail
;
30130 resultobj
= wxPyMake_wxObject(result
, 0);
30154 static PyObject
*_wrap_Menu_PrependMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30155 PyObject
*resultobj
;
30156 wxMenu
*arg1
= (wxMenu
*) 0 ;
30158 wxString
*arg3
= 0 ;
30159 wxMenu
*arg4
= (wxMenu
*) 0 ;
30160 wxString
const &arg5_defvalue
= wxPyEmptyString
;
30161 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
30162 wxMenuItem
*result
;
30163 bool temp3
= False
;
30164 bool temp5
= False
;
30165 PyObject
* obj0
= 0 ;
30166 PyObject
* obj1
= 0 ;
30167 PyObject
* obj2
= 0 ;
30168 PyObject
* obj3
= 0 ;
30169 PyObject
* obj4
= 0 ;
30170 char *kwnames
[] = {
30171 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
30174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_PrependMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30175 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30176 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30177 arg2
= (int)SWIG_As_int(obj1
);
30178 if (PyErr_Occurred()) SWIG_fail
;
30180 arg3
= wxString_in_helper(obj2
);
30181 if (arg3
== NULL
) SWIG_fail
;
30184 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxMenu
,
30185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30188 arg5
= wxString_in_helper(obj4
);
30189 if (arg5
== NULL
) SWIG_fail
;
30194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30195 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
30197 wxPyEndAllowThreads(__tstate
);
30198 if (PyErr_Occurred()) SWIG_fail
;
30201 resultobj
= wxPyMake_wxObject(result
, 0);
30225 static PyObject
*_wrap_Menu_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30226 PyObject
*resultobj
;
30227 wxMenu
*arg1
= (wxMenu
*) 0 ;
30229 wxMenuItem
*result
;
30230 PyObject
* obj0
= 0 ;
30231 PyObject
* obj1
= 0 ;
30232 char *kwnames
[] = {
30233 (char *) "self",(char *) "id", NULL
30236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
30237 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30238 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30239 arg2
= (int)SWIG_As_int(obj1
);
30240 if (PyErr_Occurred()) SWIG_fail
;
30242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30243 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
30245 wxPyEndAllowThreads(__tstate
);
30246 if (PyErr_Occurred()) SWIG_fail
;
30249 resultobj
= wxPyMake_wxObject(result
, 0);
30257 static PyObject
*_wrap_Menu_RemoveItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30258 PyObject
*resultobj
;
30259 wxMenu
*arg1
= (wxMenu
*) 0 ;
30260 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
30261 wxMenuItem
*result
;
30262 PyObject
* obj0
= 0 ;
30263 PyObject
* obj1
= 0 ;
30264 char *kwnames
[] = {
30265 (char *) "self",(char *) "item", NULL
30268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_RemoveItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30269 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30270 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30271 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
30272 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30275 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
30277 wxPyEndAllowThreads(__tstate
);
30278 if (PyErr_Occurred()) SWIG_fail
;
30281 resultobj
= wxPyMake_wxObject(result
, 0);
30289 static PyObject
*_wrap_Menu_Delete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30290 PyObject
*resultobj
;
30291 wxMenu
*arg1
= (wxMenu
*) 0 ;
30294 PyObject
* obj0
= 0 ;
30295 PyObject
* obj1
= 0 ;
30296 char *kwnames
[] = {
30297 (char *) "self",(char *) "id", NULL
30300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
30301 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30302 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30303 arg2
= (int)SWIG_As_int(obj1
);
30304 if (PyErr_Occurred()) SWIG_fail
;
30306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30307 result
= (bool)(arg1
)->Delete(arg2
);
30309 wxPyEndAllowThreads(__tstate
);
30310 if (PyErr_Occurred()) SWIG_fail
;
30313 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30321 static PyObject
*_wrap_Menu_DeleteItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30322 PyObject
*resultobj
;
30323 wxMenu
*arg1
= (wxMenu
*) 0 ;
30324 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
30326 PyObject
* obj0
= 0 ;
30327 PyObject
* obj1
= 0 ;
30328 char *kwnames
[] = {
30329 (char *) "self",(char *) "item", NULL
30332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30333 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30334 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30335 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
30336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30339 result
= (bool)(arg1
)->Delete(arg2
);
30341 wxPyEndAllowThreads(__tstate
);
30342 if (PyErr_Occurred()) SWIG_fail
;
30345 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30353 static PyObject
*_wrap_Menu_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30354 PyObject
*resultobj
;
30355 wxMenu
*arg1
= (wxMenu
*) 0 ;
30356 PyObject
* obj0
= 0 ;
30357 char *kwnames
[] = {
30358 (char *) "self", NULL
30361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Destroy",kwnames
,&obj0
)) goto fail
;
30362 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30366 wxMenu_Destroy(arg1
);
30368 wxPyEndAllowThreads(__tstate
);
30369 if (PyErr_Occurred()) SWIG_fail
;
30371 Py_INCREF(Py_None
); resultobj
= Py_None
;
30378 static PyObject
*_wrap_Menu_DestroyId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30379 PyObject
*resultobj
;
30380 wxMenu
*arg1
= (wxMenu
*) 0 ;
30383 PyObject
* obj0
= 0 ;
30384 PyObject
* obj1
= 0 ;
30385 char *kwnames
[] = {
30386 (char *) "self",(char *) "id", NULL
30389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyId",kwnames
,&obj0
,&obj1
)) goto fail
;
30390 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30391 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30392 arg2
= (int)SWIG_As_int(obj1
);
30393 if (PyErr_Occurred()) SWIG_fail
;
30395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30396 result
= (bool)(arg1
)->Destroy(arg2
);
30398 wxPyEndAllowThreads(__tstate
);
30399 if (PyErr_Occurred()) SWIG_fail
;
30402 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30410 static PyObject
*_wrap_Menu_DestroyItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30411 PyObject
*resultobj
;
30412 wxMenu
*arg1
= (wxMenu
*) 0 ;
30413 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
30415 PyObject
* obj0
= 0 ;
30416 PyObject
* obj1
= 0 ;
30417 char *kwnames
[] = {
30418 (char *) "self",(char *) "item", NULL
30421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30422 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30423 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30424 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
30425 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30428 result
= (bool)(arg1
)->Destroy(arg2
);
30430 wxPyEndAllowThreads(__tstate
);
30431 if (PyErr_Occurred()) SWIG_fail
;
30434 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30442 static PyObject
*_wrap_Menu_GetMenuItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30443 PyObject
*resultobj
;
30444 wxMenu
*arg1
= (wxMenu
*) 0 ;
30446 PyObject
* obj0
= 0 ;
30447 char *kwnames
[] = {
30448 (char *) "self", NULL
30451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItemCount",kwnames
,&obj0
)) goto fail
;
30452 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30453 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30456 result
= (size_t)((wxMenu
const *)arg1
)->GetMenuItemCount();
30458 wxPyEndAllowThreads(__tstate
);
30459 if (PyErr_Occurred()) SWIG_fail
;
30461 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
30468 static PyObject
*_wrap_Menu_GetMenuItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30469 PyObject
*resultobj
;
30470 wxMenu
*arg1
= (wxMenu
*) 0 ;
30472 PyObject
* obj0
= 0 ;
30473 char *kwnames
[] = {
30474 (char *) "self", NULL
30477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItems",kwnames
,&obj0
)) goto fail
;
30478 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30479 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30482 result
= (PyObject
*)wxMenu_GetMenuItems(arg1
);
30484 wxPyEndAllowThreads(__tstate
);
30485 if (PyErr_Occurred()) SWIG_fail
;
30487 resultobj
= result
;
30494 static PyObject
*_wrap_Menu_FindItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30495 PyObject
*resultobj
;
30496 wxMenu
*arg1
= (wxMenu
*) 0 ;
30497 wxString
*arg2
= 0 ;
30499 bool temp2
= False
;
30500 PyObject
* obj0
= 0 ;
30501 PyObject
* obj1
= 0 ;
30502 char *kwnames
[] = {
30503 (char *) "self",(char *) "item", NULL
30506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30507 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30508 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30510 arg2
= wxString_in_helper(obj1
);
30511 if (arg2
== NULL
) SWIG_fail
;
30515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30516 result
= (int)((wxMenu
const *)arg1
)->FindItem((wxString
const &)*arg2
);
30518 wxPyEndAllowThreads(__tstate
);
30519 if (PyErr_Occurred()) SWIG_fail
;
30521 resultobj
= SWIG_From_int((int)result
);
30536 static PyObject
*_wrap_Menu_FindItemById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30537 PyObject
*resultobj
;
30538 wxMenu
*arg1
= (wxMenu
*) 0 ;
30540 wxMenuItem
*result
;
30541 PyObject
* obj0
= 0 ;
30542 PyObject
* obj1
= 0 ;
30543 char *kwnames
[] = {
30544 (char *) "self",(char *) "id", NULL
30547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemById",kwnames
,&obj0
,&obj1
)) goto fail
;
30548 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30549 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30550 arg2
= (int)SWIG_As_int(obj1
);
30551 if (PyErr_Occurred()) SWIG_fail
;
30553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30554 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItem(arg2
);
30556 wxPyEndAllowThreads(__tstate
);
30557 if (PyErr_Occurred()) SWIG_fail
;
30560 resultobj
= wxPyMake_wxObject(result
, 0);
30568 static PyObject
*_wrap_Menu_FindItemByPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30569 PyObject
*resultobj
;
30570 wxMenu
*arg1
= (wxMenu
*) 0 ;
30572 wxMenuItem
*result
;
30573 PyObject
* obj0
= 0 ;
30574 PyObject
* obj1
= 0 ;
30575 char *kwnames
[] = {
30576 (char *) "self",(char *) "position", NULL
30579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemByPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
30580 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30581 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30582 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
30583 if (PyErr_Occurred()) SWIG_fail
;
30585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30586 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItemByPosition(arg2
);
30588 wxPyEndAllowThreads(__tstate
);
30589 if (PyErr_Occurred()) SWIG_fail
;
30592 resultobj
= wxPyMake_wxObject(result
, 0);
30600 static PyObject
*_wrap_Menu_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30601 PyObject
*resultobj
;
30602 wxMenu
*arg1
= (wxMenu
*) 0 ;
30605 PyObject
* obj0
= 0 ;
30606 PyObject
* obj1
= 0 ;
30607 PyObject
* obj2
= 0 ;
30608 char *kwnames
[] = {
30609 (char *) "self",(char *) "id",(char *) "enable", NULL
30612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30613 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30614 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30615 arg2
= (int)SWIG_As_int(obj1
);
30616 if (PyErr_Occurred()) SWIG_fail
;
30617 arg3
= (bool)SWIG_As_bool(obj2
);
30618 if (PyErr_Occurred()) SWIG_fail
;
30620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30621 (arg1
)->Enable(arg2
,arg3
);
30623 wxPyEndAllowThreads(__tstate
);
30624 if (PyErr_Occurred()) SWIG_fail
;
30626 Py_INCREF(Py_None
); resultobj
= Py_None
;
30633 static PyObject
*_wrap_Menu_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30634 PyObject
*resultobj
;
30635 wxMenu
*arg1
= (wxMenu
*) 0 ;
30638 PyObject
* obj0
= 0 ;
30639 PyObject
* obj1
= 0 ;
30640 char *kwnames
[] = {
30641 (char *) "self",(char *) "id", NULL
30644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
30645 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30646 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30647 arg2
= (int)SWIG_As_int(obj1
);
30648 if (PyErr_Occurred()) SWIG_fail
;
30650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30651 result
= (bool)((wxMenu
const *)arg1
)->IsEnabled(arg2
);
30653 wxPyEndAllowThreads(__tstate
);
30654 if (PyErr_Occurred()) SWIG_fail
;
30657 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30665 static PyObject
*_wrap_Menu_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30666 PyObject
*resultobj
;
30667 wxMenu
*arg1
= (wxMenu
*) 0 ;
30670 PyObject
* obj0
= 0 ;
30671 PyObject
* obj1
= 0 ;
30672 PyObject
* obj2
= 0 ;
30673 char *kwnames
[] = {
30674 (char *) "self",(char *) "id",(char *) "check", NULL
30677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30678 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30679 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30680 arg2
= (int)SWIG_As_int(obj1
);
30681 if (PyErr_Occurred()) SWIG_fail
;
30682 arg3
= (bool)SWIG_As_bool(obj2
);
30683 if (PyErr_Occurred()) SWIG_fail
;
30685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30686 (arg1
)->Check(arg2
,arg3
);
30688 wxPyEndAllowThreads(__tstate
);
30689 if (PyErr_Occurred()) SWIG_fail
;
30691 Py_INCREF(Py_None
); resultobj
= Py_None
;
30698 static PyObject
*_wrap_Menu_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30699 PyObject
*resultobj
;
30700 wxMenu
*arg1
= (wxMenu
*) 0 ;
30703 PyObject
* obj0
= 0 ;
30704 PyObject
* obj1
= 0 ;
30705 char *kwnames
[] = {
30706 (char *) "self",(char *) "id", NULL
30709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
30710 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30712 arg2
= (int)SWIG_As_int(obj1
);
30713 if (PyErr_Occurred()) SWIG_fail
;
30715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30716 result
= (bool)((wxMenu
const *)arg1
)->IsChecked(arg2
);
30718 wxPyEndAllowThreads(__tstate
);
30719 if (PyErr_Occurred()) SWIG_fail
;
30722 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30730 static PyObject
*_wrap_Menu_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30731 PyObject
*resultobj
;
30732 wxMenu
*arg1
= (wxMenu
*) 0 ;
30734 wxString
*arg3
= 0 ;
30735 bool temp3
= False
;
30736 PyObject
* obj0
= 0 ;
30737 PyObject
* obj1
= 0 ;
30738 PyObject
* obj2
= 0 ;
30739 char *kwnames
[] = {
30740 (char *) "self",(char *) "id",(char *) "label", NULL
30743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30744 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30745 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30746 arg2
= (int)SWIG_As_int(obj1
);
30747 if (PyErr_Occurred()) SWIG_fail
;
30749 arg3
= wxString_in_helper(obj2
);
30750 if (arg3
== NULL
) SWIG_fail
;
30754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30755 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
30757 wxPyEndAllowThreads(__tstate
);
30758 if (PyErr_Occurred()) SWIG_fail
;
30760 Py_INCREF(Py_None
); resultobj
= Py_None
;
30775 static PyObject
*_wrap_Menu_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30776 PyObject
*resultobj
;
30777 wxMenu
*arg1
= (wxMenu
*) 0 ;
30780 PyObject
* obj0
= 0 ;
30781 PyObject
* obj1
= 0 ;
30782 char *kwnames
[] = {
30783 (char *) "self",(char *) "id", NULL
30786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
30787 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30788 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30789 arg2
= (int)SWIG_As_int(obj1
);
30790 if (PyErr_Occurred()) SWIG_fail
;
30792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30793 result
= ((wxMenu
const *)arg1
)->GetLabel(arg2
);
30795 wxPyEndAllowThreads(__tstate
);
30796 if (PyErr_Occurred()) SWIG_fail
;
30800 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30802 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30811 static PyObject
*_wrap_Menu_SetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30812 PyObject
*resultobj
;
30813 wxMenu
*arg1
= (wxMenu
*) 0 ;
30815 wxString
*arg3
= 0 ;
30816 bool temp3
= False
;
30817 PyObject
* obj0
= 0 ;
30818 PyObject
* obj1
= 0 ;
30819 PyObject
* obj2
= 0 ;
30820 char *kwnames
[] = {
30821 (char *) "self",(char *) "id",(char *) "helpString", NULL
30824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30825 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30826 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30827 arg2
= (int)SWIG_As_int(obj1
);
30828 if (PyErr_Occurred()) SWIG_fail
;
30830 arg3
= wxString_in_helper(obj2
);
30831 if (arg3
== NULL
) SWIG_fail
;
30835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30836 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
30838 wxPyEndAllowThreads(__tstate
);
30839 if (PyErr_Occurred()) SWIG_fail
;
30841 Py_INCREF(Py_None
); resultobj
= Py_None
;
30856 static PyObject
*_wrap_Menu_GetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30857 PyObject
*resultobj
;
30858 wxMenu
*arg1
= (wxMenu
*) 0 ;
30861 PyObject
* obj0
= 0 ;
30862 PyObject
* obj1
= 0 ;
30863 char *kwnames
[] = {
30864 (char *) "self",(char *) "id", NULL
30867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetHelpString",kwnames
,&obj0
,&obj1
)) goto fail
;
30868 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30870 arg2
= (int)SWIG_As_int(obj1
);
30871 if (PyErr_Occurred()) SWIG_fail
;
30873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30874 result
= ((wxMenu
const *)arg1
)->GetHelpString(arg2
);
30876 wxPyEndAllowThreads(__tstate
);
30877 if (PyErr_Occurred()) SWIG_fail
;
30881 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30883 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30892 static PyObject
*_wrap_Menu_SetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30893 PyObject
*resultobj
;
30894 wxMenu
*arg1
= (wxMenu
*) 0 ;
30895 wxString
*arg2
= 0 ;
30896 bool temp2
= False
;
30897 PyObject
* obj0
= 0 ;
30898 PyObject
* obj1
= 0 ;
30899 char *kwnames
[] = {
30900 (char *) "self",(char *) "title", NULL
30903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
30904 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30905 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30907 arg2
= wxString_in_helper(obj1
);
30908 if (arg2
== NULL
) SWIG_fail
;
30912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30913 (arg1
)->SetTitle((wxString
const &)*arg2
);
30915 wxPyEndAllowThreads(__tstate
);
30916 if (PyErr_Occurred()) SWIG_fail
;
30918 Py_INCREF(Py_None
); resultobj
= Py_None
;
30933 static PyObject
*_wrap_Menu_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30934 PyObject
*resultobj
;
30935 wxMenu
*arg1
= (wxMenu
*) 0 ;
30937 PyObject
* obj0
= 0 ;
30938 char *kwnames
[] = {
30939 (char *) "self", NULL
30942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetTitle",kwnames
,&obj0
)) goto fail
;
30943 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30944 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30947 result
= ((wxMenu
const *)arg1
)->GetTitle();
30949 wxPyEndAllowThreads(__tstate
);
30950 if (PyErr_Occurred()) SWIG_fail
;
30954 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30956 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30965 static PyObject
*_wrap_Menu_SetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30966 PyObject
*resultobj
;
30967 wxMenu
*arg1
= (wxMenu
*) 0 ;
30968 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
30969 PyObject
* obj0
= 0 ;
30970 PyObject
* obj1
= 0 ;
30971 char *kwnames
[] = {
30972 (char *) "self",(char *) "handler", NULL
30975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
30976 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30978 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
30979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30982 (arg1
)->SetEventHandler(arg2
);
30984 wxPyEndAllowThreads(__tstate
);
30985 if (PyErr_Occurred()) SWIG_fail
;
30987 Py_INCREF(Py_None
); resultobj
= Py_None
;
30994 static PyObject
*_wrap_Menu_GetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30995 PyObject
*resultobj
;
30996 wxMenu
*arg1
= (wxMenu
*) 0 ;
30997 wxEvtHandler
*result
;
30998 PyObject
* obj0
= 0 ;
30999 char *kwnames
[] = {
31000 (char *) "self", NULL
31003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetEventHandler",kwnames
,&obj0
)) goto fail
;
31004 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31005 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31008 result
= (wxEvtHandler
*)((wxMenu
const *)arg1
)->GetEventHandler();
31010 wxPyEndAllowThreads(__tstate
);
31011 if (PyErr_Occurred()) SWIG_fail
;
31014 resultobj
= wxPyMake_wxObject(result
, 0);
31022 static PyObject
*_wrap_Menu_SetInvokingWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31023 PyObject
*resultobj
;
31024 wxMenu
*arg1
= (wxMenu
*) 0 ;
31025 wxWindow
*arg2
= (wxWindow
*) 0 ;
31026 PyObject
* obj0
= 0 ;
31027 PyObject
* obj1
= 0 ;
31028 char *kwnames
[] = {
31029 (char *) "self",(char *) "win", NULL
31032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetInvokingWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
31033 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31034 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31035 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
31036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31039 (arg1
)->SetInvokingWindow(arg2
);
31041 wxPyEndAllowThreads(__tstate
);
31042 if (PyErr_Occurred()) SWIG_fail
;
31044 Py_INCREF(Py_None
); resultobj
= Py_None
;
31051 static PyObject
*_wrap_Menu_GetInvokingWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31052 PyObject
*resultobj
;
31053 wxMenu
*arg1
= (wxMenu
*) 0 ;
31055 PyObject
* obj0
= 0 ;
31056 char *kwnames
[] = {
31057 (char *) "self", NULL
31060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetInvokingWindow",kwnames
,&obj0
)) goto fail
;
31061 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31062 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31065 result
= (wxWindow
*)((wxMenu
const *)arg1
)->GetInvokingWindow();
31067 wxPyEndAllowThreads(__tstate
);
31068 if (PyErr_Occurred()) SWIG_fail
;
31071 resultobj
= wxPyMake_wxObject(result
, 0);
31079 static PyObject
*_wrap_Menu_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31080 PyObject
*resultobj
;
31081 wxMenu
*arg1
= (wxMenu
*) 0 ;
31083 PyObject
* obj0
= 0 ;
31084 char *kwnames
[] = {
31085 (char *) "self", NULL
31088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetStyle",kwnames
,&obj0
)) goto fail
;
31089 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31090 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31093 result
= (long)((wxMenu
const *)arg1
)->GetStyle();
31095 wxPyEndAllowThreads(__tstate
);
31096 if (PyErr_Occurred()) SWIG_fail
;
31098 resultobj
= SWIG_From_long((long)result
);
31105 static PyObject
*_wrap_Menu_UpdateUI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31106 PyObject
*resultobj
;
31107 wxMenu
*arg1
= (wxMenu
*) 0 ;
31108 wxEvtHandler
*arg2
= (wxEvtHandler
*) NULL
;
31109 PyObject
* obj0
= 0 ;
31110 PyObject
* obj1
= 0 ;
31111 char *kwnames
[] = {
31112 (char *) "self",(char *) "source", NULL
31115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Menu_UpdateUI",kwnames
,&obj0
,&obj1
)) goto fail
;
31116 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31117 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31119 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
31120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31124 (arg1
)->UpdateUI(arg2
);
31126 wxPyEndAllowThreads(__tstate
);
31127 if (PyErr_Occurred()) SWIG_fail
;
31129 Py_INCREF(Py_None
); resultobj
= Py_None
;
31136 static PyObject
*_wrap_Menu_GetMenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31137 PyObject
*resultobj
;
31138 wxMenu
*arg1
= (wxMenu
*) 0 ;
31140 PyObject
* obj0
= 0 ;
31141 char *kwnames
[] = {
31142 (char *) "self", NULL
31145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuBar",kwnames
,&obj0
)) goto fail
;
31146 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31147 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31150 result
= (wxMenuBar
*)((wxMenu
const *)arg1
)->GetMenuBar();
31152 wxPyEndAllowThreads(__tstate
);
31153 if (PyErr_Occurred()) SWIG_fail
;
31156 resultobj
= wxPyMake_wxObject(result
, 0);
31164 static PyObject
*_wrap_Menu_Attach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31165 PyObject
*resultobj
;
31166 wxMenu
*arg1
= (wxMenu
*) 0 ;
31167 wxMenuBarBase
*arg2
= (wxMenuBarBase
*) 0 ;
31168 PyObject
* obj0
= 0 ;
31169 PyObject
* obj1
= 0 ;
31170 char *kwnames
[] = {
31171 (char *) "self",(char *) "menubar", NULL
31174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
31175 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31176 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31177 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuBarBase
,
31178 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31181 (arg1
)->Attach(arg2
);
31183 wxPyEndAllowThreads(__tstate
);
31184 if (PyErr_Occurred()) SWIG_fail
;
31186 Py_INCREF(Py_None
); resultobj
= Py_None
;
31193 static PyObject
*_wrap_Menu_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31194 PyObject
*resultobj
;
31195 wxMenu
*arg1
= (wxMenu
*) 0 ;
31196 PyObject
* obj0
= 0 ;
31197 char *kwnames
[] = {
31198 (char *) "self", NULL
31201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Detach",kwnames
,&obj0
)) goto fail
;
31202 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31203 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31208 wxPyEndAllowThreads(__tstate
);
31209 if (PyErr_Occurred()) SWIG_fail
;
31211 Py_INCREF(Py_None
); resultobj
= Py_None
;
31218 static PyObject
*_wrap_Menu_IsAttached(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31219 PyObject
*resultobj
;
31220 wxMenu
*arg1
= (wxMenu
*) 0 ;
31222 PyObject
* obj0
= 0 ;
31223 char *kwnames
[] = {
31224 (char *) "self", NULL
31227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_IsAttached",kwnames
,&obj0
)) goto fail
;
31228 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31232 result
= (bool)((wxMenu
const *)arg1
)->IsAttached();
31234 wxPyEndAllowThreads(__tstate
);
31235 if (PyErr_Occurred()) SWIG_fail
;
31238 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31246 static PyObject
*_wrap_Menu_SetParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31247 PyObject
*resultobj
;
31248 wxMenu
*arg1
= (wxMenu
*) 0 ;
31249 wxMenu
*arg2
= (wxMenu
*) 0 ;
31250 PyObject
* obj0
= 0 ;
31251 PyObject
* obj1
= 0 ;
31252 char *kwnames
[] = {
31253 (char *) "self",(char *) "parent", NULL
31256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetParent",kwnames
,&obj0
,&obj1
)) goto fail
;
31257 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31258 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31259 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
31260 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31263 (arg1
)->SetParent(arg2
);
31265 wxPyEndAllowThreads(__tstate
);
31266 if (PyErr_Occurred()) SWIG_fail
;
31268 Py_INCREF(Py_None
); resultobj
= Py_None
;
31275 static PyObject
*_wrap_Menu_GetParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31276 PyObject
*resultobj
;
31277 wxMenu
*arg1
= (wxMenu
*) 0 ;
31279 PyObject
* obj0
= 0 ;
31280 char *kwnames
[] = {
31281 (char *) "self", NULL
31284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetParent",kwnames
,&obj0
)) goto fail
;
31285 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31289 result
= (wxMenu
*)((wxMenu
const *)arg1
)->GetParent();
31291 wxPyEndAllowThreads(__tstate
);
31292 if (PyErr_Occurred()) SWIG_fail
;
31295 resultobj
= wxPyMake_wxObject(result
, 0);
31303 static PyObject
* Menu_swigregister(PyObject
*, PyObject
*args
) {
31305 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31306 SWIG_TypeClientData(SWIGTYPE_p_wxMenu
, obj
);
31308 return Py_BuildValue((char *)"");
31310 static PyObject
*_wrap_new_MenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31311 PyObject
*resultobj
;
31312 long arg1
= (long) 0 ;
31314 PyObject
* obj0
= 0 ;
31315 char *kwnames
[] = {
31316 (char *) "style", NULL
31319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MenuBar",kwnames
,&obj0
)) goto fail
;
31321 arg1
= (long)SWIG_As_long(obj0
);
31322 if (PyErr_Occurred()) SWIG_fail
;
31325 if (!wxPyCheckForApp()) SWIG_fail
;
31326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31327 result
= (wxMenuBar
*)new wxMenuBar(arg1
);
31329 wxPyEndAllowThreads(__tstate
);
31330 if (PyErr_Occurred()) SWIG_fail
;
31332 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenuBar
, 1);
31339 static PyObject
*_wrap_MenuBar_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31340 PyObject
*resultobj
;
31341 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31342 wxMenu
*arg2
= (wxMenu
*) 0 ;
31343 wxString
*arg3
= 0 ;
31345 bool temp3
= False
;
31346 PyObject
* obj0
= 0 ;
31347 PyObject
* obj1
= 0 ;
31348 PyObject
* obj2
= 0 ;
31349 char *kwnames
[] = {
31350 (char *) "self",(char *) "menu",(char *) "title", NULL
31353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31354 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31356 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
31357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31359 arg3
= wxString_in_helper(obj2
);
31360 if (arg3
== NULL
) SWIG_fail
;
31364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31365 result
= (bool)(arg1
)->Append(arg2
,(wxString
const &)*arg3
);
31367 wxPyEndAllowThreads(__tstate
);
31368 if (PyErr_Occurred()) SWIG_fail
;
31371 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31387 static PyObject
*_wrap_MenuBar_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31388 PyObject
*resultobj
;
31389 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31391 wxMenu
*arg3
= (wxMenu
*) 0 ;
31392 wxString
*arg4
= 0 ;
31394 bool temp4
= False
;
31395 PyObject
* obj0
= 0 ;
31396 PyObject
* obj1
= 0 ;
31397 PyObject
* obj2
= 0 ;
31398 PyObject
* obj3
= 0 ;
31399 char *kwnames
[] = {
31400 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
31403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
31404 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31405 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31406 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
31407 if (PyErr_Occurred()) SWIG_fail
;
31408 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenu
,
31409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31411 arg4
= wxString_in_helper(obj3
);
31412 if (arg4
== NULL
) SWIG_fail
;
31416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31417 result
= (bool)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
);
31419 wxPyEndAllowThreads(__tstate
);
31420 if (PyErr_Occurred()) SWIG_fail
;
31423 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31439 static PyObject
*_wrap_MenuBar_GetMenuCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31440 PyObject
*resultobj
;
31441 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31443 PyObject
* obj0
= 0 ;
31444 char *kwnames
[] = {
31445 (char *) "self", NULL
31448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetMenuCount",kwnames
,&obj0
)) goto fail
;
31449 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31450 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31453 result
= (size_t)((wxMenuBar
const *)arg1
)->GetMenuCount();
31455 wxPyEndAllowThreads(__tstate
);
31456 if (PyErr_Occurred()) SWIG_fail
;
31458 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
31465 static PyObject
*_wrap_MenuBar_GetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31466 PyObject
*resultobj
;
31467 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31470 PyObject
* obj0
= 0 ;
31471 PyObject
* obj1
= 0 ;
31472 char *kwnames
[] = {
31473 (char *) "self",(char *) "pos", NULL
31476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
31477 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31478 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31479 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
31480 if (PyErr_Occurred()) SWIG_fail
;
31482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31483 result
= (wxMenu
*)((wxMenuBar
const *)arg1
)->GetMenu(arg2
);
31485 wxPyEndAllowThreads(__tstate
);
31486 if (PyErr_Occurred()) SWIG_fail
;
31489 resultobj
= wxPyMake_wxObject(result
, 0);
31497 static PyObject
*_wrap_MenuBar_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31498 PyObject
*resultobj
;
31499 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31501 wxMenu
*arg3
= (wxMenu
*) 0 ;
31502 wxString
*arg4
= 0 ;
31504 bool temp4
= False
;
31505 PyObject
* obj0
= 0 ;
31506 PyObject
* obj1
= 0 ;
31507 PyObject
* obj2
= 0 ;
31508 PyObject
* obj3
= 0 ;
31509 char *kwnames
[] = {
31510 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
31513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
31514 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31516 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
31517 if (PyErr_Occurred()) SWIG_fail
;
31518 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenu
,
31519 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31521 arg4
= wxString_in_helper(obj3
);
31522 if (arg4
== NULL
) SWIG_fail
;
31526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31527 result
= (wxMenu
*)(arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
31529 wxPyEndAllowThreads(__tstate
);
31530 if (PyErr_Occurred()) SWIG_fail
;
31533 resultobj
= wxPyMake_wxObject(result
, 0);
31549 static PyObject
*_wrap_MenuBar_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31550 PyObject
*resultobj
;
31551 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31554 PyObject
* obj0
= 0 ;
31555 PyObject
* obj1
= 0 ;
31556 char *kwnames
[] = {
31557 (char *) "self",(char *) "pos", NULL
31560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
31561 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31562 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31563 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
31564 if (PyErr_Occurred()) SWIG_fail
;
31566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31567 result
= (wxMenu
*)(arg1
)->Remove(arg2
);
31569 wxPyEndAllowThreads(__tstate
);
31570 if (PyErr_Occurred()) SWIG_fail
;
31573 resultobj
= wxPyMake_wxObject(result
, 0);
31581 static PyObject
*_wrap_MenuBar_EnableTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31582 PyObject
*resultobj
;
31583 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31586 PyObject
* obj0
= 0 ;
31587 PyObject
* obj1
= 0 ;
31588 PyObject
* obj2
= 0 ;
31589 char *kwnames
[] = {
31590 (char *) "self",(char *) "pos",(char *) "enable", NULL
31593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_EnableTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31594 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31595 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31596 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
31597 if (PyErr_Occurred()) SWIG_fail
;
31598 arg3
= (bool)SWIG_As_bool(obj2
);
31599 if (PyErr_Occurred()) SWIG_fail
;
31601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31602 (arg1
)->EnableTop(arg2
,arg3
);
31604 wxPyEndAllowThreads(__tstate
);
31605 if (PyErr_Occurred()) SWIG_fail
;
31607 Py_INCREF(Py_None
); resultobj
= Py_None
;
31614 static PyObject
*_wrap_MenuBar_IsEnabledTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31615 PyObject
*resultobj
;
31616 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31619 PyObject
* obj0
= 0 ;
31620 PyObject
* obj1
= 0 ;
31621 char *kwnames
[] = {
31622 (char *) "self",(char *) "pos", NULL
31625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabledTop",kwnames
,&obj0
,&obj1
)) goto fail
;
31626 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31627 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31628 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
31629 if (PyErr_Occurred()) SWIG_fail
;
31631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31632 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabledTop(arg2
);
31634 wxPyEndAllowThreads(__tstate
);
31635 if (PyErr_Occurred()) SWIG_fail
;
31638 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31646 static PyObject
*_wrap_MenuBar_SetLabelTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31647 PyObject
*resultobj
;
31648 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31650 wxString
*arg3
= 0 ;
31651 bool temp3
= False
;
31652 PyObject
* obj0
= 0 ;
31653 PyObject
* obj1
= 0 ;
31654 PyObject
* obj2
= 0 ;
31655 char *kwnames
[] = {
31656 (char *) "self",(char *) "pos",(char *) "label", NULL
31659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabelTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31660 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31661 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31662 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
31663 if (PyErr_Occurred()) SWIG_fail
;
31665 arg3
= wxString_in_helper(obj2
);
31666 if (arg3
== NULL
) SWIG_fail
;
31670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31671 (arg1
)->SetLabelTop(arg2
,(wxString
const &)*arg3
);
31673 wxPyEndAllowThreads(__tstate
);
31674 if (PyErr_Occurred()) SWIG_fail
;
31676 Py_INCREF(Py_None
); resultobj
= Py_None
;
31691 static PyObject
*_wrap_MenuBar_GetLabelTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31692 PyObject
*resultobj
;
31693 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31696 PyObject
* obj0
= 0 ;
31697 PyObject
* obj1
= 0 ;
31698 char *kwnames
[] = {
31699 (char *) "self",(char *) "pos", NULL
31702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabelTop",kwnames
,&obj0
,&obj1
)) goto fail
;
31703 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31704 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31705 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
31706 if (PyErr_Occurred()) SWIG_fail
;
31708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31709 result
= ((wxMenuBar
const *)arg1
)->GetLabelTop(arg2
);
31711 wxPyEndAllowThreads(__tstate
);
31712 if (PyErr_Occurred()) SWIG_fail
;
31716 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31718 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31727 static PyObject
*_wrap_MenuBar_FindMenuItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31728 PyObject
*resultobj
;
31729 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31730 wxString
*arg2
= 0 ;
31731 wxString
*arg3
= 0 ;
31733 bool temp2
= False
;
31734 bool temp3
= False
;
31735 PyObject
* obj0
= 0 ;
31736 PyObject
* obj1
= 0 ;
31737 PyObject
* obj2
= 0 ;
31738 char *kwnames
[] = {
31739 (char *) "self",(char *) "menu",(char *) "item", NULL
31742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_FindMenuItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31743 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31744 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31746 arg2
= wxString_in_helper(obj1
);
31747 if (arg2
== NULL
) SWIG_fail
;
31751 arg3
= wxString_in_helper(obj2
);
31752 if (arg3
== NULL
) SWIG_fail
;
31756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31757 result
= (int)((wxMenuBar
const *)arg1
)->FindMenuItem((wxString
const &)*arg2
,(wxString
const &)*arg3
);
31759 wxPyEndAllowThreads(__tstate
);
31760 if (PyErr_Occurred()) SWIG_fail
;
31762 resultobj
= SWIG_From_int((int)result
);
31785 static PyObject
*_wrap_MenuBar_FindItemById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31786 PyObject
*resultobj
;
31787 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31789 wxMenuItem
*result
;
31790 PyObject
* obj0
= 0 ;
31791 PyObject
* obj1
= 0 ;
31792 char *kwnames
[] = {
31793 (char *) "self",(char *) "id", NULL
31796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindItemById",kwnames
,&obj0
,&obj1
)) goto fail
;
31797 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31799 arg2
= (int)SWIG_As_int(obj1
);
31800 if (PyErr_Occurred()) SWIG_fail
;
31802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31803 result
= (wxMenuItem
*)((wxMenuBar
const *)arg1
)->FindItem(arg2
);
31805 wxPyEndAllowThreads(__tstate
);
31806 if (PyErr_Occurred()) SWIG_fail
;
31809 resultobj
= wxPyMake_wxObject(result
, 0);
31817 static PyObject
*_wrap_MenuBar_FindMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31818 PyObject
*resultobj
;
31819 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31820 wxString
*arg2
= 0 ;
31822 bool temp2
= False
;
31823 PyObject
* obj0
= 0 ;
31824 PyObject
* obj1
= 0 ;
31825 char *kwnames
[] = {
31826 (char *) "self",(char *) "title", NULL
31829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
31830 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31831 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31833 arg2
= wxString_in_helper(obj1
);
31834 if (arg2
== NULL
) SWIG_fail
;
31838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31839 result
= (int)((wxMenuBar
const *)arg1
)->FindMenu((wxString
const &)*arg2
);
31841 wxPyEndAllowThreads(__tstate
);
31842 if (PyErr_Occurred()) SWIG_fail
;
31844 resultobj
= SWIG_From_int((int)result
);
31859 static PyObject
*_wrap_MenuBar_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31860 PyObject
*resultobj
;
31861 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31864 PyObject
* obj0
= 0 ;
31865 PyObject
* obj1
= 0 ;
31866 PyObject
* obj2
= 0 ;
31867 char *kwnames
[] = {
31868 (char *) "self",(char *) "id",(char *) "enable", NULL
31871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31872 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31873 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31874 arg2
= (int)SWIG_As_int(obj1
);
31875 if (PyErr_Occurred()) SWIG_fail
;
31876 arg3
= (bool)SWIG_As_bool(obj2
);
31877 if (PyErr_Occurred()) SWIG_fail
;
31879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31880 (arg1
)->Enable(arg2
,arg3
);
31882 wxPyEndAllowThreads(__tstate
);
31883 if (PyErr_Occurred()) SWIG_fail
;
31885 Py_INCREF(Py_None
); resultobj
= Py_None
;
31892 static PyObject
*_wrap_MenuBar_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31893 PyObject
*resultobj
;
31894 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31897 PyObject
* obj0
= 0 ;
31898 PyObject
* obj1
= 0 ;
31899 PyObject
* obj2
= 0 ;
31900 char *kwnames
[] = {
31901 (char *) "self",(char *) "id",(char *) "check", NULL
31904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31905 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31906 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31907 arg2
= (int)SWIG_As_int(obj1
);
31908 if (PyErr_Occurred()) SWIG_fail
;
31909 arg3
= (bool)SWIG_As_bool(obj2
);
31910 if (PyErr_Occurred()) SWIG_fail
;
31912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31913 (arg1
)->Check(arg2
,arg3
);
31915 wxPyEndAllowThreads(__tstate
);
31916 if (PyErr_Occurred()) SWIG_fail
;
31918 Py_INCREF(Py_None
); resultobj
= Py_None
;
31925 static PyObject
*_wrap_MenuBar_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31926 PyObject
*resultobj
;
31927 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31930 PyObject
* obj0
= 0 ;
31931 PyObject
* obj1
= 0 ;
31932 char *kwnames
[] = {
31933 (char *) "self",(char *) "id", NULL
31936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
31937 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31938 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31939 arg2
= (int)SWIG_As_int(obj1
);
31940 if (PyErr_Occurred()) SWIG_fail
;
31942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31943 result
= (bool)((wxMenuBar
const *)arg1
)->IsChecked(arg2
);
31945 wxPyEndAllowThreads(__tstate
);
31946 if (PyErr_Occurred()) SWIG_fail
;
31949 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31957 static PyObject
*_wrap_MenuBar_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31958 PyObject
*resultobj
;
31959 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31962 PyObject
* obj0
= 0 ;
31963 PyObject
* obj1
= 0 ;
31964 char *kwnames
[] = {
31965 (char *) "self",(char *) "id", NULL
31968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
31969 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31970 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31971 arg2
= (int)SWIG_As_int(obj1
);
31972 if (PyErr_Occurred()) SWIG_fail
;
31974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31975 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabled(arg2
);
31977 wxPyEndAllowThreads(__tstate
);
31978 if (PyErr_Occurred()) SWIG_fail
;
31981 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31989 static PyObject
*_wrap_MenuBar_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31990 PyObject
*resultobj
;
31991 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31993 wxString
*arg3
= 0 ;
31994 bool temp3
= False
;
31995 PyObject
* obj0
= 0 ;
31996 PyObject
* obj1
= 0 ;
31997 PyObject
* obj2
= 0 ;
31998 char *kwnames
[] = {
31999 (char *) "self",(char *) "id",(char *) "label", NULL
32002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32003 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32004 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32005 arg2
= (int)SWIG_As_int(obj1
);
32006 if (PyErr_Occurred()) SWIG_fail
;
32008 arg3
= wxString_in_helper(obj2
);
32009 if (arg3
== NULL
) SWIG_fail
;
32013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32014 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
32016 wxPyEndAllowThreads(__tstate
);
32017 if (PyErr_Occurred()) SWIG_fail
;
32019 Py_INCREF(Py_None
); resultobj
= Py_None
;
32034 static PyObject
*_wrap_MenuBar_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32035 PyObject
*resultobj
;
32036 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32039 PyObject
* obj0
= 0 ;
32040 PyObject
* obj1
= 0 ;
32041 char *kwnames
[] = {
32042 (char *) "self",(char *) "id", NULL
32045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
32046 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32047 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32048 arg2
= (int)SWIG_As_int(obj1
);
32049 if (PyErr_Occurred()) SWIG_fail
;
32051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32052 result
= ((wxMenuBar
const *)arg1
)->GetLabel(arg2
);
32054 wxPyEndAllowThreads(__tstate
);
32055 if (PyErr_Occurred()) SWIG_fail
;
32059 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32061 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32070 static PyObject
*_wrap_MenuBar_SetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32071 PyObject
*resultobj
;
32072 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32074 wxString
*arg3
= 0 ;
32075 bool temp3
= False
;
32076 PyObject
* obj0
= 0 ;
32077 PyObject
* obj1
= 0 ;
32078 PyObject
* obj2
= 0 ;
32079 char *kwnames
[] = {
32080 (char *) "self",(char *) "id",(char *) "helpString", NULL
32083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32084 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32085 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32086 arg2
= (int)SWIG_As_int(obj1
);
32087 if (PyErr_Occurred()) SWIG_fail
;
32089 arg3
= wxString_in_helper(obj2
);
32090 if (arg3
== NULL
) SWIG_fail
;
32094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32095 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
32097 wxPyEndAllowThreads(__tstate
);
32098 if (PyErr_Occurred()) SWIG_fail
;
32100 Py_INCREF(Py_None
); resultobj
= Py_None
;
32115 static PyObject
*_wrap_MenuBar_GetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32116 PyObject
*resultobj
;
32117 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32120 PyObject
* obj0
= 0 ;
32121 PyObject
* obj1
= 0 ;
32122 char *kwnames
[] = {
32123 (char *) "self",(char *) "id", NULL
32126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetHelpString",kwnames
,&obj0
,&obj1
)) goto fail
;
32127 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32128 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32129 arg2
= (int)SWIG_As_int(obj1
);
32130 if (PyErr_Occurred()) SWIG_fail
;
32132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32133 result
= ((wxMenuBar
const *)arg1
)->GetHelpString(arg2
);
32135 wxPyEndAllowThreads(__tstate
);
32136 if (PyErr_Occurred()) SWIG_fail
;
32140 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32142 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32151 static PyObject
*_wrap_MenuBar_GetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32152 PyObject
*resultobj
;
32153 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32155 PyObject
* obj0
= 0 ;
32156 char *kwnames
[] = {
32157 (char *) "self", NULL
32160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetFrame",kwnames
,&obj0
)) goto fail
;
32161 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32165 result
= (wxFrame
*)((wxMenuBar
const *)arg1
)->GetFrame();
32167 wxPyEndAllowThreads(__tstate
);
32168 if (PyErr_Occurred()) SWIG_fail
;
32171 resultobj
= wxPyMake_wxObject(result
, 0);
32179 static PyObject
*_wrap_MenuBar_IsAttached(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32180 PyObject
*resultobj
;
32181 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32183 PyObject
* obj0
= 0 ;
32184 char *kwnames
[] = {
32185 (char *) "self", NULL
32188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_IsAttached",kwnames
,&obj0
)) goto fail
;
32189 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32190 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32193 result
= (bool)((wxMenuBar
const *)arg1
)->IsAttached();
32195 wxPyEndAllowThreads(__tstate
);
32196 if (PyErr_Occurred()) SWIG_fail
;
32199 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32207 static PyObject
*_wrap_MenuBar_Attach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32208 PyObject
*resultobj
;
32209 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32210 wxFrame
*arg2
= (wxFrame
*) 0 ;
32211 PyObject
* obj0
= 0 ;
32212 PyObject
* obj1
= 0 ;
32213 char *kwnames
[] = {
32214 (char *) "self",(char *) "frame", NULL
32217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
32218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32220 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
32221 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32224 (arg1
)->Attach(arg2
);
32226 wxPyEndAllowThreads(__tstate
);
32227 if (PyErr_Occurred()) SWIG_fail
;
32229 Py_INCREF(Py_None
); resultobj
= Py_None
;
32236 static PyObject
*_wrap_MenuBar_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32237 PyObject
*resultobj
;
32238 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32239 PyObject
* obj0
= 0 ;
32240 char *kwnames
[] = {
32241 (char *) "self", NULL
32244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_Detach",kwnames
,&obj0
)) goto fail
;
32245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32251 wxPyEndAllowThreads(__tstate
);
32252 if (PyErr_Occurred()) SWIG_fail
;
32254 Py_INCREF(Py_None
); resultobj
= Py_None
;
32261 static PyObject
* MenuBar_swigregister(PyObject
*, PyObject
*args
) {
32263 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32264 SWIG_TypeClientData(SWIGTYPE_p_wxMenuBar
, obj
);
32266 return Py_BuildValue((char *)"");
32268 static PyObject
*_wrap_new_MenuItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32269 PyObject
*resultobj
;
32270 wxMenu
*arg1
= (wxMenu
*) NULL
;
32271 int arg2
= (int) wxID_ANY
;
32272 wxString
const &arg3_defvalue
= wxPyEmptyString
;
32273 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
32274 wxString
const &arg4_defvalue
= wxPyEmptyString
;
32275 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
32276 int arg5
= (int) wxITEM_NORMAL
;
32277 wxMenu
*arg6
= (wxMenu
*) NULL
;
32278 wxMenuItem
*result
;
32279 bool temp3
= False
;
32280 bool temp4
= False
;
32281 PyObject
* obj0
= 0 ;
32282 PyObject
* obj1
= 0 ;
32283 PyObject
* obj2
= 0 ;
32284 PyObject
* obj3
= 0 ;
32285 PyObject
* obj4
= 0 ;
32286 PyObject
* obj5
= 0 ;
32287 char *kwnames
[] = {
32288 (char *) "parentMenu",(char *) "id",(char *) "text",(char *) "help",(char *) "kind",(char *) "subMenu", NULL
32291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOO:new_MenuItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
32293 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
32294 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32297 arg2
= (int)SWIG_As_int(obj1
);
32298 if (PyErr_Occurred()) SWIG_fail
;
32302 arg3
= wxString_in_helper(obj2
);
32303 if (arg3
== NULL
) SWIG_fail
;
32309 arg4
= wxString_in_helper(obj3
);
32310 if (arg4
== NULL
) SWIG_fail
;
32315 arg5
= (int)SWIG_As_int(obj4
);
32316 if (PyErr_Occurred()) SWIG_fail
;
32319 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxMenu
,
32320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32324 result
= (wxMenuItem
*)new wxMenuItem(arg1
,arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
,arg6
);
32326 wxPyEndAllowThreads(__tstate
);
32327 if (PyErr_Occurred()) SWIG_fail
;
32330 resultobj
= wxPyMake_wxObject(result
, 1);
32354 static PyObject
*_wrap_MenuItem_GetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32355 PyObject
*resultobj
;
32356 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32358 PyObject
* obj0
= 0 ;
32359 char *kwnames
[] = {
32360 (char *) "self", NULL
32363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetMenu",kwnames
,&obj0
)) goto fail
;
32364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32368 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetMenu();
32370 wxPyEndAllowThreads(__tstate
);
32371 if (PyErr_Occurred()) SWIG_fail
;
32374 resultobj
= wxPyMake_wxObject(result
, 0);
32382 static PyObject
*_wrap_MenuItem_SetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32383 PyObject
*resultobj
;
32384 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32385 wxMenu
*arg2
= (wxMenu
*) 0 ;
32386 PyObject
* obj0
= 0 ;
32387 PyObject
* obj1
= 0 ;
32388 char *kwnames
[] = {
32389 (char *) "self",(char *) "menu", NULL
32392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
32393 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32394 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32395 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
32396 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32399 (arg1
)->SetMenu(arg2
);
32401 wxPyEndAllowThreads(__tstate
);
32402 if (PyErr_Occurred()) SWIG_fail
;
32404 Py_INCREF(Py_None
); resultobj
= Py_None
;
32411 static PyObject
*_wrap_MenuItem_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32412 PyObject
*resultobj
;
32413 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32415 PyObject
* obj0
= 0 ;
32416 PyObject
* obj1
= 0 ;
32417 char *kwnames
[] = {
32418 (char *) "self",(char *) "id", NULL
32421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
32422 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32423 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32424 arg2
= (int)SWIG_As_int(obj1
);
32425 if (PyErr_Occurred()) SWIG_fail
;
32427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32428 (arg1
)->SetId(arg2
);
32430 wxPyEndAllowThreads(__tstate
);
32431 if (PyErr_Occurred()) SWIG_fail
;
32433 Py_INCREF(Py_None
); resultobj
= Py_None
;
32440 static PyObject
*_wrap_MenuItem_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32441 PyObject
*resultobj
;
32442 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32444 PyObject
* obj0
= 0 ;
32445 char *kwnames
[] = {
32446 (char *) "self", NULL
32449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetId",kwnames
,&obj0
)) goto fail
;
32450 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32451 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32454 result
= (int)((wxMenuItem
const *)arg1
)->GetId();
32456 wxPyEndAllowThreads(__tstate
);
32457 if (PyErr_Occurred()) SWIG_fail
;
32459 resultobj
= SWIG_From_int((int)result
);
32466 static PyObject
*_wrap_MenuItem_IsSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32467 PyObject
*resultobj
;
32468 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32470 PyObject
* obj0
= 0 ;
32471 char *kwnames
[] = {
32472 (char *) "self", NULL
32475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSeparator",kwnames
,&obj0
)) goto fail
;
32476 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32477 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32480 result
= (bool)((wxMenuItem
const *)arg1
)->IsSeparator();
32482 wxPyEndAllowThreads(__tstate
);
32483 if (PyErr_Occurred()) SWIG_fail
;
32486 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32494 static PyObject
*_wrap_MenuItem_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32495 PyObject
*resultobj
;
32496 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32497 wxString
*arg2
= 0 ;
32498 bool temp2
= False
;
32499 PyObject
* obj0
= 0 ;
32500 PyObject
* obj1
= 0 ;
32501 char *kwnames
[] = {
32502 (char *) "self",(char *) "str", NULL
32505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
32506 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32507 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32509 arg2
= wxString_in_helper(obj1
);
32510 if (arg2
== NULL
) SWIG_fail
;
32514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32515 (arg1
)->SetText((wxString
const &)*arg2
);
32517 wxPyEndAllowThreads(__tstate
);
32518 if (PyErr_Occurred()) SWIG_fail
;
32520 Py_INCREF(Py_None
); resultobj
= Py_None
;
32535 static PyObject
*_wrap_MenuItem_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32536 PyObject
*resultobj
;
32537 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32539 PyObject
* obj0
= 0 ;
32540 char *kwnames
[] = {
32541 (char *) "self", NULL
32544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabel",kwnames
,&obj0
)) goto fail
;
32545 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32546 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32549 result
= ((wxMenuItem
const *)arg1
)->GetLabel();
32551 wxPyEndAllowThreads(__tstate
);
32552 if (PyErr_Occurred()) SWIG_fail
;
32556 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32558 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32567 static PyObject
*_wrap_MenuItem_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32568 PyObject
*resultobj
;
32569 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32571 PyObject
* obj0
= 0 ;
32572 char *kwnames
[] = {
32573 (char *) "self", NULL
32576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetText",kwnames
,&obj0
)) goto fail
;
32577 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32578 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32582 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetText();
32583 result
= (wxString
*) &_result_ref
;
32586 wxPyEndAllowThreads(__tstate
);
32587 if (PyErr_Occurred()) SWIG_fail
;
32591 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
32593 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
32602 static PyObject
*_wrap_MenuItem_GetLabelFromText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32603 PyObject
*resultobj
;
32604 wxString
*arg1
= 0 ;
32606 bool temp1
= False
;
32607 PyObject
* obj0
= 0 ;
32608 char *kwnames
[] = {
32609 (char *) "text", NULL
32612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabelFromText",kwnames
,&obj0
)) goto fail
;
32614 arg1
= wxString_in_helper(obj0
);
32615 if (arg1
== NULL
) SWIG_fail
;
32619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32620 result
= wxMenuItem::GetLabelFromText((wxString
const &)*arg1
);
32622 wxPyEndAllowThreads(__tstate
);
32623 if (PyErr_Occurred()) SWIG_fail
;
32627 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32629 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32646 static PyObject
*_wrap_MenuItem_GetKind(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32647 PyObject
*resultobj
;
32648 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32650 PyObject
* obj0
= 0 ;
32651 char *kwnames
[] = {
32652 (char *) "self", NULL
32655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetKind",kwnames
,&obj0
)) goto fail
;
32656 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32657 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32660 result
= (int)((wxMenuItem
const *)arg1
)->GetKind();
32662 wxPyEndAllowThreads(__tstate
);
32663 if (PyErr_Occurred()) SWIG_fail
;
32665 resultobj
= SWIG_From_int((int)result
);
32672 static PyObject
*_wrap_MenuItem_SetKind(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32673 PyObject
*resultobj
;
32674 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32676 PyObject
* obj0
= 0 ;
32677 PyObject
* obj1
= 0 ;
32678 char *kwnames
[] = {
32679 (char *) "self",(char *) "kind", NULL
32682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetKind",kwnames
,&obj0
,&obj1
)) goto fail
;
32683 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32684 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32685 arg2
= (int)SWIG_As_int(obj1
);
32686 if (PyErr_Occurred()) SWIG_fail
;
32688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32689 (arg1
)->SetKind((wxItemKind
)arg2
);
32691 wxPyEndAllowThreads(__tstate
);
32692 if (PyErr_Occurred()) SWIG_fail
;
32694 Py_INCREF(Py_None
); resultobj
= Py_None
;
32701 static PyObject
*_wrap_MenuItem_SetCheckable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32702 PyObject
*resultobj
;
32703 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32705 PyObject
* obj0
= 0 ;
32706 PyObject
* obj1
= 0 ;
32707 char *kwnames
[] = {
32708 (char *) "self",(char *) "checkable", NULL
32711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetCheckable",kwnames
,&obj0
,&obj1
)) goto fail
;
32712 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32713 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32714 arg2
= (bool)SWIG_As_bool(obj1
);
32715 if (PyErr_Occurred()) SWIG_fail
;
32717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32718 (arg1
)->SetCheckable(arg2
);
32720 wxPyEndAllowThreads(__tstate
);
32721 if (PyErr_Occurred()) SWIG_fail
;
32723 Py_INCREF(Py_None
); resultobj
= Py_None
;
32730 static PyObject
*_wrap_MenuItem_IsCheckable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32731 PyObject
*resultobj
;
32732 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32734 PyObject
* obj0
= 0 ;
32735 char *kwnames
[] = {
32736 (char *) "self", NULL
32739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsCheckable",kwnames
,&obj0
)) goto fail
;
32740 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32741 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32744 result
= (bool)((wxMenuItem
const *)arg1
)->IsCheckable();
32746 wxPyEndAllowThreads(__tstate
);
32747 if (PyErr_Occurred()) SWIG_fail
;
32750 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32758 static PyObject
*_wrap_MenuItem_IsSubMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32759 PyObject
*resultobj
;
32760 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32762 PyObject
* obj0
= 0 ;
32763 char *kwnames
[] = {
32764 (char *) "self", NULL
32767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSubMenu",kwnames
,&obj0
)) goto fail
;
32768 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32769 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32772 result
= (bool)((wxMenuItem
const *)arg1
)->IsSubMenu();
32774 wxPyEndAllowThreads(__tstate
);
32775 if (PyErr_Occurred()) SWIG_fail
;
32778 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32786 static PyObject
*_wrap_MenuItem_SetSubMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32787 PyObject
*resultobj
;
32788 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32789 wxMenu
*arg2
= (wxMenu
*) 0 ;
32790 PyObject
* obj0
= 0 ;
32791 PyObject
* obj1
= 0 ;
32792 char *kwnames
[] = {
32793 (char *) "self",(char *) "menu", NULL
32796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetSubMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
32797 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32799 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
32800 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32803 (arg1
)->SetSubMenu(arg2
);
32805 wxPyEndAllowThreads(__tstate
);
32806 if (PyErr_Occurred()) SWIG_fail
;
32808 Py_INCREF(Py_None
); resultobj
= Py_None
;
32815 static PyObject
*_wrap_MenuItem_GetSubMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32816 PyObject
*resultobj
;
32817 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32819 PyObject
* obj0
= 0 ;
32820 char *kwnames
[] = {
32821 (char *) "self", NULL
32824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetSubMenu",kwnames
,&obj0
)) goto fail
;
32825 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32826 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32829 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetSubMenu();
32831 wxPyEndAllowThreads(__tstate
);
32832 if (PyErr_Occurred()) SWIG_fail
;
32835 resultobj
= wxPyMake_wxObject(result
, 0);
32843 static PyObject
*_wrap_MenuItem_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32844 PyObject
*resultobj
;
32845 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32846 bool arg2
= (bool) True
;
32847 PyObject
* obj0
= 0 ;
32848 PyObject
* obj1
= 0 ;
32849 char *kwnames
[] = {
32850 (char *) "self",(char *) "enable", NULL
32853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
32854 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32855 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32857 arg2
= (bool)SWIG_As_bool(obj1
);
32858 if (PyErr_Occurred()) SWIG_fail
;
32861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32862 (arg1
)->Enable(arg2
);
32864 wxPyEndAllowThreads(__tstate
);
32865 if (PyErr_Occurred()) SWIG_fail
;
32867 Py_INCREF(Py_None
); resultobj
= Py_None
;
32874 static PyObject
*_wrap_MenuItem_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32875 PyObject
*resultobj
;
32876 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32878 PyObject
* obj0
= 0 ;
32879 char *kwnames
[] = {
32880 (char *) "self", NULL
32883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsEnabled",kwnames
,&obj0
)) goto fail
;
32884 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32885 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32888 result
= (bool)((wxMenuItem
const *)arg1
)->IsEnabled();
32890 wxPyEndAllowThreads(__tstate
);
32891 if (PyErr_Occurred()) SWIG_fail
;
32894 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32902 static PyObject
*_wrap_MenuItem_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32903 PyObject
*resultobj
;
32904 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32905 bool arg2
= (bool) True
;
32906 PyObject
* obj0
= 0 ;
32907 PyObject
* obj1
= 0 ;
32908 char *kwnames
[] = {
32909 (char *) "self",(char *) "check", NULL
32912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
32913 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32914 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32916 arg2
= (bool)SWIG_As_bool(obj1
);
32917 if (PyErr_Occurred()) SWIG_fail
;
32920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32921 (arg1
)->Check(arg2
);
32923 wxPyEndAllowThreads(__tstate
);
32924 if (PyErr_Occurred()) SWIG_fail
;
32926 Py_INCREF(Py_None
); resultobj
= Py_None
;
32933 static PyObject
*_wrap_MenuItem_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32934 PyObject
*resultobj
;
32935 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32937 PyObject
* obj0
= 0 ;
32938 char *kwnames
[] = {
32939 (char *) "self", NULL
32942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsChecked",kwnames
,&obj0
)) goto fail
;
32943 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32944 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32947 result
= (bool)((wxMenuItem
const *)arg1
)->IsChecked();
32949 wxPyEndAllowThreads(__tstate
);
32950 if (PyErr_Occurred()) SWIG_fail
;
32953 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32961 static PyObject
*_wrap_MenuItem_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32962 PyObject
*resultobj
;
32963 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32964 PyObject
* obj0
= 0 ;
32965 char *kwnames
[] = {
32966 (char *) "self", NULL
32969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_Toggle",kwnames
,&obj0
)) goto fail
;
32970 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32971 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32976 wxPyEndAllowThreads(__tstate
);
32977 if (PyErr_Occurred()) SWIG_fail
;
32979 Py_INCREF(Py_None
); resultobj
= Py_None
;
32986 static PyObject
*_wrap_MenuItem_SetHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32987 PyObject
*resultobj
;
32988 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32989 wxString
*arg2
= 0 ;
32990 bool temp2
= False
;
32991 PyObject
* obj0
= 0 ;
32992 PyObject
* obj1
= 0 ;
32993 char *kwnames
[] = {
32994 (char *) "self",(char *) "str", NULL
32997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
32998 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32999 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33001 arg2
= wxString_in_helper(obj1
);
33002 if (arg2
== NULL
) SWIG_fail
;
33006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33007 (arg1
)->SetHelp((wxString
const &)*arg2
);
33009 wxPyEndAllowThreads(__tstate
);
33010 if (PyErr_Occurred()) SWIG_fail
;
33012 Py_INCREF(Py_None
); resultobj
= Py_None
;
33027 static PyObject
*_wrap_MenuItem_GetHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33028 PyObject
*resultobj
;
33029 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33031 PyObject
* obj0
= 0 ;
33032 char *kwnames
[] = {
33033 (char *) "self", NULL
33036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetHelp",kwnames
,&obj0
)) goto fail
;
33037 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33038 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33042 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetHelp();
33043 result
= (wxString
*) &_result_ref
;
33046 wxPyEndAllowThreads(__tstate
);
33047 if (PyErr_Occurred()) SWIG_fail
;
33051 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
33053 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
33062 static PyObject
*_wrap_MenuItem_GetAccel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33063 PyObject
*resultobj
;
33064 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33065 wxAcceleratorEntry
*result
;
33066 PyObject
* obj0
= 0 ;
33067 char *kwnames
[] = {
33068 (char *) "self", NULL
33071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetAccel",kwnames
,&obj0
)) goto fail
;
33072 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33073 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33076 result
= (wxAcceleratorEntry
*)((wxMenuItem
const *)arg1
)->GetAccel();
33078 wxPyEndAllowThreads(__tstate
);
33079 if (PyErr_Occurred()) SWIG_fail
;
33081 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0);
33088 static PyObject
*_wrap_MenuItem_SetAccel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33089 PyObject
*resultobj
;
33090 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33091 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
33092 PyObject
* obj0
= 0 ;
33093 PyObject
* obj1
= 0 ;
33094 char *kwnames
[] = {
33095 (char *) "self",(char *) "accel", NULL
33098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetAccel",kwnames
,&obj0
,&obj1
)) goto fail
;
33099 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33100 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33101 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxAcceleratorEntry
,
33102 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33105 (arg1
)->SetAccel(arg2
);
33107 wxPyEndAllowThreads(__tstate
);
33108 if (PyErr_Occurred()) SWIG_fail
;
33110 Py_INCREF(Py_None
); resultobj
= Py_None
;
33117 static PyObject
*_wrap_MenuItem_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33118 PyObject
*resultobj
;
33119 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33121 PyObject
* obj0
= 0 ;
33122 PyObject
* obj1
= 0 ;
33123 char *kwnames
[] = {
33124 (char *) "self",(char *) "font", NULL
33127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
33128 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33130 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
33131 SWIG_POINTER_EXCEPTION
| 0)) == -1)
33133 if (arg2
== NULL
) {
33134 PyErr_SetString(PyExc_TypeError
,"null reference");
33138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33139 (arg1
)->SetFont((wxFont
const &)*arg2
);
33141 wxPyEndAllowThreads(__tstate
);
33142 if (PyErr_Occurred()) SWIG_fail
;
33144 Py_INCREF(Py_None
); resultobj
= Py_None
;
33151 static PyObject
*_wrap_MenuItem_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33152 PyObject
*resultobj
;
33153 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33155 PyObject
* obj0
= 0 ;
33156 char *kwnames
[] = {
33157 (char *) "self", NULL
33160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetFont",kwnames
,&obj0
)) goto fail
;
33161 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33165 result
= (arg1
)->GetFont();
33167 wxPyEndAllowThreads(__tstate
);
33168 if (PyErr_Occurred()) SWIG_fail
;
33171 wxFont
* resultptr
;
33172 resultptr
= new wxFont((wxFont
&) result
);
33173 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
33181 static PyObject
*_wrap_MenuItem_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33182 PyObject
*resultobj
;
33183 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33184 wxColour
*arg2
= 0 ;
33186 PyObject
* obj0
= 0 ;
33187 PyObject
* obj1
= 0 ;
33188 char *kwnames
[] = {
33189 (char *) "self",(char *) "colText", NULL
33192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
33193 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33194 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33197 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33201 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
33203 wxPyEndAllowThreads(__tstate
);
33204 if (PyErr_Occurred()) SWIG_fail
;
33206 Py_INCREF(Py_None
); resultobj
= Py_None
;
33213 static PyObject
*_wrap_MenuItem_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33214 PyObject
*resultobj
;
33215 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33217 PyObject
* obj0
= 0 ;
33218 char *kwnames
[] = {
33219 (char *) "self", NULL
33222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetTextColour",kwnames
,&obj0
)) goto fail
;
33223 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33224 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33227 result
= (arg1
)->GetTextColour();
33229 wxPyEndAllowThreads(__tstate
);
33230 if (PyErr_Occurred()) SWIG_fail
;
33233 wxColour
* resultptr
;
33234 resultptr
= new wxColour((wxColour
&) result
);
33235 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
33243 static PyObject
*_wrap_MenuItem_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33244 PyObject
*resultobj
;
33245 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33246 wxColour
*arg2
= 0 ;
33248 PyObject
* obj0
= 0 ;
33249 PyObject
* obj1
= 0 ;
33250 char *kwnames
[] = {
33251 (char *) "self",(char *) "colBack", NULL
33254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
33255 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33256 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33259 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33263 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
33265 wxPyEndAllowThreads(__tstate
);
33266 if (PyErr_Occurred()) SWIG_fail
;
33268 Py_INCREF(Py_None
); resultobj
= Py_None
;
33275 static PyObject
*_wrap_MenuItem_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33276 PyObject
*resultobj
;
33277 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33279 PyObject
* obj0
= 0 ;
33280 char *kwnames
[] = {
33281 (char *) "self", NULL
33284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
33285 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33289 result
= (arg1
)->GetBackgroundColour();
33291 wxPyEndAllowThreads(__tstate
);
33292 if (PyErr_Occurred()) SWIG_fail
;
33295 wxColour
* resultptr
;
33296 resultptr
= new wxColour((wxColour
&) result
);
33297 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
33305 static PyObject
*_wrap_MenuItem_SetBitmaps(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33306 PyObject
*resultobj
;
33307 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33308 wxBitmap
*arg2
= 0 ;
33309 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
33310 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
33311 PyObject
* obj0
= 0 ;
33312 PyObject
* obj1
= 0 ;
33313 PyObject
* obj2
= 0 ;
33314 char *kwnames
[] = {
33315 (char *) "self",(char *) "bmpChecked",(char *) "bmpUnchecked", NULL
33318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MenuItem_SetBitmaps",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33319 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33321 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
33322 SWIG_POINTER_EXCEPTION
| 0)) == -1)
33324 if (arg2
== NULL
) {
33325 PyErr_SetString(PyExc_TypeError
,"null reference");
33329 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
33330 SWIG_POINTER_EXCEPTION
| 0)) == -1)
33332 if (arg3
== NULL
) {
33333 PyErr_SetString(PyExc_TypeError
,"null reference");
33338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33339 (arg1
)->SetBitmaps((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
33341 wxPyEndAllowThreads(__tstate
);
33342 if (PyErr_Occurred()) SWIG_fail
;
33344 Py_INCREF(Py_None
); resultobj
= Py_None
;
33351 static PyObject
*_wrap_MenuItem_SetDisabledBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33352 PyObject
*resultobj
;
33353 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33354 wxBitmap
*arg2
= 0 ;
33355 PyObject
* obj0
= 0 ;
33356 PyObject
* obj1
= 0 ;
33357 char *kwnames
[] = {
33358 (char *) "self",(char *) "bmpDisabled", NULL
33361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
33362 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33364 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
33365 SWIG_POINTER_EXCEPTION
| 0)) == -1)
33367 if (arg2
== NULL
) {
33368 PyErr_SetString(PyExc_TypeError
,"null reference");
33372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33373 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
33375 wxPyEndAllowThreads(__tstate
);
33376 if (PyErr_Occurred()) SWIG_fail
;
33378 Py_INCREF(Py_None
); resultobj
= Py_None
;
33385 static PyObject
*_wrap_MenuItem_GetDisabledBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33386 PyObject
*resultobj
;
33387 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33389 PyObject
* obj0
= 0 ;
33390 char *kwnames
[] = {
33391 (char *) "self", NULL
33394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetDisabledBitmap",kwnames
,&obj0
)) goto fail
;
33395 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33396 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33400 wxBitmap
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetDisabledBitmap();
33401 result
= (wxBitmap
*) &_result_ref
;
33404 wxPyEndAllowThreads(__tstate
);
33405 if (PyErr_Occurred()) SWIG_fail
;
33408 wxBitmap
* resultptr
= new wxBitmap(*result
);
33409 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
33417 static PyObject
*_wrap_MenuItem_SetMarginWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33418 PyObject
*resultobj
;
33419 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33421 PyObject
* obj0
= 0 ;
33422 PyObject
* obj1
= 0 ;
33423 char *kwnames
[] = {
33424 (char *) "self",(char *) "nWidth", NULL
33427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetMarginWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
33428 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33429 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33430 arg2
= (int)SWIG_As_int(obj1
);
33431 if (PyErr_Occurred()) SWIG_fail
;
33433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33434 (arg1
)->SetMarginWidth(arg2
);
33436 wxPyEndAllowThreads(__tstate
);
33437 if (PyErr_Occurred()) SWIG_fail
;
33439 Py_INCREF(Py_None
); resultobj
= Py_None
;
33446 static PyObject
*_wrap_MenuItem_GetMarginWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33447 PyObject
*resultobj
;
33448 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33450 PyObject
* obj0
= 0 ;
33451 char *kwnames
[] = {
33452 (char *) "self", NULL
33455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetMarginWidth",kwnames
,&obj0
)) goto fail
;
33456 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33457 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33460 result
= (int)(arg1
)->GetMarginWidth();
33462 wxPyEndAllowThreads(__tstate
);
33463 if (PyErr_Occurred()) SWIG_fail
;
33465 resultobj
= SWIG_From_int((int)result
);
33472 static PyObject
*_wrap_MenuItem_GetDefaultMarginWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33473 PyObject
*resultobj
;
33475 char *kwnames
[] = {
33479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MenuItem_GetDefaultMarginWidth",kwnames
)) goto fail
;
33481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33482 result
= (int)wxMenuItem::GetDefaultMarginWidth();
33484 wxPyEndAllowThreads(__tstate
);
33485 if (PyErr_Occurred()) SWIG_fail
;
33487 resultobj
= SWIG_From_int((int)result
);
33494 static PyObject
*_wrap_MenuItem_IsOwnerDrawn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33495 PyObject
*resultobj
;
33496 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33498 PyObject
* obj0
= 0 ;
33499 char *kwnames
[] = {
33500 (char *) "self", NULL
33503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsOwnerDrawn",kwnames
,&obj0
)) goto fail
;
33504 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33505 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33508 result
= (bool)(arg1
)->IsOwnerDrawn();
33510 wxPyEndAllowThreads(__tstate
);
33511 if (PyErr_Occurred()) SWIG_fail
;
33514 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33522 static PyObject
*_wrap_MenuItem_SetOwnerDrawn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33523 PyObject
*resultobj
;
33524 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33525 bool arg2
= (bool) True
;
33526 PyObject
* obj0
= 0 ;
33527 PyObject
* obj1
= 0 ;
33528 char *kwnames
[] = {
33529 (char *) "self",(char *) "ownerDrawn", NULL
33532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_SetOwnerDrawn",kwnames
,&obj0
,&obj1
)) goto fail
;
33533 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33534 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33536 arg2
= (bool)SWIG_As_bool(obj1
);
33537 if (PyErr_Occurred()) SWIG_fail
;
33540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33541 (arg1
)->SetOwnerDrawn(arg2
);
33543 wxPyEndAllowThreads(__tstate
);
33544 if (PyErr_Occurred()) SWIG_fail
;
33546 Py_INCREF(Py_None
); resultobj
= Py_None
;
33553 static PyObject
*_wrap_MenuItem_ResetOwnerDrawn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33554 PyObject
*resultobj
;
33555 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33556 PyObject
* obj0
= 0 ;
33557 char *kwnames
[] = {
33558 (char *) "self", NULL
33561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_ResetOwnerDrawn",kwnames
,&obj0
)) goto fail
;
33562 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33566 (arg1
)->ResetOwnerDrawn();
33568 wxPyEndAllowThreads(__tstate
);
33569 if (PyErr_Occurred()) SWIG_fail
;
33571 Py_INCREF(Py_None
); resultobj
= Py_None
;
33578 static PyObject
*_wrap_MenuItem_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33579 PyObject
*resultobj
;
33580 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33581 wxBitmap
*arg2
= 0 ;
33582 PyObject
* obj0
= 0 ;
33583 PyObject
* obj1
= 0 ;
33584 char *kwnames
[] = {
33585 (char *) "self",(char *) "bitmap", NULL
33588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
33589 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33591 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
33592 SWIG_POINTER_EXCEPTION
| 0)) == -1)
33594 if (arg2
== NULL
) {
33595 PyErr_SetString(PyExc_TypeError
,"null reference");
33599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33600 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
33602 wxPyEndAllowThreads(__tstate
);
33603 if (PyErr_Occurred()) SWIG_fail
;
33605 Py_INCREF(Py_None
); resultobj
= Py_None
;
33612 static PyObject
*_wrap_MenuItem_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33613 PyObject
*resultobj
;
33614 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33616 PyObject
* obj0
= 0 ;
33617 char *kwnames
[] = {
33618 (char *) "self", NULL
33621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetBitmap",kwnames
,&obj0
)) goto fail
;
33622 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33623 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33627 wxBitmap
const &_result_ref
= (arg1
)->GetBitmap();
33628 result
= (wxBitmap
*) &_result_ref
;
33631 wxPyEndAllowThreads(__tstate
);
33632 if (PyErr_Occurred()) SWIG_fail
;
33635 wxBitmap
* resultptr
= new wxBitmap(*result
);
33636 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
33644 static PyObject
* MenuItem_swigregister(PyObject
*, PyObject
*args
) {
33646 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33647 SWIG_TypeClientData(SWIGTYPE_p_wxMenuItem
, obj
);
33649 return Py_BuildValue((char *)"");
33651 static int _wrap_ControlNameStr_set(PyObject
*) {
33652 PyErr_SetString(PyExc_TypeError
,"Variable ControlNameStr is read-only.");
33657 static PyObject
*_wrap_ControlNameStr_get() {
33662 pyobj
= PyUnicode_FromWideChar((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
33664 pyobj
= PyString_FromStringAndSize((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
33671 static PyObject
*_wrap_new_Control(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33672 PyObject
*resultobj
;
33673 wxWindow
*arg1
= (wxWindow
*) 0 ;
33674 int arg2
= (int) -1 ;
33675 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
33676 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
33677 wxSize
const &arg4_defvalue
= wxDefaultSize
;
33678 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
33679 long arg5
= (long) 0 ;
33680 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
33681 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
33682 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
33683 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
33687 bool temp7
= False
;
33688 PyObject
* obj0
= 0 ;
33689 PyObject
* obj1
= 0 ;
33690 PyObject
* obj2
= 0 ;
33691 PyObject
* obj3
= 0 ;
33692 PyObject
* obj4
= 0 ;
33693 PyObject
* obj5
= 0 ;
33694 PyObject
* obj6
= 0 ;
33695 char *kwnames
[] = {
33696 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
33699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Control",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
33700 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
33701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33703 arg2
= (int)SWIG_As_int(obj1
);
33704 if (PyErr_Occurred()) SWIG_fail
;
33709 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
33715 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
33719 arg5
= (long)SWIG_As_long(obj4
);
33720 if (PyErr_Occurred()) SWIG_fail
;
33723 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
33724 SWIG_POINTER_EXCEPTION
| 0)) == -1)
33726 if (arg6
== NULL
) {
33727 PyErr_SetString(PyExc_TypeError
,"null reference");
33733 arg7
= wxString_in_helper(obj6
);
33734 if (arg7
== NULL
) SWIG_fail
;
33739 if (!wxPyCheckForApp()) SWIG_fail
;
33740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33741 result
= (wxControl
*)new wxControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
33743 wxPyEndAllowThreads(__tstate
);
33744 if (PyErr_Occurred()) SWIG_fail
;
33746 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxControl
, 1);
33761 static PyObject
*_wrap_new_PreControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33762 PyObject
*resultobj
;
33764 char *kwnames
[] = {
33768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreControl",kwnames
)) goto fail
;
33770 if (!wxPyCheckForApp()) SWIG_fail
;
33771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33772 result
= (wxControl
*)new wxControl();
33774 wxPyEndAllowThreads(__tstate
);
33775 if (PyErr_Occurred()) SWIG_fail
;
33777 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxControl
, 1);
33784 static PyObject
*_wrap_Control_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33785 PyObject
*resultobj
;
33786 wxControl
*arg1
= (wxControl
*) 0 ;
33787 wxWindow
*arg2
= (wxWindow
*) 0 ;
33788 int arg3
= (int) -1 ;
33789 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
33790 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
33791 wxSize
const &arg5_defvalue
= wxDefaultSize
;
33792 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
33793 long arg6
= (long) 0 ;
33794 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
33795 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
33796 wxString
const &arg8_defvalue
= wxPyControlNameStr
;
33797 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
33801 bool temp8
= False
;
33802 PyObject
* obj0
= 0 ;
33803 PyObject
* obj1
= 0 ;
33804 PyObject
* obj2
= 0 ;
33805 PyObject
* obj3
= 0 ;
33806 PyObject
* obj4
= 0 ;
33807 PyObject
* obj5
= 0 ;
33808 PyObject
* obj6
= 0 ;
33809 PyObject
* obj7
= 0 ;
33810 char *kwnames
[] = {
33811 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
33814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Control_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
33815 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
33816 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33817 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
33818 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33820 arg3
= (int)SWIG_As_int(obj2
);
33821 if (PyErr_Occurred()) SWIG_fail
;
33826 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
33832 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
33836 arg6
= (long)SWIG_As_long(obj5
);
33837 if (PyErr_Occurred()) SWIG_fail
;
33840 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
33841 SWIG_POINTER_EXCEPTION
| 0)) == -1)
33843 if (arg7
== NULL
) {
33844 PyErr_SetString(PyExc_TypeError
,"null reference");
33850 arg8
= wxString_in_helper(obj7
);
33851 if (arg8
== NULL
) SWIG_fail
;
33856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33857 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
33859 wxPyEndAllowThreads(__tstate
);
33860 if (PyErr_Occurred()) SWIG_fail
;
33863 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33879 static PyObject
*_wrap_Control_Command(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33880 PyObject
*resultobj
;
33881 wxControl
*arg1
= (wxControl
*) 0 ;
33882 wxCommandEvent
*arg2
= 0 ;
33883 PyObject
* obj0
= 0 ;
33884 PyObject
* obj1
= 0 ;
33885 char *kwnames
[] = {
33886 (char *) "self",(char *) "event", NULL
33889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_Command",kwnames
,&obj0
,&obj1
)) goto fail
;
33890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
33891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33892 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCommandEvent
,
33893 SWIG_POINTER_EXCEPTION
| 0)) == -1)
33895 if (arg2
== NULL
) {
33896 PyErr_SetString(PyExc_TypeError
,"null reference");
33900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33901 (arg1
)->Command(*arg2
);
33903 wxPyEndAllowThreads(__tstate
);
33904 if (PyErr_Occurred()) SWIG_fail
;
33906 Py_INCREF(Py_None
); resultobj
= Py_None
;
33913 static PyObject
*_wrap_Control_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33914 PyObject
*resultobj
;
33915 wxControl
*arg1
= (wxControl
*) 0 ;
33917 PyObject
* obj0
= 0 ;
33918 char *kwnames
[] = {
33919 (char *) "self", NULL
33922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Control_GetLabel",kwnames
,&obj0
)) goto fail
;
33923 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
33924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33927 result
= (arg1
)->GetLabel();
33929 wxPyEndAllowThreads(__tstate
);
33930 if (PyErr_Occurred()) SWIG_fail
;
33934 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33936 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33945 static PyObject
*_wrap_Control_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33946 PyObject
*resultobj
;
33947 wxControl
*arg1
= (wxControl
*) 0 ;
33948 wxString
*arg2
= 0 ;
33949 bool temp2
= False
;
33950 PyObject
* obj0
= 0 ;
33951 PyObject
* obj1
= 0 ;
33952 char *kwnames
[] = {
33953 (char *) "self",(char *) "label", NULL
33956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
33957 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
33958 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33960 arg2
= wxString_in_helper(obj1
);
33961 if (arg2
== NULL
) SWIG_fail
;
33965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33966 (arg1
)->SetLabel((wxString
const &)*arg2
);
33968 wxPyEndAllowThreads(__tstate
);
33969 if (PyErr_Occurred()) SWIG_fail
;
33971 Py_INCREF(Py_None
); resultobj
= Py_None
;
33986 static PyObject
*_wrap_Control_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33987 PyObject
*resultobj
;
33988 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
33989 wxVisualAttributes result
;
33990 PyObject
* obj0
= 0 ;
33991 char *kwnames
[] = {
33992 (char *) "variant", NULL
33995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Control_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
33997 arg1
= (int)SWIG_As_int(obj0
);
33998 if (PyErr_Occurred()) SWIG_fail
;
34001 if (!wxPyCheckForApp()) SWIG_fail
;
34002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34003 result
= wxControl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
34005 wxPyEndAllowThreads(__tstate
);
34006 if (PyErr_Occurred()) SWIG_fail
;
34009 wxVisualAttributes
* resultptr
;
34010 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
34011 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
34019 static PyObject
* Control_swigregister(PyObject
*, PyObject
*args
) {
34021 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34022 SWIG_TypeClientData(SWIGTYPE_p_wxControl
, obj
);
34024 return Py_BuildValue((char *)"");
34026 static PyObject
*_wrap_ItemContainer_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34027 PyObject
*resultobj
;
34028 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34029 wxString
*arg2
= 0 ;
34030 PyObject
*arg3
= (PyObject
*) NULL
;
34032 bool temp2
= False
;
34033 PyObject
* obj0
= 0 ;
34034 PyObject
* obj1
= 0 ;
34035 PyObject
* obj2
= 0 ;
34036 char *kwnames
[] = {
34037 (char *) "self",(char *) "item",(char *) "clientData", NULL
34040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ItemContainer_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34041 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34042 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34044 arg2
= wxString_in_helper(obj1
);
34045 if (arg2
== NULL
) SWIG_fail
;
34052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34053 result
= (int)wxItemContainer_Append(arg1
,(wxString
const &)*arg2
,arg3
);
34055 wxPyEndAllowThreads(__tstate
);
34056 if (PyErr_Occurred()) SWIG_fail
;
34058 resultobj
= SWIG_From_int((int)result
);
34073 static PyObject
*_wrap_ItemContainer_AppendItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34074 PyObject
*resultobj
;
34075 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34076 wxArrayString
*arg2
= 0 ;
34077 bool temp2
= False
;
34078 PyObject
* obj0
= 0 ;
34079 PyObject
* obj1
= 0 ;
34080 char *kwnames
[] = {
34081 (char *) "self",(char *) "strings", NULL
34084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_AppendItems",kwnames
,&obj0
,&obj1
)) goto fail
;
34085 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34086 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34088 if (! PySequence_Check(obj1
)) {
34089 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
34092 arg2
= new wxArrayString
;
34094 int i
, len
=PySequence_Length(obj1
);
34095 for (i
=0; i
<len
; i
++) {
34096 PyObject
* item
= PySequence_GetItem(obj1
, i
);
34098 PyObject
* str
= PyObject_Unicode(item
);
34100 PyObject
* str
= PyObject_Str(item
);
34102 if (PyErr_Occurred()) SWIG_fail
;
34103 arg2
->Add(Py2wxString(str
));
34109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34110 (arg1
)->Append((wxArrayString
const &)*arg2
);
34112 wxPyEndAllowThreads(__tstate
);
34113 if (PyErr_Occurred()) SWIG_fail
;
34115 Py_INCREF(Py_None
); resultobj
= Py_None
;
34117 if (temp2
) delete arg2
;
34122 if (temp2
) delete arg2
;
34128 static PyObject
*_wrap_ItemContainer_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34129 PyObject
*resultobj
;
34130 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34131 wxString
*arg2
= 0 ;
34133 PyObject
*arg4
= (PyObject
*) NULL
;
34135 bool temp2
= False
;
34136 PyObject
* obj0
= 0 ;
34137 PyObject
* obj1
= 0 ;
34138 PyObject
* obj2
= 0 ;
34139 PyObject
* obj3
= 0 ;
34140 char *kwnames
[] = {
34141 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
34144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ItemContainer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
34145 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34146 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34148 arg2
= wxString_in_helper(obj1
);
34149 if (arg2
== NULL
) SWIG_fail
;
34152 arg3
= (int)SWIG_As_int(obj2
);
34153 if (PyErr_Occurred()) SWIG_fail
;
34158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34159 result
= (int)wxItemContainer_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
34161 wxPyEndAllowThreads(__tstate
);
34162 if (PyErr_Occurred()) SWIG_fail
;
34164 resultobj
= SWIG_From_int((int)result
);
34179 static PyObject
*_wrap_ItemContainer_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34180 PyObject
*resultobj
;
34181 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34182 PyObject
* obj0
= 0 ;
34183 char *kwnames
[] = {
34184 (char *) "self", NULL
34187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_Clear",kwnames
,&obj0
)) goto fail
;
34188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34194 wxPyEndAllowThreads(__tstate
);
34195 if (PyErr_Occurred()) SWIG_fail
;
34197 Py_INCREF(Py_None
); resultobj
= Py_None
;
34204 static PyObject
*_wrap_ItemContainer_Delete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34205 PyObject
*resultobj
;
34206 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34208 PyObject
* obj0
= 0 ;
34209 PyObject
* obj1
= 0 ;
34210 char *kwnames
[] = {
34211 (char *) "self",(char *) "n", NULL
34214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
34215 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34216 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34217 arg2
= (int)SWIG_As_int(obj1
);
34218 if (PyErr_Occurred()) SWIG_fail
;
34220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34221 (arg1
)->Delete(arg2
);
34223 wxPyEndAllowThreads(__tstate
);
34224 if (PyErr_Occurred()) SWIG_fail
;
34226 Py_INCREF(Py_None
); resultobj
= Py_None
;
34233 static PyObject
*_wrap_ItemContainer_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34234 PyObject
*resultobj
;
34235 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34237 PyObject
* obj0
= 0 ;
34238 char *kwnames
[] = {
34239 (char *) "self", NULL
34242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetCount",kwnames
,&obj0
)) goto fail
;
34243 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34244 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34247 result
= (int)((wxItemContainer
const *)arg1
)->GetCount();
34249 wxPyEndAllowThreads(__tstate
);
34250 if (PyErr_Occurred()) SWIG_fail
;
34252 resultobj
= SWIG_From_int((int)result
);
34259 static PyObject
*_wrap_ItemContainer_IsEmpty(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34260 PyObject
*resultobj
;
34261 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34263 PyObject
* obj0
= 0 ;
34264 char *kwnames
[] = {
34265 (char *) "self", NULL
34268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_IsEmpty",kwnames
,&obj0
)) goto fail
;
34269 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34270 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34273 result
= (bool)((wxItemContainer
const *)arg1
)->IsEmpty();
34275 wxPyEndAllowThreads(__tstate
);
34276 if (PyErr_Occurred()) SWIG_fail
;
34279 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34287 static PyObject
*_wrap_ItemContainer_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34288 PyObject
*resultobj
;
34289 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34292 PyObject
* obj0
= 0 ;
34293 PyObject
* obj1
= 0 ;
34294 char *kwnames
[] = {
34295 (char *) "self",(char *) "n", NULL
34298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetString",kwnames
,&obj0
,&obj1
)) goto fail
;
34299 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34300 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34301 arg2
= (int)SWIG_As_int(obj1
);
34302 if (PyErr_Occurred()) SWIG_fail
;
34304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34305 result
= ((wxItemContainer
const *)arg1
)->GetString(arg2
);
34307 wxPyEndAllowThreads(__tstate
);
34308 if (PyErr_Occurred()) SWIG_fail
;
34312 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
34314 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34323 static PyObject
*_wrap_ItemContainer_GetStrings(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34324 PyObject
*resultobj
;
34325 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34326 wxArrayString result
;
34327 PyObject
* obj0
= 0 ;
34328 char *kwnames
[] = {
34329 (char *) "self", NULL
34332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStrings",kwnames
,&obj0
)) goto fail
;
34333 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34334 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34337 result
= ((wxItemContainer
const *)arg1
)->GetStrings();
34339 wxPyEndAllowThreads(__tstate
);
34340 if (PyErr_Occurred()) SWIG_fail
;
34343 resultobj
= wxArrayString2PyList_helper(result
);
34351 static PyObject
*_wrap_ItemContainer_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34352 PyObject
*resultobj
;
34353 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34355 wxString
*arg3
= 0 ;
34356 bool temp3
= False
;
34357 PyObject
* obj0
= 0 ;
34358 PyObject
* obj1
= 0 ;
34359 PyObject
* obj2
= 0 ;
34360 char *kwnames
[] = {
34361 (char *) "self",(char *) "n",(char *) "s", NULL
34364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34365 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34367 arg2
= (int)SWIG_As_int(obj1
);
34368 if (PyErr_Occurred()) SWIG_fail
;
34370 arg3
= wxString_in_helper(obj2
);
34371 if (arg3
== NULL
) SWIG_fail
;
34375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34376 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
34378 wxPyEndAllowThreads(__tstate
);
34379 if (PyErr_Occurred()) SWIG_fail
;
34381 Py_INCREF(Py_None
); resultobj
= Py_None
;
34396 static PyObject
*_wrap_ItemContainer_FindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34397 PyObject
*resultobj
;
34398 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34399 wxString
*arg2
= 0 ;
34401 bool temp2
= False
;
34402 PyObject
* obj0
= 0 ;
34403 PyObject
* obj1
= 0 ;
34404 char *kwnames
[] = {
34405 (char *) "self",(char *) "s", NULL
34408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
34409 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34410 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34412 arg2
= wxString_in_helper(obj1
);
34413 if (arg2
== NULL
) SWIG_fail
;
34417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34418 result
= (int)((wxItemContainer
const *)arg1
)->FindString((wxString
const &)*arg2
);
34420 wxPyEndAllowThreads(__tstate
);
34421 if (PyErr_Occurred()) SWIG_fail
;
34423 resultobj
= SWIG_From_int((int)result
);
34438 static PyObject
*_wrap_ItemContainer_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34439 PyObject
*resultobj
;
34440 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34442 PyObject
* obj0
= 0 ;
34443 PyObject
* obj1
= 0 ;
34444 char *kwnames
[] = {
34445 (char *) "self",(char *) "n", NULL
34448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Select",kwnames
,&obj0
,&obj1
)) goto fail
;
34449 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34450 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34451 arg2
= (int)SWIG_As_int(obj1
);
34452 if (PyErr_Occurred()) SWIG_fail
;
34454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34455 (arg1
)->Select(arg2
);
34457 wxPyEndAllowThreads(__tstate
);
34458 if (PyErr_Occurred()) SWIG_fail
;
34460 Py_INCREF(Py_None
); resultobj
= Py_None
;
34467 static PyObject
*_wrap_ItemContainer_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34468 PyObject
*resultobj
;
34469 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34471 PyObject
* obj0
= 0 ;
34472 char *kwnames
[] = {
34473 (char *) "self", NULL
34476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetSelection",kwnames
,&obj0
)) goto fail
;
34477 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34478 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34481 result
= (int)((wxItemContainer
const *)arg1
)->GetSelection();
34483 wxPyEndAllowThreads(__tstate
);
34484 if (PyErr_Occurred()) SWIG_fail
;
34486 resultobj
= SWIG_From_int((int)result
);
34493 static PyObject
*_wrap_ItemContainer_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34494 PyObject
*resultobj
;
34495 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34497 PyObject
* obj0
= 0 ;
34498 char *kwnames
[] = {
34499 (char *) "self", NULL
34502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStringSelection",kwnames
,&obj0
)) goto fail
;
34503 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34507 result
= ((wxItemContainer
const *)arg1
)->GetStringSelection();
34509 wxPyEndAllowThreads(__tstate
);
34510 if (PyErr_Occurred()) SWIG_fail
;
34514 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
34516 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34525 static PyObject
*_wrap_ItemContainer_GetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34526 PyObject
*resultobj
;
34527 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34530 PyObject
* obj0
= 0 ;
34531 PyObject
* obj1
= 0 ;
34532 char *kwnames
[] = {
34533 (char *) "self",(char *) "n", NULL
34536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
34537 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34539 arg2
= (int)SWIG_As_int(obj1
);
34540 if (PyErr_Occurred()) SWIG_fail
;
34542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34543 result
= (PyObject
*)wxItemContainer_GetClientData(arg1
,arg2
);
34545 wxPyEndAllowThreads(__tstate
);
34546 if (PyErr_Occurred()) SWIG_fail
;
34548 resultobj
= result
;
34555 static PyObject
*_wrap_ItemContainer_SetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34556 PyObject
*resultobj
;
34557 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34559 PyObject
*arg3
= (PyObject
*) 0 ;
34560 PyObject
* obj0
= 0 ;
34561 PyObject
* obj1
= 0 ;
34562 PyObject
* obj2
= 0 ;
34563 char *kwnames
[] = {
34564 (char *) "self",(char *) "n",(char *) "clientData", NULL
34567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34568 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34570 arg2
= (int)SWIG_As_int(obj1
);
34571 if (PyErr_Occurred()) SWIG_fail
;
34574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34575 wxItemContainer_SetClientData(arg1
,arg2
,arg3
);
34577 wxPyEndAllowThreads(__tstate
);
34578 if (PyErr_Occurred()) SWIG_fail
;
34580 Py_INCREF(Py_None
); resultobj
= Py_None
;
34587 static PyObject
* ItemContainer_swigregister(PyObject
*, PyObject
*args
) {
34589 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34590 SWIG_TypeClientData(SWIGTYPE_p_wxItemContainer
, obj
);
34592 return Py_BuildValue((char *)"");
34594 static PyObject
* ControlWithItems_swigregister(PyObject
*, PyObject
*args
) {
34596 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34597 SWIG_TypeClientData(SWIGTYPE_p_wxControlWithItems
, obj
);
34599 return Py_BuildValue((char *)"");
34601 static PyObject
*_wrap_new_SizerItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34602 PyObject
*resultobj
;
34603 wxSizerItem
*result
;
34604 char *kwnames
[] = {
34608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SizerItem",kwnames
)) goto fail
;
34610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34611 result
= (wxSizerItem
*)new wxSizerItem();
34613 wxPyEndAllowThreads(__tstate
);
34614 if (PyErr_Occurred()) SWIG_fail
;
34616 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
34623 static PyObject
*_wrap_new_SizerItemWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34624 PyObject
*resultobj
;
34625 wxWindow
*arg1
= (wxWindow
*) 0 ;
34629 PyObject
*arg5
= (PyObject
*) NULL
;
34630 wxSizerItem
*result
;
34631 PyObject
* obj0
= 0 ;
34632 PyObject
* obj1
= 0 ;
34633 PyObject
* obj2
= 0 ;
34634 PyObject
* obj3
= 0 ;
34635 PyObject
* obj4
= 0 ;
34636 char *kwnames
[] = {
34637 (char *) "window",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
34640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:new_SizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
34641 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
34642 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34643 arg2
= (int)SWIG_As_int(obj1
);
34644 if (PyErr_Occurred()) SWIG_fail
;
34645 arg3
= (int)SWIG_As_int(obj2
);
34646 if (PyErr_Occurred()) SWIG_fail
;
34647 arg4
= (int)SWIG_As_int(obj3
);
34648 if (PyErr_Occurred()) SWIG_fail
;
34653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34654 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
34656 wxPyEndAllowThreads(__tstate
);
34657 if (PyErr_Occurred()) SWIG_fail
;
34659 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
34666 static PyObject
*_wrap_new_SizerItemSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34667 PyObject
*resultobj
;
34673 PyObject
*arg6
= (PyObject
*) NULL
;
34674 wxSizerItem
*result
;
34675 PyObject
* obj0
= 0 ;
34676 PyObject
* obj1
= 0 ;
34677 PyObject
* obj2
= 0 ;
34678 PyObject
* obj3
= 0 ;
34679 PyObject
* obj4
= 0 ;
34680 PyObject
* obj5
= 0 ;
34681 char *kwnames
[] = {
34682 (char *) "width",(char *) "height",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
34685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_SizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
34686 arg1
= (int)SWIG_As_int(obj0
);
34687 if (PyErr_Occurred()) SWIG_fail
;
34688 arg2
= (int)SWIG_As_int(obj1
);
34689 if (PyErr_Occurred()) SWIG_fail
;
34690 arg3
= (int)SWIG_As_int(obj2
);
34691 if (PyErr_Occurred()) SWIG_fail
;
34692 arg4
= (int)SWIG_As_int(obj3
);
34693 if (PyErr_Occurred()) SWIG_fail
;
34694 arg5
= (int)SWIG_As_int(obj4
);
34695 if (PyErr_Occurred()) SWIG_fail
;
34700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34701 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
34703 wxPyEndAllowThreads(__tstate
);
34704 if (PyErr_Occurred()) SWIG_fail
;
34706 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
34713 static PyObject
*_wrap_new_SizerItemSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34714 PyObject
*resultobj
;
34715 wxSizer
*arg1
= (wxSizer
*) 0 ;
34719 PyObject
*arg5
= (PyObject
*) NULL
;
34720 wxSizerItem
*result
;
34721 PyObject
* obj0
= 0 ;
34722 PyObject
* obj1
= 0 ;
34723 PyObject
* obj2
= 0 ;
34724 PyObject
* obj3
= 0 ;
34725 PyObject
* obj4
= 0 ;
34726 char *kwnames
[] = {
34727 (char *) "sizer",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
34730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:new_SizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
34731 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34732 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34733 arg2
= (int)SWIG_As_int(obj1
);
34734 if (PyErr_Occurred()) SWIG_fail
;
34735 arg3
= (int)SWIG_As_int(obj2
);
34736 if (PyErr_Occurred()) SWIG_fail
;
34737 arg4
= (int)SWIG_As_int(obj3
);
34738 if (PyErr_Occurred()) SWIG_fail
;
34743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34744 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
34746 wxPyEndAllowThreads(__tstate
);
34747 if (PyErr_Occurred()) SWIG_fail
;
34749 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
34756 static PyObject
*_wrap_SizerItem_DeleteWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34757 PyObject
*resultobj
;
34758 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34759 PyObject
* obj0
= 0 ;
34760 char *kwnames
[] = {
34761 (char *) "self", NULL
34764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DeleteWindows",kwnames
,&obj0
)) goto fail
;
34765 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34766 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34769 (arg1
)->DeleteWindows();
34771 wxPyEndAllowThreads(__tstate
);
34772 if (PyErr_Occurred()) SWIG_fail
;
34774 Py_INCREF(Py_None
); resultobj
= Py_None
;
34781 static PyObject
*_wrap_SizerItem_DetachSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34782 PyObject
*resultobj
;
34783 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34784 PyObject
* obj0
= 0 ;
34785 char *kwnames
[] = {
34786 (char *) "self", NULL
34789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DetachSizer",kwnames
,&obj0
)) goto fail
;
34790 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34791 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34794 (arg1
)->DetachSizer();
34796 wxPyEndAllowThreads(__tstate
);
34797 if (PyErr_Occurred()) SWIG_fail
;
34799 Py_INCREF(Py_None
); resultobj
= Py_None
;
34806 static PyObject
*_wrap_SizerItem_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34807 PyObject
*resultobj
;
34808 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34810 PyObject
* obj0
= 0 ;
34811 char *kwnames
[] = {
34812 (char *) "self", NULL
34815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSize",kwnames
,&obj0
)) goto fail
;
34816 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34820 result
= (arg1
)->GetSize();
34822 wxPyEndAllowThreads(__tstate
);
34823 if (PyErr_Occurred()) SWIG_fail
;
34826 wxSize
* resultptr
;
34827 resultptr
= new wxSize((wxSize
&) result
);
34828 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
34836 static PyObject
*_wrap_SizerItem_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34837 PyObject
*resultobj
;
34838 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34840 PyObject
* obj0
= 0 ;
34841 char *kwnames
[] = {
34842 (char *) "self", NULL
34845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_CalcMin",kwnames
,&obj0
)) goto fail
;
34846 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34847 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34850 result
= (arg1
)->CalcMin();
34852 wxPyEndAllowThreads(__tstate
);
34853 if (PyErr_Occurred()) SWIG_fail
;
34856 wxSize
* resultptr
;
34857 resultptr
= new wxSize((wxSize
&) result
);
34858 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
34866 static PyObject
*_wrap_SizerItem_SetDimension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34867 PyObject
*resultobj
;
34868 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34873 PyObject
* obj0
= 0 ;
34874 PyObject
* obj1
= 0 ;
34875 PyObject
* obj2
= 0 ;
34876 char *kwnames
[] = {
34877 (char *) "self",(char *) "pos",(char *) "size", NULL
34880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34881 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34882 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34883 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxPoint
,
34884 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
34886 if ((SWIG_ConvertPtr(obj2
,(void **)(&argp3
),SWIGTYPE_p_wxSize
,
34887 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
34890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34891 (arg1
)->SetDimension(arg2
,arg3
);
34893 wxPyEndAllowThreads(__tstate
);
34894 if (PyErr_Occurred()) SWIG_fail
;
34896 Py_INCREF(Py_None
); resultobj
= Py_None
;
34903 static PyObject
*_wrap_SizerItem_GetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34904 PyObject
*resultobj
;
34905 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34907 PyObject
* obj0
= 0 ;
34908 char *kwnames
[] = {
34909 (char *) "self", NULL
34912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetMinSize",kwnames
,&obj0
)) goto fail
;
34913 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34914 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34917 result
= (arg1
)->GetMinSize();
34919 wxPyEndAllowThreads(__tstate
);
34920 if (PyErr_Occurred()) SWIG_fail
;
34923 wxSize
* resultptr
;
34924 resultptr
= new wxSize((wxSize
&) result
);
34925 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
34933 static PyObject
*_wrap_SizerItem_GetMinSizeWithBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34934 PyObject
*resultobj
;
34935 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34937 PyObject
* obj0
= 0 ;
34938 char *kwnames
[] = {
34939 (char *) "self", NULL
34942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetMinSizeWithBorder",kwnames
,&obj0
)) goto fail
;
34943 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34944 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34947 result
= ((wxSizerItem
const *)arg1
)->GetMinSizeWithBorder();
34949 wxPyEndAllowThreads(__tstate
);
34950 if (PyErr_Occurred()) SWIG_fail
;
34953 wxSize
* resultptr
;
34954 resultptr
= new wxSize((wxSize
&) result
);
34955 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
34963 static PyObject
*_wrap_SizerItem_SetInitSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34964 PyObject
*resultobj
;
34965 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34968 PyObject
* obj0
= 0 ;
34969 PyObject
* obj1
= 0 ;
34970 PyObject
* obj2
= 0 ;
34971 char *kwnames
[] = {
34972 (char *) "self",(char *) "x",(char *) "y", NULL
34975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetInitSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34976 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34978 arg2
= (int)SWIG_As_int(obj1
);
34979 if (PyErr_Occurred()) SWIG_fail
;
34980 arg3
= (int)SWIG_As_int(obj2
);
34981 if (PyErr_Occurred()) SWIG_fail
;
34983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34984 (arg1
)->SetInitSize(arg2
,arg3
);
34986 wxPyEndAllowThreads(__tstate
);
34987 if (PyErr_Occurred()) SWIG_fail
;
34989 Py_INCREF(Py_None
); resultobj
= Py_None
;
34996 static PyObject
*_wrap_SizerItem_SetRatioWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34997 PyObject
*resultobj
;
34998 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35001 PyObject
* obj0
= 0 ;
35002 PyObject
* obj1
= 0 ;
35003 PyObject
* obj2
= 0 ;
35004 char *kwnames
[] = {
35005 (char *) "self",(char *) "width",(char *) "height", NULL
35008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetRatioWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35011 arg2
= (int)SWIG_As_int(obj1
);
35012 if (PyErr_Occurred()) SWIG_fail
;
35013 arg3
= (int)SWIG_As_int(obj2
);
35014 if (PyErr_Occurred()) SWIG_fail
;
35016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35017 (arg1
)->SetRatio(arg2
,arg3
);
35019 wxPyEndAllowThreads(__tstate
);
35020 if (PyErr_Occurred()) SWIG_fail
;
35022 Py_INCREF(Py_None
); resultobj
= Py_None
;
35029 static PyObject
*_wrap_SizerItem_SetRatioSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35030 PyObject
*resultobj
;
35031 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35034 PyObject
* obj0
= 0 ;
35035 PyObject
* obj1
= 0 ;
35036 char *kwnames
[] = {
35037 (char *) "self",(char *) "size", NULL
35040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatioSize",kwnames
,&obj0
,&obj1
)) goto fail
;
35041 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35042 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35043 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxSize
,
35044 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
35047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35048 (arg1
)->SetRatio(arg2
);
35050 wxPyEndAllowThreads(__tstate
);
35051 if (PyErr_Occurred()) SWIG_fail
;
35053 Py_INCREF(Py_None
); resultobj
= Py_None
;
35060 static PyObject
*_wrap_SizerItem_SetRatio(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35061 PyObject
*resultobj
;
35062 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35064 PyObject
* obj0
= 0 ;
35065 PyObject
* obj1
= 0 ;
35066 char *kwnames
[] = {
35067 (char *) "self",(char *) "ratio", NULL
35070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatio",kwnames
,&obj0
,&obj1
)) goto fail
;
35071 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35072 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35073 arg2
= (float)SWIG_As_float(obj1
);
35074 if (PyErr_Occurred()) SWIG_fail
;
35076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35077 (arg1
)->SetRatio(arg2
);
35079 wxPyEndAllowThreads(__tstate
);
35080 if (PyErr_Occurred()) SWIG_fail
;
35082 Py_INCREF(Py_None
); resultobj
= Py_None
;
35089 static PyObject
*_wrap_SizerItem_GetRatio(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35090 PyObject
*resultobj
;
35091 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35093 PyObject
* obj0
= 0 ;
35094 char *kwnames
[] = {
35095 (char *) "self", NULL
35098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetRatio",kwnames
,&obj0
)) goto fail
;
35099 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35100 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35103 result
= (float)(arg1
)->GetRatio();
35105 wxPyEndAllowThreads(__tstate
);
35106 if (PyErr_Occurred()) SWIG_fail
;
35108 resultobj
= SWIG_From_float((float)result
);
35115 static PyObject
*_wrap_SizerItem_IsWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35116 PyObject
*resultobj
;
35117 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35119 PyObject
* obj0
= 0 ;
35120 char *kwnames
[] = {
35121 (char *) "self", NULL
35124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsWindow",kwnames
,&obj0
)) goto fail
;
35125 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35126 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35129 result
= (bool)(arg1
)->IsWindow();
35131 wxPyEndAllowThreads(__tstate
);
35132 if (PyErr_Occurred()) SWIG_fail
;
35135 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35143 static PyObject
*_wrap_SizerItem_IsSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35144 PyObject
*resultobj
;
35145 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35147 PyObject
* obj0
= 0 ;
35148 char *kwnames
[] = {
35149 (char *) "self", NULL
35152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSizer",kwnames
,&obj0
)) goto fail
;
35153 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35154 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35157 result
= (bool)(arg1
)->IsSizer();
35159 wxPyEndAllowThreads(__tstate
);
35160 if (PyErr_Occurred()) SWIG_fail
;
35163 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35171 static PyObject
*_wrap_SizerItem_IsSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35172 PyObject
*resultobj
;
35173 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35175 PyObject
* obj0
= 0 ;
35176 char *kwnames
[] = {
35177 (char *) "self", NULL
35180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSpacer",kwnames
,&obj0
)) goto fail
;
35181 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35182 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35185 result
= (bool)(arg1
)->IsSpacer();
35187 wxPyEndAllowThreads(__tstate
);
35188 if (PyErr_Occurred()) SWIG_fail
;
35191 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35199 static PyObject
*_wrap_SizerItem_SetProportion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35200 PyObject
*resultobj
;
35201 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35203 PyObject
* obj0
= 0 ;
35204 PyObject
* obj1
= 0 ;
35205 char *kwnames
[] = {
35206 (char *) "self",(char *) "proportion", NULL
35209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetProportion",kwnames
,&obj0
,&obj1
)) goto fail
;
35210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35212 arg2
= (int)SWIG_As_int(obj1
);
35213 if (PyErr_Occurred()) SWIG_fail
;
35215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35216 (arg1
)->SetProportion(arg2
);
35218 wxPyEndAllowThreads(__tstate
);
35219 if (PyErr_Occurred()) SWIG_fail
;
35221 Py_INCREF(Py_None
); resultobj
= Py_None
;
35228 static PyObject
*_wrap_SizerItem_GetProportion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35229 PyObject
*resultobj
;
35230 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35232 PyObject
* obj0
= 0 ;
35233 char *kwnames
[] = {
35234 (char *) "self", NULL
35237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetProportion",kwnames
,&obj0
)) goto fail
;
35238 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35239 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35242 result
= (int)(arg1
)->GetProportion();
35244 wxPyEndAllowThreads(__tstate
);
35245 if (PyErr_Occurred()) SWIG_fail
;
35247 resultobj
= SWIG_From_int((int)result
);
35254 static PyObject
*_wrap_SizerItem_SetFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35255 PyObject
*resultobj
;
35256 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35258 PyObject
* obj0
= 0 ;
35259 PyObject
* obj1
= 0 ;
35260 char *kwnames
[] = {
35261 (char *) "self",(char *) "flag", NULL
35264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
35265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35267 arg2
= (int)SWIG_As_int(obj1
);
35268 if (PyErr_Occurred()) SWIG_fail
;
35270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35271 (arg1
)->SetFlag(arg2
);
35273 wxPyEndAllowThreads(__tstate
);
35274 if (PyErr_Occurred()) SWIG_fail
;
35276 Py_INCREF(Py_None
); resultobj
= Py_None
;
35283 static PyObject
*_wrap_SizerItem_GetFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35284 PyObject
*resultobj
;
35285 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35287 PyObject
* obj0
= 0 ;
35288 char *kwnames
[] = {
35289 (char *) "self", NULL
35292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetFlag",kwnames
,&obj0
)) goto fail
;
35293 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35294 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35297 result
= (int)(arg1
)->GetFlag();
35299 wxPyEndAllowThreads(__tstate
);
35300 if (PyErr_Occurred()) SWIG_fail
;
35302 resultobj
= SWIG_From_int((int)result
);
35309 static PyObject
*_wrap_SizerItem_SetBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35310 PyObject
*resultobj
;
35311 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35313 PyObject
* obj0
= 0 ;
35314 PyObject
* obj1
= 0 ;
35315 char *kwnames
[] = {
35316 (char *) "self",(char *) "border", NULL
35319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetBorder",kwnames
,&obj0
,&obj1
)) goto fail
;
35320 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35322 arg2
= (int)SWIG_As_int(obj1
);
35323 if (PyErr_Occurred()) SWIG_fail
;
35325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35326 (arg1
)->SetBorder(arg2
);
35328 wxPyEndAllowThreads(__tstate
);
35329 if (PyErr_Occurred()) SWIG_fail
;
35331 Py_INCREF(Py_None
); resultobj
= Py_None
;
35338 static PyObject
*_wrap_SizerItem_GetBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35339 PyObject
*resultobj
;
35340 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35342 PyObject
* obj0
= 0 ;
35343 char *kwnames
[] = {
35344 (char *) "self", NULL
35347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetBorder",kwnames
,&obj0
)) goto fail
;
35348 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35352 result
= (int)(arg1
)->GetBorder();
35354 wxPyEndAllowThreads(__tstate
);
35355 if (PyErr_Occurred()) SWIG_fail
;
35357 resultobj
= SWIG_From_int((int)result
);
35364 static PyObject
*_wrap_SizerItem_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35365 PyObject
*resultobj
;
35366 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35368 PyObject
* obj0
= 0 ;
35369 char *kwnames
[] = {
35370 (char *) "self", NULL
35373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetWindow",kwnames
,&obj0
)) goto fail
;
35374 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35375 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35378 result
= (wxWindow
*)(arg1
)->GetWindow();
35380 wxPyEndAllowThreads(__tstate
);
35381 if (PyErr_Occurred()) SWIG_fail
;
35384 resultobj
= wxPyMake_wxObject(result
, 0);
35392 static PyObject
*_wrap_SizerItem_SetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35393 PyObject
*resultobj
;
35394 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35395 wxWindow
*arg2
= (wxWindow
*) 0 ;
35396 PyObject
* obj0
= 0 ;
35397 PyObject
* obj1
= 0 ;
35398 char *kwnames
[] = {
35399 (char *) "self",(char *) "window", NULL
35402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
35403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35405 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
35406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35409 (arg1
)->SetWindow(arg2
);
35411 wxPyEndAllowThreads(__tstate
);
35412 if (PyErr_Occurred()) SWIG_fail
;
35414 Py_INCREF(Py_None
); resultobj
= Py_None
;
35421 static PyObject
*_wrap_SizerItem_GetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35422 PyObject
*resultobj
;
35423 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35425 PyObject
* obj0
= 0 ;
35426 char *kwnames
[] = {
35427 (char *) "self", NULL
35430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSizer",kwnames
,&obj0
)) goto fail
;
35431 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35432 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35435 result
= (wxSizer
*)(arg1
)->GetSizer();
35437 wxPyEndAllowThreads(__tstate
);
35438 if (PyErr_Occurred()) SWIG_fail
;
35441 resultobj
= wxPyMake_wxSizer(result
, 0);
35449 static PyObject
*_wrap_SizerItem_SetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35450 PyObject
*resultobj
;
35451 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35452 wxSizer
*arg2
= (wxSizer
*) 0 ;
35453 PyObject
* obj0
= 0 ;
35454 PyObject
* obj1
= 0 ;
35455 char *kwnames
[] = {
35456 (char *) "self",(char *) "sizer", NULL
35459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
35460 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35462 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
35463 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35466 (arg1
)->SetSizer(arg2
);
35468 wxPyEndAllowThreads(__tstate
);
35469 if (PyErr_Occurred()) SWIG_fail
;
35471 Py_INCREF(Py_None
); resultobj
= Py_None
;
35478 static PyObject
*_wrap_SizerItem_GetSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35479 PyObject
*resultobj
;
35480 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35482 PyObject
* obj0
= 0 ;
35483 char *kwnames
[] = {
35484 (char *) "self", NULL
35487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSpacer",kwnames
,&obj0
)) goto fail
;
35488 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35489 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35493 wxSize
const &_result_ref
= (arg1
)->GetSpacer();
35494 result
= (wxSize
*) &_result_ref
;
35497 wxPyEndAllowThreads(__tstate
);
35498 if (PyErr_Occurred()) SWIG_fail
;
35500 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
35507 static PyObject
*_wrap_SizerItem_SetSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35508 PyObject
*resultobj
;
35509 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35512 PyObject
* obj0
= 0 ;
35513 PyObject
* obj1
= 0 ;
35514 char *kwnames
[] = {
35515 (char *) "self",(char *) "size", NULL
35518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSpacer",kwnames
,&obj0
,&obj1
)) goto fail
;
35519 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35520 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35523 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
35526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35527 (arg1
)->SetSpacer((wxSize
const &)*arg2
);
35529 wxPyEndAllowThreads(__tstate
);
35530 if (PyErr_Occurred()) SWIG_fail
;
35532 Py_INCREF(Py_None
); resultobj
= Py_None
;
35539 static PyObject
*_wrap_SizerItem_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35540 PyObject
*resultobj
;
35541 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35543 PyObject
* obj0
= 0 ;
35544 PyObject
* obj1
= 0 ;
35545 char *kwnames
[] = {
35546 (char *) "self",(char *) "show", NULL
35549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
35550 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35552 arg2
= (bool)SWIG_As_bool(obj1
);
35553 if (PyErr_Occurred()) SWIG_fail
;
35555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35556 (arg1
)->Show(arg2
);
35558 wxPyEndAllowThreads(__tstate
);
35559 if (PyErr_Occurred()) SWIG_fail
;
35561 Py_INCREF(Py_None
); resultobj
= Py_None
;
35568 static PyObject
*_wrap_SizerItem_IsShown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35569 PyObject
*resultobj
;
35570 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35572 PyObject
* obj0
= 0 ;
35573 char *kwnames
[] = {
35574 (char *) "self", NULL
35577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsShown",kwnames
,&obj0
)) goto fail
;
35578 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35579 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35582 result
= (bool)(arg1
)->IsShown();
35584 wxPyEndAllowThreads(__tstate
);
35585 if (PyErr_Occurred()) SWIG_fail
;
35588 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35596 static PyObject
*_wrap_SizerItem_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35597 PyObject
*resultobj
;
35598 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35600 PyObject
* obj0
= 0 ;
35601 char *kwnames
[] = {
35602 (char *) "self", NULL
35605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetPosition",kwnames
,&obj0
)) goto fail
;
35606 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35607 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35610 result
= (arg1
)->GetPosition();
35612 wxPyEndAllowThreads(__tstate
);
35613 if (PyErr_Occurred()) SWIG_fail
;
35616 wxPoint
* resultptr
;
35617 resultptr
= new wxPoint((wxPoint
&) result
);
35618 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
35626 static PyObject
*_wrap_SizerItem_GetUserData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35627 PyObject
*resultobj
;
35628 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35630 PyObject
* obj0
= 0 ;
35631 char *kwnames
[] = {
35632 (char *) "self", NULL
35635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetUserData",kwnames
,&obj0
)) goto fail
;
35636 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35637 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35640 result
= (PyObject
*)wxSizerItem_GetUserData(arg1
);
35642 wxPyEndAllowThreads(__tstate
);
35643 if (PyErr_Occurred()) SWIG_fail
;
35645 resultobj
= result
;
35652 static PyObject
* SizerItem_swigregister(PyObject
*, PyObject
*args
) {
35654 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35655 SWIG_TypeClientData(SWIGTYPE_p_wxSizerItem
, obj
);
35657 return Py_BuildValue((char *)"");
35659 static PyObject
*_wrap_Sizer__setOORInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35660 PyObject
*resultobj
;
35661 wxSizer
*arg1
= (wxSizer
*) 0 ;
35662 PyObject
*arg2
= (PyObject
*) 0 ;
35663 PyObject
* obj0
= 0 ;
35664 PyObject
* obj1
= 0 ;
35665 char *kwnames
[] = {
35666 (char *) "self",(char *) "_self", NULL
35669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
35670 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35675 wxSizer__setOORInfo(arg1
,arg2
);
35677 wxPyEndAllowThreads(__tstate
);
35678 if (PyErr_Occurred()) SWIG_fail
;
35680 Py_INCREF(Py_None
); resultobj
= Py_None
;
35687 static PyObject
*_wrap_Sizer_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35688 PyObject
*resultobj
;
35689 wxSizer
*arg1
= (wxSizer
*) 0 ;
35690 PyObject
*arg2
= (PyObject
*) 0 ;
35691 int arg3
= (int) 0 ;
35692 int arg4
= (int) 0 ;
35693 int arg5
= (int) 0 ;
35694 PyObject
*arg6
= (PyObject
*) NULL
;
35695 PyObject
* obj0
= 0 ;
35696 PyObject
* obj1
= 0 ;
35697 PyObject
* obj2
= 0 ;
35698 PyObject
* obj3
= 0 ;
35699 PyObject
* obj4
= 0 ;
35700 PyObject
* obj5
= 0 ;
35701 char *kwnames
[] = {
35702 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
35705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
35706 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35707 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35710 arg3
= (int)SWIG_As_int(obj2
);
35711 if (PyErr_Occurred()) SWIG_fail
;
35714 arg4
= (int)SWIG_As_int(obj3
);
35715 if (PyErr_Occurred()) SWIG_fail
;
35718 arg5
= (int)SWIG_As_int(obj4
);
35719 if (PyErr_Occurred()) SWIG_fail
;
35725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35726 wxSizer_Add(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
35728 wxPyEndAllowThreads(__tstate
);
35729 if (PyErr_Occurred()) SWIG_fail
;
35731 Py_INCREF(Py_None
); resultobj
= Py_None
;
35738 static PyObject
*_wrap_Sizer_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35739 PyObject
*resultobj
;
35740 wxSizer
*arg1
= (wxSizer
*) 0 ;
35742 PyObject
*arg3
= (PyObject
*) 0 ;
35743 int arg4
= (int) 0 ;
35744 int arg5
= (int) 0 ;
35745 int arg6
= (int) 0 ;
35746 PyObject
*arg7
= (PyObject
*) NULL
;
35747 PyObject
* obj0
= 0 ;
35748 PyObject
* obj1
= 0 ;
35749 PyObject
* obj2
= 0 ;
35750 PyObject
* obj3
= 0 ;
35751 PyObject
* obj4
= 0 ;
35752 PyObject
* obj5
= 0 ;
35753 PyObject
* obj6
= 0 ;
35754 char *kwnames
[] = {
35755 (char *) "self",(char *) "before",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
35758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Sizer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
35759 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35761 arg2
= (int)SWIG_As_int(obj1
);
35762 if (PyErr_Occurred()) SWIG_fail
;
35765 arg4
= (int)SWIG_As_int(obj3
);
35766 if (PyErr_Occurred()) SWIG_fail
;
35769 arg5
= (int)SWIG_As_int(obj4
);
35770 if (PyErr_Occurred()) SWIG_fail
;
35773 arg6
= (int)SWIG_As_int(obj5
);
35774 if (PyErr_Occurred()) SWIG_fail
;
35780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35781 wxSizer_Insert(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
35783 wxPyEndAllowThreads(__tstate
);
35784 if (PyErr_Occurred()) SWIG_fail
;
35786 Py_INCREF(Py_None
); resultobj
= Py_None
;
35793 static PyObject
*_wrap_Sizer_Prepend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35794 PyObject
*resultobj
;
35795 wxSizer
*arg1
= (wxSizer
*) 0 ;
35796 PyObject
*arg2
= (PyObject
*) 0 ;
35797 int arg3
= (int) 0 ;
35798 int arg4
= (int) 0 ;
35799 int arg5
= (int) 0 ;
35800 PyObject
*arg6
= (PyObject
*) NULL
;
35801 PyObject
* obj0
= 0 ;
35802 PyObject
* obj1
= 0 ;
35803 PyObject
* obj2
= 0 ;
35804 PyObject
* obj3
= 0 ;
35805 PyObject
* obj4
= 0 ;
35806 PyObject
* obj5
= 0 ;
35807 char *kwnames
[] = {
35808 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
35811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
35812 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35813 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35816 arg3
= (int)SWIG_As_int(obj2
);
35817 if (PyErr_Occurred()) SWIG_fail
;
35820 arg4
= (int)SWIG_As_int(obj3
);
35821 if (PyErr_Occurred()) SWIG_fail
;
35824 arg5
= (int)SWIG_As_int(obj4
);
35825 if (PyErr_Occurred()) SWIG_fail
;
35831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35832 wxSizer_Prepend(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
35834 wxPyEndAllowThreads(__tstate
);
35835 if (PyErr_Occurred()) SWIG_fail
;
35837 Py_INCREF(Py_None
); resultobj
= Py_None
;
35844 static PyObject
*_wrap_Sizer_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35845 PyObject
*resultobj
;
35846 wxSizer
*arg1
= (wxSizer
*) 0 ;
35847 PyObject
*arg2
= (PyObject
*) 0 ;
35849 PyObject
* obj0
= 0 ;
35850 PyObject
* obj1
= 0 ;
35851 char *kwnames
[] = {
35852 (char *) "self",(char *) "item", NULL
35855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
35856 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35857 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35861 result
= (bool)wxSizer_Remove(arg1
,arg2
);
35863 wxPyEndAllowThreads(__tstate
);
35864 if (PyErr_Occurred()) SWIG_fail
;
35867 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35875 static PyObject
*_wrap_Sizer_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35876 PyObject
*resultobj
;
35877 wxSizer
*arg1
= (wxSizer
*) 0 ;
35878 PyObject
*arg2
= (PyObject
*) 0 ;
35880 PyObject
* obj0
= 0 ;
35881 PyObject
* obj1
= 0 ;
35882 char *kwnames
[] = {
35883 (char *) "self",(char *) "item", NULL
35886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Detach",kwnames
,&obj0
,&obj1
)) goto fail
;
35887 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35888 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35892 result
= (bool)wxSizer_Detach(arg1
,arg2
);
35894 wxPyEndAllowThreads(__tstate
);
35895 if (PyErr_Occurred()) SWIG_fail
;
35898 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35906 static PyObject
*_wrap_Sizer__SetItemMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35907 PyObject
*resultobj
;
35908 wxSizer
*arg1
= (wxSizer
*) 0 ;
35909 PyObject
*arg2
= (PyObject
*) 0 ;
35912 PyObject
* obj0
= 0 ;
35913 PyObject
* obj1
= 0 ;
35914 PyObject
* obj2
= 0 ;
35915 char *kwnames
[] = {
35916 (char *) "self",(char *) "item",(char *) "size", NULL
35919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer__SetItemMinSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35920 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35921 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35925 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
35928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35929 wxSizer__SetItemMinSize(arg1
,arg2
,(wxSize
const &)*arg3
);
35931 wxPyEndAllowThreads(__tstate
);
35932 if (PyErr_Occurred()) SWIG_fail
;
35934 Py_INCREF(Py_None
); resultobj
= Py_None
;
35941 static PyObject
*_wrap_Sizer_AddItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35942 PyObject
*resultobj
;
35943 wxSizer
*arg1
= (wxSizer
*) 0 ;
35944 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
35945 PyObject
* obj0
= 0 ;
35946 PyObject
* obj1
= 0 ;
35947 char *kwnames
[] = {
35948 (char *) "self",(char *) "item", NULL
35951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
35952 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35954 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizerItem
,
35955 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35960 wxPyEndAllowThreads(__tstate
);
35961 if (PyErr_Occurred()) SWIG_fail
;
35963 Py_INCREF(Py_None
); resultobj
= Py_None
;
35970 static PyObject
*_wrap_Sizer_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35971 PyObject
*resultobj
;
35972 wxSizer
*arg1
= (wxSizer
*) 0 ;
35974 wxSizerItem
*arg3
= (wxSizerItem
*) 0 ;
35975 PyObject
* obj0
= 0 ;
35976 PyObject
* obj1
= 0 ;
35977 PyObject
* obj2
= 0 ;
35978 char *kwnames
[] = {
35979 (char *) "self",(char *) "index",(char *) "item", NULL
35982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35983 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35984 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35985 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
35986 if (PyErr_Occurred()) SWIG_fail
;
35987 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxSizerItem
,
35988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35991 (arg1
)->Insert(arg2
,arg3
);
35993 wxPyEndAllowThreads(__tstate
);
35994 if (PyErr_Occurred()) SWIG_fail
;
35996 Py_INCREF(Py_None
); resultobj
= Py_None
;
36003 static PyObject
*_wrap_Sizer_PrependItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36004 PyObject
*resultobj
;
36005 wxSizer
*arg1
= (wxSizer
*) 0 ;
36006 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
36007 PyObject
* obj0
= 0 ;
36008 PyObject
* obj1
= 0 ;
36009 char *kwnames
[] = {
36010 (char *) "self",(char *) "item", NULL
36013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
36014 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36016 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizerItem
,
36017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36020 (arg1
)->Prepend(arg2
);
36022 wxPyEndAllowThreads(__tstate
);
36023 if (PyErr_Occurred()) SWIG_fail
;
36025 Py_INCREF(Py_None
); resultobj
= Py_None
;
36032 static PyObject
*_wrap_Sizer_SetDimension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36033 PyObject
*resultobj
;
36034 wxSizer
*arg1
= (wxSizer
*) 0 ;
36039 PyObject
* obj0
= 0 ;
36040 PyObject
* obj1
= 0 ;
36041 PyObject
* obj2
= 0 ;
36042 PyObject
* obj3
= 0 ;
36043 PyObject
* obj4
= 0 ;
36044 char *kwnames
[] = {
36045 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
36048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Sizer_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
36049 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36050 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36051 arg2
= (int)SWIG_As_int(obj1
);
36052 if (PyErr_Occurred()) SWIG_fail
;
36053 arg3
= (int)SWIG_As_int(obj2
);
36054 if (PyErr_Occurred()) SWIG_fail
;
36055 arg4
= (int)SWIG_As_int(obj3
);
36056 if (PyErr_Occurred()) SWIG_fail
;
36057 arg5
= (int)SWIG_As_int(obj4
);
36058 if (PyErr_Occurred()) SWIG_fail
;
36060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36061 (arg1
)->SetDimension(arg2
,arg3
,arg4
,arg5
);
36063 wxPyEndAllowThreads(__tstate
);
36064 if (PyErr_Occurred()) SWIG_fail
;
36066 Py_INCREF(Py_None
); resultobj
= Py_None
;
36073 static PyObject
*_wrap_Sizer_SetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36074 PyObject
*resultobj
;
36075 wxSizer
*arg1
= (wxSizer
*) 0 ;
36078 PyObject
* obj0
= 0 ;
36079 PyObject
* obj1
= 0 ;
36080 char *kwnames
[] = {
36081 (char *) "self",(char *) "size", NULL
36084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetMinSize",kwnames
,&obj0
,&obj1
)) goto fail
;
36085 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36086 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36089 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
36092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36093 (arg1
)->SetMinSize((wxSize
const &)*arg2
);
36095 wxPyEndAllowThreads(__tstate
);
36096 if (PyErr_Occurred()) SWIG_fail
;
36098 Py_INCREF(Py_None
); resultobj
= Py_None
;
36105 static PyObject
*_wrap_Sizer_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36106 PyObject
*resultobj
;
36107 wxSizer
*arg1
= (wxSizer
*) 0 ;
36109 PyObject
* obj0
= 0 ;
36110 char *kwnames
[] = {
36111 (char *) "self", NULL
36114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetSize",kwnames
,&obj0
)) goto fail
;
36115 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36119 result
= (arg1
)->GetSize();
36121 wxPyEndAllowThreads(__tstate
);
36122 if (PyErr_Occurred()) SWIG_fail
;
36125 wxSize
* resultptr
;
36126 resultptr
= new wxSize((wxSize
&) result
);
36127 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
36135 static PyObject
*_wrap_Sizer_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36136 PyObject
*resultobj
;
36137 wxSizer
*arg1
= (wxSizer
*) 0 ;
36139 PyObject
* obj0
= 0 ;
36140 char *kwnames
[] = {
36141 (char *) "self", NULL
36144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetPosition",kwnames
,&obj0
)) goto fail
;
36145 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36146 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36149 result
= (arg1
)->GetPosition();
36151 wxPyEndAllowThreads(__tstate
);
36152 if (PyErr_Occurred()) SWIG_fail
;
36155 wxPoint
* resultptr
;
36156 resultptr
= new wxPoint((wxPoint
&) result
);
36157 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
36165 static PyObject
*_wrap_Sizer_GetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36166 PyObject
*resultobj
;
36167 wxSizer
*arg1
= (wxSizer
*) 0 ;
36169 PyObject
* obj0
= 0 ;
36170 char *kwnames
[] = {
36171 (char *) "self", NULL
36174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetMinSize",kwnames
,&obj0
)) goto fail
;
36175 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36176 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36179 result
= (arg1
)->GetMinSize();
36181 wxPyEndAllowThreads(__tstate
);
36182 if (PyErr_Occurred()) SWIG_fail
;
36185 wxSize
* resultptr
;
36186 resultptr
= new wxSize((wxSize
&) result
);
36187 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
36195 static PyObject
*_wrap_Sizer_RecalcSizes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36196 PyObject
*resultobj
;
36197 wxSizer
*arg1
= (wxSizer
*) 0 ;
36198 PyObject
* obj0
= 0 ;
36199 char *kwnames
[] = {
36200 (char *) "self", NULL
36203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
36204 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36205 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36208 (arg1
)->RecalcSizes();
36210 wxPyEndAllowThreads(__tstate
);
36211 if (PyErr_Occurred()) SWIG_fail
;
36213 Py_INCREF(Py_None
); resultobj
= Py_None
;
36220 static PyObject
*_wrap_Sizer_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36221 PyObject
*resultobj
;
36222 wxSizer
*arg1
= (wxSizer
*) 0 ;
36224 PyObject
* obj0
= 0 ;
36225 char *kwnames
[] = {
36226 (char *) "self", NULL
36229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_CalcMin",kwnames
,&obj0
)) goto fail
;
36230 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36234 result
= (arg1
)->CalcMin();
36236 wxPyEndAllowThreads(__tstate
);
36237 if (PyErr_Occurred()) SWIG_fail
;
36240 wxSize
* resultptr
;
36241 resultptr
= new wxSize((wxSize
&) result
);
36242 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
36250 static PyObject
*_wrap_Sizer_Layout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36251 PyObject
*resultobj
;
36252 wxSizer
*arg1
= (wxSizer
*) 0 ;
36253 PyObject
* obj0
= 0 ;
36254 char *kwnames
[] = {
36255 (char *) "self", NULL
36258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_Layout",kwnames
,&obj0
)) goto fail
;
36259 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36260 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36265 wxPyEndAllowThreads(__tstate
);
36266 if (PyErr_Occurred()) SWIG_fail
;
36268 Py_INCREF(Py_None
); resultobj
= Py_None
;
36275 static PyObject
*_wrap_Sizer_Fit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36276 PyObject
*resultobj
;
36277 wxSizer
*arg1
= (wxSizer
*) 0 ;
36278 wxWindow
*arg2
= (wxWindow
*) 0 ;
36280 PyObject
* obj0
= 0 ;
36281 PyObject
* obj1
= 0 ;
36282 char *kwnames
[] = {
36283 (char *) "self",(char *) "window", NULL
36286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Fit",kwnames
,&obj0
,&obj1
)) goto fail
;
36287 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36289 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
36290 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36293 result
= (arg1
)->Fit(arg2
);
36295 wxPyEndAllowThreads(__tstate
);
36296 if (PyErr_Occurred()) SWIG_fail
;
36299 wxSize
* resultptr
;
36300 resultptr
= new wxSize((wxSize
&) result
);
36301 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
36309 static PyObject
*_wrap_Sizer_FitInside(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36310 PyObject
*resultobj
;
36311 wxSizer
*arg1
= (wxSizer
*) 0 ;
36312 wxWindow
*arg2
= (wxWindow
*) 0 ;
36313 PyObject
* obj0
= 0 ;
36314 PyObject
* obj1
= 0 ;
36315 char *kwnames
[] = {
36316 (char *) "self",(char *) "window", NULL
36319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_FitInside",kwnames
,&obj0
,&obj1
)) goto fail
;
36320 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36322 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
36323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36326 (arg1
)->FitInside(arg2
);
36328 wxPyEndAllowThreads(__tstate
);
36329 if (PyErr_Occurred()) SWIG_fail
;
36331 Py_INCREF(Py_None
); resultobj
= Py_None
;
36338 static PyObject
*_wrap_Sizer_SetSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36339 PyObject
*resultobj
;
36340 wxSizer
*arg1
= (wxSizer
*) 0 ;
36341 wxWindow
*arg2
= (wxWindow
*) 0 ;
36342 PyObject
* obj0
= 0 ;
36343 PyObject
* obj1
= 0 ;
36344 char *kwnames
[] = {
36345 (char *) "self",(char *) "window", NULL
36348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
36349 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36351 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
36352 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36355 (arg1
)->SetSizeHints(arg2
);
36357 wxPyEndAllowThreads(__tstate
);
36358 if (PyErr_Occurred()) SWIG_fail
;
36360 Py_INCREF(Py_None
); resultobj
= Py_None
;
36367 static PyObject
*_wrap_Sizer_SetVirtualSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36368 PyObject
*resultobj
;
36369 wxSizer
*arg1
= (wxSizer
*) 0 ;
36370 wxWindow
*arg2
= (wxWindow
*) 0 ;
36371 PyObject
* obj0
= 0 ;
36372 PyObject
* obj1
= 0 ;
36373 char *kwnames
[] = {
36374 (char *) "self",(char *) "window", NULL
36377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
36378 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36379 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36380 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
36381 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36384 (arg1
)->SetVirtualSizeHints(arg2
);
36386 wxPyEndAllowThreads(__tstate
);
36387 if (PyErr_Occurred()) SWIG_fail
;
36389 Py_INCREF(Py_None
); resultobj
= Py_None
;
36396 static PyObject
*_wrap_Sizer_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36397 PyObject
*resultobj
;
36398 wxSizer
*arg1
= (wxSizer
*) 0 ;
36399 bool arg2
= (bool) False
;
36400 PyObject
* obj0
= 0 ;
36401 PyObject
* obj1
= 0 ;
36402 char *kwnames
[] = {
36403 (char *) "self",(char *) "deleteWindows", NULL
36406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sizer_Clear",kwnames
,&obj0
,&obj1
)) goto fail
;
36407 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36408 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36410 arg2
= (bool)SWIG_As_bool(obj1
);
36411 if (PyErr_Occurred()) SWIG_fail
;
36414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36415 (arg1
)->Clear(arg2
);
36417 wxPyEndAllowThreads(__tstate
);
36418 if (PyErr_Occurred()) SWIG_fail
;
36420 Py_INCREF(Py_None
); resultobj
= Py_None
;
36427 static PyObject
*_wrap_Sizer_DeleteWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36428 PyObject
*resultobj
;
36429 wxSizer
*arg1
= (wxSizer
*) 0 ;
36430 PyObject
* obj0
= 0 ;
36431 char *kwnames
[] = {
36432 (char *) "self", NULL
36435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_DeleteWindows",kwnames
,&obj0
)) goto fail
;
36436 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36440 (arg1
)->DeleteWindows();
36442 wxPyEndAllowThreads(__tstate
);
36443 if (PyErr_Occurred()) SWIG_fail
;
36445 Py_INCREF(Py_None
); resultobj
= Py_None
;
36452 static PyObject
*_wrap_Sizer_GetChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36453 PyObject
*resultobj
;
36454 wxSizer
*arg1
= (wxSizer
*) 0 ;
36456 PyObject
* obj0
= 0 ;
36457 char *kwnames
[] = {
36458 (char *) "self", NULL
36461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetChildren",kwnames
,&obj0
)) goto fail
;
36462 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36463 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36466 result
= (PyObject
*)wxSizer_GetChildren(arg1
);
36468 wxPyEndAllowThreads(__tstate
);
36469 if (PyErr_Occurred()) SWIG_fail
;
36471 resultobj
= result
;
36478 static PyObject
*_wrap_Sizer_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36479 PyObject
*resultobj
;
36480 wxSizer
*arg1
= (wxSizer
*) 0 ;
36481 PyObject
*arg2
= (PyObject
*) 0 ;
36482 bool arg3
= (bool) True
;
36483 bool arg4
= (bool) False
;
36485 PyObject
* obj0
= 0 ;
36486 PyObject
* obj1
= 0 ;
36487 PyObject
* obj2
= 0 ;
36488 PyObject
* obj3
= 0 ;
36489 char *kwnames
[] = {
36490 (char *) "self",(char *) "item",(char *) "show",(char *) "recursive", NULL
36493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Sizer_Show",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
36494 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36495 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36498 arg3
= (bool)SWIG_As_bool(obj2
);
36499 if (PyErr_Occurred()) SWIG_fail
;
36502 arg4
= (bool)SWIG_As_bool(obj3
);
36503 if (PyErr_Occurred()) SWIG_fail
;
36506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36507 result
= (bool)wxSizer_Show(arg1
,arg2
,arg3
,arg4
);
36509 wxPyEndAllowThreads(__tstate
);
36510 if (PyErr_Occurred()) SWIG_fail
;
36513 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36521 static PyObject
*_wrap_Sizer_IsShown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36522 PyObject
*resultobj
;
36523 wxSizer
*arg1
= (wxSizer
*) 0 ;
36524 PyObject
*arg2
= (PyObject
*) 0 ;
36526 PyObject
* obj0
= 0 ;
36527 PyObject
* obj1
= 0 ;
36528 char *kwnames
[] = {
36529 (char *) "self",(char *) "item", NULL
36532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_IsShown",kwnames
,&obj0
,&obj1
)) goto fail
;
36533 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36534 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36538 result
= (bool)wxSizer_IsShown(arg1
,arg2
);
36540 wxPyEndAllowThreads(__tstate
);
36541 if (PyErr_Occurred()) SWIG_fail
;
36544 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36552 static PyObject
*_wrap_Sizer_ShowItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36553 PyObject
*resultobj
;
36554 wxSizer
*arg1
= (wxSizer
*) 0 ;
36556 PyObject
* obj0
= 0 ;
36557 PyObject
* obj1
= 0 ;
36558 char *kwnames
[] = {
36559 (char *) "self",(char *) "show", NULL
36562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_ShowItems",kwnames
,&obj0
,&obj1
)) goto fail
;
36563 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36564 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36565 arg2
= (bool)SWIG_As_bool(obj1
);
36566 if (PyErr_Occurred()) SWIG_fail
;
36568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36569 (arg1
)->ShowItems(arg2
);
36571 wxPyEndAllowThreads(__tstate
);
36572 if (PyErr_Occurred()) SWIG_fail
;
36574 Py_INCREF(Py_None
); resultobj
= Py_None
;
36581 static PyObject
* Sizer_swigregister(PyObject
*, PyObject
*args
) {
36583 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36584 SWIG_TypeClientData(SWIGTYPE_p_wxSizer
, obj
);
36586 return Py_BuildValue((char *)"");
36588 static PyObject
*_wrap_new_PySizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36589 PyObject
*resultobj
;
36591 char *kwnames
[] = {
36595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PySizer",kwnames
)) goto fail
;
36597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36598 result
= (wxPySizer
*)new wxPySizer();
36600 wxPyEndAllowThreads(__tstate
);
36601 if (PyErr_Occurred()) SWIG_fail
;
36603 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPySizer
, 1);
36610 static PyObject
*_wrap_PySizer__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36611 PyObject
*resultobj
;
36612 wxPySizer
*arg1
= (wxPySizer
*) 0 ;
36613 PyObject
*arg2
= (PyObject
*) 0 ;
36614 PyObject
*arg3
= (PyObject
*) 0 ;
36615 PyObject
* obj0
= 0 ;
36616 PyObject
* obj1
= 0 ;
36617 PyObject
* obj2
= 0 ;
36618 char *kwnames
[] = {
36619 (char *) "self",(char *) "self",(char *) "_class", NULL
36622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PySizer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
36623 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPySizer
,
36624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36629 (arg1
)->_setCallbackInfo(arg2
,arg3
);
36631 wxPyEndAllowThreads(__tstate
);
36632 if (PyErr_Occurred()) SWIG_fail
;
36634 Py_INCREF(Py_None
); resultobj
= Py_None
;
36641 static PyObject
* PySizer_swigregister(PyObject
*, PyObject
*args
) {
36643 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36644 SWIG_TypeClientData(SWIGTYPE_p_wxPySizer
, obj
);
36646 return Py_BuildValue((char *)"");
36648 static PyObject
*_wrap_new_BoxSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36649 PyObject
*resultobj
;
36650 int arg1
= (int) wxHORIZONTAL
;
36651 wxBoxSizer
*result
;
36652 PyObject
* obj0
= 0 ;
36653 char *kwnames
[] = {
36654 (char *) "orient", NULL
36657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BoxSizer",kwnames
,&obj0
)) goto fail
;
36659 arg1
= (int)SWIG_As_int(obj0
);
36660 if (PyErr_Occurred()) SWIG_fail
;
36663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36664 result
= (wxBoxSizer
*)new wxBoxSizer(arg1
);
36666 wxPyEndAllowThreads(__tstate
);
36667 if (PyErr_Occurred()) SWIG_fail
;
36669 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBoxSizer
, 1);
36676 static PyObject
*_wrap_BoxSizer_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36677 PyObject
*resultobj
;
36678 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
36680 PyObject
* obj0
= 0 ;
36681 char *kwnames
[] = {
36682 (char *) "self", NULL
36685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BoxSizer_GetOrientation",kwnames
,&obj0
)) goto fail
;
36686 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBoxSizer
,
36687 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36690 result
= (int)(arg1
)->GetOrientation();
36692 wxPyEndAllowThreads(__tstate
);
36693 if (PyErr_Occurred()) SWIG_fail
;
36695 resultobj
= SWIG_From_int((int)result
);
36702 static PyObject
*_wrap_BoxSizer_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36703 PyObject
*resultobj
;
36704 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
36706 PyObject
* obj0
= 0 ;
36707 PyObject
* obj1
= 0 ;
36708 char *kwnames
[] = {
36709 (char *) "self",(char *) "orient", NULL
36712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BoxSizer_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
36713 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBoxSizer
,
36714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36715 arg2
= (int)SWIG_As_int(obj1
);
36716 if (PyErr_Occurred()) SWIG_fail
;
36718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36719 (arg1
)->SetOrientation(arg2
);
36721 wxPyEndAllowThreads(__tstate
);
36722 if (PyErr_Occurred()) SWIG_fail
;
36724 Py_INCREF(Py_None
); resultobj
= Py_None
;
36731 static PyObject
* BoxSizer_swigregister(PyObject
*, PyObject
*args
) {
36733 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36734 SWIG_TypeClientData(SWIGTYPE_p_wxBoxSizer
, obj
);
36736 return Py_BuildValue((char *)"");
36738 static PyObject
*_wrap_new_StaticBoxSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36739 PyObject
*resultobj
;
36740 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
36741 int arg2
= (int) wxHORIZONTAL
;
36742 wxStaticBoxSizer
*result
;
36743 PyObject
* obj0
= 0 ;
36744 PyObject
* obj1
= 0 ;
36745 char *kwnames
[] = {
36746 (char *) "box",(char *) "orient", NULL
36749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_StaticBoxSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
36750 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBox
,
36751 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36753 arg2
= (int)SWIG_As_int(obj1
);
36754 if (PyErr_Occurred()) SWIG_fail
;
36757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36758 result
= (wxStaticBoxSizer
*)new wxStaticBoxSizer(arg1
,arg2
);
36760 wxPyEndAllowThreads(__tstate
);
36761 if (PyErr_Occurred()) SWIG_fail
;
36763 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBoxSizer
, 1);
36770 static PyObject
*_wrap_StaticBoxSizer_GetStaticBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36771 PyObject
*resultobj
;
36772 wxStaticBoxSizer
*arg1
= (wxStaticBoxSizer
*) 0 ;
36773 wxStaticBox
*result
;
36774 PyObject
* obj0
= 0 ;
36775 char *kwnames
[] = {
36776 (char *) "self", NULL
36779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBoxSizer_GetStaticBox",kwnames
,&obj0
)) goto fail
;
36780 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBoxSizer
,
36781 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36784 result
= (wxStaticBox
*)(arg1
)->GetStaticBox();
36786 wxPyEndAllowThreads(__tstate
);
36787 if (PyErr_Occurred()) SWIG_fail
;
36790 resultobj
= wxPyMake_wxObject(result
, 0);
36798 static PyObject
* StaticBoxSizer_swigregister(PyObject
*, PyObject
*args
) {
36800 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36801 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBoxSizer
, obj
);
36803 return Py_BuildValue((char *)"");
36805 static PyObject
*_wrap_new_GridSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36806 PyObject
*resultobj
;
36807 int arg1
= (int) 1 ;
36808 int arg2
= (int) 0 ;
36809 int arg3
= (int) 0 ;
36810 int arg4
= (int) 0 ;
36811 wxGridSizer
*result
;
36812 PyObject
* obj0
= 0 ;
36813 PyObject
* obj1
= 0 ;
36814 PyObject
* obj2
= 0 ;
36815 PyObject
* obj3
= 0 ;
36816 char *kwnames
[] = {
36817 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
36820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_GridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
36822 arg1
= (int)SWIG_As_int(obj0
);
36823 if (PyErr_Occurred()) SWIG_fail
;
36826 arg2
= (int)SWIG_As_int(obj1
);
36827 if (PyErr_Occurred()) SWIG_fail
;
36830 arg3
= (int)SWIG_As_int(obj2
);
36831 if (PyErr_Occurred()) SWIG_fail
;
36834 arg4
= (int)SWIG_As_int(obj3
);
36835 if (PyErr_Occurred()) SWIG_fail
;
36838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36839 result
= (wxGridSizer
*)new wxGridSizer(arg1
,arg2
,arg3
,arg4
);
36841 wxPyEndAllowThreads(__tstate
);
36842 if (PyErr_Occurred()) SWIG_fail
;
36844 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridSizer
, 1);
36851 static PyObject
*_wrap_GridSizer_SetCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36852 PyObject
*resultobj
;
36853 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36855 PyObject
* obj0
= 0 ;
36856 PyObject
* obj1
= 0 ;
36857 char *kwnames
[] = {
36858 (char *) "self",(char *) "cols", NULL
36861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetCols",kwnames
,&obj0
,&obj1
)) goto fail
;
36862 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36863 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36864 arg2
= (int)SWIG_As_int(obj1
);
36865 if (PyErr_Occurred()) SWIG_fail
;
36867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36868 (arg1
)->SetCols(arg2
);
36870 wxPyEndAllowThreads(__tstate
);
36871 if (PyErr_Occurred()) SWIG_fail
;
36873 Py_INCREF(Py_None
); resultobj
= Py_None
;
36880 static PyObject
*_wrap_GridSizer_SetRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36881 PyObject
*resultobj
;
36882 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36884 PyObject
* obj0
= 0 ;
36885 PyObject
* obj1
= 0 ;
36886 char *kwnames
[] = {
36887 (char *) "self",(char *) "rows", NULL
36890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
;
36891 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36892 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36893 arg2
= (int)SWIG_As_int(obj1
);
36894 if (PyErr_Occurred()) SWIG_fail
;
36896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36897 (arg1
)->SetRows(arg2
);
36899 wxPyEndAllowThreads(__tstate
);
36900 if (PyErr_Occurred()) SWIG_fail
;
36902 Py_INCREF(Py_None
); resultobj
= Py_None
;
36909 static PyObject
*_wrap_GridSizer_SetVGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36910 PyObject
*resultobj
;
36911 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36913 PyObject
* obj0
= 0 ;
36914 PyObject
* obj1
= 0 ;
36915 char *kwnames
[] = {
36916 (char *) "self",(char *) "gap", NULL
36919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetVGap",kwnames
,&obj0
,&obj1
)) goto fail
;
36920 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36921 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36922 arg2
= (int)SWIG_As_int(obj1
);
36923 if (PyErr_Occurred()) SWIG_fail
;
36925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36926 (arg1
)->SetVGap(arg2
);
36928 wxPyEndAllowThreads(__tstate
);
36929 if (PyErr_Occurred()) SWIG_fail
;
36931 Py_INCREF(Py_None
); resultobj
= Py_None
;
36938 static PyObject
*_wrap_GridSizer_SetHGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36939 PyObject
*resultobj
;
36940 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36942 PyObject
* obj0
= 0 ;
36943 PyObject
* obj1
= 0 ;
36944 char *kwnames
[] = {
36945 (char *) "self",(char *) "gap", NULL
36948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetHGap",kwnames
,&obj0
,&obj1
)) goto fail
;
36949 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36951 arg2
= (int)SWIG_As_int(obj1
);
36952 if (PyErr_Occurred()) SWIG_fail
;
36954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36955 (arg1
)->SetHGap(arg2
);
36957 wxPyEndAllowThreads(__tstate
);
36958 if (PyErr_Occurred()) SWIG_fail
;
36960 Py_INCREF(Py_None
); resultobj
= Py_None
;
36967 static PyObject
*_wrap_GridSizer_GetCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36968 PyObject
*resultobj
;
36969 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36971 PyObject
* obj0
= 0 ;
36972 char *kwnames
[] = {
36973 (char *) "self", NULL
36976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetCols",kwnames
,&obj0
)) goto fail
;
36977 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36978 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36981 result
= (int)(arg1
)->GetCols();
36983 wxPyEndAllowThreads(__tstate
);
36984 if (PyErr_Occurred()) SWIG_fail
;
36986 resultobj
= SWIG_From_int((int)result
);
36993 static PyObject
*_wrap_GridSizer_GetRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36994 PyObject
*resultobj
;
36995 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36997 PyObject
* obj0
= 0 ;
36998 char *kwnames
[] = {
36999 (char *) "self", NULL
37002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetRows",kwnames
,&obj0
)) goto fail
;
37003 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
37004 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37007 result
= (int)(arg1
)->GetRows();
37009 wxPyEndAllowThreads(__tstate
);
37010 if (PyErr_Occurred()) SWIG_fail
;
37012 resultobj
= SWIG_From_int((int)result
);
37019 static PyObject
*_wrap_GridSizer_GetVGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37020 PyObject
*resultobj
;
37021 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
37023 PyObject
* obj0
= 0 ;
37024 char *kwnames
[] = {
37025 (char *) "self", NULL
37028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetVGap",kwnames
,&obj0
)) goto fail
;
37029 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
37030 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37033 result
= (int)(arg1
)->GetVGap();
37035 wxPyEndAllowThreads(__tstate
);
37036 if (PyErr_Occurred()) SWIG_fail
;
37038 resultobj
= SWIG_From_int((int)result
);
37045 static PyObject
*_wrap_GridSizer_GetHGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37046 PyObject
*resultobj
;
37047 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
37049 PyObject
* obj0
= 0 ;
37050 char *kwnames
[] = {
37051 (char *) "self", NULL
37054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetHGap",kwnames
,&obj0
)) goto fail
;
37055 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
37056 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37059 result
= (int)(arg1
)->GetHGap();
37061 wxPyEndAllowThreads(__tstate
);
37062 if (PyErr_Occurred()) SWIG_fail
;
37064 resultobj
= SWIG_From_int((int)result
);
37071 static PyObject
* GridSizer_swigregister(PyObject
*, PyObject
*args
) {
37073 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37074 SWIG_TypeClientData(SWIGTYPE_p_wxGridSizer
, obj
);
37076 return Py_BuildValue((char *)"");
37078 static PyObject
*_wrap_new_FlexGridSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37079 PyObject
*resultobj
;
37080 int arg1
= (int) 1 ;
37081 int arg2
= (int) 0 ;
37082 int arg3
= (int) 0 ;
37083 int arg4
= (int) 0 ;
37084 wxFlexGridSizer
*result
;
37085 PyObject
* obj0
= 0 ;
37086 PyObject
* obj1
= 0 ;
37087 PyObject
* obj2
= 0 ;
37088 PyObject
* obj3
= 0 ;
37089 char *kwnames
[] = {
37090 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
37093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_FlexGridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
37095 arg1
= (int)SWIG_As_int(obj0
);
37096 if (PyErr_Occurred()) SWIG_fail
;
37099 arg2
= (int)SWIG_As_int(obj1
);
37100 if (PyErr_Occurred()) SWIG_fail
;
37103 arg3
= (int)SWIG_As_int(obj2
);
37104 if (PyErr_Occurred()) SWIG_fail
;
37107 arg4
= (int)SWIG_As_int(obj3
);
37108 if (PyErr_Occurred()) SWIG_fail
;
37111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37112 result
= (wxFlexGridSizer
*)new wxFlexGridSizer(arg1
,arg2
,arg3
,arg4
);
37114 wxPyEndAllowThreads(__tstate
);
37115 if (PyErr_Occurred()) SWIG_fail
;
37117 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFlexGridSizer
, 1);
37124 static PyObject
*_wrap_FlexGridSizer_AddGrowableRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37125 PyObject
*resultobj
;
37126 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
37128 int arg3
= (int) 0 ;
37129 PyObject
* obj0
= 0 ;
37130 PyObject
* obj1
= 0 ;
37131 PyObject
* obj2
= 0 ;
37132 char *kwnames
[] = {
37133 (char *) "self",(char *) "idx",(char *) "proportion", NULL
37136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableRow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37137 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
37138 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37139 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
37140 if (PyErr_Occurred()) SWIG_fail
;
37142 arg3
= (int)SWIG_As_int(obj2
);
37143 if (PyErr_Occurred()) SWIG_fail
;
37146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37147 (arg1
)->AddGrowableRow(arg2
,arg3
);
37149 wxPyEndAllowThreads(__tstate
);
37150 if (PyErr_Occurred()) SWIG_fail
;
37152 Py_INCREF(Py_None
); resultobj
= Py_None
;
37159 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37160 PyObject
*resultobj
;
37161 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
37163 PyObject
* obj0
= 0 ;
37164 PyObject
* obj1
= 0 ;
37165 char *kwnames
[] = {
37166 (char *) "self",(char *) "idx", NULL
37169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableRow",kwnames
,&obj0
,&obj1
)) goto fail
;
37170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
37171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37172 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
37173 if (PyErr_Occurred()) SWIG_fail
;
37175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37176 (arg1
)->RemoveGrowableRow(arg2
);
37178 wxPyEndAllowThreads(__tstate
);
37179 if (PyErr_Occurred()) SWIG_fail
;
37181 Py_INCREF(Py_None
); resultobj
= Py_None
;
37188 static PyObject
*_wrap_FlexGridSizer_AddGrowableCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37189 PyObject
*resultobj
;
37190 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
37192 int arg3
= (int) 0 ;
37193 PyObject
* obj0
= 0 ;
37194 PyObject
* obj1
= 0 ;
37195 PyObject
* obj2
= 0 ;
37196 char *kwnames
[] = {
37197 (char *) "self",(char *) "idx",(char *) "proportion", NULL
37200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableCol",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
37202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37203 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
37204 if (PyErr_Occurred()) SWIG_fail
;
37206 arg3
= (int)SWIG_As_int(obj2
);
37207 if (PyErr_Occurred()) SWIG_fail
;
37210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37211 (arg1
)->AddGrowableCol(arg2
,arg3
);
37213 wxPyEndAllowThreads(__tstate
);
37214 if (PyErr_Occurred()) SWIG_fail
;
37216 Py_INCREF(Py_None
); resultobj
= Py_None
;
37223 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37224 PyObject
*resultobj
;
37225 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
37227 PyObject
* obj0
= 0 ;
37228 PyObject
* obj1
= 0 ;
37229 char *kwnames
[] = {
37230 (char *) "self",(char *) "idx", NULL
37233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableCol",kwnames
,&obj0
,&obj1
)) goto fail
;
37234 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
37235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37236 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
37237 if (PyErr_Occurred()) SWIG_fail
;
37239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37240 (arg1
)->RemoveGrowableCol(arg2
);
37242 wxPyEndAllowThreads(__tstate
);
37243 if (PyErr_Occurred()) SWIG_fail
;
37245 Py_INCREF(Py_None
); resultobj
= Py_None
;
37252 static PyObject
*_wrap_FlexGridSizer_SetFlexibleDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37253 PyObject
*resultobj
;
37254 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
37256 PyObject
* obj0
= 0 ;
37257 PyObject
* obj1
= 0 ;
37258 char *kwnames
[] = {
37259 (char *) "self",(char *) "direction", NULL
37262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetFlexibleDirection",kwnames
,&obj0
,&obj1
)) goto fail
;
37263 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
37264 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37265 arg2
= (int)SWIG_As_int(obj1
);
37266 if (PyErr_Occurred()) SWIG_fail
;
37268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37269 (arg1
)->SetFlexibleDirection(arg2
);
37271 wxPyEndAllowThreads(__tstate
);
37272 if (PyErr_Occurred()) SWIG_fail
;
37274 Py_INCREF(Py_None
); resultobj
= Py_None
;
37281 static PyObject
*_wrap_FlexGridSizer_GetFlexibleDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37282 PyObject
*resultobj
;
37283 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
37285 PyObject
* obj0
= 0 ;
37286 char *kwnames
[] = {
37287 (char *) "self", NULL
37290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetFlexibleDirection",kwnames
,&obj0
)) goto fail
;
37291 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
37292 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37295 result
= (int)(arg1
)->GetFlexibleDirection();
37297 wxPyEndAllowThreads(__tstate
);
37298 if (PyErr_Occurred()) SWIG_fail
;
37300 resultobj
= SWIG_From_int((int)result
);
37307 static PyObject
*_wrap_FlexGridSizer_SetNonFlexibleGrowMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37308 PyObject
*resultobj
;
37309 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
37311 PyObject
* obj0
= 0 ;
37312 PyObject
* obj1
= 0 ;
37313 char *kwnames
[] = {
37314 (char *) "self",(char *) "mode", NULL
37317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetNonFlexibleGrowMode",kwnames
,&obj0
,&obj1
)) goto fail
;
37318 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
37319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37320 arg2
= (int)SWIG_As_int(obj1
);
37321 if (PyErr_Occurred()) SWIG_fail
;
37323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37324 (arg1
)->SetNonFlexibleGrowMode((wxFlexSizerGrowMode
)arg2
);
37326 wxPyEndAllowThreads(__tstate
);
37327 if (PyErr_Occurred()) SWIG_fail
;
37329 Py_INCREF(Py_None
); resultobj
= Py_None
;
37336 static PyObject
*_wrap_FlexGridSizer_GetNonFlexibleGrowMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37337 PyObject
*resultobj
;
37338 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
37340 PyObject
* obj0
= 0 ;
37341 char *kwnames
[] = {
37342 (char *) "self", NULL
37345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetNonFlexibleGrowMode",kwnames
,&obj0
)) goto fail
;
37346 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
37347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37350 result
= (int)(arg1
)->GetNonFlexibleGrowMode();
37352 wxPyEndAllowThreads(__tstate
);
37353 if (PyErr_Occurred()) SWIG_fail
;
37355 resultobj
= SWIG_From_int((int)result
);
37362 static PyObject
*_wrap_FlexGridSizer_GetRowHeights(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37363 PyObject
*resultobj
;
37364 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
37365 wxArrayInt
*result
;
37366 PyObject
* obj0
= 0 ;
37367 char *kwnames
[] = {
37368 (char *) "self", NULL
37371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetRowHeights",kwnames
,&obj0
)) goto fail
;
37372 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
37373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37377 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetRowHeights();
37378 result
= (wxArrayInt
*) &_result_ref
;
37381 wxPyEndAllowThreads(__tstate
);
37382 if (PyErr_Occurred()) SWIG_fail
;
37385 resultobj
= PyList_New(0);
37387 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
37388 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
37389 PyList_Append(resultobj
, val
);
37399 static PyObject
*_wrap_FlexGridSizer_GetColWidths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37400 PyObject
*resultobj
;
37401 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
37402 wxArrayInt
*result
;
37403 PyObject
* obj0
= 0 ;
37404 char *kwnames
[] = {
37405 (char *) "self", NULL
37408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetColWidths",kwnames
,&obj0
)) goto fail
;
37409 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
37410 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37414 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetColWidths();
37415 result
= (wxArrayInt
*) &_result_ref
;
37418 wxPyEndAllowThreads(__tstate
);
37419 if (PyErr_Occurred()) SWIG_fail
;
37422 resultobj
= PyList_New(0);
37424 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
37425 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
37426 PyList_Append(resultobj
, val
);
37436 static PyObject
* FlexGridSizer_swigregister(PyObject
*, PyObject
*args
) {
37438 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37439 SWIG_TypeClientData(SWIGTYPE_p_wxFlexGridSizer
, obj
);
37441 return Py_BuildValue((char *)"");
37443 static PyObject
*_wrap_new_GBPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37444 PyObject
*resultobj
;
37445 int arg1
= (int) 0 ;
37446 int arg2
= (int) 0 ;
37447 wxGBPosition
*result
;
37448 PyObject
* obj0
= 0 ;
37449 PyObject
* obj1
= 0 ;
37450 char *kwnames
[] = {
37451 (char *) "row",(char *) "col", NULL
37454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
37456 arg1
= (int)SWIG_As_int(obj0
);
37457 if (PyErr_Occurred()) SWIG_fail
;
37460 arg2
= (int)SWIG_As_int(obj1
);
37461 if (PyErr_Occurred()) SWIG_fail
;
37464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37465 result
= (wxGBPosition
*)new wxGBPosition(arg1
,arg2
);
37467 wxPyEndAllowThreads(__tstate
);
37468 if (PyErr_Occurred()) SWIG_fail
;
37470 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBPosition
, 1);
37477 static PyObject
*_wrap_GBPosition_GetRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37478 PyObject
*resultobj
;
37479 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37481 PyObject
* obj0
= 0 ;
37482 char *kwnames
[] = {
37483 (char *) "self", NULL
37486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetRow",kwnames
,&obj0
)) goto fail
;
37487 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37488 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37491 result
= (int)((wxGBPosition
const *)arg1
)->GetRow();
37493 wxPyEndAllowThreads(__tstate
);
37494 if (PyErr_Occurred()) SWIG_fail
;
37496 resultobj
= SWIG_From_int((int)result
);
37503 static PyObject
*_wrap_GBPosition_GetCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37504 PyObject
*resultobj
;
37505 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37507 PyObject
* obj0
= 0 ;
37508 char *kwnames
[] = {
37509 (char *) "self", NULL
37512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetCol",kwnames
,&obj0
)) goto fail
;
37513 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37514 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37517 result
= (int)((wxGBPosition
const *)arg1
)->GetCol();
37519 wxPyEndAllowThreads(__tstate
);
37520 if (PyErr_Occurred()) SWIG_fail
;
37522 resultobj
= SWIG_From_int((int)result
);
37529 static PyObject
*_wrap_GBPosition_SetRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37530 PyObject
*resultobj
;
37531 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37533 PyObject
* obj0
= 0 ;
37534 PyObject
* obj1
= 0 ;
37535 char *kwnames
[] = {
37536 (char *) "self",(char *) "row", NULL
37539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetRow",kwnames
,&obj0
,&obj1
)) goto fail
;
37540 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37541 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37542 arg2
= (int)SWIG_As_int(obj1
);
37543 if (PyErr_Occurred()) SWIG_fail
;
37545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37546 (arg1
)->SetRow(arg2
);
37548 wxPyEndAllowThreads(__tstate
);
37549 if (PyErr_Occurred()) SWIG_fail
;
37551 Py_INCREF(Py_None
); resultobj
= Py_None
;
37558 static PyObject
*_wrap_GBPosition_SetCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37559 PyObject
*resultobj
;
37560 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37562 PyObject
* obj0
= 0 ;
37563 PyObject
* obj1
= 0 ;
37564 char *kwnames
[] = {
37565 (char *) "self",(char *) "col", NULL
37568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetCol",kwnames
,&obj0
,&obj1
)) goto fail
;
37569 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37570 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37571 arg2
= (int)SWIG_As_int(obj1
);
37572 if (PyErr_Occurred()) SWIG_fail
;
37574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37575 (arg1
)->SetCol(arg2
);
37577 wxPyEndAllowThreads(__tstate
);
37578 if (PyErr_Occurred()) SWIG_fail
;
37580 Py_INCREF(Py_None
); resultobj
= Py_None
;
37587 static PyObject
*_wrap_GBPosition___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37588 PyObject
*resultobj
;
37589 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37590 wxGBPosition
*arg2
= 0 ;
37592 wxGBPosition temp2
;
37593 PyObject
* obj0
= 0 ;
37594 PyObject
* obj1
= 0 ;
37595 char *kwnames
[] = {
37596 (char *) "self",(char *) "other", NULL
37599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
37600 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37601 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37604 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
37607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37608 result
= (bool)(arg1
)->operator ==((wxGBPosition
const &)*arg2
);
37610 wxPyEndAllowThreads(__tstate
);
37611 if (PyErr_Occurred()) SWIG_fail
;
37614 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37622 static PyObject
*_wrap_GBPosition___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37623 PyObject
*resultobj
;
37624 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37625 wxGBPosition
*arg2
= 0 ;
37627 wxGBPosition temp2
;
37628 PyObject
* obj0
= 0 ;
37629 PyObject
* obj1
= 0 ;
37630 char *kwnames
[] = {
37631 (char *) "self",(char *) "other", NULL
37634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
37635 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37636 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37639 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
37642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37643 result
= (bool)(arg1
)->operator !=((wxGBPosition
const &)*arg2
);
37645 wxPyEndAllowThreads(__tstate
);
37646 if (PyErr_Occurred()) SWIG_fail
;
37649 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37657 static PyObject
*_wrap_GBPosition_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37658 PyObject
*resultobj
;
37659 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37660 int arg2
= (int) 0 ;
37661 int arg3
= (int) 0 ;
37662 PyObject
* obj0
= 0 ;
37663 PyObject
* obj1
= 0 ;
37664 PyObject
* obj2
= 0 ;
37665 char *kwnames
[] = {
37666 (char *) "self",(char *) "row",(char *) "col", NULL
37669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBPosition_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37670 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37673 arg2
= (int)SWIG_As_int(obj1
);
37674 if (PyErr_Occurred()) SWIG_fail
;
37677 arg3
= (int)SWIG_As_int(obj2
);
37678 if (PyErr_Occurred()) SWIG_fail
;
37681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37682 wxGBPosition_Set(arg1
,arg2
,arg3
);
37684 wxPyEndAllowThreads(__tstate
);
37685 if (PyErr_Occurred()) SWIG_fail
;
37687 Py_INCREF(Py_None
); resultobj
= Py_None
;
37694 static PyObject
*_wrap_GBPosition_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37695 PyObject
*resultobj
;
37696 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37698 PyObject
* obj0
= 0 ;
37699 char *kwnames
[] = {
37700 (char *) "self", NULL
37703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_Get",kwnames
,&obj0
)) goto fail
;
37704 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37708 result
= (PyObject
*)wxGBPosition_Get(arg1
);
37710 wxPyEndAllowThreads(__tstate
);
37711 if (PyErr_Occurred()) SWIG_fail
;
37713 resultobj
= result
;
37720 static PyObject
* GBPosition_swigregister(PyObject
*, PyObject
*args
) {
37722 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37723 SWIG_TypeClientData(SWIGTYPE_p_wxGBPosition
, obj
);
37725 return Py_BuildValue((char *)"");
37727 static PyObject
*_wrap_new_GBSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37728 PyObject
*resultobj
;
37729 int arg1
= (int) 1 ;
37730 int arg2
= (int) 1 ;
37732 PyObject
* obj0
= 0 ;
37733 PyObject
* obj1
= 0 ;
37734 char *kwnames
[] = {
37735 (char *) "rowspan",(char *) "colspan", NULL
37738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
37740 arg1
= (int)SWIG_As_int(obj0
);
37741 if (PyErr_Occurred()) SWIG_fail
;
37744 arg2
= (int)SWIG_As_int(obj1
);
37745 if (PyErr_Occurred()) SWIG_fail
;
37748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37749 result
= (wxGBSpan
*)new wxGBSpan(arg1
,arg2
);
37751 wxPyEndAllowThreads(__tstate
);
37752 if (PyErr_Occurred()) SWIG_fail
;
37754 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSpan
, 1);
37761 static PyObject
*_wrap_GBSpan_GetRowspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37762 PyObject
*resultobj
;
37763 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37765 PyObject
* obj0
= 0 ;
37766 char *kwnames
[] = {
37767 (char *) "self", NULL
37770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetRowspan",kwnames
,&obj0
)) goto fail
;
37771 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37772 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37775 result
= (int)((wxGBSpan
const *)arg1
)->GetRowspan();
37777 wxPyEndAllowThreads(__tstate
);
37778 if (PyErr_Occurred()) SWIG_fail
;
37780 resultobj
= SWIG_From_int((int)result
);
37787 static PyObject
*_wrap_GBSpan_GetColspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37788 PyObject
*resultobj
;
37789 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37791 PyObject
* obj0
= 0 ;
37792 char *kwnames
[] = {
37793 (char *) "self", NULL
37796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetColspan",kwnames
,&obj0
)) goto fail
;
37797 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37801 result
= (int)((wxGBSpan
const *)arg1
)->GetColspan();
37803 wxPyEndAllowThreads(__tstate
);
37804 if (PyErr_Occurred()) SWIG_fail
;
37806 resultobj
= SWIG_From_int((int)result
);
37813 static PyObject
*_wrap_GBSpan_SetRowspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37814 PyObject
*resultobj
;
37815 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37817 PyObject
* obj0
= 0 ;
37818 PyObject
* obj1
= 0 ;
37819 char *kwnames
[] = {
37820 (char *) "self",(char *) "rowspan", NULL
37823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetRowspan",kwnames
,&obj0
,&obj1
)) goto fail
;
37824 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37825 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37826 arg2
= (int)SWIG_As_int(obj1
);
37827 if (PyErr_Occurred()) SWIG_fail
;
37829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37830 (arg1
)->SetRowspan(arg2
);
37832 wxPyEndAllowThreads(__tstate
);
37833 if (PyErr_Occurred()) SWIG_fail
;
37835 Py_INCREF(Py_None
); resultobj
= Py_None
;
37842 static PyObject
*_wrap_GBSpan_SetColspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37843 PyObject
*resultobj
;
37844 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37846 PyObject
* obj0
= 0 ;
37847 PyObject
* obj1
= 0 ;
37848 char *kwnames
[] = {
37849 (char *) "self",(char *) "colspan", NULL
37852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetColspan",kwnames
,&obj0
,&obj1
)) goto fail
;
37853 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37855 arg2
= (int)SWIG_As_int(obj1
);
37856 if (PyErr_Occurred()) SWIG_fail
;
37858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37859 (arg1
)->SetColspan(arg2
);
37861 wxPyEndAllowThreads(__tstate
);
37862 if (PyErr_Occurred()) SWIG_fail
;
37864 Py_INCREF(Py_None
); resultobj
= Py_None
;
37871 static PyObject
*_wrap_GBSpan___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37872 PyObject
*resultobj
;
37873 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37874 wxGBSpan
*arg2
= 0 ;
37877 PyObject
* obj0
= 0 ;
37878 PyObject
* obj1
= 0 ;
37879 char *kwnames
[] = {
37880 (char *) "self",(char *) "other", NULL
37883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
37884 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37885 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37888 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
37891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37892 result
= (bool)(arg1
)->operator ==((wxGBSpan
const &)*arg2
);
37894 wxPyEndAllowThreads(__tstate
);
37895 if (PyErr_Occurred()) SWIG_fail
;
37898 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37906 static PyObject
*_wrap_GBSpan___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37907 PyObject
*resultobj
;
37908 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37909 wxGBSpan
*arg2
= 0 ;
37912 PyObject
* obj0
= 0 ;
37913 PyObject
* obj1
= 0 ;
37914 char *kwnames
[] = {
37915 (char *) "self",(char *) "other", NULL
37918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
37919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37923 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
37926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37927 result
= (bool)(arg1
)->operator !=((wxGBSpan
const &)*arg2
);
37929 wxPyEndAllowThreads(__tstate
);
37930 if (PyErr_Occurred()) SWIG_fail
;
37933 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37941 static PyObject
*_wrap_GBSpan_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37942 PyObject
*resultobj
;
37943 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37944 int arg2
= (int) 1 ;
37945 int arg3
= (int) 1 ;
37946 PyObject
* obj0
= 0 ;
37947 PyObject
* obj1
= 0 ;
37948 PyObject
* obj2
= 0 ;
37949 char *kwnames
[] = {
37950 (char *) "self",(char *) "rowspan",(char *) "colspan", NULL
37953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBSpan_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37954 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37955 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37957 arg2
= (int)SWIG_As_int(obj1
);
37958 if (PyErr_Occurred()) SWIG_fail
;
37961 arg3
= (int)SWIG_As_int(obj2
);
37962 if (PyErr_Occurred()) SWIG_fail
;
37965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37966 wxGBSpan_Set(arg1
,arg2
,arg3
);
37968 wxPyEndAllowThreads(__tstate
);
37969 if (PyErr_Occurred()) SWIG_fail
;
37971 Py_INCREF(Py_None
); resultobj
= Py_None
;
37978 static PyObject
*_wrap_GBSpan_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37979 PyObject
*resultobj
;
37980 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37982 PyObject
* obj0
= 0 ;
37983 char *kwnames
[] = {
37984 (char *) "self", NULL
37987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_Get",kwnames
,&obj0
)) goto fail
;
37988 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37992 result
= (PyObject
*)wxGBSpan_Get(arg1
);
37994 wxPyEndAllowThreads(__tstate
);
37995 if (PyErr_Occurred()) SWIG_fail
;
37997 resultobj
= result
;
38004 static PyObject
* GBSpan_swigregister(PyObject
*, PyObject
*args
) {
38006 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
38007 SWIG_TypeClientData(SWIGTYPE_p_wxGBSpan
, obj
);
38009 return Py_BuildValue((char *)"");
38011 static int _wrap_DefaultSpan_set(PyObject
*) {
38012 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSpan is read-only.");
38017 static PyObject
*_wrap_DefaultSpan_get() {
38020 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultSpan
), SWIGTYPE_p_wxGBSpan
, 0);
38025 static PyObject
*_wrap_new_GBSizerItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38026 PyObject
*resultobj
;
38027 wxGBSizerItem
*result
;
38028 char *kwnames
[] = {
38032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GBSizerItem",kwnames
)) goto fail
;
38034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38035 result
= (wxGBSizerItem
*)new wxGBSizerItem();
38037 wxPyEndAllowThreads(__tstate
);
38038 if (PyErr_Occurred()) SWIG_fail
;
38040 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
38047 static PyObject
*_wrap_new_GBSizerItemWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38048 PyObject
*resultobj
;
38049 wxWindow
*arg1
= (wxWindow
*) 0 ;
38050 wxGBPosition
*arg2
= 0 ;
38051 wxGBSpan
*arg3
= 0 ;
38054 PyObject
*arg6
= (PyObject
*) NULL
;
38055 wxGBSizerItem
*result
;
38056 wxGBPosition temp2
;
38058 PyObject
* obj0
= 0 ;
38059 PyObject
* obj1
= 0 ;
38060 PyObject
* obj2
= 0 ;
38061 PyObject
* obj3
= 0 ;
38062 PyObject
* obj4
= 0 ;
38063 PyObject
* obj5
= 0 ;
38064 char *kwnames
[] = {
38065 (char *) "window",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
38068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_GBSizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
38069 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
38070 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38073 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
38077 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
38079 arg4
= (int)SWIG_As_int(obj3
);
38080 if (PyErr_Occurred()) SWIG_fail
;
38081 arg5
= (int)SWIG_As_int(obj4
);
38082 if (PyErr_Occurred()) SWIG_fail
;
38087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38088 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
38090 wxPyEndAllowThreads(__tstate
);
38091 if (PyErr_Occurred()) SWIG_fail
;
38093 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
38100 static PyObject
*_wrap_new_GBSizerItemSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38101 PyObject
*resultobj
;
38102 wxSizer
*arg1
= (wxSizer
*) 0 ;
38103 wxGBPosition
*arg2
= 0 ;
38104 wxGBSpan
*arg3
= 0 ;
38107 PyObject
*arg6
= (PyObject
*) NULL
;
38108 wxGBSizerItem
*result
;
38109 wxGBPosition temp2
;
38111 PyObject
* obj0
= 0 ;
38112 PyObject
* obj1
= 0 ;
38113 PyObject
* obj2
= 0 ;
38114 PyObject
* obj3
= 0 ;
38115 PyObject
* obj4
= 0 ;
38116 PyObject
* obj5
= 0 ;
38117 char *kwnames
[] = {
38118 (char *) "sizer",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
38121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_GBSizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
38122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
38123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38126 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
38130 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
38132 arg4
= (int)SWIG_As_int(obj3
);
38133 if (PyErr_Occurred()) SWIG_fail
;
38134 arg5
= (int)SWIG_As_int(obj4
);
38135 if (PyErr_Occurred()) SWIG_fail
;
38140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38141 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
38143 wxPyEndAllowThreads(__tstate
);
38144 if (PyErr_Occurred()) SWIG_fail
;
38146 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
38153 static PyObject
*_wrap_new_GBSizerItemSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38154 PyObject
*resultobj
;
38157 wxGBPosition
*arg3
= 0 ;
38158 wxGBSpan
*arg4
= 0 ;
38161 PyObject
*arg7
= (PyObject
*) NULL
;
38162 wxGBSizerItem
*result
;
38163 wxGBPosition temp3
;
38165 PyObject
* obj0
= 0 ;
38166 PyObject
* obj1
= 0 ;
38167 PyObject
* obj2
= 0 ;
38168 PyObject
* obj3
= 0 ;
38169 PyObject
* obj4
= 0 ;
38170 PyObject
* obj5
= 0 ;
38171 PyObject
* obj6
= 0 ;
38172 char *kwnames
[] = {
38173 (char *) "width",(char *) "height",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
38176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:new_GBSizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
38177 arg1
= (int)SWIG_As_int(obj0
);
38178 if (PyErr_Occurred()) SWIG_fail
;
38179 arg2
= (int)SWIG_As_int(obj1
);
38180 if (PyErr_Occurred()) SWIG_fail
;
38183 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
38187 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
38189 arg5
= (int)SWIG_As_int(obj4
);
38190 if (PyErr_Occurred()) SWIG_fail
;
38191 arg6
= (int)SWIG_As_int(obj5
);
38192 if (PyErr_Occurred()) SWIG_fail
;
38197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38198 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
38200 wxPyEndAllowThreads(__tstate
);
38201 if (PyErr_Occurred()) SWIG_fail
;
38203 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
38210 static PyObject
*_wrap_GBSizerItem_GetPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38211 PyObject
*resultobj
;
38212 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
38213 wxGBPosition result
;
38214 PyObject
* obj0
= 0 ;
38215 char *kwnames
[] = {
38216 (char *) "self", NULL
38219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetPos",kwnames
,&obj0
)) goto fail
;
38220 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
38221 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38224 result
= ((wxGBSizerItem
const *)arg1
)->GetPos();
38226 wxPyEndAllowThreads(__tstate
);
38227 if (PyErr_Occurred()) SWIG_fail
;
38230 wxGBPosition
* resultptr
;
38231 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
38232 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
38240 static PyObject
*_wrap_GBSizerItem_GetSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38241 PyObject
*resultobj
;
38242 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
38244 PyObject
* obj0
= 0 ;
38245 char *kwnames
[] = {
38246 (char *) "self", NULL
38249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetSpan",kwnames
,&obj0
)) goto fail
;
38250 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
38251 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38254 result
= ((wxGBSizerItem
const *)arg1
)->GetSpan();
38256 wxPyEndAllowThreads(__tstate
);
38257 if (PyErr_Occurred()) SWIG_fail
;
38260 wxGBSpan
* resultptr
;
38261 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
38262 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
38270 static PyObject
*_wrap_GBSizerItem_SetPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38271 PyObject
*resultobj
;
38272 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
38273 wxGBPosition
*arg2
= 0 ;
38275 wxGBPosition temp2
;
38276 PyObject
* obj0
= 0 ;
38277 PyObject
* obj1
= 0 ;
38278 char *kwnames
[] = {
38279 (char *) "self",(char *) "pos", NULL
38282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetPos",kwnames
,&obj0
,&obj1
)) goto fail
;
38283 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
38284 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38287 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
38290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38291 result
= (bool)(arg1
)->SetPos((wxGBPosition
const &)*arg2
);
38293 wxPyEndAllowThreads(__tstate
);
38294 if (PyErr_Occurred()) SWIG_fail
;
38297 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38305 static PyObject
*_wrap_GBSizerItem_SetSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38306 PyObject
*resultobj
;
38307 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
38308 wxGBSpan
*arg2
= 0 ;
38311 PyObject
* obj0
= 0 ;
38312 PyObject
* obj1
= 0 ;
38313 char *kwnames
[] = {
38314 (char *) "self",(char *) "span", NULL
38317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
38318 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
38319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38322 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
38325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38326 result
= (bool)(arg1
)->SetSpan((wxGBSpan
const &)*arg2
);
38328 wxPyEndAllowThreads(__tstate
);
38329 if (PyErr_Occurred()) SWIG_fail
;
38332 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38340 static PyObject
*_wrap_GBSizerItem_Intersects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38341 PyObject
*resultobj
;
38342 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
38343 wxGBSizerItem
*arg2
= 0 ;
38345 PyObject
* obj0
= 0 ;
38346 PyObject
* obj1
= 0 ;
38347 char *kwnames
[] = {
38348 (char *) "self",(char *) "other", NULL
38351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_Intersects",kwnames
,&obj0
,&obj1
)) goto fail
;
38352 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
38353 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38354 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGBSizerItem
,
38355 SWIG_POINTER_EXCEPTION
| 0)) == -1)
38357 if (arg2
== NULL
) {
38358 PyErr_SetString(PyExc_TypeError
,"null reference");
38362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38363 result
= (bool)(arg1
)->Intersects((wxGBSizerItem
const &)*arg2
);
38365 wxPyEndAllowThreads(__tstate
);
38366 if (PyErr_Occurred()) SWIG_fail
;
38369 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38377 static PyObject
*_wrap_GBSizerItem_IntersectsPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38378 PyObject
*resultobj
;
38379 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
38380 wxGBPosition
*arg2
= 0 ;
38381 wxGBSpan
*arg3
= 0 ;
38383 wxGBPosition temp2
;
38385 PyObject
* obj0
= 0 ;
38386 PyObject
* obj1
= 0 ;
38387 PyObject
* obj2
= 0 ;
38388 char *kwnames
[] = {
38389 (char *) "self",(char *) "pos",(char *) "span", NULL
38392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GBSizerItem_IntersectsPos",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38393 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
38394 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38397 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
38401 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
38404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38405 result
= (bool)(arg1
)->Intersects((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
);
38407 wxPyEndAllowThreads(__tstate
);
38408 if (PyErr_Occurred()) SWIG_fail
;
38411 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38419 static PyObject
*_wrap_GBSizerItem_GetEndPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38420 PyObject
*resultobj
;
38421 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
38422 wxGBPosition result
;
38423 PyObject
* obj0
= 0 ;
38424 char *kwnames
[] = {
38425 (char *) "self", NULL
38428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetEndPos",kwnames
,&obj0
)) goto fail
;
38429 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
38430 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38433 result
= wxGBSizerItem_GetEndPos(arg1
);
38435 wxPyEndAllowThreads(__tstate
);
38436 if (PyErr_Occurred()) SWIG_fail
;
38439 wxGBPosition
* resultptr
;
38440 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
38441 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
38449 static PyObject
*_wrap_GBSizerItem_GetGBSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38450 PyObject
*resultobj
;
38451 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
38452 wxGridBagSizer
*result
;
38453 PyObject
* obj0
= 0 ;
38454 char *kwnames
[] = {
38455 (char *) "self", NULL
38458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetGBSizer",kwnames
,&obj0
)) goto fail
;
38459 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
38460 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38463 result
= (wxGridBagSizer
*)((wxGBSizerItem
const *)arg1
)->GetGBSizer();
38465 wxPyEndAllowThreads(__tstate
);
38466 if (PyErr_Occurred()) SWIG_fail
;
38468 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridBagSizer
, 0);
38475 static PyObject
*_wrap_GBSizerItem_SetGBSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38476 PyObject
*resultobj
;
38477 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
38478 wxGridBagSizer
*arg2
= (wxGridBagSizer
*) 0 ;
38479 PyObject
* obj0
= 0 ;
38480 PyObject
* obj1
= 0 ;
38481 char *kwnames
[] = {
38482 (char *) "self",(char *) "sizer", NULL
38485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetGBSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
38486 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
38487 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38488 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridBagSizer
,
38489 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38492 (arg1
)->SetGBSizer(arg2
);
38494 wxPyEndAllowThreads(__tstate
);
38495 if (PyErr_Occurred()) SWIG_fail
;
38497 Py_INCREF(Py_None
); resultobj
= Py_None
;
38504 static PyObject
* GBSizerItem_swigregister(PyObject
*, PyObject
*args
) {
38506 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
38507 SWIG_TypeClientData(SWIGTYPE_p_wxGBSizerItem
, obj
);
38509 return Py_BuildValue((char *)"");
38511 static PyObject
*_wrap_new_GridBagSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38512 PyObject
*resultobj
;
38513 int arg1
= (int) 0 ;
38514 int arg2
= (int) 0 ;
38515 wxGridBagSizer
*result
;
38516 PyObject
* obj0
= 0 ;
38517 PyObject
* obj1
= 0 ;
38518 char *kwnames
[] = {
38519 (char *) "vgap",(char *) "hgap", NULL
38522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridBagSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
38524 arg1
= (int)SWIG_As_int(obj0
);
38525 if (PyErr_Occurred()) SWIG_fail
;
38528 arg2
= (int)SWIG_As_int(obj1
);
38529 if (PyErr_Occurred()) SWIG_fail
;
38532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38533 result
= (wxGridBagSizer
*)new wxGridBagSizer(arg1
,arg2
);
38535 wxPyEndAllowThreads(__tstate
);
38536 if (PyErr_Occurred()) SWIG_fail
;
38538 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridBagSizer
, 1);
38545 static PyObject
*_wrap_GridBagSizer_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38546 PyObject
*resultobj
;
38547 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38548 PyObject
*arg2
= (PyObject
*) 0 ;
38549 wxGBPosition
*arg3
= 0 ;
38550 wxGBSpan
const &arg4_defvalue
= wxDefaultSpan
;
38551 wxGBSpan
*arg4
= (wxGBSpan
*) &arg4_defvalue
;
38552 int arg5
= (int) 0 ;
38553 int arg6
= (int) 0 ;
38554 PyObject
*arg7
= (PyObject
*) NULL
;
38556 wxGBPosition temp3
;
38558 PyObject
* obj0
= 0 ;
38559 PyObject
* obj1
= 0 ;
38560 PyObject
* obj2
= 0 ;
38561 PyObject
* obj3
= 0 ;
38562 PyObject
* obj4
= 0 ;
38563 PyObject
* obj5
= 0 ;
38564 PyObject
* obj6
= 0 ;
38565 char *kwnames
[] = {
38566 (char *) "self",(char *) "item",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
38569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:GridBagSizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
38570 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38571 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38575 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
38580 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
38584 arg5
= (int)SWIG_As_int(obj4
);
38585 if (PyErr_Occurred()) SWIG_fail
;
38588 arg6
= (int)SWIG_As_int(obj5
);
38589 if (PyErr_Occurred()) SWIG_fail
;
38595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38596 result
= (bool)wxGridBagSizer_Add(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
38598 wxPyEndAllowThreads(__tstate
);
38599 if (PyErr_Occurred()) SWIG_fail
;
38602 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38610 static PyObject
*_wrap_GridBagSizer_AddItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38611 PyObject
*resultobj
;
38612 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38613 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
38615 PyObject
* obj0
= 0 ;
38616 PyObject
* obj1
= 0 ;
38617 char *kwnames
[] = {
38618 (char *) "self",(char *) "item", NULL
38621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
38622 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38623 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38624 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGBSizerItem
,
38625 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38628 result
= (bool)(arg1
)->Add(arg2
);
38630 wxPyEndAllowThreads(__tstate
);
38631 if (PyErr_Occurred()) SWIG_fail
;
38634 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38642 static PyObject
*_wrap_GridBagSizer_GetEmptyCellSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38643 PyObject
*resultobj
;
38644 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38646 PyObject
* obj0
= 0 ;
38647 char *kwnames
[] = {
38648 (char *) "self", NULL
38651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridBagSizer_GetEmptyCellSize",kwnames
,&obj0
)) goto fail
;
38652 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38653 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38656 result
= ((wxGridBagSizer
const *)arg1
)->GetEmptyCellSize();
38658 wxPyEndAllowThreads(__tstate
);
38659 if (PyErr_Occurred()) SWIG_fail
;
38662 wxSize
* resultptr
;
38663 resultptr
= new wxSize((wxSize
&) result
);
38664 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
38672 static PyObject
*_wrap_GridBagSizer_SetEmptyCellSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38673 PyObject
*resultobj
;
38674 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38677 PyObject
* obj0
= 0 ;
38678 PyObject
* obj1
= 0 ;
38679 char *kwnames
[] = {
38680 (char *) "self",(char *) "sz", NULL
38683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_SetEmptyCellSize",kwnames
,&obj0
,&obj1
)) goto fail
;
38684 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38685 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38688 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
38691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38692 (arg1
)->SetEmptyCellSize((wxSize
const &)*arg2
);
38694 wxPyEndAllowThreads(__tstate
);
38695 if (PyErr_Occurred()) SWIG_fail
;
38697 Py_INCREF(Py_None
); resultobj
= Py_None
;
38704 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_0(PyObject
*, PyObject
*args
) {
38705 PyObject
*resultobj
;
38706 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38707 wxWindow
*arg2
= (wxWindow
*) 0 ;
38708 wxGBPosition result
;
38709 PyObject
* obj0
= 0 ;
38710 PyObject
* obj1
= 0 ;
38712 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
38713 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38715 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
38716 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38719 result
= (arg1
)->GetItemPosition(arg2
);
38721 wxPyEndAllowThreads(__tstate
);
38722 if (PyErr_Occurred()) SWIG_fail
;
38725 wxGBPosition
* resultptr
;
38726 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
38727 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
38735 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_1(PyObject
*, PyObject
*args
) {
38736 PyObject
*resultobj
;
38737 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38738 wxSizer
*arg2
= (wxSizer
*) 0 ;
38739 wxGBPosition result
;
38740 PyObject
* obj0
= 0 ;
38741 PyObject
* obj1
= 0 ;
38743 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
38744 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38745 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38746 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
38747 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38750 result
= (arg1
)->GetItemPosition(arg2
);
38752 wxPyEndAllowThreads(__tstate
);
38753 if (PyErr_Occurred()) SWIG_fail
;
38756 wxGBPosition
* resultptr
;
38757 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
38758 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
38766 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_2(PyObject
*, PyObject
*args
) {
38767 PyObject
*resultobj
;
38768 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38770 wxGBPosition result
;
38771 PyObject
* obj0
= 0 ;
38772 PyObject
* obj1
= 0 ;
38774 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
38775 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38776 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38777 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
38778 if (PyErr_Occurred()) SWIG_fail
;
38780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38781 result
= (arg1
)->GetItemPosition(arg2
);
38783 wxPyEndAllowThreads(__tstate
);
38784 if (PyErr_Occurred()) SWIG_fail
;
38787 wxGBPosition
* resultptr
;
38788 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
38789 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
38797 static PyObject
*_wrap_GridBagSizer_GetItemPosition(PyObject
*self
, PyObject
*args
) {
38802 argc
= PyObject_Length(args
);
38803 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
38804 argv
[ii
] = PyTuple_GetItem(args
,ii
);
38810 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38820 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
38828 return _wrap_GridBagSizer_GetItemPosition__SWIG_0(self
,args
);
38836 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38846 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
38854 return _wrap_GridBagSizer_GetItemPosition__SWIG_1(self
,args
);
38862 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38870 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
38872 return _wrap_GridBagSizer_GetItemPosition__SWIG_2(self
,args
);
38877 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_GetItemPosition'");
38882 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_0(PyObject
*, PyObject
*args
) {
38883 PyObject
*resultobj
;
38884 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38885 wxWindow
*arg2
= (wxWindow
*) 0 ;
38886 wxGBPosition
*arg3
= 0 ;
38888 wxGBPosition temp3
;
38889 PyObject
* obj0
= 0 ;
38890 PyObject
* obj1
= 0 ;
38891 PyObject
* obj2
= 0 ;
38893 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
38894 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38896 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
38897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38900 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
38903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38904 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
38906 wxPyEndAllowThreads(__tstate
);
38907 if (PyErr_Occurred()) SWIG_fail
;
38910 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38918 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_1(PyObject
*, PyObject
*args
) {
38919 PyObject
*resultobj
;
38920 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38921 wxSizer
*arg2
= (wxSizer
*) 0 ;
38922 wxGBPosition
*arg3
= 0 ;
38924 wxGBPosition temp3
;
38925 PyObject
* obj0
= 0 ;
38926 PyObject
* obj1
= 0 ;
38927 PyObject
* obj2
= 0 ;
38929 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
38930 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38932 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
38933 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38936 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
38939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38940 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
38942 wxPyEndAllowThreads(__tstate
);
38943 if (PyErr_Occurred()) SWIG_fail
;
38946 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38954 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_2(PyObject
*, PyObject
*args
) {
38955 PyObject
*resultobj
;
38956 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38958 wxGBPosition
*arg3
= 0 ;
38960 wxGBPosition temp3
;
38961 PyObject
* obj0
= 0 ;
38962 PyObject
* obj1
= 0 ;
38963 PyObject
* obj2
= 0 ;
38965 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
38966 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38967 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38968 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
38969 if (PyErr_Occurred()) SWIG_fail
;
38972 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
38975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38976 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
38978 wxPyEndAllowThreads(__tstate
);
38979 if (PyErr_Occurred()) SWIG_fail
;
38982 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38990 static PyObject
*_wrap_GridBagSizer_SetItemPosition(PyObject
*self
, PyObject
*args
) {
38995 argc
= PyObject_Length(args
);
38996 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
38997 argv
[ii
] = PyTuple_GetItem(args
,ii
);
39003 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39013 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
39022 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
39025 return _wrap_GridBagSizer_SetItemPosition__SWIG_0(self
,args
);
39034 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39044 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
39053 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
39056 return _wrap_GridBagSizer_SetItemPosition__SWIG_1(self
,args
);
39065 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39073 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
39076 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
39079 return _wrap_GridBagSizer_SetItemPosition__SWIG_2(self
,args
);
39085 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_SetItemPosition'");
39090 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_0(PyObject
*, PyObject
*args
) {
39091 PyObject
*resultobj
;
39092 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39093 wxWindow
*arg2
= (wxWindow
*) 0 ;
39095 PyObject
* obj0
= 0 ;
39096 PyObject
* obj1
= 0 ;
39098 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
39099 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39100 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39101 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39102 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39105 result
= (arg1
)->GetItemSpan(arg2
);
39107 wxPyEndAllowThreads(__tstate
);
39108 if (PyErr_Occurred()) SWIG_fail
;
39111 wxGBSpan
* resultptr
;
39112 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
39113 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
39121 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_1(PyObject
*, PyObject
*args
) {
39122 PyObject
*resultobj
;
39123 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39124 wxSizer
*arg2
= (wxSizer
*) 0 ;
39126 PyObject
* obj0
= 0 ;
39127 PyObject
* obj1
= 0 ;
39129 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
39130 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39131 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39132 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
39133 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39136 result
= (arg1
)->GetItemSpan(arg2
);
39138 wxPyEndAllowThreads(__tstate
);
39139 if (PyErr_Occurred()) SWIG_fail
;
39142 wxGBSpan
* resultptr
;
39143 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
39144 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
39152 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_2(PyObject
*, PyObject
*args
) {
39153 PyObject
*resultobj
;
39154 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39157 PyObject
* obj0
= 0 ;
39158 PyObject
* obj1
= 0 ;
39160 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
39161 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39163 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
39164 if (PyErr_Occurred()) SWIG_fail
;
39166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39167 result
= (arg1
)->GetItemSpan(arg2
);
39169 wxPyEndAllowThreads(__tstate
);
39170 if (PyErr_Occurred()) SWIG_fail
;
39173 wxGBSpan
* resultptr
;
39174 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
39175 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
39183 static PyObject
*_wrap_GridBagSizer_GetItemSpan(PyObject
*self
, PyObject
*args
) {
39188 argc
= PyObject_Length(args
);
39189 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
39190 argv
[ii
] = PyTuple_GetItem(args
,ii
);
39196 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39206 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
39214 return _wrap_GridBagSizer_GetItemSpan__SWIG_0(self
,args
);
39222 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39232 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
39240 return _wrap_GridBagSizer_GetItemSpan__SWIG_1(self
,args
);
39248 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39256 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
39258 return _wrap_GridBagSizer_GetItemSpan__SWIG_2(self
,args
);
39263 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_GetItemSpan'");
39268 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_0(PyObject
*, PyObject
*args
) {
39269 PyObject
*resultobj
;
39270 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39271 wxWindow
*arg2
= (wxWindow
*) 0 ;
39272 wxGBSpan
*arg3
= 0 ;
39275 PyObject
* obj0
= 0 ;
39276 PyObject
* obj1
= 0 ;
39277 PyObject
* obj2
= 0 ;
39279 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
39280 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39281 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39282 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39286 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
39289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39290 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
39292 wxPyEndAllowThreads(__tstate
);
39293 if (PyErr_Occurred()) SWIG_fail
;
39296 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39304 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_1(PyObject
*, PyObject
*args
) {
39305 PyObject
*resultobj
;
39306 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39307 wxSizer
*arg2
= (wxSizer
*) 0 ;
39308 wxGBSpan
*arg3
= 0 ;
39311 PyObject
* obj0
= 0 ;
39312 PyObject
* obj1
= 0 ;
39313 PyObject
* obj2
= 0 ;
39315 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
39316 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39317 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39318 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
39319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39322 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
39325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39326 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
39328 wxPyEndAllowThreads(__tstate
);
39329 if (PyErr_Occurred()) SWIG_fail
;
39332 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39340 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_2(PyObject
*, PyObject
*args
) {
39341 PyObject
*resultobj
;
39342 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39344 wxGBSpan
*arg3
= 0 ;
39347 PyObject
* obj0
= 0 ;
39348 PyObject
* obj1
= 0 ;
39349 PyObject
* obj2
= 0 ;
39351 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
39352 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39353 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39354 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
39355 if (PyErr_Occurred()) SWIG_fail
;
39358 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
39361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39362 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
39364 wxPyEndAllowThreads(__tstate
);
39365 if (PyErr_Occurred()) SWIG_fail
;
39368 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39376 static PyObject
*_wrap_GridBagSizer_SetItemSpan(PyObject
*self
, PyObject
*args
) {
39381 argc
= PyObject_Length(args
);
39382 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
39383 argv
[ii
] = PyTuple_GetItem(args
,ii
);
39389 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39399 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
39408 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
39411 return _wrap_GridBagSizer_SetItemSpan__SWIG_0(self
,args
);
39420 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39430 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
39439 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
39442 return _wrap_GridBagSizer_SetItemSpan__SWIG_1(self
,args
);
39451 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39459 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
39462 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
39465 return _wrap_GridBagSizer_SetItemSpan__SWIG_2(self
,args
);
39471 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_SetItemSpan'");
39476 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_0(PyObject
*, PyObject
*args
) {
39477 PyObject
*resultobj
;
39478 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39479 wxWindow
*arg2
= (wxWindow
*) 0 ;
39480 wxGBSizerItem
*result
;
39481 PyObject
* obj0
= 0 ;
39482 PyObject
* obj1
= 0 ;
39484 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
39485 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39486 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39487 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39488 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39491 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
39493 wxPyEndAllowThreads(__tstate
);
39494 if (PyErr_Occurred()) SWIG_fail
;
39496 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
39503 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_1(PyObject
*, PyObject
*args
) {
39504 PyObject
*resultobj
;
39505 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39506 wxSizer
*arg2
= (wxSizer
*) 0 ;
39507 wxGBSizerItem
*result
;
39508 PyObject
* obj0
= 0 ;
39509 PyObject
* obj1
= 0 ;
39511 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
39512 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39513 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39514 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
39515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39518 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
39520 wxPyEndAllowThreads(__tstate
);
39521 if (PyErr_Occurred()) SWIG_fail
;
39523 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
39530 static PyObject
*_wrap_GridBagSizer_FindItem(PyObject
*self
, PyObject
*args
) {
39535 argc
= PyObject_Length(args
);
39536 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
39537 argv
[ii
] = PyTuple_GetItem(args
,ii
);
39543 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39553 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
39561 return _wrap_GridBagSizer_FindItem__SWIG_0(self
,args
);
39569 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39579 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
39587 return _wrap_GridBagSizer_FindItem__SWIG_1(self
,args
);
39592 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_FindItem'");
39597 static PyObject
*_wrap_GridBagSizer_FindItemAtPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39598 PyObject
*resultobj
;
39599 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39600 wxGBPosition
*arg2
= 0 ;
39601 wxGBSizerItem
*result
;
39602 wxGBPosition temp2
;
39603 PyObject
* obj0
= 0 ;
39604 PyObject
* obj1
= 0 ;
39605 char *kwnames
[] = {
39606 (char *) "self",(char *) "pos", NULL
39609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
39610 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39611 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39614 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
39617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39618 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPosition((wxGBPosition
const &)*arg2
);
39620 wxPyEndAllowThreads(__tstate
);
39621 if (PyErr_Occurred()) SWIG_fail
;
39623 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
39630 static PyObject
*_wrap_GridBagSizer_FindItemAtPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39631 PyObject
*resultobj
;
39632 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39633 wxPoint
*arg2
= 0 ;
39634 wxGBSizerItem
*result
;
39636 PyObject
* obj0
= 0 ;
39637 PyObject
* obj1
= 0 ;
39638 char *kwnames
[] = {
39639 (char *) "self",(char *) "pt", NULL
39642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
39643 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39644 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39647 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
39650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39651 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPoint((wxPoint
const &)*arg2
);
39653 wxPyEndAllowThreads(__tstate
);
39654 if (PyErr_Occurred()) SWIG_fail
;
39656 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
39663 static PyObject
*_wrap_GridBagSizer_CheckForIntersection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39664 PyObject
*resultobj
;
39665 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39666 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
39667 wxGBSizerItem
*arg3
= (wxGBSizerItem
*) NULL
;
39669 PyObject
* obj0
= 0 ;
39670 PyObject
* obj1
= 0 ;
39671 PyObject
* obj2
= 0 ;
39672 char *kwnames
[] = {
39673 (char *) "self",(char *) "item",(char *) "excludeItem", NULL
39676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GridBagSizer_CheckForIntersection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39677 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39678 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39679 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGBSizerItem
,
39680 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39682 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxGBSizerItem
,
39683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39687 result
= (bool)(arg1
)->CheckForIntersection(arg2
,arg3
);
39689 wxPyEndAllowThreads(__tstate
);
39690 if (PyErr_Occurred()) SWIG_fail
;
39693 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39701 static PyObject
*_wrap_GridBagSizer_CheckForIntersectionPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39702 PyObject
*resultobj
;
39703 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39704 wxGBPosition
*arg2
= 0 ;
39705 wxGBSpan
*arg3
= 0 ;
39706 wxGBSizerItem
*arg4
= (wxGBSizerItem
*) NULL
;
39708 wxGBPosition temp2
;
39710 PyObject
* obj0
= 0 ;
39711 PyObject
* obj1
= 0 ;
39712 PyObject
* obj2
= 0 ;
39713 PyObject
* obj3
= 0 ;
39714 char *kwnames
[] = {
39715 (char *) "self",(char *) "pos",(char *) "span",(char *) "excludeItem", NULL
39718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:GridBagSizer_CheckForIntersectionPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
39719 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39720 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39723 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
39727 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
39730 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxGBSizerItem
,
39731 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39735 result
= (bool)(arg1
)->CheckForIntersection((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
);
39737 wxPyEndAllowThreads(__tstate
);
39738 if (PyErr_Occurred()) SWIG_fail
;
39741 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39749 static PyObject
* GridBagSizer_swigregister(PyObject
*, PyObject
*args
) {
39751 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
39752 SWIG_TypeClientData(SWIGTYPE_p_wxGridBagSizer
, obj
);
39754 return Py_BuildValue((char *)"");
39756 static PyObject
*_wrap_IndividualLayoutConstraint_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39757 PyObject
*resultobj
;
39758 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39760 wxWindow
*arg3
= (wxWindow
*) 0 ;
39762 int arg5
= (int) 0 ;
39763 int arg6
= (int) wxLAYOUT_DEFAULT_MARGIN
;
39764 PyObject
* obj0
= 0 ;
39765 PyObject
* obj1
= 0 ;
39766 PyObject
* obj2
= 0 ;
39767 PyObject
* obj3
= 0 ;
39768 PyObject
* obj4
= 0 ;
39769 PyObject
* obj5
= 0 ;
39770 char *kwnames
[] = {
39771 (char *) "self",(char *) "rel",(char *) "otherW",(char *) "otherE",(char *) "val",(char *) "marg", NULL
39774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:IndividualLayoutConstraint_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
39775 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39776 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39777 arg2
= (int)SWIG_As_int(obj1
);
39778 if (PyErr_Occurred()) SWIG_fail
;
39779 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
39780 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39781 arg4
= (int)SWIG_As_int(obj3
);
39782 if (PyErr_Occurred()) SWIG_fail
;
39784 arg5
= (int)SWIG_As_int(obj4
);
39785 if (PyErr_Occurred()) SWIG_fail
;
39788 arg6
= (int)SWIG_As_int(obj5
);
39789 if (PyErr_Occurred()) SWIG_fail
;
39792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39793 (arg1
)->Set((wxRelationship
)arg2
,arg3
,(wxEdge
)arg4
,arg5
,arg6
);
39795 wxPyEndAllowThreads(__tstate
);
39796 if (PyErr_Occurred()) SWIG_fail
;
39798 Py_INCREF(Py_None
); resultobj
= Py_None
;
39805 static PyObject
*_wrap_IndividualLayoutConstraint_LeftOf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39806 PyObject
*resultobj
;
39807 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39808 wxWindow
*arg2
= (wxWindow
*) 0 ;
39809 int arg3
= (int) 0 ;
39810 PyObject
* obj0
= 0 ;
39811 PyObject
* obj1
= 0 ;
39812 PyObject
* obj2
= 0 ;
39813 char *kwnames
[] = {
39814 (char *) "self",(char *) "sibling",(char *) "marg", NULL
39817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_LeftOf",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39820 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39821 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39823 arg3
= (int)SWIG_As_int(obj2
);
39824 if (PyErr_Occurred()) SWIG_fail
;
39827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39828 (arg1
)->LeftOf(arg2
,arg3
);
39830 wxPyEndAllowThreads(__tstate
);
39831 if (PyErr_Occurred()) SWIG_fail
;
39833 Py_INCREF(Py_None
); resultobj
= Py_None
;
39840 static PyObject
*_wrap_IndividualLayoutConstraint_RightOf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39841 PyObject
*resultobj
;
39842 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39843 wxWindow
*arg2
= (wxWindow
*) 0 ;
39844 int arg3
= (int) 0 ;
39845 PyObject
* obj0
= 0 ;
39846 PyObject
* obj1
= 0 ;
39847 PyObject
* obj2
= 0 ;
39848 char *kwnames
[] = {
39849 (char *) "self",(char *) "sibling",(char *) "marg", NULL
39852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_RightOf",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39853 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39855 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39856 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39858 arg3
= (int)SWIG_As_int(obj2
);
39859 if (PyErr_Occurred()) SWIG_fail
;
39862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39863 (arg1
)->RightOf(arg2
,arg3
);
39865 wxPyEndAllowThreads(__tstate
);
39866 if (PyErr_Occurred()) SWIG_fail
;
39868 Py_INCREF(Py_None
); resultobj
= Py_None
;
39875 static PyObject
*_wrap_IndividualLayoutConstraint_Above(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39876 PyObject
*resultobj
;
39877 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39878 wxWindow
*arg2
= (wxWindow
*) 0 ;
39879 int arg3
= (int) 0 ;
39880 PyObject
* obj0
= 0 ;
39881 PyObject
* obj1
= 0 ;
39882 PyObject
* obj2
= 0 ;
39883 char *kwnames
[] = {
39884 (char *) "self",(char *) "sibling",(char *) "marg", NULL
39887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Above",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39888 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39889 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39890 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39893 arg3
= (int)SWIG_As_int(obj2
);
39894 if (PyErr_Occurred()) SWIG_fail
;
39897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39898 (arg1
)->Above(arg2
,arg3
);
39900 wxPyEndAllowThreads(__tstate
);
39901 if (PyErr_Occurred()) SWIG_fail
;
39903 Py_INCREF(Py_None
); resultobj
= Py_None
;
39910 static PyObject
*_wrap_IndividualLayoutConstraint_Below(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39911 PyObject
*resultobj
;
39912 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39913 wxWindow
*arg2
= (wxWindow
*) 0 ;
39914 int arg3
= (int) 0 ;
39915 PyObject
* obj0
= 0 ;
39916 PyObject
* obj1
= 0 ;
39917 PyObject
* obj2
= 0 ;
39918 char *kwnames
[] = {
39919 (char *) "self",(char *) "sibling",(char *) "marg", NULL
39922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Below",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39923 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39925 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39928 arg3
= (int)SWIG_As_int(obj2
);
39929 if (PyErr_Occurred()) SWIG_fail
;
39932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39933 (arg1
)->Below(arg2
,arg3
);
39935 wxPyEndAllowThreads(__tstate
);
39936 if (PyErr_Occurred()) SWIG_fail
;
39938 Py_INCREF(Py_None
); resultobj
= Py_None
;
39945 static PyObject
*_wrap_IndividualLayoutConstraint_SameAs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39946 PyObject
*resultobj
;
39947 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39948 wxWindow
*arg2
= (wxWindow
*) 0 ;
39950 int arg4
= (int) 0 ;
39951 PyObject
* obj0
= 0 ;
39952 PyObject
* obj1
= 0 ;
39953 PyObject
* obj2
= 0 ;
39954 PyObject
* obj3
= 0 ;
39955 char *kwnames
[] = {
39956 (char *) "self",(char *) "otherW",(char *) "edge",(char *) "marg", NULL
39959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:IndividualLayoutConstraint_SameAs",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
39960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39962 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39963 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39964 arg3
= (int)SWIG_As_int(obj2
);
39965 if (PyErr_Occurred()) SWIG_fail
;
39967 arg4
= (int)SWIG_As_int(obj3
);
39968 if (PyErr_Occurred()) SWIG_fail
;
39971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39972 (arg1
)->SameAs(arg2
,(wxEdge
)arg3
,arg4
);
39974 wxPyEndAllowThreads(__tstate
);
39975 if (PyErr_Occurred()) SWIG_fail
;
39977 Py_INCREF(Py_None
); resultobj
= Py_None
;
39984 static PyObject
*_wrap_IndividualLayoutConstraint_PercentOf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39985 PyObject
*resultobj
;
39986 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39987 wxWindow
*arg2
= (wxWindow
*) 0 ;
39990 PyObject
* obj0
= 0 ;
39991 PyObject
* obj1
= 0 ;
39992 PyObject
* obj2
= 0 ;
39993 PyObject
* obj3
= 0 ;
39994 char *kwnames
[] = {
39995 (char *) "self",(char *) "otherW",(char *) "wh",(char *) "per", NULL
39998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_PercentOf",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
39999 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40000 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40001 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
40002 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40003 arg3
= (int)SWIG_As_int(obj2
);
40004 if (PyErr_Occurred()) SWIG_fail
;
40005 arg4
= (int)SWIG_As_int(obj3
);
40006 if (PyErr_Occurred()) SWIG_fail
;
40008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40009 (arg1
)->PercentOf(arg2
,(wxEdge
)arg3
,arg4
);
40011 wxPyEndAllowThreads(__tstate
);
40012 if (PyErr_Occurred()) SWIG_fail
;
40014 Py_INCREF(Py_None
); resultobj
= Py_None
;
40021 static PyObject
*_wrap_IndividualLayoutConstraint_Absolute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40022 PyObject
*resultobj
;
40023 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40025 PyObject
* obj0
= 0 ;
40026 PyObject
* obj1
= 0 ;
40027 char *kwnames
[] = {
40028 (char *) "self",(char *) "val", NULL
40031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_Absolute",kwnames
,&obj0
,&obj1
)) goto fail
;
40032 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40034 arg2
= (int)SWIG_As_int(obj1
);
40035 if (PyErr_Occurred()) SWIG_fail
;
40037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40038 (arg1
)->Absolute(arg2
);
40040 wxPyEndAllowThreads(__tstate
);
40041 if (PyErr_Occurred()) SWIG_fail
;
40043 Py_INCREF(Py_None
); resultobj
= Py_None
;
40050 static PyObject
*_wrap_IndividualLayoutConstraint_Unconstrained(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40051 PyObject
*resultobj
;
40052 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40053 PyObject
* obj0
= 0 ;
40054 char *kwnames
[] = {
40055 (char *) "self", NULL
40058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_Unconstrained",kwnames
,&obj0
)) goto fail
;
40059 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40063 (arg1
)->Unconstrained();
40065 wxPyEndAllowThreads(__tstate
);
40066 if (PyErr_Occurred()) SWIG_fail
;
40068 Py_INCREF(Py_None
); resultobj
= Py_None
;
40075 static PyObject
*_wrap_IndividualLayoutConstraint_AsIs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40076 PyObject
*resultobj
;
40077 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40078 PyObject
* obj0
= 0 ;
40079 char *kwnames
[] = {
40080 (char *) "self", NULL
40083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_AsIs",kwnames
,&obj0
)) goto fail
;
40084 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40085 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40090 wxPyEndAllowThreads(__tstate
);
40091 if (PyErr_Occurred()) SWIG_fail
;
40093 Py_INCREF(Py_None
); resultobj
= Py_None
;
40100 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40101 PyObject
*resultobj
;
40102 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40104 PyObject
* obj0
= 0 ;
40105 char *kwnames
[] = {
40106 (char *) "self", NULL
40109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherWindow",kwnames
,&obj0
)) goto fail
;
40110 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40111 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40114 result
= (wxWindow
*)(arg1
)->GetOtherWindow();
40116 wxPyEndAllowThreads(__tstate
);
40117 if (PyErr_Occurred()) SWIG_fail
;
40120 resultobj
= wxPyMake_wxObject(result
, 0);
40128 static PyObject
*_wrap_IndividualLayoutConstraint_GetMyEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40129 PyObject
*resultobj
;
40130 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40132 PyObject
* obj0
= 0 ;
40133 char *kwnames
[] = {
40134 (char *) "self", NULL
40137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMyEdge",kwnames
,&obj0
)) goto fail
;
40138 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40139 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40142 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetMyEdge();
40144 wxPyEndAllowThreads(__tstate
);
40145 if (PyErr_Occurred()) SWIG_fail
;
40147 resultobj
= SWIG_From_int((int)result
);
40154 static PyObject
*_wrap_IndividualLayoutConstraint_SetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40155 PyObject
*resultobj
;
40156 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40158 PyObject
* obj0
= 0 ;
40159 PyObject
* obj1
= 0 ;
40160 char *kwnames
[] = {
40161 (char *) "self",(char *) "which", NULL
40164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetEdge",kwnames
,&obj0
,&obj1
)) goto fail
;
40165 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40166 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40167 arg2
= (int)SWIG_As_int(obj1
);
40168 if (PyErr_Occurred()) SWIG_fail
;
40170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40171 (arg1
)->SetEdge((wxEdge
)arg2
);
40173 wxPyEndAllowThreads(__tstate
);
40174 if (PyErr_Occurred()) SWIG_fail
;
40176 Py_INCREF(Py_None
); resultobj
= Py_None
;
40183 static PyObject
*_wrap_IndividualLayoutConstraint_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40184 PyObject
*resultobj
;
40185 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40187 PyObject
* obj0
= 0 ;
40188 PyObject
* obj1
= 0 ;
40189 char *kwnames
[] = {
40190 (char *) "self",(char *) "v", NULL
40193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
40194 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40195 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40196 arg2
= (int)SWIG_As_int(obj1
);
40197 if (PyErr_Occurred()) SWIG_fail
;
40199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40200 (arg1
)->SetValue(arg2
);
40202 wxPyEndAllowThreads(__tstate
);
40203 if (PyErr_Occurred()) SWIG_fail
;
40205 Py_INCREF(Py_None
); resultobj
= Py_None
;
40212 static PyObject
*_wrap_IndividualLayoutConstraint_GetMargin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40213 PyObject
*resultobj
;
40214 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40216 PyObject
* obj0
= 0 ;
40217 char *kwnames
[] = {
40218 (char *) "self", NULL
40221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMargin",kwnames
,&obj0
)) goto fail
;
40222 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40223 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40226 result
= (int)(arg1
)->GetMargin();
40228 wxPyEndAllowThreads(__tstate
);
40229 if (PyErr_Occurred()) SWIG_fail
;
40231 resultobj
= SWIG_From_int((int)result
);
40238 static PyObject
*_wrap_IndividualLayoutConstraint_SetMargin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40239 PyObject
*resultobj
;
40240 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40242 PyObject
* obj0
= 0 ;
40243 PyObject
* obj1
= 0 ;
40244 char *kwnames
[] = {
40245 (char *) "self",(char *) "m", NULL
40248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetMargin",kwnames
,&obj0
,&obj1
)) goto fail
;
40249 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40251 arg2
= (int)SWIG_As_int(obj1
);
40252 if (PyErr_Occurred()) SWIG_fail
;
40254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40255 (arg1
)->SetMargin(arg2
);
40257 wxPyEndAllowThreads(__tstate
);
40258 if (PyErr_Occurred()) SWIG_fail
;
40260 Py_INCREF(Py_None
); resultobj
= Py_None
;
40267 static PyObject
*_wrap_IndividualLayoutConstraint_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40268 PyObject
*resultobj
;
40269 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40271 PyObject
* obj0
= 0 ;
40272 char *kwnames
[] = {
40273 (char *) "self", NULL
40276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetValue",kwnames
,&obj0
)) goto fail
;
40277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40281 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetValue();
40283 wxPyEndAllowThreads(__tstate
);
40284 if (PyErr_Occurred()) SWIG_fail
;
40286 resultobj
= SWIG_From_int((int)result
);
40293 static PyObject
*_wrap_IndividualLayoutConstraint_GetPercent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40294 PyObject
*resultobj
;
40295 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40297 PyObject
* obj0
= 0 ;
40298 char *kwnames
[] = {
40299 (char *) "self", NULL
40302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetPercent",kwnames
,&obj0
)) goto fail
;
40303 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40304 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40307 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetPercent();
40309 wxPyEndAllowThreads(__tstate
);
40310 if (PyErr_Occurred()) SWIG_fail
;
40312 resultobj
= SWIG_From_int((int)result
);
40319 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40320 PyObject
*resultobj
;
40321 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40323 PyObject
* obj0
= 0 ;
40324 char *kwnames
[] = {
40325 (char *) "self", NULL
40328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherEdge",kwnames
,&obj0
)) goto fail
;
40329 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40330 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40333 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetOtherEdge();
40335 wxPyEndAllowThreads(__tstate
);
40336 if (PyErr_Occurred()) SWIG_fail
;
40338 resultobj
= SWIG_From_int((int)result
);
40345 static PyObject
*_wrap_IndividualLayoutConstraint_GetDone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40346 PyObject
*resultobj
;
40347 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40349 PyObject
* obj0
= 0 ;
40350 char *kwnames
[] = {
40351 (char *) "self", NULL
40354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetDone",kwnames
,&obj0
)) goto fail
;
40355 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40356 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40359 result
= (bool)((wxIndividualLayoutConstraint
const *)arg1
)->GetDone();
40361 wxPyEndAllowThreads(__tstate
);
40362 if (PyErr_Occurred()) SWIG_fail
;
40365 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40373 static PyObject
*_wrap_IndividualLayoutConstraint_SetDone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40374 PyObject
*resultobj
;
40375 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40377 PyObject
* obj0
= 0 ;
40378 PyObject
* obj1
= 0 ;
40379 char *kwnames
[] = {
40380 (char *) "self",(char *) "d", NULL
40383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetDone",kwnames
,&obj0
,&obj1
)) goto fail
;
40384 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40386 arg2
= (bool)SWIG_As_bool(obj1
);
40387 if (PyErr_Occurred()) SWIG_fail
;
40389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40390 (arg1
)->SetDone(arg2
);
40392 wxPyEndAllowThreads(__tstate
);
40393 if (PyErr_Occurred()) SWIG_fail
;
40395 Py_INCREF(Py_None
); resultobj
= Py_None
;
40402 static PyObject
*_wrap_IndividualLayoutConstraint_GetRelationship(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40403 PyObject
*resultobj
;
40404 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40406 PyObject
* obj0
= 0 ;
40407 char *kwnames
[] = {
40408 (char *) "self", NULL
40411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetRelationship",kwnames
,&obj0
)) goto fail
;
40412 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40413 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40416 result
= (int)(arg1
)->GetRelationship();
40418 wxPyEndAllowThreads(__tstate
);
40419 if (PyErr_Occurred()) SWIG_fail
;
40421 resultobj
= SWIG_From_int((int)result
);
40428 static PyObject
*_wrap_IndividualLayoutConstraint_SetRelationship(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40429 PyObject
*resultobj
;
40430 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40432 PyObject
* obj0
= 0 ;
40433 PyObject
* obj1
= 0 ;
40434 char *kwnames
[] = {
40435 (char *) "self",(char *) "r", NULL
40438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetRelationship",kwnames
,&obj0
,&obj1
)) goto fail
;
40439 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40441 arg2
= (int)SWIG_As_int(obj1
);
40442 if (PyErr_Occurred()) SWIG_fail
;
40444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40445 (arg1
)->SetRelationship((wxRelationship
)arg2
);
40447 wxPyEndAllowThreads(__tstate
);
40448 if (PyErr_Occurred()) SWIG_fail
;
40450 Py_INCREF(Py_None
); resultobj
= Py_None
;
40457 static PyObject
*_wrap_IndividualLayoutConstraint_ResetIfWin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40458 PyObject
*resultobj
;
40459 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40460 wxWindow
*arg2
= (wxWindow
*) 0 ;
40462 PyObject
* obj0
= 0 ;
40463 PyObject
* obj1
= 0 ;
40464 char *kwnames
[] = {
40465 (char *) "self",(char *) "otherW", NULL
40468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_ResetIfWin",kwnames
,&obj0
,&obj1
)) goto fail
;
40469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40471 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
40472 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40475 result
= (bool)(arg1
)->ResetIfWin(arg2
);
40477 wxPyEndAllowThreads(__tstate
);
40478 if (PyErr_Occurred()) SWIG_fail
;
40481 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40489 static PyObject
*_wrap_IndividualLayoutConstraint_SatisfyConstraint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40490 PyObject
*resultobj
;
40491 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40492 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
40493 wxWindow
*arg3
= (wxWindow
*) 0 ;
40495 PyObject
* obj0
= 0 ;
40496 PyObject
* obj1
= 0 ;
40497 PyObject
* obj2
= 0 ;
40498 char *kwnames
[] = {
40499 (char *) "self",(char *) "constraints",(char *) "win", NULL
40502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IndividualLayoutConstraint_SatisfyConstraint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
40503 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40505 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxLayoutConstraints
,
40506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40507 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
40508 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40511 result
= (bool)(arg1
)->SatisfyConstraint(arg2
,arg3
);
40513 wxPyEndAllowThreads(__tstate
);
40514 if (PyErr_Occurred()) SWIG_fail
;
40517 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40525 static PyObject
*_wrap_IndividualLayoutConstraint_GetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40526 PyObject
*resultobj
;
40527 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40529 wxWindow
*arg3
= (wxWindow
*) 0 ;
40530 wxWindow
*arg4
= (wxWindow
*) 0 ;
40532 PyObject
* obj0
= 0 ;
40533 PyObject
* obj1
= 0 ;
40534 PyObject
* obj2
= 0 ;
40535 PyObject
* obj3
= 0 ;
40536 char *kwnames
[] = {
40537 (char *) "self",(char *) "which",(char *) "thisWin",(char *) "other", NULL
40540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_GetEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
40541 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40543 arg2
= (int)SWIG_As_int(obj1
);
40544 if (PyErr_Occurred()) SWIG_fail
;
40545 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
40546 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40547 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
40548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40551 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetEdge((wxEdge
)arg2
,arg3
,arg4
);
40553 wxPyEndAllowThreads(__tstate
);
40554 if (PyErr_Occurred()) SWIG_fail
;
40556 resultobj
= SWIG_From_int((int)result
);
40563 static PyObject
* IndividualLayoutConstraint_swigregister(PyObject
*, PyObject
*args
) {
40565 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40566 SWIG_TypeClientData(SWIGTYPE_p_wxIndividualLayoutConstraint
, obj
);
40568 return Py_BuildValue((char *)"");
40570 static PyObject
*_wrap_LayoutConstraints_left_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40571 PyObject
*resultobj
;
40572 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40573 wxIndividualLayoutConstraint
*result
;
40574 PyObject
* obj0
= 0 ;
40575 char *kwnames
[] = {
40576 (char *) "self", NULL
40579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_left_get",kwnames
,&obj0
)) goto fail
;
40580 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40581 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40582 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->left
);
40584 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40591 static PyObject
*_wrap_LayoutConstraints_top_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40592 PyObject
*resultobj
;
40593 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40594 wxIndividualLayoutConstraint
*result
;
40595 PyObject
* obj0
= 0 ;
40596 char *kwnames
[] = {
40597 (char *) "self", NULL
40600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_top_get",kwnames
,&obj0
)) goto fail
;
40601 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40602 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40603 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->top
);
40605 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40612 static PyObject
*_wrap_LayoutConstraints_right_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40613 PyObject
*resultobj
;
40614 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40615 wxIndividualLayoutConstraint
*result
;
40616 PyObject
* obj0
= 0 ;
40617 char *kwnames
[] = {
40618 (char *) "self", NULL
40621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_right_get",kwnames
,&obj0
)) goto fail
;
40622 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40623 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40624 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->right
);
40626 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40633 static PyObject
*_wrap_LayoutConstraints_bottom_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40634 PyObject
*resultobj
;
40635 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40636 wxIndividualLayoutConstraint
*result
;
40637 PyObject
* obj0
= 0 ;
40638 char *kwnames
[] = {
40639 (char *) "self", NULL
40642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_bottom_get",kwnames
,&obj0
)) goto fail
;
40643 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40644 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40645 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->bottom
);
40647 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40654 static PyObject
*_wrap_LayoutConstraints_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40655 PyObject
*resultobj
;
40656 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40657 wxIndividualLayoutConstraint
*result
;
40658 PyObject
* obj0
= 0 ;
40659 char *kwnames
[] = {
40660 (char *) "self", NULL
40663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_width_get",kwnames
,&obj0
)) goto fail
;
40664 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40665 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40666 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->width
);
40668 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40675 static PyObject
*_wrap_LayoutConstraints_height_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40676 PyObject
*resultobj
;
40677 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40678 wxIndividualLayoutConstraint
*result
;
40679 PyObject
* obj0
= 0 ;
40680 char *kwnames
[] = {
40681 (char *) "self", NULL
40684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_height_get",kwnames
,&obj0
)) goto fail
;
40685 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40686 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40687 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->height
);
40689 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40696 static PyObject
*_wrap_LayoutConstraints_centreX_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40697 PyObject
*resultobj
;
40698 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40699 wxIndividualLayoutConstraint
*result
;
40700 PyObject
* obj0
= 0 ;
40701 char *kwnames
[] = {
40702 (char *) "self", NULL
40705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreX_get",kwnames
,&obj0
)) goto fail
;
40706 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40707 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40708 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreX
);
40710 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40717 static PyObject
*_wrap_LayoutConstraints_centreY_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40718 PyObject
*resultobj
;
40719 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40720 wxIndividualLayoutConstraint
*result
;
40721 PyObject
* obj0
= 0 ;
40722 char *kwnames
[] = {
40723 (char *) "self", NULL
40726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreY_get",kwnames
,&obj0
)) goto fail
;
40727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40729 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreY
);
40731 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40738 static PyObject
*_wrap_new_LayoutConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40739 PyObject
*resultobj
;
40740 wxLayoutConstraints
*result
;
40741 char *kwnames
[] = {
40745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutConstraints",kwnames
)) goto fail
;
40747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40748 result
= (wxLayoutConstraints
*)new wxLayoutConstraints();
40750 wxPyEndAllowThreads(__tstate
);
40751 if (PyErr_Occurred()) SWIG_fail
;
40753 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutConstraints
, 1);
40760 static PyObject
*_wrap_LayoutConstraints_SatisfyConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40761 PyObject
*resultobj
;
40762 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40763 wxWindow
*arg2
= (wxWindow
*) 0 ;
40764 int *arg3
= (int *) 0 ;
40768 PyObject
* obj0
= 0 ;
40769 PyObject
* obj1
= 0 ;
40770 char *kwnames
[] = {
40771 (char *) "self",(char *) "win", NULL
40774 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
40775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LayoutConstraints_SatisfyConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
40776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40778 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
40779 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40782 result
= (bool)(arg1
)->SatisfyConstraints(arg2
,arg3
);
40784 wxPyEndAllowThreads(__tstate
);
40785 if (PyErr_Occurred()) SWIG_fail
;
40788 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40790 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
40791 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
40798 static PyObject
*_wrap_LayoutConstraints_AreSatisfied(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40799 PyObject
*resultobj
;
40800 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40802 PyObject
* obj0
= 0 ;
40803 char *kwnames
[] = {
40804 (char *) "self", NULL
40807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_AreSatisfied",kwnames
,&obj0
)) goto fail
;
40808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40812 result
= (bool)((wxLayoutConstraints
const *)arg1
)->AreSatisfied();
40814 wxPyEndAllowThreads(__tstate
);
40815 if (PyErr_Occurred()) SWIG_fail
;
40818 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40826 static PyObject
* LayoutConstraints_swigregister(PyObject
*, PyObject
*args
) {
40828 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40829 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutConstraints
, obj
);
40831 return Py_BuildValue((char *)"");
40833 static PyMethodDef SwigMethods
[] = {
40834 { (char *)"_wxPySetDictionary", __wxPySetDictionary
, METH_VARARGS
, NULL
},
40835 { (char *)"_wxPyFixStockObjects", __wxPyFixStockObjects
, METH_VARARGS
, NULL
},
40836 { (char *)"Object_GetClassName", (PyCFunction
) _wrap_Object_GetClassName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40837 { (char *)"Object_Destroy", (PyCFunction
) _wrap_Object_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40838 { (char *)"Object_swigregister", Object_swigregister
, METH_VARARGS
, NULL
},
40839 { (char *)"Size_width_set", (PyCFunction
) _wrap_Size_width_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40840 { (char *)"Size_width_get", (PyCFunction
) _wrap_Size_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40841 { (char *)"Size_height_set", (PyCFunction
) _wrap_Size_height_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40842 { (char *)"Size_height_get", (PyCFunction
) _wrap_Size_height_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40843 { (char *)"new_Size", (PyCFunction
) _wrap_new_Size
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40844 { (char *)"delete_Size", (PyCFunction
) _wrap_delete_Size
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40845 { (char *)"Size___eq__", (PyCFunction
) _wrap_Size___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40846 { (char *)"Size___ne__", (PyCFunction
) _wrap_Size___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40847 { (char *)"Size___add__", (PyCFunction
) _wrap_Size___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40848 { (char *)"Size___sub__", (PyCFunction
) _wrap_Size___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40849 { (char *)"Size_IncTo", (PyCFunction
) _wrap_Size_IncTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40850 { (char *)"Size_DecTo", (PyCFunction
) _wrap_Size_DecTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40851 { (char *)"Size_Set", (PyCFunction
) _wrap_Size_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40852 { (char *)"Size_SetWidth", (PyCFunction
) _wrap_Size_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40853 { (char *)"Size_SetHeight", (PyCFunction
) _wrap_Size_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40854 { (char *)"Size_GetWidth", (PyCFunction
) _wrap_Size_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40855 { (char *)"Size_GetHeight", (PyCFunction
) _wrap_Size_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40856 { (char *)"Size_IsFullySpecified", (PyCFunction
) _wrap_Size_IsFullySpecified
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40857 { (char *)"Size_SetDefaults", (PyCFunction
) _wrap_Size_SetDefaults
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40858 { (char *)"Size_Get", (PyCFunction
) _wrap_Size_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40859 { (char *)"Size_swigregister", Size_swigregister
, METH_VARARGS
, NULL
},
40860 { (char *)"RealPoint_x_set", (PyCFunction
) _wrap_RealPoint_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40861 { (char *)"RealPoint_x_get", (PyCFunction
) _wrap_RealPoint_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40862 { (char *)"RealPoint_y_set", (PyCFunction
) _wrap_RealPoint_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40863 { (char *)"RealPoint_y_get", (PyCFunction
) _wrap_RealPoint_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40864 { (char *)"new_RealPoint", (PyCFunction
) _wrap_new_RealPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40865 { (char *)"delete_RealPoint", (PyCFunction
) _wrap_delete_RealPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40866 { (char *)"RealPoint___eq__", (PyCFunction
) _wrap_RealPoint___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40867 { (char *)"RealPoint___ne__", (PyCFunction
) _wrap_RealPoint___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40868 { (char *)"RealPoint___add__", (PyCFunction
) _wrap_RealPoint___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40869 { (char *)"RealPoint___sub__", (PyCFunction
) _wrap_RealPoint___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40870 { (char *)"RealPoint_Set", (PyCFunction
) _wrap_RealPoint_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40871 { (char *)"RealPoint_Get", (PyCFunction
) _wrap_RealPoint_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40872 { (char *)"RealPoint_swigregister", RealPoint_swigregister
, METH_VARARGS
, NULL
},
40873 { (char *)"Point_x_set", (PyCFunction
) _wrap_Point_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40874 { (char *)"Point_x_get", (PyCFunction
) _wrap_Point_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40875 { (char *)"Point_y_set", (PyCFunction
) _wrap_Point_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40876 { (char *)"Point_y_get", (PyCFunction
) _wrap_Point_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40877 { (char *)"new_Point", (PyCFunction
) _wrap_new_Point
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40878 { (char *)"delete_Point", (PyCFunction
) _wrap_delete_Point
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40879 { (char *)"Point___eq__", (PyCFunction
) _wrap_Point___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40880 { (char *)"Point___ne__", (PyCFunction
) _wrap_Point___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40881 { (char *)"Point___add__", (PyCFunction
) _wrap_Point___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40882 { (char *)"Point___sub__", (PyCFunction
) _wrap_Point___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40883 { (char *)"Point___iadd__", (PyCFunction
) _wrap_Point___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40884 { (char *)"Point___isub__", (PyCFunction
) _wrap_Point___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40885 { (char *)"Point_Set", (PyCFunction
) _wrap_Point_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40886 { (char *)"Point_Get", (PyCFunction
) _wrap_Point_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40887 { (char *)"Point_swigregister", Point_swigregister
, METH_VARARGS
, NULL
},
40888 { (char *)"new_Rect", (PyCFunction
) _wrap_new_Rect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40889 { (char *)"new_RectPP", (PyCFunction
) _wrap_new_RectPP
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40890 { (char *)"new_RectPS", (PyCFunction
) _wrap_new_RectPS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40891 { (char *)"delete_Rect", (PyCFunction
) _wrap_delete_Rect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40892 { (char *)"Rect_GetX", (PyCFunction
) _wrap_Rect_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40893 { (char *)"Rect_SetX", (PyCFunction
) _wrap_Rect_SetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40894 { (char *)"Rect_GetY", (PyCFunction
) _wrap_Rect_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40895 { (char *)"Rect_SetY", (PyCFunction
) _wrap_Rect_SetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40896 { (char *)"Rect_GetWidth", (PyCFunction
) _wrap_Rect_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40897 { (char *)"Rect_SetWidth", (PyCFunction
) _wrap_Rect_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40898 { (char *)"Rect_GetHeight", (PyCFunction
) _wrap_Rect_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40899 { (char *)"Rect_SetHeight", (PyCFunction
) _wrap_Rect_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40900 { (char *)"Rect_GetPosition", (PyCFunction
) _wrap_Rect_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40901 { (char *)"Rect_SetPosition", (PyCFunction
) _wrap_Rect_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40902 { (char *)"Rect_GetSize", (PyCFunction
) _wrap_Rect_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40903 { (char *)"Rect_SetSize", (PyCFunction
) _wrap_Rect_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40904 { (char *)"Rect_GetTopLeft", (PyCFunction
) _wrap_Rect_GetTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40905 { (char *)"Rect_SetTopLeft", (PyCFunction
) _wrap_Rect_SetTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40906 { (char *)"Rect_GetBottomRight", (PyCFunction
) _wrap_Rect_GetBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40907 { (char *)"Rect_SetBottomRight", (PyCFunction
) _wrap_Rect_SetBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40908 { (char *)"Rect_GetLeft", (PyCFunction
) _wrap_Rect_GetLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40909 { (char *)"Rect_GetTop", (PyCFunction
) _wrap_Rect_GetTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40910 { (char *)"Rect_GetBottom", (PyCFunction
) _wrap_Rect_GetBottom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40911 { (char *)"Rect_GetRight", (PyCFunction
) _wrap_Rect_GetRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40912 { (char *)"Rect_SetLeft", (PyCFunction
) _wrap_Rect_SetLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40913 { (char *)"Rect_SetRight", (PyCFunction
) _wrap_Rect_SetRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40914 { (char *)"Rect_SetTop", (PyCFunction
) _wrap_Rect_SetTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40915 { (char *)"Rect_SetBottom", (PyCFunction
) _wrap_Rect_SetBottom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40916 { (char *)"Rect_Inflate", (PyCFunction
) _wrap_Rect_Inflate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40917 { (char *)"Rect_Deflate", (PyCFunction
) _wrap_Rect_Deflate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40918 { (char *)"Rect_OffsetXY", (PyCFunction
) _wrap_Rect_OffsetXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40919 { (char *)"Rect_Offset", (PyCFunction
) _wrap_Rect_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40920 { (char *)"Rect_Intersect", (PyCFunction
) _wrap_Rect_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40921 { (char *)"Rect___add__", (PyCFunction
) _wrap_Rect___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40922 { (char *)"Rect___iadd__", (PyCFunction
) _wrap_Rect___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40923 { (char *)"Rect___eq__", (PyCFunction
) _wrap_Rect___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40924 { (char *)"Rect___ne__", (PyCFunction
) _wrap_Rect___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40925 { (char *)"Rect_InsideXY", (PyCFunction
) _wrap_Rect_InsideXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40926 { (char *)"Rect_Inside", (PyCFunction
) _wrap_Rect_Inside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40927 { (char *)"Rect_Intersects", (PyCFunction
) _wrap_Rect_Intersects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40928 { (char *)"Rect_x_set", (PyCFunction
) _wrap_Rect_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40929 { (char *)"Rect_x_get", (PyCFunction
) _wrap_Rect_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40930 { (char *)"Rect_y_set", (PyCFunction
) _wrap_Rect_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40931 { (char *)"Rect_y_get", (PyCFunction
) _wrap_Rect_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40932 { (char *)"Rect_width_set", (PyCFunction
) _wrap_Rect_width_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40933 { (char *)"Rect_width_get", (PyCFunction
) _wrap_Rect_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40934 { (char *)"Rect_height_set", (PyCFunction
) _wrap_Rect_height_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40935 { (char *)"Rect_height_get", (PyCFunction
) _wrap_Rect_height_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40936 { (char *)"Rect_Set", (PyCFunction
) _wrap_Rect_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40937 { (char *)"Rect_Get", (PyCFunction
) _wrap_Rect_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40938 { (char *)"Rect_swigregister", Rect_swigregister
, METH_VARARGS
, NULL
},
40939 { (char *)"IntersectRect", (PyCFunction
) _wrap_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40940 { (char *)"new_Point2D", (PyCFunction
) _wrap_new_Point2D
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40941 { (char *)"new_Point2DCopy", (PyCFunction
) _wrap_new_Point2DCopy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40942 { (char *)"new_Point2DFromPoint", (PyCFunction
) _wrap_new_Point2DFromPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40943 { (char *)"Point2D_GetFloor", (PyCFunction
) _wrap_Point2D_GetFloor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40944 { (char *)"Point2D_GetRounded", (PyCFunction
) _wrap_Point2D_GetRounded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40945 { (char *)"Point2D_GetVectorLength", (PyCFunction
) _wrap_Point2D_GetVectorLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40946 { (char *)"Point2D_GetVectorAngle", (PyCFunction
) _wrap_Point2D_GetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40947 { (char *)"Point2D_SetVectorLength", (PyCFunction
) _wrap_Point2D_SetVectorLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40948 { (char *)"Point2D_SetVectorAngle", (PyCFunction
) _wrap_Point2D_SetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40949 { (char *)"Point2D_GetDistance", (PyCFunction
) _wrap_Point2D_GetDistance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40950 { (char *)"Point2D_GetDistanceSquare", (PyCFunction
) _wrap_Point2D_GetDistanceSquare
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40951 { (char *)"Point2D_GetDotProduct", (PyCFunction
) _wrap_Point2D_GetDotProduct
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40952 { (char *)"Point2D_GetCrossProduct", (PyCFunction
) _wrap_Point2D_GetCrossProduct
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40953 { (char *)"Point2D___neg__", (PyCFunction
) _wrap_Point2D___neg__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40954 { (char *)"Point2D___iadd__", (PyCFunction
) _wrap_Point2D___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40955 { (char *)"Point2D___isub__", (PyCFunction
) _wrap_Point2D___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40956 { (char *)"Point2D___imul__", (PyCFunction
) _wrap_Point2D___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40957 { (char *)"Point2D___idiv__", (PyCFunction
) _wrap_Point2D___idiv__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40958 { (char *)"Point2D___eq__", (PyCFunction
) _wrap_Point2D___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40959 { (char *)"Point2D___ne__", (PyCFunction
) _wrap_Point2D___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40960 { (char *)"Point2D_x_set", (PyCFunction
) _wrap_Point2D_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40961 { (char *)"Point2D_x_get", (PyCFunction
) _wrap_Point2D_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40962 { (char *)"Point2D_y_set", (PyCFunction
) _wrap_Point2D_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40963 { (char *)"Point2D_y_get", (PyCFunction
) _wrap_Point2D_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40964 { (char *)"Point2D_Set", (PyCFunction
) _wrap_Point2D_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40965 { (char *)"Point2D_Get", (PyCFunction
) _wrap_Point2D_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40966 { (char *)"Point2D_swigregister", Point2D_swigregister
, METH_VARARGS
, NULL
},
40967 { (char *)"new_InputStream", (PyCFunction
) _wrap_new_InputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40968 { (char *)"InputStream_close", (PyCFunction
) _wrap_InputStream_close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40969 { (char *)"InputStream_flush", (PyCFunction
) _wrap_InputStream_flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40970 { (char *)"InputStream_eof", (PyCFunction
) _wrap_InputStream_eof
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40971 { (char *)"InputStream_read", (PyCFunction
) _wrap_InputStream_read
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40972 { (char *)"InputStream_readline", (PyCFunction
) _wrap_InputStream_readline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40973 { (char *)"InputStream_readlines", (PyCFunction
) _wrap_InputStream_readlines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40974 { (char *)"InputStream_seek", (PyCFunction
) _wrap_InputStream_seek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40975 { (char *)"InputStream_tell", (PyCFunction
) _wrap_InputStream_tell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40976 { (char *)"InputStream_Peek", (PyCFunction
) _wrap_InputStream_Peek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40977 { (char *)"InputStream_GetC", (PyCFunction
) _wrap_InputStream_GetC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40978 { (char *)"InputStream_LastRead", (PyCFunction
) _wrap_InputStream_LastRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40979 { (char *)"InputStream_CanRead", (PyCFunction
) _wrap_InputStream_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40980 { (char *)"InputStream_Eof", (PyCFunction
) _wrap_InputStream_Eof
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40981 { (char *)"InputStream_Ungetch", (PyCFunction
) _wrap_InputStream_Ungetch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40982 { (char *)"InputStream_SeekI", (PyCFunction
) _wrap_InputStream_SeekI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40983 { (char *)"InputStream_TellI", (PyCFunction
) _wrap_InputStream_TellI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40984 { (char *)"InputStream_swigregister", InputStream_swigregister
, METH_VARARGS
, NULL
},
40985 { (char *)"OutputStream_write", (PyCFunction
) _wrap_OutputStream_write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40986 { (char *)"OutputStream_swigregister", OutputStream_swigregister
, METH_VARARGS
, NULL
},
40987 { (char *)"new_FSFile", (PyCFunction
) _wrap_new_FSFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40988 { (char *)"delete_FSFile", (PyCFunction
) _wrap_delete_FSFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40989 { (char *)"FSFile_GetStream", (PyCFunction
) _wrap_FSFile_GetStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40990 { (char *)"FSFile_GetMimeType", (PyCFunction
) _wrap_FSFile_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40991 { (char *)"FSFile_GetLocation", (PyCFunction
) _wrap_FSFile_GetLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40992 { (char *)"FSFile_GetAnchor", (PyCFunction
) _wrap_FSFile_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40993 { (char *)"FSFile_GetModificationTime", (PyCFunction
) _wrap_FSFile_GetModificationTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40994 { (char *)"FSFile_swigregister", FSFile_swigregister
, METH_VARARGS
, NULL
},
40995 { (char *)"CPPFileSystemHandler_swigregister", CPPFileSystemHandler_swigregister
, METH_VARARGS
, NULL
},
40996 { (char *)"new_FileSystemHandler", (PyCFunction
) _wrap_new_FileSystemHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40997 { (char *)"FileSystemHandler__setCallbackInfo", (PyCFunction
) _wrap_FileSystemHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40998 { (char *)"FileSystemHandler_CanOpen", (PyCFunction
) _wrap_FileSystemHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40999 { (char *)"FileSystemHandler_OpenFile", (PyCFunction
) _wrap_FileSystemHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41000 { (char *)"FileSystemHandler_FindFirst", (PyCFunction
) _wrap_FileSystemHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41001 { (char *)"FileSystemHandler_FindNext", (PyCFunction
) _wrap_FileSystemHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41002 { (char *)"FileSystemHandler_GetProtocol", (PyCFunction
) _wrap_FileSystemHandler_GetProtocol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41003 { (char *)"FileSystemHandler_GetLeftLocation", (PyCFunction
) _wrap_FileSystemHandler_GetLeftLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41004 { (char *)"FileSystemHandler_GetAnchor", (PyCFunction
) _wrap_FileSystemHandler_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41005 { (char *)"FileSystemHandler_GetRightLocation", (PyCFunction
) _wrap_FileSystemHandler_GetRightLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41006 { (char *)"FileSystemHandler_GetMimeTypeFromExt", (PyCFunction
) _wrap_FileSystemHandler_GetMimeTypeFromExt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41007 { (char *)"FileSystemHandler_swigregister", FileSystemHandler_swigregister
, METH_VARARGS
, NULL
},
41008 { (char *)"new_FileSystem", (PyCFunction
) _wrap_new_FileSystem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41009 { (char *)"delete_FileSystem", (PyCFunction
) _wrap_delete_FileSystem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41010 { (char *)"FileSystem_ChangePathTo", (PyCFunction
) _wrap_FileSystem_ChangePathTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41011 { (char *)"FileSystem_GetPath", (PyCFunction
) _wrap_FileSystem_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41012 { (char *)"FileSystem_OpenFile", (PyCFunction
) _wrap_FileSystem_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41013 { (char *)"FileSystem_FindFirst", (PyCFunction
) _wrap_FileSystem_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41014 { (char *)"FileSystem_FindNext", (PyCFunction
) _wrap_FileSystem_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41015 { (char *)"FileSystem_AddHandler", (PyCFunction
) _wrap_FileSystem_AddHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41016 { (char *)"FileSystem_CleanUpHandlers", (PyCFunction
) _wrap_FileSystem_CleanUpHandlers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41017 { (char *)"FileSystem_FileNameToURL", (PyCFunction
) _wrap_FileSystem_FileNameToURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41018 { (char *)"FileSystem_swigregister", FileSystem_swigregister
, METH_VARARGS
, NULL
},
41019 { (char *)"FileSystem_URLToFileName", (PyCFunction
) _wrap_FileSystem_URLToFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41020 { (char *)"new_InternetFSHandler", (PyCFunction
) _wrap_new_InternetFSHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41021 { (char *)"InternetFSHandler_CanOpen", (PyCFunction
) _wrap_InternetFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41022 { (char *)"InternetFSHandler_OpenFile", (PyCFunction
) _wrap_InternetFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41023 { (char *)"InternetFSHandler_swigregister", InternetFSHandler_swigregister
, METH_VARARGS
, NULL
},
41024 { (char *)"new_ZipFSHandler", (PyCFunction
) _wrap_new_ZipFSHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41025 { (char *)"ZipFSHandler_CanOpen", (PyCFunction
) _wrap_ZipFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41026 { (char *)"ZipFSHandler_OpenFile", (PyCFunction
) _wrap_ZipFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41027 { (char *)"ZipFSHandler_FindFirst", (PyCFunction
) _wrap_ZipFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41028 { (char *)"ZipFSHandler_FindNext", (PyCFunction
) _wrap_ZipFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41029 { (char *)"ZipFSHandler_swigregister", ZipFSHandler_swigregister
, METH_VARARGS
, NULL
},
41030 { (char *)"__wxMemoryFSHandler_AddFile_wxImage", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41031 { (char *)"__wxMemoryFSHandler_AddFile_wxBitmap", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41032 { (char *)"__wxMemoryFSHandler_AddFile_Data", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_Data
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41033 { (char *)"new_MemoryFSHandler", (PyCFunction
) _wrap_new_MemoryFSHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41034 { (char *)"MemoryFSHandler_RemoveFile", (PyCFunction
) _wrap_MemoryFSHandler_RemoveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41035 { (char *)"MemoryFSHandler_CanOpen", (PyCFunction
) _wrap_MemoryFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41036 { (char *)"MemoryFSHandler_OpenFile", (PyCFunction
) _wrap_MemoryFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41037 { (char *)"MemoryFSHandler_FindFirst", (PyCFunction
) _wrap_MemoryFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41038 { (char *)"MemoryFSHandler_FindNext", (PyCFunction
) _wrap_MemoryFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41039 { (char *)"MemoryFSHandler_swigregister", MemoryFSHandler_swigregister
, METH_VARARGS
, NULL
},
41040 { (char *)"ImageHandler_GetName", (PyCFunction
) _wrap_ImageHandler_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41041 { (char *)"ImageHandler_GetExtension", (PyCFunction
) _wrap_ImageHandler_GetExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41042 { (char *)"ImageHandler_GetType", (PyCFunction
) _wrap_ImageHandler_GetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41043 { (char *)"ImageHandler_GetMimeType", (PyCFunction
) _wrap_ImageHandler_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41044 { (char *)"ImageHandler_CanRead", (PyCFunction
) _wrap_ImageHandler_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41045 { (char *)"ImageHandler_SetName", (PyCFunction
) _wrap_ImageHandler_SetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41046 { (char *)"ImageHandler_SetExtension", (PyCFunction
) _wrap_ImageHandler_SetExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41047 { (char *)"ImageHandler_SetType", (PyCFunction
) _wrap_ImageHandler_SetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41048 { (char *)"ImageHandler_SetMimeType", (PyCFunction
) _wrap_ImageHandler_SetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41049 { (char *)"ImageHandler_swigregister", ImageHandler_swigregister
, METH_VARARGS
, NULL
},
41050 { (char *)"new_ImageHistogram", (PyCFunction
) _wrap_new_ImageHistogram
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41051 { (char *)"ImageHistogram_MakeKey", (PyCFunction
) _wrap_ImageHistogram_MakeKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41052 { (char *)"ImageHistogram_FindFirstUnusedColour", (PyCFunction
) _wrap_ImageHistogram_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41053 { (char *)"ImageHistogram_swigregister", ImageHistogram_swigregister
, METH_VARARGS
, NULL
},
41054 { (char *)"new_Image", (PyCFunction
) _wrap_new_Image
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41055 { (char *)"delete_Image", (PyCFunction
) _wrap_delete_Image
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41056 { (char *)"new_ImageFromMime", (PyCFunction
) _wrap_new_ImageFromMime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41057 { (char *)"new_ImageFromStream", (PyCFunction
) _wrap_new_ImageFromStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41058 { (char *)"new_ImageFromStreamMime", (PyCFunction
) _wrap_new_ImageFromStreamMime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41059 { (char *)"new_EmptyImage", (PyCFunction
) _wrap_new_EmptyImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41060 { (char *)"new_ImageFromBitmap", (PyCFunction
) _wrap_new_ImageFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41061 { (char *)"new_ImageFromData", (PyCFunction
) _wrap_new_ImageFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41062 { (char *)"Image_Create", (PyCFunction
) _wrap_Image_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41063 { (char *)"Image_Destroy", (PyCFunction
) _wrap_Image_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41064 { (char *)"Image_Scale", (PyCFunction
) _wrap_Image_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41065 { (char *)"Image_ShrinkBy", (PyCFunction
) _wrap_Image_ShrinkBy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41066 { (char *)"Image_Rescale", (PyCFunction
) _wrap_Image_Rescale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41067 { (char *)"Image_SetRGB", (PyCFunction
) _wrap_Image_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41068 { (char *)"Image_GetRed", (PyCFunction
) _wrap_Image_GetRed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41069 { (char *)"Image_GetGreen", (PyCFunction
) _wrap_Image_GetGreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41070 { (char *)"Image_GetBlue", (PyCFunction
) _wrap_Image_GetBlue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41071 { (char *)"Image_SetAlpha", (PyCFunction
) _wrap_Image_SetAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41072 { (char *)"Image_GetAlpha", (PyCFunction
) _wrap_Image_GetAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41073 { (char *)"Image_HasAlpha", (PyCFunction
) _wrap_Image_HasAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41074 { (char *)"Image_FindFirstUnusedColour", (PyCFunction
) _wrap_Image_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41075 { (char *)"Image_ConvertAlphaToMask", (PyCFunction
) _wrap_Image_ConvertAlphaToMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41076 { (char *)"Image_SetMaskFromImage", (PyCFunction
) _wrap_Image_SetMaskFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41077 { (char *)"Image_CanRead", (PyCFunction
) _wrap_Image_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41078 { (char *)"Image_GetImageCount", (PyCFunction
) _wrap_Image_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41079 { (char *)"Image_LoadFile", (PyCFunction
) _wrap_Image_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41080 { (char *)"Image_LoadMimeFile", (PyCFunction
) _wrap_Image_LoadMimeFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41081 { (char *)"Image_SaveFile", (PyCFunction
) _wrap_Image_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41082 { (char *)"Image_SaveMimeFile", (PyCFunction
) _wrap_Image_SaveMimeFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41083 { (char *)"Image_CanReadStream", (PyCFunction
) _wrap_Image_CanReadStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41084 { (char *)"Image_LoadStream", (PyCFunction
) _wrap_Image_LoadStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41085 { (char *)"Image_LoadMimeStream", (PyCFunction
) _wrap_Image_LoadMimeStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41086 { (char *)"Image_Ok", (PyCFunction
) _wrap_Image_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41087 { (char *)"Image_GetWidth", (PyCFunction
) _wrap_Image_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41088 { (char *)"Image_GetHeight", (PyCFunction
) _wrap_Image_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41089 { (char *)"Image_GetSize", (PyCFunction
) _wrap_Image_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41090 { (char *)"Image_GetSubImage", (PyCFunction
) _wrap_Image_GetSubImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41091 { (char *)"Image_Copy", (PyCFunction
) _wrap_Image_Copy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41092 { (char *)"Image_Paste", (PyCFunction
) _wrap_Image_Paste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41093 { (char *)"Image_GetData", (PyCFunction
) _wrap_Image_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41094 { (char *)"Image_SetData", (PyCFunction
) _wrap_Image_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41095 { (char *)"Image_GetDataBuffer", (PyCFunction
) _wrap_Image_GetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41096 { (char *)"Image_SetDataBuffer", (PyCFunction
) _wrap_Image_SetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41097 { (char *)"Image_GetAlphaData", (PyCFunction
) _wrap_Image_GetAlphaData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41098 { (char *)"Image_SetAlphaData", (PyCFunction
) _wrap_Image_SetAlphaData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41099 { (char *)"Image_GetAlphaBuffer", (PyCFunction
) _wrap_Image_GetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41100 { (char *)"Image_SetAlphaBuffer", (PyCFunction
) _wrap_Image_SetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41101 { (char *)"Image_SetMaskColour", (PyCFunction
) _wrap_Image_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41102 { (char *)"Image_GetMaskRed", (PyCFunction
) _wrap_Image_GetMaskRed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41103 { (char *)"Image_GetMaskGreen", (PyCFunction
) _wrap_Image_GetMaskGreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41104 { (char *)"Image_GetMaskBlue", (PyCFunction
) _wrap_Image_GetMaskBlue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41105 { (char *)"Image_SetMask", (PyCFunction
) _wrap_Image_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41106 { (char *)"Image_HasMask", (PyCFunction
) _wrap_Image_HasMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41107 { (char *)"Image_Rotate", (PyCFunction
) _wrap_Image_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41108 { (char *)"Image_Rotate90", (PyCFunction
) _wrap_Image_Rotate90
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41109 { (char *)"Image_Mirror", (PyCFunction
) _wrap_Image_Mirror
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41110 { (char *)"Image_Replace", (PyCFunction
) _wrap_Image_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41111 { (char *)"Image_ConvertToMono", (PyCFunction
) _wrap_Image_ConvertToMono
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41112 { (char *)"Image_SetOption", (PyCFunction
) _wrap_Image_SetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41113 { (char *)"Image_SetOptionInt", (PyCFunction
) _wrap_Image_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41114 { (char *)"Image_GetOption", (PyCFunction
) _wrap_Image_GetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41115 { (char *)"Image_GetOptionInt", (PyCFunction
) _wrap_Image_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41116 { (char *)"Image_HasOption", (PyCFunction
) _wrap_Image_HasOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41117 { (char *)"Image_CountColours", (PyCFunction
) _wrap_Image_CountColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41118 { (char *)"Image_ComputeHistogram", (PyCFunction
) _wrap_Image_ComputeHistogram
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41119 { (char *)"Image_AddHandler", (PyCFunction
) _wrap_Image_AddHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41120 { (char *)"Image_InsertHandler", (PyCFunction
) _wrap_Image_InsertHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41121 { (char *)"Image_RemoveHandler", (PyCFunction
) _wrap_Image_RemoveHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41122 { (char *)"Image_GetImageExtWildcard", (PyCFunction
) _wrap_Image_GetImageExtWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41123 { (char *)"Image_ConvertToBitmap", (PyCFunction
) _wrap_Image_ConvertToBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41124 { (char *)"Image_ConvertToMonoBitmap", (PyCFunction
) _wrap_Image_ConvertToMonoBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41125 { (char *)"Image_swigregister", Image_swigregister
, METH_VARARGS
, NULL
},
41126 { (char *)"new_BMPHandler", (PyCFunction
) _wrap_new_BMPHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41127 { (char *)"BMPHandler_swigregister", BMPHandler_swigregister
, METH_VARARGS
, NULL
},
41128 { (char *)"new_ICOHandler", (PyCFunction
) _wrap_new_ICOHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41129 { (char *)"ICOHandler_swigregister", ICOHandler_swigregister
, METH_VARARGS
, NULL
},
41130 { (char *)"new_CURHandler", (PyCFunction
) _wrap_new_CURHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41131 { (char *)"CURHandler_swigregister", CURHandler_swigregister
, METH_VARARGS
, NULL
},
41132 { (char *)"new_ANIHandler", (PyCFunction
) _wrap_new_ANIHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41133 { (char *)"ANIHandler_swigregister", ANIHandler_swigregister
, METH_VARARGS
, NULL
},
41134 { (char *)"new_PNGHandler", (PyCFunction
) _wrap_new_PNGHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41135 { (char *)"PNGHandler_swigregister", PNGHandler_swigregister
, METH_VARARGS
, NULL
},
41136 { (char *)"new_GIFHandler", (PyCFunction
) _wrap_new_GIFHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41137 { (char *)"GIFHandler_swigregister", GIFHandler_swigregister
, METH_VARARGS
, NULL
},
41138 { (char *)"new_PCXHandler", (PyCFunction
) _wrap_new_PCXHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41139 { (char *)"PCXHandler_swigregister", PCXHandler_swigregister
, METH_VARARGS
, NULL
},
41140 { (char *)"new_JPEGHandler", (PyCFunction
) _wrap_new_JPEGHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41141 { (char *)"JPEGHandler_swigregister", JPEGHandler_swigregister
, METH_VARARGS
, NULL
},
41142 { (char *)"new_PNMHandler", (PyCFunction
) _wrap_new_PNMHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41143 { (char *)"PNMHandler_swigregister", PNMHandler_swigregister
, METH_VARARGS
, NULL
},
41144 { (char *)"new_XPMHandler", (PyCFunction
) _wrap_new_XPMHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41145 { (char *)"XPMHandler_swigregister", XPMHandler_swigregister
, METH_VARARGS
, NULL
},
41146 { (char *)"new_TIFFHandler", (PyCFunction
) _wrap_new_TIFFHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41147 { (char *)"TIFFHandler_swigregister", TIFFHandler_swigregister
, METH_VARARGS
, NULL
},
41148 { (char *)"Quantize_Quantize", (PyCFunction
) _wrap_Quantize_Quantize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41149 { (char *)"Quantize_swigregister", Quantize_swigregister
, METH_VARARGS
, NULL
},
41150 { (char *)"new_EvtHandler", (PyCFunction
) _wrap_new_EvtHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41151 { (char *)"EvtHandler_GetNextHandler", (PyCFunction
) _wrap_EvtHandler_GetNextHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41152 { (char *)"EvtHandler_GetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_GetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41153 { (char *)"EvtHandler_SetNextHandler", (PyCFunction
) _wrap_EvtHandler_SetNextHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41154 { (char *)"EvtHandler_SetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_SetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41155 { (char *)"EvtHandler_GetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_GetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41156 { (char *)"EvtHandler_SetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_SetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41157 { (char *)"EvtHandler_ProcessEvent", (PyCFunction
) _wrap_EvtHandler_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41158 { (char *)"EvtHandler_AddPendingEvent", (PyCFunction
) _wrap_EvtHandler_AddPendingEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41159 { (char *)"EvtHandler_ProcessPendingEvents", (PyCFunction
) _wrap_EvtHandler_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41160 { (char *)"EvtHandler_Connect", (PyCFunction
) _wrap_EvtHandler_Connect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41161 { (char *)"EvtHandler_Disconnect", (PyCFunction
) _wrap_EvtHandler_Disconnect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41162 { (char *)"EvtHandler__setOORInfo", (PyCFunction
) _wrap_EvtHandler__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41163 { (char *)"EvtHandler_swigregister", EvtHandler_swigregister
, METH_VARARGS
, NULL
},
41164 { (char *)"NewEventType", (PyCFunction
) _wrap_NewEventType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41165 { (char *)"delete_Event", (PyCFunction
) _wrap_delete_Event
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41166 { (char *)"Event_SetEventType", (PyCFunction
) _wrap_Event_SetEventType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41167 { (char *)"Event_GetEventType", (PyCFunction
) _wrap_Event_GetEventType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41168 { (char *)"Event_GetEventObject", (PyCFunction
) _wrap_Event_GetEventObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41169 { (char *)"Event_SetEventObject", (PyCFunction
) _wrap_Event_SetEventObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41170 { (char *)"Event_GetTimestamp", (PyCFunction
) _wrap_Event_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41171 { (char *)"Event_SetTimestamp", (PyCFunction
) _wrap_Event_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41172 { (char *)"Event_GetId", (PyCFunction
) _wrap_Event_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41173 { (char *)"Event_SetId", (PyCFunction
) _wrap_Event_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41174 { (char *)"Event_IsCommandEvent", (PyCFunction
) _wrap_Event_IsCommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41175 { (char *)"Event_Skip", (PyCFunction
) _wrap_Event_Skip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41176 { (char *)"Event_GetSkipped", (PyCFunction
) _wrap_Event_GetSkipped
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41177 { (char *)"Event_ShouldPropagate", (PyCFunction
) _wrap_Event_ShouldPropagate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41178 { (char *)"Event_StopPropagation", (PyCFunction
) _wrap_Event_StopPropagation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41179 { (char *)"Event_ResumePropagation", (PyCFunction
) _wrap_Event_ResumePropagation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41180 { (char *)"Event_Clone", (PyCFunction
) _wrap_Event_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41181 { (char *)"Event_swigregister", Event_swigregister
, METH_VARARGS
, NULL
},
41182 { (char *)"new_PropagationDisabler", (PyCFunction
) _wrap_new_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41183 { (char *)"delete_PropagationDisabler", (PyCFunction
) _wrap_delete_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41184 { (char *)"PropagationDisabler_swigregister", PropagationDisabler_swigregister
, METH_VARARGS
, NULL
},
41185 { (char *)"new_PropagateOnce", (PyCFunction
) _wrap_new_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41186 { (char *)"delete_PropagateOnce", (PyCFunction
) _wrap_delete_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41187 { (char *)"PropagateOnce_swigregister", PropagateOnce_swigregister
, METH_VARARGS
, NULL
},
41188 { (char *)"new_CommandEvent", (PyCFunction
) _wrap_new_CommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41189 { (char *)"CommandEvent_GetSelection", (PyCFunction
) _wrap_CommandEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41190 { (char *)"CommandEvent_SetString", (PyCFunction
) _wrap_CommandEvent_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41191 { (char *)"CommandEvent_GetString", (PyCFunction
) _wrap_CommandEvent_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41192 { (char *)"CommandEvent_IsChecked", (PyCFunction
) _wrap_CommandEvent_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41193 { (char *)"CommandEvent_IsSelection", (PyCFunction
) _wrap_CommandEvent_IsSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41194 { (char *)"CommandEvent_SetExtraLong", (PyCFunction
) _wrap_CommandEvent_SetExtraLong
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41195 { (char *)"CommandEvent_GetExtraLong", (PyCFunction
) _wrap_CommandEvent_GetExtraLong
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41196 { (char *)"CommandEvent_SetInt", (PyCFunction
) _wrap_CommandEvent_SetInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41197 { (char *)"CommandEvent_GetInt", (PyCFunction
) _wrap_CommandEvent_GetInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41198 { (char *)"CommandEvent_Clone", (PyCFunction
) _wrap_CommandEvent_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41199 { (char *)"CommandEvent_swigregister", CommandEvent_swigregister
, METH_VARARGS
, NULL
},
41200 { (char *)"new_NotifyEvent", (PyCFunction
) _wrap_new_NotifyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41201 { (char *)"NotifyEvent_Veto", (PyCFunction
) _wrap_NotifyEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41202 { (char *)"NotifyEvent_Allow", (PyCFunction
) _wrap_NotifyEvent_Allow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41203 { (char *)"NotifyEvent_IsAllowed", (PyCFunction
) _wrap_NotifyEvent_IsAllowed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41204 { (char *)"NotifyEvent_swigregister", NotifyEvent_swigregister
, METH_VARARGS
, NULL
},
41205 { (char *)"new_ScrollEvent", (PyCFunction
) _wrap_new_ScrollEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41206 { (char *)"ScrollEvent_GetOrientation", (PyCFunction
) _wrap_ScrollEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41207 { (char *)"ScrollEvent_GetPosition", (PyCFunction
) _wrap_ScrollEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41208 { (char *)"ScrollEvent_SetOrientation", (PyCFunction
) _wrap_ScrollEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41209 { (char *)"ScrollEvent_SetPosition", (PyCFunction
) _wrap_ScrollEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41210 { (char *)"ScrollEvent_swigregister", ScrollEvent_swigregister
, METH_VARARGS
, NULL
},
41211 { (char *)"new_ScrollWinEvent", (PyCFunction
) _wrap_new_ScrollWinEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41212 { (char *)"ScrollWinEvent_GetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41213 { (char *)"ScrollWinEvent_GetPosition", (PyCFunction
) _wrap_ScrollWinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41214 { (char *)"ScrollWinEvent_SetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41215 { (char *)"ScrollWinEvent_SetPosition", (PyCFunction
) _wrap_ScrollWinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41216 { (char *)"ScrollWinEvent_swigregister", ScrollWinEvent_swigregister
, METH_VARARGS
, NULL
},
41217 { (char *)"new_MouseEvent", (PyCFunction
) _wrap_new_MouseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41218 { (char *)"MouseEvent_IsButton", (PyCFunction
) _wrap_MouseEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41219 { (char *)"MouseEvent_ButtonDown", (PyCFunction
) _wrap_MouseEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41220 { (char *)"MouseEvent_ButtonDClick", (PyCFunction
) _wrap_MouseEvent_ButtonDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41221 { (char *)"MouseEvent_ButtonUp", (PyCFunction
) _wrap_MouseEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41222 { (char *)"MouseEvent_Button", (PyCFunction
) _wrap_MouseEvent_Button
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41223 { (char *)"MouseEvent_ButtonIsDown", (PyCFunction
) _wrap_MouseEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41224 { (char *)"MouseEvent_GetButton", (PyCFunction
) _wrap_MouseEvent_GetButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41225 { (char *)"MouseEvent_ControlDown", (PyCFunction
) _wrap_MouseEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41226 { (char *)"MouseEvent_MetaDown", (PyCFunction
) _wrap_MouseEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41227 { (char *)"MouseEvent_AltDown", (PyCFunction
) _wrap_MouseEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41228 { (char *)"MouseEvent_ShiftDown", (PyCFunction
) _wrap_MouseEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41229 { (char *)"MouseEvent_CmdDown", (PyCFunction
) _wrap_MouseEvent_CmdDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41230 { (char *)"MouseEvent_LeftDown", (PyCFunction
) _wrap_MouseEvent_LeftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41231 { (char *)"MouseEvent_MiddleDown", (PyCFunction
) _wrap_MouseEvent_MiddleDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41232 { (char *)"MouseEvent_RightDown", (PyCFunction
) _wrap_MouseEvent_RightDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41233 { (char *)"MouseEvent_LeftUp", (PyCFunction
) _wrap_MouseEvent_LeftUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41234 { (char *)"MouseEvent_MiddleUp", (PyCFunction
) _wrap_MouseEvent_MiddleUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41235 { (char *)"MouseEvent_RightUp", (PyCFunction
) _wrap_MouseEvent_RightUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41236 { (char *)"MouseEvent_LeftDClick", (PyCFunction
) _wrap_MouseEvent_LeftDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41237 { (char *)"MouseEvent_MiddleDClick", (PyCFunction
) _wrap_MouseEvent_MiddleDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41238 { (char *)"MouseEvent_RightDClick", (PyCFunction
) _wrap_MouseEvent_RightDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41239 { (char *)"MouseEvent_LeftIsDown", (PyCFunction
) _wrap_MouseEvent_LeftIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41240 { (char *)"MouseEvent_MiddleIsDown", (PyCFunction
) _wrap_MouseEvent_MiddleIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41241 { (char *)"MouseEvent_RightIsDown", (PyCFunction
) _wrap_MouseEvent_RightIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41242 { (char *)"MouseEvent_Dragging", (PyCFunction
) _wrap_MouseEvent_Dragging
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41243 { (char *)"MouseEvent_Moving", (PyCFunction
) _wrap_MouseEvent_Moving
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41244 { (char *)"MouseEvent_Entering", (PyCFunction
) _wrap_MouseEvent_Entering
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41245 { (char *)"MouseEvent_Leaving", (PyCFunction
) _wrap_MouseEvent_Leaving
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41246 { (char *)"MouseEvent_GetPosition", (PyCFunction
) _wrap_MouseEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41247 { (char *)"MouseEvent_GetPositionTuple", (PyCFunction
) _wrap_MouseEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41248 { (char *)"MouseEvent_GetLogicalPosition", (PyCFunction
) _wrap_MouseEvent_GetLogicalPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41249 { (char *)"MouseEvent_GetX", (PyCFunction
) _wrap_MouseEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41250 { (char *)"MouseEvent_GetY", (PyCFunction
) _wrap_MouseEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41251 { (char *)"MouseEvent_GetWheelRotation", (PyCFunction
) _wrap_MouseEvent_GetWheelRotation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41252 { (char *)"MouseEvent_GetWheelDelta", (PyCFunction
) _wrap_MouseEvent_GetWheelDelta
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41253 { (char *)"MouseEvent_GetLinesPerAction", (PyCFunction
) _wrap_MouseEvent_GetLinesPerAction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41254 { (char *)"MouseEvent_IsPageScroll", (PyCFunction
) _wrap_MouseEvent_IsPageScroll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41255 { (char *)"MouseEvent_m_x_set", (PyCFunction
) _wrap_MouseEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41256 { (char *)"MouseEvent_m_x_get", (PyCFunction
) _wrap_MouseEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41257 { (char *)"MouseEvent_m_y_set", (PyCFunction
) _wrap_MouseEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41258 { (char *)"MouseEvent_m_y_get", (PyCFunction
) _wrap_MouseEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41259 { (char *)"MouseEvent_m_leftDown_set", (PyCFunction
) _wrap_MouseEvent_m_leftDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41260 { (char *)"MouseEvent_m_leftDown_get", (PyCFunction
) _wrap_MouseEvent_m_leftDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41261 { (char *)"MouseEvent_m_middleDown_set", (PyCFunction
) _wrap_MouseEvent_m_middleDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41262 { (char *)"MouseEvent_m_middleDown_get", (PyCFunction
) _wrap_MouseEvent_m_middleDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41263 { (char *)"MouseEvent_m_rightDown_set", (PyCFunction
) _wrap_MouseEvent_m_rightDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41264 { (char *)"MouseEvent_m_rightDown_get", (PyCFunction
) _wrap_MouseEvent_m_rightDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41265 { (char *)"MouseEvent_m_controlDown_set", (PyCFunction
) _wrap_MouseEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41266 { (char *)"MouseEvent_m_controlDown_get", (PyCFunction
) _wrap_MouseEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41267 { (char *)"MouseEvent_m_shiftDown_set", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41268 { (char *)"MouseEvent_m_shiftDown_get", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41269 { (char *)"MouseEvent_m_altDown_set", (PyCFunction
) _wrap_MouseEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41270 { (char *)"MouseEvent_m_altDown_get", (PyCFunction
) _wrap_MouseEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41271 { (char *)"MouseEvent_m_metaDown_set", (PyCFunction
) _wrap_MouseEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41272 { (char *)"MouseEvent_m_metaDown_get", (PyCFunction
) _wrap_MouseEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41273 { (char *)"MouseEvent_m_wheelRotation_set", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41274 { (char *)"MouseEvent_m_wheelRotation_get", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41275 { (char *)"MouseEvent_m_wheelDelta_set", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41276 { (char *)"MouseEvent_m_wheelDelta_get", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41277 { (char *)"MouseEvent_m_linesPerAction_set", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41278 { (char *)"MouseEvent_m_linesPerAction_get", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41279 { (char *)"MouseEvent_swigregister", MouseEvent_swigregister
, METH_VARARGS
, NULL
},
41280 { (char *)"new_SetCursorEvent", (PyCFunction
) _wrap_new_SetCursorEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41281 { (char *)"SetCursorEvent_GetX", (PyCFunction
) _wrap_SetCursorEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41282 { (char *)"SetCursorEvent_GetY", (PyCFunction
) _wrap_SetCursorEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41283 { (char *)"SetCursorEvent_SetCursor", (PyCFunction
) _wrap_SetCursorEvent_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41284 { (char *)"SetCursorEvent_GetCursor", (PyCFunction
) _wrap_SetCursorEvent_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41285 { (char *)"SetCursorEvent_HasCursor", (PyCFunction
) _wrap_SetCursorEvent_HasCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41286 { (char *)"SetCursorEvent_swigregister", SetCursorEvent_swigregister
, METH_VARARGS
, NULL
},
41287 { (char *)"new_KeyEvent", (PyCFunction
) _wrap_new_KeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41288 { (char *)"KeyEvent_ControlDown", (PyCFunction
) _wrap_KeyEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41289 { (char *)"KeyEvent_MetaDown", (PyCFunction
) _wrap_KeyEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41290 { (char *)"KeyEvent_AltDown", (PyCFunction
) _wrap_KeyEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41291 { (char *)"KeyEvent_ShiftDown", (PyCFunction
) _wrap_KeyEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41292 { (char *)"KeyEvent_CmdDown", (PyCFunction
) _wrap_KeyEvent_CmdDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41293 { (char *)"KeyEvent_HasModifiers", (PyCFunction
) _wrap_KeyEvent_HasModifiers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41294 { (char *)"KeyEvent_GetKeyCode", (PyCFunction
) _wrap_KeyEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41295 { (char *)"KeyEvent_GetUnicodeKey", (PyCFunction
) _wrap_KeyEvent_GetUnicodeKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41296 { (char *)"KeyEvent_GetRawKeyCode", (PyCFunction
) _wrap_KeyEvent_GetRawKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41297 { (char *)"KeyEvent_GetRawKeyFlags", (PyCFunction
) _wrap_KeyEvent_GetRawKeyFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41298 { (char *)"KeyEvent_GetPosition", (PyCFunction
) _wrap_KeyEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41299 { (char *)"KeyEvent_GetPositionTuple", (PyCFunction
) _wrap_KeyEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41300 { (char *)"KeyEvent_GetX", (PyCFunction
) _wrap_KeyEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41301 { (char *)"KeyEvent_GetY", (PyCFunction
) _wrap_KeyEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41302 { (char *)"KeyEvent_m_x_set", (PyCFunction
) _wrap_KeyEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41303 { (char *)"KeyEvent_m_x_get", (PyCFunction
) _wrap_KeyEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41304 { (char *)"KeyEvent_m_y_set", (PyCFunction
) _wrap_KeyEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41305 { (char *)"KeyEvent_m_y_get", (PyCFunction
) _wrap_KeyEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41306 { (char *)"KeyEvent_m_keyCode_set", (PyCFunction
) _wrap_KeyEvent_m_keyCode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41307 { (char *)"KeyEvent_m_keyCode_get", (PyCFunction
) _wrap_KeyEvent_m_keyCode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41308 { (char *)"KeyEvent_m_controlDown_set", (PyCFunction
) _wrap_KeyEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41309 { (char *)"KeyEvent_m_controlDown_get", (PyCFunction
) _wrap_KeyEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41310 { (char *)"KeyEvent_m_shiftDown_set", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41311 { (char *)"KeyEvent_m_shiftDown_get", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41312 { (char *)"KeyEvent_m_altDown_set", (PyCFunction
) _wrap_KeyEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41313 { (char *)"KeyEvent_m_altDown_get", (PyCFunction
) _wrap_KeyEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41314 { (char *)"KeyEvent_m_metaDown_set", (PyCFunction
) _wrap_KeyEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41315 { (char *)"KeyEvent_m_metaDown_get", (PyCFunction
) _wrap_KeyEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41316 { (char *)"KeyEvent_m_scanCode_set", (PyCFunction
) _wrap_KeyEvent_m_scanCode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41317 { (char *)"KeyEvent_m_scanCode_get", (PyCFunction
) _wrap_KeyEvent_m_scanCode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41318 { (char *)"KeyEvent_m_rawCode_set", (PyCFunction
) _wrap_KeyEvent_m_rawCode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41319 { (char *)"KeyEvent_m_rawCode_get", (PyCFunction
) _wrap_KeyEvent_m_rawCode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41320 { (char *)"KeyEvent_m_rawFlags_set", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41321 { (char *)"KeyEvent_m_rawFlags_get", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41322 { (char *)"KeyEvent_swigregister", KeyEvent_swigregister
, METH_VARARGS
, NULL
},
41323 { (char *)"new_SizeEvent", (PyCFunction
) _wrap_new_SizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41324 { (char *)"SizeEvent_GetSize", (PyCFunction
) _wrap_SizeEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41325 { (char *)"SizeEvent_GetRect", (PyCFunction
) _wrap_SizeEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41326 { (char *)"SizeEvent_SetRect", (PyCFunction
) _wrap_SizeEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41327 { (char *)"SizeEvent_SetSize", (PyCFunction
) _wrap_SizeEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41328 { (char *)"SizeEvent_m_size_set", (PyCFunction
) _wrap_SizeEvent_m_size_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41329 { (char *)"SizeEvent_m_size_get", (PyCFunction
) _wrap_SizeEvent_m_size_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41330 { (char *)"SizeEvent_m_rect_set", (PyCFunction
) _wrap_SizeEvent_m_rect_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41331 { (char *)"SizeEvent_m_rect_get", (PyCFunction
) _wrap_SizeEvent_m_rect_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41332 { (char *)"SizeEvent_swigregister", SizeEvent_swigregister
, METH_VARARGS
, NULL
},
41333 { (char *)"new_MoveEvent", (PyCFunction
) _wrap_new_MoveEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41334 { (char *)"MoveEvent_GetPosition", (PyCFunction
) _wrap_MoveEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41335 { (char *)"MoveEvent_GetRect", (PyCFunction
) _wrap_MoveEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41336 { (char *)"MoveEvent_SetRect", (PyCFunction
) _wrap_MoveEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41337 { (char *)"MoveEvent_SetPosition", (PyCFunction
) _wrap_MoveEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41338 { (char *)"MoveEvent_m_pos_set", (PyCFunction
) _wrap_MoveEvent_m_pos_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41339 { (char *)"MoveEvent_m_pos_get", (PyCFunction
) _wrap_MoveEvent_m_pos_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41340 { (char *)"MoveEvent_m_rect_set", (PyCFunction
) _wrap_MoveEvent_m_rect_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41341 { (char *)"MoveEvent_m_rect_get", (PyCFunction
) _wrap_MoveEvent_m_rect_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41342 { (char *)"MoveEvent_swigregister", MoveEvent_swigregister
, METH_VARARGS
, NULL
},
41343 { (char *)"new_PaintEvent", (PyCFunction
) _wrap_new_PaintEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41344 { (char *)"PaintEvent_swigregister", PaintEvent_swigregister
, METH_VARARGS
, NULL
},
41345 { (char *)"new_NcPaintEvent", (PyCFunction
) _wrap_new_NcPaintEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41346 { (char *)"NcPaintEvent_swigregister", NcPaintEvent_swigregister
, METH_VARARGS
, NULL
},
41347 { (char *)"new_EraseEvent", (PyCFunction
) _wrap_new_EraseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41348 { (char *)"EraseEvent_GetDC", (PyCFunction
) _wrap_EraseEvent_GetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41349 { (char *)"EraseEvent_swigregister", EraseEvent_swigregister
, METH_VARARGS
, NULL
},
41350 { (char *)"new_FocusEvent", (PyCFunction
) _wrap_new_FocusEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41351 { (char *)"FocusEvent_GetWindow", (PyCFunction
) _wrap_FocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41352 { (char *)"FocusEvent_SetWindow", (PyCFunction
) _wrap_FocusEvent_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41353 { (char *)"FocusEvent_swigregister", FocusEvent_swigregister
, METH_VARARGS
, NULL
},
41354 { (char *)"new_ChildFocusEvent", (PyCFunction
) _wrap_new_ChildFocusEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41355 { (char *)"ChildFocusEvent_GetWindow", (PyCFunction
) _wrap_ChildFocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41356 { (char *)"ChildFocusEvent_swigregister", ChildFocusEvent_swigregister
, METH_VARARGS
, NULL
},
41357 { (char *)"new_ActivateEvent", (PyCFunction
) _wrap_new_ActivateEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41358 { (char *)"ActivateEvent_GetActive", (PyCFunction
) _wrap_ActivateEvent_GetActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41359 { (char *)"ActivateEvent_swigregister", ActivateEvent_swigregister
, METH_VARARGS
, NULL
},
41360 { (char *)"new_InitDialogEvent", (PyCFunction
) _wrap_new_InitDialogEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41361 { (char *)"InitDialogEvent_swigregister", InitDialogEvent_swigregister
, METH_VARARGS
, NULL
},
41362 { (char *)"new_MenuEvent", (PyCFunction
) _wrap_new_MenuEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41363 { (char *)"MenuEvent_GetMenuId", (PyCFunction
) _wrap_MenuEvent_GetMenuId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41364 { (char *)"MenuEvent_IsPopup", (PyCFunction
) _wrap_MenuEvent_IsPopup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41365 { (char *)"MenuEvent_GetMenu", (PyCFunction
) _wrap_MenuEvent_GetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41366 { (char *)"MenuEvent_swigregister", MenuEvent_swigregister
, METH_VARARGS
, NULL
},
41367 { (char *)"new_CloseEvent", (PyCFunction
) _wrap_new_CloseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41368 { (char *)"CloseEvent_SetLoggingOff", (PyCFunction
) _wrap_CloseEvent_SetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41369 { (char *)"CloseEvent_GetLoggingOff", (PyCFunction
) _wrap_CloseEvent_GetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41370 { (char *)"CloseEvent_Veto", (PyCFunction
) _wrap_CloseEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41371 { (char *)"CloseEvent_SetCanVeto", (PyCFunction
) _wrap_CloseEvent_SetCanVeto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41372 { (char *)"CloseEvent_CanVeto", (PyCFunction
) _wrap_CloseEvent_CanVeto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41373 { (char *)"CloseEvent_GetVeto", (PyCFunction
) _wrap_CloseEvent_GetVeto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41374 { (char *)"CloseEvent_swigregister", CloseEvent_swigregister
, METH_VARARGS
, NULL
},
41375 { (char *)"new_ShowEvent", (PyCFunction
) _wrap_new_ShowEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41376 { (char *)"ShowEvent_SetShow", (PyCFunction
) _wrap_ShowEvent_SetShow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41377 { (char *)"ShowEvent_GetShow", (PyCFunction
) _wrap_ShowEvent_GetShow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41378 { (char *)"ShowEvent_swigregister", ShowEvent_swigregister
, METH_VARARGS
, NULL
},
41379 { (char *)"new_IconizeEvent", (PyCFunction
) _wrap_new_IconizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41380 { (char *)"IconizeEvent_Iconized", (PyCFunction
) _wrap_IconizeEvent_Iconized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41381 { (char *)"IconizeEvent_swigregister", IconizeEvent_swigregister
, METH_VARARGS
, NULL
},
41382 { (char *)"new_MaximizeEvent", (PyCFunction
) _wrap_new_MaximizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41383 { (char *)"MaximizeEvent_swigregister", MaximizeEvent_swigregister
, METH_VARARGS
, NULL
},
41384 { (char *)"DropFilesEvent_GetPosition", (PyCFunction
) _wrap_DropFilesEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41385 { (char *)"DropFilesEvent_GetNumberOfFiles", (PyCFunction
) _wrap_DropFilesEvent_GetNumberOfFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41386 { (char *)"DropFilesEvent_GetFiles", (PyCFunction
) _wrap_DropFilesEvent_GetFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41387 { (char *)"DropFilesEvent_swigregister", DropFilesEvent_swigregister
, METH_VARARGS
, NULL
},
41388 { (char *)"new_UpdateUIEvent", (PyCFunction
) _wrap_new_UpdateUIEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41389 { (char *)"UpdateUIEvent_GetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41390 { (char *)"UpdateUIEvent_GetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41391 { (char *)"UpdateUIEvent_GetText", (PyCFunction
) _wrap_UpdateUIEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41392 { (char *)"UpdateUIEvent_GetSetText", (PyCFunction
) _wrap_UpdateUIEvent_GetSetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41393 { (char *)"UpdateUIEvent_GetSetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetSetChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41394 { (char *)"UpdateUIEvent_GetSetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetSetEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41395 { (char *)"UpdateUIEvent_Check", (PyCFunction
) _wrap_UpdateUIEvent_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41396 { (char *)"UpdateUIEvent_Enable", (PyCFunction
) _wrap_UpdateUIEvent_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41397 { (char *)"UpdateUIEvent_SetText", (PyCFunction
) _wrap_UpdateUIEvent_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41398 { (char *)"UpdateUIEvent_SetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_SetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41399 { (char *)"UpdateUIEvent_GetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_GetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41400 { (char *)"UpdateUIEvent_CanUpdate", (PyCFunction
) _wrap_UpdateUIEvent_CanUpdate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41401 { (char *)"UpdateUIEvent_ResetUpdateTime", (PyCFunction
) _wrap_UpdateUIEvent_ResetUpdateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41402 { (char *)"UpdateUIEvent_SetMode", (PyCFunction
) _wrap_UpdateUIEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41403 { (char *)"UpdateUIEvent_GetMode", (PyCFunction
) _wrap_UpdateUIEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41404 { (char *)"UpdateUIEvent_swigregister", UpdateUIEvent_swigregister
, METH_VARARGS
, NULL
},
41405 { (char *)"new_SysColourChangedEvent", (PyCFunction
) _wrap_new_SysColourChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41406 { (char *)"SysColourChangedEvent_swigregister", SysColourChangedEvent_swigregister
, METH_VARARGS
, NULL
},
41407 { (char *)"new_MouseCaptureChangedEvent", (PyCFunction
) _wrap_new_MouseCaptureChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41408 { (char *)"MouseCaptureChangedEvent_GetCapturedWindow", (PyCFunction
) _wrap_MouseCaptureChangedEvent_GetCapturedWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41409 { (char *)"MouseCaptureChangedEvent_swigregister", MouseCaptureChangedEvent_swigregister
, METH_VARARGS
, NULL
},
41410 { (char *)"new_DisplayChangedEvent", (PyCFunction
) _wrap_new_DisplayChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41411 { (char *)"DisplayChangedEvent_swigregister", DisplayChangedEvent_swigregister
, METH_VARARGS
, NULL
},
41412 { (char *)"new_PaletteChangedEvent", (PyCFunction
) _wrap_new_PaletteChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41413 { (char *)"PaletteChangedEvent_SetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_SetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41414 { (char *)"PaletteChangedEvent_GetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_GetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41415 { (char *)"PaletteChangedEvent_swigregister", PaletteChangedEvent_swigregister
, METH_VARARGS
, NULL
},
41416 { (char *)"new_QueryNewPaletteEvent", (PyCFunction
) _wrap_new_QueryNewPaletteEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41417 { (char *)"QueryNewPaletteEvent_SetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_SetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41418 { (char *)"QueryNewPaletteEvent_GetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_GetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41419 { (char *)"QueryNewPaletteEvent_swigregister", QueryNewPaletteEvent_swigregister
, METH_VARARGS
, NULL
},
41420 { (char *)"new_NavigationKeyEvent", (PyCFunction
) _wrap_new_NavigationKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41421 { (char *)"NavigationKeyEvent_GetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_GetDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41422 { (char *)"NavigationKeyEvent_SetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_SetDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41423 { (char *)"NavigationKeyEvent_IsWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_IsWindowChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41424 { (char *)"NavigationKeyEvent_SetWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_SetWindowChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41425 { (char *)"NavigationKeyEvent_SetFlags", (PyCFunction
) _wrap_NavigationKeyEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41426 { (char *)"NavigationKeyEvent_GetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_GetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41427 { (char *)"NavigationKeyEvent_SetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_SetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41428 { (char *)"NavigationKeyEvent_swigregister", NavigationKeyEvent_swigregister
, METH_VARARGS
, NULL
},
41429 { (char *)"new_WindowCreateEvent", (PyCFunction
) _wrap_new_WindowCreateEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41430 { (char *)"WindowCreateEvent_GetWindow", (PyCFunction
) _wrap_WindowCreateEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41431 { (char *)"WindowCreateEvent_swigregister", WindowCreateEvent_swigregister
, METH_VARARGS
, NULL
},
41432 { (char *)"new_WindowDestroyEvent", (PyCFunction
) _wrap_new_WindowDestroyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41433 { (char *)"WindowDestroyEvent_GetWindow", (PyCFunction
) _wrap_WindowDestroyEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41434 { (char *)"WindowDestroyEvent_swigregister", WindowDestroyEvent_swigregister
, METH_VARARGS
, NULL
},
41435 { (char *)"new_ContextMenuEvent", (PyCFunction
) _wrap_new_ContextMenuEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41436 { (char *)"ContextMenuEvent_GetPosition", (PyCFunction
) _wrap_ContextMenuEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41437 { (char *)"ContextMenuEvent_SetPosition", (PyCFunction
) _wrap_ContextMenuEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41438 { (char *)"ContextMenuEvent_swigregister", ContextMenuEvent_swigregister
, METH_VARARGS
, NULL
},
41439 { (char *)"new_IdleEvent", (PyCFunction
) _wrap_new_IdleEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41440 { (char *)"IdleEvent_RequestMore", (PyCFunction
) _wrap_IdleEvent_RequestMore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41441 { (char *)"IdleEvent_MoreRequested", (PyCFunction
) _wrap_IdleEvent_MoreRequested
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41442 { (char *)"IdleEvent_SetMode", (PyCFunction
) _wrap_IdleEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41443 { (char *)"IdleEvent_GetMode", (PyCFunction
) _wrap_IdleEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41444 { (char *)"IdleEvent_CanSend", (PyCFunction
) _wrap_IdleEvent_CanSend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41445 { (char *)"IdleEvent_swigregister", IdleEvent_swigregister
, METH_VARARGS
, NULL
},
41446 { (char *)"new_PyEvent", (PyCFunction
) _wrap_new_PyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41447 { (char *)"delete_PyEvent", (PyCFunction
) _wrap_delete_PyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41448 { (char *)"PyEvent_SetSelf", (PyCFunction
) _wrap_PyEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41449 { (char *)"PyEvent_GetSelf", (PyCFunction
) _wrap_PyEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41450 { (char *)"PyEvent_swigregister", PyEvent_swigregister
, METH_VARARGS
, NULL
},
41451 { (char *)"new_PyCommandEvent", (PyCFunction
) _wrap_new_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41452 { (char *)"delete_PyCommandEvent", (PyCFunction
) _wrap_delete_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41453 { (char *)"PyCommandEvent_SetSelf", (PyCFunction
) _wrap_PyCommandEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41454 { (char *)"PyCommandEvent_GetSelf", (PyCFunction
) _wrap_PyCommandEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41455 { (char *)"PyCommandEvent_swigregister", PyCommandEvent_swigregister
, METH_VARARGS
, NULL
},
41456 { (char *)"new_PyApp", (PyCFunction
) _wrap_new_PyApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41457 { (char *)"delete_PyApp", (PyCFunction
) _wrap_delete_PyApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41458 { (char *)"PyApp__setCallbackInfo", (PyCFunction
) _wrap_PyApp__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41459 { (char *)"PyApp_GetAppName", (PyCFunction
) _wrap_PyApp_GetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41460 { (char *)"PyApp_SetAppName", (PyCFunction
) _wrap_PyApp_SetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41461 { (char *)"PyApp_GetClassName", (PyCFunction
) _wrap_PyApp_GetClassName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41462 { (char *)"PyApp_SetClassName", (PyCFunction
) _wrap_PyApp_SetClassName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41463 { (char *)"PyApp_GetVendorName", (PyCFunction
) _wrap_PyApp_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41464 { (char *)"PyApp_SetVendorName", (PyCFunction
) _wrap_PyApp_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41465 { (char *)"PyApp_GetTraits", (PyCFunction
) _wrap_PyApp_GetTraits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41466 { (char *)"PyApp_ProcessPendingEvents", (PyCFunction
) _wrap_PyApp_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41467 { (char *)"PyApp_Yield", (PyCFunction
) _wrap_PyApp_Yield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41468 { (char *)"PyApp_WakeUpIdle", (PyCFunction
) _wrap_PyApp_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41469 { (char *)"PyApp_MainLoop", (PyCFunction
) _wrap_PyApp_MainLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41470 { (char *)"PyApp_Exit", (PyCFunction
) _wrap_PyApp_Exit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41471 { (char *)"PyApp_ExitMainLoop", (PyCFunction
) _wrap_PyApp_ExitMainLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41472 { (char *)"PyApp_Pending", (PyCFunction
) _wrap_PyApp_Pending
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41473 { (char *)"PyApp_Dispatch", (PyCFunction
) _wrap_PyApp_Dispatch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41474 { (char *)"PyApp_ProcessIdle", (PyCFunction
) _wrap_PyApp_ProcessIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41475 { (char *)"PyApp_SendIdleEvents", (PyCFunction
) _wrap_PyApp_SendIdleEvents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41476 { (char *)"PyApp_IsActive", (PyCFunction
) _wrap_PyApp_IsActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41477 { (char *)"PyApp_SetTopWindow", (PyCFunction
) _wrap_PyApp_SetTopWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41478 { (char *)"PyApp_GetTopWindow", (PyCFunction
) _wrap_PyApp_GetTopWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41479 { (char *)"PyApp_SetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_SetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41480 { (char *)"PyApp_GetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_GetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41481 { (char *)"PyApp_SetUseBestVisual", (PyCFunction
) _wrap_PyApp_SetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41482 { (char *)"PyApp_GetUseBestVisual", (PyCFunction
) _wrap_PyApp_GetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41483 { (char *)"PyApp_SetPrintMode", (PyCFunction
) _wrap_PyApp_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41484 { (char *)"PyApp_GetPrintMode", (PyCFunction
) _wrap_PyApp_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41485 { (char *)"PyApp_SetAssertMode", (PyCFunction
) _wrap_PyApp_SetAssertMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41486 { (char *)"PyApp_GetAssertMode", (PyCFunction
) _wrap_PyApp_GetAssertMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41487 { (char *)"PyApp_GetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_GetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41488 { (char *)"PyApp_GetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41489 { (char *)"PyApp_GetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41490 { (char *)"PyApp_GetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41491 { (char *)"PyApp_GetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_GetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41492 { (char *)"PyApp_SetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_SetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41493 { (char *)"PyApp_SetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41494 { (char *)"PyApp_SetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41495 { (char *)"PyApp_SetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41496 { (char *)"PyApp_SetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_SetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41497 { (char *)"PyApp__BootstrapApp", (PyCFunction
) _wrap_PyApp__BootstrapApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41498 { (char *)"PyApp_GetComCtl32Version", (PyCFunction
) _wrap_PyApp_GetComCtl32Version
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41499 { (char *)"PyApp_swigregister", PyApp_swigregister
, METH_VARARGS
, NULL
},
41500 { (char *)"Exit", (PyCFunction
) _wrap_Exit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41501 { (char *)"Yield", (PyCFunction
) _wrap_Yield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41502 { (char *)"YieldIfNeeded", (PyCFunction
) _wrap_YieldIfNeeded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41503 { (char *)"SafeYield", (PyCFunction
) _wrap_SafeYield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41504 { (char *)"WakeUpIdle", (PyCFunction
) _wrap_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41505 { (char *)"PostEvent", (PyCFunction
) _wrap_PostEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41506 { (char *)"App_CleanUp", (PyCFunction
) _wrap_App_CleanUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41507 { (char *)"GetApp", (PyCFunction
) _wrap_GetApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41508 { (char *)"new_AcceleratorEntry", (PyCFunction
) _wrap_new_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41509 { (char *)"delete_AcceleratorEntry", (PyCFunction
) _wrap_delete_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41510 { (char *)"AcceleratorEntry_Set", (PyCFunction
) _wrap_AcceleratorEntry_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41511 { (char *)"AcceleratorEntry_GetFlags", (PyCFunction
) _wrap_AcceleratorEntry_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41512 { (char *)"AcceleratorEntry_GetKeyCode", (PyCFunction
) _wrap_AcceleratorEntry_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41513 { (char *)"AcceleratorEntry_GetCommand", (PyCFunction
) _wrap_AcceleratorEntry_GetCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41514 { (char *)"AcceleratorEntry_swigregister", AcceleratorEntry_swigregister
, METH_VARARGS
, NULL
},
41515 { (char *)"new_AcceleratorTable", (PyCFunction
) _wrap_new_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41516 { (char *)"delete_AcceleratorTable", (PyCFunction
) _wrap_delete_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41517 { (char *)"AcceleratorTable_Ok", (PyCFunction
) _wrap_AcceleratorTable_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41518 { (char *)"AcceleratorTable_swigregister", AcceleratorTable_swigregister
, METH_VARARGS
, NULL
},
41519 { (char *)"GetAccelFromString", (PyCFunction
) _wrap_GetAccelFromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41520 { (char *)"new_VisualAttributes", (PyCFunction
) _wrap_new_VisualAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41521 { (char *)"delete_VisualAttributes", (PyCFunction
) _wrap_delete_VisualAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41522 { (char *)"VisualAttributes_font_set", (PyCFunction
) _wrap_VisualAttributes_font_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41523 { (char *)"VisualAttributes_font_get", (PyCFunction
) _wrap_VisualAttributes_font_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41524 { (char *)"VisualAttributes_colFg_set", (PyCFunction
) _wrap_VisualAttributes_colFg_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41525 { (char *)"VisualAttributes_colFg_get", (PyCFunction
) _wrap_VisualAttributes_colFg_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41526 { (char *)"VisualAttributes_colBg_set", (PyCFunction
) _wrap_VisualAttributes_colBg_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41527 { (char *)"VisualAttributes_colBg_get", (PyCFunction
) _wrap_VisualAttributes_colBg_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41528 { (char *)"VisualAttributes_swigregister", VisualAttributes_swigregister
, METH_VARARGS
, NULL
},
41529 { (char *)"new_Window", (PyCFunction
) _wrap_new_Window
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41530 { (char *)"new_PreWindow", (PyCFunction
) _wrap_new_PreWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41531 { (char *)"Window_Create", (PyCFunction
) _wrap_Window_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41532 { (char *)"Window_Close", (PyCFunction
) _wrap_Window_Close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41533 { (char *)"Window_Destroy", (PyCFunction
) _wrap_Window_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41534 { (char *)"Window_DestroyChildren", (PyCFunction
) _wrap_Window_DestroyChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41535 { (char *)"Window_IsBeingDeleted", (PyCFunction
) _wrap_Window_IsBeingDeleted
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41536 { (char *)"Window_SetTitle", (PyCFunction
) _wrap_Window_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41537 { (char *)"Window_GetTitle", (PyCFunction
) _wrap_Window_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41538 { (char *)"Window_SetLabel", (PyCFunction
) _wrap_Window_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41539 { (char *)"Window_GetLabel", (PyCFunction
) _wrap_Window_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41540 { (char *)"Window_SetName", (PyCFunction
) _wrap_Window_SetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41541 { (char *)"Window_GetName", (PyCFunction
) _wrap_Window_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41542 { (char *)"Window_SetWindowVariant", (PyCFunction
) _wrap_Window_SetWindowVariant
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41543 { (char *)"Window_GetWindowVariant", (PyCFunction
) _wrap_Window_GetWindowVariant
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41544 { (char *)"Window_SetId", (PyCFunction
) _wrap_Window_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41545 { (char *)"Window_GetId", (PyCFunction
) _wrap_Window_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41546 { (char *)"Window_NewControlId", (PyCFunction
) _wrap_Window_NewControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41547 { (char *)"Window_NextControlId", (PyCFunction
) _wrap_Window_NextControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41548 { (char *)"Window_PrevControlId", (PyCFunction
) _wrap_Window_PrevControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41549 { (char *)"Window_SetSize", (PyCFunction
) _wrap_Window_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41550 { (char *)"Window_SetDimensions", (PyCFunction
) _wrap_Window_SetDimensions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41551 { (char *)"Window_SetRect", (PyCFunction
) _wrap_Window_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41552 { (char *)"Window_SetSizeWH", (PyCFunction
) _wrap_Window_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41553 { (char *)"Window_Move", (PyCFunction
) _wrap_Window_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41554 { (char *)"Window_MoveXY", (PyCFunction
) _wrap_Window_MoveXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41555 { (char *)"Window_SetBestFittingSize", (PyCFunction
) _wrap_Window_SetBestFittingSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41556 { (char *)"Window_Raise", (PyCFunction
) _wrap_Window_Raise
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41557 { (char *)"Window_Lower", (PyCFunction
) _wrap_Window_Lower
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41558 { (char *)"Window_SetClientSize", (PyCFunction
) _wrap_Window_SetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41559 { (char *)"Window_SetClientSizeWH", (PyCFunction
) _wrap_Window_SetClientSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41560 { (char *)"Window_SetClientRect", (PyCFunction
) _wrap_Window_SetClientRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41561 { (char *)"Window_GetPosition", (PyCFunction
) _wrap_Window_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41562 { (char *)"Window_GetPositionTuple", (PyCFunction
) _wrap_Window_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41563 { (char *)"Window_GetSize", (PyCFunction
) _wrap_Window_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41564 { (char *)"Window_GetSizeTuple", (PyCFunction
) _wrap_Window_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41565 { (char *)"Window_GetRect", (PyCFunction
) _wrap_Window_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41566 { (char *)"Window_GetClientSize", (PyCFunction
) _wrap_Window_GetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41567 { (char *)"Window_GetClientSizeTuple", (PyCFunction
) _wrap_Window_GetClientSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41568 { (char *)"Window_GetClientAreaOrigin", (PyCFunction
) _wrap_Window_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41569 { (char *)"Window_GetClientRect", (PyCFunction
) _wrap_Window_GetClientRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41570 { (char *)"Window_GetBestSize", (PyCFunction
) _wrap_Window_GetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41571 { (char *)"Window_GetBestSizeTuple", (PyCFunction
) _wrap_Window_GetBestSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41572 { (char *)"Window_InvalidateBestSize", (PyCFunction
) _wrap_Window_InvalidateBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41573 { (char *)"Window_GetBestFittingSize", (PyCFunction
) _wrap_Window_GetBestFittingSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41574 { (char *)"Window_GetAdjustedBestSize", (PyCFunction
) _wrap_Window_GetAdjustedBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41575 { (char *)"Window_Center", (PyCFunction
) _wrap_Window_Center
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41576 { (char *)"Window_CenterOnScreen", (PyCFunction
) _wrap_Window_CenterOnScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41577 { (char *)"Window_CenterOnParent", (PyCFunction
) _wrap_Window_CenterOnParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41578 { (char *)"Window_Fit", (PyCFunction
) _wrap_Window_Fit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41579 { (char *)"Window_FitInside", (PyCFunction
) _wrap_Window_FitInside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41580 { (char *)"Window_SetSizeHints", (PyCFunction
) _wrap_Window_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41581 { (char *)"Window_SetSizeHintsSz", (PyCFunction
) _wrap_Window_SetSizeHintsSz
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41582 { (char *)"Window_SetVirtualSizeHints", (PyCFunction
) _wrap_Window_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41583 { (char *)"Window_SetVirtualSizeHintsSz", (PyCFunction
) _wrap_Window_SetVirtualSizeHintsSz
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41584 { (char *)"Window_GetMaxSize", (PyCFunction
) _wrap_Window_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41585 { (char *)"Window_GetMinSize", (PyCFunction
) _wrap_Window_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41586 { (char *)"Window_SetMinSize", (PyCFunction
) _wrap_Window_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41587 { (char *)"Window_SetMaxSize", (PyCFunction
) _wrap_Window_SetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41588 { (char *)"Window_GetMinWidth", (PyCFunction
) _wrap_Window_GetMinWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41589 { (char *)"Window_GetMinHeight", (PyCFunction
) _wrap_Window_GetMinHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41590 { (char *)"Window_GetMaxWidth", (PyCFunction
) _wrap_Window_GetMaxWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41591 { (char *)"Window_GetMaxHeight", (PyCFunction
) _wrap_Window_GetMaxHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41592 { (char *)"Window_SetVirtualSize", (PyCFunction
) _wrap_Window_SetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41593 { (char *)"Window_SetVirtualSizeWH", (PyCFunction
) _wrap_Window_SetVirtualSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41594 { (char *)"Window_GetVirtualSize", (PyCFunction
) _wrap_Window_GetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41595 { (char *)"Window_GetVirtualSizeTuple", (PyCFunction
) _wrap_Window_GetVirtualSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41596 { (char *)"Window_GetBestVirtualSize", (PyCFunction
) _wrap_Window_GetBestVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41597 { (char *)"Window_Show", (PyCFunction
) _wrap_Window_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41598 { (char *)"Window_Hide", (PyCFunction
) _wrap_Window_Hide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41599 { (char *)"Window_Enable", (PyCFunction
) _wrap_Window_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41600 { (char *)"Window_Disable", (PyCFunction
) _wrap_Window_Disable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41601 { (char *)"Window_IsShown", (PyCFunction
) _wrap_Window_IsShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41602 { (char *)"Window_IsEnabled", (PyCFunction
) _wrap_Window_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41603 { (char *)"Window_SetWindowStyleFlag", (PyCFunction
) _wrap_Window_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41604 { (char *)"Window_GetWindowStyleFlag", (PyCFunction
) _wrap_Window_GetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41605 { (char *)"Window_HasFlag", (PyCFunction
) _wrap_Window_HasFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41606 { (char *)"Window_IsRetained", (PyCFunction
) _wrap_Window_IsRetained
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41607 { (char *)"Window_SetExtraStyle", (PyCFunction
) _wrap_Window_SetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41608 { (char *)"Window_GetExtraStyle", (PyCFunction
) _wrap_Window_GetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41609 { (char *)"Window_MakeModal", (PyCFunction
) _wrap_Window_MakeModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41610 { (char *)"Window_SetThemeEnabled", (PyCFunction
) _wrap_Window_SetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41611 { (char *)"Window_GetThemeEnabled", (PyCFunction
) _wrap_Window_GetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41612 { (char *)"Window_SetFocus", (PyCFunction
) _wrap_Window_SetFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41613 { (char *)"Window_SetFocusFromKbd", (PyCFunction
) _wrap_Window_SetFocusFromKbd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41614 { (char *)"Window_FindFocus", (PyCFunction
) _wrap_Window_FindFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41615 { (char *)"Window_AcceptsFocus", (PyCFunction
) _wrap_Window_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41616 { (char *)"Window_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_Window_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41617 { (char *)"Window_GetDefaultItem", (PyCFunction
) _wrap_Window_GetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41618 { (char *)"Window_SetDefaultItem", (PyCFunction
) _wrap_Window_SetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41619 { (char *)"Window_SetTmpDefaultItem", (PyCFunction
) _wrap_Window_SetTmpDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41620 { (char *)"Window_Navigate", (PyCFunction
) _wrap_Window_Navigate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41621 { (char *)"Window_MoveAfterInTabOrder", (PyCFunction
) _wrap_Window_MoveAfterInTabOrder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41622 { (char *)"Window_MoveBeforeInTabOrder", (PyCFunction
) _wrap_Window_MoveBeforeInTabOrder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41623 { (char *)"Window_GetChildren", (PyCFunction
) _wrap_Window_GetChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41624 { (char *)"Window_GetParent", (PyCFunction
) _wrap_Window_GetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41625 { (char *)"Window_GetGrandParent", (PyCFunction
) _wrap_Window_GetGrandParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41626 { (char *)"Window_IsTopLevel", (PyCFunction
) _wrap_Window_IsTopLevel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41627 { (char *)"Window_Reparent", (PyCFunction
) _wrap_Window_Reparent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41628 { (char *)"Window_AddChild", (PyCFunction
) _wrap_Window_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41629 { (char *)"Window_RemoveChild", (PyCFunction
) _wrap_Window_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41630 { (char *)"Window_FindWindowById", (PyCFunction
) _wrap_Window_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41631 { (char *)"Window_FindWindowByName", (PyCFunction
) _wrap_Window_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41632 { (char *)"Window_GetEventHandler", (PyCFunction
) _wrap_Window_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41633 { (char *)"Window_SetEventHandler", (PyCFunction
) _wrap_Window_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41634 { (char *)"Window_PushEventHandler", (PyCFunction
) _wrap_Window_PushEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41635 { (char *)"Window_PopEventHandler", (PyCFunction
) _wrap_Window_PopEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41636 { (char *)"Window_RemoveEventHandler", (PyCFunction
) _wrap_Window_RemoveEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41637 { (char *)"Window_SetValidator", (PyCFunction
) _wrap_Window_SetValidator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41638 { (char *)"Window_GetValidator", (PyCFunction
) _wrap_Window_GetValidator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41639 { (char *)"Window_Validate", (PyCFunction
) _wrap_Window_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41640 { (char *)"Window_TransferDataToWindow", (PyCFunction
) _wrap_Window_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41641 { (char *)"Window_TransferDataFromWindow", (PyCFunction
) _wrap_Window_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41642 { (char *)"Window_InitDialog", (PyCFunction
) _wrap_Window_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41643 { (char *)"Window_SetAcceleratorTable", (PyCFunction
) _wrap_Window_SetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41644 { (char *)"Window_GetAcceleratorTable", (PyCFunction
) _wrap_Window_GetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41645 { (char *)"Window_RegisterHotKey", (PyCFunction
) _wrap_Window_RegisterHotKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41646 { (char *)"Window_UnregisterHotKey", (PyCFunction
) _wrap_Window_UnregisterHotKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41647 { (char *)"Window_ConvertDialogPointToPixels", (PyCFunction
) _wrap_Window_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41648 { (char *)"Window_ConvertDialogSizeToPixels", (PyCFunction
) _wrap_Window_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41649 { (char *)"Window_DLG_PNT", (PyCFunction
) _wrap_Window_DLG_PNT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41650 { (char *)"Window_DLG_SZE", (PyCFunction
) _wrap_Window_DLG_SZE
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41651 { (char *)"Window_ConvertPixelPointToDialog", (PyCFunction
) _wrap_Window_ConvertPixelPointToDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41652 { (char *)"Window_ConvertPixelSizeToDialog", (PyCFunction
) _wrap_Window_ConvertPixelSizeToDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41653 { (char *)"Window_WarpPointer", (PyCFunction
) _wrap_Window_WarpPointer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41654 { (char *)"Window_CaptureMouse", (PyCFunction
) _wrap_Window_CaptureMouse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41655 { (char *)"Window_ReleaseMouse", (PyCFunction
) _wrap_Window_ReleaseMouse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41656 { (char *)"Window_GetCapture", (PyCFunction
) _wrap_Window_GetCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41657 { (char *)"Window_HasCapture", (PyCFunction
) _wrap_Window_HasCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41658 { (char *)"Window_Refresh", (PyCFunction
) _wrap_Window_Refresh
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41659 { (char *)"Window_RefreshRect", (PyCFunction
) _wrap_Window_RefreshRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41660 { (char *)"Window_Update", (PyCFunction
) _wrap_Window_Update
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41661 { (char *)"Window_ClearBackground", (PyCFunction
) _wrap_Window_ClearBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41662 { (char *)"Window_Freeze", (PyCFunction
) _wrap_Window_Freeze
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41663 { (char *)"Window_Thaw", (PyCFunction
) _wrap_Window_Thaw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41664 { (char *)"Window_PrepareDC", (PyCFunction
) _wrap_Window_PrepareDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41665 { (char *)"Window_GetUpdateRegion", (PyCFunction
) _wrap_Window_GetUpdateRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41666 { (char *)"Window_GetUpdateClientRect", (PyCFunction
) _wrap_Window_GetUpdateClientRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41667 { (char *)"Window_IsExposed", (PyCFunction
) _wrap_Window_IsExposed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41668 { (char *)"Window_IsExposedPoint", (PyCFunction
) _wrap_Window_IsExposedPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41669 { (char *)"Window_IsExposedRect", (PyCFunction
) _wrap_Window_IsExposedRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41670 { (char *)"Window_GetDefaultAttributes", (PyCFunction
) _wrap_Window_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41671 { (char *)"Window_GetClassDefaultAttributes", (PyCFunction
) _wrap_Window_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41672 { (char *)"Window_SetBackgroundColour", (PyCFunction
) _wrap_Window_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41673 { (char *)"Window_SetOwnBackgroundColour", (PyCFunction
) _wrap_Window_SetOwnBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41674 { (char *)"Window_SetForegroundColour", (PyCFunction
) _wrap_Window_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41675 { (char *)"Window_SetOwnForegroundColour", (PyCFunction
) _wrap_Window_SetOwnForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41676 { (char *)"Window_GetBackgroundColour", (PyCFunction
) _wrap_Window_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41677 { (char *)"Window_GetForegroundColour", (PyCFunction
) _wrap_Window_GetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41678 { (char *)"Window_SetBackgroundStyle", (PyCFunction
) _wrap_Window_SetBackgroundStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41679 { (char *)"Window_GetBackgroundStyle", (PyCFunction
) _wrap_Window_GetBackgroundStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41680 { (char *)"Window_SetCursor", (PyCFunction
) _wrap_Window_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41681 { (char *)"Window_GetCursor", (PyCFunction
) _wrap_Window_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41682 { (char *)"Window_SetFont", (PyCFunction
) _wrap_Window_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41683 { (char *)"Window_SetOwnFont", (PyCFunction
) _wrap_Window_SetOwnFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41684 { (char *)"Window_GetFont", (PyCFunction
) _wrap_Window_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41685 { (char *)"Window_SetCaret", (PyCFunction
) _wrap_Window_SetCaret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41686 { (char *)"Window_GetCaret", (PyCFunction
) _wrap_Window_GetCaret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41687 { (char *)"Window_GetCharHeight", (PyCFunction
) _wrap_Window_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41688 { (char *)"Window_GetCharWidth", (PyCFunction
) _wrap_Window_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41689 { (char *)"Window_GetTextExtent", (PyCFunction
) _wrap_Window_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41690 { (char *)"Window_GetFullTextExtent", (PyCFunction
) _wrap_Window_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41691 { (char *)"Window_ClientToScreenXY", (PyCFunction
) _wrap_Window_ClientToScreenXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41692 { (char *)"Window_ScreenToClientXY", (PyCFunction
) _wrap_Window_ScreenToClientXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41693 { (char *)"Window_ClientToScreen", (PyCFunction
) _wrap_Window_ClientToScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41694 { (char *)"Window_ScreenToClient", (PyCFunction
) _wrap_Window_ScreenToClient
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41695 { (char *)"Window_HitTestXY", (PyCFunction
) _wrap_Window_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41696 { (char *)"Window_HitTest", (PyCFunction
) _wrap_Window_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41697 { (char *)"Window_GetBorder", _wrap_Window_GetBorder
, METH_VARARGS
, NULL
},
41698 { (char *)"Window_UpdateWindowUI", (PyCFunction
) _wrap_Window_UpdateWindowUI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41699 { (char *)"Window_PopupMenuXY", (PyCFunction
) _wrap_Window_PopupMenuXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41700 { (char *)"Window_PopupMenu", (PyCFunction
) _wrap_Window_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41701 { (char *)"Window_GetHandle", (PyCFunction
) _wrap_Window_GetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41702 { (char *)"Window_AssociateHandle", (PyCFunction
) _wrap_Window_AssociateHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41703 { (char *)"Window_DissociateHandle", (PyCFunction
) _wrap_Window_DissociateHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41704 { (char *)"Window_OnPaint", (PyCFunction
) _wrap_Window_OnPaint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41705 { (char *)"Window_HasScrollbar", (PyCFunction
) _wrap_Window_HasScrollbar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41706 { (char *)"Window_SetScrollbar", (PyCFunction
) _wrap_Window_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41707 { (char *)"Window_SetScrollPos", (PyCFunction
) _wrap_Window_SetScrollPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41708 { (char *)"Window_GetScrollPos", (PyCFunction
) _wrap_Window_GetScrollPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41709 { (char *)"Window_GetScrollThumb", (PyCFunction
) _wrap_Window_GetScrollThumb
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41710 { (char *)"Window_GetScrollRange", (PyCFunction
) _wrap_Window_GetScrollRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41711 { (char *)"Window_ScrollWindow", (PyCFunction
) _wrap_Window_ScrollWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41712 { (char *)"Window_ScrollLines", (PyCFunction
) _wrap_Window_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41713 { (char *)"Window_ScrollPages", (PyCFunction
) _wrap_Window_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41714 { (char *)"Window_LineUp", (PyCFunction
) _wrap_Window_LineUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41715 { (char *)"Window_LineDown", (PyCFunction
) _wrap_Window_LineDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41716 { (char *)"Window_PageUp", (PyCFunction
) _wrap_Window_PageUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41717 { (char *)"Window_PageDown", (PyCFunction
) _wrap_Window_PageDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41718 { (char *)"Window_SetHelpText", (PyCFunction
) _wrap_Window_SetHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41719 { (char *)"Window_SetHelpTextForId", (PyCFunction
) _wrap_Window_SetHelpTextForId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41720 { (char *)"Window_GetHelpText", (PyCFunction
) _wrap_Window_GetHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41721 { (char *)"Window_SetToolTipString", (PyCFunction
) _wrap_Window_SetToolTipString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41722 { (char *)"Window_SetToolTip", (PyCFunction
) _wrap_Window_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41723 { (char *)"Window_GetToolTip", (PyCFunction
) _wrap_Window_GetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41724 { (char *)"Window_SetDropTarget", (PyCFunction
) _wrap_Window_SetDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41725 { (char *)"Window_GetDropTarget", (PyCFunction
) _wrap_Window_GetDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41726 { (char *)"Window_DragAcceptFiles", (PyCFunction
) _wrap_Window_DragAcceptFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41727 { (char *)"Window_SetConstraints", (PyCFunction
) _wrap_Window_SetConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41728 { (char *)"Window_GetConstraints", (PyCFunction
) _wrap_Window_GetConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41729 { (char *)"Window_SetAutoLayout", (PyCFunction
) _wrap_Window_SetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41730 { (char *)"Window_GetAutoLayout", (PyCFunction
) _wrap_Window_GetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41731 { (char *)"Window_Layout", (PyCFunction
) _wrap_Window_Layout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41732 { (char *)"Window_SetSizer", (PyCFunction
) _wrap_Window_SetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41733 { (char *)"Window_SetSizerAndFit", (PyCFunction
) _wrap_Window_SetSizerAndFit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41734 { (char *)"Window_GetSizer", (PyCFunction
) _wrap_Window_GetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41735 { (char *)"Window_SetContainingSizer", (PyCFunction
) _wrap_Window_SetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41736 { (char *)"Window_GetContainingSizer", (PyCFunction
) _wrap_Window_GetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41737 { (char *)"Window_InheritAttributes", (PyCFunction
) _wrap_Window_InheritAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41738 { (char *)"Window_ShouldInheritColours", (PyCFunction
) _wrap_Window_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41739 { (char *)"Window_swigregister", Window_swigregister
, METH_VARARGS
, NULL
},
41740 { (char *)"FindWindowById", (PyCFunction
) _wrap_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41741 { (char *)"FindWindowByName", (PyCFunction
) _wrap_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41742 { (char *)"FindWindowByLabel", (PyCFunction
) _wrap_FindWindowByLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41743 { (char *)"Window_FromHWND", (PyCFunction
) _wrap_Window_FromHWND
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41744 { (char *)"new_Validator", (PyCFunction
) _wrap_new_Validator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41745 { (char *)"Validator_Clone", (PyCFunction
) _wrap_Validator_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41746 { (char *)"Validator_Validate", (PyCFunction
) _wrap_Validator_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41747 { (char *)"Validator_TransferToWindow", (PyCFunction
) _wrap_Validator_TransferToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41748 { (char *)"Validator_TransferFromWindow", (PyCFunction
) _wrap_Validator_TransferFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41749 { (char *)"Validator_GetWindow", (PyCFunction
) _wrap_Validator_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41750 { (char *)"Validator_SetWindow", (PyCFunction
) _wrap_Validator_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41751 { (char *)"Validator_IsSilent", (PyCFunction
) _wrap_Validator_IsSilent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41752 { (char *)"Validator_SetBellOnError", (PyCFunction
) _wrap_Validator_SetBellOnError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41753 { (char *)"Validator_swigregister", Validator_swigregister
, METH_VARARGS
, NULL
},
41754 { (char *)"new_PyValidator", (PyCFunction
) _wrap_new_PyValidator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41755 { (char *)"PyValidator__setCallbackInfo", (PyCFunction
) _wrap_PyValidator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41756 { (char *)"PyValidator_swigregister", PyValidator_swigregister
, METH_VARARGS
, NULL
},
41757 { (char *)"new_Menu", (PyCFunction
) _wrap_new_Menu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41758 { (char *)"Menu_Append", (PyCFunction
) _wrap_Menu_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41759 { (char *)"Menu_AppendSeparator", (PyCFunction
) _wrap_Menu_AppendSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41760 { (char *)"Menu_AppendCheckItem", (PyCFunction
) _wrap_Menu_AppendCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41761 { (char *)"Menu_AppendRadioItem", (PyCFunction
) _wrap_Menu_AppendRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41762 { (char *)"Menu_AppendMenu", (PyCFunction
) _wrap_Menu_AppendMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41763 { (char *)"Menu_AppendItem", (PyCFunction
) _wrap_Menu_AppendItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41764 { (char *)"Menu_Break", (PyCFunction
) _wrap_Menu_Break
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41765 { (char *)"Menu_InsertItem", (PyCFunction
) _wrap_Menu_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41766 { (char *)"Menu_Insert", (PyCFunction
) _wrap_Menu_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41767 { (char *)"Menu_InsertSeparator", (PyCFunction
) _wrap_Menu_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41768 { (char *)"Menu_InsertCheckItem", (PyCFunction
) _wrap_Menu_InsertCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41769 { (char *)"Menu_InsertRadioItem", (PyCFunction
) _wrap_Menu_InsertRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41770 { (char *)"Menu_InsertMenu", (PyCFunction
) _wrap_Menu_InsertMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41771 { (char *)"Menu_PrependItem", (PyCFunction
) _wrap_Menu_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41772 { (char *)"Menu_Prepend", (PyCFunction
) _wrap_Menu_Prepend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41773 { (char *)"Menu_PrependSeparator", (PyCFunction
) _wrap_Menu_PrependSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41774 { (char *)"Menu_PrependCheckItem", (PyCFunction
) _wrap_Menu_PrependCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41775 { (char *)"Menu_PrependRadioItem", (PyCFunction
) _wrap_Menu_PrependRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41776 { (char *)"Menu_PrependMenu", (PyCFunction
) _wrap_Menu_PrependMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41777 { (char *)"Menu_Remove", (PyCFunction
) _wrap_Menu_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41778 { (char *)"Menu_RemoveItem", (PyCFunction
) _wrap_Menu_RemoveItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41779 { (char *)"Menu_Delete", (PyCFunction
) _wrap_Menu_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41780 { (char *)"Menu_DeleteItem", (PyCFunction
) _wrap_Menu_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41781 { (char *)"Menu_Destroy", (PyCFunction
) _wrap_Menu_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41782 { (char *)"Menu_DestroyId", (PyCFunction
) _wrap_Menu_DestroyId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41783 { (char *)"Menu_DestroyItem", (PyCFunction
) _wrap_Menu_DestroyItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41784 { (char *)"Menu_GetMenuItemCount", (PyCFunction
) _wrap_Menu_GetMenuItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41785 { (char *)"Menu_GetMenuItems", (PyCFunction
) _wrap_Menu_GetMenuItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41786 { (char *)"Menu_FindItem", (PyCFunction
) _wrap_Menu_FindItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41787 { (char *)"Menu_FindItemById", (PyCFunction
) _wrap_Menu_FindItemById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41788 { (char *)"Menu_FindItemByPosition", (PyCFunction
) _wrap_Menu_FindItemByPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41789 { (char *)"Menu_Enable", (PyCFunction
) _wrap_Menu_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41790 { (char *)"Menu_IsEnabled", (PyCFunction
) _wrap_Menu_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41791 { (char *)"Menu_Check", (PyCFunction
) _wrap_Menu_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41792 { (char *)"Menu_IsChecked", (PyCFunction
) _wrap_Menu_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41793 { (char *)"Menu_SetLabel", (PyCFunction
) _wrap_Menu_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41794 { (char *)"Menu_GetLabel", (PyCFunction
) _wrap_Menu_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41795 { (char *)"Menu_SetHelpString", (PyCFunction
) _wrap_Menu_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41796 { (char *)"Menu_GetHelpString", (PyCFunction
) _wrap_Menu_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41797 { (char *)"Menu_SetTitle", (PyCFunction
) _wrap_Menu_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41798 { (char *)"Menu_GetTitle", (PyCFunction
) _wrap_Menu_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41799 { (char *)"Menu_SetEventHandler", (PyCFunction
) _wrap_Menu_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41800 { (char *)"Menu_GetEventHandler", (PyCFunction
) _wrap_Menu_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41801 { (char *)"Menu_SetInvokingWindow", (PyCFunction
) _wrap_Menu_SetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41802 { (char *)"Menu_GetInvokingWindow", (PyCFunction
) _wrap_Menu_GetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41803 { (char *)"Menu_GetStyle", (PyCFunction
) _wrap_Menu_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41804 { (char *)"Menu_UpdateUI", (PyCFunction
) _wrap_Menu_UpdateUI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41805 { (char *)"Menu_GetMenuBar", (PyCFunction
) _wrap_Menu_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41806 { (char *)"Menu_Attach", (PyCFunction
) _wrap_Menu_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41807 { (char *)"Menu_Detach", (PyCFunction
) _wrap_Menu_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41808 { (char *)"Menu_IsAttached", (PyCFunction
) _wrap_Menu_IsAttached
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41809 { (char *)"Menu_SetParent", (PyCFunction
) _wrap_Menu_SetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41810 { (char *)"Menu_GetParent", (PyCFunction
) _wrap_Menu_GetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41811 { (char *)"Menu_swigregister", Menu_swigregister
, METH_VARARGS
, NULL
},
41812 { (char *)"new_MenuBar", (PyCFunction
) _wrap_new_MenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41813 { (char *)"MenuBar_Append", (PyCFunction
) _wrap_MenuBar_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41814 { (char *)"MenuBar_Insert", (PyCFunction
) _wrap_MenuBar_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41815 { (char *)"MenuBar_GetMenuCount", (PyCFunction
) _wrap_MenuBar_GetMenuCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41816 { (char *)"MenuBar_GetMenu", (PyCFunction
) _wrap_MenuBar_GetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41817 { (char *)"MenuBar_Replace", (PyCFunction
) _wrap_MenuBar_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41818 { (char *)"MenuBar_Remove", (PyCFunction
) _wrap_MenuBar_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41819 { (char *)"MenuBar_EnableTop", (PyCFunction
) _wrap_MenuBar_EnableTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41820 { (char *)"MenuBar_IsEnabledTop", (PyCFunction
) _wrap_MenuBar_IsEnabledTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41821 { (char *)"MenuBar_SetLabelTop", (PyCFunction
) _wrap_MenuBar_SetLabelTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41822 { (char *)"MenuBar_GetLabelTop", (PyCFunction
) _wrap_MenuBar_GetLabelTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41823 { (char *)"MenuBar_FindMenuItem", (PyCFunction
) _wrap_MenuBar_FindMenuItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41824 { (char *)"MenuBar_FindItemById", (PyCFunction
) _wrap_MenuBar_FindItemById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41825 { (char *)"MenuBar_FindMenu", (PyCFunction
) _wrap_MenuBar_FindMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41826 { (char *)"MenuBar_Enable", (PyCFunction
) _wrap_MenuBar_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41827 { (char *)"MenuBar_Check", (PyCFunction
) _wrap_MenuBar_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41828 { (char *)"MenuBar_IsChecked", (PyCFunction
) _wrap_MenuBar_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41829 { (char *)"MenuBar_IsEnabled", (PyCFunction
) _wrap_MenuBar_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41830 { (char *)"MenuBar_SetLabel", (PyCFunction
) _wrap_MenuBar_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41831 { (char *)"MenuBar_GetLabel", (PyCFunction
) _wrap_MenuBar_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41832 { (char *)"MenuBar_SetHelpString", (PyCFunction
) _wrap_MenuBar_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41833 { (char *)"MenuBar_GetHelpString", (PyCFunction
) _wrap_MenuBar_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41834 { (char *)"MenuBar_GetFrame", (PyCFunction
) _wrap_MenuBar_GetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41835 { (char *)"MenuBar_IsAttached", (PyCFunction
) _wrap_MenuBar_IsAttached
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41836 { (char *)"MenuBar_Attach", (PyCFunction
) _wrap_MenuBar_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41837 { (char *)"MenuBar_Detach", (PyCFunction
) _wrap_MenuBar_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41838 { (char *)"MenuBar_swigregister", MenuBar_swigregister
, METH_VARARGS
, NULL
},
41839 { (char *)"new_MenuItem", (PyCFunction
) _wrap_new_MenuItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41840 { (char *)"MenuItem_GetMenu", (PyCFunction
) _wrap_MenuItem_GetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41841 { (char *)"MenuItem_SetMenu", (PyCFunction
) _wrap_MenuItem_SetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41842 { (char *)"MenuItem_SetId", (PyCFunction
) _wrap_MenuItem_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41843 { (char *)"MenuItem_GetId", (PyCFunction
) _wrap_MenuItem_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41844 { (char *)"MenuItem_IsSeparator", (PyCFunction
) _wrap_MenuItem_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41845 { (char *)"MenuItem_SetText", (PyCFunction
) _wrap_MenuItem_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41846 { (char *)"MenuItem_GetLabel", (PyCFunction
) _wrap_MenuItem_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41847 { (char *)"MenuItem_GetText", (PyCFunction
) _wrap_MenuItem_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41848 { (char *)"MenuItem_GetLabelFromText", (PyCFunction
) _wrap_MenuItem_GetLabelFromText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41849 { (char *)"MenuItem_GetKind", (PyCFunction
) _wrap_MenuItem_GetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41850 { (char *)"MenuItem_SetKind", (PyCFunction
) _wrap_MenuItem_SetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41851 { (char *)"MenuItem_SetCheckable", (PyCFunction
) _wrap_MenuItem_SetCheckable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41852 { (char *)"MenuItem_IsCheckable", (PyCFunction
) _wrap_MenuItem_IsCheckable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41853 { (char *)"MenuItem_IsSubMenu", (PyCFunction
) _wrap_MenuItem_IsSubMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41854 { (char *)"MenuItem_SetSubMenu", (PyCFunction
) _wrap_MenuItem_SetSubMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41855 { (char *)"MenuItem_GetSubMenu", (PyCFunction
) _wrap_MenuItem_GetSubMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41856 { (char *)"MenuItem_Enable", (PyCFunction
) _wrap_MenuItem_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41857 { (char *)"MenuItem_IsEnabled", (PyCFunction
) _wrap_MenuItem_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41858 { (char *)"MenuItem_Check", (PyCFunction
) _wrap_MenuItem_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41859 { (char *)"MenuItem_IsChecked", (PyCFunction
) _wrap_MenuItem_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41860 { (char *)"MenuItem_Toggle", (PyCFunction
) _wrap_MenuItem_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41861 { (char *)"MenuItem_SetHelp", (PyCFunction
) _wrap_MenuItem_SetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41862 { (char *)"MenuItem_GetHelp", (PyCFunction
) _wrap_MenuItem_GetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41863 { (char *)"MenuItem_GetAccel", (PyCFunction
) _wrap_MenuItem_GetAccel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41864 { (char *)"MenuItem_SetAccel", (PyCFunction
) _wrap_MenuItem_SetAccel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41865 { (char *)"MenuItem_SetFont", (PyCFunction
) _wrap_MenuItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41866 { (char *)"MenuItem_GetFont", (PyCFunction
) _wrap_MenuItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41867 { (char *)"MenuItem_SetTextColour", (PyCFunction
) _wrap_MenuItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41868 { (char *)"MenuItem_GetTextColour", (PyCFunction
) _wrap_MenuItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41869 { (char *)"MenuItem_SetBackgroundColour", (PyCFunction
) _wrap_MenuItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41870 { (char *)"MenuItem_GetBackgroundColour", (PyCFunction
) _wrap_MenuItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41871 { (char *)"MenuItem_SetBitmaps", (PyCFunction
) _wrap_MenuItem_SetBitmaps
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41872 { (char *)"MenuItem_SetDisabledBitmap", (PyCFunction
) _wrap_MenuItem_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41873 { (char *)"MenuItem_GetDisabledBitmap", (PyCFunction
) _wrap_MenuItem_GetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41874 { (char *)"MenuItem_SetMarginWidth", (PyCFunction
) _wrap_MenuItem_SetMarginWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41875 { (char *)"MenuItem_GetMarginWidth", (PyCFunction
) _wrap_MenuItem_GetMarginWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41876 { (char *)"MenuItem_GetDefaultMarginWidth", (PyCFunction
) _wrap_MenuItem_GetDefaultMarginWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41877 { (char *)"MenuItem_IsOwnerDrawn", (PyCFunction
) _wrap_MenuItem_IsOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41878 { (char *)"MenuItem_SetOwnerDrawn", (PyCFunction
) _wrap_MenuItem_SetOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41879 { (char *)"MenuItem_ResetOwnerDrawn", (PyCFunction
) _wrap_MenuItem_ResetOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41880 { (char *)"MenuItem_SetBitmap", (PyCFunction
) _wrap_MenuItem_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41881 { (char *)"MenuItem_GetBitmap", (PyCFunction
) _wrap_MenuItem_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41882 { (char *)"MenuItem_swigregister", MenuItem_swigregister
, METH_VARARGS
, NULL
},
41883 { (char *)"new_Control", (PyCFunction
) _wrap_new_Control
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41884 { (char *)"new_PreControl", (PyCFunction
) _wrap_new_PreControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41885 { (char *)"Control_Create", (PyCFunction
) _wrap_Control_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41886 { (char *)"Control_Command", (PyCFunction
) _wrap_Control_Command
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41887 { (char *)"Control_GetLabel", (PyCFunction
) _wrap_Control_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41888 { (char *)"Control_SetLabel", (PyCFunction
) _wrap_Control_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41889 { (char *)"Control_GetClassDefaultAttributes", (PyCFunction
) _wrap_Control_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41890 { (char *)"Control_swigregister", Control_swigregister
, METH_VARARGS
, NULL
},
41891 { (char *)"ItemContainer_Append", (PyCFunction
) _wrap_ItemContainer_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41892 { (char *)"ItemContainer_AppendItems", (PyCFunction
) _wrap_ItemContainer_AppendItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41893 { (char *)"ItemContainer_Insert", (PyCFunction
) _wrap_ItemContainer_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41894 { (char *)"ItemContainer_Clear", (PyCFunction
) _wrap_ItemContainer_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41895 { (char *)"ItemContainer_Delete", (PyCFunction
) _wrap_ItemContainer_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41896 { (char *)"ItemContainer_GetCount", (PyCFunction
) _wrap_ItemContainer_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41897 { (char *)"ItemContainer_IsEmpty", (PyCFunction
) _wrap_ItemContainer_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41898 { (char *)"ItemContainer_GetString", (PyCFunction
) _wrap_ItemContainer_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41899 { (char *)"ItemContainer_GetStrings", (PyCFunction
) _wrap_ItemContainer_GetStrings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41900 { (char *)"ItemContainer_SetString", (PyCFunction
) _wrap_ItemContainer_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41901 { (char *)"ItemContainer_FindString", (PyCFunction
) _wrap_ItemContainer_FindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41902 { (char *)"ItemContainer_Select", (PyCFunction
) _wrap_ItemContainer_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41903 { (char *)"ItemContainer_GetSelection", (PyCFunction
) _wrap_ItemContainer_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41904 { (char *)"ItemContainer_GetStringSelection", (PyCFunction
) _wrap_ItemContainer_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41905 { (char *)"ItemContainer_GetClientData", (PyCFunction
) _wrap_ItemContainer_GetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41906 { (char *)"ItemContainer_SetClientData", (PyCFunction
) _wrap_ItemContainer_SetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41907 { (char *)"ItemContainer_swigregister", ItemContainer_swigregister
, METH_VARARGS
, NULL
},
41908 { (char *)"ControlWithItems_swigregister", ControlWithItems_swigregister
, METH_VARARGS
, NULL
},
41909 { (char *)"new_SizerItem", (PyCFunction
) _wrap_new_SizerItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41910 { (char *)"new_SizerItemWindow", (PyCFunction
) _wrap_new_SizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41911 { (char *)"new_SizerItemSpacer", (PyCFunction
) _wrap_new_SizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41912 { (char *)"new_SizerItemSizer", (PyCFunction
) _wrap_new_SizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41913 { (char *)"SizerItem_DeleteWindows", (PyCFunction
) _wrap_SizerItem_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41914 { (char *)"SizerItem_DetachSizer", (PyCFunction
) _wrap_SizerItem_DetachSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41915 { (char *)"SizerItem_GetSize", (PyCFunction
) _wrap_SizerItem_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41916 { (char *)"SizerItem_CalcMin", (PyCFunction
) _wrap_SizerItem_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41917 { (char *)"SizerItem_SetDimension", (PyCFunction
) _wrap_SizerItem_SetDimension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41918 { (char *)"SizerItem_GetMinSize", (PyCFunction
) _wrap_SizerItem_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41919 { (char *)"SizerItem_GetMinSizeWithBorder", (PyCFunction
) _wrap_SizerItem_GetMinSizeWithBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41920 { (char *)"SizerItem_SetInitSize", (PyCFunction
) _wrap_SizerItem_SetInitSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41921 { (char *)"SizerItem_SetRatioWH", (PyCFunction
) _wrap_SizerItem_SetRatioWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41922 { (char *)"SizerItem_SetRatioSize", (PyCFunction
) _wrap_SizerItem_SetRatioSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41923 { (char *)"SizerItem_SetRatio", (PyCFunction
) _wrap_SizerItem_SetRatio
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41924 { (char *)"SizerItem_GetRatio", (PyCFunction
) _wrap_SizerItem_GetRatio
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41925 { (char *)"SizerItem_IsWindow", (PyCFunction
) _wrap_SizerItem_IsWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41926 { (char *)"SizerItem_IsSizer", (PyCFunction
) _wrap_SizerItem_IsSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41927 { (char *)"SizerItem_IsSpacer", (PyCFunction
) _wrap_SizerItem_IsSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41928 { (char *)"SizerItem_SetProportion", (PyCFunction
) _wrap_SizerItem_SetProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41929 { (char *)"SizerItem_GetProportion", (PyCFunction
) _wrap_SizerItem_GetProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41930 { (char *)"SizerItem_SetFlag", (PyCFunction
) _wrap_SizerItem_SetFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41931 { (char *)"SizerItem_GetFlag", (PyCFunction
) _wrap_SizerItem_GetFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41932 { (char *)"SizerItem_SetBorder", (PyCFunction
) _wrap_SizerItem_SetBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41933 { (char *)"SizerItem_GetBorder", (PyCFunction
) _wrap_SizerItem_GetBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41934 { (char *)"SizerItem_GetWindow", (PyCFunction
) _wrap_SizerItem_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41935 { (char *)"SizerItem_SetWindow", (PyCFunction
) _wrap_SizerItem_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41936 { (char *)"SizerItem_GetSizer", (PyCFunction
) _wrap_SizerItem_GetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41937 { (char *)"SizerItem_SetSizer", (PyCFunction
) _wrap_SizerItem_SetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41938 { (char *)"SizerItem_GetSpacer", (PyCFunction
) _wrap_SizerItem_GetSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41939 { (char *)"SizerItem_SetSpacer", (PyCFunction
) _wrap_SizerItem_SetSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41940 { (char *)"SizerItem_Show", (PyCFunction
) _wrap_SizerItem_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41941 { (char *)"SizerItem_IsShown", (PyCFunction
) _wrap_SizerItem_IsShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41942 { (char *)"SizerItem_GetPosition", (PyCFunction
) _wrap_SizerItem_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41943 { (char *)"SizerItem_GetUserData", (PyCFunction
) _wrap_SizerItem_GetUserData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41944 { (char *)"SizerItem_swigregister", SizerItem_swigregister
, METH_VARARGS
, NULL
},
41945 { (char *)"Sizer__setOORInfo", (PyCFunction
) _wrap_Sizer__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41946 { (char *)"Sizer_Add", (PyCFunction
) _wrap_Sizer_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41947 { (char *)"Sizer_Insert", (PyCFunction
) _wrap_Sizer_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41948 { (char *)"Sizer_Prepend", (PyCFunction
) _wrap_Sizer_Prepend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41949 { (char *)"Sizer_Remove", (PyCFunction
) _wrap_Sizer_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41950 { (char *)"Sizer_Detach", (PyCFunction
) _wrap_Sizer_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41951 { (char *)"Sizer__SetItemMinSize", (PyCFunction
) _wrap_Sizer__SetItemMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41952 { (char *)"Sizer_AddItem", (PyCFunction
) _wrap_Sizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41953 { (char *)"Sizer_InsertItem", (PyCFunction
) _wrap_Sizer_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41954 { (char *)"Sizer_PrependItem", (PyCFunction
) _wrap_Sizer_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41955 { (char *)"Sizer_SetDimension", (PyCFunction
) _wrap_Sizer_SetDimension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41956 { (char *)"Sizer_SetMinSize", (PyCFunction
) _wrap_Sizer_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41957 { (char *)"Sizer_GetSize", (PyCFunction
) _wrap_Sizer_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41958 { (char *)"Sizer_GetPosition", (PyCFunction
) _wrap_Sizer_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41959 { (char *)"Sizer_GetMinSize", (PyCFunction
) _wrap_Sizer_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41960 { (char *)"Sizer_RecalcSizes", (PyCFunction
) _wrap_Sizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41961 { (char *)"Sizer_CalcMin", (PyCFunction
) _wrap_Sizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41962 { (char *)"Sizer_Layout", (PyCFunction
) _wrap_Sizer_Layout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41963 { (char *)"Sizer_Fit", (PyCFunction
) _wrap_Sizer_Fit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41964 { (char *)"Sizer_FitInside", (PyCFunction
) _wrap_Sizer_FitInside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41965 { (char *)"Sizer_SetSizeHints", (PyCFunction
) _wrap_Sizer_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41966 { (char *)"Sizer_SetVirtualSizeHints", (PyCFunction
) _wrap_Sizer_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41967 { (char *)"Sizer_Clear", (PyCFunction
) _wrap_Sizer_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41968 { (char *)"Sizer_DeleteWindows", (PyCFunction
) _wrap_Sizer_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41969 { (char *)"Sizer_GetChildren", (PyCFunction
) _wrap_Sizer_GetChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41970 { (char *)"Sizer_Show", (PyCFunction
) _wrap_Sizer_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41971 { (char *)"Sizer_IsShown", (PyCFunction
) _wrap_Sizer_IsShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41972 { (char *)"Sizer_ShowItems", (PyCFunction
) _wrap_Sizer_ShowItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41973 { (char *)"Sizer_swigregister", Sizer_swigregister
, METH_VARARGS
, NULL
},
41974 { (char *)"new_PySizer", (PyCFunction
) _wrap_new_PySizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41975 { (char *)"PySizer__setCallbackInfo", (PyCFunction
) _wrap_PySizer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41976 { (char *)"PySizer_swigregister", PySizer_swigregister
, METH_VARARGS
, NULL
},
41977 { (char *)"new_BoxSizer", (PyCFunction
) _wrap_new_BoxSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41978 { (char *)"BoxSizer_GetOrientation", (PyCFunction
) _wrap_BoxSizer_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41979 { (char *)"BoxSizer_SetOrientation", (PyCFunction
) _wrap_BoxSizer_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41980 { (char *)"BoxSizer_swigregister", BoxSizer_swigregister
, METH_VARARGS
, NULL
},
41981 { (char *)"new_StaticBoxSizer", (PyCFunction
) _wrap_new_StaticBoxSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41982 { (char *)"StaticBoxSizer_GetStaticBox", (PyCFunction
) _wrap_StaticBoxSizer_GetStaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41983 { (char *)"StaticBoxSizer_swigregister", StaticBoxSizer_swigregister
, METH_VARARGS
, NULL
},
41984 { (char *)"new_GridSizer", (PyCFunction
) _wrap_new_GridSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41985 { (char *)"GridSizer_SetCols", (PyCFunction
) _wrap_GridSizer_SetCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41986 { (char *)"GridSizer_SetRows", (PyCFunction
) _wrap_GridSizer_SetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41987 { (char *)"GridSizer_SetVGap", (PyCFunction
) _wrap_GridSizer_SetVGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41988 { (char *)"GridSizer_SetHGap", (PyCFunction
) _wrap_GridSizer_SetHGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41989 { (char *)"GridSizer_GetCols", (PyCFunction
) _wrap_GridSizer_GetCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41990 { (char *)"GridSizer_GetRows", (PyCFunction
) _wrap_GridSizer_GetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41991 { (char *)"GridSizer_GetVGap", (PyCFunction
) _wrap_GridSizer_GetVGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41992 { (char *)"GridSizer_GetHGap", (PyCFunction
) _wrap_GridSizer_GetHGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41993 { (char *)"GridSizer_swigregister", GridSizer_swigregister
, METH_VARARGS
, NULL
},
41994 { (char *)"new_FlexGridSizer", (PyCFunction
) _wrap_new_FlexGridSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41995 { (char *)"FlexGridSizer_AddGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41996 { (char *)"FlexGridSizer_RemoveGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41997 { (char *)"FlexGridSizer_AddGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41998 { (char *)"FlexGridSizer_RemoveGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41999 { (char *)"FlexGridSizer_SetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_SetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42000 { (char *)"FlexGridSizer_GetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_GetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42001 { (char *)"FlexGridSizer_SetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_SetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42002 { (char *)"FlexGridSizer_GetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_GetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42003 { (char *)"FlexGridSizer_GetRowHeights", (PyCFunction
) _wrap_FlexGridSizer_GetRowHeights
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42004 { (char *)"FlexGridSizer_GetColWidths", (PyCFunction
) _wrap_FlexGridSizer_GetColWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42005 { (char *)"FlexGridSizer_swigregister", FlexGridSizer_swigregister
, METH_VARARGS
, NULL
},
42006 { (char *)"new_GBPosition", (PyCFunction
) _wrap_new_GBPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42007 { (char *)"GBPosition_GetRow", (PyCFunction
) _wrap_GBPosition_GetRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42008 { (char *)"GBPosition_GetCol", (PyCFunction
) _wrap_GBPosition_GetCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42009 { (char *)"GBPosition_SetRow", (PyCFunction
) _wrap_GBPosition_SetRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42010 { (char *)"GBPosition_SetCol", (PyCFunction
) _wrap_GBPosition_SetCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42011 { (char *)"GBPosition___eq__", (PyCFunction
) _wrap_GBPosition___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42012 { (char *)"GBPosition___ne__", (PyCFunction
) _wrap_GBPosition___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42013 { (char *)"GBPosition_Set", (PyCFunction
) _wrap_GBPosition_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42014 { (char *)"GBPosition_Get", (PyCFunction
) _wrap_GBPosition_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42015 { (char *)"GBPosition_swigregister", GBPosition_swigregister
, METH_VARARGS
, NULL
},
42016 { (char *)"new_GBSpan", (PyCFunction
) _wrap_new_GBSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42017 { (char *)"GBSpan_GetRowspan", (PyCFunction
) _wrap_GBSpan_GetRowspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42018 { (char *)"GBSpan_GetColspan", (PyCFunction
) _wrap_GBSpan_GetColspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42019 { (char *)"GBSpan_SetRowspan", (PyCFunction
) _wrap_GBSpan_SetRowspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42020 { (char *)"GBSpan_SetColspan", (PyCFunction
) _wrap_GBSpan_SetColspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42021 { (char *)"GBSpan___eq__", (PyCFunction
) _wrap_GBSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42022 { (char *)"GBSpan___ne__", (PyCFunction
) _wrap_GBSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42023 { (char *)"GBSpan_Set", (PyCFunction
) _wrap_GBSpan_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42024 { (char *)"GBSpan_Get", (PyCFunction
) _wrap_GBSpan_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42025 { (char *)"GBSpan_swigregister", GBSpan_swigregister
, METH_VARARGS
, NULL
},
42026 { (char *)"new_GBSizerItem", (PyCFunction
) _wrap_new_GBSizerItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42027 { (char *)"new_GBSizerItemWindow", (PyCFunction
) _wrap_new_GBSizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42028 { (char *)"new_GBSizerItemSizer", (PyCFunction
) _wrap_new_GBSizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42029 { (char *)"new_GBSizerItemSpacer", (PyCFunction
) _wrap_new_GBSizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42030 { (char *)"GBSizerItem_GetPos", (PyCFunction
) _wrap_GBSizerItem_GetPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42031 { (char *)"GBSizerItem_GetSpan", (PyCFunction
) _wrap_GBSizerItem_GetSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42032 { (char *)"GBSizerItem_SetPos", (PyCFunction
) _wrap_GBSizerItem_SetPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42033 { (char *)"GBSizerItem_SetSpan", (PyCFunction
) _wrap_GBSizerItem_SetSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42034 { (char *)"GBSizerItem_Intersects", (PyCFunction
) _wrap_GBSizerItem_Intersects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42035 { (char *)"GBSizerItem_IntersectsPos", (PyCFunction
) _wrap_GBSizerItem_IntersectsPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42036 { (char *)"GBSizerItem_GetEndPos", (PyCFunction
) _wrap_GBSizerItem_GetEndPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42037 { (char *)"GBSizerItem_GetGBSizer", (PyCFunction
) _wrap_GBSizerItem_GetGBSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42038 { (char *)"GBSizerItem_SetGBSizer", (PyCFunction
) _wrap_GBSizerItem_SetGBSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42039 { (char *)"GBSizerItem_swigregister", GBSizerItem_swigregister
, METH_VARARGS
, NULL
},
42040 { (char *)"new_GridBagSizer", (PyCFunction
) _wrap_new_GridBagSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42041 { (char *)"GridBagSizer_Add", (PyCFunction
) _wrap_GridBagSizer_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42042 { (char *)"GridBagSizer_AddItem", (PyCFunction
) _wrap_GridBagSizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42043 { (char *)"GridBagSizer_GetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_GetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42044 { (char *)"GridBagSizer_SetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_SetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42045 { (char *)"GridBagSizer_GetItemPosition", _wrap_GridBagSizer_GetItemPosition
, METH_VARARGS
, NULL
},
42046 { (char *)"GridBagSizer_SetItemPosition", _wrap_GridBagSizer_SetItemPosition
, METH_VARARGS
, NULL
},
42047 { (char *)"GridBagSizer_GetItemSpan", _wrap_GridBagSizer_GetItemSpan
, METH_VARARGS
, NULL
},
42048 { (char *)"GridBagSizer_SetItemSpan", _wrap_GridBagSizer_SetItemSpan
, METH_VARARGS
, NULL
},
42049 { (char *)"GridBagSizer_FindItem", _wrap_GridBagSizer_FindItem
, METH_VARARGS
, NULL
},
42050 { (char *)"GridBagSizer_FindItemAtPosition", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42051 { (char *)"GridBagSizer_FindItemAtPoint", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42052 { (char *)"GridBagSizer_CheckForIntersection", (PyCFunction
) _wrap_GridBagSizer_CheckForIntersection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42053 { (char *)"GridBagSizer_CheckForIntersectionPos", (PyCFunction
) _wrap_GridBagSizer_CheckForIntersectionPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42054 { (char *)"GridBagSizer_swigregister", GridBagSizer_swigregister
, METH_VARARGS
, NULL
},
42055 { (char *)"IndividualLayoutConstraint_Set", (PyCFunction
) _wrap_IndividualLayoutConstraint_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42056 { (char *)"IndividualLayoutConstraint_LeftOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_LeftOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42057 { (char *)"IndividualLayoutConstraint_RightOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_RightOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42058 { (char *)"IndividualLayoutConstraint_Above", (PyCFunction
) _wrap_IndividualLayoutConstraint_Above
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42059 { (char *)"IndividualLayoutConstraint_Below", (PyCFunction
) _wrap_IndividualLayoutConstraint_Below
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42060 { (char *)"IndividualLayoutConstraint_SameAs", (PyCFunction
) _wrap_IndividualLayoutConstraint_SameAs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42061 { (char *)"IndividualLayoutConstraint_PercentOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_PercentOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42062 { (char *)"IndividualLayoutConstraint_Absolute", (PyCFunction
) _wrap_IndividualLayoutConstraint_Absolute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42063 { (char *)"IndividualLayoutConstraint_Unconstrained", (PyCFunction
) _wrap_IndividualLayoutConstraint_Unconstrained
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42064 { (char *)"IndividualLayoutConstraint_AsIs", (PyCFunction
) _wrap_IndividualLayoutConstraint_AsIs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42065 { (char *)"IndividualLayoutConstraint_GetOtherWindow", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42066 { (char *)"IndividualLayoutConstraint_GetMyEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMyEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42067 { (char *)"IndividualLayoutConstraint_SetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42068 { (char *)"IndividualLayoutConstraint_SetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42069 { (char *)"IndividualLayoutConstraint_GetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42070 { (char *)"IndividualLayoutConstraint_SetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42071 { (char *)"IndividualLayoutConstraint_GetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42072 { (char *)"IndividualLayoutConstraint_GetPercent", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetPercent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42073 { (char *)"IndividualLayoutConstraint_GetOtherEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42074 { (char *)"IndividualLayoutConstraint_GetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetDone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42075 { (char *)"IndividualLayoutConstraint_SetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetDone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42076 { (char *)"IndividualLayoutConstraint_GetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetRelationship
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42077 { (char *)"IndividualLayoutConstraint_SetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetRelationship
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42078 { (char *)"IndividualLayoutConstraint_ResetIfWin", (PyCFunction
) _wrap_IndividualLayoutConstraint_ResetIfWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42079 { (char *)"IndividualLayoutConstraint_SatisfyConstraint", (PyCFunction
) _wrap_IndividualLayoutConstraint_SatisfyConstraint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42080 { (char *)"IndividualLayoutConstraint_GetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42081 { (char *)"IndividualLayoutConstraint_swigregister", IndividualLayoutConstraint_swigregister
, METH_VARARGS
, NULL
},
42082 { (char *)"LayoutConstraints_left_get", (PyCFunction
) _wrap_LayoutConstraints_left_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42083 { (char *)"LayoutConstraints_top_get", (PyCFunction
) _wrap_LayoutConstraints_top_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42084 { (char *)"LayoutConstraints_right_get", (PyCFunction
) _wrap_LayoutConstraints_right_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42085 { (char *)"LayoutConstraints_bottom_get", (PyCFunction
) _wrap_LayoutConstraints_bottom_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42086 { (char *)"LayoutConstraints_width_get", (PyCFunction
) _wrap_LayoutConstraints_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42087 { (char *)"LayoutConstraints_height_get", (PyCFunction
) _wrap_LayoutConstraints_height_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42088 { (char *)"LayoutConstraints_centreX_get", (PyCFunction
) _wrap_LayoutConstraints_centreX_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42089 { (char *)"LayoutConstraints_centreY_get", (PyCFunction
) _wrap_LayoutConstraints_centreY_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42090 { (char *)"new_LayoutConstraints", (PyCFunction
) _wrap_new_LayoutConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42091 { (char *)"LayoutConstraints_SatisfyConstraints", (PyCFunction
) _wrap_LayoutConstraints_SatisfyConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42092 { (char *)"LayoutConstraints_AreSatisfied", (PyCFunction
) _wrap_LayoutConstraints_AreSatisfied
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42093 { (char *)"LayoutConstraints_swigregister", LayoutConstraints_swigregister
, METH_VARARGS
, NULL
},
42094 { NULL
, NULL
, 0, NULL
}
42098 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
42100 static void *_p_wxGBSizerItemTo_p_wxSizerItem(void *x
) {
42101 return (void *)((wxSizerItem
*) ((wxGBSizerItem
*) x
));
42103 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
42104 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
42106 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
42107 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
42109 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
42110 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
42112 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
42113 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
42115 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
42116 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
42118 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
42119 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
42121 static void *_p_wxStaticBoxSizerTo_p_wxBoxSizer(void *x
) {
42122 return (void *)((wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
42124 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
42125 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
42127 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
42128 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
42130 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
42131 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
42133 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
42134 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
42136 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
42137 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
42139 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
42140 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
42142 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
42143 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
42145 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
42146 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
42148 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
42149 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
42151 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
42152 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
42154 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
42155 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
42157 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
42158 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
42160 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
42161 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
42163 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
42164 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
42166 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
42167 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
42169 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
42170 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
42172 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
42173 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
42175 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
42176 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
42178 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
42179 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
42181 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
42182 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
42184 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
42185 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
42187 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
42188 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
42190 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
42191 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
42193 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
42194 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
42196 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
42197 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
42199 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
42200 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
42202 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
42203 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
42205 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
42206 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
42208 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
42209 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
42211 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
42212 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
42214 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
42215 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
42217 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
42218 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
42220 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
42221 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
42223 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
42224 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
42226 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
42227 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
42229 static void *_p_wxGridBagSizerTo_p_wxGridSizer(void *x
) {
42230 return (void *)((wxGridSizer
*) (wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
42232 static void *_p_wxFlexGridSizerTo_p_wxGridSizer(void *x
) {
42233 return (void *)((wxGridSizer
*) ((wxFlexGridSizer
*) x
));
42235 static void *_p_wxGridBagSizerTo_p_wxFlexGridSizer(void *x
) {
42236 return (void *)((wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
42238 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
42239 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
42241 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
42242 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
42244 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
42245 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
42247 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
42248 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
42250 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
42251 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
42253 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
42254 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
42256 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
42257 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
42259 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
42260 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
42262 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
42263 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
42265 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
42266 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
42268 static void *_p_wxANIHandlerTo_p_wxCURHandler(void *x
) {
42269 return (void *)((wxCURHandler
*) ((wxANIHandler
*) x
));
42271 static void *_p_wxCURHandlerTo_p_wxICOHandler(void *x
) {
42272 return (void *)((wxICOHandler
*) ((wxCURHandler
*) x
));
42274 static void *_p_wxANIHandlerTo_p_wxICOHandler(void *x
) {
42275 return (void *)((wxICOHandler
*) (wxCURHandler
*) ((wxANIHandler
*) x
));
42277 static void *_p_wxICOHandlerTo_p_wxBMPHandler(void *x
) {
42278 return (void *)((wxBMPHandler
*) ((wxICOHandler
*) x
));
42280 static void *_p_wxCURHandlerTo_p_wxBMPHandler(void *x
) {
42281 return (void *)((wxBMPHandler
*) (wxICOHandler
*) ((wxCURHandler
*) x
));
42283 static void *_p_wxANIHandlerTo_p_wxBMPHandler(void *x
) {
42284 return (void *)((wxBMPHandler
*) (wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
42286 static void *_p_wxBMPHandlerTo_p_wxImageHandler(void *x
) {
42287 return (void *)((wxImageHandler
*) ((wxBMPHandler
*) x
));
42289 static void *_p_wxICOHandlerTo_p_wxImageHandler(void *x
) {
42290 return (void *)((wxImageHandler
*) (wxBMPHandler
*) ((wxICOHandler
*) x
));
42292 static void *_p_wxCURHandlerTo_p_wxImageHandler(void *x
) {
42293 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
42295 static void *_p_wxANIHandlerTo_p_wxImageHandler(void *x
) {
42296 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
42298 static void *_p_wxPNGHandlerTo_p_wxImageHandler(void *x
) {
42299 return (void *)((wxImageHandler
*) ((wxPNGHandler
*) x
));
42301 static void *_p_wxGIFHandlerTo_p_wxImageHandler(void *x
) {
42302 return (void *)((wxImageHandler
*) ((wxGIFHandler
*) x
));
42304 static void *_p_wxPCXHandlerTo_p_wxImageHandler(void *x
) {
42305 return (void *)((wxImageHandler
*) ((wxPCXHandler
*) x
));
42307 static void *_p_wxJPEGHandlerTo_p_wxImageHandler(void *x
) {
42308 return (void *)((wxImageHandler
*) ((wxJPEGHandler
*) x
));
42310 static void *_p_wxPNMHandlerTo_p_wxImageHandler(void *x
) {
42311 return (void *)((wxImageHandler
*) ((wxPNMHandler
*) x
));
42313 static void *_p_wxXPMHandlerTo_p_wxImageHandler(void *x
) {
42314 return (void *)((wxImageHandler
*) ((wxXPMHandler
*) x
));
42316 static void *_p_wxTIFFHandlerTo_p_wxImageHandler(void *x
) {
42317 return (void *)((wxImageHandler
*) ((wxTIFFHandler
*) x
));
42319 static void *_p_wxPyFileSystemHandlerTo_p_wxFileSystemHandler(void *x
) {
42320 return (void *)((wxFileSystemHandler
*) ((wxPyFileSystemHandler
*) x
));
42322 static void *_p_wxInternetFSHandlerTo_p_wxFileSystemHandler(void *x
) {
42323 return (void *)((wxFileSystemHandler
*) ((wxInternetFSHandler
*) x
));
42325 static void *_p_wxZipFSHandlerTo_p_wxFileSystemHandler(void *x
) {
42326 return (void *)((wxFileSystemHandler
*) ((wxZipFSHandler
*) x
));
42328 static void *_p_wxMemoryFSHandlerTo_p_wxFileSystemHandler(void *x
) {
42329 return (void *)((wxFileSystemHandler
*) ((wxMemoryFSHandler
*) x
));
42331 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
42332 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
42334 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
42335 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
42337 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
42338 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
42340 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
42341 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
42343 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
42344 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
42346 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
42347 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
42349 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
42350 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
42352 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
42353 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
42355 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
42356 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
42358 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
42359 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
42361 static void *_p_wxSizerTo_p_wxObject(void *x
) {
42362 return (void *)((wxObject
*) ((wxSizer
*) x
));
42364 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
42365 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
42367 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
42368 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
42370 static void *_p_wxMenuTo_p_wxObject(void *x
) {
42371 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
42373 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
42374 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
42376 static void *_p_wxImageTo_p_wxObject(void *x
) {
42377 return (void *)((wxObject
*) ((wxImage
*) x
));
42379 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
42380 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
42382 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
42383 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
42385 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
42386 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
42388 static void *_p_wxWindowTo_p_wxObject(void *x
) {
42389 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
42391 static void *_p_wxControlTo_p_wxObject(void *x
) {
42392 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
42394 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
42395 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
42397 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
42398 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
42400 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
42401 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
42403 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
42404 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
42406 static void *_p_wxEventTo_p_wxObject(void *x
) {
42407 return (void *)((wxObject
*) ((wxEvent
*) x
));
42409 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
42410 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
42412 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
42413 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
42415 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
42416 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
42418 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
42419 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
42421 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
42422 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
42424 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
42425 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
42427 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
42428 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
42430 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
42431 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
42433 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
42434 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
42436 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
42437 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
42439 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
42440 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
42442 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
42443 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
42445 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
42446 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
42448 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
42449 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
42451 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
42452 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
42454 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
42455 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
42457 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
42458 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
42460 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
42461 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
42463 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
42464 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
42466 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
42467 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
42469 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
42470 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
42472 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
42473 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
42475 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
42476 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
42478 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
42479 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
42481 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
42482 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
42484 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
42485 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
42487 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
42488 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
42490 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
42491 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
42493 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
42494 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
42496 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
42497 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
42499 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
42500 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
42502 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
42503 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
42505 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
42506 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
42508 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
42509 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
42511 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
42512 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
42514 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
42515 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
42517 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
42518 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
42520 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
42521 return (void *)((wxObject
*) ((wxFSFile
*) x
));
42523 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
42524 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
42526 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
42527 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
42529 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
42530 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
42532 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
42533 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
42535 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
42536 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
42538 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
42539 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
42541 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
42542 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
42544 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
42545 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
42547 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
42548 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
42550 static void *_p_wxControlTo_p_wxWindow(void *x
) {
42551 return (void *)((wxWindow
*) ((wxControl
*) x
));
42553 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
42554 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
42556 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
42557 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
42559 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
42560 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
42562 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
42563 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
42565 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
42566 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
42568 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
42569 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
42571 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
42572 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
42574 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
42575 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
42577 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
42578 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
42580 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
42581 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
42583 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
42584 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
42586 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}};
42587 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}};
42588 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}};
42589 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}};
42590 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}};
42591 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}};
42592 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}};
42593 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}};
42594 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}};
42595 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}};
42596 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}};
42597 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}};
42598 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}};
42599 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}};
42600 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}};
42601 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}};
42602 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}};
42603 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}};
42604 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}};
42605 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}};
42606 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}};
42607 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}};
42608 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}};
42609 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}};
42610 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}};
42611 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}};
42612 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}};
42613 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}};
42614 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}};
42615 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}};
42616 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}};
42617 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}};
42618 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}};
42619 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}};
42620 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}};
42621 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}};
42622 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}};
42623 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}};
42624 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}};
42625 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}};
42626 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}};
42627 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}};
42628 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}};
42629 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}};
42630 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}};
42631 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}};
42632 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}};
42633 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}};
42634 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}};
42635 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}};
42636 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}};
42637 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}};
42638 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}};
42639 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}};
42640 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}};
42641 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}};
42642 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}};
42643 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}};
42644 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}};
42645 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}};
42646 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}};
42647 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}};
42648 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}};
42649 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}};
42650 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}};
42651 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}};
42652 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}};
42653 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}};
42654 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}};
42655 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}};
42656 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}};
42657 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}};
42658 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}};
42659 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}};
42660 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}};
42661 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}};
42662 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}};
42663 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}};
42664 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}};
42665 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}};
42666 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}};
42667 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}};
42668 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}};
42669 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}};
42670 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}};
42671 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}};
42672 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}};
42673 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}};
42674 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}};
42675 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}};
42676 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}};
42677 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}};
42678 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}};
42679 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}};
42680 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}};
42681 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}};
42682 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}};
42683 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}};
42684 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}};
42685 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}};
42686 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}};
42687 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}};
42688 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}};
42689 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}};
42690 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}};
42691 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}};
42692 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}};
42693 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}};
42694 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}};
42695 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}};
42696 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}};
42697 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}};
42698 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}};
42699 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}};
42700 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}};
42701 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}};
42703 static swig_type_info
*swig_types_initial
[] = {
42704 _swigt__p_wxLayoutConstraints
,
42705 _swigt__p_wxRealPoint
,
42706 _swigt__p_wxSizerItem
,
42707 _swigt__p_wxGBSizerItem
,
42708 _swigt__p_wxScrollEvent
,
42709 _swigt__p_wxIndividualLayoutConstraint
,
42711 _swigt__p_wxBoxSizer
,
42712 _swigt__p_wxStaticBoxSizer
,
42713 _swigt__p_wxGridBagSizer
,
42714 _swigt__p_wxAcceleratorEntry
,
42715 _swigt__p_wxUpdateUIEvent
,
42718 _swigt__p_wxGridSizer
,
42719 _swigt__p_wxFlexGridSizer
,
42720 _swigt__p_wxInitDialogEvent
,
42721 _swigt__p_wxItemContainer
,
42722 _swigt__p_wxNcPaintEvent
,
42723 _swigt__p_wxPaintEvent
,
42724 _swigt__p_wxSysColourChangedEvent
,
42725 _swigt__p_wxMouseCaptureChangedEvent
,
42726 _swigt__p_wxDisplayChangedEvent
,
42727 _swigt__p_wxPaletteChangedEvent
,
42728 _swigt__p_wxControl
,
42730 _swigt__p_wxMenuBarBase
,
42731 _swigt__p_wxSetCursorEvent
,
42732 _swigt__p_wxFSFile
,
42734 _swigt__p_wxRegion
,
42735 _swigt__p_wxPoint2D
,
42739 _swigt__p_wxPySizer
,
42740 _swigt__p_wxVisualAttributes
,
42741 _swigt__p_wxNotifyEvent
,
42742 _swigt__p_wxPyEvent
,
42743 _swigt__p_wxPropagationDisabler
,
42744 _swigt__p_wxAppTraits
,
42745 _swigt__p_wxArrayString
,
42746 _swigt__p_wxShowEvent
,
42747 _swigt__p_wxToolTip
,
42748 _swigt__p_wxIconizeEvent
,
42749 _swigt__p_wxActivateEvent
,
42750 _swigt__p_wxMoveEvent
,
42751 _swigt__p_wxSizeEvent
,
42752 _swigt__p_wxMaximizeEvent
,
42753 _swigt__p_wxQueryNewPaletteEvent
,
42754 _swigt__p_wxWindowCreateEvent
,
42755 _swigt__p_wxIdleEvent
,
42756 _swigt__p_wxMenuItem
,
42757 _swigt__p_wxStaticBox
,
42759 _swigt__p_wxTIFFHandler
,
42760 _swigt__p_wxXPMHandler
,
42761 _swigt__p_wxPNMHandler
,
42762 _swigt__p_wxJPEGHandler
,
42763 _swigt__p_wxPCXHandler
,
42764 _swigt__p_wxGIFHandler
,
42765 _swigt__p_wxPNGHandler
,
42766 _swigt__p_wxANIHandler
,
42767 _swigt__p_wxMemoryFSHandler
,
42768 _swigt__p_wxEvtHandler
,
42769 _swigt__p_wxCURHandler
,
42770 _swigt__p_wxICOHandler
,
42771 _swigt__p_wxBMPHandler
,
42772 _swigt__p_wxImageHandler
,
42773 _swigt__p_wxFileSystemHandler
,
42774 _swigt__p_wxPyFileSystemHandler
,
42775 _swigt__p_wxInternetFSHandler
,
42776 _swigt__p_wxZipFSHandler
,
42778 _swigt__p_wxGBSpan
,
42779 _swigt__p_wxPropagateOnce
,
42780 _swigt__p_wxAcceleratorTable
,
42782 _swigt__p_wxGBPosition
,
42785 _swigt__p_wxScrollWinEvent
,
42786 _swigt__p_wxImageHistogram
,
42789 _swigt__p_wxCursor
,
42790 _swigt__p_wxObject
,
42791 _swigt__p_wxPyInputStream
,
42792 _swigt__p_wxOutputStream
,
42793 _swigt__p_wxInputStream
,
42794 _swigt__p_wxDateTime
,
42795 _swigt__p_wxKeyEvent
,
42796 _swigt__p_wxNavigationKeyEvent
,
42797 _swigt__p_wxWindowDestroyEvent
,
42798 _swigt__p_wxWindow
,
42799 _swigt__p_wxMenuBar
,
42800 _swigt__p_wxFileSystem
,
42801 _swigt__p_wxBitmap
,
42802 _swigt__p_wxMenuEvent
,
42803 _swigt__p_wxContextMenuEvent
,
42804 _swigt__p_unsigned_char
,
42805 _swigt__p_wxCloseEvent
,
42806 _swigt__p_wxEraseEvent
,
42807 _swigt__p_wxMouseEvent
,
42809 _swigt__p_wxCommandEvent
,
42810 _swigt__p_wxPyCommandEvent
,
42811 _swigt__p_wxPyDropTarget
,
42812 _swigt__p_wxQuantize
,
42813 _swigt__p_wxChildFocusEvent
,
42814 _swigt__p_wxFocusEvent
,
42815 _swigt__p_wxDropFilesEvent
,
42816 _swigt__p_wxControlWithItems
,
42817 _swigt__p_wxColour
,
42818 _swigt__p_wxValidator
,
42819 _swigt__p_wxPyValidator
,
42824 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
42826 static swig_const_info swig_const_table
[] = {
42827 {0, 0, 0, 0.0, 0, 0}};
42836 SWIGEXPORT(void) SWIG_init(void) {
42837 static PyObject
*SWIG_globals
= 0;
42838 static int typeinit
= 0;
42841 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
42842 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
42843 d
= PyModule_GetDict(m
);
42846 for (i
= 0; swig_types_initial
[i
]; i
++) {
42847 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
42851 SWIG_InstallConstants(d
,swig_const_table
);
42854 #ifndef wxPyUSE_EXPORT
42855 // Make our API structure a CObject so other modules can import it
42856 // from this module.
42857 PyObject
* cobj
= PyCObject_FromVoidPtr(&API
, NULL
);
42858 PyDict_SetItemString(d
,"_wxPyCoreAPI", cobj
);
42862 PyDict_SetItemString(d
,"NOT_FOUND", SWIG_From_int((int)wxNOT_FOUND
));
42863 PyDict_SetItemString(d
,"VSCROLL", SWIG_From_int((int)wxVSCROLL
));
42864 PyDict_SetItemString(d
,"HSCROLL", SWIG_From_int((int)wxHSCROLL
));
42865 PyDict_SetItemString(d
,"CAPTION", SWIG_From_int((int)wxCAPTION
));
42866 PyDict_SetItemString(d
,"DOUBLE_BORDER", SWIG_From_int((int)wxDOUBLE_BORDER
));
42867 PyDict_SetItemString(d
,"SUNKEN_BORDER", SWIG_From_int((int)wxSUNKEN_BORDER
));
42868 PyDict_SetItemString(d
,"RAISED_BORDER", SWIG_From_int((int)wxRAISED_BORDER
));
42869 PyDict_SetItemString(d
,"BORDER", SWIG_From_int((int)wxBORDER
));
42870 PyDict_SetItemString(d
,"SIMPLE_BORDER", SWIG_From_int((int)wxSIMPLE_BORDER
));
42871 PyDict_SetItemString(d
,"STATIC_BORDER", SWIG_From_int((int)wxSTATIC_BORDER
));
42872 PyDict_SetItemString(d
,"TRANSPARENT_WINDOW", SWIG_From_int((int)wxTRANSPARENT_WINDOW
));
42873 PyDict_SetItemString(d
,"NO_BORDER", SWIG_From_int((int)wxNO_BORDER
));
42874 PyDict_SetItemString(d
,"TAB_TRAVERSAL", SWIG_From_int((int)wxTAB_TRAVERSAL
));
42875 PyDict_SetItemString(d
,"WANTS_CHARS", SWIG_From_int((int)wxWANTS_CHARS
));
42876 PyDict_SetItemString(d
,"POPUP_WINDOW", SWIG_From_int((int)wxPOPUP_WINDOW
));
42877 PyDict_SetItemString(d
,"CENTER_FRAME", SWIG_From_int((int)wxCENTER_FRAME
));
42878 PyDict_SetItemString(d
,"CENTRE_ON_SCREEN", SWIG_From_int((int)wxCENTRE_ON_SCREEN
));
42879 PyDict_SetItemString(d
,"CENTER_ON_SCREEN", SWIG_From_int((int)wxCENTER_ON_SCREEN
));
42880 PyDict_SetItemString(d
,"ED_CLIENT_MARGIN", SWIG_From_int((int)wxED_CLIENT_MARGIN
));
42881 PyDict_SetItemString(d
,"ED_BUTTONS_BOTTOM", SWIG_From_int((int)wxED_BUTTONS_BOTTOM
));
42882 PyDict_SetItemString(d
,"ED_BUTTONS_RIGHT", SWIG_From_int((int)wxED_BUTTONS_RIGHT
));
42883 PyDict_SetItemString(d
,"ED_STATIC_LINE", SWIG_From_int((int)wxED_STATIC_LINE
));
42884 PyDict_SetItemString(d
,"EXT_DIALOG_STYLE", SWIG_From_int((int)wxEXT_DIALOG_STYLE
));
42885 PyDict_SetItemString(d
,"CLIP_CHILDREN", SWIG_From_int((int)wxCLIP_CHILDREN
));
42886 PyDict_SetItemString(d
,"CLIP_SIBLINGS", SWIG_From_int((int)wxCLIP_SIBLINGS
));
42887 PyDict_SetItemString(d
,"ALWAYS_SHOW_SB", SWIG_From_int((int)wxALWAYS_SHOW_SB
));
42888 PyDict_SetItemString(d
,"RETAINED", SWIG_From_int((int)wxRETAINED
));
42889 PyDict_SetItemString(d
,"BACKINGSTORE", SWIG_From_int((int)wxBACKINGSTORE
));
42890 PyDict_SetItemString(d
,"COLOURED", SWIG_From_int((int)wxCOLOURED
));
42891 PyDict_SetItemString(d
,"FIXED_LENGTH", SWIG_From_int((int)wxFIXED_LENGTH
));
42892 PyDict_SetItemString(d
,"LB_NEEDED_SB", SWIG_From_int((int)wxLB_NEEDED_SB
));
42893 PyDict_SetItemString(d
,"LB_ALWAYS_SB", SWIG_From_int((int)wxLB_ALWAYS_SB
));
42894 PyDict_SetItemString(d
,"LB_SORT", SWIG_From_int((int)wxLB_SORT
));
42895 PyDict_SetItemString(d
,"LB_SINGLE", SWIG_From_int((int)wxLB_SINGLE
));
42896 PyDict_SetItemString(d
,"LB_MULTIPLE", SWIG_From_int((int)wxLB_MULTIPLE
));
42897 PyDict_SetItemString(d
,"LB_EXTENDED", SWIG_From_int((int)wxLB_EXTENDED
));
42898 PyDict_SetItemString(d
,"LB_OWNERDRAW", SWIG_From_int((int)wxLB_OWNERDRAW
));
42899 PyDict_SetItemString(d
,"LB_HSCROLL", SWIG_From_int((int)wxLB_HSCROLL
));
42900 PyDict_SetItemString(d
,"PROCESS_ENTER", SWIG_From_int((int)wxPROCESS_ENTER
));
42901 PyDict_SetItemString(d
,"PASSWORD", SWIG_From_int((int)wxPASSWORD
));
42902 PyDict_SetItemString(d
,"CB_SIMPLE", SWIG_From_int((int)wxCB_SIMPLE
));
42903 PyDict_SetItemString(d
,"CB_DROPDOWN", SWIG_From_int((int)wxCB_DROPDOWN
));
42904 PyDict_SetItemString(d
,"CB_SORT", SWIG_From_int((int)wxCB_SORT
));
42905 PyDict_SetItemString(d
,"CB_READONLY", SWIG_From_int((int)wxCB_READONLY
));
42906 PyDict_SetItemString(d
,"RA_HORIZONTAL", SWIG_From_int((int)wxRA_HORIZONTAL
));
42907 PyDict_SetItemString(d
,"RA_VERTICAL", SWIG_From_int((int)wxRA_VERTICAL
));
42908 PyDict_SetItemString(d
,"RA_SPECIFY_ROWS", SWIG_From_int((int)wxRA_SPECIFY_ROWS
));
42909 PyDict_SetItemString(d
,"RA_SPECIFY_COLS", SWIG_From_int((int)wxRA_SPECIFY_COLS
));
42910 PyDict_SetItemString(d
,"RB_GROUP", SWIG_From_int((int)wxRB_GROUP
));
42911 PyDict_SetItemString(d
,"RB_SINGLE", SWIG_From_int((int)wxRB_SINGLE
));
42912 PyDict_SetItemString(d
,"SL_HORIZONTAL", SWIG_From_int((int)wxSL_HORIZONTAL
));
42913 PyDict_SetItemString(d
,"SL_VERTICAL", SWIG_From_int((int)wxSL_VERTICAL
));
42914 PyDict_SetItemString(d
,"SL_AUTOTICKS", SWIG_From_int((int)wxSL_AUTOTICKS
));
42915 PyDict_SetItemString(d
,"SL_LABELS", SWIG_From_int((int)wxSL_LABELS
));
42916 PyDict_SetItemString(d
,"SL_LEFT", SWIG_From_int((int)wxSL_LEFT
));
42917 PyDict_SetItemString(d
,"SL_TOP", SWIG_From_int((int)wxSL_TOP
));
42918 PyDict_SetItemString(d
,"SL_RIGHT", SWIG_From_int((int)wxSL_RIGHT
));
42919 PyDict_SetItemString(d
,"SL_BOTTOM", SWIG_From_int((int)wxSL_BOTTOM
));
42920 PyDict_SetItemString(d
,"SL_BOTH", SWIG_From_int((int)wxSL_BOTH
));
42921 PyDict_SetItemString(d
,"SL_SELRANGE", SWIG_From_int((int)wxSL_SELRANGE
));
42922 PyDict_SetItemString(d
,"SB_HORIZONTAL", SWIG_From_int((int)wxSB_HORIZONTAL
));
42923 PyDict_SetItemString(d
,"SB_VERTICAL", SWIG_From_int((int)wxSB_VERTICAL
));
42924 PyDict_SetItemString(d
,"ST_SIZEGRIP", SWIG_From_int((int)wxST_SIZEGRIP
));
42925 PyDict_SetItemString(d
,"ST_NO_AUTORESIZE", SWIG_From_int((int)wxST_NO_AUTORESIZE
));
42926 PyDict_SetItemString(d
,"FLOOD_SURFACE", SWIG_From_int((int)wxFLOOD_SURFACE
));
42927 PyDict_SetItemString(d
,"FLOOD_BORDER", SWIG_From_int((int)wxFLOOD_BORDER
));
42928 PyDict_SetItemString(d
,"ODDEVEN_RULE", SWIG_From_int((int)wxODDEVEN_RULE
));
42929 PyDict_SetItemString(d
,"WINDING_RULE", SWIG_From_int((int)wxWINDING_RULE
));
42930 PyDict_SetItemString(d
,"TOOL_TOP", SWIG_From_int((int)wxTOOL_TOP
));
42931 PyDict_SetItemString(d
,"TOOL_BOTTOM", SWIG_From_int((int)wxTOOL_BOTTOM
));
42932 PyDict_SetItemString(d
,"TOOL_LEFT", SWIG_From_int((int)wxTOOL_LEFT
));
42933 PyDict_SetItemString(d
,"TOOL_RIGHT", SWIG_From_int((int)wxTOOL_RIGHT
));
42934 PyDict_SetItemString(d
,"OK", SWIG_From_int((int)wxOK
));
42935 PyDict_SetItemString(d
,"YES_NO", SWIG_From_int((int)wxYES_NO
));
42936 PyDict_SetItemString(d
,"CANCEL", SWIG_From_int((int)wxCANCEL
));
42937 PyDict_SetItemString(d
,"YES", SWIG_From_int((int)wxYES
));
42938 PyDict_SetItemString(d
,"NO", SWIG_From_int((int)wxNO
));
42939 PyDict_SetItemString(d
,"NO_DEFAULT", SWIG_From_int((int)wxNO_DEFAULT
));
42940 PyDict_SetItemString(d
,"YES_DEFAULT", SWIG_From_int((int)wxYES_DEFAULT
));
42941 PyDict_SetItemString(d
,"ICON_EXCLAMATION", SWIG_From_int((int)wxICON_EXCLAMATION
));
42942 PyDict_SetItemString(d
,"ICON_HAND", SWIG_From_int((int)wxICON_HAND
));
42943 PyDict_SetItemString(d
,"ICON_QUESTION", SWIG_From_int((int)wxICON_QUESTION
));
42944 PyDict_SetItemString(d
,"ICON_INFORMATION", SWIG_From_int((int)wxICON_INFORMATION
));
42945 PyDict_SetItemString(d
,"ICON_STOP", SWIG_From_int((int)wxICON_STOP
));
42946 PyDict_SetItemString(d
,"ICON_ASTERISK", SWIG_From_int((int)wxICON_ASTERISK
));
42947 PyDict_SetItemString(d
,"ICON_MASK", SWIG_From_int((int)wxICON_MASK
));
42948 PyDict_SetItemString(d
,"ICON_WARNING", SWIG_From_int((int)wxICON_WARNING
));
42949 PyDict_SetItemString(d
,"ICON_ERROR", SWIG_From_int((int)wxICON_ERROR
));
42950 PyDict_SetItemString(d
,"FORWARD", SWIG_From_int((int)wxFORWARD
));
42951 PyDict_SetItemString(d
,"BACKWARD", SWIG_From_int((int)wxBACKWARD
));
42952 PyDict_SetItemString(d
,"RESET", SWIG_From_int((int)wxRESET
));
42953 PyDict_SetItemString(d
,"HELP", SWIG_From_int((int)wxHELP
));
42954 PyDict_SetItemString(d
,"MORE", SWIG_From_int((int)wxMORE
));
42955 PyDict_SetItemString(d
,"SETUP", SWIG_From_int((int)wxSETUP
));
42956 PyDict_SetItemString(d
,"SIZE_AUTO_WIDTH", SWIG_From_int((int)wxSIZE_AUTO_WIDTH
));
42957 PyDict_SetItemString(d
,"SIZE_AUTO_HEIGHT", SWIG_From_int((int)wxSIZE_AUTO_HEIGHT
));
42958 PyDict_SetItemString(d
,"SIZE_AUTO", SWIG_From_int((int)wxSIZE_AUTO
));
42959 PyDict_SetItemString(d
,"SIZE_USE_EXISTING", SWIG_From_int((int)wxSIZE_USE_EXISTING
));
42960 PyDict_SetItemString(d
,"SIZE_ALLOW_MINUS_ONE", SWIG_From_int((int)wxSIZE_ALLOW_MINUS_ONE
));
42961 PyDict_SetItemString(d
,"PORTRAIT", SWIG_From_int((int)wxPORTRAIT
));
42962 PyDict_SetItemString(d
,"LANDSCAPE", SWIG_From_int((int)wxLANDSCAPE
));
42963 PyDict_SetItemString(d
,"PRINT_QUALITY_HIGH", SWIG_From_int((int)wxPRINT_QUALITY_HIGH
));
42964 PyDict_SetItemString(d
,"PRINT_QUALITY_MEDIUM", SWIG_From_int((int)wxPRINT_QUALITY_MEDIUM
));
42965 PyDict_SetItemString(d
,"PRINT_QUALITY_LOW", SWIG_From_int((int)wxPRINT_QUALITY_LOW
));
42966 PyDict_SetItemString(d
,"PRINT_QUALITY_DRAFT", SWIG_From_int((int)wxPRINT_QUALITY_DRAFT
));
42967 PyDict_SetItemString(d
,"ID_ANY", SWIG_From_int((int)wxID_ANY
));
42968 PyDict_SetItemString(d
,"ID_SEPARATOR", SWIG_From_int((int)wxID_SEPARATOR
));
42969 PyDict_SetItemString(d
,"ID_LOWEST", SWIG_From_int((int)wxID_LOWEST
));
42970 PyDict_SetItemString(d
,"ID_OPEN", SWIG_From_int((int)wxID_OPEN
));
42971 PyDict_SetItemString(d
,"ID_CLOSE", SWIG_From_int((int)wxID_CLOSE
));
42972 PyDict_SetItemString(d
,"ID_NEW", SWIG_From_int((int)wxID_NEW
));
42973 PyDict_SetItemString(d
,"ID_SAVE", SWIG_From_int((int)wxID_SAVE
));
42974 PyDict_SetItemString(d
,"ID_SAVEAS", SWIG_From_int((int)wxID_SAVEAS
));
42975 PyDict_SetItemString(d
,"ID_REVERT", SWIG_From_int((int)wxID_REVERT
));
42976 PyDict_SetItemString(d
,"ID_EXIT", SWIG_From_int((int)wxID_EXIT
));
42977 PyDict_SetItemString(d
,"ID_UNDO", SWIG_From_int((int)wxID_UNDO
));
42978 PyDict_SetItemString(d
,"ID_REDO", SWIG_From_int((int)wxID_REDO
));
42979 PyDict_SetItemString(d
,"ID_HELP", SWIG_From_int((int)wxID_HELP
));
42980 PyDict_SetItemString(d
,"ID_PRINT", SWIG_From_int((int)wxID_PRINT
));
42981 PyDict_SetItemString(d
,"ID_PRINT_SETUP", SWIG_From_int((int)wxID_PRINT_SETUP
));
42982 PyDict_SetItemString(d
,"ID_PREVIEW", SWIG_From_int((int)wxID_PREVIEW
));
42983 PyDict_SetItemString(d
,"ID_ABOUT", SWIG_From_int((int)wxID_ABOUT
));
42984 PyDict_SetItemString(d
,"ID_HELP_CONTENTS", SWIG_From_int((int)wxID_HELP_CONTENTS
));
42985 PyDict_SetItemString(d
,"ID_HELP_COMMANDS", SWIG_From_int((int)wxID_HELP_COMMANDS
));
42986 PyDict_SetItemString(d
,"ID_HELP_PROCEDURES", SWIG_From_int((int)wxID_HELP_PROCEDURES
));
42987 PyDict_SetItemString(d
,"ID_HELP_CONTEXT", SWIG_From_int((int)wxID_HELP_CONTEXT
));
42988 PyDict_SetItemString(d
,"ID_CLOSE_ALL", SWIG_From_int((int)wxID_CLOSE_ALL
));
42989 PyDict_SetItemString(d
,"ID_PREFERENCES", SWIG_From_int((int)wxID_PREFERENCES
));
42990 PyDict_SetItemString(d
,"ID_CUT", SWIG_From_int((int)wxID_CUT
));
42991 PyDict_SetItemString(d
,"ID_COPY", SWIG_From_int((int)wxID_COPY
));
42992 PyDict_SetItemString(d
,"ID_PASTE", SWIG_From_int((int)wxID_PASTE
));
42993 PyDict_SetItemString(d
,"ID_CLEAR", SWIG_From_int((int)wxID_CLEAR
));
42994 PyDict_SetItemString(d
,"ID_FIND", SWIG_From_int((int)wxID_FIND
));
42995 PyDict_SetItemString(d
,"ID_DUPLICATE", SWIG_From_int((int)wxID_DUPLICATE
));
42996 PyDict_SetItemString(d
,"ID_SELECTALL", SWIG_From_int((int)wxID_SELECTALL
));
42997 PyDict_SetItemString(d
,"ID_DELETE", SWIG_From_int((int)wxID_DELETE
));
42998 PyDict_SetItemString(d
,"ID_REPLACE", SWIG_From_int((int)wxID_REPLACE
));
42999 PyDict_SetItemString(d
,"ID_REPLACE_ALL", SWIG_From_int((int)wxID_REPLACE_ALL
));
43000 PyDict_SetItemString(d
,"ID_PROPERTIES", SWIG_From_int((int)wxID_PROPERTIES
));
43001 PyDict_SetItemString(d
,"ID_VIEW_DETAILS", SWIG_From_int((int)wxID_VIEW_DETAILS
));
43002 PyDict_SetItemString(d
,"ID_VIEW_LARGEICONS", SWIG_From_int((int)wxID_VIEW_LARGEICONS
));
43003 PyDict_SetItemString(d
,"ID_VIEW_SMALLICONS", SWIG_From_int((int)wxID_VIEW_SMALLICONS
));
43004 PyDict_SetItemString(d
,"ID_VIEW_LIST", SWIG_From_int((int)wxID_VIEW_LIST
));
43005 PyDict_SetItemString(d
,"ID_VIEW_SORTDATE", SWIG_From_int((int)wxID_VIEW_SORTDATE
));
43006 PyDict_SetItemString(d
,"ID_VIEW_SORTNAME", SWIG_From_int((int)wxID_VIEW_SORTNAME
));
43007 PyDict_SetItemString(d
,"ID_VIEW_SORTSIZE", SWIG_From_int((int)wxID_VIEW_SORTSIZE
));
43008 PyDict_SetItemString(d
,"ID_VIEW_SORTTYPE", SWIG_From_int((int)wxID_VIEW_SORTTYPE
));
43009 PyDict_SetItemString(d
,"ID_FILE1", SWIG_From_int((int)wxID_FILE1
));
43010 PyDict_SetItemString(d
,"ID_FILE2", SWIG_From_int((int)wxID_FILE2
));
43011 PyDict_SetItemString(d
,"ID_FILE3", SWIG_From_int((int)wxID_FILE3
));
43012 PyDict_SetItemString(d
,"ID_FILE4", SWIG_From_int((int)wxID_FILE4
));
43013 PyDict_SetItemString(d
,"ID_FILE5", SWIG_From_int((int)wxID_FILE5
));
43014 PyDict_SetItemString(d
,"ID_FILE6", SWIG_From_int((int)wxID_FILE6
));
43015 PyDict_SetItemString(d
,"ID_FILE7", SWIG_From_int((int)wxID_FILE7
));
43016 PyDict_SetItemString(d
,"ID_FILE8", SWIG_From_int((int)wxID_FILE8
));
43017 PyDict_SetItemString(d
,"ID_FILE9", SWIG_From_int((int)wxID_FILE9
));
43018 PyDict_SetItemString(d
,"ID_OK", SWIG_From_int((int)wxID_OK
));
43019 PyDict_SetItemString(d
,"ID_CANCEL", SWIG_From_int((int)wxID_CANCEL
));
43020 PyDict_SetItemString(d
,"ID_APPLY", SWIG_From_int((int)wxID_APPLY
));
43021 PyDict_SetItemString(d
,"ID_YES", SWIG_From_int((int)wxID_YES
));
43022 PyDict_SetItemString(d
,"ID_NO", SWIG_From_int((int)wxID_NO
));
43023 PyDict_SetItemString(d
,"ID_STATIC", SWIG_From_int((int)wxID_STATIC
));
43024 PyDict_SetItemString(d
,"ID_FORWARD", SWIG_From_int((int)wxID_FORWARD
));
43025 PyDict_SetItemString(d
,"ID_BACKWARD", SWIG_From_int((int)wxID_BACKWARD
));
43026 PyDict_SetItemString(d
,"ID_DEFAULT", SWIG_From_int((int)wxID_DEFAULT
));
43027 PyDict_SetItemString(d
,"ID_MORE", SWIG_From_int((int)wxID_MORE
));
43028 PyDict_SetItemString(d
,"ID_SETUP", SWIG_From_int((int)wxID_SETUP
));
43029 PyDict_SetItemString(d
,"ID_RESET", SWIG_From_int((int)wxID_RESET
));
43030 PyDict_SetItemString(d
,"ID_CONTEXT_HELP", SWIG_From_int((int)wxID_CONTEXT_HELP
));
43031 PyDict_SetItemString(d
,"ID_YESTOALL", SWIG_From_int((int)wxID_YESTOALL
));
43032 PyDict_SetItemString(d
,"ID_NOTOALL", SWIG_From_int((int)wxID_NOTOALL
));
43033 PyDict_SetItemString(d
,"ID_ABORT", SWIG_From_int((int)wxID_ABORT
));
43034 PyDict_SetItemString(d
,"ID_RETRY", SWIG_From_int((int)wxID_RETRY
));
43035 PyDict_SetItemString(d
,"ID_IGNORE", SWIG_From_int((int)wxID_IGNORE
));
43036 PyDict_SetItemString(d
,"ID_ADD", SWIG_From_int((int)wxID_ADD
));
43037 PyDict_SetItemString(d
,"ID_REMOVE", SWIG_From_int((int)wxID_REMOVE
));
43038 PyDict_SetItemString(d
,"ID_UP", SWIG_From_int((int)wxID_UP
));
43039 PyDict_SetItemString(d
,"ID_DOWN", SWIG_From_int((int)wxID_DOWN
));
43040 PyDict_SetItemString(d
,"ID_HOME", SWIG_From_int((int)wxID_HOME
));
43041 PyDict_SetItemString(d
,"ID_REFRESH", SWIG_From_int((int)wxID_REFRESH
));
43042 PyDict_SetItemString(d
,"ID_STOP", SWIG_From_int((int)wxID_STOP
));
43043 PyDict_SetItemString(d
,"ID_INDEX", SWIG_From_int((int)wxID_INDEX
));
43044 PyDict_SetItemString(d
,"ID_BOLD", SWIG_From_int((int)wxID_BOLD
));
43045 PyDict_SetItemString(d
,"ID_ITALIC", SWIG_From_int((int)wxID_ITALIC
));
43046 PyDict_SetItemString(d
,"ID_JUSTIFY_CENTER", SWIG_From_int((int)wxID_JUSTIFY_CENTER
));
43047 PyDict_SetItemString(d
,"ID_JUSTIFY_FILL", SWIG_From_int((int)wxID_JUSTIFY_FILL
));
43048 PyDict_SetItemString(d
,"ID_JUSTIFY_RIGHT", SWIG_From_int((int)wxID_JUSTIFY_RIGHT
));
43049 PyDict_SetItemString(d
,"ID_JUSTIFY_LEFT", SWIG_From_int((int)wxID_JUSTIFY_LEFT
));
43050 PyDict_SetItemString(d
,"ID_UNDERLINE", SWIG_From_int((int)wxID_UNDERLINE
));
43051 PyDict_SetItemString(d
,"ID_INDENT", SWIG_From_int((int)wxID_INDENT
));
43052 PyDict_SetItemString(d
,"ID_UNINDENT", SWIG_From_int((int)wxID_UNINDENT
));
43053 PyDict_SetItemString(d
,"ID_ZOOM_100", SWIG_From_int((int)wxID_ZOOM_100
));
43054 PyDict_SetItemString(d
,"ID_ZOOM_FIT", SWIG_From_int((int)wxID_ZOOM_FIT
));
43055 PyDict_SetItemString(d
,"ID_ZOOM_IN", SWIG_From_int((int)wxID_ZOOM_IN
));
43056 PyDict_SetItemString(d
,"ID_ZOOM_OUT", SWIG_From_int((int)wxID_ZOOM_OUT
));
43057 PyDict_SetItemString(d
,"ID_UNDELETE", SWIG_From_int((int)wxID_UNDELETE
));
43058 PyDict_SetItemString(d
,"ID_REVERT_TO_SAVED", SWIG_From_int((int)wxID_REVERT_TO_SAVED
));
43059 PyDict_SetItemString(d
,"ID_HIGHEST", SWIG_From_int((int)wxID_HIGHEST
));
43060 PyDict_SetItemString(d
,"OPEN", SWIG_From_int((int)wxOPEN
));
43061 PyDict_SetItemString(d
,"SAVE", SWIG_From_int((int)wxSAVE
));
43062 PyDict_SetItemString(d
,"HIDE_READONLY", SWIG_From_int((int)wxHIDE_READONLY
));
43063 PyDict_SetItemString(d
,"OVERWRITE_PROMPT", SWIG_From_int((int)wxOVERWRITE_PROMPT
));
43064 PyDict_SetItemString(d
,"FILE_MUST_EXIST", SWIG_From_int((int)wxFILE_MUST_EXIST
));
43065 PyDict_SetItemString(d
,"MULTIPLE", SWIG_From_int((int)wxMULTIPLE
));
43066 PyDict_SetItemString(d
,"CHANGE_DIR", SWIG_From_int((int)wxCHANGE_DIR
));
43067 PyDict_SetItemString(d
,"ACCEL_ALT", SWIG_From_int((int)wxACCEL_ALT
));
43068 PyDict_SetItemString(d
,"ACCEL_CTRL", SWIG_From_int((int)wxACCEL_CTRL
));
43069 PyDict_SetItemString(d
,"ACCEL_SHIFT", SWIG_From_int((int)wxACCEL_SHIFT
));
43070 PyDict_SetItemString(d
,"ACCEL_NORMAL", SWIG_From_int((int)wxACCEL_NORMAL
));
43071 PyDict_SetItemString(d
,"PD_AUTO_HIDE", SWIG_From_int((int)wxPD_AUTO_HIDE
));
43072 PyDict_SetItemString(d
,"PD_APP_MODAL", SWIG_From_int((int)wxPD_APP_MODAL
));
43073 PyDict_SetItemString(d
,"PD_CAN_ABORT", SWIG_From_int((int)wxPD_CAN_ABORT
));
43074 PyDict_SetItemString(d
,"PD_ELAPSED_TIME", SWIG_From_int((int)wxPD_ELAPSED_TIME
));
43075 PyDict_SetItemString(d
,"PD_ESTIMATED_TIME", SWIG_From_int((int)wxPD_ESTIMATED_TIME
));
43076 PyDict_SetItemString(d
,"PD_REMAINING_TIME", SWIG_From_int((int)wxPD_REMAINING_TIME
));
43077 PyDict_SetItemString(d
,"DD_NEW_DIR_BUTTON", SWIG_From_int((int)wxDD_NEW_DIR_BUTTON
));
43078 PyDict_SetItemString(d
,"DD_DEFAULT_STYLE", SWIG_From_int((int)wxDD_DEFAULT_STYLE
));
43079 PyDict_SetItemString(d
,"MENU_TEAROFF", SWIG_From_int((int)wxMENU_TEAROFF
));
43080 PyDict_SetItemString(d
,"MB_DOCKABLE", SWIG_From_int((int)wxMB_DOCKABLE
));
43081 PyDict_SetItemString(d
,"NO_FULL_REPAINT_ON_RESIZE", SWIG_From_int((int)wxNO_FULL_REPAINT_ON_RESIZE
));
43082 PyDict_SetItemString(d
,"FULL_REPAINT_ON_RESIZE", SWIG_From_int((int)wxFULL_REPAINT_ON_RESIZE
));
43083 PyDict_SetItemString(d
,"LI_HORIZONTAL", SWIG_From_int((int)wxLI_HORIZONTAL
));
43084 PyDict_SetItemString(d
,"LI_VERTICAL", SWIG_From_int((int)wxLI_VERTICAL
));
43085 PyDict_SetItemString(d
,"WS_EX_VALIDATE_RECURSIVELY", SWIG_From_int((int)wxWS_EX_VALIDATE_RECURSIVELY
));
43086 PyDict_SetItemString(d
,"WS_EX_BLOCK_EVENTS", SWIG_From_int((int)wxWS_EX_BLOCK_EVENTS
));
43087 PyDict_SetItemString(d
,"WS_EX_TRANSIENT", SWIG_From_int((int)wxWS_EX_TRANSIENT
));
43088 PyDict_SetItemString(d
,"WS_EX_THEMED_BACKGROUND", SWIG_From_int((int)wxWS_EX_THEMED_BACKGROUND
));
43089 PyDict_SetItemString(d
,"WS_EX_PROCESS_IDLE", SWIG_From_int((int)wxWS_EX_PROCESS_IDLE
));
43090 PyDict_SetItemString(d
,"WS_EX_PROCESS_UI_UPDATES", SWIG_From_int((int)wxWS_EX_PROCESS_UI_UPDATES
));
43091 PyDict_SetItemString(d
,"MM_TEXT", SWIG_From_int((int)wxMM_TEXT
));
43092 PyDict_SetItemString(d
,"MM_LOMETRIC", SWIG_From_int((int)wxMM_LOMETRIC
));
43093 PyDict_SetItemString(d
,"MM_HIMETRIC", SWIG_From_int((int)wxMM_HIMETRIC
));
43094 PyDict_SetItemString(d
,"MM_LOENGLISH", SWIG_From_int((int)wxMM_LOENGLISH
));
43095 PyDict_SetItemString(d
,"MM_HIENGLISH", SWIG_From_int((int)wxMM_HIENGLISH
));
43096 PyDict_SetItemString(d
,"MM_TWIPS", SWIG_From_int((int)wxMM_TWIPS
));
43097 PyDict_SetItemString(d
,"MM_ISOTROPIC", SWIG_From_int((int)wxMM_ISOTROPIC
));
43098 PyDict_SetItemString(d
,"MM_ANISOTROPIC", SWIG_From_int((int)wxMM_ANISOTROPIC
));
43099 PyDict_SetItemString(d
,"MM_POINTS", SWIG_From_int((int)wxMM_POINTS
));
43100 PyDict_SetItemString(d
,"MM_METRIC", SWIG_From_int((int)wxMM_METRIC
));
43101 PyDict_SetItemString(d
,"CENTRE", SWIG_From_int((int)wxCENTRE
));
43102 PyDict_SetItemString(d
,"CENTER", SWIG_From_int((int)wxCENTER
));
43103 PyDict_SetItemString(d
,"HORIZONTAL", SWIG_From_int((int)wxHORIZONTAL
));
43104 PyDict_SetItemString(d
,"VERTICAL", SWIG_From_int((int)wxVERTICAL
));
43105 PyDict_SetItemString(d
,"BOTH", SWIG_From_int((int)wxBOTH
));
43106 PyDict_SetItemString(d
,"LEFT", SWIG_From_int((int)wxLEFT
));
43107 PyDict_SetItemString(d
,"RIGHT", SWIG_From_int((int)wxRIGHT
));
43108 PyDict_SetItemString(d
,"UP", SWIG_From_int((int)wxUP
));
43109 PyDict_SetItemString(d
,"DOWN", SWIG_From_int((int)wxDOWN
));
43110 PyDict_SetItemString(d
,"TOP", SWIG_From_int((int)wxTOP
));
43111 PyDict_SetItemString(d
,"BOTTOM", SWIG_From_int((int)wxBOTTOM
));
43112 PyDict_SetItemString(d
,"NORTH", SWIG_From_int((int)wxNORTH
));
43113 PyDict_SetItemString(d
,"SOUTH", SWIG_From_int((int)wxSOUTH
));
43114 PyDict_SetItemString(d
,"WEST", SWIG_From_int((int)wxWEST
));
43115 PyDict_SetItemString(d
,"EAST", SWIG_From_int((int)wxEAST
));
43116 PyDict_SetItemString(d
,"ALL", SWIG_From_int((int)wxALL
));
43117 PyDict_SetItemString(d
,"ALIGN_NOT", SWIG_From_int((int)wxALIGN_NOT
));
43118 PyDict_SetItemString(d
,"ALIGN_CENTER_HORIZONTAL", SWIG_From_int((int)wxALIGN_CENTER_HORIZONTAL
));
43119 PyDict_SetItemString(d
,"ALIGN_CENTRE_HORIZONTAL", SWIG_From_int((int)wxALIGN_CENTRE_HORIZONTAL
));
43120 PyDict_SetItemString(d
,"ALIGN_LEFT", SWIG_From_int((int)wxALIGN_LEFT
));
43121 PyDict_SetItemString(d
,"ALIGN_TOP", SWIG_From_int((int)wxALIGN_TOP
));
43122 PyDict_SetItemString(d
,"ALIGN_RIGHT", SWIG_From_int((int)wxALIGN_RIGHT
));
43123 PyDict_SetItemString(d
,"ALIGN_BOTTOM", SWIG_From_int((int)wxALIGN_BOTTOM
));
43124 PyDict_SetItemString(d
,"ALIGN_CENTER_VERTICAL", SWIG_From_int((int)wxALIGN_CENTER_VERTICAL
));
43125 PyDict_SetItemString(d
,"ALIGN_CENTRE_VERTICAL", SWIG_From_int((int)wxALIGN_CENTRE_VERTICAL
));
43126 PyDict_SetItemString(d
,"ALIGN_CENTER", SWIG_From_int((int)wxALIGN_CENTER
));
43127 PyDict_SetItemString(d
,"ALIGN_CENTRE", SWIG_From_int((int)wxALIGN_CENTRE
));
43128 PyDict_SetItemString(d
,"ALIGN_MASK", SWIG_From_int((int)wxALIGN_MASK
));
43129 PyDict_SetItemString(d
,"STRETCH_NOT", SWIG_From_int((int)wxSTRETCH_NOT
));
43130 PyDict_SetItemString(d
,"SHRINK", SWIG_From_int((int)wxSHRINK
));
43131 PyDict_SetItemString(d
,"GROW", SWIG_From_int((int)wxGROW
));
43132 PyDict_SetItemString(d
,"EXPAND", SWIG_From_int((int)wxEXPAND
));
43133 PyDict_SetItemString(d
,"SHAPED", SWIG_From_int((int)wxSHAPED
));
43134 PyDict_SetItemString(d
,"FIXED_MINSIZE", SWIG_From_int((int)wxFIXED_MINSIZE
));
43135 PyDict_SetItemString(d
,"TILE", SWIG_From_int((int)wxTILE
));
43136 PyDict_SetItemString(d
,"ADJUST_MINSIZE", SWIG_From_int((int)wxADJUST_MINSIZE
));
43137 PyDict_SetItemString(d
,"BORDER_DEFAULT", SWIG_From_int((int)wxBORDER_DEFAULT
));
43138 PyDict_SetItemString(d
,"BORDER_NONE", SWIG_From_int((int)wxBORDER_NONE
));
43139 PyDict_SetItemString(d
,"BORDER_STATIC", SWIG_From_int((int)wxBORDER_STATIC
));
43140 PyDict_SetItemString(d
,"BORDER_SIMPLE", SWIG_From_int((int)wxBORDER_SIMPLE
));
43141 PyDict_SetItemString(d
,"BORDER_RAISED", SWIG_From_int((int)wxBORDER_RAISED
));
43142 PyDict_SetItemString(d
,"BORDER_SUNKEN", SWIG_From_int((int)wxBORDER_SUNKEN
));
43143 PyDict_SetItemString(d
,"BORDER_DOUBLE", SWIG_From_int((int)wxBORDER_DOUBLE
));
43144 PyDict_SetItemString(d
,"BORDER_MASK", SWIG_From_int((int)wxBORDER_MASK
));
43145 PyDict_SetItemString(d
,"BG_STYLE_SYSTEM", SWIG_From_int((int)wxBG_STYLE_SYSTEM
));
43146 PyDict_SetItemString(d
,"BG_STYLE_COLOUR", SWIG_From_int((int)wxBG_STYLE_COLOUR
));
43147 PyDict_SetItemString(d
,"BG_STYLE_CUSTOM", SWIG_From_int((int)wxBG_STYLE_CUSTOM
));
43148 PyDict_SetItemString(d
,"DEFAULT", SWIG_From_int((int)wxDEFAULT
));
43149 PyDict_SetItemString(d
,"DECORATIVE", SWIG_From_int((int)wxDECORATIVE
));
43150 PyDict_SetItemString(d
,"ROMAN", SWIG_From_int((int)wxROMAN
));
43151 PyDict_SetItemString(d
,"SCRIPT", SWIG_From_int((int)wxSCRIPT
));
43152 PyDict_SetItemString(d
,"SWISS", SWIG_From_int((int)wxSWISS
));
43153 PyDict_SetItemString(d
,"MODERN", SWIG_From_int((int)wxMODERN
));
43154 PyDict_SetItemString(d
,"TELETYPE", SWIG_From_int((int)wxTELETYPE
));
43155 PyDict_SetItemString(d
,"VARIABLE", SWIG_From_int((int)wxVARIABLE
));
43156 PyDict_SetItemString(d
,"FIXED", SWIG_From_int((int)wxFIXED
));
43157 PyDict_SetItemString(d
,"NORMAL", SWIG_From_int((int)wxNORMAL
));
43158 PyDict_SetItemString(d
,"LIGHT", SWIG_From_int((int)wxLIGHT
));
43159 PyDict_SetItemString(d
,"BOLD", SWIG_From_int((int)wxBOLD
));
43160 PyDict_SetItemString(d
,"ITALIC", SWIG_From_int((int)wxITALIC
));
43161 PyDict_SetItemString(d
,"SLANT", SWIG_From_int((int)wxSLANT
));
43162 PyDict_SetItemString(d
,"SOLID", SWIG_From_int((int)wxSOLID
));
43163 PyDict_SetItemString(d
,"DOT", SWIG_From_int((int)wxDOT
));
43164 PyDict_SetItemString(d
,"LONG_DASH", SWIG_From_int((int)wxLONG_DASH
));
43165 PyDict_SetItemString(d
,"SHORT_DASH", SWIG_From_int((int)wxSHORT_DASH
));
43166 PyDict_SetItemString(d
,"DOT_DASH", SWIG_From_int((int)wxDOT_DASH
));
43167 PyDict_SetItemString(d
,"USER_DASH", SWIG_From_int((int)wxUSER_DASH
));
43168 PyDict_SetItemString(d
,"TRANSPARENT", SWIG_From_int((int)wxTRANSPARENT
));
43169 PyDict_SetItemString(d
,"STIPPLE", SWIG_From_int((int)wxSTIPPLE
));
43170 PyDict_SetItemString(d
,"BDIAGONAL_HATCH", SWIG_From_int((int)wxBDIAGONAL_HATCH
));
43171 PyDict_SetItemString(d
,"CROSSDIAG_HATCH", SWIG_From_int((int)wxCROSSDIAG_HATCH
));
43172 PyDict_SetItemString(d
,"FDIAGONAL_HATCH", SWIG_From_int((int)wxFDIAGONAL_HATCH
));
43173 PyDict_SetItemString(d
,"CROSS_HATCH", SWIG_From_int((int)wxCROSS_HATCH
));
43174 PyDict_SetItemString(d
,"HORIZONTAL_HATCH", SWIG_From_int((int)wxHORIZONTAL_HATCH
));
43175 PyDict_SetItemString(d
,"VERTICAL_HATCH", SWIG_From_int((int)wxVERTICAL_HATCH
));
43176 PyDict_SetItemString(d
,"JOIN_BEVEL", SWIG_From_int((int)wxJOIN_BEVEL
));
43177 PyDict_SetItemString(d
,"JOIN_MITER", SWIG_From_int((int)wxJOIN_MITER
));
43178 PyDict_SetItemString(d
,"JOIN_ROUND", SWIG_From_int((int)wxJOIN_ROUND
));
43179 PyDict_SetItemString(d
,"CAP_ROUND", SWIG_From_int((int)wxCAP_ROUND
));
43180 PyDict_SetItemString(d
,"CAP_PROJECTING", SWIG_From_int((int)wxCAP_PROJECTING
));
43181 PyDict_SetItemString(d
,"CAP_BUTT", SWIG_From_int((int)wxCAP_BUTT
));
43182 PyDict_SetItemString(d
,"CLEAR", SWIG_From_int((int)wxCLEAR
));
43183 PyDict_SetItemString(d
,"XOR", SWIG_From_int((int)wxXOR
));
43184 PyDict_SetItemString(d
,"INVERT", SWIG_From_int((int)wxINVERT
));
43185 PyDict_SetItemString(d
,"OR_REVERSE", SWIG_From_int((int)wxOR_REVERSE
));
43186 PyDict_SetItemString(d
,"AND_REVERSE", SWIG_From_int((int)wxAND_REVERSE
));
43187 PyDict_SetItemString(d
,"COPY", SWIG_From_int((int)wxCOPY
));
43188 PyDict_SetItemString(d
,"AND", SWIG_From_int((int)wxAND
));
43189 PyDict_SetItemString(d
,"AND_INVERT", SWIG_From_int((int)wxAND_INVERT
));
43190 PyDict_SetItemString(d
,"NO_OP", SWIG_From_int((int)wxNO_OP
));
43191 PyDict_SetItemString(d
,"NOR", SWIG_From_int((int)wxNOR
));
43192 PyDict_SetItemString(d
,"EQUIV", SWIG_From_int((int)wxEQUIV
));
43193 PyDict_SetItemString(d
,"SRC_INVERT", SWIG_From_int((int)wxSRC_INVERT
));
43194 PyDict_SetItemString(d
,"OR_INVERT", SWIG_From_int((int)wxOR_INVERT
));
43195 PyDict_SetItemString(d
,"NAND", SWIG_From_int((int)wxNAND
));
43196 PyDict_SetItemString(d
,"OR", SWIG_From_int((int)wxOR
));
43197 PyDict_SetItemString(d
,"SET", SWIG_From_int((int)wxSET
));
43198 PyDict_SetItemString(d
,"WXK_BACK", SWIG_From_int((int)WXK_BACK
));
43199 PyDict_SetItemString(d
,"WXK_TAB", SWIG_From_int((int)WXK_TAB
));
43200 PyDict_SetItemString(d
,"WXK_RETURN", SWIG_From_int((int)WXK_RETURN
));
43201 PyDict_SetItemString(d
,"WXK_ESCAPE", SWIG_From_int((int)WXK_ESCAPE
));
43202 PyDict_SetItemString(d
,"WXK_SPACE", SWIG_From_int((int)WXK_SPACE
));
43203 PyDict_SetItemString(d
,"WXK_DELETE", SWIG_From_int((int)WXK_DELETE
));
43204 PyDict_SetItemString(d
,"WXK_START", SWIG_From_int((int)WXK_START
));
43205 PyDict_SetItemString(d
,"WXK_LBUTTON", SWIG_From_int((int)WXK_LBUTTON
));
43206 PyDict_SetItemString(d
,"WXK_RBUTTON", SWIG_From_int((int)WXK_RBUTTON
));
43207 PyDict_SetItemString(d
,"WXK_CANCEL", SWIG_From_int((int)WXK_CANCEL
));
43208 PyDict_SetItemString(d
,"WXK_MBUTTON", SWIG_From_int((int)WXK_MBUTTON
));
43209 PyDict_SetItemString(d
,"WXK_CLEAR", SWIG_From_int((int)WXK_CLEAR
));
43210 PyDict_SetItemString(d
,"WXK_SHIFT", SWIG_From_int((int)WXK_SHIFT
));
43211 PyDict_SetItemString(d
,"WXK_ALT", SWIG_From_int((int)WXK_ALT
));
43212 PyDict_SetItemString(d
,"WXK_CONTROL", SWIG_From_int((int)WXK_CONTROL
));
43213 PyDict_SetItemString(d
,"WXK_MENU", SWIG_From_int((int)WXK_MENU
));
43214 PyDict_SetItemString(d
,"WXK_PAUSE", SWIG_From_int((int)WXK_PAUSE
));
43215 PyDict_SetItemString(d
,"WXK_CAPITAL", SWIG_From_int((int)WXK_CAPITAL
));
43216 PyDict_SetItemString(d
,"WXK_PRIOR", SWIG_From_int((int)WXK_PRIOR
));
43217 PyDict_SetItemString(d
,"WXK_NEXT", SWIG_From_int((int)WXK_NEXT
));
43218 PyDict_SetItemString(d
,"WXK_END", SWIG_From_int((int)WXK_END
));
43219 PyDict_SetItemString(d
,"WXK_HOME", SWIG_From_int((int)WXK_HOME
));
43220 PyDict_SetItemString(d
,"WXK_LEFT", SWIG_From_int((int)WXK_LEFT
));
43221 PyDict_SetItemString(d
,"WXK_UP", SWIG_From_int((int)WXK_UP
));
43222 PyDict_SetItemString(d
,"WXK_RIGHT", SWIG_From_int((int)WXK_RIGHT
));
43223 PyDict_SetItemString(d
,"WXK_DOWN", SWIG_From_int((int)WXK_DOWN
));
43224 PyDict_SetItemString(d
,"WXK_SELECT", SWIG_From_int((int)WXK_SELECT
));
43225 PyDict_SetItemString(d
,"WXK_PRINT", SWIG_From_int((int)WXK_PRINT
));
43226 PyDict_SetItemString(d
,"WXK_EXECUTE", SWIG_From_int((int)WXK_EXECUTE
));
43227 PyDict_SetItemString(d
,"WXK_SNAPSHOT", SWIG_From_int((int)WXK_SNAPSHOT
));
43228 PyDict_SetItemString(d
,"WXK_INSERT", SWIG_From_int((int)WXK_INSERT
));
43229 PyDict_SetItemString(d
,"WXK_HELP", SWIG_From_int((int)WXK_HELP
));
43230 PyDict_SetItemString(d
,"WXK_NUMPAD0", SWIG_From_int((int)WXK_NUMPAD0
));
43231 PyDict_SetItemString(d
,"WXK_NUMPAD1", SWIG_From_int((int)WXK_NUMPAD1
));
43232 PyDict_SetItemString(d
,"WXK_NUMPAD2", SWIG_From_int((int)WXK_NUMPAD2
));
43233 PyDict_SetItemString(d
,"WXK_NUMPAD3", SWIG_From_int((int)WXK_NUMPAD3
));
43234 PyDict_SetItemString(d
,"WXK_NUMPAD4", SWIG_From_int((int)WXK_NUMPAD4
));
43235 PyDict_SetItemString(d
,"WXK_NUMPAD5", SWIG_From_int((int)WXK_NUMPAD5
));
43236 PyDict_SetItemString(d
,"WXK_NUMPAD6", SWIG_From_int((int)WXK_NUMPAD6
));
43237 PyDict_SetItemString(d
,"WXK_NUMPAD7", SWIG_From_int((int)WXK_NUMPAD7
));
43238 PyDict_SetItemString(d
,"WXK_NUMPAD8", SWIG_From_int((int)WXK_NUMPAD8
));
43239 PyDict_SetItemString(d
,"WXK_NUMPAD9", SWIG_From_int((int)WXK_NUMPAD9
));
43240 PyDict_SetItemString(d
,"WXK_MULTIPLY", SWIG_From_int((int)WXK_MULTIPLY
));
43241 PyDict_SetItemString(d
,"WXK_ADD", SWIG_From_int((int)WXK_ADD
));
43242 PyDict_SetItemString(d
,"WXK_SEPARATOR", SWIG_From_int((int)WXK_SEPARATOR
));
43243 PyDict_SetItemString(d
,"WXK_SUBTRACT", SWIG_From_int((int)WXK_SUBTRACT
));
43244 PyDict_SetItemString(d
,"WXK_DECIMAL", SWIG_From_int((int)WXK_DECIMAL
));
43245 PyDict_SetItemString(d
,"WXK_DIVIDE", SWIG_From_int((int)WXK_DIVIDE
));
43246 PyDict_SetItemString(d
,"WXK_F1", SWIG_From_int((int)WXK_F1
));
43247 PyDict_SetItemString(d
,"WXK_F2", SWIG_From_int((int)WXK_F2
));
43248 PyDict_SetItemString(d
,"WXK_F3", SWIG_From_int((int)WXK_F3
));
43249 PyDict_SetItemString(d
,"WXK_F4", SWIG_From_int((int)WXK_F4
));
43250 PyDict_SetItemString(d
,"WXK_F5", SWIG_From_int((int)WXK_F5
));
43251 PyDict_SetItemString(d
,"WXK_F6", SWIG_From_int((int)WXK_F6
));
43252 PyDict_SetItemString(d
,"WXK_F7", SWIG_From_int((int)WXK_F7
));
43253 PyDict_SetItemString(d
,"WXK_F8", SWIG_From_int((int)WXK_F8
));
43254 PyDict_SetItemString(d
,"WXK_F9", SWIG_From_int((int)WXK_F9
));
43255 PyDict_SetItemString(d
,"WXK_F10", SWIG_From_int((int)WXK_F10
));
43256 PyDict_SetItemString(d
,"WXK_F11", SWIG_From_int((int)WXK_F11
));
43257 PyDict_SetItemString(d
,"WXK_F12", SWIG_From_int((int)WXK_F12
));
43258 PyDict_SetItemString(d
,"WXK_F13", SWIG_From_int((int)WXK_F13
));
43259 PyDict_SetItemString(d
,"WXK_F14", SWIG_From_int((int)WXK_F14
));
43260 PyDict_SetItemString(d
,"WXK_F15", SWIG_From_int((int)WXK_F15
));
43261 PyDict_SetItemString(d
,"WXK_F16", SWIG_From_int((int)WXK_F16
));
43262 PyDict_SetItemString(d
,"WXK_F17", SWIG_From_int((int)WXK_F17
));
43263 PyDict_SetItemString(d
,"WXK_F18", SWIG_From_int((int)WXK_F18
));
43264 PyDict_SetItemString(d
,"WXK_F19", SWIG_From_int((int)WXK_F19
));
43265 PyDict_SetItemString(d
,"WXK_F20", SWIG_From_int((int)WXK_F20
));
43266 PyDict_SetItemString(d
,"WXK_F21", SWIG_From_int((int)WXK_F21
));
43267 PyDict_SetItemString(d
,"WXK_F22", SWIG_From_int((int)WXK_F22
));
43268 PyDict_SetItemString(d
,"WXK_F23", SWIG_From_int((int)WXK_F23
));
43269 PyDict_SetItemString(d
,"WXK_F24", SWIG_From_int((int)WXK_F24
));
43270 PyDict_SetItemString(d
,"WXK_NUMLOCK", SWIG_From_int((int)WXK_NUMLOCK
));
43271 PyDict_SetItemString(d
,"WXK_SCROLL", SWIG_From_int((int)WXK_SCROLL
));
43272 PyDict_SetItemString(d
,"WXK_PAGEUP", SWIG_From_int((int)WXK_PAGEUP
));
43273 PyDict_SetItemString(d
,"WXK_PAGEDOWN", SWIG_From_int((int)WXK_PAGEDOWN
));
43274 PyDict_SetItemString(d
,"WXK_NUMPAD_SPACE", SWIG_From_int((int)WXK_NUMPAD_SPACE
));
43275 PyDict_SetItemString(d
,"WXK_NUMPAD_TAB", SWIG_From_int((int)WXK_NUMPAD_TAB
));
43276 PyDict_SetItemString(d
,"WXK_NUMPAD_ENTER", SWIG_From_int((int)WXK_NUMPAD_ENTER
));
43277 PyDict_SetItemString(d
,"WXK_NUMPAD_F1", SWIG_From_int((int)WXK_NUMPAD_F1
));
43278 PyDict_SetItemString(d
,"WXK_NUMPAD_F2", SWIG_From_int((int)WXK_NUMPAD_F2
));
43279 PyDict_SetItemString(d
,"WXK_NUMPAD_F3", SWIG_From_int((int)WXK_NUMPAD_F3
));
43280 PyDict_SetItemString(d
,"WXK_NUMPAD_F4", SWIG_From_int((int)WXK_NUMPAD_F4
));
43281 PyDict_SetItemString(d
,"WXK_NUMPAD_HOME", SWIG_From_int((int)WXK_NUMPAD_HOME
));
43282 PyDict_SetItemString(d
,"WXK_NUMPAD_LEFT", SWIG_From_int((int)WXK_NUMPAD_LEFT
));
43283 PyDict_SetItemString(d
,"WXK_NUMPAD_UP", SWIG_From_int((int)WXK_NUMPAD_UP
));
43284 PyDict_SetItemString(d
,"WXK_NUMPAD_RIGHT", SWIG_From_int((int)WXK_NUMPAD_RIGHT
));
43285 PyDict_SetItemString(d
,"WXK_NUMPAD_DOWN", SWIG_From_int((int)WXK_NUMPAD_DOWN
));
43286 PyDict_SetItemString(d
,"WXK_NUMPAD_PRIOR", SWIG_From_int((int)WXK_NUMPAD_PRIOR
));
43287 PyDict_SetItemString(d
,"WXK_NUMPAD_PAGEUP", SWIG_From_int((int)WXK_NUMPAD_PAGEUP
));
43288 PyDict_SetItemString(d
,"WXK_NUMPAD_NEXT", SWIG_From_int((int)WXK_NUMPAD_NEXT
));
43289 PyDict_SetItemString(d
,"WXK_NUMPAD_PAGEDOWN", SWIG_From_int((int)WXK_NUMPAD_PAGEDOWN
));
43290 PyDict_SetItemString(d
,"WXK_NUMPAD_END", SWIG_From_int((int)WXK_NUMPAD_END
));
43291 PyDict_SetItemString(d
,"WXK_NUMPAD_BEGIN", SWIG_From_int((int)WXK_NUMPAD_BEGIN
));
43292 PyDict_SetItemString(d
,"WXK_NUMPAD_INSERT", SWIG_From_int((int)WXK_NUMPAD_INSERT
));
43293 PyDict_SetItemString(d
,"WXK_NUMPAD_DELETE", SWIG_From_int((int)WXK_NUMPAD_DELETE
));
43294 PyDict_SetItemString(d
,"WXK_NUMPAD_EQUAL", SWIG_From_int((int)WXK_NUMPAD_EQUAL
));
43295 PyDict_SetItemString(d
,"WXK_NUMPAD_MULTIPLY", SWIG_From_int((int)WXK_NUMPAD_MULTIPLY
));
43296 PyDict_SetItemString(d
,"WXK_NUMPAD_ADD", SWIG_From_int((int)WXK_NUMPAD_ADD
));
43297 PyDict_SetItemString(d
,"WXK_NUMPAD_SEPARATOR", SWIG_From_int((int)WXK_NUMPAD_SEPARATOR
));
43298 PyDict_SetItemString(d
,"WXK_NUMPAD_SUBTRACT", SWIG_From_int((int)WXK_NUMPAD_SUBTRACT
));
43299 PyDict_SetItemString(d
,"WXK_NUMPAD_DECIMAL", SWIG_From_int((int)WXK_NUMPAD_DECIMAL
));
43300 PyDict_SetItemString(d
,"WXK_NUMPAD_DIVIDE", SWIG_From_int((int)WXK_NUMPAD_DIVIDE
));
43301 PyDict_SetItemString(d
,"WXK_WINDOWS_LEFT", SWIG_From_int((int)WXK_WINDOWS_LEFT
));
43302 PyDict_SetItemString(d
,"WXK_WINDOWS_RIGHT", SWIG_From_int((int)WXK_WINDOWS_RIGHT
));
43303 PyDict_SetItemString(d
,"WXK_WINDOWS_MENU", SWIG_From_int((int)WXK_WINDOWS_MENU
));
43304 PyDict_SetItemString(d
,"PAPER_NONE", SWIG_From_int((int)wxPAPER_NONE
));
43305 PyDict_SetItemString(d
,"PAPER_LETTER", SWIG_From_int((int)wxPAPER_LETTER
));
43306 PyDict_SetItemString(d
,"PAPER_LEGAL", SWIG_From_int((int)wxPAPER_LEGAL
));
43307 PyDict_SetItemString(d
,"PAPER_A4", SWIG_From_int((int)wxPAPER_A4
));
43308 PyDict_SetItemString(d
,"PAPER_CSHEET", SWIG_From_int((int)wxPAPER_CSHEET
));
43309 PyDict_SetItemString(d
,"PAPER_DSHEET", SWIG_From_int((int)wxPAPER_DSHEET
));
43310 PyDict_SetItemString(d
,"PAPER_ESHEET", SWIG_From_int((int)wxPAPER_ESHEET
));
43311 PyDict_SetItemString(d
,"PAPER_LETTERSMALL", SWIG_From_int((int)wxPAPER_LETTERSMALL
));
43312 PyDict_SetItemString(d
,"PAPER_TABLOID", SWIG_From_int((int)wxPAPER_TABLOID
));
43313 PyDict_SetItemString(d
,"PAPER_LEDGER", SWIG_From_int((int)wxPAPER_LEDGER
));
43314 PyDict_SetItemString(d
,"PAPER_STATEMENT", SWIG_From_int((int)wxPAPER_STATEMENT
));
43315 PyDict_SetItemString(d
,"PAPER_EXECUTIVE", SWIG_From_int((int)wxPAPER_EXECUTIVE
));
43316 PyDict_SetItemString(d
,"PAPER_A3", SWIG_From_int((int)wxPAPER_A3
));
43317 PyDict_SetItemString(d
,"PAPER_A4SMALL", SWIG_From_int((int)wxPAPER_A4SMALL
));
43318 PyDict_SetItemString(d
,"PAPER_A5", SWIG_From_int((int)wxPAPER_A5
));
43319 PyDict_SetItemString(d
,"PAPER_B4", SWIG_From_int((int)wxPAPER_B4
));
43320 PyDict_SetItemString(d
,"PAPER_B5", SWIG_From_int((int)wxPAPER_B5
));
43321 PyDict_SetItemString(d
,"PAPER_FOLIO", SWIG_From_int((int)wxPAPER_FOLIO
));
43322 PyDict_SetItemString(d
,"PAPER_QUARTO", SWIG_From_int((int)wxPAPER_QUARTO
));
43323 PyDict_SetItemString(d
,"PAPER_10X14", SWIG_From_int((int)wxPAPER_10X14
));
43324 PyDict_SetItemString(d
,"PAPER_11X17", SWIG_From_int((int)wxPAPER_11X17
));
43325 PyDict_SetItemString(d
,"PAPER_NOTE", SWIG_From_int((int)wxPAPER_NOTE
));
43326 PyDict_SetItemString(d
,"PAPER_ENV_9", SWIG_From_int((int)wxPAPER_ENV_9
));
43327 PyDict_SetItemString(d
,"PAPER_ENV_10", SWIG_From_int((int)wxPAPER_ENV_10
));
43328 PyDict_SetItemString(d
,"PAPER_ENV_11", SWIG_From_int((int)wxPAPER_ENV_11
));
43329 PyDict_SetItemString(d
,"PAPER_ENV_12", SWIG_From_int((int)wxPAPER_ENV_12
));
43330 PyDict_SetItemString(d
,"PAPER_ENV_14", SWIG_From_int((int)wxPAPER_ENV_14
));
43331 PyDict_SetItemString(d
,"PAPER_ENV_DL", SWIG_From_int((int)wxPAPER_ENV_DL
));
43332 PyDict_SetItemString(d
,"PAPER_ENV_C5", SWIG_From_int((int)wxPAPER_ENV_C5
));
43333 PyDict_SetItemString(d
,"PAPER_ENV_C3", SWIG_From_int((int)wxPAPER_ENV_C3
));
43334 PyDict_SetItemString(d
,"PAPER_ENV_C4", SWIG_From_int((int)wxPAPER_ENV_C4
));
43335 PyDict_SetItemString(d
,"PAPER_ENV_C6", SWIG_From_int((int)wxPAPER_ENV_C6
));
43336 PyDict_SetItemString(d
,"PAPER_ENV_C65", SWIG_From_int((int)wxPAPER_ENV_C65
));
43337 PyDict_SetItemString(d
,"PAPER_ENV_B4", SWIG_From_int((int)wxPAPER_ENV_B4
));
43338 PyDict_SetItemString(d
,"PAPER_ENV_B5", SWIG_From_int((int)wxPAPER_ENV_B5
));
43339 PyDict_SetItemString(d
,"PAPER_ENV_B6", SWIG_From_int((int)wxPAPER_ENV_B6
));
43340 PyDict_SetItemString(d
,"PAPER_ENV_ITALY", SWIG_From_int((int)wxPAPER_ENV_ITALY
));
43341 PyDict_SetItemString(d
,"PAPER_ENV_MONARCH", SWIG_From_int((int)wxPAPER_ENV_MONARCH
));
43342 PyDict_SetItemString(d
,"PAPER_ENV_PERSONAL", SWIG_From_int((int)wxPAPER_ENV_PERSONAL
));
43343 PyDict_SetItemString(d
,"PAPER_FANFOLD_US", SWIG_From_int((int)wxPAPER_FANFOLD_US
));
43344 PyDict_SetItemString(d
,"PAPER_FANFOLD_STD_GERMAN", SWIG_From_int((int)wxPAPER_FANFOLD_STD_GERMAN
));
43345 PyDict_SetItemString(d
,"PAPER_FANFOLD_LGL_GERMAN", SWIG_From_int((int)wxPAPER_FANFOLD_LGL_GERMAN
));
43346 PyDict_SetItemString(d
,"PAPER_ISO_B4", SWIG_From_int((int)wxPAPER_ISO_B4
));
43347 PyDict_SetItemString(d
,"PAPER_JAPANESE_POSTCARD", SWIG_From_int((int)wxPAPER_JAPANESE_POSTCARD
));
43348 PyDict_SetItemString(d
,"PAPER_9X11", SWIG_From_int((int)wxPAPER_9X11
));
43349 PyDict_SetItemString(d
,"PAPER_10X11", SWIG_From_int((int)wxPAPER_10X11
));
43350 PyDict_SetItemString(d
,"PAPER_15X11", SWIG_From_int((int)wxPAPER_15X11
));
43351 PyDict_SetItemString(d
,"PAPER_ENV_INVITE", SWIG_From_int((int)wxPAPER_ENV_INVITE
));
43352 PyDict_SetItemString(d
,"PAPER_LETTER_EXTRA", SWIG_From_int((int)wxPAPER_LETTER_EXTRA
));
43353 PyDict_SetItemString(d
,"PAPER_LEGAL_EXTRA", SWIG_From_int((int)wxPAPER_LEGAL_EXTRA
));
43354 PyDict_SetItemString(d
,"PAPER_TABLOID_EXTRA", SWIG_From_int((int)wxPAPER_TABLOID_EXTRA
));
43355 PyDict_SetItemString(d
,"PAPER_A4_EXTRA", SWIG_From_int((int)wxPAPER_A4_EXTRA
));
43356 PyDict_SetItemString(d
,"PAPER_LETTER_TRANSVERSE", SWIG_From_int((int)wxPAPER_LETTER_TRANSVERSE
));
43357 PyDict_SetItemString(d
,"PAPER_A4_TRANSVERSE", SWIG_From_int((int)wxPAPER_A4_TRANSVERSE
));
43358 PyDict_SetItemString(d
,"PAPER_LETTER_EXTRA_TRANSVERSE", SWIG_From_int((int)wxPAPER_LETTER_EXTRA_TRANSVERSE
));
43359 PyDict_SetItemString(d
,"PAPER_A_PLUS", SWIG_From_int((int)wxPAPER_A_PLUS
));
43360 PyDict_SetItemString(d
,"PAPER_B_PLUS", SWIG_From_int((int)wxPAPER_B_PLUS
));
43361 PyDict_SetItemString(d
,"PAPER_LETTER_PLUS", SWIG_From_int((int)wxPAPER_LETTER_PLUS
));
43362 PyDict_SetItemString(d
,"PAPER_A4_PLUS", SWIG_From_int((int)wxPAPER_A4_PLUS
));
43363 PyDict_SetItemString(d
,"PAPER_A5_TRANSVERSE", SWIG_From_int((int)wxPAPER_A5_TRANSVERSE
));
43364 PyDict_SetItemString(d
,"PAPER_B5_TRANSVERSE", SWIG_From_int((int)wxPAPER_B5_TRANSVERSE
));
43365 PyDict_SetItemString(d
,"PAPER_A3_EXTRA", SWIG_From_int((int)wxPAPER_A3_EXTRA
));
43366 PyDict_SetItemString(d
,"PAPER_A5_EXTRA", SWIG_From_int((int)wxPAPER_A5_EXTRA
));
43367 PyDict_SetItemString(d
,"PAPER_B5_EXTRA", SWIG_From_int((int)wxPAPER_B5_EXTRA
));
43368 PyDict_SetItemString(d
,"PAPER_A2", SWIG_From_int((int)wxPAPER_A2
));
43369 PyDict_SetItemString(d
,"PAPER_A3_TRANSVERSE", SWIG_From_int((int)wxPAPER_A3_TRANSVERSE
));
43370 PyDict_SetItemString(d
,"PAPER_A3_EXTRA_TRANSVERSE", SWIG_From_int((int)wxPAPER_A3_EXTRA_TRANSVERSE
));
43371 PyDict_SetItemString(d
,"DUPLEX_SIMPLEX", SWIG_From_int((int)wxDUPLEX_SIMPLEX
));
43372 PyDict_SetItemString(d
,"DUPLEX_HORIZONTAL", SWIG_From_int((int)wxDUPLEX_HORIZONTAL
));
43373 PyDict_SetItemString(d
,"DUPLEX_VERTICAL", SWIG_From_int((int)wxDUPLEX_VERTICAL
));
43374 PyDict_SetItemString(d
,"ITEM_SEPARATOR", SWIG_From_int((int)wxITEM_SEPARATOR
));
43375 PyDict_SetItemString(d
,"ITEM_NORMAL", SWIG_From_int((int)wxITEM_NORMAL
));
43376 PyDict_SetItemString(d
,"ITEM_CHECK", SWIG_From_int((int)wxITEM_CHECK
));
43377 PyDict_SetItemString(d
,"ITEM_RADIO", SWIG_From_int((int)wxITEM_RADIO
));
43378 PyDict_SetItemString(d
,"ITEM_MAX", SWIG_From_int((int)wxITEM_MAX
));
43379 PyDict_SetItemString(d
,"HT_NOWHERE", SWIG_From_int((int)wxHT_NOWHERE
));
43380 PyDict_SetItemString(d
,"HT_SCROLLBAR_FIRST", SWIG_From_int((int)wxHT_SCROLLBAR_FIRST
));
43381 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_LINE_1", SWIG_From_int((int)wxHT_SCROLLBAR_ARROW_LINE_1
));
43382 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_LINE_2", SWIG_From_int((int)wxHT_SCROLLBAR_ARROW_LINE_2
));
43383 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_PAGE_1", SWIG_From_int((int)wxHT_SCROLLBAR_ARROW_PAGE_1
));
43384 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_PAGE_2", SWIG_From_int((int)wxHT_SCROLLBAR_ARROW_PAGE_2
));
43385 PyDict_SetItemString(d
,"HT_SCROLLBAR_THUMB", SWIG_From_int((int)wxHT_SCROLLBAR_THUMB
));
43386 PyDict_SetItemString(d
,"HT_SCROLLBAR_BAR_1", SWIG_From_int((int)wxHT_SCROLLBAR_BAR_1
));
43387 PyDict_SetItemString(d
,"HT_SCROLLBAR_BAR_2", SWIG_From_int((int)wxHT_SCROLLBAR_BAR_2
));
43388 PyDict_SetItemString(d
,"HT_SCROLLBAR_LAST", SWIG_From_int((int)wxHT_SCROLLBAR_LAST
));
43389 PyDict_SetItemString(d
,"HT_WINDOW_OUTSIDE", SWIG_From_int((int)wxHT_WINDOW_OUTSIDE
));
43390 PyDict_SetItemString(d
,"HT_WINDOW_INSIDE", SWIG_From_int((int)wxHT_WINDOW_INSIDE
));
43391 PyDict_SetItemString(d
,"HT_WINDOW_VERT_SCROLLBAR", SWIG_From_int((int)wxHT_WINDOW_VERT_SCROLLBAR
));
43392 PyDict_SetItemString(d
,"HT_WINDOW_HORZ_SCROLLBAR", SWIG_From_int((int)wxHT_WINDOW_HORZ_SCROLLBAR
));
43393 PyDict_SetItemString(d
,"HT_WINDOW_CORNER", SWIG_From_int((int)wxHT_WINDOW_CORNER
));
43394 PyDict_SetItemString(d
,"HT_MAX", SWIG_From_int((int)wxHT_MAX
));
43395 PyDict_SetItemString(d
,"MOD_NONE", SWIG_From_int((int)wxMOD_NONE
));
43396 PyDict_SetItemString(d
,"MOD_ALT", SWIG_From_int((int)wxMOD_ALT
));
43397 PyDict_SetItemString(d
,"MOD_CONTROL", SWIG_From_int((int)wxMOD_CONTROL
));
43398 PyDict_SetItemString(d
,"MOD_SHIFT", SWIG_From_int((int)wxMOD_SHIFT
));
43399 PyDict_SetItemString(d
,"MOD_WIN", SWIG_From_int((int)wxMOD_WIN
));
43400 PyDict_SetItemString(d
,"UPDATE_UI_NONE", SWIG_From_int((int)wxUPDATE_UI_NONE
));
43401 PyDict_SetItemString(d
,"UPDATE_UI_RECURSE", SWIG_From_int((int)wxUPDATE_UI_RECURSE
));
43402 PyDict_SetItemString(d
,"UPDATE_UI_FROMIDLE", SWIG_From_int((int)wxUPDATE_UI_FROMIDLE
));
43403 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
43404 SWIG_addvarlink(SWIG_globals
,(char*)"EmptyString",_wrap_EmptyString_get
, _wrap_EmptyString_set
);
43405 PyDict_SetItemString(d
,"BITMAP_TYPE_INVALID", SWIG_From_int((int)wxBITMAP_TYPE_INVALID
));
43406 PyDict_SetItemString(d
,"BITMAP_TYPE_BMP", SWIG_From_int((int)wxBITMAP_TYPE_BMP
));
43407 PyDict_SetItemString(d
,"BITMAP_TYPE_ICO", SWIG_From_int((int)wxBITMAP_TYPE_ICO
));
43408 PyDict_SetItemString(d
,"BITMAP_TYPE_CUR", SWIG_From_int((int)wxBITMAP_TYPE_CUR
));
43409 PyDict_SetItemString(d
,"BITMAP_TYPE_XBM", SWIG_From_int((int)wxBITMAP_TYPE_XBM
));
43410 PyDict_SetItemString(d
,"BITMAP_TYPE_XBM_DATA", SWIG_From_int((int)wxBITMAP_TYPE_XBM_DATA
));
43411 PyDict_SetItemString(d
,"BITMAP_TYPE_XPM", SWIG_From_int((int)wxBITMAP_TYPE_XPM
));
43412 PyDict_SetItemString(d
,"BITMAP_TYPE_XPM_DATA", SWIG_From_int((int)wxBITMAP_TYPE_XPM_DATA
));
43413 PyDict_SetItemString(d
,"BITMAP_TYPE_TIF", SWIG_From_int((int)wxBITMAP_TYPE_TIF
));
43414 PyDict_SetItemString(d
,"BITMAP_TYPE_GIF", SWIG_From_int((int)wxBITMAP_TYPE_GIF
));
43415 PyDict_SetItemString(d
,"BITMAP_TYPE_PNG", SWIG_From_int((int)wxBITMAP_TYPE_PNG
));
43416 PyDict_SetItemString(d
,"BITMAP_TYPE_JPEG", SWIG_From_int((int)wxBITMAP_TYPE_JPEG
));
43417 PyDict_SetItemString(d
,"BITMAP_TYPE_PNM", SWIG_From_int((int)wxBITMAP_TYPE_PNM
));
43418 PyDict_SetItemString(d
,"BITMAP_TYPE_PCX", SWIG_From_int((int)wxBITMAP_TYPE_PCX
));
43419 PyDict_SetItemString(d
,"BITMAP_TYPE_PICT", SWIG_From_int((int)wxBITMAP_TYPE_PICT
));
43420 PyDict_SetItemString(d
,"BITMAP_TYPE_ICON", SWIG_From_int((int)wxBITMAP_TYPE_ICON
));
43421 PyDict_SetItemString(d
,"BITMAP_TYPE_ANI", SWIG_From_int((int)wxBITMAP_TYPE_ANI
));
43422 PyDict_SetItemString(d
,"BITMAP_TYPE_IFF", SWIG_From_int((int)wxBITMAP_TYPE_IFF
));
43423 PyDict_SetItemString(d
,"BITMAP_TYPE_MACCURSOR", SWIG_From_int((int)wxBITMAP_TYPE_MACCURSOR
));
43424 PyDict_SetItemString(d
,"BITMAP_TYPE_ANY", SWIG_From_int((int)wxBITMAP_TYPE_ANY
));
43425 PyDict_SetItemString(d
,"CURSOR_NONE", SWIG_From_int((int)wxCURSOR_NONE
));
43426 PyDict_SetItemString(d
,"CURSOR_ARROW", SWIG_From_int((int)wxCURSOR_ARROW
));
43427 PyDict_SetItemString(d
,"CURSOR_RIGHT_ARROW", SWIG_From_int((int)wxCURSOR_RIGHT_ARROW
));
43428 PyDict_SetItemString(d
,"CURSOR_BULLSEYE", SWIG_From_int((int)wxCURSOR_BULLSEYE
));
43429 PyDict_SetItemString(d
,"CURSOR_CHAR", SWIG_From_int((int)wxCURSOR_CHAR
));
43430 PyDict_SetItemString(d
,"CURSOR_CROSS", SWIG_From_int((int)wxCURSOR_CROSS
));
43431 PyDict_SetItemString(d
,"CURSOR_HAND", SWIG_From_int((int)wxCURSOR_HAND
));
43432 PyDict_SetItemString(d
,"CURSOR_IBEAM", SWIG_From_int((int)wxCURSOR_IBEAM
));
43433 PyDict_SetItemString(d
,"CURSOR_LEFT_BUTTON", SWIG_From_int((int)wxCURSOR_LEFT_BUTTON
));
43434 PyDict_SetItemString(d
,"CURSOR_MAGNIFIER", SWIG_From_int((int)wxCURSOR_MAGNIFIER
));
43435 PyDict_SetItemString(d
,"CURSOR_MIDDLE_BUTTON", SWIG_From_int((int)wxCURSOR_MIDDLE_BUTTON
));
43436 PyDict_SetItemString(d
,"CURSOR_NO_ENTRY", SWIG_From_int((int)wxCURSOR_NO_ENTRY
));
43437 PyDict_SetItemString(d
,"CURSOR_PAINT_BRUSH", SWIG_From_int((int)wxCURSOR_PAINT_BRUSH
));
43438 PyDict_SetItemString(d
,"CURSOR_PENCIL", SWIG_From_int((int)wxCURSOR_PENCIL
));
43439 PyDict_SetItemString(d
,"CURSOR_POINT_LEFT", SWIG_From_int((int)wxCURSOR_POINT_LEFT
));
43440 PyDict_SetItemString(d
,"CURSOR_POINT_RIGHT", SWIG_From_int((int)wxCURSOR_POINT_RIGHT
));
43441 PyDict_SetItemString(d
,"CURSOR_QUESTION_ARROW", SWIG_From_int((int)wxCURSOR_QUESTION_ARROW
));
43442 PyDict_SetItemString(d
,"CURSOR_RIGHT_BUTTON", SWIG_From_int((int)wxCURSOR_RIGHT_BUTTON
));
43443 PyDict_SetItemString(d
,"CURSOR_SIZENESW", SWIG_From_int((int)wxCURSOR_SIZENESW
));
43444 PyDict_SetItemString(d
,"CURSOR_SIZENS", SWIG_From_int((int)wxCURSOR_SIZENS
));
43445 PyDict_SetItemString(d
,"CURSOR_SIZENWSE", SWIG_From_int((int)wxCURSOR_SIZENWSE
));
43446 PyDict_SetItemString(d
,"CURSOR_SIZEWE", SWIG_From_int((int)wxCURSOR_SIZEWE
));
43447 PyDict_SetItemString(d
,"CURSOR_SIZING", SWIG_From_int((int)wxCURSOR_SIZING
));
43448 PyDict_SetItemString(d
,"CURSOR_SPRAYCAN", SWIG_From_int((int)wxCURSOR_SPRAYCAN
));
43449 PyDict_SetItemString(d
,"CURSOR_WAIT", SWIG_From_int((int)wxCURSOR_WAIT
));
43450 PyDict_SetItemString(d
,"CURSOR_WATCH", SWIG_From_int((int)wxCURSOR_WATCH
));
43451 PyDict_SetItemString(d
,"CURSOR_BLANK", SWIG_From_int((int)wxCURSOR_BLANK
));
43452 PyDict_SetItemString(d
,"CURSOR_DEFAULT", SWIG_From_int((int)wxCURSOR_DEFAULT
));
43453 PyDict_SetItemString(d
,"CURSOR_COPY_ARROW", SWIG_From_int((int)wxCURSOR_COPY_ARROW
));
43454 PyDict_SetItemString(d
,"CURSOR_ARROWWAIT", SWIG_From_int((int)wxCURSOR_ARROWWAIT
));
43455 PyDict_SetItemString(d
,"CURSOR_MAX", SWIG_From_int((int)wxCURSOR_MAX
));
43456 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultPosition",_wrap_DefaultPosition_get
, _wrap_DefaultPosition_set
);
43457 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSize",_wrap_DefaultSize_get
, _wrap_DefaultSize_set
);
43458 PyDict_SetItemString(d
,"FromStart", SWIG_From_int((int)wxFromStart
));
43459 PyDict_SetItemString(d
,"FromCurrent", SWIG_From_int((int)wxFromCurrent
));
43460 PyDict_SetItemString(d
,"FromEnd", SWIG_From_int((int)wxFromEnd
));
43462 wxPyPtrTypeMap_Add("wxInputStream", "wxPyInputStream");
43465 wxPyPtrTypeMap_Add("wxFileSystemHandler", "wxPyFileSystemHandler");
43467 SWIG_addvarlink(SWIG_globals
,(char*)"NullImage",_wrap_NullImage_get
, _wrap_NullImage_set
);
43468 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_BMP_FORMAT",_wrap_IMAGE_OPTION_BMP_FORMAT_get
, _wrap_IMAGE_OPTION_BMP_FORMAT_set
);
43469 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_X",_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set
);
43470 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_Y",_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set
);
43471 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTION",_wrap_IMAGE_OPTION_RESOLUTION_get
, _wrap_IMAGE_OPTION_RESOLUTION_set
);
43472 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTIONUNIT",_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get
, _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set
);
43473 PyDict_SetItemString(d
,"IMAGE_RESOLUTION_INCHES", SWIG_From_int((int)wxIMAGE_RESOLUTION_INCHES
));
43474 PyDict_SetItemString(d
,"IMAGE_RESOLUTION_CM", SWIG_From_int((int)wxIMAGE_RESOLUTION_CM
));
43475 PyDict_SetItemString(d
,"BMP_24BPP", SWIG_From_int((int)wxBMP_24BPP
));
43476 PyDict_SetItemString(d
,"BMP_8BPP", SWIG_From_int((int)wxBMP_8BPP
));
43477 PyDict_SetItemString(d
,"BMP_8BPP_GREY", SWIG_From_int((int)wxBMP_8BPP_GREY
));
43478 PyDict_SetItemString(d
,"BMP_8BPP_GRAY", SWIG_From_int((int)wxBMP_8BPP_GRAY
));
43479 PyDict_SetItemString(d
,"BMP_8BPP_RED", SWIG_From_int((int)wxBMP_8BPP_RED
));
43480 PyDict_SetItemString(d
,"BMP_8BPP_PALETTE", SWIG_From_int((int)wxBMP_8BPP_PALETTE
));
43481 PyDict_SetItemString(d
,"BMP_4BPP", SWIG_From_int((int)wxBMP_4BPP
));
43482 PyDict_SetItemString(d
,"BMP_1BPP", SWIG_From_int((int)wxBMP_1BPP
));
43483 PyDict_SetItemString(d
,"BMP_1BPP_BW", SWIG_From_int((int)wxBMP_1BPP_BW
));
43484 PyDict_SetItemString(d
,"QUANTIZE_INCLUDE_WINDOWS_COLOURS", SWIG_From_int((int)wxQUANTIZE_INCLUDE_WINDOWS_COLOURS
));
43485 PyDict_SetItemString(d
,"QUANTIZE_FILL_DESTINATION_IMAGE", SWIG_From_int((int)wxQUANTIZE_FILL_DESTINATION_IMAGE
));
43486 PyDict_SetItemString(d
,"EVENT_PROPAGATE_NONE", SWIG_From_int((int)wxEVENT_PROPAGATE_NONE
));
43487 PyDict_SetItemString(d
,"EVENT_PROPAGATE_MAX", SWIG_From_int((int)wxEVENT_PROPAGATE_MAX
));
43488 PyDict_SetItemString(d
, "wxEVT_NULL", PyInt_FromLong(wxEVT_NULL
));
43489 PyDict_SetItemString(d
, "wxEVT_FIRST", PyInt_FromLong(wxEVT_FIRST
));
43490 PyDict_SetItemString(d
, "wxEVT_USER_FIRST", PyInt_FromLong(wxEVT_USER_FIRST
));
43491 PyDict_SetItemString(d
, "wxEVT_COMMAND_BUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_BUTTON_CLICKED
));
43492 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKBOX_CLICKED", PyInt_FromLong(wxEVT_COMMAND_CHECKBOX_CLICKED
));
43493 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICE_SELECTED", PyInt_FromLong(wxEVT_COMMAND_CHOICE_SELECTED
));
43494 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_SELECTED
));
43495 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_DOUBLECLICKED
));
43496 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKLISTBOX_TOGGLED", PyInt_FromLong(wxEVT_COMMAND_CHECKLISTBOX_TOGGLED
));
43497 PyDict_SetItemString(d
, "wxEVT_COMMAND_MENU_SELECTED", PyInt_FromLong(wxEVT_COMMAND_MENU_SELECTED
));
43498 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_CLICKED
));
43499 PyDict_SetItemString(d
, "wxEVT_COMMAND_SLIDER_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SLIDER_UPDATED
));
43500 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBOX_SELECTED
));
43501 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBUTTON_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBUTTON_SELECTED
));
43502 PyDict_SetItemString(d
, "wxEVT_COMMAND_SCROLLBAR_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SCROLLBAR_UPDATED
));
43503 PyDict_SetItemString(d
, "wxEVT_COMMAND_VLBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_VLBOX_SELECTED
));
43504 PyDict_SetItemString(d
, "wxEVT_COMMAND_COMBOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_COMBOBOX_SELECTED
));
43505 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_RCLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_RCLICKED
));
43506 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_ENTER", PyInt_FromLong(wxEVT_COMMAND_TOOL_ENTER
));
43507 PyDict_SetItemString(d
, "wxEVT_LEFT_DOWN", PyInt_FromLong(wxEVT_LEFT_DOWN
));
43508 PyDict_SetItemString(d
, "wxEVT_LEFT_UP", PyInt_FromLong(wxEVT_LEFT_UP
));
43509 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DOWN", PyInt_FromLong(wxEVT_MIDDLE_DOWN
));
43510 PyDict_SetItemString(d
, "wxEVT_MIDDLE_UP", PyInt_FromLong(wxEVT_MIDDLE_UP
));
43511 PyDict_SetItemString(d
, "wxEVT_RIGHT_DOWN", PyInt_FromLong(wxEVT_RIGHT_DOWN
));
43512 PyDict_SetItemString(d
, "wxEVT_RIGHT_UP", PyInt_FromLong(wxEVT_RIGHT_UP
));
43513 PyDict_SetItemString(d
, "wxEVT_MOTION", PyInt_FromLong(wxEVT_MOTION
));
43514 PyDict_SetItemString(d
, "wxEVT_ENTER_WINDOW", PyInt_FromLong(wxEVT_ENTER_WINDOW
));
43515 PyDict_SetItemString(d
, "wxEVT_LEAVE_WINDOW", PyInt_FromLong(wxEVT_LEAVE_WINDOW
));
43516 PyDict_SetItemString(d
, "wxEVT_LEFT_DCLICK", PyInt_FromLong(wxEVT_LEFT_DCLICK
));
43517 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_MIDDLE_DCLICK
));
43518 PyDict_SetItemString(d
, "wxEVT_RIGHT_DCLICK", PyInt_FromLong(wxEVT_RIGHT_DCLICK
));
43519 PyDict_SetItemString(d
, "wxEVT_SET_FOCUS", PyInt_FromLong(wxEVT_SET_FOCUS
));
43520 PyDict_SetItemString(d
, "wxEVT_KILL_FOCUS", PyInt_FromLong(wxEVT_KILL_FOCUS
));
43521 PyDict_SetItemString(d
, "wxEVT_CHILD_FOCUS", PyInt_FromLong(wxEVT_CHILD_FOCUS
));
43522 PyDict_SetItemString(d
, "wxEVT_MOUSEWHEEL", PyInt_FromLong(wxEVT_MOUSEWHEEL
));
43523 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DOWN", PyInt_FromLong(wxEVT_NC_LEFT_DOWN
));
43524 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_UP", PyInt_FromLong(wxEVT_NC_LEFT_UP
));
43525 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DOWN", PyInt_FromLong(wxEVT_NC_MIDDLE_DOWN
));
43526 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_UP", PyInt_FromLong(wxEVT_NC_MIDDLE_UP
));
43527 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DOWN", PyInt_FromLong(wxEVT_NC_RIGHT_DOWN
));
43528 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_UP", PyInt_FromLong(wxEVT_NC_RIGHT_UP
));
43529 PyDict_SetItemString(d
, "wxEVT_NC_MOTION", PyInt_FromLong(wxEVT_NC_MOTION
));
43530 PyDict_SetItemString(d
, "wxEVT_NC_ENTER_WINDOW", PyInt_FromLong(wxEVT_NC_ENTER_WINDOW
));
43531 PyDict_SetItemString(d
, "wxEVT_NC_LEAVE_WINDOW", PyInt_FromLong(wxEVT_NC_LEAVE_WINDOW
));
43532 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DCLICK", PyInt_FromLong(wxEVT_NC_LEFT_DCLICK
));
43533 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_NC_MIDDLE_DCLICK
));
43534 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DCLICK", PyInt_FromLong(wxEVT_NC_RIGHT_DCLICK
));
43535 PyDict_SetItemString(d
, "wxEVT_CHAR", PyInt_FromLong(wxEVT_CHAR
));
43536 PyDict_SetItemString(d
, "wxEVT_CHAR_HOOK", PyInt_FromLong(wxEVT_CHAR_HOOK
));
43537 PyDict_SetItemString(d
, "wxEVT_NAVIGATION_KEY", PyInt_FromLong(wxEVT_NAVIGATION_KEY
));
43538 PyDict_SetItemString(d
, "wxEVT_KEY_DOWN", PyInt_FromLong(wxEVT_KEY_DOWN
));
43539 PyDict_SetItemString(d
, "wxEVT_KEY_UP", PyInt_FromLong(wxEVT_KEY_UP
));
43540 PyDict_SetItemString(d
, "wxEVT_HOTKEY", PyInt_FromLong(wxEVT_HOTKEY
));
43541 PyDict_SetItemString(d
, "wxEVT_SET_CURSOR", PyInt_FromLong(wxEVT_SET_CURSOR
));
43542 PyDict_SetItemString(d
, "wxEVT_SCROLL_TOP", PyInt_FromLong(wxEVT_SCROLL_TOP
));
43543 PyDict_SetItemString(d
, "wxEVT_SCROLL_BOTTOM", PyInt_FromLong(wxEVT_SCROLL_BOTTOM
));
43544 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEUP", PyInt_FromLong(wxEVT_SCROLL_LINEUP
));
43545 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEDOWN", PyInt_FromLong(wxEVT_SCROLL_LINEDOWN
));
43546 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEUP", PyInt_FromLong(wxEVT_SCROLL_PAGEUP
));
43547 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLL_PAGEDOWN
));
43548 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLL_THUMBTRACK
));
43549 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLL_THUMBRELEASE
));
43550 PyDict_SetItemString(d
, "wxEVT_SCROLL_ENDSCROLL", PyInt_FromLong(wxEVT_SCROLL_ENDSCROLL
));
43551 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_TOP", PyInt_FromLong(wxEVT_SCROLLWIN_TOP
));
43552 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_BOTTOM", PyInt_FromLong(wxEVT_SCROLLWIN_BOTTOM
));
43553 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEUP", PyInt_FromLong(wxEVT_SCROLLWIN_LINEUP
));
43554 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_LINEDOWN
));
43555 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEUP", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEUP
));
43556 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEDOWN
));
43557 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBTRACK
));
43558 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBRELEASE
));
43559 PyDict_SetItemString(d
, "wxEVT_SIZE", PyInt_FromLong(wxEVT_SIZE
));
43560 PyDict_SetItemString(d
, "wxEVT_MOVE", PyInt_FromLong(wxEVT_MOVE
));
43561 PyDict_SetItemString(d
, "wxEVT_CLOSE_WINDOW", PyInt_FromLong(wxEVT_CLOSE_WINDOW
));
43562 PyDict_SetItemString(d
, "wxEVT_END_SESSION", PyInt_FromLong(wxEVT_END_SESSION
));
43563 PyDict_SetItemString(d
, "wxEVT_QUERY_END_SESSION", PyInt_FromLong(wxEVT_QUERY_END_SESSION
));
43564 PyDict_SetItemString(d
, "wxEVT_ACTIVATE_APP", PyInt_FromLong(wxEVT_ACTIVATE_APP
));
43565 PyDict_SetItemString(d
, "wxEVT_POWER", PyInt_FromLong(wxEVT_POWER
));
43566 PyDict_SetItemString(d
, "wxEVT_ACTIVATE", PyInt_FromLong(wxEVT_ACTIVATE
));
43567 PyDict_SetItemString(d
, "wxEVT_CREATE", PyInt_FromLong(wxEVT_CREATE
));
43568 PyDict_SetItemString(d
, "wxEVT_DESTROY", PyInt_FromLong(wxEVT_DESTROY
));
43569 PyDict_SetItemString(d
, "wxEVT_SHOW", PyInt_FromLong(wxEVT_SHOW
));
43570 PyDict_SetItemString(d
, "wxEVT_ICONIZE", PyInt_FromLong(wxEVT_ICONIZE
));
43571 PyDict_SetItemString(d
, "wxEVT_MAXIMIZE", PyInt_FromLong(wxEVT_MAXIMIZE
));
43572 PyDict_SetItemString(d
, "wxEVT_MOUSE_CAPTURE_CHANGED", PyInt_FromLong(wxEVT_MOUSE_CAPTURE_CHANGED
));
43573 PyDict_SetItemString(d
, "wxEVT_PAINT", PyInt_FromLong(wxEVT_PAINT
));
43574 PyDict_SetItemString(d
, "wxEVT_ERASE_BACKGROUND", PyInt_FromLong(wxEVT_ERASE_BACKGROUND
));
43575 PyDict_SetItemString(d
, "wxEVT_NC_PAINT", PyInt_FromLong(wxEVT_NC_PAINT
));
43576 PyDict_SetItemString(d
, "wxEVT_PAINT_ICON", PyInt_FromLong(wxEVT_PAINT_ICON
));
43577 PyDict_SetItemString(d
, "wxEVT_MENU_OPEN", PyInt_FromLong(wxEVT_MENU_OPEN
));
43578 PyDict_SetItemString(d
, "wxEVT_MENU_CLOSE", PyInt_FromLong(wxEVT_MENU_CLOSE
));
43579 PyDict_SetItemString(d
, "wxEVT_MENU_HIGHLIGHT", PyInt_FromLong(wxEVT_MENU_HIGHLIGHT
));
43580 PyDict_SetItemString(d
, "wxEVT_CONTEXT_MENU", PyInt_FromLong(wxEVT_CONTEXT_MENU
));
43581 PyDict_SetItemString(d
, "wxEVT_SYS_COLOUR_CHANGED", PyInt_FromLong(wxEVT_SYS_COLOUR_CHANGED
));
43582 PyDict_SetItemString(d
, "wxEVT_DISPLAY_CHANGED", PyInt_FromLong(wxEVT_DISPLAY_CHANGED
));
43583 PyDict_SetItemString(d
, "wxEVT_SETTING_CHANGED", PyInt_FromLong(wxEVT_SETTING_CHANGED
));
43584 PyDict_SetItemString(d
, "wxEVT_QUERY_NEW_PALETTE", PyInt_FromLong(wxEVT_QUERY_NEW_PALETTE
));
43585 PyDict_SetItemString(d
, "wxEVT_PALETTE_CHANGED", PyInt_FromLong(wxEVT_PALETTE_CHANGED
));
43586 PyDict_SetItemString(d
, "wxEVT_DROP_FILES", PyInt_FromLong(wxEVT_DROP_FILES
));
43587 PyDict_SetItemString(d
, "wxEVT_DRAW_ITEM", PyInt_FromLong(wxEVT_DRAW_ITEM
));
43588 PyDict_SetItemString(d
, "wxEVT_MEASURE_ITEM", PyInt_FromLong(wxEVT_MEASURE_ITEM
));
43589 PyDict_SetItemString(d
, "wxEVT_COMPARE_ITEM", PyInt_FromLong(wxEVT_COMPARE_ITEM
));
43590 PyDict_SetItemString(d
, "wxEVT_INIT_DIALOG", PyInt_FromLong(wxEVT_INIT_DIALOG
));
43591 PyDict_SetItemString(d
, "wxEVT_IDLE", PyInt_FromLong(wxEVT_IDLE
));
43592 PyDict_SetItemString(d
, "wxEVT_UPDATE_UI", PyInt_FromLong(wxEVT_UPDATE_UI
));
43593 PyDict_SetItemString(d
, "wxEVT_SIZING", PyInt_FromLong(wxEVT_SIZING
));
43594 PyDict_SetItemString(d
, "wxEVT_MOVING", PyInt_FromLong(wxEVT_MOVING
));
43595 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_CLICK
));
43596 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_DCLICK
));
43597 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_CLICK
));
43598 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_DCLICK
));
43599 PyDict_SetItemString(d
, "wxEVT_COMMAND_SET_FOCUS", PyInt_FromLong(wxEVT_COMMAND_SET_FOCUS
));
43600 PyDict_SetItemString(d
, "wxEVT_COMMAND_KILL_FOCUS", PyInt_FromLong(wxEVT_COMMAND_KILL_FOCUS
));
43601 PyDict_SetItemString(d
, "wxEVT_COMMAND_ENTER", PyInt_FromLong(wxEVT_COMMAND_ENTER
));
43602 PyDict_SetItemString(d
,"MOUSE_BTN_ANY", SWIG_From_int((int)wxMOUSE_BTN_ANY
));
43603 PyDict_SetItemString(d
,"MOUSE_BTN_NONE", SWIG_From_int((int)wxMOUSE_BTN_NONE
));
43604 PyDict_SetItemString(d
,"MOUSE_BTN_LEFT", SWIG_From_int((int)wxMOUSE_BTN_LEFT
));
43605 PyDict_SetItemString(d
,"MOUSE_BTN_MIDDLE", SWIG_From_int((int)wxMOUSE_BTN_MIDDLE
));
43606 PyDict_SetItemString(d
,"MOUSE_BTN_RIGHT", SWIG_From_int((int)wxMOUSE_BTN_RIGHT
));
43607 PyDict_SetItemString(d
,"UPDATE_UI_PROCESS_ALL", SWIG_From_int((int)wxUPDATE_UI_PROCESS_ALL
));
43608 PyDict_SetItemString(d
,"UPDATE_UI_PROCESS_SPECIFIED", SWIG_From_int((int)wxUPDATE_UI_PROCESS_SPECIFIED
));
43609 PyDict_SetItemString(d
,"NavigationKeyEvent_IsBackward", SWIG_From_int((int)wxNavigationKeyEvent::IsBackward
));
43610 PyDict_SetItemString(d
,"NavigationKeyEvent_IsForward", SWIG_From_int((int)wxNavigationKeyEvent::IsForward
));
43611 PyDict_SetItemString(d
,"NavigationKeyEvent_WinChange", SWIG_From_int((int)wxNavigationKeyEvent::WinChange
));
43612 PyDict_SetItemString(d
,"IDLE_PROCESS_ALL", SWIG_From_int((int)wxIDLE_PROCESS_ALL
));
43613 PyDict_SetItemString(d
,"IDLE_PROCESS_SPECIFIED", SWIG_From_int((int)wxIDLE_PROCESS_SPECIFIED
));
43614 PyDict_SetItemString(d
,"PYAPP_ASSERT_SUPPRESS", SWIG_From_int((int)wxPYAPP_ASSERT_SUPPRESS
));
43615 PyDict_SetItemString(d
,"PYAPP_ASSERT_EXCEPTION", SWIG_From_int((int)wxPYAPP_ASSERT_EXCEPTION
));
43616 PyDict_SetItemString(d
,"PYAPP_ASSERT_DIALOG", SWIG_From_int((int)wxPYAPP_ASSERT_DIALOG
));
43617 PyDict_SetItemString(d
,"PYAPP_ASSERT_LOG", SWIG_From_int((int)wxPYAPP_ASSERT_LOG
));
43618 PyDict_SetItemString(d
,"PRINT_WINDOWS", SWIG_From_int((int)wxPRINT_WINDOWS
));
43619 PyDict_SetItemString(d
,"PRINT_POSTSCRIPT", SWIG_From_int((int)wxPRINT_POSTSCRIPT
));
43620 SWIG_addvarlink(SWIG_globals
,(char*)"NullAcceleratorTable",_wrap_NullAcceleratorTable_get
, _wrap_NullAcceleratorTable_set
);
43621 SWIG_addvarlink(SWIG_globals
,(char*)"PanelNameStr",_wrap_PanelNameStr_get
, _wrap_PanelNameStr_set
);
43622 PyDict_SetItemString(d
,"WINDOW_VARIANT_NORMAL", SWIG_From_int((int)wxWINDOW_VARIANT_NORMAL
));
43623 PyDict_SetItemString(d
,"WINDOW_VARIANT_SMALL", SWIG_From_int((int)wxWINDOW_VARIANT_SMALL
));
43624 PyDict_SetItemString(d
,"WINDOW_VARIANT_MINI", SWIG_From_int((int)wxWINDOW_VARIANT_MINI
));
43625 PyDict_SetItemString(d
,"WINDOW_VARIANT_LARGE", SWIG_From_int((int)wxWINDOW_VARIANT_LARGE
));
43626 PyDict_SetItemString(d
,"WINDOW_VARIANT_MAX", SWIG_From_int((int)wxWINDOW_VARIANT_MAX
));
43627 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultValidator",_wrap_DefaultValidator_get
, _wrap_DefaultValidator_set
);
43628 SWIG_addvarlink(SWIG_globals
,(char*)"ControlNameStr",_wrap_ControlNameStr_get
, _wrap_ControlNameStr_set
);
43629 PyDict_SetItemString(d
,"FLEX_GROWMODE_NONE", SWIG_From_int((int)wxFLEX_GROWMODE_NONE
));
43630 PyDict_SetItemString(d
,"FLEX_GROWMODE_SPECIFIED", SWIG_From_int((int)wxFLEX_GROWMODE_SPECIFIED
));
43631 PyDict_SetItemString(d
,"FLEX_GROWMODE_ALL", SWIG_From_int((int)wxFLEX_GROWMODE_ALL
));
43632 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSpan",_wrap_DefaultSpan_get
, _wrap_DefaultSpan_set
);
43633 PyDict_SetItemString(d
,"Left", SWIG_From_int((int)wxLeft
));
43634 PyDict_SetItemString(d
,"Top", SWIG_From_int((int)wxTop
));
43635 PyDict_SetItemString(d
,"Right", SWIG_From_int((int)wxRight
));
43636 PyDict_SetItemString(d
,"Bottom", SWIG_From_int((int)wxBottom
));
43637 PyDict_SetItemString(d
,"Width", SWIG_From_int((int)wxWidth
));
43638 PyDict_SetItemString(d
,"Height", SWIG_From_int((int)wxHeight
));
43639 PyDict_SetItemString(d
,"Centre", SWIG_From_int((int)wxCentre
));
43640 PyDict_SetItemString(d
,"Center", SWIG_From_int((int)wxCenter
));
43641 PyDict_SetItemString(d
,"CentreX", SWIG_From_int((int)wxCentreX
));
43642 PyDict_SetItemString(d
,"CentreY", SWIG_From_int((int)wxCentreY
));
43643 PyDict_SetItemString(d
,"Unconstrained", SWIG_From_int((int)wxUnconstrained
));
43644 PyDict_SetItemString(d
,"AsIs", SWIG_From_int((int)wxAsIs
));
43645 PyDict_SetItemString(d
,"PercentOf", SWIG_From_int((int)wxPercentOf
));
43646 PyDict_SetItemString(d
,"Above", SWIG_From_int((int)wxAbove
));
43647 PyDict_SetItemString(d
,"Below", SWIG_From_int((int)wxBelow
));
43648 PyDict_SetItemString(d
,"LeftOf", SWIG_From_int((int)wxLeftOf
));
43649 PyDict_SetItemString(d
,"RightOf", SWIG_From_int((int)wxRightOf
));
43650 PyDict_SetItemString(d
,"SameAs", SWIG_From_int((int)wxSameAs
));
43651 PyDict_SetItemString(d
,"Absolute", SWIG_From_int((int)wxAbsolute
));
43653 // Initialize threading, some globals and such
43657 // Although these are defined in __version__ they need to be here too so
43658 // that an assert can be done to ensure that the wxPython and the wxWindows
43660 PyDict_SetItemString(d
,"MAJOR_VERSION", PyInt_FromLong((long)wxMAJOR_VERSION
));
43661 PyDict_SetItemString(d
,"MINOR_VERSION", PyInt_FromLong((long)wxMINOR_VERSION
));
43662 PyDict_SetItemString(d
,"RELEASE_VERSION", PyInt_FromLong((long)wxRELEASE_NUMBER
));