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
) {
870 target
= PyTuple_New(1);
871 PyTuple_SetItem(target
, 0, o2
);
874 PyTuple_SetItem(o3
, 0, o
);
877 target
= PySequence_Concat(o2
, o3
);
885 void wxPoint2D_Set(wxPoint2D
*self
,double x
,double y
){
889 PyObject
*wxPoint2D_Get(wxPoint2D
*self
){
890 bool blocked
= wxPyBeginBlockThreads();
891 PyObject
* tup
= PyTuple_New(2);
892 PyTuple_SET_ITEM(tup
, 0, PyFloat_FromDouble(self
->m_x
));
893 PyTuple_SET_ITEM(tup
, 1, PyFloat_FromDouble(self
->m_y
));
894 wxPyEndBlockThreads(blocked
);
898 #include "wx/wxPython/pyistream.h"
900 wxPyInputStream
*new_wxPyInputStream(PyObject
*p
){
901 wxInputStream
* wxis
= wxPyCBInputStream::create(p
);
903 return new wxPyInputStream(wxis
);
908 SWIGSTATICINLINE(PyObject
*)
909 SWIG_From_char(char c
)
911 return PyString_FromStringAndSize(&c
,1);
915 SWIGSTATICINLINE(PyObject
* )
916 SWIG_From_unsigned_SS_long(unsigned long value
)
918 return (value
> LONG_MAX
) ?
919 PyLong_FromUnsignedLong(value
)
920 : PyInt_FromLong(swig_numeric_cast(value
,long));
924 /* returns SWIG_OLDOBJ if the input is a raw char*, SWIG_PYSTR if is a PyString */
926 SWIG_AsCharPtrAndSize(PyObject
*obj
, char** cptr
, size_t* psize
)
928 static swig_type_info
* pchar_info
= 0;
930 if (!pchar_info
) pchar_info
= SWIG_TypeQuery("char *");
931 if (SWIG_ConvertPtr(obj
, (void**)&vptr
, pchar_info
, 0) != -1) {
932 if (cptr
) *cptr
= vptr
;
933 if (psize
) *psize
= vptr
? (strlen(vptr
) + 1) : 0;
936 if (PyString_Check(obj
)) {
938 *cptr
= PyString_AS_STRING(obj
);
940 *psize
= PyString_GET_SIZE(obj
) + 1;
947 PyErr_SetString(PyExc_TypeError
, "a string is expected");
954 SWIG_AsCharArray(PyObject
*obj
, char *val
, size_t size
)
956 char* cptr
; size_t csize
;
957 if (SWIG_AsCharPtrAndSize(obj
, &cptr
, &csize
)) {
962 ie, assing the array using an extra '0' char.
964 if ((csize
== size
+ 1) && !(cptr
[csize
-1])) --csize
;
967 if (csize
) memcpy(val
, cptr
, csize
);
968 if (csize
< size
) memset(val
+ csize
, 0, size
- csize
);
974 PyErr_Format(PyExc_TypeError
,
975 "a char array of maximum size %ld is expected",
982 SWIGSTATICINLINE(int)
983 SWIG_AsVal_char(PyObject
*obj
, char *val
)
985 const char* errmsg
= val
? "char" : 0;
987 if (SWIG_AsVal_long(obj
, &v
)) {
988 if (SWIG_CheckLongInRange(v
, CHAR_MIN
,CHAR_MAX
, errmsg
)) {
996 return SWIG_AsCharArray(obj
, val
, 1);
1001 SWIGSTATICINLINE(char)
1002 SWIG_As_char(PyObject
* obj
)
1005 if (!SWIG_AsVal_char(obj
, &v
)) {
1007 this is needed to make valgrind/purify happier. the other
1008 solution is throw an exception, but since this code should work
1011 memset((void*)&v
, 0, sizeof(char));
1017 SWIGSTATICINLINE(int)
1018 SWIG_Check_char(PyObject
* obj
)
1020 return SWIG_AsVal_char(obj
, (char*)0);
1023 void wxOutputStream_write(wxOutputStream
*self
,PyObject
*obj
){
1024 // We use only strings for the streams, not unicode
1025 PyObject
* str
= PyObject_Str(obj
);
1027 PyErr_SetString(PyExc_TypeError
, "Unable to convert to string");
1030 self
->Write(PyString_AS_STRING(str
),
1031 PyString_GET_SIZE(str
));
1035 #include "wx/wxPython/pyistream.h"
1038 class wxPyFileSystemHandler
: public wxFileSystemHandler
1041 wxPyFileSystemHandler() : wxFileSystemHandler() {}
1043 DEC_PYCALLBACK_BOOL_STRING_pure(CanOpen
);
1044 DEC_PYCALLBACK_FSF_FSSTRING_pure(OpenFile
);
1045 DEC_PYCALLBACK_STRING_STRINGINT_pure(FindFirst
);
1046 DEC_PYCALLBACK_STRING__pure(FindNext
);
1048 wxString
GetProtocol(const wxString
& location
) {
1049 return wxFileSystemHandler::GetProtocol(location
);
1052 wxString
GetLeftLocation(const wxString
& location
) {
1053 return wxFileSystemHandler::GetLeftLocation(location
);
1056 wxString
GetAnchor(const wxString
& location
) {
1057 return wxFileSystemHandler::GetAnchor(location
);
1060 wxString
GetRightLocation(const wxString
& location
) {
1061 return wxFileSystemHandler::GetRightLocation(location
);
1064 wxString
GetMimeTypeFromExt(const wxString
& location
) {
1065 return wxFileSystemHandler::GetMimeTypeFromExt(location
);
1072 IMP_PYCALLBACK_BOOL_STRING_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, CanOpen
);
1073 IMP_PYCALLBACK_FSF_FSSTRING_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, OpenFile
);
1074 IMP_PYCALLBACK_STRING_STRINGINT_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, FindFirst
);
1075 IMP_PYCALLBACK_STRING__pure(wxPyFileSystemHandler
, wxFileSystemHandler
, FindNext
);
1078 SWIGSTATICINLINE(int)
1079 SWIG_AsVal_bool(PyObject
*obj
, bool *val
)
1081 /* if (val) *val = PyObject_IsTrue(obj); return 1; */
1082 if (obj
== Py_True
) {
1083 if (val
) *val
= true;
1086 if (obj
== Py_False
) {
1087 if (val
) *val
= false;
1091 if (SWIG_AsVal_int(obj
, &res
)) {
1092 if (val
) *val
= (bool)res
;
1096 PyErr_SetString(PyExc_TypeError
, "a bool is expected");
1102 SWIGSTATICINLINE(bool)
1103 SWIG_As_bool(PyObject
* obj
)
1106 if (!SWIG_AsVal_bool(obj
, &v
)) {
1108 this is needed to make valgrind/purify happier. the other
1109 solution is throw an exception, but since this code should work
1112 memset((void*)&v
, 0, sizeof(bool));
1118 SWIGSTATICINLINE(int)
1119 SWIG_Check_bool(PyObject
* obj
)
1121 return SWIG_AsVal_bool(obj
, (bool*)0);
1125 wxString
wxFileSystem_URLToFileName(const wxString
& url
) {
1126 wxFileName fname
= wxFileSystem::URLToFileName(url
);
1127 return fname
.GetFullPath();
1131 void __wxMemoryFSHandler_AddFile_wxImage(const wxString
& filename
,
1134 wxMemoryFSHandler::AddFile(filename
, image
, type
);
1137 void __wxMemoryFSHandler_AddFile_wxBitmap(const wxString
& filename
,
1138 const wxBitmap
& bitmap
,
1140 wxMemoryFSHandler::AddFile(filename
, bitmap
, type
);
1143 void __wxMemoryFSHandler_AddFile_Data(const wxString
& filename
,
1145 wxMemoryFSHandler::AddFile(filename
,
1146 // TODO: Verify data type
1147 (void*)PyString_AsString(data
),
1148 (size_t)PyString_Size(data
));
1152 #include "wx/wxPython/pyistream.h"
1155 // See my_fragments.i
1156 SWIGSTATICINLINE(int)
1157 SWIG_AsVal_unsigned_SS_long(PyObject
* obj
, unsigned long* val
)
1160 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
1161 PyErr_SetString(PyExc_TypeError
, "negative value received for unsigned type");
1165 *val
= (unsigned long)v
;
1170 SWIGSTATICINLINE(int)
1171 SWIG_CheckUnsignedLongInRange(unsigned long value
,
1172 unsigned long max_value
,
1175 if (value
> max_value
) {
1177 PyErr_Format(PyExc_OverflowError
,
1178 "value %ld is greater than '%s' minimum %ld",
1179 value
, errmsg
, max_value
);
1187 SWIGSTATICINLINE(int)
1188 SWIG_AsVal_unsigned_SS_char(PyObject
*obj
, unsigned char *val
)
1190 const char* errmsg
= val
? "unsigned char" : 0;
1192 if (SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
1193 if (SWIG_CheckUnsignedLongInRange(v
, UCHAR_MAX
,errmsg
)) {
1194 if (val
) *val
= swig_numeric_cast(v
, unsigned char);
1203 PyErr_SetString(PyExc_TypeError
, "an unsigned char is expected");
1209 SWIGSTATICINLINE(unsigned char)
1210 SWIG_As_unsigned_SS_char(PyObject
* obj
)
1213 if (!SWIG_AsVal_unsigned_SS_char(obj
, &v
)) {
1215 this is needed to make valgrind/purify happier. the other
1216 solution is throw an exception, but since this code should work
1219 memset((void*)&v
, 0, sizeof(unsigned char));
1225 SWIGSTATICINLINE(int)
1226 SWIG_Check_unsigned_SS_char(PyObject
* obj
)
1228 return SWIG_AsVal_unsigned_SS_char(obj
, (unsigned char*)0);
1232 wxImage
*new_wxImage(int width
,int height
,bool clear
){
1233 if (width
> 0 && height
> 0)
1234 return new wxImage(width
, height
, clear
);
1238 wxImage
*new_wxImage(wxBitmap
const &bitmap
){
1239 return new wxImage(bitmap
.ConvertToImage());
1241 wxImage
*new_wxImage(int width
,int height
,unsigned char *data
){
1242 // Copy the source data so the wxImage can clean it up later
1243 unsigned char* copy
= (unsigned char*)malloc(width
*height
*3);
1248 memcpy(copy
, data
, width
*height
*3);
1249 return new wxImage(width
, height
, copy
, False
);
1251 wxSize
wxImage_GetSize(wxImage
*self
){
1252 wxSize
size(self
->GetWidth(), self
->GetHeight());
1255 PyObject
*wxImage_GetData(wxImage
*self
){
1256 unsigned char* data
= self
->GetData();
1257 int len
= self
->GetWidth() * self
->GetHeight() * 3;
1259 wxPyBLOCK_THREADS( rv
= PyString_FromStringAndSize((char*)data
, len
));
1262 void wxImage_SetData(wxImage
*self
,PyObject
*data
){
1263 unsigned char* dataPtr
;
1265 if (! PyString_Check(data
)) {
1266 PyErr_SetString(PyExc_TypeError
, "Expected string object");
1270 size_t len
= self
->GetWidth() * self
->GetHeight() * 3;
1271 dataPtr
= (unsigned char*) malloc(len
);
1272 wxPyBLOCK_THREADS( memcpy(dataPtr
, PyString_AsString(data
), len
) );
1273 self
->SetData(dataPtr
);
1274 // wxImage takes ownership of dataPtr...
1276 PyObject
*wxImage_GetDataBuffer(wxImage
*self
){
1277 unsigned char* data
= self
->GetData();
1278 int len
= self
->GetWidth() * self
->GetHeight() * 3;
1280 wxPyBLOCK_THREADS( rv
= PyBuffer_FromReadWriteMemory(data
, len
) );
1283 void wxImage_SetDataBuffer(wxImage
*self
,PyObject
*data
){
1284 unsigned char* buffer
;
1287 bool blocked
= wxPyBeginBlockThreads();
1288 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
1291 if (size
!= self
->GetWidth() * self
->GetHeight() * 3) {
1292 PyErr_SetString(PyExc_TypeError
, "Incorrect buffer size");
1295 self
->SetData(buffer
);
1297 wxPyEndBlockThreads(blocked
);
1299 PyObject
*wxImage_GetAlphaData(wxImage
*self
){
1300 unsigned char* data
= self
->GetAlpha();
1304 int len
= self
->GetWidth() * self
->GetHeight();
1306 wxPyBLOCK_THREADS( rv
= PyString_FromStringAndSize((char*)data
, len
) );
1310 void wxImage_SetAlphaData(wxImage
*self
,PyObject
*data
){
1311 unsigned char* dataPtr
;
1313 if (! PyString_Check(data
)) {
1314 PyErr_SetString(PyExc_TypeError
, "Expected string object");
1318 size_t len
= self
->GetWidth() * self
->GetHeight();
1319 dataPtr
= (unsigned char*) malloc(len
);
1320 wxPyBLOCK_THREADS( memcpy(dataPtr
, PyString_AsString(data
), len
) );
1321 self
->SetAlpha(dataPtr
);
1322 // wxImage takes ownership of dataPtr...
1324 PyObject
*wxImage_GetAlphaBuffer(wxImage
*self
){
1325 unsigned char* data
= self
->GetAlpha();
1326 int len
= self
->GetWidth() * self
->GetHeight();
1328 wxPyBLOCK_THREADS( rv
= PyBuffer_FromReadWriteMemory(data
, len
) );
1331 void wxImage_SetAlphaBuffer(wxImage
*self
,PyObject
*data
){
1332 unsigned char* buffer
;
1335 bool blocked
= wxPyBeginBlockThreads();
1336 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
1339 if (size
!= self
->GetWidth() * self
->GetHeight()) {
1340 PyErr_SetString(PyExc_TypeError
, "Incorrect buffer size");
1343 self
->SetAlpha(buffer
);
1345 wxPyEndBlockThreads(blocked
);
1348 SWIGSTATICINLINE(unsigned long)
1349 SWIG_As_unsigned_SS_long(PyObject
* obj
)
1352 if (!SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
1354 this is needed to make valgrind/purify happier. the other
1355 solution is throw an exception, but since this code should work
1358 memset((void*)&v
, 0, sizeof(unsigned long));
1364 SWIGSTATICINLINE(int)
1365 SWIG_Check_unsigned_SS_long(PyObject
* obj
)
1367 return SWIG_AsVal_unsigned_SS_long(obj
, (unsigned long*)0);
1370 wxBitmap
wxImage_ConvertToBitmap(wxImage
*self
){
1371 wxBitmap
bitmap(*self
);
1374 wxBitmap
wxImage_ConvertToMonoBitmap(wxImage
*self
,unsigned char red
,unsigned char green
,unsigned char blue
){
1375 wxImage mono
= self
->ConvertToMono( red
, green
, blue
);
1376 wxBitmap
bitmap( mono
, 1 );
1379 static const wxString
wxPyIMAGE_OPTION_BMP_FORMAT(wxIMAGE_OPTION_BMP_FORMAT
);
1380 static const wxString
wxPyIMAGE_OPTION_CUR_HOTSPOT_X(wxIMAGE_OPTION_CUR_HOTSPOT_X
);
1381 static const wxString
wxPyIMAGE_OPTION_CUR_HOTSPOT_Y(wxIMAGE_OPTION_CUR_HOTSPOT_Y
);
1382 static const wxString
wxPyIMAGE_OPTION_RESOLUTION(wxIMAGE_OPTION_RESOLUTION
);
1383 static const wxString
wxPyIMAGE_OPTION_RESOLUTIONUNIT(wxIMAGE_OPTION_RESOLUTIONUNIT
);
1385 #include <wx/quantize.h>
1387 bool Quantize_Quantize(wxImage
const &src
,wxImage
&dest
,int desiredNoColours
,int flags
){
1388 return wxQuantize::Quantize(src
, dest
,
1391 NULL
, // eightBitData
1394 void wxEvtHandler_Connect(wxEvtHandler
*self
,int id
,int lastId
,int eventType
,PyObject
*func
){
1395 if (PyCallable_Check(func
)) {
1396 self
->Connect(id
, lastId
, eventType
,
1397 (wxObjectEventFunction
) &wxPyCallback::EventThunker
,
1398 new wxPyCallback(func
));
1400 else if (func
== Py_None
) {
1401 self
->Disconnect(id
, lastId
, eventType
,
1402 (wxObjectEventFunction
)
1403 &wxPyCallback::EventThunker
);
1407 PyErr_SetString(PyExc_TypeError
, "Expected callable object or None."));
1410 bool wxEvtHandler_Disconnect(wxEvtHandler
*self
,int id
,int lastId
,wxEventType eventType
){
1411 return self
->Disconnect(id
, lastId
, eventType
,
1412 (wxObjectEventFunction
)
1413 &wxPyCallback::EventThunker
);
1415 void wxEvtHandler__setOORInfo(wxEvtHandler
*self
,PyObject
*_self
){
1416 if (_self
&& _self
!= Py_None
) {
1417 self
->SetClientObject(new wxPyOORClientData(_self
));
1420 wxPyOORClientData
* data
= (wxPyOORClientData
*)self
->GetClientObject();
1422 self
->SetClientObject(NULL
); // This will delete it too
1427 int wxKeyEvent_GetUnicodeKey(wxKeyEvent
*self
){
1429 return self
->GetUnicodeKey();
1435 #if UINT_MAX < LONG_MAX
1436 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
1437 #define SWIG_From_unsigned_SS_int SWIG_From_long
1440 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
1441 #define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long
1446 #if UINT_MAX != ULONG_MAX
1447 SWIGSTATICINLINE(int)
1448 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
1450 const char* errmsg
= val
? "unsigned int" : 0;
1452 if (SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
1453 if (SWIG_CheckUnsignedLongInRange(v
, INT_MAX
, errmsg
)) {
1454 if (val
) *val
= swig_numeric_cast(v
, unsigned int);
1461 PyErr_SetString(PyExc_TypeError
, "an unsigned int is expected");
1466 SWIGSTATICINLINE(unsigned int)
1467 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
1469 return SWIG_AsVal_unsigned_SS_long(obj
,(unsigned long *)val
);
1474 SWIGSTATICINLINE(unsigned int)
1475 SWIG_As_unsigned_SS_int(PyObject
* obj
)
1478 if (!SWIG_AsVal_unsigned_SS_int(obj
, &v
)) {
1480 this is needed to make valgrind/purify happier. the other
1481 solution is throw an exception, but since this code should work
1484 memset((void*)&v
, 0, sizeof(unsigned int));
1490 SWIGSTATICINLINE(int)
1491 SWIG_Check_unsigned_SS_int(PyObject
* obj
)
1493 return SWIG_AsVal_unsigned_SS_int(obj
, (unsigned int*)0);
1496 void wxSizeEvent_SetSize(wxSizeEvent
*self
,wxSize size
){
1497 self
->m_size
= size
;
1499 void wxMoveEvent_SetPosition(wxMoveEvent
*self
,wxPoint pos
){
1502 PyObject
*wxDropFilesEvent_GetFiles(wxDropFilesEvent
*self
){
1503 int count
= self
->GetNumberOfFiles();
1504 wxString
* files
= self
->GetFiles();
1505 PyObject
* list
= PyList_New(count
);
1508 PyErr_SetString(PyExc_MemoryError
, "Can't allocate list of files!");
1512 for (int i
=0; i
<count
; i
++) {
1513 PyList_SetItem(list
, i
, wx2PyString(files
[i
]));
1519 wxPyApp
*new_wxPyApp(){
1520 wxPythonApp
= new wxPyApp();
1524 void wxApp_CleanUp() {
1529 wxPyApp
* wxPyGetApp() { return (wxPyApp
*)wxTheApp
; }
1533 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
1534 wxVisualAttributes
*new_wxVisualAttributes(){ return new wxVisualAttributes
; }
1535 void delete_wxVisualAttributes(wxVisualAttributes
*self
){ delete self
; }
1536 PyObject
*wxWindow_GetChildren(wxWindow
*self
){
1537 wxWindowList
& list
= self
->GetChildren();
1538 return wxPy_ConvertList(&list
);
1540 bool wxWindow_RegisterHotKey(wxWindow
*self
,int hotkeyId
,int modifiers
,int keycode
){
1542 return self
->RegisterHotKey(hotkeyId
, modifiers
, keycode
);
1547 bool wxWindow_UnregisterHotKey(wxWindow
*self
,int hotkeyId
){
1554 long wxWindow_GetHandle(wxWindow
*self
){
1555 return wxPyGetWinHandle(self
);
1558 wxWindow
* wxFindWindowById( long id
, const wxWindow
*parent
= NULL
) {
1559 return wxWindow::FindWindowById(id
, parent
);
1562 wxWindow
* wxFindWindowByName( const wxString
& name
,
1563 const wxWindow
*parent
= NULL
) {
1564 return wxWindow::FindWindowByName(name
, parent
);
1567 wxWindow
* wxFindWindowByLabel( const wxString
& label
,
1568 const wxWindow
*parent
= NULL
) {
1569 return wxWindow::FindWindowByLabel(label
, parent
);
1574 #include <wx/msw/private.h> // to get wxGetWindowId
1578 wxWindow
* wxWindow_FromHWND(wxWindow
* parent
, unsigned long _hWnd
) {
1580 WXHWND hWnd
= (WXHWND
)_hWnd
;
1581 long id
= wxGetWindowId(hWnd
);
1582 wxWindow
* win
= new wxWindow
;
1583 parent
->AddChild(win
);
1584 win
->SetEventHandler(win
);
1587 win
->SubclassWin(hWnd
);
1588 win
->AdoptAttributesFromHWND();
1589 win
->SetupColours();
1592 wxPyRaiseNotImplemented();
1598 IMP_PYCALLBACK_BOOL_WXWIN(wxPyValidator
, wxValidator
, Validate
);
1599 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferToWindow
);
1600 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferFromWindow
);
1602 IMPLEMENT_DYNAMIC_CLASS(wxPyValidator
, wxValidator
);
1604 void wxMenu_Destroy(wxMenu
*self
){ delete self
; }
1605 PyObject
*wxMenu_GetMenuItems(wxMenu
*self
){
1606 wxMenuItemList
& list
= self
->GetMenuItems();
1607 return wxPy_ConvertList(&list
);
1609 static const wxString
wxPyControlNameStr(wxControlNameStr
);
1610 int wxItemContainer_Append(wxItemContainer
*self
,wxString
const &item
,PyObject
*clientData
){
1612 wxPyClientData
* data
= new wxPyClientData(clientData
);
1613 return self
->Append(item
, data
);
1615 return self
->Append(item
);
1617 int wxItemContainer_Insert(wxItemContainer
*self
,wxString
const &item
,int pos
,PyObject
*clientData
){
1619 wxPyClientData
* data
= new wxPyClientData(clientData
);
1620 return self
->Insert(item
, pos
, data
);
1622 return self
->Insert(item
, pos
);
1624 PyObject
*wxItemContainer_GetClientData(wxItemContainer
*self
,int n
){
1625 wxPyClientData
* data
= (wxPyClientData
*)self
->GetClientObject(n
);
1627 Py_INCREF(data
->m_obj
);
1634 void wxItemContainer_SetClientData(wxItemContainer
*self
,int n
,PyObject
*clientData
){
1635 wxPyClientData
* data
= new wxPyClientData(clientData
);
1636 self
->SetClientObject(n
, data
);
1640 wxSizerItem
*new_wxSizerItem(wxWindow
*window
,int proportion
,int flag
,int border
,PyObject
*userData
){
1641 wxPyUserData
* data
= NULL
;
1643 bool blocked
= wxPyBeginBlockThreads();
1644 data
= new wxPyUserData(userData
);
1645 wxPyEndBlockThreads(blocked
);
1647 return new wxSizerItem(window
, proportion
, flag
, border
, data
);
1649 wxSizerItem
*new_wxSizerItem(int width
,int height
,int proportion
,int flag
,int border
,PyObject
*userData
){
1650 wxPyUserData
* data
= NULL
;
1652 bool blocked
= wxPyBeginBlockThreads();
1653 data
= new wxPyUserData(userData
);
1654 wxPyEndBlockThreads(blocked
);
1656 return new wxSizerItem(width
, height
, proportion
, flag
, border
, data
);
1658 wxSizerItem
*new_wxSizerItem(wxSizer
*sizer
,int proportion
,int flag
,int border
,PyObject
*userData
){
1659 wxPyUserData
* data
= NULL
;
1661 bool blocked
= wxPyBeginBlockThreads();
1662 data
= new wxPyUserData(userData
);
1663 wxPyEndBlockThreads(blocked
);
1665 return new wxSizerItem(sizer
, proportion
, flag
, border
, data
);
1669 SWIGSTATICINLINE(int)
1670 SWIG_CheckDoubleInRange(double value
, double min_value
,
1671 double max_value
, const char* errmsg
)
1673 if (value
< min_value
) {
1675 PyErr_Format(PyExc_OverflowError
,
1676 "value %g is less than %s minimum %g",
1677 value
, errmsg
, min_value
);
1680 } else if (value
> max_value
) {
1682 PyErr_Format(PyExc_OverflowError
,
1683 "value %g is greater than %s maximum %g",
1684 value
, errmsg
, max_value
);
1692 SWIGSTATICINLINE(int)
1693 SWIG_AsVal_float(PyObject
*obj
, float *val
)
1695 const char* errmsg
= val
? "float" : 0;
1697 if (SWIG_AsVal_double(obj
, &v
)) {
1698 if (SWIG_CheckDoubleInRange(v
, -FLT_MAX
, FLT_MAX
, errmsg
)) {
1708 PyErr_SetString(PyExc_TypeError
, "a float is expected");
1714 SWIGSTATICINLINE(float)
1715 SWIG_As_float(PyObject
* obj
)
1718 if (!SWIG_AsVal_float(obj
, &v
)) {
1720 this is needed to make valgrind/purify happier. the other
1721 solution is throw an exception, but since this code should work
1724 memset((void*)&v
, 0, sizeof(float));
1730 SWIGSTATICINLINE(int)
1731 SWIG_Check_float(PyObject
* obj
)
1733 return SWIG_AsVal_float(obj
, (float*)0);
1736 PyObject
*wxSizerItem_GetUserData(wxSizerItem
*self
){
1737 wxPyUserData
* data
= (wxPyUserData
*)self
->GetUserData();
1739 Py_INCREF(data
->m_obj
);
1747 // Figure out the type of the sizer item
1749 struct wxPySizerItemInfo
{
1751 : window(NULL
), sizer(NULL
), gotSize(False
),
1752 size(wxDefaultSize
), gotPos(False
), pos(-1)
1763 static wxPySizerItemInfo
wxPySizerItemTypeHelper(PyObject
* item
, bool checkSize
, bool checkIdx
) {
1765 wxPySizerItemInfo info
;
1767 wxSize
* sizePtr
= &size
;
1769 // Find out what the type of the item is
1771 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.window
, wxT("wxWindow")) ) {
1776 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.sizer
, wxT("wxSizer")) ) {
1780 // try wxSize or (w,h)
1781 if ( checkSize
&& wxSize_helper(item
, &sizePtr
)) {
1782 info
.size
= *sizePtr
;
1783 info
.gotSize
= True
;
1787 if (checkIdx
&& PyInt_Check(item
)) {
1788 info
.pos
= PyInt_AsLong(item
);
1794 if ( !(info
.window
|| info
.sizer
|| (checkSize
&& info
.gotSize
) || (checkIdx
&& info
.gotPos
)) ) {
1795 // no expected type, figure out what kind of error message to generate
1796 if ( !checkSize
&& !checkIdx
)
1797 PyErr_SetString(PyExc_TypeError
, "wxWindow or wxSizer expected for item");
1798 else if ( checkSize
&& !checkIdx
)
1799 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer, wxSize, or (w,h) expected for item");
1800 else if ( !checkSize
&& checkIdx
)
1801 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer or int (position) expected for item");
1803 // can this one happen?
1804 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer, wxSize, or (w,h) or int (position) expected for item");
1810 void wxSizer__setOORInfo(wxSizer
*self
,PyObject
*_self
){
1811 if (!self
->GetClientObject())
1812 self
->SetClientObject(new wxPyOORClientData(_self
));
1814 void wxSizer_Add(wxSizer
*self
,PyObject
*item
,int proportion
,int flag
,int border
,PyObject
*userData
){
1816 wxPyUserData
* data
= NULL
;
1817 bool blocked
= wxPyBeginBlockThreads();
1818 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, True
, False
);
1819 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1820 data
= new wxPyUserData(userData
);
1821 wxPyEndBlockThreads(blocked
);
1823 // Now call the real Add method if a valid item type was found
1825 self
->Add(info
.window
, proportion
, flag
, border
, data
);
1826 else if ( info
.sizer
)
1827 self
->Add(info
.sizer
, proportion
, flag
, border
, data
);
1828 else if (info
.gotSize
)
1829 self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
1830 proportion
, flag
, border
, data
);
1832 void wxSizer_Insert(wxSizer
*self
,int before
,PyObject
*item
,int proportion
,int flag
,int border
,PyObject
*userData
){
1834 wxPyUserData
* data
= NULL
;
1835 bool blocked
= wxPyBeginBlockThreads();
1836 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, True
, False
);
1837 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1838 data
= new wxPyUserData(userData
);
1839 wxPyEndBlockThreads(blocked
);
1841 // Now call the real Insert method if a valid item type was found
1843 self
->Insert(before
, info
.window
, proportion
, flag
, border
, data
);
1844 else if ( info
.sizer
)
1845 self
->Insert(before
, info
.sizer
, proportion
, flag
, border
, data
);
1846 else if (info
.gotSize
)
1847 self
->Insert(before
, info
.size
.GetWidth(), info
.size
.GetHeight(),
1848 proportion
, flag
, border
, data
);
1850 void wxSizer_Prepend(wxSizer
*self
,PyObject
*item
,int proportion
,int flag
,int border
,PyObject
*userData
){
1852 wxPyUserData
* data
= NULL
;
1853 bool blocked
= wxPyBeginBlockThreads();
1854 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, True
, False
);
1855 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1856 data
= new wxPyUserData(userData
);
1857 wxPyEndBlockThreads(blocked
);
1859 // Now call the real Prepend method if a valid item type was found
1861 self
->Prepend(info
.window
, proportion
, flag
, border
, data
);
1862 else if ( info
.sizer
)
1863 self
->Prepend(info
.sizer
, proportion
, flag
, border
, data
);
1864 else if (info
.gotSize
)
1865 self
->Prepend(info
.size
.GetWidth(), info
.size
.GetHeight(),
1866 proportion
, flag
, border
, data
);
1868 bool wxSizer_Remove(wxSizer
*self
,PyObject
*item
){
1869 bool blocked
= wxPyBeginBlockThreads();
1870 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, True
);
1871 wxPyEndBlockThreads(blocked
);
1873 return self
->Remove(info
.window
);
1874 else if ( info
.sizer
)
1875 return self
->Remove(info
.sizer
);
1876 else if ( info
.gotPos
)
1877 return self
->Remove(info
.pos
);
1881 bool wxSizer_Detach(wxSizer
*self
,PyObject
*item
){
1882 bool blocked
= wxPyBeginBlockThreads();
1883 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, True
);
1884 wxPyEndBlockThreads(blocked
);
1886 return self
->Detach(info
.window
);
1887 else if ( info
.sizer
)
1888 return self
->Detach(info
.sizer
);
1889 else if ( info
.gotPos
)
1890 return self
->Detach(info
.pos
);
1894 void wxSizer__SetItemMinSize(wxSizer
*self
,PyObject
*item
,wxSize
const &size
){
1895 bool blocked
= wxPyBeginBlockThreads();
1896 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, True
);
1897 wxPyEndBlockThreads(blocked
);
1899 self
->SetItemMinSize(info
.window
, size
);
1900 else if ( info
.sizer
)
1901 self
->SetItemMinSize(info
.sizer
, size
);
1902 else if ( info
.gotPos
)
1903 self
->SetItemMinSize(info
.pos
, size
);
1905 PyObject
*wxSizer_GetChildren(wxSizer
*self
){
1906 wxSizerItemList
& list
= self
->GetChildren();
1907 return wxPy_ConvertList(&list
);
1909 void wxSizer_Show(wxSizer
*self
,PyObject
*item
,bool show
){
1910 bool blocked
= wxPyBeginBlockThreads();
1911 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, True
);
1912 wxPyEndBlockThreads(blocked
);
1914 self
->Show(info
.window
, show
);
1915 else if ( info
.sizer
)
1916 self
->Show(info
.sizer
, show
);
1917 else if ( info
.gotPos
)
1918 self
->Show(info
.pos
, show
);
1920 bool wxSizer_IsShown(wxSizer
*self
,PyObject
*item
){
1921 bool blocked
= wxPyBeginBlockThreads();
1922 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, False
);
1923 wxPyEndBlockThreads(blocked
);
1925 return self
->IsShown(info
.window
);
1926 else if ( info
.sizer
)
1927 return self
->IsShown(info
.sizer
);
1928 else if ( info
.gotPos
)
1929 return self
->IsShown(info
.pos
);
1935 IMP_PYCALLBACK___pure(wxPySizer
, wxSizer
, RecalcSizes
);
1936 IMP_PYCALLBACK_wxSize__pure(wxPySizer
, wxSizer
, CalcMin
);
1937 IMPLEMENT_DYNAMIC_CLASS(wxPySizer
, wxSizer
);
1942 bool wxGBPosition_helper(PyObject
* source
, wxGBPosition
** obj
)
1944 if (source
== Py_None
) {
1945 **obj
= wxGBPosition(-1,-1);
1948 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBPosition"));
1951 bool wxGBSpan_helper(PyObject
* source
, wxGBSpan
** obj
)
1953 if (source
== Py_None
) {
1954 **obj
= wxGBSpan(-1,-1);
1957 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBSpan"));
1961 void wxGBPosition_Set(wxGBPosition
*self
,int row
,int col
){
1965 PyObject
*wxGBPosition_Get(wxGBPosition
*self
){
1966 bool blocked
= wxPyBeginBlockThreads();
1967 PyObject
* tup
= PyTuple_New(2);
1968 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRow()));
1969 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetCol()));
1970 wxPyEndBlockThreads(blocked
);
1973 void wxGBSpan_Set(wxGBSpan
*self
,int rowspan
,int colspan
){
1974 self
->SetRowspan(rowspan
);
1975 self
->SetColspan(colspan
);
1977 PyObject
*wxGBSpan_Get(wxGBSpan
*self
){
1978 bool blocked
= wxPyBeginBlockThreads();
1979 PyObject
* tup
= PyTuple_New(2);
1980 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRowspan()));
1981 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetColspan()));
1982 wxPyEndBlockThreads(blocked
);
1985 wxGBSizerItem
*new_wxGBSizerItem(wxWindow
*window
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
){
1986 wxPyUserData
* data
= NULL
;
1988 bool blocked
= wxPyBeginBlockThreads();
1989 data
= new wxPyUserData(userData
);
1990 wxPyEndBlockThreads(blocked
);
1992 return new wxGBSizerItem(window
, pos
, span
, flag
, border
, data
);
1994 wxGBSizerItem
*new_wxGBSizerItem(wxSizer
*sizer
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
){
1995 wxPyUserData
* data
= NULL
;
1997 bool blocked
= wxPyBeginBlockThreads();
1998 data
= new wxPyUserData(userData
);
1999 wxPyEndBlockThreads(blocked
);
2001 return new wxGBSizerItem(sizer
, pos
, span
, flag
, border
, data
);
2003 wxGBSizerItem
*new_wxGBSizerItem(int width
,int height
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
){
2004 wxPyUserData
* data
= NULL
;
2006 bool blocked
= wxPyBeginBlockThreads();
2007 data
= new wxPyUserData(userData
);
2008 wxPyEndBlockThreads(blocked
);
2010 return new wxGBSizerItem(width
, height
, pos
, span
, flag
, border
, data
);
2012 wxGBPosition
wxGBSizerItem_GetEndPos(wxGBSizerItem
*self
){
2014 self
->GetEndPos(row
, col
);
2015 return wxGBPosition(row
, col
);
2017 bool wxGridBagSizer_Add(wxGridBagSizer
*self
,PyObject
*item
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
){
2019 wxPyUserData
* data
= NULL
;
2020 bool blocked
= wxPyBeginBlockThreads();
2021 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, True
, False
);
2022 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
2023 data
= new wxPyUserData(userData
);
2024 wxPyEndBlockThreads(blocked
);
2026 // Now call the real Add method if a valid item type was found
2028 return self
->Add(info
.window
, pos
, span
, flag
, border
, data
);
2029 else if ( info
.sizer
)
2030 return self
->Add(info
.sizer
, pos
, span
, flag
, border
, data
);
2031 else if (info
.gotSize
)
2032 return self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
2033 pos
, span
, flag
, border
, data
);
2041 static int _wrap_EmptyString_set(PyObject
*) {
2042 PyErr_SetString(PyExc_TypeError
,"Variable EmptyString is read-only.");
2047 static PyObject
*_wrap_EmptyString_get() {
2052 pyobj
= PyUnicode_FromWideChar((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
2054 pyobj
= PyString_FromStringAndSize((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
2061 static PyObject
*_wrap_Object_GetClassName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2062 PyObject
*resultobj
;
2063 wxObject
*arg1
= (wxObject
*) 0 ;
2065 PyObject
* obj0
= 0 ;
2067 (char *) "self", NULL
2070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_GetClassName",kwnames
,&obj0
)) goto fail
;
2071 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxObject
,
2072 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2075 result
= wxObject_GetClassName(arg1
);
2077 wxPyEndAllowThreads(__tstate
);
2078 if (PyErr_Occurred()) SWIG_fail
;
2082 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2084 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2093 static PyObject
*_wrap_Object_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2094 PyObject
*resultobj
;
2095 wxObject
*arg1
= (wxObject
*) 0 ;
2096 PyObject
* obj0
= 0 ;
2098 (char *) "self", NULL
2101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_Destroy",kwnames
,&obj0
)) goto fail
;
2102 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxObject
,
2103 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2106 wxObject_Destroy(arg1
);
2108 wxPyEndAllowThreads(__tstate
);
2109 if (PyErr_Occurred()) SWIG_fail
;
2111 Py_INCREF(Py_None
); resultobj
= Py_None
;
2118 static PyObject
* Object_swigregister(PyObject
*, PyObject
*args
) {
2120 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2121 SWIG_TypeClientData(SWIGTYPE_p_wxObject
, obj
);
2123 return Py_BuildValue((char *)"");
2125 static PyObject
*_wrap_Size_width_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2126 PyObject
*resultobj
;
2127 wxSize
*arg1
= (wxSize
*) 0 ;
2129 PyObject
* obj0
= 0 ;
2130 PyObject
* obj1
= 0 ;
2132 (char *) "self",(char *) "x", NULL
2135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2136 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2137 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2138 arg2
= (int)SWIG_As_int(obj1
);
2139 if (PyErr_Occurred()) SWIG_fail
;
2140 if (arg1
) (arg1
)->x
= arg2
;
2142 Py_INCREF(Py_None
); resultobj
= Py_None
;
2149 static PyObject
*_wrap_Size_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2150 PyObject
*resultobj
;
2151 wxSize
*arg1
= (wxSize
*) 0 ;
2153 PyObject
* obj0
= 0 ;
2155 (char *) "self", NULL
2158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_width_get",kwnames
,&obj0
)) goto fail
;
2159 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2160 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2161 result
= (int) ((arg1
)->x
);
2163 resultobj
= SWIG_From_int((int)result
);
2170 static PyObject
*_wrap_Size_height_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2171 PyObject
*resultobj
;
2172 wxSize
*arg1
= (wxSize
*) 0 ;
2174 PyObject
* obj0
= 0 ;
2175 PyObject
* obj1
= 0 ;
2177 (char *) "self",(char *) "y", NULL
2180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_height_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2181 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2182 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2183 arg2
= (int)SWIG_As_int(obj1
);
2184 if (PyErr_Occurred()) SWIG_fail
;
2185 if (arg1
) (arg1
)->y
= arg2
;
2187 Py_INCREF(Py_None
); resultobj
= Py_None
;
2194 static PyObject
*_wrap_Size_height_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2195 PyObject
*resultobj
;
2196 wxSize
*arg1
= (wxSize
*) 0 ;
2198 PyObject
* obj0
= 0 ;
2200 (char *) "self", NULL
2203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_height_get",kwnames
,&obj0
)) goto fail
;
2204 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2205 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2206 result
= (int) ((arg1
)->y
);
2208 resultobj
= SWIG_From_int((int)result
);
2215 static PyObject
*_wrap_new_Size(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2216 PyObject
*resultobj
;
2217 int arg1
= (int) 0 ;
2218 int arg2
= (int) 0 ;
2220 PyObject
* obj0
= 0 ;
2221 PyObject
* obj1
= 0 ;
2223 (char *) "w",(char *) "h", NULL
2226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Size",kwnames
,&obj0
,&obj1
)) goto fail
;
2228 arg1
= (int)SWIG_As_int(obj0
);
2229 if (PyErr_Occurred()) SWIG_fail
;
2232 arg2
= (int)SWIG_As_int(obj1
);
2233 if (PyErr_Occurred()) SWIG_fail
;
2236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2237 result
= (wxSize
*)new wxSize(arg1
,arg2
);
2239 wxPyEndAllowThreads(__tstate
);
2240 if (PyErr_Occurred()) SWIG_fail
;
2242 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 1);
2249 static PyObject
*_wrap_delete_Size(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2250 PyObject
*resultobj
;
2251 wxSize
*arg1
= (wxSize
*) 0 ;
2252 PyObject
* obj0
= 0 ;
2254 (char *) "self", NULL
2257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Size",kwnames
,&obj0
)) goto fail
;
2258 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2259 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2264 wxPyEndAllowThreads(__tstate
);
2265 if (PyErr_Occurred()) SWIG_fail
;
2267 Py_INCREF(Py_None
); resultobj
= Py_None
;
2274 static PyObject
*_wrap_Size___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2275 PyObject
*resultobj
;
2276 wxSize
*arg1
= (wxSize
*) 0 ;
2280 PyObject
* obj0
= 0 ;
2281 PyObject
* obj1
= 0 ;
2283 (char *) "self",(char *) "sz", NULL
2286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
2287 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2291 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2295 result
= (bool)(arg1
)->operator ==((wxSize
const &)*arg2
);
2297 wxPyEndAllowThreads(__tstate
);
2298 if (PyErr_Occurred()) SWIG_fail
;
2301 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2309 static PyObject
*_wrap_Size___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2310 PyObject
*resultobj
;
2311 wxSize
*arg1
= (wxSize
*) 0 ;
2315 PyObject
* obj0
= 0 ;
2316 PyObject
* obj1
= 0 ;
2318 (char *) "self",(char *) "sz", NULL
2321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
2322 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2326 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2330 result
= (bool)(arg1
)->operator !=((wxSize
const &)*arg2
);
2332 wxPyEndAllowThreads(__tstate
);
2333 if (PyErr_Occurred()) SWIG_fail
;
2336 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2344 static PyObject
*_wrap_Size___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2345 PyObject
*resultobj
;
2346 wxSize
*arg1
= (wxSize
*) 0 ;
2350 PyObject
* obj0
= 0 ;
2351 PyObject
* obj1
= 0 ;
2353 (char *) "self",(char *) "sz", NULL
2356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
2357 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2358 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2361 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2365 result
= (arg1
)->operator +((wxSize
const &)*arg2
);
2367 wxPyEndAllowThreads(__tstate
);
2368 if (PyErr_Occurred()) SWIG_fail
;
2372 resultptr
= new wxSize((wxSize
&) result
);
2373 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
2381 static PyObject
*_wrap_Size___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2382 PyObject
*resultobj
;
2383 wxSize
*arg1
= (wxSize
*) 0 ;
2387 PyObject
* obj0
= 0 ;
2388 PyObject
* obj1
= 0 ;
2390 (char *) "self",(char *) "sz", NULL
2393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
2394 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2398 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2402 result
= (arg1
)->operator -((wxSize
const &)*arg2
);
2404 wxPyEndAllowThreads(__tstate
);
2405 if (PyErr_Occurred()) SWIG_fail
;
2409 resultptr
= new wxSize((wxSize
&) result
);
2410 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
2418 static PyObject
*_wrap_Size_IncTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2419 PyObject
*resultobj
;
2420 wxSize
*arg1
= (wxSize
*) 0 ;
2423 PyObject
* obj0
= 0 ;
2424 PyObject
* obj1
= 0 ;
2426 (char *) "self",(char *) "sz", NULL
2429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_IncTo",kwnames
,&obj0
,&obj1
)) goto fail
;
2430 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2431 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2434 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2438 (arg1
)->IncTo((wxSize
const &)*arg2
);
2440 wxPyEndAllowThreads(__tstate
);
2441 if (PyErr_Occurred()) SWIG_fail
;
2443 Py_INCREF(Py_None
); resultobj
= Py_None
;
2450 static PyObject
*_wrap_Size_DecTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2451 PyObject
*resultobj
;
2452 wxSize
*arg1
= (wxSize
*) 0 ;
2455 PyObject
* obj0
= 0 ;
2456 PyObject
* obj1
= 0 ;
2458 (char *) "self",(char *) "sz", NULL
2461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_DecTo",kwnames
,&obj0
,&obj1
)) goto fail
;
2462 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2463 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2466 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2470 (arg1
)->DecTo((wxSize
const &)*arg2
);
2472 wxPyEndAllowThreads(__tstate
);
2473 if (PyErr_Occurred()) SWIG_fail
;
2475 Py_INCREF(Py_None
); resultobj
= Py_None
;
2482 static PyObject
*_wrap_Size_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2483 PyObject
*resultobj
;
2484 wxSize
*arg1
= (wxSize
*) 0 ;
2487 PyObject
* obj0
= 0 ;
2488 PyObject
* obj1
= 0 ;
2489 PyObject
* obj2
= 0 ;
2491 (char *) "self",(char *) "w",(char *) "h", NULL
2494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Size_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2495 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2497 arg2
= (int)SWIG_As_int(obj1
);
2498 if (PyErr_Occurred()) SWIG_fail
;
2499 arg3
= (int)SWIG_As_int(obj2
);
2500 if (PyErr_Occurred()) SWIG_fail
;
2502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2503 (arg1
)->Set(arg2
,arg3
);
2505 wxPyEndAllowThreads(__tstate
);
2506 if (PyErr_Occurred()) SWIG_fail
;
2508 Py_INCREF(Py_None
); resultobj
= Py_None
;
2515 static PyObject
*_wrap_Size_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2516 PyObject
*resultobj
;
2517 wxSize
*arg1
= (wxSize
*) 0 ;
2519 PyObject
* obj0
= 0 ;
2520 PyObject
* obj1
= 0 ;
2522 (char *) "self",(char *) "w", NULL
2525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
2526 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2527 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2528 arg2
= (int)SWIG_As_int(obj1
);
2529 if (PyErr_Occurred()) SWIG_fail
;
2531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2532 (arg1
)->SetWidth(arg2
);
2534 wxPyEndAllowThreads(__tstate
);
2535 if (PyErr_Occurred()) SWIG_fail
;
2537 Py_INCREF(Py_None
); resultobj
= Py_None
;
2544 static PyObject
*_wrap_Size_SetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2545 PyObject
*resultobj
;
2546 wxSize
*arg1
= (wxSize
*) 0 ;
2548 PyObject
* obj0
= 0 ;
2549 PyObject
* obj1
= 0 ;
2551 (char *) "self",(char *) "h", NULL
2554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
2555 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2556 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2557 arg2
= (int)SWIG_As_int(obj1
);
2558 if (PyErr_Occurred()) SWIG_fail
;
2560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2561 (arg1
)->SetHeight(arg2
);
2563 wxPyEndAllowThreads(__tstate
);
2564 if (PyErr_Occurred()) SWIG_fail
;
2566 Py_INCREF(Py_None
); resultobj
= Py_None
;
2573 static PyObject
*_wrap_Size_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2574 PyObject
*resultobj
;
2575 wxSize
*arg1
= (wxSize
*) 0 ;
2577 PyObject
* obj0
= 0 ;
2579 (char *) "self", NULL
2582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetWidth",kwnames
,&obj0
)) goto fail
;
2583 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2584 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2587 result
= (int)((wxSize
const *)arg1
)->GetWidth();
2589 wxPyEndAllowThreads(__tstate
);
2590 if (PyErr_Occurred()) SWIG_fail
;
2592 resultobj
= SWIG_From_int((int)result
);
2599 static PyObject
*_wrap_Size_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2600 PyObject
*resultobj
;
2601 wxSize
*arg1
= (wxSize
*) 0 ;
2603 PyObject
* obj0
= 0 ;
2605 (char *) "self", NULL
2608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetHeight",kwnames
,&obj0
)) goto fail
;
2609 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2613 result
= (int)((wxSize
const *)arg1
)->GetHeight();
2615 wxPyEndAllowThreads(__tstate
);
2616 if (PyErr_Occurred()) SWIG_fail
;
2618 resultobj
= SWIG_From_int((int)result
);
2625 static PyObject
*_wrap_Size_IsFullySpecified(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2626 PyObject
*resultobj
;
2627 wxSize
*arg1
= (wxSize
*) 0 ;
2629 PyObject
* obj0
= 0 ;
2631 (char *) "self", NULL
2634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_IsFullySpecified",kwnames
,&obj0
)) goto fail
;
2635 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2636 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2639 result
= (bool)((wxSize
const *)arg1
)->IsFullySpecified();
2641 wxPyEndAllowThreads(__tstate
);
2642 if (PyErr_Occurred()) SWIG_fail
;
2645 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2653 static PyObject
*_wrap_Size_SetDefaults(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2654 PyObject
*resultobj
;
2655 wxSize
*arg1
= (wxSize
*) 0 ;
2658 PyObject
* obj0
= 0 ;
2659 PyObject
* obj1
= 0 ;
2661 (char *) "self",(char *) "size", NULL
2664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetDefaults",kwnames
,&obj0
,&obj1
)) goto fail
;
2665 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2666 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2669 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2673 (arg1
)->SetDefaults((wxSize
const &)*arg2
);
2675 wxPyEndAllowThreads(__tstate
);
2676 if (PyErr_Occurred()) SWIG_fail
;
2678 Py_INCREF(Py_None
); resultobj
= Py_None
;
2685 static PyObject
*_wrap_Size_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2686 PyObject
*resultobj
;
2687 wxSize
*arg1
= (wxSize
*) 0 ;
2689 PyObject
* obj0
= 0 ;
2691 (char *) "self", NULL
2694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_Get",kwnames
,&obj0
)) goto fail
;
2695 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2696 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2699 result
= (PyObject
*)wxSize_Get(arg1
);
2701 wxPyEndAllowThreads(__tstate
);
2702 if (PyErr_Occurred()) SWIG_fail
;
2711 static PyObject
* Size_swigregister(PyObject
*, PyObject
*args
) {
2713 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2714 SWIG_TypeClientData(SWIGTYPE_p_wxSize
, obj
);
2716 return Py_BuildValue((char *)"");
2718 static PyObject
*_wrap_RealPoint_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2719 PyObject
*resultobj
;
2720 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2722 PyObject
* obj0
= 0 ;
2723 PyObject
* obj1
= 0 ;
2725 (char *) "self",(char *) "x", NULL
2728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2729 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2730 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2731 arg2
= (double)SWIG_As_double(obj1
);
2732 if (PyErr_Occurred()) SWIG_fail
;
2733 if (arg1
) (arg1
)->x
= arg2
;
2735 Py_INCREF(Py_None
); resultobj
= Py_None
;
2742 static PyObject
*_wrap_RealPoint_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2743 PyObject
*resultobj
;
2744 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2746 PyObject
* obj0
= 0 ;
2748 (char *) "self", NULL
2751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_x_get",kwnames
,&obj0
)) goto fail
;
2752 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2753 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2754 result
= (double) ((arg1
)->x
);
2756 resultobj
= SWIG_From_double((double)result
);
2763 static PyObject
*_wrap_RealPoint_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2764 PyObject
*resultobj
;
2765 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2767 PyObject
* obj0
= 0 ;
2768 PyObject
* obj1
= 0 ;
2770 (char *) "self",(char *) "y", NULL
2773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2774 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2775 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2776 arg2
= (double)SWIG_As_double(obj1
);
2777 if (PyErr_Occurred()) SWIG_fail
;
2778 if (arg1
) (arg1
)->y
= arg2
;
2780 Py_INCREF(Py_None
); resultobj
= Py_None
;
2787 static PyObject
*_wrap_RealPoint_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2788 PyObject
*resultobj
;
2789 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2791 PyObject
* obj0
= 0 ;
2793 (char *) "self", NULL
2796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_y_get",kwnames
,&obj0
)) goto fail
;
2797 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2799 result
= (double) ((arg1
)->y
);
2801 resultobj
= SWIG_From_double((double)result
);
2808 static PyObject
*_wrap_new_RealPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2809 PyObject
*resultobj
;
2810 double arg1
= (double) 0.0 ;
2811 double arg2
= (double) 0.0 ;
2812 wxRealPoint
*result
;
2813 PyObject
* obj0
= 0 ;
2814 PyObject
* obj1
= 0 ;
2816 (char *) "x",(char *) "y", NULL
2819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_RealPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
2821 arg1
= (double)SWIG_As_double(obj0
);
2822 if (PyErr_Occurred()) SWIG_fail
;
2825 arg2
= (double)SWIG_As_double(obj1
);
2826 if (PyErr_Occurred()) SWIG_fail
;
2829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2830 result
= (wxRealPoint
*)new wxRealPoint(arg1
,arg2
);
2832 wxPyEndAllowThreads(__tstate
);
2833 if (PyErr_Occurred()) SWIG_fail
;
2835 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRealPoint
, 1);
2842 static PyObject
*_wrap_delete_RealPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2843 PyObject
*resultobj
;
2844 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2845 PyObject
* obj0
= 0 ;
2847 (char *) "self", NULL
2850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_RealPoint",kwnames
,&obj0
)) goto fail
;
2851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2857 wxPyEndAllowThreads(__tstate
);
2858 if (PyErr_Occurred()) SWIG_fail
;
2860 Py_INCREF(Py_None
); resultobj
= Py_None
;
2867 static PyObject
*_wrap_RealPoint___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2868 PyObject
*resultobj
;
2869 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2870 wxRealPoint
*arg2
= 0 ;
2873 PyObject
* obj0
= 0 ;
2874 PyObject
* obj1
= 0 ;
2876 (char *) "self",(char *) "pt", NULL
2879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
2880 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2881 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2884 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2888 result
= (bool)(arg1
)->operator ==((wxRealPoint
const &)*arg2
);
2890 wxPyEndAllowThreads(__tstate
);
2891 if (PyErr_Occurred()) SWIG_fail
;
2894 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2902 static PyObject
*_wrap_RealPoint___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2903 PyObject
*resultobj
;
2904 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2905 wxRealPoint
*arg2
= 0 ;
2908 PyObject
* obj0
= 0 ;
2909 PyObject
* obj1
= 0 ;
2911 (char *) "self",(char *) "pt", NULL
2914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
2915 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2919 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2923 result
= (bool)(arg1
)->operator !=((wxRealPoint
const &)*arg2
);
2925 wxPyEndAllowThreads(__tstate
);
2926 if (PyErr_Occurred()) SWIG_fail
;
2929 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2937 static PyObject
*_wrap_RealPoint___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2938 PyObject
*resultobj
;
2939 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2940 wxRealPoint
*arg2
= 0 ;
2943 PyObject
* obj0
= 0 ;
2944 PyObject
* obj1
= 0 ;
2946 (char *) "self",(char *) "pt", NULL
2949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
2950 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2954 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2958 result
= (arg1
)->operator +((wxRealPoint
const &)*arg2
);
2960 wxPyEndAllowThreads(__tstate
);
2961 if (PyErr_Occurred()) SWIG_fail
;
2964 wxRealPoint
* resultptr
;
2965 resultptr
= new wxRealPoint((wxRealPoint
&) result
);
2966 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRealPoint
, 1);
2974 static PyObject
*_wrap_RealPoint___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2975 PyObject
*resultobj
;
2976 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2977 wxRealPoint
*arg2
= 0 ;
2980 PyObject
* obj0
= 0 ;
2981 PyObject
* obj1
= 0 ;
2983 (char *) "self",(char *) "pt", NULL
2986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
2987 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2991 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2995 result
= (arg1
)->operator -((wxRealPoint
const &)*arg2
);
2997 wxPyEndAllowThreads(__tstate
);
2998 if (PyErr_Occurred()) SWIG_fail
;
3001 wxRealPoint
* resultptr
;
3002 resultptr
= new wxRealPoint((wxRealPoint
&) result
);
3003 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRealPoint
, 1);
3011 static PyObject
*_wrap_RealPoint_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3012 PyObject
*resultobj
;
3013 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
3016 PyObject
* obj0
= 0 ;
3017 PyObject
* obj1
= 0 ;
3018 PyObject
* obj2
= 0 ;
3020 (char *) "self",(char *) "x",(char *) "y", NULL
3023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RealPoint_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3024 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
3025 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3026 arg2
= (double)SWIG_As_double(obj1
);
3027 if (PyErr_Occurred()) SWIG_fail
;
3028 arg3
= (double)SWIG_As_double(obj2
);
3029 if (PyErr_Occurred()) SWIG_fail
;
3031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3032 wxRealPoint_Set(arg1
,arg2
,arg3
);
3034 wxPyEndAllowThreads(__tstate
);
3035 if (PyErr_Occurred()) SWIG_fail
;
3037 Py_INCREF(Py_None
); resultobj
= Py_None
;
3044 static PyObject
*_wrap_RealPoint_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3045 PyObject
*resultobj
;
3046 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
3048 PyObject
* obj0
= 0 ;
3050 (char *) "self", NULL
3053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_Get",kwnames
,&obj0
)) goto fail
;
3054 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
3055 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3058 result
= (PyObject
*)wxRealPoint_Get(arg1
);
3060 wxPyEndAllowThreads(__tstate
);
3061 if (PyErr_Occurred()) SWIG_fail
;
3070 static PyObject
* RealPoint_swigregister(PyObject
*, PyObject
*args
) {
3072 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3073 SWIG_TypeClientData(SWIGTYPE_p_wxRealPoint
, obj
);
3075 return Py_BuildValue((char *)"");
3077 static PyObject
*_wrap_Point_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3078 PyObject
*resultobj
;
3079 wxPoint
*arg1
= (wxPoint
*) 0 ;
3081 PyObject
* obj0
= 0 ;
3082 PyObject
* obj1
= 0 ;
3084 (char *) "self",(char *) "x", NULL
3087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
3088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3090 arg2
= (int)SWIG_As_int(obj1
);
3091 if (PyErr_Occurred()) SWIG_fail
;
3092 if (arg1
) (arg1
)->x
= arg2
;
3094 Py_INCREF(Py_None
); resultobj
= Py_None
;
3101 static PyObject
*_wrap_Point_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3102 PyObject
*resultobj
;
3103 wxPoint
*arg1
= (wxPoint
*) 0 ;
3105 PyObject
* obj0
= 0 ;
3107 (char *) "self", NULL
3110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_x_get",kwnames
,&obj0
)) goto fail
;
3111 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3113 result
= (int) ((arg1
)->x
);
3115 resultobj
= SWIG_From_int((int)result
);
3122 static PyObject
*_wrap_Point_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3123 PyObject
*resultobj
;
3124 wxPoint
*arg1
= (wxPoint
*) 0 ;
3126 PyObject
* obj0
= 0 ;
3127 PyObject
* obj1
= 0 ;
3129 (char *) "self",(char *) "y", NULL
3132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
3133 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3134 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3135 arg2
= (int)SWIG_As_int(obj1
);
3136 if (PyErr_Occurred()) SWIG_fail
;
3137 if (arg1
) (arg1
)->y
= arg2
;
3139 Py_INCREF(Py_None
); resultobj
= Py_None
;
3146 static PyObject
*_wrap_Point_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3147 PyObject
*resultobj
;
3148 wxPoint
*arg1
= (wxPoint
*) 0 ;
3150 PyObject
* obj0
= 0 ;
3152 (char *) "self", NULL
3155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_y_get",kwnames
,&obj0
)) goto fail
;
3156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3158 result
= (int) ((arg1
)->y
);
3160 resultobj
= SWIG_From_int((int)result
);
3167 static PyObject
*_wrap_new_Point(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3168 PyObject
*resultobj
;
3169 int arg1
= (int) 0 ;
3170 int arg2
= (int) 0 ;
3172 PyObject
* obj0
= 0 ;
3173 PyObject
* obj1
= 0 ;
3175 (char *) "x",(char *) "y", NULL
3178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point",kwnames
,&obj0
,&obj1
)) goto fail
;
3180 arg1
= (int)SWIG_As_int(obj0
);
3181 if (PyErr_Occurred()) SWIG_fail
;
3184 arg2
= (int)SWIG_As_int(obj1
);
3185 if (PyErr_Occurred()) SWIG_fail
;
3188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3189 result
= (wxPoint
*)new wxPoint(arg1
,arg2
);
3191 wxPyEndAllowThreads(__tstate
);
3192 if (PyErr_Occurred()) SWIG_fail
;
3194 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 1);
3201 static PyObject
*_wrap_delete_Point(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3202 PyObject
*resultobj
;
3203 wxPoint
*arg1
= (wxPoint
*) 0 ;
3204 PyObject
* obj0
= 0 ;
3206 (char *) "self", NULL
3209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Point",kwnames
,&obj0
)) goto fail
;
3210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3216 wxPyEndAllowThreads(__tstate
);
3217 if (PyErr_Occurred()) SWIG_fail
;
3219 Py_INCREF(Py_None
); resultobj
= Py_None
;
3226 static PyObject
*_wrap_Point___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3227 PyObject
*resultobj
;
3228 wxPoint
*arg1
= (wxPoint
*) 0 ;
3232 PyObject
* obj0
= 0 ;
3233 PyObject
* obj1
= 0 ;
3235 (char *) "self",(char *) "pt", NULL
3238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
3239 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3240 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3243 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3247 result
= (bool)(arg1
)->operator ==((wxPoint
const &)*arg2
);
3249 wxPyEndAllowThreads(__tstate
);
3250 if (PyErr_Occurred()) SWIG_fail
;
3253 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3261 static PyObject
*_wrap_Point___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3262 PyObject
*resultobj
;
3263 wxPoint
*arg1
= (wxPoint
*) 0 ;
3267 PyObject
* obj0
= 0 ;
3268 PyObject
* obj1
= 0 ;
3270 (char *) "self",(char *) "pt", NULL
3273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
3274 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3278 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3282 result
= (bool)(arg1
)->operator !=((wxPoint
const &)*arg2
);
3284 wxPyEndAllowThreads(__tstate
);
3285 if (PyErr_Occurred()) SWIG_fail
;
3288 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3296 static PyObject
*_wrap_Point___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3297 PyObject
*resultobj
;
3298 wxPoint
*arg1
= (wxPoint
*) 0 ;
3302 PyObject
* obj0
= 0 ;
3303 PyObject
* obj1
= 0 ;
3305 (char *) "self",(char *) "pt", NULL
3308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
3309 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3313 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3317 result
= (arg1
)->operator +((wxPoint
const &)*arg2
);
3319 wxPyEndAllowThreads(__tstate
);
3320 if (PyErr_Occurred()) SWIG_fail
;
3323 wxPoint
* resultptr
;
3324 resultptr
= new wxPoint((wxPoint
&) result
);
3325 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3333 static PyObject
*_wrap_Point___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3334 PyObject
*resultobj
;
3335 wxPoint
*arg1
= (wxPoint
*) 0 ;
3339 PyObject
* obj0
= 0 ;
3340 PyObject
* obj1
= 0 ;
3342 (char *) "self",(char *) "pt", NULL
3345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
3346 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3350 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3354 result
= (arg1
)->operator -((wxPoint
const &)*arg2
);
3356 wxPyEndAllowThreads(__tstate
);
3357 if (PyErr_Occurred()) SWIG_fail
;
3360 wxPoint
* resultptr
;
3361 resultptr
= new wxPoint((wxPoint
&) result
);
3362 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3370 static PyObject
*_wrap_Point___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3371 PyObject
*resultobj
;
3372 wxPoint
*arg1
= (wxPoint
*) 0 ;
3376 PyObject
* obj0
= 0 ;
3377 PyObject
* obj1
= 0 ;
3379 (char *) "self",(char *) "pt", NULL
3382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
3383 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3384 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
3387 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3392 wxPoint
&_result_ref
= (arg1
)->operator +=((wxPoint
const &)*arg2
);
3393 result
= (wxPoint
*) &_result_ref
;
3396 wxPyEndAllowThreads(__tstate
);
3397 if (PyErr_Occurred()) SWIG_fail
;
3399 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 1);
3406 static PyObject
*_wrap_Point___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3407 PyObject
*resultobj
;
3408 wxPoint
*arg1
= (wxPoint
*) 0 ;
3412 PyObject
* obj0
= 0 ;
3413 PyObject
* obj1
= 0 ;
3415 (char *) "self",(char *) "pt", NULL
3418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
3419 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3420 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
3423 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3428 wxPoint
&_result_ref
= (arg1
)->operator -=((wxPoint
const &)*arg2
);
3429 result
= (wxPoint
*) &_result_ref
;
3432 wxPyEndAllowThreads(__tstate
);
3433 if (PyErr_Occurred()) SWIG_fail
;
3435 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 1);
3442 static PyObject
*_wrap_Point_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3443 PyObject
*resultobj
;
3444 wxPoint
*arg1
= (wxPoint
*) 0 ;
3447 PyObject
* obj0
= 0 ;
3448 PyObject
* obj1
= 0 ;
3449 PyObject
* obj2
= 0 ;
3451 (char *) "self",(char *) "x",(char *) "y", NULL
3454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Point_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3455 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3456 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3457 arg2
= (long)SWIG_As_long(obj1
);
3458 if (PyErr_Occurred()) SWIG_fail
;
3459 arg3
= (long)SWIG_As_long(obj2
);
3460 if (PyErr_Occurred()) SWIG_fail
;
3462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3463 wxPoint_Set(arg1
,arg2
,arg3
);
3465 wxPyEndAllowThreads(__tstate
);
3466 if (PyErr_Occurred()) SWIG_fail
;
3468 Py_INCREF(Py_None
); resultobj
= Py_None
;
3475 static PyObject
*_wrap_Point_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3476 PyObject
*resultobj
;
3477 wxPoint
*arg1
= (wxPoint
*) 0 ;
3479 PyObject
* obj0
= 0 ;
3481 (char *) "self", NULL
3484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_Get",kwnames
,&obj0
)) goto fail
;
3485 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3486 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3489 result
= (PyObject
*)wxPoint_Get(arg1
);
3491 wxPyEndAllowThreads(__tstate
);
3492 if (PyErr_Occurred()) SWIG_fail
;
3501 static PyObject
* Point_swigregister(PyObject
*, PyObject
*args
) {
3503 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3504 SWIG_TypeClientData(SWIGTYPE_p_wxPoint
, obj
);
3506 return Py_BuildValue((char *)"");
3508 static PyObject
*_wrap_new_Rect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3509 PyObject
*resultobj
;
3510 int arg1
= (int) 0 ;
3511 int arg2
= (int) 0 ;
3512 int arg3
= (int) 0 ;
3513 int arg4
= (int) 0 ;
3515 PyObject
* obj0
= 0 ;
3516 PyObject
* obj1
= 0 ;
3517 PyObject
* obj2
= 0 ;
3518 PyObject
* obj3
= 0 ;
3520 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
3523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Rect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3525 arg1
= (int)SWIG_As_int(obj0
);
3526 if (PyErr_Occurred()) SWIG_fail
;
3529 arg2
= (int)SWIG_As_int(obj1
);
3530 if (PyErr_Occurred()) SWIG_fail
;
3533 arg3
= (int)SWIG_As_int(obj2
);
3534 if (PyErr_Occurred()) SWIG_fail
;
3537 arg4
= (int)SWIG_As_int(obj3
);
3538 if (PyErr_Occurred()) SWIG_fail
;
3541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3542 result
= (wxRect
*)new wxRect(arg1
,arg2
,arg3
,arg4
);
3544 wxPyEndAllowThreads(__tstate
);
3545 if (PyErr_Occurred()) SWIG_fail
;
3547 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
3554 static PyObject
*_wrap_new_RectPP(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3555 PyObject
*resultobj
;
3561 PyObject
* obj0
= 0 ;
3562 PyObject
* obj1
= 0 ;
3564 (char *) "topLeft",(char *) "bottomRight", NULL
3567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPP",kwnames
,&obj0
,&obj1
)) goto fail
;
3570 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
3574 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3578 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxPoint
const &)*arg2
);
3580 wxPyEndAllowThreads(__tstate
);
3581 if (PyErr_Occurred()) SWIG_fail
;
3583 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
3590 static PyObject
*_wrap_new_RectPS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3591 PyObject
*resultobj
;
3597 PyObject
* obj0
= 0 ;
3598 PyObject
* obj1
= 0 ;
3600 (char *) "pos",(char *) "size", NULL
3603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPS",kwnames
,&obj0
,&obj1
)) goto fail
;
3606 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
3610 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3614 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxSize
const &)*arg2
);
3616 wxPyEndAllowThreads(__tstate
);
3617 if (PyErr_Occurred()) SWIG_fail
;
3619 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
3626 static PyObject
*_wrap_delete_Rect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3627 PyObject
*resultobj
;
3628 wxRect
*arg1
= (wxRect
*) 0 ;
3629 PyObject
* obj0
= 0 ;
3631 (char *) "self", NULL
3634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Rect",kwnames
,&obj0
)) goto fail
;
3635 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3636 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3641 wxPyEndAllowThreads(__tstate
);
3642 if (PyErr_Occurred()) SWIG_fail
;
3644 Py_INCREF(Py_None
); resultobj
= Py_None
;
3651 static PyObject
*_wrap_Rect_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3652 PyObject
*resultobj
;
3653 wxRect
*arg1
= (wxRect
*) 0 ;
3655 PyObject
* obj0
= 0 ;
3657 (char *) "self", NULL
3660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetX",kwnames
,&obj0
)) goto fail
;
3661 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3662 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3665 result
= (int)((wxRect
const *)arg1
)->GetX();
3667 wxPyEndAllowThreads(__tstate
);
3668 if (PyErr_Occurred()) SWIG_fail
;
3670 resultobj
= SWIG_From_int((int)result
);
3677 static PyObject
*_wrap_Rect_SetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3678 PyObject
*resultobj
;
3679 wxRect
*arg1
= (wxRect
*) 0 ;
3681 PyObject
* obj0
= 0 ;
3682 PyObject
* obj1
= 0 ;
3684 (char *) "self",(char *) "x", NULL
3687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetX",kwnames
,&obj0
,&obj1
)) goto fail
;
3688 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3689 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3690 arg2
= (int)SWIG_As_int(obj1
);
3691 if (PyErr_Occurred()) SWIG_fail
;
3693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3696 wxPyEndAllowThreads(__tstate
);
3697 if (PyErr_Occurred()) SWIG_fail
;
3699 Py_INCREF(Py_None
); resultobj
= Py_None
;
3706 static PyObject
*_wrap_Rect_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3707 PyObject
*resultobj
;
3708 wxRect
*arg1
= (wxRect
*) 0 ;
3710 PyObject
* obj0
= 0 ;
3712 (char *) "self", NULL
3715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetY",kwnames
,&obj0
)) goto fail
;
3716 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3717 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3720 result
= (int)(arg1
)->GetY();
3722 wxPyEndAllowThreads(__tstate
);
3723 if (PyErr_Occurred()) SWIG_fail
;
3725 resultobj
= SWIG_From_int((int)result
);
3732 static PyObject
*_wrap_Rect_SetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3733 PyObject
*resultobj
;
3734 wxRect
*arg1
= (wxRect
*) 0 ;
3736 PyObject
* obj0
= 0 ;
3737 PyObject
* obj1
= 0 ;
3739 (char *) "self",(char *) "y", NULL
3742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetY",kwnames
,&obj0
,&obj1
)) goto fail
;
3743 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3744 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3745 arg2
= (int)SWIG_As_int(obj1
);
3746 if (PyErr_Occurred()) SWIG_fail
;
3748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3751 wxPyEndAllowThreads(__tstate
);
3752 if (PyErr_Occurred()) SWIG_fail
;
3754 Py_INCREF(Py_None
); resultobj
= Py_None
;
3761 static PyObject
*_wrap_Rect_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3762 PyObject
*resultobj
;
3763 wxRect
*arg1
= (wxRect
*) 0 ;
3765 PyObject
* obj0
= 0 ;
3767 (char *) "self", NULL
3770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetWidth",kwnames
,&obj0
)) goto fail
;
3771 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3772 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3775 result
= (int)((wxRect
const *)arg1
)->GetWidth();
3777 wxPyEndAllowThreads(__tstate
);
3778 if (PyErr_Occurred()) SWIG_fail
;
3780 resultobj
= SWIG_From_int((int)result
);
3787 static PyObject
*_wrap_Rect_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3788 PyObject
*resultobj
;
3789 wxRect
*arg1
= (wxRect
*) 0 ;
3791 PyObject
* obj0
= 0 ;
3792 PyObject
* obj1
= 0 ;
3794 (char *) "self",(char *) "w", NULL
3797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3798 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3799 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3800 arg2
= (int)SWIG_As_int(obj1
);
3801 if (PyErr_Occurred()) SWIG_fail
;
3803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3804 (arg1
)->SetWidth(arg2
);
3806 wxPyEndAllowThreads(__tstate
);
3807 if (PyErr_Occurred()) SWIG_fail
;
3809 Py_INCREF(Py_None
); resultobj
= Py_None
;
3816 static PyObject
*_wrap_Rect_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3817 PyObject
*resultobj
;
3818 wxRect
*arg1
= (wxRect
*) 0 ;
3820 PyObject
* obj0
= 0 ;
3822 (char *) "self", NULL
3825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetHeight",kwnames
,&obj0
)) goto fail
;
3826 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3827 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3830 result
= (int)((wxRect
const *)arg1
)->GetHeight();
3832 wxPyEndAllowThreads(__tstate
);
3833 if (PyErr_Occurred()) SWIG_fail
;
3835 resultobj
= SWIG_From_int((int)result
);
3842 static PyObject
*_wrap_Rect_SetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3843 PyObject
*resultobj
;
3844 wxRect
*arg1
= (wxRect
*) 0 ;
3846 PyObject
* obj0
= 0 ;
3847 PyObject
* obj1
= 0 ;
3849 (char *) "self",(char *) "h", NULL
3852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
3853 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3855 arg2
= (int)SWIG_As_int(obj1
);
3856 if (PyErr_Occurred()) SWIG_fail
;
3858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3859 (arg1
)->SetHeight(arg2
);
3861 wxPyEndAllowThreads(__tstate
);
3862 if (PyErr_Occurred()) SWIG_fail
;
3864 Py_INCREF(Py_None
); resultobj
= Py_None
;
3871 static PyObject
*_wrap_Rect_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3872 PyObject
*resultobj
;
3873 wxRect
*arg1
= (wxRect
*) 0 ;
3875 PyObject
* obj0
= 0 ;
3877 (char *) "self", NULL
3880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetPosition",kwnames
,&obj0
)) goto fail
;
3881 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3882 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3885 result
= ((wxRect
const *)arg1
)->GetPosition();
3887 wxPyEndAllowThreads(__tstate
);
3888 if (PyErr_Occurred()) SWIG_fail
;
3891 wxPoint
* resultptr
;
3892 resultptr
= new wxPoint((wxPoint
&) result
);
3893 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3901 static PyObject
*_wrap_Rect_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3902 PyObject
*resultobj
;
3903 wxRect
*arg1
= (wxRect
*) 0 ;
3906 PyObject
* obj0
= 0 ;
3907 PyObject
* obj1
= 0 ;
3909 (char *) "self",(char *) "p", NULL
3912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
3913 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3914 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3917 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3921 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
3923 wxPyEndAllowThreads(__tstate
);
3924 if (PyErr_Occurred()) SWIG_fail
;
3926 Py_INCREF(Py_None
); resultobj
= Py_None
;
3933 static PyObject
*_wrap_Rect_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3934 PyObject
*resultobj
;
3935 wxRect
*arg1
= (wxRect
*) 0 ;
3937 PyObject
* obj0
= 0 ;
3939 (char *) "self", NULL
3942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetSize",kwnames
,&obj0
)) goto fail
;
3943 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3944 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3947 result
= ((wxRect
const *)arg1
)->GetSize();
3949 wxPyEndAllowThreads(__tstate
);
3950 if (PyErr_Occurred()) SWIG_fail
;
3954 resultptr
= new wxSize((wxSize
&) result
);
3955 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
3963 static PyObject
*_wrap_Rect_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3964 PyObject
*resultobj
;
3965 wxRect
*arg1
= (wxRect
*) 0 ;
3968 PyObject
* obj0
= 0 ;
3969 PyObject
* obj1
= 0 ;
3971 (char *) "self",(char *) "s", NULL
3974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
3975 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3979 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3983 (arg1
)->SetSize((wxSize
const &)*arg2
);
3985 wxPyEndAllowThreads(__tstate
);
3986 if (PyErr_Occurred()) SWIG_fail
;
3988 Py_INCREF(Py_None
); resultobj
= Py_None
;
3995 static PyObject
*_wrap_Rect_GetTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3996 PyObject
*resultobj
;
3997 wxRect
*arg1
= (wxRect
*) 0 ;
3999 PyObject
* obj0
= 0 ;
4001 (char *) "self", NULL
4004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetTopLeft",kwnames
,&obj0
)) goto fail
;
4005 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4009 result
= ((wxRect
const *)arg1
)->GetTopLeft();
4011 wxPyEndAllowThreads(__tstate
);
4012 if (PyErr_Occurred()) SWIG_fail
;
4015 wxPoint
* resultptr
;
4016 resultptr
= new wxPoint((wxPoint
&) result
);
4017 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
4025 static PyObject
*_wrap_Rect_SetTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4026 PyObject
*resultobj
;
4027 wxRect
*arg1
= (wxRect
*) 0 ;
4030 PyObject
* obj0
= 0 ;
4031 PyObject
* obj1
= 0 ;
4033 (char *) "self",(char *) "p", NULL
4036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
4037 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4038 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4041 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4045 (arg1
)->SetTopLeft((wxPoint
const &)*arg2
);
4047 wxPyEndAllowThreads(__tstate
);
4048 if (PyErr_Occurred()) SWIG_fail
;
4050 Py_INCREF(Py_None
); resultobj
= Py_None
;
4057 static PyObject
*_wrap_Rect_GetBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4058 PyObject
*resultobj
;
4059 wxRect
*arg1
= (wxRect
*) 0 ;
4061 PyObject
* obj0
= 0 ;
4063 (char *) "self", NULL
4066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetBottomRight",kwnames
,&obj0
)) goto fail
;
4067 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4068 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4071 result
= ((wxRect
const *)arg1
)->GetBottomRight();
4073 wxPyEndAllowThreads(__tstate
);
4074 if (PyErr_Occurred()) SWIG_fail
;
4077 wxPoint
* resultptr
;
4078 resultptr
= new wxPoint((wxPoint
&) result
);
4079 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
4087 static PyObject
*_wrap_Rect_SetBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4088 PyObject
*resultobj
;
4089 wxRect
*arg1
= (wxRect
*) 0 ;
4092 PyObject
* obj0
= 0 ;
4093 PyObject
* obj1
= 0 ;
4095 (char *) "self",(char *) "p", NULL
4098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
4099 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4100 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4103 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4107 (arg1
)->SetBottomRight((wxPoint
const &)*arg2
);
4109 wxPyEndAllowThreads(__tstate
);
4110 if (PyErr_Occurred()) SWIG_fail
;
4112 Py_INCREF(Py_None
); resultobj
= Py_None
;
4119 static PyObject
*_wrap_Rect_GetLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4120 PyObject
*resultobj
;
4121 wxRect
*arg1
= (wxRect
*) 0 ;
4123 PyObject
* obj0
= 0 ;
4125 (char *) "self", NULL
4128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetLeft",kwnames
,&obj0
)) goto fail
;
4129 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4133 result
= (int)((wxRect
const *)arg1
)->GetLeft();
4135 wxPyEndAllowThreads(__tstate
);
4136 if (PyErr_Occurred()) SWIG_fail
;
4138 resultobj
= SWIG_From_int((int)result
);
4145 static PyObject
*_wrap_Rect_GetTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4146 PyObject
*resultobj
;
4147 wxRect
*arg1
= (wxRect
*) 0 ;
4149 PyObject
* obj0
= 0 ;
4151 (char *) "self", NULL
4154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetTop",kwnames
,&obj0
)) goto fail
;
4155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4159 result
= (int)((wxRect
const *)arg1
)->GetTop();
4161 wxPyEndAllowThreads(__tstate
);
4162 if (PyErr_Occurred()) SWIG_fail
;
4164 resultobj
= SWIG_From_int((int)result
);
4171 static PyObject
*_wrap_Rect_GetBottom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4172 PyObject
*resultobj
;
4173 wxRect
*arg1
= (wxRect
*) 0 ;
4175 PyObject
* obj0
= 0 ;
4177 (char *) "self", NULL
4180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetBottom",kwnames
,&obj0
)) goto fail
;
4181 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4182 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4185 result
= (int)((wxRect
const *)arg1
)->GetBottom();
4187 wxPyEndAllowThreads(__tstate
);
4188 if (PyErr_Occurred()) SWIG_fail
;
4190 resultobj
= SWIG_From_int((int)result
);
4197 static PyObject
*_wrap_Rect_GetRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4198 PyObject
*resultobj
;
4199 wxRect
*arg1
= (wxRect
*) 0 ;
4201 PyObject
* obj0
= 0 ;
4203 (char *) "self", NULL
4206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetRight",kwnames
,&obj0
)) goto fail
;
4207 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4211 result
= (int)((wxRect
const *)arg1
)->GetRight();
4213 wxPyEndAllowThreads(__tstate
);
4214 if (PyErr_Occurred()) SWIG_fail
;
4216 resultobj
= SWIG_From_int((int)result
);
4223 static PyObject
*_wrap_Rect_SetLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4224 PyObject
*resultobj
;
4225 wxRect
*arg1
= (wxRect
*) 0 ;
4227 PyObject
* obj0
= 0 ;
4228 PyObject
* obj1
= 0 ;
4230 (char *) "self",(char *) "left", NULL
4233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
4234 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4236 arg2
= (int)SWIG_As_int(obj1
);
4237 if (PyErr_Occurred()) SWIG_fail
;
4239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4240 (arg1
)->SetLeft(arg2
);
4242 wxPyEndAllowThreads(__tstate
);
4243 if (PyErr_Occurred()) SWIG_fail
;
4245 Py_INCREF(Py_None
); resultobj
= Py_None
;
4252 static PyObject
*_wrap_Rect_SetRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4253 PyObject
*resultobj
;
4254 wxRect
*arg1
= (wxRect
*) 0 ;
4256 PyObject
* obj0
= 0 ;
4257 PyObject
* obj1
= 0 ;
4259 (char *) "self",(char *) "right", NULL
4262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetRight",kwnames
,&obj0
,&obj1
)) goto fail
;
4263 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4264 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4265 arg2
= (int)SWIG_As_int(obj1
);
4266 if (PyErr_Occurred()) SWIG_fail
;
4268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4269 (arg1
)->SetRight(arg2
);
4271 wxPyEndAllowThreads(__tstate
);
4272 if (PyErr_Occurred()) SWIG_fail
;
4274 Py_INCREF(Py_None
); resultobj
= Py_None
;
4281 static PyObject
*_wrap_Rect_SetTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4282 PyObject
*resultobj
;
4283 wxRect
*arg1
= (wxRect
*) 0 ;
4285 PyObject
* obj0
= 0 ;
4286 PyObject
* obj1
= 0 ;
4288 (char *) "self",(char *) "top", NULL
4291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTop",kwnames
,&obj0
,&obj1
)) goto fail
;
4292 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4294 arg2
= (int)SWIG_As_int(obj1
);
4295 if (PyErr_Occurred()) SWIG_fail
;
4297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4298 (arg1
)->SetTop(arg2
);
4300 wxPyEndAllowThreads(__tstate
);
4301 if (PyErr_Occurred()) SWIG_fail
;
4303 Py_INCREF(Py_None
); resultobj
= Py_None
;
4310 static PyObject
*_wrap_Rect_SetBottom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4311 PyObject
*resultobj
;
4312 wxRect
*arg1
= (wxRect
*) 0 ;
4314 PyObject
* obj0
= 0 ;
4315 PyObject
* obj1
= 0 ;
4317 (char *) "self",(char *) "bottom", NULL
4320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottom",kwnames
,&obj0
,&obj1
)) goto fail
;
4321 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4322 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4323 arg2
= (int)SWIG_As_int(obj1
);
4324 if (PyErr_Occurred()) SWIG_fail
;
4326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4327 (arg1
)->SetBottom(arg2
);
4329 wxPyEndAllowThreads(__tstate
);
4330 if (PyErr_Occurred()) SWIG_fail
;
4332 Py_INCREF(Py_None
); resultobj
= Py_None
;
4339 static PyObject
*_wrap_Rect_Inflate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4340 PyObject
*resultobj
;
4341 wxRect
*arg1
= (wxRect
*) 0 ;
4345 PyObject
* obj0
= 0 ;
4346 PyObject
* obj1
= 0 ;
4347 PyObject
* obj2
= 0 ;
4349 (char *) "self",(char *) "dx",(char *) "dy", NULL
4352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_Inflate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4353 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4354 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4355 arg2
= (int)SWIG_As_int(obj1
);
4356 if (PyErr_Occurred()) SWIG_fail
;
4357 arg3
= (int)SWIG_As_int(obj2
);
4358 if (PyErr_Occurred()) SWIG_fail
;
4360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4362 wxRect
&_result_ref
= (arg1
)->Inflate(arg2
,arg3
);
4363 result
= (wxRect
*) &_result_ref
;
4366 wxPyEndAllowThreads(__tstate
);
4367 if (PyErr_Occurred()) SWIG_fail
;
4369 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
4376 static PyObject
*_wrap_Rect_Deflate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4377 PyObject
*resultobj
;
4378 wxRect
*arg1
= (wxRect
*) 0 ;
4382 PyObject
* obj0
= 0 ;
4383 PyObject
* obj1
= 0 ;
4384 PyObject
* obj2
= 0 ;
4386 (char *) "self",(char *) "dx",(char *) "dy", NULL
4389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_Deflate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4390 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4391 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4392 arg2
= (int)SWIG_As_int(obj1
);
4393 if (PyErr_Occurred()) SWIG_fail
;
4394 arg3
= (int)SWIG_As_int(obj2
);
4395 if (PyErr_Occurred()) SWIG_fail
;
4397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4399 wxRect
&_result_ref
= (arg1
)->Deflate(arg2
,arg3
);
4400 result
= (wxRect
*) &_result_ref
;
4403 wxPyEndAllowThreads(__tstate
);
4404 if (PyErr_Occurred()) SWIG_fail
;
4406 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
4413 static PyObject
*_wrap_Rect_OffsetXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4414 PyObject
*resultobj
;
4415 wxRect
*arg1
= (wxRect
*) 0 ;
4418 PyObject
* obj0
= 0 ;
4419 PyObject
* obj1
= 0 ;
4420 PyObject
* obj2
= 0 ;
4422 (char *) "self",(char *) "dx",(char *) "dy", NULL
4425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_OffsetXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4426 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4427 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4428 arg2
= (int)SWIG_As_int(obj1
);
4429 if (PyErr_Occurred()) SWIG_fail
;
4430 arg3
= (int)SWIG_As_int(obj2
);
4431 if (PyErr_Occurred()) SWIG_fail
;
4433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4434 (arg1
)->Offset(arg2
,arg3
);
4436 wxPyEndAllowThreads(__tstate
);
4437 if (PyErr_Occurred()) SWIG_fail
;
4439 Py_INCREF(Py_None
); resultobj
= Py_None
;
4446 static PyObject
*_wrap_Rect_Offset(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4447 PyObject
*resultobj
;
4448 wxRect
*arg1
= (wxRect
*) 0 ;
4451 PyObject
* obj0
= 0 ;
4452 PyObject
* obj1
= 0 ;
4454 (char *) "self",(char *) "pt", NULL
4457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Offset",kwnames
,&obj0
,&obj1
)) goto fail
;
4458 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4459 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4462 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4466 (arg1
)->Offset((wxPoint
const &)*arg2
);
4468 wxPyEndAllowThreads(__tstate
);
4469 if (PyErr_Occurred()) SWIG_fail
;
4471 Py_INCREF(Py_None
); resultobj
= Py_None
;
4478 static PyObject
*_wrap_Rect_Intersect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4479 PyObject
*resultobj
;
4480 wxRect
*arg1
= (wxRect
*) 0 ;
4484 PyObject
* obj0
= 0 ;
4485 PyObject
* obj1
= 0 ;
4487 (char *) "self",(char *) "rect", NULL
4490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersect",kwnames
,&obj0
,&obj1
)) goto fail
;
4491 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4495 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4500 wxRect
&_result_ref
= (arg1
)->Intersect((wxRect
const &)*arg2
);
4501 result
= (wxRect
*) &_result_ref
;
4504 wxPyEndAllowThreads(__tstate
);
4505 if (PyErr_Occurred()) SWIG_fail
;
4507 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
4514 static PyObject
*_wrap_Rect___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4515 PyObject
*resultobj
;
4516 wxRect
*arg1
= (wxRect
*) 0 ;
4520 PyObject
* obj0
= 0 ;
4521 PyObject
* obj1
= 0 ;
4523 (char *) "self",(char *) "rect", NULL
4526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
4527 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4528 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4531 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4535 result
= ((wxRect
const *)arg1
)->operator +((wxRect
const &)*arg2
);
4537 wxPyEndAllowThreads(__tstate
);
4538 if (PyErr_Occurred()) SWIG_fail
;
4542 resultptr
= new wxRect((wxRect
&) result
);
4543 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
4551 static PyObject
*_wrap_Rect___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4552 PyObject
*resultobj
;
4553 wxRect
*arg1
= (wxRect
*) 0 ;
4557 PyObject
* obj0
= 0 ;
4558 PyObject
* obj1
= 0 ;
4560 (char *) "self",(char *) "rect", NULL
4563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
4564 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4565 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
4568 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4573 wxRect
&_result_ref
= (arg1
)->operator +=((wxRect
const &)*arg2
);
4574 result
= (wxRect
*) &_result_ref
;
4577 wxPyEndAllowThreads(__tstate
);
4578 if (PyErr_Occurred()) SWIG_fail
;
4580 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
4587 static PyObject
*_wrap_Rect___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4588 PyObject
*resultobj
;
4589 wxRect
*arg1
= (wxRect
*) 0 ;
4593 PyObject
* obj0
= 0 ;
4594 PyObject
* obj1
= 0 ;
4596 (char *) "self",(char *) "rect", NULL
4599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
4600 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4601 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4604 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4608 result
= (bool)((wxRect
const *)arg1
)->operator ==((wxRect
const &)*arg2
);
4610 wxPyEndAllowThreads(__tstate
);
4611 if (PyErr_Occurred()) SWIG_fail
;
4614 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4622 static PyObject
*_wrap_Rect___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4623 PyObject
*resultobj
;
4624 wxRect
*arg1
= (wxRect
*) 0 ;
4628 PyObject
* obj0
= 0 ;
4629 PyObject
* obj1
= 0 ;
4631 (char *) "self",(char *) "rect", NULL
4634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
4635 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4636 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4639 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4643 result
= (bool)((wxRect
const *)arg1
)->operator !=((wxRect
const &)*arg2
);
4645 wxPyEndAllowThreads(__tstate
);
4646 if (PyErr_Occurred()) SWIG_fail
;
4649 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4657 static PyObject
*_wrap_Rect_InsideXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4658 PyObject
*resultobj
;
4659 wxRect
*arg1
= (wxRect
*) 0 ;
4663 PyObject
* obj0
= 0 ;
4664 PyObject
* obj1
= 0 ;
4665 PyObject
* obj2
= 0 ;
4667 (char *) "self",(char *) "x",(char *) "y", NULL
4670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_InsideXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4671 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4672 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4673 arg2
= (int)SWIG_As_int(obj1
);
4674 if (PyErr_Occurred()) SWIG_fail
;
4675 arg3
= (int)SWIG_As_int(obj2
);
4676 if (PyErr_Occurred()) SWIG_fail
;
4678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4679 result
= (bool)((wxRect
const *)arg1
)->Inside(arg2
,arg3
);
4681 wxPyEndAllowThreads(__tstate
);
4682 if (PyErr_Occurred()) SWIG_fail
;
4685 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4693 static PyObject
*_wrap_Rect_Inside(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4694 PyObject
*resultobj
;
4695 wxRect
*arg1
= (wxRect
*) 0 ;
4699 PyObject
* obj0
= 0 ;
4700 PyObject
* obj1
= 0 ;
4702 (char *) "self",(char *) "pt", NULL
4705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Inside",kwnames
,&obj0
,&obj1
)) goto fail
;
4706 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4707 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4710 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4714 result
= (bool)((wxRect
const *)arg1
)->Inside((wxPoint
const &)*arg2
);
4716 wxPyEndAllowThreads(__tstate
);
4717 if (PyErr_Occurred()) SWIG_fail
;
4720 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4728 static PyObject
*_wrap_Rect_Intersects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4729 PyObject
*resultobj
;
4730 wxRect
*arg1
= (wxRect
*) 0 ;
4734 PyObject
* obj0
= 0 ;
4735 PyObject
* obj1
= 0 ;
4737 (char *) "self",(char *) "rect", NULL
4740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersects",kwnames
,&obj0
,&obj1
)) goto fail
;
4741 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4742 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4745 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4749 result
= (bool)((wxRect
const *)arg1
)->Intersects((wxRect
const &)*arg2
);
4751 wxPyEndAllowThreads(__tstate
);
4752 if (PyErr_Occurred()) SWIG_fail
;
4755 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4763 static PyObject
*_wrap_Rect_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4764 PyObject
*resultobj
;
4765 wxRect
*arg1
= (wxRect
*) 0 ;
4767 PyObject
* obj0
= 0 ;
4768 PyObject
* obj1
= 0 ;
4770 (char *) "self",(char *) "x", NULL
4773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4774 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4775 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4776 arg2
= (int)SWIG_As_int(obj1
);
4777 if (PyErr_Occurred()) SWIG_fail
;
4778 if (arg1
) (arg1
)->x
= arg2
;
4780 Py_INCREF(Py_None
); resultobj
= Py_None
;
4787 static PyObject
*_wrap_Rect_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4788 PyObject
*resultobj
;
4789 wxRect
*arg1
= (wxRect
*) 0 ;
4791 PyObject
* obj0
= 0 ;
4793 (char *) "self", NULL
4796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_x_get",kwnames
,&obj0
)) goto fail
;
4797 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4799 result
= (int) ((arg1
)->x
);
4801 resultobj
= SWIG_From_int((int)result
);
4808 static PyObject
*_wrap_Rect_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4809 PyObject
*resultobj
;
4810 wxRect
*arg1
= (wxRect
*) 0 ;
4812 PyObject
* obj0
= 0 ;
4813 PyObject
* obj1
= 0 ;
4815 (char *) "self",(char *) "y", NULL
4818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4819 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4820 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4821 arg2
= (int)SWIG_As_int(obj1
);
4822 if (PyErr_Occurred()) SWIG_fail
;
4823 if (arg1
) (arg1
)->y
= arg2
;
4825 Py_INCREF(Py_None
); resultobj
= Py_None
;
4832 static PyObject
*_wrap_Rect_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4833 PyObject
*resultobj
;
4834 wxRect
*arg1
= (wxRect
*) 0 ;
4836 PyObject
* obj0
= 0 ;
4838 (char *) "self", NULL
4841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_y_get",kwnames
,&obj0
)) goto fail
;
4842 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4844 result
= (int) ((arg1
)->y
);
4846 resultobj
= SWIG_From_int((int)result
);
4853 static PyObject
*_wrap_Rect_width_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4854 PyObject
*resultobj
;
4855 wxRect
*arg1
= (wxRect
*) 0 ;
4857 PyObject
* obj0
= 0 ;
4858 PyObject
* obj1
= 0 ;
4860 (char *) "self",(char *) "width", NULL
4863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4864 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4865 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4866 arg2
= (int)SWIG_As_int(obj1
);
4867 if (PyErr_Occurred()) SWIG_fail
;
4868 if (arg1
) (arg1
)->width
= arg2
;
4870 Py_INCREF(Py_None
); resultobj
= Py_None
;
4877 static PyObject
*_wrap_Rect_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4878 PyObject
*resultobj
;
4879 wxRect
*arg1
= (wxRect
*) 0 ;
4881 PyObject
* obj0
= 0 ;
4883 (char *) "self", NULL
4886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_width_get",kwnames
,&obj0
)) goto fail
;
4887 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4888 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4889 result
= (int) ((arg1
)->width
);
4891 resultobj
= SWIG_From_int((int)result
);
4898 static PyObject
*_wrap_Rect_height_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4899 PyObject
*resultobj
;
4900 wxRect
*arg1
= (wxRect
*) 0 ;
4902 PyObject
* obj0
= 0 ;
4903 PyObject
* obj1
= 0 ;
4905 (char *) "self",(char *) "height", NULL
4908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_height_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4909 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4910 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4911 arg2
= (int)SWIG_As_int(obj1
);
4912 if (PyErr_Occurred()) SWIG_fail
;
4913 if (arg1
) (arg1
)->height
= arg2
;
4915 Py_INCREF(Py_None
); resultobj
= Py_None
;
4922 static PyObject
*_wrap_Rect_height_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4923 PyObject
*resultobj
;
4924 wxRect
*arg1
= (wxRect
*) 0 ;
4926 PyObject
* obj0
= 0 ;
4928 (char *) "self", NULL
4931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_height_get",kwnames
,&obj0
)) goto fail
;
4932 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4933 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4934 result
= (int) ((arg1
)->height
);
4936 resultobj
= SWIG_From_int((int)result
);
4943 static PyObject
*_wrap_Rect_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4944 PyObject
*resultobj
;
4945 wxRect
*arg1
= (wxRect
*) 0 ;
4946 int arg2
= (int) 0 ;
4947 int arg3
= (int) 0 ;
4948 int arg4
= (int) 0 ;
4949 int arg5
= (int) 0 ;
4950 PyObject
* obj0
= 0 ;
4951 PyObject
* obj1
= 0 ;
4952 PyObject
* obj2
= 0 ;
4953 PyObject
* obj3
= 0 ;
4954 PyObject
* obj4
= 0 ;
4956 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
4959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Rect_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
4960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4963 arg2
= (int)SWIG_As_int(obj1
);
4964 if (PyErr_Occurred()) SWIG_fail
;
4967 arg3
= (int)SWIG_As_int(obj2
);
4968 if (PyErr_Occurred()) SWIG_fail
;
4971 arg4
= (int)SWIG_As_int(obj3
);
4972 if (PyErr_Occurred()) SWIG_fail
;
4975 arg5
= (int)SWIG_As_int(obj4
);
4976 if (PyErr_Occurred()) SWIG_fail
;
4979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4980 wxRect_Set(arg1
,arg2
,arg3
,arg4
,arg5
);
4982 wxPyEndAllowThreads(__tstate
);
4983 if (PyErr_Occurred()) SWIG_fail
;
4985 Py_INCREF(Py_None
); resultobj
= Py_None
;
4992 static PyObject
*_wrap_Rect_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4993 PyObject
*resultobj
;
4994 wxRect
*arg1
= (wxRect
*) 0 ;
4996 PyObject
* obj0
= 0 ;
4998 (char *) "self", NULL
5001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_Get",kwnames
,&obj0
)) goto fail
;
5002 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
5003 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5006 result
= (PyObject
*)wxRect_Get(arg1
);
5008 wxPyEndAllowThreads(__tstate
);
5009 if (PyErr_Occurred()) SWIG_fail
;
5018 static PyObject
* Rect_swigregister(PyObject
*, PyObject
*args
) {
5020 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5021 SWIG_TypeClientData(SWIGTYPE_p_wxRect
, obj
);
5023 return Py_BuildValue((char *)"");
5025 static PyObject
*_wrap_IntersectRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5026 PyObject
*resultobj
;
5027 wxRect
*arg1
= (wxRect
*) 0 ;
5028 wxRect
*arg2
= (wxRect
*) 0 ;
5030 PyObject
* obj0
= 0 ;
5031 PyObject
* obj1
= 0 ;
5033 (char *) "r1",(char *) "r2", NULL
5036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IntersectRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5037 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
5038 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5039 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRect
,
5040 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5042 if (!wxPyCheckForApp()) SWIG_fail
;
5043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5044 result
= (PyObject
*)wxIntersectRect(arg1
,arg2
);
5046 wxPyEndAllowThreads(__tstate
);
5047 if (PyErr_Occurred()) SWIG_fail
;
5056 static PyObject
*_wrap_new_Point2D(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5057 PyObject
*resultobj
;
5058 double arg1
= (double) 0.0 ;
5059 double arg2
= (double) 0.0 ;
5061 PyObject
* obj0
= 0 ;
5062 PyObject
* obj1
= 0 ;
5064 (char *) "x",(char *) "y", NULL
5067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point2D",kwnames
,&obj0
,&obj1
)) goto fail
;
5069 arg1
= (double)SWIG_As_double(obj0
);
5070 if (PyErr_Occurred()) SWIG_fail
;
5073 arg2
= (double)SWIG_As_double(obj1
);
5074 if (PyErr_Occurred()) SWIG_fail
;
5077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5078 result
= (wxPoint2D
*)new wxPoint2D(arg1
,arg2
);
5080 wxPyEndAllowThreads(__tstate
);
5081 if (PyErr_Occurred()) SWIG_fail
;
5083 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
5090 static PyObject
*_wrap_new_Point2DCopy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5091 PyObject
*resultobj
;
5092 wxPoint2D
*arg1
= 0 ;
5095 PyObject
* obj0
= 0 ;
5100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DCopy",kwnames
,&obj0
)) goto fail
;
5103 if ( ! wxPoint2D_helper(obj0
, &arg1
)) SWIG_fail
;
5106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5107 result
= (wxPoint2D
*)new wxPoint2D((wxPoint2D
const &)*arg1
);
5109 wxPyEndAllowThreads(__tstate
);
5110 if (PyErr_Occurred()) SWIG_fail
;
5112 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
5119 static PyObject
*_wrap_new_Point2DFromPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5120 PyObject
*resultobj
;
5124 PyObject
* obj0
= 0 ;
5129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DFromPoint",kwnames
,&obj0
)) goto fail
;
5132 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
5135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5136 result
= (wxPoint2D
*)new wxPoint2D((wxPoint
const &)*arg1
);
5138 wxPyEndAllowThreads(__tstate
);
5139 if (PyErr_Occurred()) SWIG_fail
;
5141 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
5148 static PyObject
*_wrap_Point2D_GetFloor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5149 PyObject
*resultobj
;
5150 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5151 int *arg2
= (int *) 0 ;
5152 int *arg3
= (int *) 0 ;
5157 PyObject
* obj0
= 0 ;
5159 (char *) "self", NULL
5162 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
5163 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
5164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetFloor",kwnames
,&obj0
)) goto fail
;
5165 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5166 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5169 ((wxPoint2D
const *)arg1
)->GetFloor(arg2
,arg3
);
5171 wxPyEndAllowThreads(__tstate
);
5172 if (PyErr_Occurred()) SWIG_fail
;
5174 Py_INCREF(Py_None
); resultobj
= Py_None
;
5175 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
5176 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
5177 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
5178 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
5185 static PyObject
*_wrap_Point2D_GetRounded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5186 PyObject
*resultobj
;
5187 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5188 int *arg2
= (int *) 0 ;
5189 int *arg3
= (int *) 0 ;
5194 PyObject
* obj0
= 0 ;
5196 (char *) "self", NULL
5199 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
5200 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
5201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetRounded",kwnames
,&obj0
)) goto fail
;
5202 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5203 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5206 ((wxPoint2D
const *)arg1
)->GetRounded(arg2
,arg3
);
5208 wxPyEndAllowThreads(__tstate
);
5209 if (PyErr_Occurred()) SWIG_fail
;
5211 Py_INCREF(Py_None
); resultobj
= Py_None
;
5212 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
5213 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
5214 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
5215 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
5222 static PyObject
*_wrap_Point2D_GetVectorLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5223 PyObject
*resultobj
;
5224 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5226 PyObject
* obj0
= 0 ;
5228 (char *) "self", NULL
5231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetVectorLength",kwnames
,&obj0
)) goto fail
;
5232 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5233 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5236 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorLength();
5238 wxPyEndAllowThreads(__tstate
);
5239 if (PyErr_Occurred()) SWIG_fail
;
5241 resultobj
= SWIG_From_double((double)result
);
5248 static PyObject
*_wrap_Point2D_GetVectorAngle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5249 PyObject
*resultobj
;
5250 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5252 PyObject
* obj0
= 0 ;
5254 (char *) "self", NULL
5257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetVectorAngle",kwnames
,&obj0
)) goto fail
;
5258 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5259 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5262 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorAngle();
5264 wxPyEndAllowThreads(__tstate
);
5265 if (PyErr_Occurred()) SWIG_fail
;
5267 resultobj
= SWIG_From_double((double)result
);
5274 static PyObject
*_wrap_Point2D_SetVectorLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5275 PyObject
*resultobj
;
5276 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5278 PyObject
* obj0
= 0 ;
5279 PyObject
* obj1
= 0 ;
5281 (char *) "self",(char *) "length", NULL
5284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorLength",kwnames
,&obj0
,&obj1
)) goto fail
;
5285 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5287 arg2
= (double)SWIG_As_double(obj1
);
5288 if (PyErr_Occurred()) SWIG_fail
;
5290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5291 (arg1
)->SetVectorLength(arg2
);
5293 wxPyEndAllowThreads(__tstate
);
5294 if (PyErr_Occurred()) SWIG_fail
;
5296 Py_INCREF(Py_None
); resultobj
= Py_None
;
5303 static PyObject
*_wrap_Point2D_SetVectorAngle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5304 PyObject
*resultobj
;
5305 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5307 PyObject
* obj0
= 0 ;
5308 PyObject
* obj1
= 0 ;
5310 (char *) "self",(char *) "degrees", NULL
5313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorAngle",kwnames
,&obj0
,&obj1
)) goto fail
;
5314 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5315 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5316 arg2
= (double)SWIG_As_double(obj1
);
5317 if (PyErr_Occurred()) SWIG_fail
;
5319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5320 (arg1
)->SetVectorAngle(arg2
);
5322 wxPyEndAllowThreads(__tstate
);
5323 if (PyErr_Occurred()) SWIG_fail
;
5325 Py_INCREF(Py_None
); resultobj
= Py_None
;
5332 static PyObject
*_wrap_Point2D_GetDistance(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5333 PyObject
*resultobj
;
5334 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5335 wxPoint2D
*arg2
= 0 ;
5338 PyObject
* obj0
= 0 ;
5339 PyObject
* obj1
= 0 ;
5341 (char *) "self",(char *) "pt", NULL
5344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistance",kwnames
,&obj0
,&obj1
)) goto fail
;
5345 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5346 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5349 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5353 result
= (double)((wxPoint2D
const *)arg1
)->GetDistance((wxPoint2D
const &)*arg2
);
5355 wxPyEndAllowThreads(__tstate
);
5356 if (PyErr_Occurred()) SWIG_fail
;
5358 resultobj
= SWIG_From_double((double)result
);
5365 static PyObject
*_wrap_Point2D_GetDistanceSquare(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5366 PyObject
*resultobj
;
5367 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5368 wxPoint2D
*arg2
= 0 ;
5371 PyObject
* obj0
= 0 ;
5372 PyObject
* obj1
= 0 ;
5374 (char *) "self",(char *) "pt", NULL
5377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistanceSquare",kwnames
,&obj0
,&obj1
)) goto fail
;
5378 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5379 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5382 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5386 result
= (double)((wxPoint2D
const *)arg1
)->GetDistanceSquare((wxPoint2D
const &)*arg2
);
5388 wxPyEndAllowThreads(__tstate
);
5389 if (PyErr_Occurred()) SWIG_fail
;
5391 resultobj
= SWIG_From_double((double)result
);
5398 static PyObject
*_wrap_Point2D_GetDotProduct(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5399 PyObject
*resultobj
;
5400 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5401 wxPoint2D
*arg2
= 0 ;
5404 PyObject
* obj0
= 0 ;
5405 PyObject
* obj1
= 0 ;
5407 (char *) "self",(char *) "vec", NULL
5410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDotProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
5411 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5415 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5419 result
= (double)((wxPoint2D
const *)arg1
)->GetDotProduct((wxPoint2D
const &)*arg2
);
5421 wxPyEndAllowThreads(__tstate
);
5422 if (PyErr_Occurred()) SWIG_fail
;
5424 resultobj
= SWIG_From_double((double)result
);
5431 static PyObject
*_wrap_Point2D_GetCrossProduct(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5432 PyObject
*resultobj
;
5433 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5434 wxPoint2D
*arg2
= 0 ;
5437 PyObject
* obj0
= 0 ;
5438 PyObject
* obj1
= 0 ;
5440 (char *) "self",(char *) "vec", NULL
5443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetCrossProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
5444 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5445 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5448 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5452 result
= (double)((wxPoint2D
const *)arg1
)->GetCrossProduct((wxPoint2D
const &)*arg2
);
5454 wxPyEndAllowThreads(__tstate
);
5455 if (PyErr_Occurred()) SWIG_fail
;
5457 resultobj
= SWIG_From_double((double)result
);
5464 static PyObject
*_wrap_Point2D___neg__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5465 PyObject
*resultobj
;
5466 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5468 PyObject
* obj0
= 0 ;
5470 (char *) "self", NULL
5473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D___neg__",kwnames
,&obj0
)) goto fail
;
5474 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5475 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5478 result
= (arg1
)->operator -();
5480 wxPyEndAllowThreads(__tstate
);
5481 if (PyErr_Occurred()) SWIG_fail
;
5484 wxPoint2D
* resultptr
;
5485 resultptr
= new wxPoint2D((wxPoint2D
&) result
);
5486 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint2D
, 1);
5494 static PyObject
*_wrap_Point2D___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5495 PyObject
*resultobj
;
5496 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5497 wxPoint2D
*arg2
= 0 ;
5500 PyObject
* obj0
= 0 ;
5501 PyObject
* obj1
= 0 ;
5503 (char *) "self",(char *) "pt", NULL
5506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
5507 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5508 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
5511 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5516 wxPoint2D
&_result_ref
= (arg1
)->operator +=((wxPoint2D
const &)*arg2
);
5517 result
= (wxPoint2D
*) &_result_ref
;
5520 wxPyEndAllowThreads(__tstate
);
5521 if (PyErr_Occurred()) SWIG_fail
;
5523 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
5530 static PyObject
*_wrap_Point2D___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5531 PyObject
*resultobj
;
5532 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5533 wxPoint2D
*arg2
= 0 ;
5536 PyObject
* obj0
= 0 ;
5537 PyObject
* obj1
= 0 ;
5539 (char *) "self",(char *) "pt", NULL
5542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
5543 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5544 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
5547 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5552 wxPoint2D
&_result_ref
= (arg1
)->operator -=((wxPoint2D
const &)*arg2
);
5553 result
= (wxPoint2D
*) &_result_ref
;
5556 wxPyEndAllowThreads(__tstate
);
5557 if (PyErr_Occurred()) SWIG_fail
;
5559 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
5566 static PyObject
*_wrap_Point2D___imul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5567 PyObject
*resultobj
;
5568 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5569 wxPoint2D
*arg2
= 0 ;
5572 PyObject
* obj0
= 0 ;
5573 PyObject
* obj1
= 0 ;
5575 (char *) "self",(char *) "pt", NULL
5578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
5579 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5580 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
5583 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5588 wxPoint2D
&_result_ref
= (arg1
)->operator *=((wxPoint2D
const &)*arg2
);
5589 result
= (wxPoint2D
*) &_result_ref
;
5592 wxPyEndAllowThreads(__tstate
);
5593 if (PyErr_Occurred()) SWIG_fail
;
5595 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
5602 static PyObject
*_wrap_Point2D___idiv__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5603 PyObject
*resultobj
;
5604 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5605 wxPoint2D
*arg2
= 0 ;
5608 PyObject
* obj0
= 0 ;
5609 PyObject
* obj1
= 0 ;
5611 (char *) "self",(char *) "pt", NULL
5614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___idiv__",kwnames
,&obj0
,&obj1
)) goto fail
;
5615 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5616 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
5619 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5624 wxPoint2D
&_result_ref
= (arg1
)->operator /=((wxPoint2D
const &)*arg2
);
5625 result
= (wxPoint2D
*) &_result_ref
;
5628 wxPyEndAllowThreads(__tstate
);
5629 if (PyErr_Occurred()) SWIG_fail
;
5631 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
5638 static PyObject
*_wrap_Point2D___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5639 PyObject
*resultobj
;
5640 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5641 wxPoint2D
*arg2
= 0 ;
5644 PyObject
* obj0
= 0 ;
5645 PyObject
* obj1
= 0 ;
5647 (char *) "self",(char *) "pt", NULL
5650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
5651 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5655 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5659 result
= (bool)((wxPoint2D
const *)arg1
)->operator ==((wxPoint2D
const &)*arg2
);
5661 wxPyEndAllowThreads(__tstate
);
5662 if (PyErr_Occurred()) SWIG_fail
;
5665 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5673 static PyObject
*_wrap_Point2D___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5674 PyObject
*resultobj
;
5675 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5676 wxPoint2D
*arg2
= 0 ;
5679 PyObject
* obj0
= 0 ;
5680 PyObject
* obj1
= 0 ;
5682 (char *) "self",(char *) "pt", NULL
5685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
5686 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5687 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5690 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5694 result
= (bool)((wxPoint2D
const *)arg1
)->operator !=((wxPoint2D
const &)*arg2
);
5696 wxPyEndAllowThreads(__tstate
);
5697 if (PyErr_Occurred()) SWIG_fail
;
5700 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5708 static PyObject
*_wrap_Point2D_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5709 PyObject
*resultobj
;
5710 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5712 PyObject
* obj0
= 0 ;
5713 PyObject
* obj1
= 0 ;
5715 (char *) "self",(char *) "m_x", NULL
5718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
5719 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5720 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5721 arg2
= (double)SWIG_As_double(obj1
);
5722 if (PyErr_Occurred()) SWIG_fail
;
5723 if (arg1
) (arg1
)->m_x
= arg2
;
5725 Py_INCREF(Py_None
); resultobj
= Py_None
;
5732 static PyObject
*_wrap_Point2D_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5733 PyObject
*resultobj
;
5734 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5736 PyObject
* obj0
= 0 ;
5738 (char *) "self", NULL
5741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_x_get",kwnames
,&obj0
)) goto fail
;
5742 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5743 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5744 result
= (double) ((arg1
)->m_x
);
5746 resultobj
= SWIG_From_double((double)result
);
5753 static PyObject
*_wrap_Point2D_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5754 PyObject
*resultobj
;
5755 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5757 PyObject
* obj0
= 0 ;
5758 PyObject
* obj1
= 0 ;
5760 (char *) "self",(char *) "m_y", NULL
5763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
5764 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5765 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5766 arg2
= (double)SWIG_As_double(obj1
);
5767 if (PyErr_Occurred()) SWIG_fail
;
5768 if (arg1
) (arg1
)->m_y
= arg2
;
5770 Py_INCREF(Py_None
); resultobj
= Py_None
;
5777 static PyObject
*_wrap_Point2D_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5778 PyObject
*resultobj
;
5779 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5781 PyObject
* obj0
= 0 ;
5783 (char *) "self", NULL
5786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_y_get",kwnames
,&obj0
)) goto fail
;
5787 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5788 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5789 result
= (double) ((arg1
)->m_y
);
5791 resultobj
= SWIG_From_double((double)result
);
5798 static PyObject
*_wrap_Point2D_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5799 PyObject
*resultobj
;
5800 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5801 double arg2
= (double) 0 ;
5802 double arg3
= (double) 0 ;
5803 PyObject
* obj0
= 0 ;
5804 PyObject
* obj1
= 0 ;
5805 PyObject
* obj2
= 0 ;
5807 (char *) "self",(char *) "x",(char *) "y", NULL
5810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Point2D_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5811 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5812 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5814 arg2
= (double)SWIG_As_double(obj1
);
5815 if (PyErr_Occurred()) SWIG_fail
;
5818 arg3
= (double)SWIG_As_double(obj2
);
5819 if (PyErr_Occurred()) SWIG_fail
;
5822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5823 wxPoint2D_Set(arg1
,arg2
,arg3
);
5825 wxPyEndAllowThreads(__tstate
);
5826 if (PyErr_Occurred()) SWIG_fail
;
5828 Py_INCREF(Py_None
); resultobj
= Py_None
;
5835 static PyObject
*_wrap_Point2D_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5836 PyObject
*resultobj
;
5837 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5839 PyObject
* obj0
= 0 ;
5841 (char *) "self", NULL
5844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_Get",kwnames
,&obj0
)) goto fail
;
5845 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5849 result
= (PyObject
*)wxPoint2D_Get(arg1
);
5851 wxPyEndAllowThreads(__tstate
);
5852 if (PyErr_Occurred()) SWIG_fail
;
5861 static PyObject
* Point2D_swigregister(PyObject
*, PyObject
*args
) {
5863 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5864 SWIG_TypeClientData(SWIGTYPE_p_wxPoint2D
, obj
);
5866 return Py_BuildValue((char *)"");
5868 static int _wrap_DefaultPosition_set(PyObject
*) {
5869 PyErr_SetString(PyExc_TypeError
,"Variable DefaultPosition is read-only.");
5874 static PyObject
*_wrap_DefaultPosition_get() {
5877 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultPosition
), SWIGTYPE_p_wxPoint
, 0);
5882 static int _wrap_DefaultSize_set(PyObject
*) {
5883 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSize is read-only.");
5888 static PyObject
*_wrap_DefaultSize_get() {
5891 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultSize
), SWIGTYPE_p_wxSize
, 0);
5896 static PyObject
*_wrap_new_InputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5897 PyObject
*resultobj
;
5898 PyObject
*arg1
= (PyObject
*) 0 ;
5899 wxPyInputStream
*result
;
5900 PyObject
* obj0
= 0 ;
5905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_InputStream",kwnames
,&obj0
)) goto fail
;
5908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5909 result
= (wxPyInputStream
*)new_wxPyInputStream(arg1
);
5911 wxPyEndAllowThreads(__tstate
);
5912 if (PyErr_Occurred()) SWIG_fail
;
5914 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyInputStream
, 1);
5921 static PyObject
*_wrap_InputStream_close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5922 PyObject
*resultobj
;
5923 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5924 PyObject
* obj0
= 0 ;
5926 (char *) "self", NULL
5929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_close",kwnames
,&obj0
)) goto fail
;
5930 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5936 wxPyEndAllowThreads(__tstate
);
5937 if (PyErr_Occurred()) SWIG_fail
;
5939 Py_INCREF(Py_None
); resultobj
= Py_None
;
5946 static PyObject
*_wrap_InputStream_flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5947 PyObject
*resultobj
;
5948 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5949 PyObject
* obj0
= 0 ;
5951 (char *) "self", NULL
5954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_flush",kwnames
,&obj0
)) goto fail
;
5955 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5956 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5961 wxPyEndAllowThreads(__tstate
);
5962 if (PyErr_Occurred()) SWIG_fail
;
5964 Py_INCREF(Py_None
); resultobj
= Py_None
;
5971 static PyObject
*_wrap_InputStream_eof(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5972 PyObject
*resultobj
;
5973 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5975 PyObject
* obj0
= 0 ;
5977 (char *) "self", NULL
5980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_eof",kwnames
,&obj0
)) goto fail
;
5981 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5985 result
= (bool)(arg1
)->eof();
5987 wxPyEndAllowThreads(__tstate
);
5988 if (PyErr_Occurred()) SWIG_fail
;
5991 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5999 static PyObject
*_wrap_InputStream_read(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6000 PyObject
*resultobj
;
6001 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6002 int arg2
= (int) -1 ;
6004 PyObject
* obj0
= 0 ;
6005 PyObject
* obj1
= 0 ;
6007 (char *) "self",(char *) "size", NULL
6010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_read",kwnames
,&obj0
,&obj1
)) goto fail
;
6011 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6014 arg2
= (int)SWIG_As_int(obj1
);
6015 if (PyErr_Occurred()) SWIG_fail
;
6018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6019 result
= (PyObject
*)(arg1
)->read(arg2
);
6021 wxPyEndAllowThreads(__tstate
);
6022 if (PyErr_Occurred()) SWIG_fail
;
6031 static PyObject
*_wrap_InputStream_readline(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6032 PyObject
*resultobj
;
6033 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6034 int arg2
= (int) -1 ;
6036 PyObject
* obj0
= 0 ;
6037 PyObject
* obj1
= 0 ;
6039 (char *) "self",(char *) "size", NULL
6042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readline",kwnames
,&obj0
,&obj1
)) goto fail
;
6043 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6046 arg2
= (int)SWIG_As_int(obj1
);
6047 if (PyErr_Occurred()) SWIG_fail
;
6050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6051 result
= (PyObject
*)(arg1
)->readline(arg2
);
6053 wxPyEndAllowThreads(__tstate
);
6054 if (PyErr_Occurred()) SWIG_fail
;
6063 static PyObject
*_wrap_InputStream_readlines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6064 PyObject
*resultobj
;
6065 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6066 int arg2
= (int) -1 ;
6068 PyObject
* obj0
= 0 ;
6069 PyObject
* obj1
= 0 ;
6071 (char *) "self",(char *) "sizehint", NULL
6074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readlines",kwnames
,&obj0
,&obj1
)) goto fail
;
6075 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6076 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6078 arg2
= (int)SWIG_As_int(obj1
);
6079 if (PyErr_Occurred()) SWIG_fail
;
6082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6083 result
= (PyObject
*)(arg1
)->readlines(arg2
);
6085 wxPyEndAllowThreads(__tstate
);
6086 if (PyErr_Occurred()) SWIG_fail
;
6095 static PyObject
*_wrap_InputStream_seek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6096 PyObject
*resultobj
;
6097 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6099 int arg3
= (int) 0 ;
6100 PyObject
* obj0
= 0 ;
6101 PyObject
* obj1
= 0 ;
6102 PyObject
* obj2
= 0 ;
6104 (char *) "self",(char *) "offset",(char *) "whence", NULL
6107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_seek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6108 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6109 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6110 arg2
= (int)SWIG_As_int(obj1
);
6111 if (PyErr_Occurred()) SWIG_fail
;
6113 arg3
= (int)SWIG_As_int(obj2
);
6114 if (PyErr_Occurred()) SWIG_fail
;
6117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6118 (arg1
)->seek(arg2
,arg3
);
6120 wxPyEndAllowThreads(__tstate
);
6121 if (PyErr_Occurred()) SWIG_fail
;
6123 Py_INCREF(Py_None
); resultobj
= Py_None
;
6130 static PyObject
*_wrap_InputStream_tell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6131 PyObject
*resultobj
;
6132 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6134 PyObject
* obj0
= 0 ;
6136 (char *) "self", NULL
6139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_tell",kwnames
,&obj0
)) goto fail
;
6140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6144 result
= (int)(arg1
)->tell();
6146 wxPyEndAllowThreads(__tstate
);
6147 if (PyErr_Occurred()) SWIG_fail
;
6149 resultobj
= SWIG_From_int((int)result
);
6156 static PyObject
*_wrap_InputStream_Peek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6157 PyObject
*resultobj
;
6158 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6160 PyObject
* obj0
= 0 ;
6162 (char *) "self", NULL
6165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Peek",kwnames
,&obj0
)) goto fail
;
6166 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6167 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6170 result
= (char)(arg1
)->Peek();
6172 wxPyEndAllowThreads(__tstate
);
6173 if (PyErr_Occurred()) SWIG_fail
;
6175 resultobj
= SWIG_From_char((char)result
);
6182 static PyObject
*_wrap_InputStream_GetC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6183 PyObject
*resultobj
;
6184 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6186 PyObject
* obj0
= 0 ;
6188 (char *) "self", NULL
6191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_GetC",kwnames
,&obj0
)) goto fail
;
6192 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6193 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6196 result
= (char)(arg1
)->GetC();
6198 wxPyEndAllowThreads(__tstate
);
6199 if (PyErr_Occurred()) SWIG_fail
;
6201 resultobj
= SWIG_From_char((char)result
);
6208 static PyObject
*_wrap_InputStream_LastRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6209 PyObject
*resultobj
;
6210 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6212 PyObject
* obj0
= 0 ;
6214 (char *) "self", NULL
6217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_LastRead",kwnames
,&obj0
)) goto fail
;
6218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6222 result
= (size_t)(arg1
)->LastRead();
6224 wxPyEndAllowThreads(__tstate
);
6225 if (PyErr_Occurred()) SWIG_fail
;
6227 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
6234 static PyObject
*_wrap_InputStream_CanRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6235 PyObject
*resultobj
;
6236 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6238 PyObject
* obj0
= 0 ;
6240 (char *) "self", NULL
6243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_CanRead",kwnames
,&obj0
)) goto fail
;
6244 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6245 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6248 result
= (bool)(arg1
)->CanRead();
6250 wxPyEndAllowThreads(__tstate
);
6251 if (PyErr_Occurred()) SWIG_fail
;
6254 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6262 static PyObject
*_wrap_InputStream_Eof(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6263 PyObject
*resultobj
;
6264 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6266 PyObject
* obj0
= 0 ;
6268 (char *) "self", NULL
6271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Eof",kwnames
,&obj0
)) goto fail
;
6272 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6273 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6276 result
= (bool)(arg1
)->Eof();
6278 wxPyEndAllowThreads(__tstate
);
6279 if (PyErr_Occurred()) SWIG_fail
;
6282 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6290 static PyObject
*_wrap_InputStream_Ungetch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6291 PyObject
*resultobj
;
6292 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6295 PyObject
* obj0
= 0 ;
6296 PyObject
* obj1
= 0 ;
6298 (char *) "self",(char *) "c", NULL
6301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InputStream_Ungetch",kwnames
,&obj0
,&obj1
)) goto fail
;
6302 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6303 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6304 arg2
= (char)SWIG_As_char(obj1
);
6305 if (PyErr_Occurred()) SWIG_fail
;
6307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6308 result
= (bool)(arg1
)->Ungetch(arg2
);
6310 wxPyEndAllowThreads(__tstate
);
6311 if (PyErr_Occurred()) SWIG_fail
;
6314 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6322 static PyObject
*_wrap_InputStream_SeekI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6323 PyObject
*resultobj
;
6324 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6326 int arg3
= (int) wxFromStart
;
6328 PyObject
* obj0
= 0 ;
6329 PyObject
* obj1
= 0 ;
6330 PyObject
* obj2
= 0 ;
6332 (char *) "self",(char *) "pos",(char *) "mode", NULL
6335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_SeekI",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6336 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6337 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6338 arg2
= (long)SWIG_As_long(obj1
);
6339 if (PyErr_Occurred()) SWIG_fail
;
6341 arg3
= (int)SWIG_As_int(obj2
);
6342 if (PyErr_Occurred()) SWIG_fail
;
6345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6346 result
= (long)(arg1
)->SeekI(arg2
,(wxSeekMode
)arg3
);
6348 wxPyEndAllowThreads(__tstate
);
6349 if (PyErr_Occurred()) SWIG_fail
;
6351 resultobj
= SWIG_From_long((long)result
);
6358 static PyObject
*_wrap_InputStream_TellI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6359 PyObject
*resultobj
;
6360 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6362 PyObject
* obj0
= 0 ;
6364 (char *) "self", NULL
6367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_TellI",kwnames
,&obj0
)) goto fail
;
6368 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6369 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6372 result
= (long)(arg1
)->TellI();
6374 wxPyEndAllowThreads(__tstate
);
6375 if (PyErr_Occurred()) SWIG_fail
;
6377 resultobj
= SWIG_From_long((long)result
);
6384 static PyObject
* InputStream_swigregister(PyObject
*, PyObject
*args
) {
6386 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6387 SWIG_TypeClientData(SWIGTYPE_p_wxPyInputStream
, obj
);
6389 return Py_BuildValue((char *)"");
6391 static PyObject
*_wrap_OutputStream_write(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6392 PyObject
*resultobj
;
6393 wxOutputStream
*arg1
= (wxOutputStream
*) 0 ;
6394 PyObject
*arg2
= (PyObject
*) 0 ;
6395 PyObject
* obj0
= 0 ;
6396 PyObject
* obj1
= 0 ;
6398 (char *) "self",(char *) "obj", NULL
6401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:OutputStream_write",kwnames
,&obj0
,&obj1
)) goto fail
;
6402 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxOutputStream
,
6403 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6407 wxOutputStream_write(arg1
,arg2
);
6409 wxPyEndAllowThreads(__tstate
);
6410 if (PyErr_Occurred()) SWIG_fail
;
6412 Py_INCREF(Py_None
); resultobj
= Py_None
;
6419 static PyObject
* OutputStream_swigregister(PyObject
*, PyObject
*args
) {
6421 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6422 SWIG_TypeClientData(SWIGTYPE_p_wxOutputStream
, obj
);
6424 return Py_BuildValue((char *)"");
6426 static PyObject
*_wrap_new_FSFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6427 PyObject
*resultobj
;
6428 wxInputStream
*arg1
= (wxInputStream
*) 0 ;
6429 wxString
*arg2
= 0 ;
6430 wxString
*arg3
= 0 ;
6431 wxString
*arg4
= 0 ;
6434 wxPyInputStream
*temp1
;
6436 bool temp2
= False
;
6437 bool temp3
= False
;
6438 bool temp4
= False
;
6440 PyObject
* obj0
= 0 ;
6441 PyObject
* obj1
= 0 ;
6442 PyObject
* obj2
= 0 ;
6443 PyObject
* obj3
= 0 ;
6444 PyObject
* obj4
= 0 ;
6446 (char *) "stream",(char *) "loc",(char *) "mimetype",(char *) "anchor",(char *) "modif", NULL
6449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:new_FSFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
6451 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
6452 arg1
= temp1
->m_wxis
;
6455 PyErr_Clear(); // clear the failure of the wxPyConvert above
6456 arg1
= wxPyCBInputStream_create(obj0
, False
);
6458 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
6465 arg2
= wxString_in_helper(obj1
);
6466 if (arg2
== NULL
) SWIG_fail
;
6470 arg3
= wxString_in_helper(obj2
);
6471 if (arg3
== NULL
) SWIG_fail
;
6475 arg4
= wxString_in_helper(obj3
);
6476 if (arg4
== NULL
) SWIG_fail
;
6479 if ((SWIG_ConvertPtr(obj4
,(void **)(&argp5
),SWIGTYPE_p_wxDateTime
,
6480 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
6483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6484 result
= (wxFSFile
*)new wxFSFile(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
6486 wxPyEndAllowThreads(__tstate
);
6487 if (PyErr_Occurred()) SWIG_fail
;
6490 resultobj
= wxPyMake_wxObject(result
, 1);
6530 static PyObject
*_wrap_delete_FSFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6531 PyObject
*resultobj
;
6532 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6533 PyObject
* obj0
= 0 ;
6535 (char *) "self", NULL
6538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FSFile",kwnames
,&obj0
)) goto fail
;
6539 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6540 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6545 wxPyEndAllowThreads(__tstate
);
6546 if (PyErr_Occurred()) SWIG_fail
;
6548 Py_INCREF(Py_None
); resultobj
= Py_None
;
6555 static PyObject
*_wrap_FSFile_GetStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6556 PyObject
*resultobj
;
6557 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6558 wxInputStream
*result
;
6559 PyObject
* obj0
= 0 ;
6561 (char *) "self", NULL
6564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetStream",kwnames
,&obj0
)) goto fail
;
6565 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6569 result
= (wxInputStream
*)(arg1
)->GetStream();
6571 wxPyEndAllowThreads(__tstate
);
6572 if (PyErr_Occurred()) SWIG_fail
;
6575 wxPyInputStream
* _ptr
= NULL
;
6578 _ptr
= new wxPyInputStream(result
);
6580 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), True
);
6588 static PyObject
*_wrap_FSFile_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6589 PyObject
*resultobj
;
6590 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6592 PyObject
* obj0
= 0 ;
6594 (char *) "self", NULL
6597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetMimeType",kwnames
,&obj0
)) goto fail
;
6598 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6599 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6603 wxString
const &_result_ref
= (arg1
)->GetMimeType();
6604 result
= (wxString
*) &_result_ref
;
6607 wxPyEndAllowThreads(__tstate
);
6608 if (PyErr_Occurred()) SWIG_fail
;
6612 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
6614 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
6623 static PyObject
*_wrap_FSFile_GetLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6624 PyObject
*resultobj
;
6625 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6627 PyObject
* obj0
= 0 ;
6629 (char *) "self", NULL
6632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetLocation",kwnames
,&obj0
)) goto fail
;
6633 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6634 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6638 wxString
const &_result_ref
= (arg1
)->GetLocation();
6639 result
= (wxString
*) &_result_ref
;
6642 wxPyEndAllowThreads(__tstate
);
6643 if (PyErr_Occurred()) SWIG_fail
;
6647 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
6649 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
6658 static PyObject
*_wrap_FSFile_GetAnchor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6659 PyObject
*resultobj
;
6660 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6662 PyObject
* obj0
= 0 ;
6664 (char *) "self", NULL
6667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetAnchor",kwnames
,&obj0
)) goto fail
;
6668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6673 wxString
const &_result_ref
= (arg1
)->GetAnchor();
6674 result
= (wxString
*) &_result_ref
;
6677 wxPyEndAllowThreads(__tstate
);
6678 if (PyErr_Occurred()) SWIG_fail
;
6682 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
6684 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
6693 static PyObject
*_wrap_FSFile_GetModificationTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6694 PyObject
*resultobj
;
6695 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6697 PyObject
* obj0
= 0 ;
6699 (char *) "self", NULL
6702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetModificationTime",kwnames
,&obj0
)) goto fail
;
6703 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6704 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6707 result
= (arg1
)->GetModificationTime();
6709 wxPyEndAllowThreads(__tstate
);
6710 if (PyErr_Occurred()) SWIG_fail
;
6713 wxDateTime
* resultptr
;
6714 resultptr
= new wxDateTime((wxDateTime
&) result
);
6715 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
6723 static PyObject
* FSFile_swigregister(PyObject
*, PyObject
*args
) {
6725 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6726 SWIG_TypeClientData(SWIGTYPE_p_wxFSFile
, obj
);
6728 return Py_BuildValue((char *)"");
6730 static PyObject
* CPPFileSystemHandler_swigregister(PyObject
*, PyObject
*args
) {
6732 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6733 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystemHandler
, obj
);
6735 return Py_BuildValue((char *)"");
6737 static PyObject
*_wrap_new_FileSystemHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6738 PyObject
*resultobj
;
6739 wxPyFileSystemHandler
*result
;
6744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystemHandler",kwnames
)) goto fail
;
6746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6747 result
= (wxPyFileSystemHandler
*)new wxPyFileSystemHandler();
6749 wxPyEndAllowThreads(__tstate
);
6750 if (PyErr_Occurred()) SWIG_fail
;
6752 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFileSystemHandler
, 1);
6759 static PyObject
*_wrap_FileSystemHandler__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6760 PyObject
*resultobj
;
6761 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6762 PyObject
*arg2
= (PyObject
*) 0 ;
6763 PyObject
*arg3
= (PyObject
*) 0 ;
6764 PyObject
* obj0
= 0 ;
6765 PyObject
* obj1
= 0 ;
6766 PyObject
* obj2
= 0 ;
6768 (char *) "self",(char *) "self",(char *) "_class", NULL
6771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6772 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6778 (arg1
)->_setCallbackInfo(arg2
,arg3
);
6780 wxPyEndAllowThreads(__tstate
);
6781 if (PyErr_Occurred()) SWIG_fail
;
6783 Py_INCREF(Py_None
); resultobj
= Py_None
;
6790 static PyObject
*_wrap_FileSystemHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6791 PyObject
*resultobj
;
6792 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6793 wxString
*arg2
= 0 ;
6795 bool temp2
= False
;
6796 PyObject
* obj0
= 0 ;
6797 PyObject
* obj1
= 0 ;
6799 (char *) "self",(char *) "location", NULL
6802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
6803 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6804 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6806 arg2
= wxString_in_helper(obj1
);
6807 if (arg2
== NULL
) SWIG_fail
;
6811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6812 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
6814 wxPyEndAllowThreads(__tstate
);
6815 if (PyErr_Occurred()) SWIG_fail
;
6818 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6834 static PyObject
*_wrap_FileSystemHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6835 PyObject
*resultobj
;
6836 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6837 wxFileSystem
*arg2
= 0 ;
6838 wxString
*arg3
= 0 ;
6840 bool temp3
= False
;
6841 PyObject
* obj0
= 0 ;
6842 PyObject
* obj1
= 0 ;
6843 PyObject
* obj2
= 0 ;
6845 (char *) "self",(char *) "fs",(char *) "location", NULL
6848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6849 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6851 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileSystem
,
6852 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6855 PyErr_SetString(PyExc_TypeError
,"null reference");
6859 arg3
= wxString_in_helper(obj2
);
6860 if (arg3
== NULL
) SWIG_fail
;
6864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6865 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
6867 wxPyEndAllowThreads(__tstate
);
6868 if (PyErr_Occurred()) SWIG_fail
;
6871 resultobj
= wxPyMake_wxObject(result
, 1);
6887 static PyObject
*_wrap_FileSystemHandler_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6888 PyObject
*resultobj
;
6889 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6890 wxString
*arg2
= 0 ;
6891 int arg3
= (int) 0 ;
6893 bool temp2
= False
;
6894 PyObject
* obj0
= 0 ;
6895 PyObject
* obj1
= 0 ;
6896 PyObject
* obj2
= 0 ;
6898 (char *) "self",(char *) "spec",(char *) "flags", NULL
6901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystemHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6902 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6903 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6905 arg2
= wxString_in_helper(obj1
);
6906 if (arg2
== NULL
) SWIG_fail
;
6910 arg3
= (int)SWIG_As_int(obj2
);
6911 if (PyErr_Occurred()) SWIG_fail
;
6914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6915 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
6917 wxPyEndAllowThreads(__tstate
);
6918 if (PyErr_Occurred()) SWIG_fail
;
6922 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6924 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6941 static PyObject
*_wrap_FileSystemHandler_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6942 PyObject
*resultobj
;
6943 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6945 PyObject
* obj0
= 0 ;
6947 (char *) "self", NULL
6950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystemHandler_FindNext",kwnames
,&obj0
)) goto fail
;
6951 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6952 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6955 result
= (arg1
)->FindNext();
6957 wxPyEndAllowThreads(__tstate
);
6958 if (PyErr_Occurred()) SWIG_fail
;
6962 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6964 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6973 static PyObject
*_wrap_FileSystemHandler_GetProtocol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6974 PyObject
*resultobj
;
6975 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6976 wxString
*arg2
= 0 ;
6978 bool temp2
= False
;
6979 PyObject
* obj0
= 0 ;
6980 PyObject
* obj1
= 0 ;
6982 (char *) "self",(char *) "location", NULL
6985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetProtocol",kwnames
,&obj0
,&obj1
)) goto fail
;
6986 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6987 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6989 arg2
= wxString_in_helper(obj1
);
6990 if (arg2
== NULL
) SWIG_fail
;
6994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6995 result
= (arg1
)->GetProtocol((wxString
const &)*arg2
);
6997 wxPyEndAllowThreads(__tstate
);
6998 if (PyErr_Occurred()) SWIG_fail
;
7002 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7004 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7021 static PyObject
*_wrap_FileSystemHandler_GetLeftLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7022 PyObject
*resultobj
;
7023 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
7024 wxString
*arg2
= 0 ;
7026 bool temp2
= False
;
7027 PyObject
* obj0
= 0 ;
7028 PyObject
* obj1
= 0 ;
7030 (char *) "self",(char *) "location", NULL
7033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetLeftLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
7034 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
7035 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7037 arg2
= wxString_in_helper(obj1
);
7038 if (arg2
== NULL
) SWIG_fail
;
7042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7043 result
= (arg1
)->GetLeftLocation((wxString
const &)*arg2
);
7045 wxPyEndAllowThreads(__tstate
);
7046 if (PyErr_Occurred()) SWIG_fail
;
7050 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7052 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7069 static PyObject
*_wrap_FileSystemHandler_GetAnchor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7070 PyObject
*resultobj
;
7071 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
7072 wxString
*arg2
= 0 ;
7074 bool temp2
= False
;
7075 PyObject
* obj0
= 0 ;
7076 PyObject
* obj1
= 0 ;
7078 (char *) "self",(char *) "location", NULL
7081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetAnchor",kwnames
,&obj0
,&obj1
)) goto fail
;
7082 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
7083 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7085 arg2
= wxString_in_helper(obj1
);
7086 if (arg2
== NULL
) SWIG_fail
;
7090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7091 result
= (arg1
)->GetAnchor((wxString
const &)*arg2
);
7093 wxPyEndAllowThreads(__tstate
);
7094 if (PyErr_Occurred()) SWIG_fail
;
7098 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7100 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7117 static PyObject
*_wrap_FileSystemHandler_GetRightLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7118 PyObject
*resultobj
;
7119 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
7120 wxString
*arg2
= 0 ;
7122 bool temp2
= False
;
7123 PyObject
* obj0
= 0 ;
7124 PyObject
* obj1
= 0 ;
7126 (char *) "self",(char *) "location", NULL
7129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetRightLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
7130 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
7131 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7133 arg2
= wxString_in_helper(obj1
);
7134 if (arg2
== NULL
) SWIG_fail
;
7138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7139 result
= (arg1
)->GetRightLocation((wxString
const &)*arg2
);
7141 wxPyEndAllowThreads(__tstate
);
7142 if (PyErr_Occurred()) SWIG_fail
;
7146 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7148 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7165 static PyObject
*_wrap_FileSystemHandler_GetMimeTypeFromExt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7166 PyObject
*resultobj
;
7167 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
7168 wxString
*arg2
= 0 ;
7170 bool temp2
= False
;
7171 PyObject
* obj0
= 0 ;
7172 PyObject
* obj1
= 0 ;
7174 (char *) "self",(char *) "location", NULL
7177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetMimeTypeFromExt",kwnames
,&obj0
,&obj1
)) goto fail
;
7178 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
7179 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7181 arg2
= wxString_in_helper(obj1
);
7182 if (arg2
== NULL
) SWIG_fail
;
7186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7187 result
= (arg1
)->GetMimeTypeFromExt((wxString
const &)*arg2
);
7189 wxPyEndAllowThreads(__tstate
);
7190 if (PyErr_Occurred()) SWIG_fail
;
7194 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7196 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7213 static PyObject
* FileSystemHandler_swigregister(PyObject
*, PyObject
*args
) {
7215 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7216 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileSystemHandler
, obj
);
7218 return Py_BuildValue((char *)"");
7220 static PyObject
*_wrap_new_FileSystem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7221 PyObject
*resultobj
;
7222 wxFileSystem
*result
;
7227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystem",kwnames
)) goto fail
;
7229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7230 result
= (wxFileSystem
*)new wxFileSystem();
7232 wxPyEndAllowThreads(__tstate
);
7233 if (PyErr_Occurred()) SWIG_fail
;
7236 resultobj
= wxPyMake_wxObject(result
, 1);
7244 static PyObject
*_wrap_delete_FileSystem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7245 PyObject
*resultobj
;
7246 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7247 PyObject
* obj0
= 0 ;
7249 (char *) "self", NULL
7252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileSystem",kwnames
,&obj0
)) goto fail
;
7253 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7254 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7259 wxPyEndAllowThreads(__tstate
);
7260 if (PyErr_Occurred()) SWIG_fail
;
7262 Py_INCREF(Py_None
); resultobj
= Py_None
;
7269 static PyObject
*_wrap_FileSystem_ChangePathTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7270 PyObject
*resultobj
;
7271 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7272 wxString
*arg2
= 0 ;
7273 bool arg3
= (bool) False
;
7274 bool temp2
= False
;
7275 PyObject
* obj0
= 0 ;
7276 PyObject
* obj1
= 0 ;
7277 PyObject
* obj2
= 0 ;
7279 (char *) "self",(char *) "location",(char *) "is_dir", NULL
7282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_ChangePathTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7283 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7284 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7286 arg2
= wxString_in_helper(obj1
);
7287 if (arg2
== NULL
) SWIG_fail
;
7291 arg3
= (bool)SWIG_As_bool(obj2
);
7292 if (PyErr_Occurred()) SWIG_fail
;
7295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7296 (arg1
)->ChangePathTo((wxString
const &)*arg2
,arg3
);
7298 wxPyEndAllowThreads(__tstate
);
7299 if (PyErr_Occurred()) SWIG_fail
;
7301 Py_INCREF(Py_None
); resultobj
= Py_None
;
7316 static PyObject
*_wrap_FileSystem_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7317 PyObject
*resultobj
;
7318 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7320 PyObject
* obj0
= 0 ;
7322 (char *) "self", NULL
7325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_GetPath",kwnames
,&obj0
)) goto fail
;
7326 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7327 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7330 result
= (arg1
)->GetPath();
7332 wxPyEndAllowThreads(__tstate
);
7333 if (PyErr_Occurred()) SWIG_fail
;
7337 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7339 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7348 static PyObject
*_wrap_FileSystem_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7349 PyObject
*resultobj
;
7350 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7351 wxString
*arg2
= 0 ;
7353 bool temp2
= False
;
7354 PyObject
* obj0
= 0 ;
7355 PyObject
* obj1
= 0 ;
7357 (char *) "self",(char *) "location", NULL
7360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystem_OpenFile",kwnames
,&obj0
,&obj1
)) goto fail
;
7361 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7362 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7364 arg2
= wxString_in_helper(obj1
);
7365 if (arg2
== NULL
) SWIG_fail
;
7369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7370 result
= (wxFSFile
*)(arg1
)->OpenFile((wxString
const &)*arg2
);
7372 wxPyEndAllowThreads(__tstate
);
7373 if (PyErr_Occurred()) SWIG_fail
;
7376 resultobj
= wxPyMake_wxObject(result
, 1);
7392 static PyObject
*_wrap_FileSystem_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7393 PyObject
*resultobj
;
7394 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7395 wxString
*arg2
= 0 ;
7396 int arg3
= (int) 0 ;
7398 bool temp2
= False
;
7399 PyObject
* obj0
= 0 ;
7400 PyObject
* obj1
= 0 ;
7401 PyObject
* obj2
= 0 ;
7403 (char *) "self",(char *) "spec",(char *) "flags", NULL
7406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7407 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7408 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7410 arg2
= wxString_in_helper(obj1
);
7411 if (arg2
== NULL
) SWIG_fail
;
7415 arg3
= (int)SWIG_As_int(obj2
);
7416 if (PyErr_Occurred()) SWIG_fail
;
7419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7420 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
7422 wxPyEndAllowThreads(__tstate
);
7423 if (PyErr_Occurred()) SWIG_fail
;
7427 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7429 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7446 static PyObject
*_wrap_FileSystem_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7447 PyObject
*resultobj
;
7448 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7450 PyObject
* obj0
= 0 ;
7452 (char *) "self", NULL
7455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FindNext",kwnames
,&obj0
)) goto fail
;
7456 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7457 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7460 result
= (arg1
)->FindNext();
7462 wxPyEndAllowThreads(__tstate
);
7463 if (PyErr_Occurred()) SWIG_fail
;
7467 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7469 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7478 static PyObject
*_wrap_FileSystem_AddHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7479 PyObject
*resultobj
;
7480 wxFileSystemHandler
*arg1
= (wxFileSystemHandler
*) 0 ;
7481 PyObject
* obj0
= 0 ;
7483 (char *) "handler", NULL
7486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_AddHandler",kwnames
,&obj0
)) goto fail
;
7487 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystemHandler
,
7488 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7491 wxFileSystem::AddHandler(arg1
);
7493 wxPyEndAllowThreads(__tstate
);
7494 if (PyErr_Occurred()) SWIG_fail
;
7496 Py_INCREF(Py_None
); resultobj
= Py_None
;
7503 static PyObject
*_wrap_FileSystem_CleanUpHandlers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7504 PyObject
*resultobj
;
7509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FileSystem_CleanUpHandlers",kwnames
)) goto fail
;
7511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7512 wxFileSystem::CleanUpHandlers();
7514 wxPyEndAllowThreads(__tstate
);
7515 if (PyErr_Occurred()) SWIG_fail
;
7517 Py_INCREF(Py_None
); resultobj
= Py_None
;
7524 static PyObject
*_wrap_FileSystem_FileNameToURL(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7525 PyObject
*resultobj
;
7526 wxString
*arg1
= 0 ;
7528 bool temp1
= False
;
7529 PyObject
* obj0
= 0 ;
7531 (char *) "filename", NULL
7534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FileNameToURL",kwnames
,&obj0
)) goto fail
;
7536 arg1
= wxString_in_helper(obj0
);
7537 if (arg1
== NULL
) SWIG_fail
;
7541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7542 result
= wxFileSystem::FileNameToURL((wxString
const &)*arg1
);
7544 wxPyEndAllowThreads(__tstate
);
7545 if (PyErr_Occurred()) SWIG_fail
;
7549 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7551 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7568 static PyObject
* FileSystem_swigregister(PyObject
*, PyObject
*args
) {
7570 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7571 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystem
, obj
);
7573 return Py_BuildValue((char *)"");
7575 static PyObject
*_wrap_FileSystem_URLToFileName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7576 PyObject
*resultobj
;
7577 wxString
*arg1
= 0 ;
7579 bool temp1
= False
;
7580 PyObject
* obj0
= 0 ;
7582 (char *) "url", NULL
7585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_URLToFileName",kwnames
,&obj0
)) goto fail
;
7587 arg1
= wxString_in_helper(obj0
);
7588 if (arg1
== NULL
) SWIG_fail
;
7592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7593 result
= wxFileSystem_URLToFileName((wxString
const &)*arg1
);
7595 wxPyEndAllowThreads(__tstate
);
7596 if (PyErr_Occurred()) SWIG_fail
;
7600 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7602 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7619 static PyObject
*_wrap_new_InternetFSHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7620 PyObject
*resultobj
;
7621 wxInternetFSHandler
*result
;
7626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_InternetFSHandler",kwnames
)) goto fail
;
7628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7629 result
= (wxInternetFSHandler
*)new wxInternetFSHandler();
7631 wxPyEndAllowThreads(__tstate
);
7632 if (PyErr_Occurred()) SWIG_fail
;
7634 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxInternetFSHandler
, 1);
7641 static PyObject
*_wrap_InternetFSHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7642 PyObject
*resultobj
;
7643 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
7644 wxString
*arg2
= 0 ;
7646 bool temp2
= False
;
7647 PyObject
* obj0
= 0 ;
7648 PyObject
* obj1
= 0 ;
7650 (char *) "self",(char *) "location", NULL
7653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InternetFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
7654 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxInternetFSHandler
,
7655 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7657 arg2
= wxString_in_helper(obj1
);
7658 if (arg2
== NULL
) SWIG_fail
;
7662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7663 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
7665 wxPyEndAllowThreads(__tstate
);
7666 if (PyErr_Occurred()) SWIG_fail
;
7669 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7685 static PyObject
*_wrap_InternetFSHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7686 PyObject
*resultobj
;
7687 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
7688 wxFileSystem
*arg2
= 0 ;
7689 wxString
*arg3
= 0 ;
7691 bool temp3
= False
;
7692 PyObject
* obj0
= 0 ;
7693 PyObject
* obj1
= 0 ;
7694 PyObject
* obj2
= 0 ;
7696 (char *) "self",(char *) "fs",(char *) "location", NULL
7699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:InternetFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7700 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxInternetFSHandler
,
7701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7702 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileSystem
,
7703 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7706 PyErr_SetString(PyExc_TypeError
,"null reference");
7710 arg3
= wxString_in_helper(obj2
);
7711 if (arg3
== NULL
) SWIG_fail
;
7715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7716 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
7718 wxPyEndAllowThreads(__tstate
);
7719 if (PyErr_Occurred()) SWIG_fail
;
7722 resultobj
= wxPyMake_wxObject(result
, 1);
7738 static PyObject
* InternetFSHandler_swigregister(PyObject
*, PyObject
*args
) {
7740 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7741 SWIG_TypeClientData(SWIGTYPE_p_wxInternetFSHandler
, obj
);
7743 return Py_BuildValue((char *)"");
7745 static PyObject
*_wrap_new_ZipFSHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7746 PyObject
*resultobj
;
7747 wxZipFSHandler
*result
;
7752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ZipFSHandler",kwnames
)) goto fail
;
7754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7755 result
= (wxZipFSHandler
*)new wxZipFSHandler();
7757 wxPyEndAllowThreads(__tstate
);
7758 if (PyErr_Occurred()) SWIG_fail
;
7760 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxZipFSHandler
, 1);
7767 static PyObject
*_wrap_ZipFSHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7768 PyObject
*resultobj
;
7769 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7770 wxString
*arg2
= 0 ;
7772 bool temp2
= False
;
7773 PyObject
* obj0
= 0 ;
7774 PyObject
* obj1
= 0 ;
7776 (char *) "self",(char *) "location", NULL
7779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ZipFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
7780 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxZipFSHandler
,
7781 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7783 arg2
= wxString_in_helper(obj1
);
7784 if (arg2
== NULL
) SWIG_fail
;
7788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7789 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
7791 wxPyEndAllowThreads(__tstate
);
7792 if (PyErr_Occurred()) SWIG_fail
;
7795 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7811 static PyObject
*_wrap_ZipFSHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7812 PyObject
*resultobj
;
7813 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7814 wxFileSystem
*arg2
= 0 ;
7815 wxString
*arg3
= 0 ;
7817 bool temp3
= False
;
7818 PyObject
* obj0
= 0 ;
7819 PyObject
* obj1
= 0 ;
7820 PyObject
* obj2
= 0 ;
7822 (char *) "self",(char *) "fs",(char *) "location", NULL
7825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ZipFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7826 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxZipFSHandler
,
7827 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7828 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileSystem
,
7829 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7832 PyErr_SetString(PyExc_TypeError
,"null reference");
7836 arg3
= wxString_in_helper(obj2
);
7837 if (arg3
== NULL
) SWIG_fail
;
7841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7842 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
7844 wxPyEndAllowThreads(__tstate
);
7845 if (PyErr_Occurred()) SWIG_fail
;
7848 resultobj
= wxPyMake_wxObject(result
, 1);
7864 static PyObject
*_wrap_ZipFSHandler_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7865 PyObject
*resultobj
;
7866 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7867 wxString
*arg2
= 0 ;
7868 int arg3
= (int) 0 ;
7870 bool temp2
= False
;
7871 PyObject
* obj0
= 0 ;
7872 PyObject
* obj1
= 0 ;
7873 PyObject
* obj2
= 0 ;
7875 (char *) "self",(char *) "spec",(char *) "flags", NULL
7878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ZipFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7879 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxZipFSHandler
,
7880 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7882 arg2
= wxString_in_helper(obj1
);
7883 if (arg2
== NULL
) SWIG_fail
;
7887 arg3
= (int)SWIG_As_int(obj2
);
7888 if (PyErr_Occurred()) SWIG_fail
;
7891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7892 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
7894 wxPyEndAllowThreads(__tstate
);
7895 if (PyErr_Occurred()) SWIG_fail
;
7899 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7901 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7918 static PyObject
*_wrap_ZipFSHandler_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7919 PyObject
*resultobj
;
7920 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7922 PyObject
* obj0
= 0 ;
7924 (char *) "self", NULL
7927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ZipFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
7928 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxZipFSHandler
,
7929 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7932 result
= (arg1
)->FindNext();
7934 wxPyEndAllowThreads(__tstate
);
7935 if (PyErr_Occurred()) SWIG_fail
;
7939 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7941 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7950 static PyObject
* ZipFSHandler_swigregister(PyObject
*, PyObject
*args
) {
7952 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7953 SWIG_TypeClientData(SWIGTYPE_p_wxZipFSHandler
, obj
);
7955 return Py_BuildValue((char *)"");
7957 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7958 PyObject
*resultobj
;
7959 wxString
*arg1
= 0 ;
7962 bool temp1
= False
;
7963 PyObject
* obj0
= 0 ;
7964 PyObject
* obj1
= 0 ;
7965 PyObject
* obj2
= 0 ;
7967 (char *) "filename",(char *) "image",(char *) "type", NULL
7970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7972 arg1
= wxString_in_helper(obj0
);
7973 if (arg1
== NULL
) SWIG_fail
;
7976 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImage
,
7977 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7980 PyErr_SetString(PyExc_TypeError
,"null reference");
7983 arg3
= (long)SWIG_As_long(obj2
);
7984 if (PyErr_Occurred()) SWIG_fail
;
7986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7987 __wxMemoryFSHandler_AddFile_wxImage((wxString
const &)*arg1
,*arg2
,arg3
);
7989 wxPyEndAllowThreads(__tstate
);
7990 if (PyErr_Occurred()) SWIG_fail
;
7992 Py_INCREF(Py_None
); resultobj
= Py_None
;
8007 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8008 PyObject
*resultobj
;
8009 wxString
*arg1
= 0 ;
8010 wxBitmap
*arg2
= 0 ;
8012 bool temp1
= False
;
8013 PyObject
* obj0
= 0 ;
8014 PyObject
* obj1
= 0 ;
8015 PyObject
* obj2
= 0 ;
8017 (char *) "filename",(char *) "bitmap",(char *) "type", NULL
8020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8022 arg1
= wxString_in_helper(obj0
);
8023 if (arg1
== NULL
) SWIG_fail
;
8026 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
8027 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8030 PyErr_SetString(PyExc_TypeError
,"null reference");
8033 arg3
= (long)SWIG_As_long(obj2
);
8034 if (PyErr_Occurred()) SWIG_fail
;
8036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8037 __wxMemoryFSHandler_AddFile_wxBitmap((wxString
const &)*arg1
,(wxBitmap
const &)*arg2
,arg3
);
8039 wxPyEndAllowThreads(__tstate
);
8040 if (PyErr_Occurred()) SWIG_fail
;
8042 Py_INCREF(Py_None
); resultobj
= Py_None
;
8057 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_Data(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8058 PyObject
*resultobj
;
8059 wxString
*arg1
= 0 ;
8060 PyObject
*arg2
= (PyObject
*) 0 ;
8061 bool temp1
= False
;
8062 PyObject
* obj0
= 0 ;
8063 PyObject
* obj1
= 0 ;
8065 (char *) "filename",(char *) "data", NULL
8068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:__wxMemoryFSHandler_AddFile_Data",kwnames
,&obj0
,&obj1
)) goto fail
;
8070 arg1
= wxString_in_helper(obj0
);
8071 if (arg1
== NULL
) SWIG_fail
;
8076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8077 __wxMemoryFSHandler_AddFile_Data((wxString
const &)*arg1
,arg2
);
8079 wxPyEndAllowThreads(__tstate
);
8080 if (PyErr_Occurred()) SWIG_fail
;
8082 Py_INCREF(Py_None
); resultobj
= Py_None
;
8097 static PyObject
*_wrap_new_MemoryFSHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8098 PyObject
*resultobj
;
8099 wxMemoryFSHandler
*result
;
8104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MemoryFSHandler",kwnames
)) goto fail
;
8106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8107 result
= (wxMemoryFSHandler
*)new wxMemoryFSHandler();
8109 wxPyEndAllowThreads(__tstate
);
8110 if (PyErr_Occurred()) SWIG_fail
;
8112 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryFSHandler
, 1);
8119 static PyObject
*_wrap_MemoryFSHandler_RemoveFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8120 PyObject
*resultobj
;
8121 wxString
*arg1
= 0 ;
8122 bool temp1
= False
;
8123 PyObject
* obj0
= 0 ;
8125 (char *) "filename", NULL
8128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_RemoveFile",kwnames
,&obj0
)) goto fail
;
8130 arg1
= wxString_in_helper(obj0
);
8131 if (arg1
== NULL
) SWIG_fail
;
8135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8136 wxMemoryFSHandler::RemoveFile((wxString
const &)*arg1
);
8138 wxPyEndAllowThreads(__tstate
);
8139 if (PyErr_Occurred()) SWIG_fail
;
8141 Py_INCREF(Py_None
); resultobj
= Py_None
;
8156 static PyObject
*_wrap_MemoryFSHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8157 PyObject
*resultobj
;
8158 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
8159 wxString
*arg2
= 0 ;
8161 bool temp2
= False
;
8162 PyObject
* obj0
= 0 ;
8163 PyObject
* obj1
= 0 ;
8165 (char *) "self",(char *) "location", NULL
8168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
8169 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryFSHandler
,
8170 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8172 arg2
= wxString_in_helper(obj1
);
8173 if (arg2
== NULL
) SWIG_fail
;
8177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8178 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
8180 wxPyEndAllowThreads(__tstate
);
8181 if (PyErr_Occurred()) SWIG_fail
;
8184 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8200 static PyObject
*_wrap_MemoryFSHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8201 PyObject
*resultobj
;
8202 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
8203 wxFileSystem
*arg2
= 0 ;
8204 wxString
*arg3
= 0 ;
8206 bool temp3
= False
;
8207 PyObject
* obj0
= 0 ;
8208 PyObject
* obj1
= 0 ;
8209 PyObject
* obj2
= 0 ;
8211 (char *) "self",(char *) "fs",(char *) "location", NULL
8214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MemoryFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8215 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryFSHandler
,
8216 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8217 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileSystem
,
8218 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8221 PyErr_SetString(PyExc_TypeError
,"null reference");
8225 arg3
= wxString_in_helper(obj2
);
8226 if (arg3
== NULL
) SWIG_fail
;
8230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8231 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
8233 wxPyEndAllowThreads(__tstate
);
8234 if (PyErr_Occurred()) SWIG_fail
;
8237 resultobj
= wxPyMake_wxObject(result
, 1);
8253 static PyObject
*_wrap_MemoryFSHandler_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8254 PyObject
*resultobj
;
8255 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
8256 wxString
*arg2
= 0 ;
8257 int arg3
= (int) 0 ;
8259 bool temp2
= False
;
8260 PyObject
* obj0
= 0 ;
8261 PyObject
* obj1
= 0 ;
8262 PyObject
* obj2
= 0 ;
8264 (char *) "self",(char *) "spec",(char *) "flags", NULL
8267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MemoryFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8268 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryFSHandler
,
8269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8271 arg2
= wxString_in_helper(obj1
);
8272 if (arg2
== NULL
) SWIG_fail
;
8276 arg3
= (int)SWIG_As_int(obj2
);
8277 if (PyErr_Occurred()) SWIG_fail
;
8280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8281 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
8283 wxPyEndAllowThreads(__tstate
);
8284 if (PyErr_Occurred()) SWIG_fail
;
8288 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8290 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8307 static PyObject
*_wrap_MemoryFSHandler_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8308 PyObject
*resultobj
;
8309 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
8311 PyObject
* obj0
= 0 ;
8313 (char *) "self", NULL
8316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
8317 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryFSHandler
,
8318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8321 result
= (arg1
)->FindNext();
8323 wxPyEndAllowThreads(__tstate
);
8324 if (PyErr_Occurred()) SWIG_fail
;
8328 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8330 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8339 static PyObject
* MemoryFSHandler_swigregister(PyObject
*, PyObject
*args
) {
8341 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8342 SWIG_TypeClientData(SWIGTYPE_p_wxMemoryFSHandler
, obj
);
8344 return Py_BuildValue((char *)"");
8346 static PyObject
*_wrap_ImageHandler_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8347 PyObject
*resultobj
;
8348 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8350 PyObject
* obj0
= 0 ;
8352 (char *) "self", NULL
8355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetName",kwnames
,&obj0
)) goto fail
;
8356 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8360 result
= (arg1
)->GetName();
8362 wxPyEndAllowThreads(__tstate
);
8363 if (PyErr_Occurred()) SWIG_fail
;
8367 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8369 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8378 static PyObject
*_wrap_ImageHandler_GetExtension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8379 PyObject
*resultobj
;
8380 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8382 PyObject
* obj0
= 0 ;
8384 (char *) "self", NULL
8387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetExtension",kwnames
,&obj0
)) goto fail
;
8388 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8392 result
= (arg1
)->GetExtension();
8394 wxPyEndAllowThreads(__tstate
);
8395 if (PyErr_Occurred()) SWIG_fail
;
8399 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8401 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8410 static PyObject
*_wrap_ImageHandler_GetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8411 PyObject
*resultobj
;
8412 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8414 PyObject
* obj0
= 0 ;
8416 (char *) "self", NULL
8419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetType",kwnames
,&obj0
)) goto fail
;
8420 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8421 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8424 result
= (long)(arg1
)->GetType();
8426 wxPyEndAllowThreads(__tstate
);
8427 if (PyErr_Occurred()) SWIG_fail
;
8429 resultobj
= SWIG_From_long((long)result
);
8436 static PyObject
*_wrap_ImageHandler_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8437 PyObject
*resultobj
;
8438 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8440 PyObject
* obj0
= 0 ;
8442 (char *) "self", NULL
8445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetMimeType",kwnames
,&obj0
)) goto fail
;
8446 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8447 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8450 result
= (arg1
)->GetMimeType();
8452 wxPyEndAllowThreads(__tstate
);
8453 if (PyErr_Occurred()) SWIG_fail
;
8457 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8459 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8468 static PyObject
*_wrap_ImageHandler_CanRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8469 PyObject
*resultobj
;
8470 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8471 wxString
*arg2
= 0 ;
8473 bool temp2
= False
;
8474 PyObject
* obj0
= 0 ;
8475 PyObject
* obj1
= 0 ;
8477 (char *) "self",(char *) "name", NULL
8480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_CanRead",kwnames
,&obj0
,&obj1
)) goto fail
;
8481 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8482 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8484 arg2
= wxString_in_helper(obj1
);
8485 if (arg2
== NULL
) SWIG_fail
;
8489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8490 result
= (bool)(arg1
)->CanRead((wxString
const &)*arg2
);
8492 wxPyEndAllowThreads(__tstate
);
8493 if (PyErr_Occurred()) SWIG_fail
;
8496 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8512 static PyObject
*_wrap_ImageHandler_SetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8513 PyObject
*resultobj
;
8514 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8515 wxString
*arg2
= 0 ;
8516 bool temp2
= False
;
8517 PyObject
* obj0
= 0 ;
8518 PyObject
* obj1
= 0 ;
8520 (char *) "self",(char *) "name", NULL
8523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
8524 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8525 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8527 arg2
= wxString_in_helper(obj1
);
8528 if (arg2
== NULL
) SWIG_fail
;
8532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8533 (arg1
)->SetName((wxString
const &)*arg2
);
8535 wxPyEndAllowThreads(__tstate
);
8536 if (PyErr_Occurred()) SWIG_fail
;
8538 Py_INCREF(Py_None
); resultobj
= Py_None
;
8553 static PyObject
*_wrap_ImageHandler_SetExtension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8554 PyObject
*resultobj
;
8555 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8556 wxString
*arg2
= 0 ;
8557 bool temp2
= False
;
8558 PyObject
* obj0
= 0 ;
8559 PyObject
* obj1
= 0 ;
8561 (char *) "self",(char *) "extension", NULL
8564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetExtension",kwnames
,&obj0
,&obj1
)) goto fail
;
8565 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8568 arg2
= wxString_in_helper(obj1
);
8569 if (arg2
== NULL
) SWIG_fail
;
8573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8574 (arg1
)->SetExtension((wxString
const &)*arg2
);
8576 wxPyEndAllowThreads(__tstate
);
8577 if (PyErr_Occurred()) SWIG_fail
;
8579 Py_INCREF(Py_None
); resultobj
= Py_None
;
8594 static PyObject
*_wrap_ImageHandler_SetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8595 PyObject
*resultobj
;
8596 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8598 PyObject
* obj0
= 0 ;
8599 PyObject
* obj1
= 0 ;
8601 (char *) "self",(char *) "type", NULL
8604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetType",kwnames
,&obj0
,&obj1
)) goto fail
;
8605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8607 arg2
= (long)SWIG_As_long(obj1
);
8608 if (PyErr_Occurred()) SWIG_fail
;
8610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8611 (arg1
)->SetType(arg2
);
8613 wxPyEndAllowThreads(__tstate
);
8614 if (PyErr_Occurred()) SWIG_fail
;
8616 Py_INCREF(Py_None
); resultobj
= Py_None
;
8623 static PyObject
*_wrap_ImageHandler_SetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8624 PyObject
*resultobj
;
8625 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8626 wxString
*arg2
= 0 ;
8627 bool temp2
= False
;
8628 PyObject
* obj0
= 0 ;
8629 PyObject
* obj1
= 0 ;
8631 (char *) "self",(char *) "mimetype", NULL
8634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetMimeType",kwnames
,&obj0
,&obj1
)) goto fail
;
8635 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8636 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8638 arg2
= wxString_in_helper(obj1
);
8639 if (arg2
== NULL
) SWIG_fail
;
8643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8644 (arg1
)->SetMimeType((wxString
const &)*arg2
);
8646 wxPyEndAllowThreads(__tstate
);
8647 if (PyErr_Occurred()) SWIG_fail
;
8649 Py_INCREF(Py_None
); resultobj
= Py_None
;
8664 static PyObject
* ImageHandler_swigregister(PyObject
*, PyObject
*args
) {
8666 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8667 SWIG_TypeClientData(SWIGTYPE_p_wxImageHandler
, obj
);
8669 return Py_BuildValue((char *)"");
8671 static PyObject
*_wrap_new_ImageHistogram(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8672 PyObject
*resultobj
;
8673 wxImageHistogram
*result
;
8678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ImageHistogram",kwnames
)) goto fail
;
8680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8681 result
= (wxImageHistogram
*)new wxImageHistogram();
8683 wxPyEndAllowThreads(__tstate
);
8684 if (PyErr_Occurred()) SWIG_fail
;
8686 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImageHistogram
, 1);
8693 static PyObject
*_wrap_ImageHistogram_MakeKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8694 PyObject
*resultobj
;
8695 unsigned char arg1
;
8696 unsigned char arg2
;
8697 unsigned char arg3
;
8698 unsigned long result
;
8699 PyObject
* obj0
= 0 ;
8700 PyObject
* obj1
= 0 ;
8701 PyObject
* obj2
= 0 ;
8703 (char *) "r",(char *) "g",(char *) "b", NULL
8706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageHistogram_MakeKey",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8707 arg1
= (unsigned char)SWIG_As_unsigned_SS_char(obj0
);
8708 if (PyErr_Occurred()) SWIG_fail
;
8709 arg2
= (unsigned char)SWIG_As_unsigned_SS_char(obj1
);
8710 if (PyErr_Occurred()) SWIG_fail
;
8711 arg3
= (unsigned char)SWIG_As_unsigned_SS_char(obj2
);
8712 if (PyErr_Occurred()) SWIG_fail
;
8714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8715 result
= (unsigned long)wxImageHistogram::MakeKey(arg1
,arg2
,arg3
);
8717 wxPyEndAllowThreads(__tstate
);
8718 if (PyErr_Occurred()) SWIG_fail
;
8720 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
8727 static PyObject
*_wrap_ImageHistogram_FindFirstUnusedColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8728 PyObject
*resultobj
;
8729 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
8730 unsigned char *arg2
= (unsigned char *) 0 ;
8731 unsigned char *arg3
= (unsigned char *) 0 ;
8732 unsigned char *arg4
= (unsigned char *) 0 ;
8733 unsigned char arg5
= (unsigned char) 1 ;
8734 unsigned char arg6
= (unsigned char) 0 ;
8735 unsigned char arg7
= (unsigned char) 0 ;
8737 unsigned char temp2
;
8739 unsigned char temp3
;
8741 unsigned char temp4
;
8743 PyObject
* obj0
= 0 ;
8744 PyObject
* obj1
= 0 ;
8745 PyObject
* obj2
= 0 ;
8746 PyObject
* obj3
= 0 ;
8748 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
8751 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
8752 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
8753 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
8754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:ImageHistogram_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHistogram
,
8756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8758 arg5
= (unsigned char)SWIG_As_unsigned_SS_char(obj1
);
8759 if (PyErr_Occurred()) SWIG_fail
;
8762 arg6
= (unsigned char)SWIG_As_unsigned_SS_char(obj2
);
8763 if (PyErr_Occurred()) SWIG_fail
;
8766 arg7
= (unsigned char)SWIG_As_unsigned_SS_char(obj3
);
8767 if (PyErr_Occurred()) SWIG_fail
;
8770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8771 result
= (bool)((wxImageHistogram
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
8773 wxPyEndAllowThreads(__tstate
);
8774 if (PyErr_Occurred()) SWIG_fail
;
8777 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8779 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
8780 SWIG_From_unsigned_SS_char((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_unsigned_char
, 0)));
8781 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
8782 SWIG_From_unsigned_SS_char((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, 0)));
8783 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
8784 SWIG_From_unsigned_SS_char((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, 0)));
8791 static PyObject
* ImageHistogram_swigregister(PyObject
*, PyObject
*args
) {
8793 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8794 SWIG_TypeClientData(SWIGTYPE_p_wxImageHistogram
, obj
);
8796 return Py_BuildValue((char *)"");
8798 static PyObject
*_wrap_new_Image(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8799 PyObject
*resultobj
;
8800 wxString
*arg1
= 0 ;
8801 long arg2
= (long) wxBITMAP_TYPE_ANY
;
8802 int arg3
= (int) -1 ;
8804 bool temp1
= False
;
8805 PyObject
* obj0
= 0 ;
8806 PyObject
* obj1
= 0 ;
8807 PyObject
* obj2
= 0 ;
8809 (char *) "name",(char *) "type",(char *) "index", NULL
8812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Image",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8814 arg1
= wxString_in_helper(obj0
);
8815 if (arg1
== NULL
) SWIG_fail
;
8819 arg2
= (long)SWIG_As_long(obj1
);
8820 if (PyErr_Occurred()) SWIG_fail
;
8823 arg3
= (int)SWIG_As_int(obj2
);
8824 if (PyErr_Occurred()) SWIG_fail
;
8827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8828 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,arg2
,arg3
);
8830 wxPyEndAllowThreads(__tstate
);
8831 if (PyErr_Occurred()) SWIG_fail
;
8833 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8848 static PyObject
*_wrap_delete_Image(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8849 PyObject
*resultobj
;
8850 wxImage
*arg1
= (wxImage
*) 0 ;
8851 PyObject
* obj0
= 0 ;
8853 (char *) "self", NULL
8856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Image",kwnames
,&obj0
)) goto fail
;
8857 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
8858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8863 wxPyEndAllowThreads(__tstate
);
8864 if (PyErr_Occurred()) SWIG_fail
;
8866 Py_INCREF(Py_None
); resultobj
= Py_None
;
8873 static PyObject
*_wrap_new_ImageFromMime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8874 PyObject
*resultobj
;
8875 wxString
*arg1
= 0 ;
8876 wxString
*arg2
= 0 ;
8877 int arg3
= (int) -1 ;
8879 bool temp1
= False
;
8880 bool temp2
= False
;
8881 PyObject
* obj0
= 0 ;
8882 PyObject
* obj1
= 0 ;
8883 PyObject
* obj2
= 0 ;
8885 (char *) "name",(char *) "mimetype",(char *) "index", NULL
8888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromMime",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8890 arg1
= wxString_in_helper(obj0
);
8891 if (arg1
== NULL
) SWIG_fail
;
8895 arg2
= wxString_in_helper(obj1
);
8896 if (arg2
== NULL
) SWIG_fail
;
8900 arg3
= (int)SWIG_As_int(obj2
);
8901 if (PyErr_Occurred()) SWIG_fail
;
8904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8905 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
8907 wxPyEndAllowThreads(__tstate
);
8908 if (PyErr_Occurred()) SWIG_fail
;
8910 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8933 static PyObject
*_wrap_new_ImageFromStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8934 PyObject
*resultobj
;
8935 wxInputStream
*arg1
= 0 ;
8936 long arg2
= (long) wxBITMAP_TYPE_ANY
;
8937 int arg3
= (int) -1 ;
8939 wxPyInputStream
*temp1
;
8941 PyObject
* obj0
= 0 ;
8942 PyObject
* obj1
= 0 ;
8943 PyObject
* obj2
= 0 ;
8945 (char *) "stream",(char *) "type",(char *) "index", NULL
8948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_ImageFromStream",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8950 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
8951 arg1
= temp1
->m_wxis
;
8954 PyErr_Clear(); // clear the failure of the wxPyConvert above
8955 arg1
= wxPyCBInputStream_create(obj0
, False
);
8957 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
8964 arg2
= (long)SWIG_As_long(obj1
);
8965 if (PyErr_Occurred()) SWIG_fail
;
8968 arg3
= (int)SWIG_As_int(obj2
);
8969 if (PyErr_Occurred()) SWIG_fail
;
8972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8973 result
= (wxImage
*)new wxImage(*arg1
,arg2
,arg3
);
8975 wxPyEndAllowThreads(__tstate
);
8976 if (PyErr_Occurred()) SWIG_fail
;
8978 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8993 static PyObject
*_wrap_new_ImageFromStreamMime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8994 PyObject
*resultobj
;
8995 wxInputStream
*arg1
= 0 ;
8996 wxString
*arg2
= 0 ;
8997 int arg3
= (int) -1 ;
8999 wxPyInputStream
*temp1
;
9001 bool temp2
= False
;
9002 PyObject
* obj0
= 0 ;
9003 PyObject
* obj1
= 0 ;
9004 PyObject
* obj2
= 0 ;
9006 (char *) "stream",(char *) "mimetype",(char *) "index", NULL
9009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromStreamMime",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9011 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
9012 arg1
= temp1
->m_wxis
;
9015 PyErr_Clear(); // clear the failure of the wxPyConvert above
9016 arg1
= wxPyCBInputStream_create(obj0
, False
);
9018 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
9025 arg2
= wxString_in_helper(obj1
);
9026 if (arg2
== NULL
) SWIG_fail
;
9030 arg3
= (int)SWIG_As_int(obj2
);
9031 if (PyErr_Occurred()) SWIG_fail
;
9034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9035 result
= (wxImage
*)new wxImage(*arg1
,(wxString
const &)*arg2
,arg3
);
9037 wxPyEndAllowThreads(__tstate
);
9038 if (PyErr_Occurred()) SWIG_fail
;
9040 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
9063 static PyObject
*_wrap_new_EmptyImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9064 PyObject
*resultobj
;
9065 int arg1
= (int) 0 ;
9066 int arg2
= (int) 0 ;
9067 bool arg3
= (bool) True
;
9069 PyObject
* obj0
= 0 ;
9070 PyObject
* obj1
= 0 ;
9071 PyObject
* obj2
= 0 ;
9073 (char *) "width",(char *) "height",(char *) "clear", NULL
9076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_EmptyImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9078 arg1
= (int)SWIG_As_int(obj0
);
9079 if (PyErr_Occurred()) SWIG_fail
;
9082 arg2
= (int)SWIG_As_int(obj1
);
9083 if (PyErr_Occurred()) SWIG_fail
;
9086 arg3
= (bool)SWIG_As_bool(obj2
);
9087 if (PyErr_Occurred()) SWIG_fail
;
9090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9091 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
);
9093 wxPyEndAllowThreads(__tstate
);
9094 if (PyErr_Occurred()) SWIG_fail
;
9096 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
9103 static PyObject
*_wrap_new_ImageFromBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9104 PyObject
*resultobj
;
9105 wxBitmap
*arg1
= 0 ;
9107 PyObject
* obj0
= 0 ;
9109 (char *) "bitmap", NULL
9112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ImageFromBitmap",kwnames
,&obj0
)) goto fail
;
9113 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
9114 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9117 PyErr_SetString(PyExc_TypeError
,"null reference");
9121 if (!wxPyCheckForApp()) SWIG_fail
;
9122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9123 result
= (wxImage
*)new_wxImage((wxBitmap
const &)*arg1
);
9125 wxPyEndAllowThreads(__tstate
);
9126 if (PyErr_Occurred()) SWIG_fail
;
9128 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
9135 static PyObject
*_wrap_new_ImageFromData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9136 PyObject
*resultobj
;
9139 unsigned char *arg3
= (unsigned char *) 0 ;
9141 PyObject
* obj0
= 0 ;
9142 PyObject
* obj1
= 0 ;
9143 PyObject
* obj2
= 0 ;
9145 (char *) "width",(char *) "height",(char *) "data", NULL
9148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_ImageFromData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9149 arg1
= (int)SWIG_As_int(obj0
);
9150 if (PyErr_Occurred()) SWIG_fail
;
9151 arg2
= (int)SWIG_As_int(obj1
);
9152 if (PyErr_Occurred()) SWIG_fail
;
9153 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_unsigned_char
,
9154 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9157 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
);
9159 wxPyEndAllowThreads(__tstate
);
9160 if (PyErr_Occurred()) SWIG_fail
;
9162 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
9169 static PyObject
*_wrap_Image_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9170 PyObject
*resultobj
;
9171 wxImage
*arg1
= (wxImage
*) 0 ;
9174 PyObject
* obj0
= 0 ;
9175 PyObject
* obj1
= 0 ;
9176 PyObject
* obj2
= 0 ;
9178 (char *) "self",(char *) "width",(char *) "height", NULL
9181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9182 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9184 arg2
= (int)SWIG_As_int(obj1
);
9185 if (PyErr_Occurred()) SWIG_fail
;
9186 arg3
= (int)SWIG_As_int(obj2
);
9187 if (PyErr_Occurred()) SWIG_fail
;
9189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9190 (arg1
)->Create(arg2
,arg3
);
9192 wxPyEndAllowThreads(__tstate
);
9193 if (PyErr_Occurred()) SWIG_fail
;
9195 Py_INCREF(Py_None
); resultobj
= Py_None
;
9202 static PyObject
*_wrap_Image_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9203 PyObject
*resultobj
;
9204 wxImage
*arg1
= (wxImage
*) 0 ;
9205 PyObject
* obj0
= 0 ;
9207 (char *) "self", NULL
9210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Destroy",kwnames
,&obj0
)) goto fail
;
9211 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9217 wxPyEndAllowThreads(__tstate
);
9218 if (PyErr_Occurred()) SWIG_fail
;
9220 Py_INCREF(Py_None
); resultobj
= Py_None
;
9227 static PyObject
*_wrap_Image_Scale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9228 PyObject
*resultobj
;
9229 wxImage
*arg1
= (wxImage
*) 0 ;
9232 SwigValueWrapper
< wxImage
> result
;
9233 PyObject
* obj0
= 0 ;
9234 PyObject
* obj1
= 0 ;
9235 PyObject
* obj2
= 0 ;
9237 (char *) "self",(char *) "width",(char *) "height", NULL
9240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9241 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9242 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9243 arg2
= (int)SWIG_As_int(obj1
);
9244 if (PyErr_Occurred()) SWIG_fail
;
9245 arg3
= (int)SWIG_As_int(obj2
);
9246 if (PyErr_Occurred()) SWIG_fail
;
9248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9249 result
= (arg1
)->Scale(arg2
,arg3
);
9251 wxPyEndAllowThreads(__tstate
);
9252 if (PyErr_Occurred()) SWIG_fail
;
9255 wxImage
* resultptr
;
9256 resultptr
= new wxImage((wxImage
&) result
);
9257 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
9265 static PyObject
*_wrap_Image_ShrinkBy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9266 PyObject
*resultobj
;
9267 wxImage
*arg1
= (wxImage
*) 0 ;
9270 SwigValueWrapper
< wxImage
> result
;
9271 PyObject
* obj0
= 0 ;
9272 PyObject
* obj1
= 0 ;
9273 PyObject
* obj2
= 0 ;
9275 (char *) "self",(char *) "xFactor",(char *) "yFactor", NULL
9278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_ShrinkBy",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9281 arg2
= (int)SWIG_As_int(obj1
);
9282 if (PyErr_Occurred()) SWIG_fail
;
9283 arg3
= (int)SWIG_As_int(obj2
);
9284 if (PyErr_Occurred()) SWIG_fail
;
9286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9287 result
= ((wxImage
const *)arg1
)->ShrinkBy(arg2
,arg3
);
9289 wxPyEndAllowThreads(__tstate
);
9290 if (PyErr_Occurred()) SWIG_fail
;
9293 wxImage
* resultptr
;
9294 resultptr
= new wxImage((wxImage
&) result
);
9295 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
9303 static PyObject
*_wrap_Image_Rescale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9304 PyObject
*resultobj
;
9305 wxImage
*arg1
= (wxImage
*) 0 ;
9309 PyObject
* obj0
= 0 ;
9310 PyObject
* obj1
= 0 ;
9311 PyObject
* obj2
= 0 ;
9313 (char *) "self",(char *) "width",(char *) "height", NULL
9316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Rescale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9317 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9319 arg2
= (int)SWIG_As_int(obj1
);
9320 if (PyErr_Occurred()) SWIG_fail
;
9321 arg3
= (int)SWIG_As_int(obj2
);
9322 if (PyErr_Occurred()) SWIG_fail
;
9324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9326 wxImage
&_result_ref
= (arg1
)->Rescale(arg2
,arg3
);
9327 result
= (wxImage
*) &_result_ref
;
9330 wxPyEndAllowThreads(__tstate
);
9331 if (PyErr_Occurred()) SWIG_fail
;
9333 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 0);
9340 static PyObject
*_wrap_Image_SetRGB(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9341 PyObject
*resultobj
;
9342 wxImage
*arg1
= (wxImage
*) 0 ;
9345 unsigned char arg4
;
9346 unsigned char arg5
;
9347 unsigned char arg6
;
9348 PyObject
* obj0
= 0 ;
9349 PyObject
* obj1
= 0 ;
9350 PyObject
* obj2
= 0 ;
9351 PyObject
* obj3
= 0 ;
9352 PyObject
* obj4
= 0 ;
9353 PyObject
* obj5
= 0 ;
9355 (char *) "self",(char *) "x",(char *) "y",(char *) "r",(char *) "g",(char *) "b", NULL
9358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Image_SetRGB",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9359 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9361 arg2
= (int)SWIG_As_int(obj1
);
9362 if (PyErr_Occurred()) SWIG_fail
;
9363 arg3
= (int)SWIG_As_int(obj2
);
9364 if (PyErr_Occurred()) SWIG_fail
;
9365 arg4
= (unsigned char)SWIG_As_unsigned_SS_char(obj3
);
9366 if (PyErr_Occurred()) SWIG_fail
;
9367 arg5
= (unsigned char)SWIG_As_unsigned_SS_char(obj4
);
9368 if (PyErr_Occurred()) SWIG_fail
;
9369 arg6
= (unsigned char)SWIG_As_unsigned_SS_char(obj5
);
9370 if (PyErr_Occurred()) SWIG_fail
;
9372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9373 (arg1
)->SetRGB(arg2
,arg3
,arg4
,arg5
,arg6
);
9375 wxPyEndAllowThreads(__tstate
);
9376 if (PyErr_Occurred()) SWIG_fail
;
9378 Py_INCREF(Py_None
); resultobj
= Py_None
;
9385 static PyObject
*_wrap_Image_GetRed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9386 PyObject
*resultobj
;
9387 wxImage
*arg1
= (wxImage
*) 0 ;
9390 unsigned char result
;
9391 PyObject
* obj0
= 0 ;
9392 PyObject
* obj1
= 0 ;
9393 PyObject
* obj2
= 0 ;
9395 (char *) "self",(char *) "x",(char *) "y", NULL
9398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetRed",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9399 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9401 arg2
= (int)SWIG_As_int(obj1
);
9402 if (PyErr_Occurred()) SWIG_fail
;
9403 arg3
= (int)SWIG_As_int(obj2
);
9404 if (PyErr_Occurred()) SWIG_fail
;
9406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9407 result
= (unsigned char)(arg1
)->GetRed(arg2
,arg3
);
9409 wxPyEndAllowThreads(__tstate
);
9410 if (PyErr_Occurred()) SWIG_fail
;
9412 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)result
);
9419 static PyObject
*_wrap_Image_GetGreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9420 PyObject
*resultobj
;
9421 wxImage
*arg1
= (wxImage
*) 0 ;
9424 unsigned char result
;
9425 PyObject
* obj0
= 0 ;
9426 PyObject
* obj1
= 0 ;
9427 PyObject
* obj2
= 0 ;
9429 (char *) "self",(char *) "x",(char *) "y", NULL
9432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetGreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9433 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9435 arg2
= (int)SWIG_As_int(obj1
);
9436 if (PyErr_Occurred()) SWIG_fail
;
9437 arg3
= (int)SWIG_As_int(obj2
);
9438 if (PyErr_Occurred()) SWIG_fail
;
9440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9441 result
= (unsigned char)(arg1
)->GetGreen(arg2
,arg3
);
9443 wxPyEndAllowThreads(__tstate
);
9444 if (PyErr_Occurred()) SWIG_fail
;
9446 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)result
);
9453 static PyObject
*_wrap_Image_GetBlue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9454 PyObject
*resultobj
;
9455 wxImage
*arg1
= (wxImage
*) 0 ;
9458 unsigned char result
;
9459 PyObject
* obj0
= 0 ;
9460 PyObject
* obj1
= 0 ;
9461 PyObject
* obj2
= 0 ;
9463 (char *) "self",(char *) "x",(char *) "y", NULL
9466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetBlue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9469 arg2
= (int)SWIG_As_int(obj1
);
9470 if (PyErr_Occurred()) SWIG_fail
;
9471 arg3
= (int)SWIG_As_int(obj2
);
9472 if (PyErr_Occurred()) SWIG_fail
;
9474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9475 result
= (unsigned char)(arg1
)->GetBlue(arg2
,arg3
);
9477 wxPyEndAllowThreads(__tstate
);
9478 if (PyErr_Occurred()) SWIG_fail
;
9480 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)result
);
9487 static PyObject
*_wrap_Image_SetAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9488 PyObject
*resultobj
;
9489 wxImage
*arg1
= (wxImage
*) 0 ;
9492 unsigned char arg4
;
9493 PyObject
* obj0
= 0 ;
9494 PyObject
* obj1
= 0 ;
9495 PyObject
* obj2
= 0 ;
9496 PyObject
* obj3
= 0 ;
9498 (char *) "self",(char *) "x",(char *) "y",(char *) "alpha", NULL
9501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9502 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9503 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9504 arg2
= (int)SWIG_As_int(obj1
);
9505 if (PyErr_Occurred()) SWIG_fail
;
9506 arg3
= (int)SWIG_As_int(obj2
);
9507 if (PyErr_Occurred()) SWIG_fail
;
9508 arg4
= (unsigned char)SWIG_As_unsigned_SS_char(obj3
);
9509 if (PyErr_Occurred()) SWIG_fail
;
9511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9512 (arg1
)->SetAlpha(arg2
,arg3
,arg4
);
9514 wxPyEndAllowThreads(__tstate
);
9515 if (PyErr_Occurred()) SWIG_fail
;
9517 Py_INCREF(Py_None
); resultobj
= Py_None
;
9524 static PyObject
*_wrap_Image_GetAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9525 PyObject
*resultobj
;
9526 wxImage
*arg1
= (wxImage
*) 0 ;
9529 unsigned char result
;
9530 PyObject
* obj0
= 0 ;
9531 PyObject
* obj1
= 0 ;
9532 PyObject
* obj2
= 0 ;
9534 (char *) "self",(char *) "x",(char *) "y", NULL
9537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetAlpha",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9538 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9539 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9540 arg2
= (int)SWIG_As_int(obj1
);
9541 if (PyErr_Occurred()) SWIG_fail
;
9542 arg3
= (int)SWIG_As_int(obj2
);
9543 if (PyErr_Occurred()) SWIG_fail
;
9545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9546 result
= (unsigned char)(arg1
)->GetAlpha(arg2
,arg3
);
9548 wxPyEndAllowThreads(__tstate
);
9549 if (PyErr_Occurred()) SWIG_fail
;
9551 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)result
);
9558 static PyObject
*_wrap_Image_HasAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9559 PyObject
*resultobj
;
9560 wxImage
*arg1
= (wxImage
*) 0 ;
9562 PyObject
* obj0
= 0 ;
9564 (char *) "self", NULL
9567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HasAlpha",kwnames
,&obj0
)) goto fail
;
9568 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9572 result
= (bool)(arg1
)->HasAlpha();
9574 wxPyEndAllowThreads(__tstate
);
9575 if (PyErr_Occurred()) SWIG_fail
;
9578 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9586 static PyObject
*_wrap_Image_FindFirstUnusedColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9587 PyObject
*resultobj
;
9588 wxImage
*arg1
= (wxImage
*) 0 ;
9589 byte
*arg2
= (byte
*) 0 ;
9590 byte
*arg3
= (byte
*) 0 ;
9591 byte
*arg4
= (byte
*) 0 ;
9592 byte arg5
= (byte
) 0 ;
9593 byte arg6
= (byte
) 0 ;
9594 byte arg7
= (byte
) 0 ;
9602 PyObject
* obj0
= 0 ;
9603 PyObject
* obj1
= 0 ;
9604 PyObject
* obj2
= 0 ;
9605 PyObject
* obj3
= 0 ;
9607 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
9610 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
9611 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
9612 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
9613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Image_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9617 arg5
= (byte
)SWIG_As_unsigned_SS_char(obj1
);
9618 if (PyErr_Occurred()) SWIG_fail
;
9621 arg6
= (byte
)SWIG_As_unsigned_SS_char(obj2
);
9622 if (PyErr_Occurred()) SWIG_fail
;
9625 arg7
= (byte
)SWIG_As_unsigned_SS_char(obj3
);
9626 if (PyErr_Occurred()) SWIG_fail
;
9629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9630 result
= (bool)((wxImage
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
9632 wxPyEndAllowThreads(__tstate
);
9633 if (PyErr_Occurred()) SWIG_fail
;
9636 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9638 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
9639 SWIG_From_unsigned_SS_char((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_byte
, 0)));
9640 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
9641 SWIG_From_unsigned_SS_char((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_byte
, 0)));
9642 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
9643 SWIG_From_unsigned_SS_char((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_byte
, 0)));
9650 static PyObject
*_wrap_Image_ConvertAlphaToMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9651 PyObject
*resultobj
;
9652 wxImage
*arg1
= (wxImage
*) 0 ;
9653 byte arg2
= (byte
) 128 ;
9655 PyObject
* obj0
= 0 ;
9656 PyObject
* obj1
= 0 ;
9658 (char *) "self",(char *) "threshold", NULL
9661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_ConvertAlphaToMask",kwnames
,&obj0
,&obj1
)) goto fail
;
9662 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9663 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9665 arg2
= (byte
)SWIG_As_unsigned_SS_char(obj1
);
9666 if (PyErr_Occurred()) SWIG_fail
;
9669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9670 result
= (bool)(arg1
)->ConvertAlphaToMask(arg2
);
9672 wxPyEndAllowThreads(__tstate
);
9673 if (PyErr_Occurred()) SWIG_fail
;
9676 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9684 static PyObject
*_wrap_Image_SetMaskFromImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9685 PyObject
*resultobj
;
9686 wxImage
*arg1
= (wxImage
*) 0 ;
9692 PyObject
* obj0
= 0 ;
9693 PyObject
* obj1
= 0 ;
9694 PyObject
* obj2
= 0 ;
9695 PyObject
* obj3
= 0 ;
9696 PyObject
* obj4
= 0 ;
9698 (char *) "self",(char *) "mask",(char *) "mr",(char *) "mg",(char *) "mb", NULL
9701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Image_SetMaskFromImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
9702 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9703 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9704 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImage
,
9705 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9708 PyErr_SetString(PyExc_TypeError
,"null reference");
9711 arg3
= (byte
)SWIG_As_unsigned_SS_char(obj2
);
9712 if (PyErr_Occurred()) SWIG_fail
;
9713 arg4
= (byte
)SWIG_As_unsigned_SS_char(obj3
);
9714 if (PyErr_Occurred()) SWIG_fail
;
9715 arg5
= (byte
)SWIG_As_unsigned_SS_char(obj4
);
9716 if (PyErr_Occurred()) SWIG_fail
;
9718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9719 result
= (bool)(arg1
)->SetMaskFromImage((wxImage
const &)*arg2
,arg3
,arg4
,arg5
);
9721 wxPyEndAllowThreads(__tstate
);
9722 if (PyErr_Occurred()) SWIG_fail
;
9725 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9733 static PyObject
*_wrap_Image_CanRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9734 PyObject
*resultobj
;
9735 wxString
*arg1
= 0 ;
9737 bool temp1
= False
;
9738 PyObject
* obj0
= 0 ;
9740 (char *) "name", NULL
9743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanRead",kwnames
,&obj0
)) goto fail
;
9745 arg1
= wxString_in_helper(obj0
);
9746 if (arg1
== NULL
) SWIG_fail
;
9750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9751 result
= (bool)wxImage::CanRead((wxString
const &)*arg1
);
9753 wxPyEndAllowThreads(__tstate
);
9754 if (PyErr_Occurred()) SWIG_fail
;
9757 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9773 static PyObject
*_wrap_Image_GetImageCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9774 PyObject
*resultobj
;
9775 wxString
*arg1
= 0 ;
9776 long arg2
= (long) wxBITMAP_TYPE_ANY
;
9778 bool temp1
= False
;
9779 PyObject
* obj0
= 0 ;
9780 PyObject
* obj1
= 0 ;
9782 (char *) "name",(char *) "type", NULL
9785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_GetImageCount",kwnames
,&obj0
,&obj1
)) goto fail
;
9787 arg1
= wxString_in_helper(obj0
);
9788 if (arg1
== NULL
) SWIG_fail
;
9792 arg2
= (long)SWIG_As_long(obj1
);
9793 if (PyErr_Occurred()) SWIG_fail
;
9796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9797 result
= (int)wxImage::GetImageCount((wxString
const &)*arg1
,arg2
);
9799 wxPyEndAllowThreads(__tstate
);
9800 if (PyErr_Occurred()) SWIG_fail
;
9802 resultobj
= SWIG_From_int((int)result
);
9817 static PyObject
*_wrap_Image_LoadFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9818 PyObject
*resultobj
;
9819 wxImage
*arg1
= (wxImage
*) 0 ;
9820 wxString
*arg2
= 0 ;
9821 long arg3
= (long) wxBITMAP_TYPE_ANY
;
9822 int arg4
= (int) -1 ;
9824 bool temp2
= False
;
9825 PyObject
* obj0
= 0 ;
9826 PyObject
* obj1
= 0 ;
9827 PyObject
* obj2
= 0 ;
9828 PyObject
* obj3
= 0 ;
9830 (char *) "self",(char *) "name",(char *) "type",(char *) "index", NULL
9833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9834 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9835 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9837 arg2
= wxString_in_helper(obj1
);
9838 if (arg2
== NULL
) SWIG_fail
;
9842 arg3
= (long)SWIG_As_long(obj2
);
9843 if (PyErr_Occurred()) SWIG_fail
;
9846 arg4
= (int)SWIG_As_int(obj3
);
9847 if (PyErr_Occurred()) SWIG_fail
;
9850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9851 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
,arg4
);
9853 wxPyEndAllowThreads(__tstate
);
9854 if (PyErr_Occurred()) SWIG_fail
;
9857 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9873 static PyObject
*_wrap_Image_LoadMimeFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9874 PyObject
*resultobj
;
9875 wxImage
*arg1
= (wxImage
*) 0 ;
9876 wxString
*arg2
= 0 ;
9877 wxString
*arg3
= 0 ;
9878 int arg4
= (int) -1 ;
9880 bool temp2
= False
;
9881 bool temp3
= False
;
9882 PyObject
* obj0
= 0 ;
9883 PyObject
* obj1
= 0 ;
9884 PyObject
* obj2
= 0 ;
9885 PyObject
* obj3
= 0 ;
9887 (char *) "self",(char *) "name",(char *) "mimetype",(char *) "index", NULL
9890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9891 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9892 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9894 arg2
= wxString_in_helper(obj1
);
9895 if (arg2
== NULL
) SWIG_fail
;
9899 arg3
= wxString_in_helper(obj2
);
9900 if (arg3
== NULL
) SWIG_fail
;
9904 arg4
= (int)SWIG_As_int(obj3
);
9905 if (PyErr_Occurred()) SWIG_fail
;
9908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9909 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
9911 wxPyEndAllowThreads(__tstate
);
9912 if (PyErr_Occurred()) SWIG_fail
;
9915 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9939 static PyObject
*_wrap_Image_SaveFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9940 PyObject
*resultobj
;
9941 wxImage
*arg1
= (wxImage
*) 0 ;
9942 wxString
*arg2
= 0 ;
9945 bool temp2
= False
;
9946 PyObject
* obj0
= 0 ;
9947 PyObject
* obj1
= 0 ;
9948 PyObject
* obj2
= 0 ;
9950 (char *) "self",(char *) "name",(char *) "type", NULL
9953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9954 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9955 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9957 arg2
= wxString_in_helper(obj1
);
9958 if (arg2
== NULL
) SWIG_fail
;
9961 arg3
= (int)SWIG_As_int(obj2
);
9962 if (PyErr_Occurred()) SWIG_fail
;
9964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9965 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
);
9967 wxPyEndAllowThreads(__tstate
);
9968 if (PyErr_Occurred()) SWIG_fail
;
9971 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9987 static PyObject
*_wrap_Image_SaveMimeFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9988 PyObject
*resultobj
;
9989 wxImage
*arg1
= (wxImage
*) 0 ;
9990 wxString
*arg2
= 0 ;
9991 wxString
*arg3
= 0 ;
9993 bool temp2
= False
;
9994 bool temp3
= False
;
9995 PyObject
* obj0
= 0 ;
9996 PyObject
* obj1
= 0 ;
9997 PyObject
* obj2
= 0 ;
9999 (char *) "self",(char *) "name",(char *) "mimetype", NULL
10002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveMimeFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10003 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10004 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10006 arg2
= wxString_in_helper(obj1
);
10007 if (arg2
== NULL
) SWIG_fail
;
10011 arg3
= wxString_in_helper(obj2
);
10012 if (arg3
== NULL
) SWIG_fail
;
10016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10017 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,(wxString
const &)*arg3
);
10019 wxPyEndAllowThreads(__tstate
);
10020 if (PyErr_Occurred()) SWIG_fail
;
10023 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10047 static PyObject
*_wrap_Image_CanReadStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10048 PyObject
*resultobj
;
10049 wxInputStream
*arg1
= 0 ;
10051 wxPyInputStream
*temp1
;
10053 PyObject
* obj0
= 0 ;
10054 char *kwnames
[] = {
10055 (char *) "stream", NULL
10058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanReadStream",kwnames
,&obj0
)) goto fail
;
10060 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
10061 arg1
= temp1
->m_wxis
;
10064 PyErr_Clear(); // clear the failure of the wxPyConvert above
10065 arg1
= wxPyCBInputStream_create(obj0
, False
);
10066 if (arg1
== NULL
) {
10067 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
10074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10075 result
= (bool)wxImage::CanRead(*arg1
);
10077 wxPyEndAllowThreads(__tstate
);
10078 if (PyErr_Occurred()) SWIG_fail
;
10081 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10097 static PyObject
*_wrap_Image_LoadStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10098 PyObject
*resultobj
;
10099 wxImage
*arg1
= (wxImage
*) 0 ;
10100 wxInputStream
*arg2
= 0 ;
10101 long arg3
= (long) wxBITMAP_TYPE_ANY
;
10102 int arg4
= (int) -1 ;
10104 wxPyInputStream
*temp2
;
10106 PyObject
* obj0
= 0 ;
10107 PyObject
* obj1
= 0 ;
10108 PyObject
* obj2
= 0 ;
10109 PyObject
* obj3
= 0 ;
10110 char *kwnames
[] = {
10111 (char *) "self",(char *) "stream",(char *) "type",(char *) "index", NULL
10114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10115 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10118 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
10119 arg2
= temp2
->m_wxis
;
10122 PyErr_Clear(); // clear the failure of the wxPyConvert above
10123 arg2
= wxPyCBInputStream_create(obj1
, False
);
10124 if (arg2
== NULL
) {
10125 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
10132 arg3
= (long)SWIG_As_long(obj2
);
10133 if (PyErr_Occurred()) SWIG_fail
;
10136 arg4
= (int)SWIG_As_int(obj3
);
10137 if (PyErr_Occurred()) SWIG_fail
;
10140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10141 result
= (bool)(arg1
)->LoadFile(*arg2
,arg3
,arg4
);
10143 wxPyEndAllowThreads(__tstate
);
10144 if (PyErr_Occurred()) SWIG_fail
;
10147 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10163 static PyObject
*_wrap_Image_LoadMimeStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10164 PyObject
*resultobj
;
10165 wxImage
*arg1
= (wxImage
*) 0 ;
10166 wxInputStream
*arg2
= 0 ;
10167 wxString
*arg3
= 0 ;
10168 int arg4
= (int) -1 ;
10170 wxPyInputStream
*temp2
;
10172 bool temp3
= False
;
10173 PyObject
* obj0
= 0 ;
10174 PyObject
* obj1
= 0 ;
10175 PyObject
* obj2
= 0 ;
10176 PyObject
* obj3
= 0 ;
10177 char *kwnames
[] = {
10178 (char *) "self",(char *) "stream",(char *) "mimetype",(char *) "index", NULL
10181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10182 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10185 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
10186 arg2
= temp2
->m_wxis
;
10189 PyErr_Clear(); // clear the failure of the wxPyConvert above
10190 arg2
= wxPyCBInputStream_create(obj1
, False
);
10191 if (arg2
== NULL
) {
10192 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
10199 arg3
= wxString_in_helper(obj2
);
10200 if (arg3
== NULL
) SWIG_fail
;
10204 arg4
= (int)SWIG_As_int(obj3
);
10205 if (PyErr_Occurred()) SWIG_fail
;
10208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10209 result
= (bool)(arg1
)->LoadFile(*arg2
,(wxString
const &)*arg3
,arg4
);
10211 wxPyEndAllowThreads(__tstate
);
10212 if (PyErr_Occurred()) SWIG_fail
;
10215 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10239 static PyObject
*_wrap_Image_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10240 PyObject
*resultobj
;
10241 wxImage
*arg1
= (wxImage
*) 0 ;
10243 PyObject
* obj0
= 0 ;
10244 char *kwnames
[] = {
10245 (char *) "self", NULL
10248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Ok",kwnames
,&obj0
)) goto fail
;
10249 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10253 result
= (bool)(arg1
)->Ok();
10255 wxPyEndAllowThreads(__tstate
);
10256 if (PyErr_Occurred()) SWIG_fail
;
10259 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10267 static PyObject
*_wrap_Image_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10268 PyObject
*resultobj
;
10269 wxImage
*arg1
= (wxImage
*) 0 ;
10271 PyObject
* obj0
= 0 ;
10272 char *kwnames
[] = {
10273 (char *) "self", NULL
10276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetWidth",kwnames
,&obj0
)) goto fail
;
10277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10281 result
= (int)(arg1
)->GetWidth();
10283 wxPyEndAllowThreads(__tstate
);
10284 if (PyErr_Occurred()) SWIG_fail
;
10286 resultobj
= SWIG_From_int((int)result
);
10293 static PyObject
*_wrap_Image_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10294 PyObject
*resultobj
;
10295 wxImage
*arg1
= (wxImage
*) 0 ;
10297 PyObject
* obj0
= 0 ;
10298 char *kwnames
[] = {
10299 (char *) "self", NULL
10302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetHeight",kwnames
,&obj0
)) goto fail
;
10303 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10304 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10307 result
= (int)(arg1
)->GetHeight();
10309 wxPyEndAllowThreads(__tstate
);
10310 if (PyErr_Occurred()) SWIG_fail
;
10312 resultobj
= SWIG_From_int((int)result
);
10319 static PyObject
*_wrap_Image_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10320 PyObject
*resultobj
;
10321 wxImage
*arg1
= (wxImage
*) 0 ;
10323 PyObject
* obj0
= 0 ;
10324 char *kwnames
[] = {
10325 (char *) "self", NULL
10328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetSize",kwnames
,&obj0
)) goto fail
;
10329 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10330 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10333 result
= wxImage_GetSize(arg1
);
10335 wxPyEndAllowThreads(__tstate
);
10336 if (PyErr_Occurred()) SWIG_fail
;
10339 wxSize
* resultptr
;
10340 resultptr
= new wxSize((wxSize
&) result
);
10341 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
10349 static PyObject
*_wrap_Image_GetSubImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10350 PyObject
*resultobj
;
10351 wxImage
*arg1
= (wxImage
*) 0 ;
10353 SwigValueWrapper
< wxImage
> result
;
10355 PyObject
* obj0
= 0 ;
10356 PyObject
* obj1
= 0 ;
10357 char *kwnames
[] = {
10358 (char *) "self",(char *) "rect", NULL
10361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetSubImage",kwnames
,&obj0
,&obj1
)) goto fail
;
10362 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10366 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10370 result
= (arg1
)->GetSubImage((wxRect
const &)*arg2
);
10372 wxPyEndAllowThreads(__tstate
);
10373 if (PyErr_Occurred()) SWIG_fail
;
10376 wxImage
* resultptr
;
10377 resultptr
= new wxImage((wxImage
&) result
);
10378 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10386 static PyObject
*_wrap_Image_Copy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10387 PyObject
*resultobj
;
10388 wxImage
*arg1
= (wxImage
*) 0 ;
10389 SwigValueWrapper
< wxImage
> result
;
10390 PyObject
* obj0
= 0 ;
10391 char *kwnames
[] = {
10392 (char *) "self", NULL
10395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Copy",kwnames
,&obj0
)) goto fail
;
10396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10400 result
= (arg1
)->Copy();
10402 wxPyEndAllowThreads(__tstate
);
10403 if (PyErr_Occurred()) SWIG_fail
;
10406 wxImage
* resultptr
;
10407 resultptr
= new wxImage((wxImage
&) result
);
10408 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10416 static PyObject
*_wrap_Image_Paste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10417 PyObject
*resultobj
;
10418 wxImage
*arg1
= (wxImage
*) 0 ;
10419 wxImage
*arg2
= 0 ;
10422 PyObject
* obj0
= 0 ;
10423 PyObject
* obj1
= 0 ;
10424 PyObject
* obj2
= 0 ;
10425 PyObject
* obj3
= 0 ;
10426 char *kwnames
[] = {
10427 (char *) "self",(char *) "image",(char *) "x",(char *) "y", NULL
10430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_Paste",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10431 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10432 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10433 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImage
,
10434 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10436 if (arg2
== NULL
) {
10437 PyErr_SetString(PyExc_TypeError
,"null reference");
10440 arg3
= (int)SWIG_As_int(obj2
);
10441 if (PyErr_Occurred()) SWIG_fail
;
10442 arg4
= (int)SWIG_As_int(obj3
);
10443 if (PyErr_Occurred()) SWIG_fail
;
10445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10446 (arg1
)->Paste((wxImage
const &)*arg2
,arg3
,arg4
);
10448 wxPyEndAllowThreads(__tstate
);
10449 if (PyErr_Occurred()) SWIG_fail
;
10451 Py_INCREF(Py_None
); resultobj
= Py_None
;
10458 static PyObject
*_wrap_Image_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10459 PyObject
*resultobj
;
10460 wxImage
*arg1
= (wxImage
*) 0 ;
10462 PyObject
* obj0
= 0 ;
10463 char *kwnames
[] = {
10464 (char *) "self", NULL
10467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetData",kwnames
,&obj0
)) goto fail
;
10468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10472 result
= (PyObject
*)wxImage_GetData(arg1
);
10474 wxPyEndAllowThreads(__tstate
);
10475 if (PyErr_Occurred()) SWIG_fail
;
10477 resultobj
= result
;
10484 static PyObject
*_wrap_Image_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10485 PyObject
*resultobj
;
10486 wxImage
*arg1
= (wxImage
*) 0 ;
10487 PyObject
*arg2
= (PyObject
*) 0 ;
10488 PyObject
* obj0
= 0 ;
10489 PyObject
* obj1
= 0 ;
10490 char *kwnames
[] = {
10491 (char *) "self",(char *) "data", NULL
10494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
10495 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10500 wxImage_SetData(arg1
,arg2
);
10502 wxPyEndAllowThreads(__tstate
);
10503 if (PyErr_Occurred()) SWIG_fail
;
10505 Py_INCREF(Py_None
); resultobj
= Py_None
;
10512 static PyObject
*_wrap_Image_GetDataBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10513 PyObject
*resultobj
;
10514 wxImage
*arg1
= (wxImage
*) 0 ;
10516 PyObject
* obj0
= 0 ;
10517 char *kwnames
[] = {
10518 (char *) "self", NULL
10521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetDataBuffer",kwnames
,&obj0
)) goto fail
;
10522 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10523 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10526 result
= (PyObject
*)wxImage_GetDataBuffer(arg1
);
10528 wxPyEndAllowThreads(__tstate
);
10529 if (PyErr_Occurred()) SWIG_fail
;
10531 resultobj
= result
;
10538 static PyObject
*_wrap_Image_SetDataBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10539 PyObject
*resultobj
;
10540 wxImage
*arg1
= (wxImage
*) 0 ;
10541 PyObject
*arg2
= (PyObject
*) 0 ;
10542 PyObject
* obj0
= 0 ;
10543 PyObject
* obj1
= 0 ;
10544 char *kwnames
[] = {
10545 (char *) "self",(char *) "data", NULL
10548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetDataBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
10549 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10554 wxImage_SetDataBuffer(arg1
,arg2
);
10556 wxPyEndAllowThreads(__tstate
);
10557 if (PyErr_Occurred()) SWIG_fail
;
10559 Py_INCREF(Py_None
); resultobj
= Py_None
;
10566 static PyObject
*_wrap_Image_GetAlphaData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10567 PyObject
*resultobj
;
10568 wxImage
*arg1
= (wxImage
*) 0 ;
10570 PyObject
* obj0
= 0 ;
10571 char *kwnames
[] = {
10572 (char *) "self", NULL
10575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaData",kwnames
,&obj0
)) goto fail
;
10576 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10580 result
= (PyObject
*)wxImage_GetAlphaData(arg1
);
10582 wxPyEndAllowThreads(__tstate
);
10583 if (PyErr_Occurred()) SWIG_fail
;
10585 resultobj
= result
;
10592 static PyObject
*_wrap_Image_SetAlphaData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10593 PyObject
*resultobj
;
10594 wxImage
*arg1
= (wxImage
*) 0 ;
10595 PyObject
*arg2
= (PyObject
*) 0 ;
10596 PyObject
* obj0
= 0 ;
10597 PyObject
* obj1
= 0 ;
10598 char *kwnames
[] = {
10599 (char *) "self",(char *) "data", NULL
10602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaData",kwnames
,&obj0
,&obj1
)) goto fail
;
10603 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10608 wxImage_SetAlphaData(arg1
,arg2
);
10610 wxPyEndAllowThreads(__tstate
);
10611 if (PyErr_Occurred()) SWIG_fail
;
10613 Py_INCREF(Py_None
); resultobj
= Py_None
;
10620 static PyObject
*_wrap_Image_GetAlphaBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10621 PyObject
*resultobj
;
10622 wxImage
*arg1
= (wxImage
*) 0 ;
10624 PyObject
* obj0
= 0 ;
10625 char *kwnames
[] = {
10626 (char *) "self", NULL
10629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaBuffer",kwnames
,&obj0
)) goto fail
;
10630 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10631 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10634 result
= (PyObject
*)wxImage_GetAlphaBuffer(arg1
);
10636 wxPyEndAllowThreads(__tstate
);
10637 if (PyErr_Occurred()) SWIG_fail
;
10639 resultobj
= result
;
10646 static PyObject
*_wrap_Image_SetAlphaBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10647 PyObject
*resultobj
;
10648 wxImage
*arg1
= (wxImage
*) 0 ;
10649 PyObject
*arg2
= (PyObject
*) 0 ;
10650 PyObject
* obj0
= 0 ;
10651 PyObject
* obj1
= 0 ;
10652 char *kwnames
[] = {
10653 (char *) "self",(char *) "data", NULL
10656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
10657 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10658 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10662 wxImage_SetAlphaBuffer(arg1
,arg2
);
10664 wxPyEndAllowThreads(__tstate
);
10665 if (PyErr_Occurred()) SWIG_fail
;
10667 Py_INCREF(Py_None
); resultobj
= Py_None
;
10674 static PyObject
*_wrap_Image_SetMaskColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10675 PyObject
*resultobj
;
10676 wxImage
*arg1
= (wxImage
*) 0 ;
10677 unsigned char arg2
;
10678 unsigned char arg3
;
10679 unsigned char arg4
;
10680 PyObject
* obj0
= 0 ;
10681 PyObject
* obj1
= 0 ;
10682 PyObject
* obj2
= 0 ;
10683 PyObject
* obj3
= 0 ;
10684 char *kwnames
[] = {
10685 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
10688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetMaskColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10689 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10690 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10691 arg2
= (unsigned char)SWIG_As_unsigned_SS_char(obj1
);
10692 if (PyErr_Occurred()) SWIG_fail
;
10693 arg3
= (unsigned char)SWIG_As_unsigned_SS_char(obj2
);
10694 if (PyErr_Occurred()) SWIG_fail
;
10695 arg4
= (unsigned char)SWIG_As_unsigned_SS_char(obj3
);
10696 if (PyErr_Occurred()) SWIG_fail
;
10698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10699 (arg1
)->SetMaskColour(arg2
,arg3
,arg4
);
10701 wxPyEndAllowThreads(__tstate
);
10702 if (PyErr_Occurred()) SWIG_fail
;
10704 Py_INCREF(Py_None
); resultobj
= Py_None
;
10711 static PyObject
*_wrap_Image_GetMaskRed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10712 PyObject
*resultobj
;
10713 wxImage
*arg1
= (wxImage
*) 0 ;
10714 unsigned char result
;
10715 PyObject
* obj0
= 0 ;
10716 char *kwnames
[] = {
10717 (char *) "self", NULL
10720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskRed",kwnames
,&obj0
)) goto fail
;
10721 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10722 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10725 result
= (unsigned char)(arg1
)->GetMaskRed();
10727 wxPyEndAllowThreads(__tstate
);
10728 if (PyErr_Occurred()) SWIG_fail
;
10730 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)result
);
10737 static PyObject
*_wrap_Image_GetMaskGreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10738 PyObject
*resultobj
;
10739 wxImage
*arg1
= (wxImage
*) 0 ;
10740 unsigned char result
;
10741 PyObject
* obj0
= 0 ;
10742 char *kwnames
[] = {
10743 (char *) "self", NULL
10746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskGreen",kwnames
,&obj0
)) goto fail
;
10747 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10748 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10751 result
= (unsigned char)(arg1
)->GetMaskGreen();
10753 wxPyEndAllowThreads(__tstate
);
10754 if (PyErr_Occurred()) SWIG_fail
;
10756 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)result
);
10763 static PyObject
*_wrap_Image_GetMaskBlue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10764 PyObject
*resultobj
;
10765 wxImage
*arg1
= (wxImage
*) 0 ;
10766 unsigned char result
;
10767 PyObject
* obj0
= 0 ;
10768 char *kwnames
[] = {
10769 (char *) "self", NULL
10772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskBlue",kwnames
,&obj0
)) goto fail
;
10773 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10774 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10777 result
= (unsigned char)(arg1
)->GetMaskBlue();
10779 wxPyEndAllowThreads(__tstate
);
10780 if (PyErr_Occurred()) SWIG_fail
;
10782 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)result
);
10789 static PyObject
*_wrap_Image_SetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10790 PyObject
*resultobj
;
10791 wxImage
*arg1
= (wxImage
*) 0 ;
10792 bool arg2
= (bool) True
;
10793 PyObject
* obj0
= 0 ;
10794 PyObject
* obj1
= 0 ;
10795 char *kwnames
[] = {
10796 (char *) "self",(char *) "mask", NULL
10799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
10800 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10801 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10803 arg2
= (bool)SWIG_As_bool(obj1
);
10804 if (PyErr_Occurred()) SWIG_fail
;
10807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10808 (arg1
)->SetMask(arg2
);
10810 wxPyEndAllowThreads(__tstate
);
10811 if (PyErr_Occurred()) SWIG_fail
;
10813 Py_INCREF(Py_None
); resultobj
= Py_None
;
10820 static PyObject
*_wrap_Image_HasMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10821 PyObject
*resultobj
;
10822 wxImage
*arg1
= (wxImage
*) 0 ;
10824 PyObject
* obj0
= 0 ;
10825 char *kwnames
[] = {
10826 (char *) "self", NULL
10829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HasMask",kwnames
,&obj0
)) goto fail
;
10830 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10831 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10834 result
= (bool)(arg1
)->HasMask();
10836 wxPyEndAllowThreads(__tstate
);
10837 if (PyErr_Occurred()) SWIG_fail
;
10840 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10848 static PyObject
*_wrap_Image_Rotate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10849 PyObject
*resultobj
;
10850 wxImage
*arg1
= (wxImage
*) 0 ;
10852 wxPoint
*arg3
= 0 ;
10853 bool arg4
= (bool) True
;
10854 wxPoint
*arg5
= (wxPoint
*) NULL
;
10855 SwigValueWrapper
< wxImage
> result
;
10857 PyObject
* obj0
= 0 ;
10858 PyObject
* obj1
= 0 ;
10859 PyObject
* obj2
= 0 ;
10860 PyObject
* obj3
= 0 ;
10861 PyObject
* obj4
= 0 ;
10862 char *kwnames
[] = {
10863 (char *) "self",(char *) "angle",(char *) "centre_of_rotation",(char *) "interpolating",(char *) "offset_after_rotation", NULL
10866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Image_Rotate",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10867 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10868 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10869 arg2
= (double)SWIG_As_double(obj1
);
10870 if (PyErr_Occurred()) SWIG_fail
;
10873 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10876 arg4
= (bool)SWIG_As_bool(obj3
);
10877 if (PyErr_Occurred()) SWIG_fail
;
10880 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxPoint
,
10881 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10885 result
= ((wxImage
const *)arg1
)->Rotate(arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
10887 wxPyEndAllowThreads(__tstate
);
10888 if (PyErr_Occurred()) SWIG_fail
;
10891 wxImage
* resultptr
;
10892 resultptr
= new wxImage((wxImage
&) result
);
10893 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10901 static PyObject
*_wrap_Image_Rotate90(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10902 PyObject
*resultobj
;
10903 wxImage
*arg1
= (wxImage
*) 0 ;
10904 bool arg2
= (bool) True
;
10905 SwigValueWrapper
< wxImage
> result
;
10906 PyObject
* obj0
= 0 ;
10907 PyObject
* obj1
= 0 ;
10908 char *kwnames
[] = {
10909 (char *) "self",(char *) "clockwise", NULL
10912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Rotate90",kwnames
,&obj0
,&obj1
)) goto fail
;
10913 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10914 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10916 arg2
= (bool)SWIG_As_bool(obj1
);
10917 if (PyErr_Occurred()) SWIG_fail
;
10920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10921 result
= (arg1
)->Rotate90(arg2
);
10923 wxPyEndAllowThreads(__tstate
);
10924 if (PyErr_Occurred()) SWIG_fail
;
10927 wxImage
* resultptr
;
10928 resultptr
= new wxImage((wxImage
&) result
);
10929 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10937 static PyObject
*_wrap_Image_Mirror(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10938 PyObject
*resultobj
;
10939 wxImage
*arg1
= (wxImage
*) 0 ;
10940 bool arg2
= (bool) True
;
10941 SwigValueWrapper
< wxImage
> result
;
10942 PyObject
* obj0
= 0 ;
10943 PyObject
* obj1
= 0 ;
10944 char *kwnames
[] = {
10945 (char *) "self",(char *) "horizontally", NULL
10948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Mirror",kwnames
,&obj0
,&obj1
)) goto fail
;
10949 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10952 arg2
= (bool)SWIG_As_bool(obj1
);
10953 if (PyErr_Occurred()) SWIG_fail
;
10956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10957 result
= (arg1
)->Mirror(arg2
);
10959 wxPyEndAllowThreads(__tstate
);
10960 if (PyErr_Occurred()) SWIG_fail
;
10963 wxImage
* resultptr
;
10964 resultptr
= new wxImage((wxImage
&) result
);
10965 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10973 static PyObject
*_wrap_Image_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10974 PyObject
*resultobj
;
10975 wxImage
*arg1
= (wxImage
*) 0 ;
10976 unsigned char arg2
;
10977 unsigned char arg3
;
10978 unsigned char arg4
;
10979 unsigned char arg5
;
10980 unsigned char arg6
;
10981 unsigned char arg7
;
10982 PyObject
* obj0
= 0 ;
10983 PyObject
* obj1
= 0 ;
10984 PyObject
* obj2
= 0 ;
10985 PyObject
* obj3
= 0 ;
10986 PyObject
* obj4
= 0 ;
10987 PyObject
* obj5
= 0 ;
10988 PyObject
* obj6
= 0 ;
10989 char *kwnames
[] = {
10990 (char *) "self",(char *) "r1",(char *) "g1",(char *) "b1",(char *) "r2",(char *) "g2",(char *) "b2", NULL
10993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:Image_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10994 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10995 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10996 arg2
= (unsigned char)SWIG_As_unsigned_SS_char(obj1
);
10997 if (PyErr_Occurred()) SWIG_fail
;
10998 arg3
= (unsigned char)SWIG_As_unsigned_SS_char(obj2
);
10999 if (PyErr_Occurred()) SWIG_fail
;
11000 arg4
= (unsigned char)SWIG_As_unsigned_SS_char(obj3
);
11001 if (PyErr_Occurred()) SWIG_fail
;
11002 arg5
= (unsigned char)SWIG_As_unsigned_SS_char(obj4
);
11003 if (PyErr_Occurred()) SWIG_fail
;
11004 arg6
= (unsigned char)SWIG_As_unsigned_SS_char(obj5
);
11005 if (PyErr_Occurred()) SWIG_fail
;
11006 arg7
= (unsigned char)SWIG_As_unsigned_SS_char(obj6
);
11007 if (PyErr_Occurred()) SWIG_fail
;
11009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11010 (arg1
)->Replace(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
11012 wxPyEndAllowThreads(__tstate
);
11013 if (PyErr_Occurred()) SWIG_fail
;
11015 Py_INCREF(Py_None
); resultobj
= Py_None
;
11022 static PyObject
*_wrap_Image_ConvertToMono(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11023 PyObject
*resultobj
;
11024 wxImage
*arg1
= (wxImage
*) 0 ;
11025 unsigned char arg2
;
11026 unsigned char arg3
;
11027 unsigned char arg4
;
11028 SwigValueWrapper
< wxImage
> result
;
11029 PyObject
* obj0
= 0 ;
11030 PyObject
* obj1
= 0 ;
11031 PyObject
* obj2
= 0 ;
11032 PyObject
* obj3
= 0 ;
11033 char *kwnames
[] = {
11034 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
11037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMono",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11038 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11040 arg2
= (unsigned char)SWIG_As_unsigned_SS_char(obj1
);
11041 if (PyErr_Occurred()) SWIG_fail
;
11042 arg3
= (unsigned char)SWIG_As_unsigned_SS_char(obj2
);
11043 if (PyErr_Occurred()) SWIG_fail
;
11044 arg4
= (unsigned char)SWIG_As_unsigned_SS_char(obj3
);
11045 if (PyErr_Occurred()) SWIG_fail
;
11047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11048 result
= ((wxImage
const *)arg1
)->ConvertToMono(arg2
,arg3
,arg4
);
11050 wxPyEndAllowThreads(__tstate
);
11051 if (PyErr_Occurred()) SWIG_fail
;
11054 wxImage
* resultptr
;
11055 resultptr
= new wxImage((wxImage
&) result
);
11056 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
11064 static PyObject
*_wrap_Image_SetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11065 PyObject
*resultobj
;
11066 wxImage
*arg1
= (wxImage
*) 0 ;
11067 wxString
*arg2
= 0 ;
11068 wxString
*arg3
= 0 ;
11069 bool temp2
= False
;
11070 bool temp3
= False
;
11071 PyObject
* obj0
= 0 ;
11072 PyObject
* obj1
= 0 ;
11073 PyObject
* obj2
= 0 ;
11074 char *kwnames
[] = {
11075 (char *) "self",(char *) "name",(char *) "value", NULL
11078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOption",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11082 arg2
= wxString_in_helper(obj1
);
11083 if (arg2
== NULL
) SWIG_fail
;
11087 arg3
= wxString_in_helper(obj2
);
11088 if (arg3
== NULL
) SWIG_fail
;
11092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11093 (arg1
)->SetOption((wxString
const &)*arg2
,(wxString
const &)*arg3
);
11095 wxPyEndAllowThreads(__tstate
);
11096 if (PyErr_Occurred()) SWIG_fail
;
11098 Py_INCREF(Py_None
); resultobj
= Py_None
;
11121 static PyObject
*_wrap_Image_SetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11122 PyObject
*resultobj
;
11123 wxImage
*arg1
= (wxImage
*) 0 ;
11124 wxString
*arg2
= 0 ;
11126 bool temp2
= False
;
11127 PyObject
* obj0
= 0 ;
11128 PyObject
* obj1
= 0 ;
11129 PyObject
* obj2
= 0 ;
11130 char *kwnames
[] = {
11131 (char *) "self",(char *) "name",(char *) "value", NULL
11134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOptionInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11135 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11136 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11138 arg2
= wxString_in_helper(obj1
);
11139 if (arg2
== NULL
) SWIG_fail
;
11142 arg3
= (int)SWIG_As_int(obj2
);
11143 if (PyErr_Occurred()) SWIG_fail
;
11145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11146 (arg1
)->SetOption((wxString
const &)*arg2
,arg3
);
11148 wxPyEndAllowThreads(__tstate
);
11149 if (PyErr_Occurred()) SWIG_fail
;
11151 Py_INCREF(Py_None
); resultobj
= Py_None
;
11166 static PyObject
*_wrap_Image_GetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11167 PyObject
*resultobj
;
11168 wxImage
*arg1
= (wxImage
*) 0 ;
11169 wxString
*arg2
= 0 ;
11171 bool temp2
= False
;
11172 PyObject
* obj0
= 0 ;
11173 PyObject
* obj1
= 0 ;
11174 char *kwnames
[] = {
11175 (char *) "self",(char *) "name", NULL
11178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOption",kwnames
,&obj0
,&obj1
)) goto fail
;
11179 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11180 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11182 arg2
= wxString_in_helper(obj1
);
11183 if (arg2
== NULL
) SWIG_fail
;
11187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11188 result
= ((wxImage
const *)arg1
)->GetOption((wxString
const &)*arg2
);
11190 wxPyEndAllowThreads(__tstate
);
11191 if (PyErr_Occurred()) SWIG_fail
;
11195 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11197 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11214 static PyObject
*_wrap_Image_GetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11215 PyObject
*resultobj
;
11216 wxImage
*arg1
= (wxImage
*) 0 ;
11217 wxString
*arg2
= 0 ;
11219 bool temp2
= False
;
11220 PyObject
* obj0
= 0 ;
11221 PyObject
* obj1
= 0 ;
11222 char *kwnames
[] = {
11223 (char *) "self",(char *) "name", NULL
11226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOptionInt",kwnames
,&obj0
,&obj1
)) goto fail
;
11227 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11230 arg2
= wxString_in_helper(obj1
);
11231 if (arg2
== NULL
) SWIG_fail
;
11235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11236 result
= (int)((wxImage
const *)arg1
)->GetOptionInt((wxString
const &)*arg2
);
11238 wxPyEndAllowThreads(__tstate
);
11239 if (PyErr_Occurred()) SWIG_fail
;
11241 resultobj
= SWIG_From_int((int)result
);
11256 static PyObject
*_wrap_Image_HasOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11257 PyObject
*resultobj
;
11258 wxImage
*arg1
= (wxImage
*) 0 ;
11259 wxString
*arg2
= 0 ;
11261 bool temp2
= False
;
11262 PyObject
* obj0
= 0 ;
11263 PyObject
* obj1
= 0 ;
11264 char *kwnames
[] = {
11265 (char *) "self",(char *) "name", NULL
11268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_HasOption",kwnames
,&obj0
,&obj1
)) goto fail
;
11269 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11270 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11272 arg2
= wxString_in_helper(obj1
);
11273 if (arg2
== NULL
) SWIG_fail
;
11277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11278 result
= (bool)((wxImage
const *)arg1
)->HasOption((wxString
const &)*arg2
);
11280 wxPyEndAllowThreads(__tstate
);
11281 if (PyErr_Occurred()) SWIG_fail
;
11284 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11300 static PyObject
*_wrap_Image_CountColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11301 PyObject
*resultobj
;
11302 wxImage
*arg1
= (wxImage
*) 0 ;
11303 unsigned long arg2
= (unsigned long) (unsigned long) -1 ;
11304 unsigned long result
;
11305 PyObject
* obj0
= 0 ;
11306 PyObject
* obj1
= 0 ;
11307 char *kwnames
[] = {
11308 (char *) "self",(char *) "stopafter", NULL
11311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_CountColours",kwnames
,&obj0
,&obj1
)) goto fail
;
11312 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11313 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11315 arg2
= (unsigned long)SWIG_As_unsigned_SS_long(obj1
);
11316 if (PyErr_Occurred()) SWIG_fail
;
11319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11320 result
= (unsigned long)(arg1
)->CountColours(arg2
);
11322 wxPyEndAllowThreads(__tstate
);
11323 if (PyErr_Occurred()) SWIG_fail
;
11325 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
11332 static PyObject
*_wrap_Image_ComputeHistogram(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11333 PyObject
*resultobj
;
11334 wxImage
*arg1
= (wxImage
*) 0 ;
11335 wxImageHistogram
*arg2
= 0 ;
11336 unsigned long result
;
11337 PyObject
* obj0
= 0 ;
11338 PyObject
* obj1
= 0 ;
11339 char *kwnames
[] = {
11340 (char *) "self",(char *) "h", NULL
11343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_ComputeHistogram",kwnames
,&obj0
,&obj1
)) goto fail
;
11344 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11346 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageHistogram
,
11347 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11349 if (arg2
== NULL
) {
11350 PyErr_SetString(PyExc_TypeError
,"null reference");
11354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11355 result
= (unsigned long)(arg1
)->ComputeHistogram(*arg2
);
11357 wxPyEndAllowThreads(__tstate
);
11358 if (PyErr_Occurred()) SWIG_fail
;
11360 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
11367 static PyObject
*_wrap_Image_AddHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11368 PyObject
*resultobj
;
11369 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
11370 PyObject
* obj0
= 0 ;
11371 char *kwnames
[] = {
11372 (char *) "handler", NULL
11375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_AddHandler",kwnames
,&obj0
)) goto fail
;
11376 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
11377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11380 wxImage::AddHandler(arg1
);
11382 wxPyEndAllowThreads(__tstate
);
11383 if (PyErr_Occurred()) SWIG_fail
;
11385 Py_INCREF(Py_None
); resultobj
= Py_None
;
11392 static PyObject
*_wrap_Image_InsertHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11393 PyObject
*resultobj
;
11394 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
11395 PyObject
* obj0
= 0 ;
11396 char *kwnames
[] = {
11397 (char *) "handler", NULL
11400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_InsertHandler",kwnames
,&obj0
)) goto fail
;
11401 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
11402 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11405 wxImage::InsertHandler(arg1
);
11407 wxPyEndAllowThreads(__tstate
);
11408 if (PyErr_Occurred()) SWIG_fail
;
11410 Py_INCREF(Py_None
); resultobj
= Py_None
;
11417 static PyObject
*_wrap_Image_RemoveHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11418 PyObject
*resultobj
;
11419 wxString
*arg1
= 0 ;
11421 bool temp1
= False
;
11422 PyObject
* obj0
= 0 ;
11423 char *kwnames
[] = {
11424 (char *) "name", NULL
11427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_RemoveHandler",kwnames
,&obj0
)) goto fail
;
11429 arg1
= wxString_in_helper(obj0
);
11430 if (arg1
== NULL
) SWIG_fail
;
11434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11435 result
= (bool)wxImage::RemoveHandler((wxString
const &)*arg1
);
11437 wxPyEndAllowThreads(__tstate
);
11438 if (PyErr_Occurred()) SWIG_fail
;
11441 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11457 static PyObject
*_wrap_Image_GetImageExtWildcard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11458 PyObject
*resultobj
;
11460 char *kwnames
[] = {
11464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Image_GetImageExtWildcard",kwnames
)) goto fail
;
11466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11467 result
= wxImage::GetImageExtWildcard();
11469 wxPyEndAllowThreads(__tstate
);
11470 if (PyErr_Occurred()) SWIG_fail
;
11474 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11476 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11485 static PyObject
*_wrap_Image_ConvertToBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11486 PyObject
*resultobj
;
11487 wxImage
*arg1
= (wxImage
*) 0 ;
11489 PyObject
* obj0
= 0 ;
11490 char *kwnames
[] = {
11491 (char *) "self", NULL
11494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_ConvertToBitmap",kwnames
,&obj0
)) goto fail
;
11495 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11498 if (!wxPyCheckForApp()) SWIG_fail
;
11499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11500 result
= wxImage_ConvertToBitmap(arg1
);
11502 wxPyEndAllowThreads(__tstate
);
11503 if (PyErr_Occurred()) SWIG_fail
;
11506 wxBitmap
* resultptr
;
11507 resultptr
= new wxBitmap((wxBitmap
&) result
);
11508 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
11516 static PyObject
*_wrap_Image_ConvertToMonoBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11517 PyObject
*resultobj
;
11518 wxImage
*arg1
= (wxImage
*) 0 ;
11519 unsigned char arg2
;
11520 unsigned char arg3
;
11521 unsigned char arg4
;
11523 PyObject
* obj0
= 0 ;
11524 PyObject
* obj1
= 0 ;
11525 PyObject
* obj2
= 0 ;
11526 PyObject
* obj3
= 0 ;
11527 char *kwnames
[] = {
11528 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
11531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMonoBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11532 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11534 arg2
= (unsigned char)SWIG_As_unsigned_SS_char(obj1
);
11535 if (PyErr_Occurred()) SWIG_fail
;
11536 arg3
= (unsigned char)SWIG_As_unsigned_SS_char(obj2
);
11537 if (PyErr_Occurred()) SWIG_fail
;
11538 arg4
= (unsigned char)SWIG_As_unsigned_SS_char(obj3
);
11539 if (PyErr_Occurred()) SWIG_fail
;
11541 if (!wxPyCheckForApp()) SWIG_fail
;
11542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11543 result
= wxImage_ConvertToMonoBitmap(arg1
,arg2
,arg3
,arg4
);
11545 wxPyEndAllowThreads(__tstate
);
11546 if (PyErr_Occurred()) SWIG_fail
;
11549 wxBitmap
* resultptr
;
11550 resultptr
= new wxBitmap((wxBitmap
&) result
);
11551 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
11559 static PyObject
* Image_swigregister(PyObject
*, PyObject
*args
) {
11561 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11562 SWIG_TypeClientData(SWIGTYPE_p_wxImage
, obj
);
11564 return Py_BuildValue((char *)"");
11566 static int _wrap_NullImage_set(PyObject
*) {
11567 PyErr_SetString(PyExc_TypeError
,"Variable NullImage is read-only.");
11572 static PyObject
*_wrap_NullImage_get() {
11575 pyobj
= SWIG_NewPointerObj((void *)(&wxNullImage
), SWIGTYPE_p_wxImage
, 0);
11580 static int _wrap_IMAGE_OPTION_BMP_FORMAT_set(PyObject
*) {
11581 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_BMP_FORMAT is read-only.");
11586 static PyObject
*_wrap_IMAGE_OPTION_BMP_FORMAT_get() {
11591 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
11593 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
11600 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set(PyObject
*) {
11601 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_X is read-only.");
11606 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get() {
11611 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
11613 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
11620 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set(PyObject
*) {
11621 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_Y is read-only.");
11626 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get() {
11631 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
11633 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
11640 static int _wrap_IMAGE_OPTION_RESOLUTION_set(PyObject
*) {
11641 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTION is read-only.");
11646 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTION_get() {
11651 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
11653 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
11660 static int _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set(PyObject
*) {
11661 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTIONUNIT is read-only.");
11666 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get() {
11671 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
11673 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
11680 static PyObject
*_wrap_new_BMPHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11681 PyObject
*resultobj
;
11682 wxBMPHandler
*result
;
11683 char *kwnames
[] = {
11687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_BMPHandler",kwnames
)) goto fail
;
11689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11690 result
= (wxBMPHandler
*)new wxBMPHandler();
11692 wxPyEndAllowThreads(__tstate
);
11693 if (PyErr_Occurred()) SWIG_fail
;
11695 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBMPHandler
, 1);
11702 static PyObject
* BMPHandler_swigregister(PyObject
*, PyObject
*args
) {
11704 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11705 SWIG_TypeClientData(SWIGTYPE_p_wxBMPHandler
, obj
);
11707 return Py_BuildValue((char *)"");
11709 static PyObject
*_wrap_new_ICOHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11710 PyObject
*resultobj
;
11711 wxICOHandler
*result
;
11712 char *kwnames
[] = {
11716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ICOHandler",kwnames
)) goto fail
;
11718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11719 result
= (wxICOHandler
*)new wxICOHandler();
11721 wxPyEndAllowThreads(__tstate
);
11722 if (PyErr_Occurred()) SWIG_fail
;
11724 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxICOHandler
, 1);
11731 static PyObject
* ICOHandler_swigregister(PyObject
*, PyObject
*args
) {
11733 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11734 SWIG_TypeClientData(SWIGTYPE_p_wxICOHandler
, obj
);
11736 return Py_BuildValue((char *)"");
11738 static PyObject
*_wrap_new_CURHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11739 PyObject
*resultobj
;
11740 wxCURHandler
*result
;
11741 char *kwnames
[] = {
11745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_CURHandler",kwnames
)) goto fail
;
11747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11748 result
= (wxCURHandler
*)new wxCURHandler();
11750 wxPyEndAllowThreads(__tstate
);
11751 if (PyErr_Occurred()) SWIG_fail
;
11753 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCURHandler
, 1);
11760 static PyObject
* CURHandler_swigregister(PyObject
*, PyObject
*args
) {
11762 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11763 SWIG_TypeClientData(SWIGTYPE_p_wxCURHandler
, obj
);
11765 return Py_BuildValue((char *)"");
11767 static PyObject
*_wrap_new_ANIHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11768 PyObject
*resultobj
;
11769 wxANIHandler
*result
;
11770 char *kwnames
[] = {
11774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ANIHandler",kwnames
)) goto fail
;
11776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11777 result
= (wxANIHandler
*)new wxANIHandler();
11779 wxPyEndAllowThreads(__tstate
);
11780 if (PyErr_Occurred()) SWIG_fail
;
11782 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxANIHandler
, 1);
11789 static PyObject
* ANIHandler_swigregister(PyObject
*, PyObject
*args
) {
11791 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11792 SWIG_TypeClientData(SWIGTYPE_p_wxANIHandler
, obj
);
11794 return Py_BuildValue((char *)"");
11796 static PyObject
*_wrap_new_PNGHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11797 PyObject
*resultobj
;
11798 wxPNGHandler
*result
;
11799 char *kwnames
[] = {
11803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNGHandler",kwnames
)) goto fail
;
11805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11806 result
= (wxPNGHandler
*)new wxPNGHandler();
11808 wxPyEndAllowThreads(__tstate
);
11809 if (PyErr_Occurred()) SWIG_fail
;
11811 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPNGHandler
, 1);
11818 static PyObject
* PNGHandler_swigregister(PyObject
*, PyObject
*args
) {
11820 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11821 SWIG_TypeClientData(SWIGTYPE_p_wxPNGHandler
, obj
);
11823 return Py_BuildValue((char *)"");
11825 static PyObject
*_wrap_new_GIFHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11826 PyObject
*resultobj
;
11827 wxGIFHandler
*result
;
11828 char *kwnames
[] = {
11832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GIFHandler",kwnames
)) goto fail
;
11834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11835 result
= (wxGIFHandler
*)new wxGIFHandler();
11837 wxPyEndAllowThreads(__tstate
);
11838 if (PyErr_Occurred()) SWIG_fail
;
11840 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGIFHandler
, 1);
11847 static PyObject
* GIFHandler_swigregister(PyObject
*, PyObject
*args
) {
11849 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11850 SWIG_TypeClientData(SWIGTYPE_p_wxGIFHandler
, obj
);
11852 return Py_BuildValue((char *)"");
11854 static PyObject
*_wrap_new_PCXHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11855 PyObject
*resultobj
;
11856 wxPCXHandler
*result
;
11857 char *kwnames
[] = {
11861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PCXHandler",kwnames
)) goto fail
;
11863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11864 result
= (wxPCXHandler
*)new wxPCXHandler();
11866 wxPyEndAllowThreads(__tstate
);
11867 if (PyErr_Occurred()) SWIG_fail
;
11869 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPCXHandler
, 1);
11876 static PyObject
* PCXHandler_swigregister(PyObject
*, PyObject
*args
) {
11878 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11879 SWIG_TypeClientData(SWIGTYPE_p_wxPCXHandler
, obj
);
11881 return Py_BuildValue((char *)"");
11883 static PyObject
*_wrap_new_JPEGHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11884 PyObject
*resultobj
;
11885 wxJPEGHandler
*result
;
11886 char *kwnames
[] = {
11890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_JPEGHandler",kwnames
)) goto fail
;
11892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11893 result
= (wxJPEGHandler
*)new wxJPEGHandler();
11895 wxPyEndAllowThreads(__tstate
);
11896 if (PyErr_Occurred()) SWIG_fail
;
11898 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJPEGHandler
, 1);
11905 static PyObject
* JPEGHandler_swigregister(PyObject
*, PyObject
*args
) {
11907 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11908 SWIG_TypeClientData(SWIGTYPE_p_wxJPEGHandler
, obj
);
11910 return Py_BuildValue((char *)"");
11912 static PyObject
*_wrap_new_PNMHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11913 PyObject
*resultobj
;
11914 wxPNMHandler
*result
;
11915 char *kwnames
[] = {
11919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNMHandler",kwnames
)) goto fail
;
11921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11922 result
= (wxPNMHandler
*)new wxPNMHandler();
11924 wxPyEndAllowThreads(__tstate
);
11925 if (PyErr_Occurred()) SWIG_fail
;
11927 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPNMHandler
, 1);
11934 static PyObject
* PNMHandler_swigregister(PyObject
*, PyObject
*args
) {
11936 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11937 SWIG_TypeClientData(SWIGTYPE_p_wxPNMHandler
, obj
);
11939 return Py_BuildValue((char *)"");
11941 static PyObject
*_wrap_new_XPMHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11942 PyObject
*resultobj
;
11943 wxXPMHandler
*result
;
11944 char *kwnames
[] = {
11948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_XPMHandler",kwnames
)) goto fail
;
11950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11951 result
= (wxXPMHandler
*)new wxXPMHandler();
11953 wxPyEndAllowThreads(__tstate
);
11954 if (PyErr_Occurred()) SWIG_fail
;
11956 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxXPMHandler
, 1);
11963 static PyObject
* XPMHandler_swigregister(PyObject
*, PyObject
*args
) {
11965 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11966 SWIG_TypeClientData(SWIGTYPE_p_wxXPMHandler
, obj
);
11968 return Py_BuildValue((char *)"");
11970 static PyObject
*_wrap_new_TIFFHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11971 PyObject
*resultobj
;
11972 wxTIFFHandler
*result
;
11973 char *kwnames
[] = {
11977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TIFFHandler",kwnames
)) goto fail
;
11979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11980 result
= (wxTIFFHandler
*)new wxTIFFHandler();
11982 wxPyEndAllowThreads(__tstate
);
11983 if (PyErr_Occurred()) SWIG_fail
;
11985 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTIFFHandler
, 1);
11992 static PyObject
* TIFFHandler_swigregister(PyObject
*, PyObject
*args
) {
11994 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11995 SWIG_TypeClientData(SWIGTYPE_p_wxTIFFHandler
, obj
);
11997 return Py_BuildValue((char *)"");
11999 static PyObject
*_wrap_Quantize_Quantize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12000 PyObject
*resultobj
;
12001 wxImage
*arg1
= 0 ;
12002 wxImage
*arg2
= 0 ;
12003 int arg3
= (int) 236 ;
12004 int arg4
= (int) wxQUANTIZE_INCLUDE_WINDOWS_COLOURS
|wxQUANTIZE_FILL_DESTINATION_IMAGE
;
12006 PyObject
* obj0
= 0 ;
12007 PyObject
* obj1
= 0 ;
12008 PyObject
* obj2
= 0 ;
12009 PyObject
* obj3
= 0 ;
12010 char *kwnames
[] = {
12011 (char *) "src",(char *) "dest",(char *) "desiredNoColours",(char *) "flags", NULL
12014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Quantize_Quantize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12015 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
12016 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12018 if (arg1
== NULL
) {
12019 PyErr_SetString(PyExc_TypeError
,"null reference");
12022 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImage
,
12023 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12025 if (arg2
== NULL
) {
12026 PyErr_SetString(PyExc_TypeError
,"null reference");
12030 arg3
= (int)SWIG_As_int(obj2
);
12031 if (PyErr_Occurred()) SWIG_fail
;
12034 arg4
= (int)SWIG_As_int(obj3
);
12035 if (PyErr_Occurred()) SWIG_fail
;
12038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12039 result
= (bool)Quantize_Quantize((wxImage
const &)*arg1
,*arg2
,arg3
,arg4
);
12041 wxPyEndAllowThreads(__tstate
);
12042 if (PyErr_Occurred()) SWIG_fail
;
12045 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12053 static PyObject
* Quantize_swigregister(PyObject
*, PyObject
*args
) {
12055 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12056 SWIG_TypeClientData(SWIGTYPE_p_wxQuantize
, obj
);
12058 return Py_BuildValue((char *)"");
12060 static PyObject
*_wrap_new_EvtHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12061 PyObject
*resultobj
;
12062 wxEvtHandler
*result
;
12063 char *kwnames
[] = {
12067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EvtHandler",kwnames
)) goto fail
;
12069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12070 result
= (wxEvtHandler
*)new wxEvtHandler();
12072 wxPyEndAllowThreads(__tstate
);
12073 if (PyErr_Occurred()) SWIG_fail
;
12075 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvtHandler
, 1);
12082 static PyObject
*_wrap_EvtHandler_GetNextHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12083 PyObject
*resultobj
;
12084 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12085 wxEvtHandler
*result
;
12086 PyObject
* obj0
= 0 ;
12087 char *kwnames
[] = {
12088 (char *) "self", NULL
12091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetNextHandler",kwnames
,&obj0
)) goto fail
;
12092 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12096 result
= (wxEvtHandler
*)(arg1
)->GetNextHandler();
12098 wxPyEndAllowThreads(__tstate
);
12099 if (PyErr_Occurred()) SWIG_fail
;
12102 resultobj
= wxPyMake_wxObject(result
, 0);
12110 static PyObject
*_wrap_EvtHandler_GetPreviousHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12111 PyObject
*resultobj
;
12112 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12113 wxEvtHandler
*result
;
12114 PyObject
* obj0
= 0 ;
12115 char *kwnames
[] = {
12116 (char *) "self", NULL
12119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetPreviousHandler",kwnames
,&obj0
)) goto fail
;
12120 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12121 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12124 result
= (wxEvtHandler
*)(arg1
)->GetPreviousHandler();
12126 wxPyEndAllowThreads(__tstate
);
12127 if (PyErr_Occurred()) SWIG_fail
;
12130 resultobj
= wxPyMake_wxObject(result
, 0);
12138 static PyObject
*_wrap_EvtHandler_SetNextHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12139 PyObject
*resultobj
;
12140 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12141 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
12142 PyObject
* obj0
= 0 ;
12143 PyObject
* obj1
= 0 ;
12144 char *kwnames
[] = {
12145 (char *) "self",(char *) "handler", NULL
12148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetNextHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
12149 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12151 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
12152 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12155 (arg1
)->SetNextHandler(arg2
);
12157 wxPyEndAllowThreads(__tstate
);
12158 if (PyErr_Occurred()) SWIG_fail
;
12160 Py_INCREF(Py_None
); resultobj
= Py_None
;
12167 static PyObject
*_wrap_EvtHandler_SetPreviousHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12168 PyObject
*resultobj
;
12169 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12170 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
12171 PyObject
* obj0
= 0 ;
12172 PyObject
* obj1
= 0 ;
12173 char *kwnames
[] = {
12174 (char *) "self",(char *) "handler", NULL
12177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetPreviousHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
12178 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12179 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12180 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
12181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12184 (arg1
)->SetPreviousHandler(arg2
);
12186 wxPyEndAllowThreads(__tstate
);
12187 if (PyErr_Occurred()) SWIG_fail
;
12189 Py_INCREF(Py_None
); resultobj
= Py_None
;
12196 static PyObject
*_wrap_EvtHandler_GetEvtHandlerEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12197 PyObject
*resultobj
;
12198 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12200 PyObject
* obj0
= 0 ;
12201 char *kwnames
[] = {
12202 (char *) "self", NULL
12205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetEvtHandlerEnabled",kwnames
,&obj0
)) goto fail
;
12206 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12207 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12210 result
= (bool)(arg1
)->GetEvtHandlerEnabled();
12212 wxPyEndAllowThreads(__tstate
);
12213 if (PyErr_Occurred()) SWIG_fail
;
12216 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12224 static PyObject
*_wrap_EvtHandler_SetEvtHandlerEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12225 PyObject
*resultobj
;
12226 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12228 PyObject
* obj0
= 0 ;
12229 PyObject
* obj1
= 0 ;
12230 char *kwnames
[] = {
12231 (char *) "self",(char *) "enabled", NULL
12234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetEvtHandlerEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
12235 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12237 arg2
= (bool)SWIG_As_bool(obj1
);
12238 if (PyErr_Occurred()) SWIG_fail
;
12240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12241 (arg1
)->SetEvtHandlerEnabled(arg2
);
12243 wxPyEndAllowThreads(__tstate
);
12244 if (PyErr_Occurred()) SWIG_fail
;
12246 Py_INCREF(Py_None
); resultobj
= Py_None
;
12253 static PyObject
*_wrap_EvtHandler_ProcessEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12254 PyObject
*resultobj
;
12255 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12256 wxEvent
*arg2
= 0 ;
12258 PyObject
* obj0
= 0 ;
12259 PyObject
* obj1
= 0 ;
12260 char *kwnames
[] = {
12261 (char *) "self",(char *) "event", NULL
12264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_ProcessEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
12265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12267 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvent
,
12268 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12270 if (arg2
== NULL
) {
12271 PyErr_SetString(PyExc_TypeError
,"null reference");
12275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12276 result
= (bool)(arg1
)->ProcessEvent(*arg2
);
12278 wxPyEndAllowThreads(__tstate
);
12279 if (PyErr_Occurred()) SWIG_fail
;
12282 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12290 static PyObject
*_wrap_EvtHandler_AddPendingEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12291 PyObject
*resultobj
;
12292 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12293 wxEvent
*arg2
= 0 ;
12294 PyObject
* obj0
= 0 ;
12295 PyObject
* obj1
= 0 ;
12296 char *kwnames
[] = {
12297 (char *) "self",(char *) "event", NULL
12300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_AddPendingEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
12301 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12302 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12303 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvent
,
12304 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12306 if (arg2
== NULL
) {
12307 PyErr_SetString(PyExc_TypeError
,"null reference");
12311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12312 (arg1
)->AddPendingEvent(*arg2
);
12314 wxPyEndAllowThreads(__tstate
);
12315 if (PyErr_Occurred()) SWIG_fail
;
12317 Py_INCREF(Py_None
); resultobj
= Py_None
;
12324 static PyObject
*_wrap_EvtHandler_ProcessPendingEvents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12325 PyObject
*resultobj
;
12326 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12327 PyObject
* obj0
= 0 ;
12328 char *kwnames
[] = {
12329 (char *) "self", NULL
12332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
12333 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12334 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12337 (arg1
)->ProcessPendingEvents();
12339 wxPyEndAllowThreads(__tstate
);
12340 if (PyErr_Occurred()) SWIG_fail
;
12342 Py_INCREF(Py_None
); resultobj
= Py_None
;
12349 static PyObject
*_wrap_EvtHandler_Connect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12350 PyObject
*resultobj
;
12351 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12355 PyObject
*arg5
= (PyObject
*) 0 ;
12356 PyObject
* obj0
= 0 ;
12357 PyObject
* obj1
= 0 ;
12358 PyObject
* obj2
= 0 ;
12359 PyObject
* obj3
= 0 ;
12360 PyObject
* obj4
= 0 ;
12361 char *kwnames
[] = {
12362 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType",(char *) "func", NULL
12365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:EvtHandler_Connect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12366 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12367 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12368 arg2
= (int)SWIG_As_int(obj1
);
12369 if (PyErr_Occurred()) SWIG_fail
;
12370 arg3
= (int)SWIG_As_int(obj2
);
12371 if (PyErr_Occurred()) SWIG_fail
;
12372 arg4
= (int)SWIG_As_int(obj3
);
12373 if (PyErr_Occurred()) SWIG_fail
;
12376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12377 wxEvtHandler_Connect(arg1
,arg2
,arg3
,arg4
,arg5
);
12379 wxPyEndAllowThreads(__tstate
);
12380 if (PyErr_Occurred()) SWIG_fail
;
12382 Py_INCREF(Py_None
); resultobj
= Py_None
;
12389 static PyObject
*_wrap_EvtHandler_Disconnect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12390 PyObject
*resultobj
;
12391 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12393 int arg3
= (int) -1 ;
12394 wxEventType arg4
= (wxEventType
) wxEVT_NULL
;
12396 PyObject
* obj0
= 0 ;
12397 PyObject
* obj1
= 0 ;
12398 PyObject
* obj2
= 0 ;
12399 PyObject
* obj3
= 0 ;
12400 char *kwnames
[] = {
12401 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType", NULL
12404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:EvtHandler_Disconnect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12407 arg2
= (int)SWIG_As_int(obj1
);
12408 if (PyErr_Occurred()) SWIG_fail
;
12410 arg3
= (int)SWIG_As_int(obj2
);
12411 if (PyErr_Occurred()) SWIG_fail
;
12414 arg4
= (wxEventType
)SWIG_As_int(obj3
);
12415 if (PyErr_Occurred()) SWIG_fail
;
12418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12419 result
= (bool)wxEvtHandler_Disconnect(arg1
,arg2
,arg3
,arg4
);
12421 wxPyEndAllowThreads(__tstate
);
12422 if (PyErr_Occurred()) SWIG_fail
;
12425 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12433 static PyObject
*_wrap_EvtHandler__setOORInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12434 PyObject
*resultobj
;
12435 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12436 PyObject
*arg2
= (PyObject
*) 0 ;
12437 PyObject
* obj0
= 0 ;
12438 PyObject
* obj1
= 0 ;
12439 char *kwnames
[] = {
12440 (char *) "self",(char *) "_self", NULL
12443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
12444 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12445 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12449 wxEvtHandler__setOORInfo(arg1
,arg2
);
12451 wxPyEndAllowThreads(__tstate
);
12452 if (PyErr_Occurred()) SWIG_fail
;
12454 Py_INCREF(Py_None
); resultobj
= Py_None
;
12461 static PyObject
* EvtHandler_swigregister(PyObject
*, PyObject
*args
) {
12463 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12464 SWIG_TypeClientData(SWIGTYPE_p_wxEvtHandler
, obj
);
12466 return Py_BuildValue((char *)"");
12468 static PyObject
*_wrap_NewEventType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12469 PyObject
*resultobj
;
12470 wxEventType result
;
12471 char *kwnames
[] = {
12475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewEventType",kwnames
)) goto fail
;
12477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12478 result
= (wxEventType
)wxNewEventType();
12480 wxPyEndAllowThreads(__tstate
);
12481 if (PyErr_Occurred()) SWIG_fail
;
12483 resultobj
= SWIG_From_int((int)result
);
12490 static PyObject
*_wrap_delete_Event(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12491 PyObject
*resultobj
;
12492 wxEvent
*arg1
= (wxEvent
*) 0 ;
12493 PyObject
* obj0
= 0 ;
12494 char *kwnames
[] = {
12495 (char *) "self", NULL
12498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Event",kwnames
,&obj0
)) goto fail
;
12499 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12500 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12505 wxPyEndAllowThreads(__tstate
);
12506 if (PyErr_Occurred()) SWIG_fail
;
12508 Py_INCREF(Py_None
); resultobj
= Py_None
;
12515 static PyObject
*_wrap_Event_SetEventType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12516 PyObject
*resultobj
;
12517 wxEvent
*arg1
= (wxEvent
*) 0 ;
12519 PyObject
* obj0
= 0 ;
12520 PyObject
* obj1
= 0 ;
12521 char *kwnames
[] = {
12522 (char *) "self",(char *) "typ", NULL
12525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventType",kwnames
,&obj0
,&obj1
)) goto fail
;
12526 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12527 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12528 arg2
= (wxEventType
)SWIG_As_int(obj1
);
12529 if (PyErr_Occurred()) SWIG_fail
;
12531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12532 (arg1
)->SetEventType(arg2
);
12534 wxPyEndAllowThreads(__tstate
);
12535 if (PyErr_Occurred()) SWIG_fail
;
12537 Py_INCREF(Py_None
); resultobj
= Py_None
;
12544 static PyObject
*_wrap_Event_GetEventType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12545 PyObject
*resultobj
;
12546 wxEvent
*arg1
= (wxEvent
*) 0 ;
12547 wxEventType result
;
12548 PyObject
* obj0
= 0 ;
12549 char *kwnames
[] = {
12550 (char *) "self", NULL
12553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventType",kwnames
,&obj0
)) goto fail
;
12554 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12555 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12558 result
= (wxEventType
)((wxEvent
const *)arg1
)->GetEventType();
12560 wxPyEndAllowThreads(__tstate
);
12561 if (PyErr_Occurred()) SWIG_fail
;
12563 resultobj
= SWIG_From_int((int)result
);
12570 static PyObject
*_wrap_Event_GetEventObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12571 PyObject
*resultobj
;
12572 wxEvent
*arg1
= (wxEvent
*) 0 ;
12574 PyObject
* obj0
= 0 ;
12575 char *kwnames
[] = {
12576 (char *) "self", NULL
12579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventObject",kwnames
,&obj0
)) goto fail
;
12580 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12581 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12584 result
= (wxObject
*)((wxEvent
const *)arg1
)->GetEventObject();
12586 wxPyEndAllowThreads(__tstate
);
12587 if (PyErr_Occurred()) SWIG_fail
;
12590 resultobj
= wxPyMake_wxObject(result
, 0);
12598 static PyObject
*_wrap_Event_SetEventObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12599 PyObject
*resultobj
;
12600 wxEvent
*arg1
= (wxEvent
*) 0 ;
12601 wxObject
*arg2
= (wxObject
*) 0 ;
12602 PyObject
* obj0
= 0 ;
12603 PyObject
* obj1
= 0 ;
12604 char *kwnames
[] = {
12605 (char *) "self",(char *) "obj", NULL
12608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventObject",kwnames
,&obj0
,&obj1
)) goto fail
;
12609 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12611 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxObject
,
12612 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12615 (arg1
)->SetEventObject(arg2
);
12617 wxPyEndAllowThreads(__tstate
);
12618 if (PyErr_Occurred()) SWIG_fail
;
12620 Py_INCREF(Py_None
); resultobj
= Py_None
;
12627 static PyObject
*_wrap_Event_GetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12628 PyObject
*resultobj
;
12629 wxEvent
*arg1
= (wxEvent
*) 0 ;
12631 PyObject
* obj0
= 0 ;
12632 char *kwnames
[] = {
12633 (char *) "self", NULL
12636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetTimestamp",kwnames
,&obj0
)) goto fail
;
12637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12641 result
= (long)((wxEvent
const *)arg1
)->GetTimestamp();
12643 wxPyEndAllowThreads(__tstate
);
12644 if (PyErr_Occurred()) SWIG_fail
;
12646 resultobj
= SWIG_From_long((long)result
);
12653 static PyObject
*_wrap_Event_SetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12654 PyObject
*resultobj
;
12655 wxEvent
*arg1
= (wxEvent
*) 0 ;
12656 long arg2
= (long) 0 ;
12657 PyObject
* obj0
= 0 ;
12658 PyObject
* obj1
= 0 ;
12659 char *kwnames
[] = {
12660 (char *) "self",(char *) "ts", NULL
12663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_SetTimestamp",kwnames
,&obj0
,&obj1
)) goto fail
;
12664 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12665 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12667 arg2
= (long)SWIG_As_long(obj1
);
12668 if (PyErr_Occurred()) SWIG_fail
;
12671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12672 (arg1
)->SetTimestamp(arg2
);
12674 wxPyEndAllowThreads(__tstate
);
12675 if (PyErr_Occurred()) SWIG_fail
;
12677 Py_INCREF(Py_None
); resultobj
= Py_None
;
12684 static PyObject
*_wrap_Event_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12685 PyObject
*resultobj
;
12686 wxEvent
*arg1
= (wxEvent
*) 0 ;
12688 PyObject
* obj0
= 0 ;
12689 char *kwnames
[] = {
12690 (char *) "self", NULL
12693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetId",kwnames
,&obj0
)) goto fail
;
12694 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12695 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12698 result
= (int)((wxEvent
const *)arg1
)->GetId();
12700 wxPyEndAllowThreads(__tstate
);
12701 if (PyErr_Occurred()) SWIG_fail
;
12703 resultobj
= SWIG_From_int((int)result
);
12710 static PyObject
*_wrap_Event_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12711 PyObject
*resultobj
;
12712 wxEvent
*arg1
= (wxEvent
*) 0 ;
12714 PyObject
* obj0
= 0 ;
12715 PyObject
* obj1
= 0 ;
12716 char *kwnames
[] = {
12717 (char *) "self",(char *) "Id", NULL
12720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
12721 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12722 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12723 arg2
= (int)SWIG_As_int(obj1
);
12724 if (PyErr_Occurred()) SWIG_fail
;
12726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12727 (arg1
)->SetId(arg2
);
12729 wxPyEndAllowThreads(__tstate
);
12730 if (PyErr_Occurred()) SWIG_fail
;
12732 Py_INCREF(Py_None
); resultobj
= Py_None
;
12739 static PyObject
*_wrap_Event_IsCommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12740 PyObject
*resultobj
;
12741 wxEvent
*arg1
= (wxEvent
*) 0 ;
12743 PyObject
* obj0
= 0 ;
12744 char *kwnames
[] = {
12745 (char *) "self", NULL
12748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_IsCommandEvent",kwnames
,&obj0
)) goto fail
;
12749 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12750 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12753 result
= (bool)((wxEvent
const *)arg1
)->IsCommandEvent();
12755 wxPyEndAllowThreads(__tstate
);
12756 if (PyErr_Occurred()) SWIG_fail
;
12759 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12767 static PyObject
*_wrap_Event_Skip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12768 PyObject
*resultobj
;
12769 wxEvent
*arg1
= (wxEvent
*) 0 ;
12770 bool arg2
= (bool) True
;
12771 PyObject
* obj0
= 0 ;
12772 PyObject
* obj1
= 0 ;
12773 char *kwnames
[] = {
12774 (char *) "self",(char *) "skip", NULL
12777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_Skip",kwnames
,&obj0
,&obj1
)) goto fail
;
12778 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12779 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12781 arg2
= (bool)SWIG_As_bool(obj1
);
12782 if (PyErr_Occurred()) SWIG_fail
;
12785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12786 (arg1
)->Skip(arg2
);
12788 wxPyEndAllowThreads(__tstate
);
12789 if (PyErr_Occurred()) SWIG_fail
;
12791 Py_INCREF(Py_None
); resultobj
= Py_None
;
12798 static PyObject
*_wrap_Event_GetSkipped(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12799 PyObject
*resultobj
;
12800 wxEvent
*arg1
= (wxEvent
*) 0 ;
12802 PyObject
* obj0
= 0 ;
12803 char *kwnames
[] = {
12804 (char *) "self", NULL
12807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetSkipped",kwnames
,&obj0
)) goto fail
;
12808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12812 result
= (bool)((wxEvent
const *)arg1
)->GetSkipped();
12814 wxPyEndAllowThreads(__tstate
);
12815 if (PyErr_Occurred()) SWIG_fail
;
12818 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12826 static PyObject
*_wrap_Event_ShouldPropagate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12827 PyObject
*resultobj
;
12828 wxEvent
*arg1
= (wxEvent
*) 0 ;
12830 PyObject
* obj0
= 0 ;
12831 char *kwnames
[] = {
12832 (char *) "self", NULL
12835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_ShouldPropagate",kwnames
,&obj0
)) goto fail
;
12836 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12837 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12840 result
= (bool)((wxEvent
const *)arg1
)->ShouldPropagate();
12842 wxPyEndAllowThreads(__tstate
);
12843 if (PyErr_Occurred()) SWIG_fail
;
12846 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12854 static PyObject
*_wrap_Event_StopPropagation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12855 PyObject
*resultobj
;
12856 wxEvent
*arg1
= (wxEvent
*) 0 ;
12858 PyObject
* obj0
= 0 ;
12859 char *kwnames
[] = {
12860 (char *) "self", NULL
12863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_StopPropagation",kwnames
,&obj0
)) goto fail
;
12864 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12865 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12868 result
= (int)(arg1
)->StopPropagation();
12870 wxPyEndAllowThreads(__tstate
);
12871 if (PyErr_Occurred()) SWIG_fail
;
12873 resultobj
= SWIG_From_int((int)result
);
12880 static PyObject
*_wrap_Event_ResumePropagation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12881 PyObject
*resultobj
;
12882 wxEvent
*arg1
= (wxEvent
*) 0 ;
12884 PyObject
* obj0
= 0 ;
12885 PyObject
* obj1
= 0 ;
12886 char *kwnames
[] = {
12887 (char *) "self",(char *) "propagationLevel", NULL
12890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_ResumePropagation",kwnames
,&obj0
,&obj1
)) goto fail
;
12891 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12892 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12893 arg2
= (int)SWIG_As_int(obj1
);
12894 if (PyErr_Occurred()) SWIG_fail
;
12896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12897 (arg1
)->ResumePropagation(arg2
);
12899 wxPyEndAllowThreads(__tstate
);
12900 if (PyErr_Occurred()) SWIG_fail
;
12902 Py_INCREF(Py_None
); resultobj
= Py_None
;
12909 static PyObject
*_wrap_Event_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12910 PyObject
*resultobj
;
12911 wxEvent
*arg1
= (wxEvent
*) 0 ;
12913 PyObject
* obj0
= 0 ;
12914 char *kwnames
[] = {
12915 (char *) "self", NULL
12918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_Clone",kwnames
,&obj0
)) goto fail
;
12919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12923 result
= (wxEvent
*)(arg1
)->Clone();
12925 wxPyEndAllowThreads(__tstate
);
12926 if (PyErr_Occurred()) SWIG_fail
;
12928 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvent
, 0);
12935 static PyObject
* Event_swigregister(PyObject
*, PyObject
*args
) {
12937 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12938 SWIG_TypeClientData(SWIGTYPE_p_wxEvent
, obj
);
12940 return Py_BuildValue((char *)"");
12942 static PyObject
*_wrap_new_PropagationDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12943 PyObject
*resultobj
;
12944 wxEvent
*arg1
= 0 ;
12945 wxPropagationDisabler
*result
;
12946 PyObject
* obj0
= 0 ;
12947 char *kwnames
[] = {
12948 (char *) "event", NULL
12951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
12952 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12953 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12955 if (arg1
== NULL
) {
12956 PyErr_SetString(PyExc_TypeError
,"null reference");
12960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12961 result
= (wxPropagationDisabler
*)new wxPropagationDisabler(*arg1
);
12963 wxPyEndAllowThreads(__tstate
);
12964 if (PyErr_Occurred()) SWIG_fail
;
12966 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPropagationDisabler
, 1);
12973 static PyObject
*_wrap_delete_PropagationDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12974 PyObject
*resultobj
;
12975 wxPropagationDisabler
*arg1
= (wxPropagationDisabler
*) 0 ;
12976 PyObject
* obj0
= 0 ;
12977 char *kwnames
[] = {
12978 (char *) "self", NULL
12981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
12982 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPropagationDisabler
,
12983 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12988 wxPyEndAllowThreads(__tstate
);
12989 if (PyErr_Occurred()) SWIG_fail
;
12991 Py_INCREF(Py_None
); resultobj
= Py_None
;
12998 static PyObject
* PropagationDisabler_swigregister(PyObject
*, PyObject
*args
) {
13000 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13001 SWIG_TypeClientData(SWIGTYPE_p_wxPropagationDisabler
, obj
);
13003 return Py_BuildValue((char *)"");
13005 static PyObject
*_wrap_new_PropagateOnce(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13006 PyObject
*resultobj
;
13007 wxEvent
*arg1
= 0 ;
13008 wxPropagateOnce
*result
;
13009 PyObject
* obj0
= 0 ;
13010 char *kwnames
[] = {
13011 (char *) "event", NULL
13014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagateOnce",kwnames
,&obj0
)) goto fail
;
13015 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
13016 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13018 if (arg1
== NULL
) {
13019 PyErr_SetString(PyExc_TypeError
,"null reference");
13023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13024 result
= (wxPropagateOnce
*)new wxPropagateOnce(*arg1
);
13026 wxPyEndAllowThreads(__tstate
);
13027 if (PyErr_Occurred()) SWIG_fail
;
13029 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPropagateOnce
, 1);
13036 static PyObject
*_wrap_delete_PropagateOnce(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13037 PyObject
*resultobj
;
13038 wxPropagateOnce
*arg1
= (wxPropagateOnce
*) 0 ;
13039 PyObject
* obj0
= 0 ;
13040 char *kwnames
[] = {
13041 (char *) "self", NULL
13044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagateOnce",kwnames
,&obj0
)) goto fail
;
13045 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPropagateOnce
,
13046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13051 wxPyEndAllowThreads(__tstate
);
13052 if (PyErr_Occurred()) SWIG_fail
;
13054 Py_INCREF(Py_None
); resultobj
= Py_None
;
13061 static PyObject
* PropagateOnce_swigregister(PyObject
*, PyObject
*args
) {
13063 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13064 SWIG_TypeClientData(SWIGTYPE_p_wxPropagateOnce
, obj
);
13066 return Py_BuildValue((char *)"");
13068 static PyObject
*_wrap_new_CommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13069 PyObject
*resultobj
;
13070 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13071 int arg2
= (int) 0 ;
13072 wxCommandEvent
*result
;
13073 PyObject
* obj0
= 0 ;
13074 PyObject
* obj1
= 0 ;
13075 char *kwnames
[] = {
13076 (char *) "commandType",(char *) "winid", NULL
13079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CommandEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
13081 arg1
= (wxEventType
)SWIG_As_int(obj0
);
13082 if (PyErr_Occurred()) SWIG_fail
;
13085 arg2
= (int)SWIG_As_int(obj1
);
13086 if (PyErr_Occurred()) SWIG_fail
;
13089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13090 result
= (wxCommandEvent
*)new wxCommandEvent(arg1
,arg2
);
13092 wxPyEndAllowThreads(__tstate
);
13093 if (PyErr_Occurred()) SWIG_fail
;
13095 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCommandEvent
, 1);
13102 static PyObject
*_wrap_CommandEvent_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13103 PyObject
*resultobj
;
13104 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13106 PyObject
* obj0
= 0 ;
13107 char *kwnames
[] = {
13108 (char *) "self", NULL
13111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
13112 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13116 result
= (int)((wxCommandEvent
const *)arg1
)->GetSelection();
13118 wxPyEndAllowThreads(__tstate
);
13119 if (PyErr_Occurred()) SWIG_fail
;
13121 resultobj
= SWIG_From_int((int)result
);
13128 static PyObject
*_wrap_CommandEvent_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13129 PyObject
*resultobj
;
13130 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13131 wxString
*arg2
= 0 ;
13132 bool temp2
= False
;
13133 PyObject
* obj0
= 0 ;
13134 PyObject
* obj1
= 0 ;
13135 char *kwnames
[] = {
13136 (char *) "self",(char *) "s", NULL
13139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetString",kwnames
,&obj0
,&obj1
)) goto fail
;
13140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13143 arg2
= wxString_in_helper(obj1
);
13144 if (arg2
== NULL
) SWIG_fail
;
13148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13149 (arg1
)->SetString((wxString
const &)*arg2
);
13151 wxPyEndAllowThreads(__tstate
);
13152 if (PyErr_Occurred()) SWIG_fail
;
13154 Py_INCREF(Py_None
); resultobj
= Py_None
;
13169 static PyObject
*_wrap_CommandEvent_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13170 PyObject
*resultobj
;
13171 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13173 PyObject
* obj0
= 0 ;
13174 char *kwnames
[] = {
13175 (char *) "self", NULL
13178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetString",kwnames
,&obj0
)) goto fail
;
13179 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13180 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13183 result
= ((wxCommandEvent
const *)arg1
)->GetString();
13185 wxPyEndAllowThreads(__tstate
);
13186 if (PyErr_Occurred()) SWIG_fail
;
13190 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13192 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13201 static PyObject
*_wrap_CommandEvent_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13202 PyObject
*resultobj
;
13203 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13205 PyObject
* obj0
= 0 ;
13206 char *kwnames
[] = {
13207 (char *) "self", NULL
13210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsChecked",kwnames
,&obj0
)) goto fail
;
13211 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13215 result
= (bool)((wxCommandEvent
const *)arg1
)->IsChecked();
13217 wxPyEndAllowThreads(__tstate
);
13218 if (PyErr_Occurred()) SWIG_fail
;
13221 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13229 static PyObject
*_wrap_CommandEvent_IsSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13230 PyObject
*resultobj
;
13231 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13233 PyObject
* obj0
= 0 ;
13234 char *kwnames
[] = {
13235 (char *) "self", NULL
13238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsSelection",kwnames
,&obj0
)) goto fail
;
13239 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13240 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13243 result
= (bool)((wxCommandEvent
const *)arg1
)->IsSelection();
13245 wxPyEndAllowThreads(__tstate
);
13246 if (PyErr_Occurred()) SWIG_fail
;
13249 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13257 static PyObject
*_wrap_CommandEvent_SetExtraLong(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13258 PyObject
*resultobj
;
13259 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13261 PyObject
* obj0
= 0 ;
13262 PyObject
* obj1
= 0 ;
13263 char *kwnames
[] = {
13264 (char *) "self",(char *) "extraLong", NULL
13267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetExtraLong",kwnames
,&obj0
,&obj1
)) goto fail
;
13268 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13270 arg2
= (long)SWIG_As_long(obj1
);
13271 if (PyErr_Occurred()) SWIG_fail
;
13273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13274 (arg1
)->SetExtraLong(arg2
);
13276 wxPyEndAllowThreads(__tstate
);
13277 if (PyErr_Occurred()) SWIG_fail
;
13279 Py_INCREF(Py_None
); resultobj
= Py_None
;
13286 static PyObject
*_wrap_CommandEvent_GetExtraLong(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13287 PyObject
*resultobj
;
13288 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13290 PyObject
* obj0
= 0 ;
13291 char *kwnames
[] = {
13292 (char *) "self", NULL
13295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetExtraLong",kwnames
,&obj0
)) goto fail
;
13296 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13300 result
= (long)((wxCommandEvent
const *)arg1
)->GetExtraLong();
13302 wxPyEndAllowThreads(__tstate
);
13303 if (PyErr_Occurred()) SWIG_fail
;
13305 resultobj
= SWIG_From_long((long)result
);
13312 static PyObject
*_wrap_CommandEvent_SetInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13313 PyObject
*resultobj
;
13314 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13316 PyObject
* obj0
= 0 ;
13317 PyObject
* obj1
= 0 ;
13318 char *kwnames
[] = {
13319 (char *) "self",(char *) "i", NULL
13322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetInt",kwnames
,&obj0
,&obj1
)) goto fail
;
13323 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13325 arg2
= (int)SWIG_As_int(obj1
);
13326 if (PyErr_Occurred()) SWIG_fail
;
13328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13329 (arg1
)->SetInt(arg2
);
13331 wxPyEndAllowThreads(__tstate
);
13332 if (PyErr_Occurred()) SWIG_fail
;
13334 Py_INCREF(Py_None
); resultobj
= Py_None
;
13341 static PyObject
*_wrap_CommandEvent_GetInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13342 PyObject
*resultobj
;
13343 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13345 PyObject
* obj0
= 0 ;
13346 char *kwnames
[] = {
13347 (char *) "self", NULL
13350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetInt",kwnames
,&obj0
)) goto fail
;
13351 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13352 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13355 result
= (long)((wxCommandEvent
const *)arg1
)->GetInt();
13357 wxPyEndAllowThreads(__tstate
);
13358 if (PyErr_Occurred()) SWIG_fail
;
13360 resultobj
= SWIG_From_long((long)result
);
13367 static PyObject
*_wrap_CommandEvent_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13368 PyObject
*resultobj
;
13369 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13371 PyObject
* obj0
= 0 ;
13372 char *kwnames
[] = {
13373 (char *) "self", NULL
13376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_Clone",kwnames
,&obj0
)) goto fail
;
13377 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13378 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13381 result
= (wxEvent
*)((wxCommandEvent
const *)arg1
)->Clone();
13383 wxPyEndAllowThreads(__tstate
);
13384 if (PyErr_Occurred()) SWIG_fail
;
13386 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvent
, 0);
13393 static PyObject
* CommandEvent_swigregister(PyObject
*, PyObject
*args
) {
13395 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13396 SWIG_TypeClientData(SWIGTYPE_p_wxCommandEvent
, obj
);
13398 return Py_BuildValue((char *)"");
13400 static PyObject
*_wrap_new_NotifyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13401 PyObject
*resultobj
;
13402 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13403 int arg2
= (int) 0 ;
13404 wxNotifyEvent
*result
;
13405 PyObject
* obj0
= 0 ;
13406 PyObject
* obj1
= 0 ;
13407 char *kwnames
[] = {
13408 (char *) "commandType",(char *) "winid", NULL
13411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_NotifyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
13413 arg1
= (wxEventType
)SWIG_As_int(obj0
);
13414 if (PyErr_Occurred()) SWIG_fail
;
13417 arg2
= (int)SWIG_As_int(obj1
);
13418 if (PyErr_Occurred()) SWIG_fail
;
13421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13422 result
= (wxNotifyEvent
*)new wxNotifyEvent(arg1
,arg2
);
13424 wxPyEndAllowThreads(__tstate
);
13425 if (PyErr_Occurred()) SWIG_fail
;
13427 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotifyEvent
, 1);
13434 static PyObject
*_wrap_NotifyEvent_Veto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13435 PyObject
*resultobj
;
13436 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
13437 PyObject
* obj0
= 0 ;
13438 char *kwnames
[] = {
13439 (char *) "self", NULL
13442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Veto",kwnames
,&obj0
)) goto fail
;
13443 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotifyEvent
,
13444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13449 wxPyEndAllowThreads(__tstate
);
13450 if (PyErr_Occurred()) SWIG_fail
;
13452 Py_INCREF(Py_None
); resultobj
= Py_None
;
13459 static PyObject
*_wrap_NotifyEvent_Allow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13460 PyObject
*resultobj
;
13461 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
13462 PyObject
* obj0
= 0 ;
13463 char *kwnames
[] = {
13464 (char *) "self", NULL
13467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Allow",kwnames
,&obj0
)) goto fail
;
13468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotifyEvent
,
13469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13474 wxPyEndAllowThreads(__tstate
);
13475 if (PyErr_Occurred()) SWIG_fail
;
13477 Py_INCREF(Py_None
); resultobj
= Py_None
;
13484 static PyObject
*_wrap_NotifyEvent_IsAllowed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13485 PyObject
*resultobj
;
13486 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
13488 PyObject
* obj0
= 0 ;
13489 char *kwnames
[] = {
13490 (char *) "self", NULL
13493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_IsAllowed",kwnames
,&obj0
)) goto fail
;
13494 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotifyEvent
,
13495 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13498 result
= (bool)(arg1
)->IsAllowed();
13500 wxPyEndAllowThreads(__tstate
);
13501 if (PyErr_Occurred()) SWIG_fail
;
13504 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13512 static PyObject
* NotifyEvent_swigregister(PyObject
*, PyObject
*args
) {
13514 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13515 SWIG_TypeClientData(SWIGTYPE_p_wxNotifyEvent
, obj
);
13517 return Py_BuildValue((char *)"");
13519 static PyObject
*_wrap_new_ScrollEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13520 PyObject
*resultobj
;
13521 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13522 int arg2
= (int) 0 ;
13523 int arg3
= (int) 0 ;
13524 int arg4
= (int) 0 ;
13525 wxScrollEvent
*result
;
13526 PyObject
* obj0
= 0 ;
13527 PyObject
* obj1
= 0 ;
13528 PyObject
* obj2
= 0 ;
13529 PyObject
* obj3
= 0 ;
13530 char *kwnames
[] = {
13531 (char *) "commandType",(char *) "winid",(char *) "pos",(char *) "orient", NULL
13534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ScrollEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13536 arg1
= (wxEventType
)SWIG_As_int(obj0
);
13537 if (PyErr_Occurred()) SWIG_fail
;
13540 arg2
= (int)SWIG_As_int(obj1
);
13541 if (PyErr_Occurred()) SWIG_fail
;
13544 arg3
= (int)SWIG_As_int(obj2
);
13545 if (PyErr_Occurred()) SWIG_fail
;
13548 arg4
= (int)SWIG_As_int(obj3
);
13549 if (PyErr_Occurred()) SWIG_fail
;
13552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13553 result
= (wxScrollEvent
*)new wxScrollEvent(arg1
,arg2
,arg3
,arg4
);
13555 wxPyEndAllowThreads(__tstate
);
13556 if (PyErr_Occurred()) SWIG_fail
;
13558 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollEvent
, 1);
13565 static PyObject
*_wrap_ScrollEvent_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13566 PyObject
*resultobj
;
13567 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13569 PyObject
* obj0
= 0 ;
13570 char *kwnames
[] = {
13571 (char *) "self", NULL
13574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
13575 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13576 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13579 result
= (int)((wxScrollEvent
const *)arg1
)->GetOrientation();
13581 wxPyEndAllowThreads(__tstate
);
13582 if (PyErr_Occurred()) SWIG_fail
;
13584 resultobj
= SWIG_From_int((int)result
);
13591 static PyObject
*_wrap_ScrollEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13592 PyObject
*resultobj
;
13593 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13595 PyObject
* obj0
= 0 ;
13596 char *kwnames
[] = {
13597 (char *) "self", NULL
13600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
13601 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13602 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13605 result
= (int)((wxScrollEvent
const *)arg1
)->GetPosition();
13607 wxPyEndAllowThreads(__tstate
);
13608 if (PyErr_Occurred()) SWIG_fail
;
13610 resultobj
= SWIG_From_int((int)result
);
13617 static PyObject
*_wrap_ScrollEvent_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13618 PyObject
*resultobj
;
13619 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13621 PyObject
* obj0
= 0 ;
13622 PyObject
* obj1
= 0 ;
13623 char *kwnames
[] = {
13624 (char *) "self",(char *) "orient", NULL
13627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
13628 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13629 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13630 arg2
= (int)SWIG_As_int(obj1
);
13631 if (PyErr_Occurred()) SWIG_fail
;
13633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13634 (arg1
)->SetOrientation(arg2
);
13636 wxPyEndAllowThreads(__tstate
);
13637 if (PyErr_Occurred()) SWIG_fail
;
13639 Py_INCREF(Py_None
); resultobj
= Py_None
;
13646 static PyObject
*_wrap_ScrollEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13647 PyObject
*resultobj
;
13648 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13650 PyObject
* obj0
= 0 ;
13651 PyObject
* obj1
= 0 ;
13652 char *kwnames
[] = {
13653 (char *) "self",(char *) "pos", NULL
13656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
13657 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13658 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13659 arg2
= (int)SWIG_As_int(obj1
);
13660 if (PyErr_Occurred()) SWIG_fail
;
13662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13663 (arg1
)->SetPosition(arg2
);
13665 wxPyEndAllowThreads(__tstate
);
13666 if (PyErr_Occurred()) SWIG_fail
;
13668 Py_INCREF(Py_None
); resultobj
= Py_None
;
13675 static PyObject
* ScrollEvent_swigregister(PyObject
*, PyObject
*args
) {
13677 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13678 SWIG_TypeClientData(SWIGTYPE_p_wxScrollEvent
, obj
);
13680 return Py_BuildValue((char *)"");
13682 static PyObject
*_wrap_new_ScrollWinEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13683 PyObject
*resultobj
;
13684 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13685 int arg2
= (int) 0 ;
13686 int arg3
= (int) 0 ;
13687 wxScrollWinEvent
*result
;
13688 PyObject
* obj0
= 0 ;
13689 PyObject
* obj1
= 0 ;
13690 PyObject
* obj2
= 0 ;
13691 char *kwnames
[] = {
13692 (char *) "commandType",(char *) "pos",(char *) "orient", NULL
13695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ScrollWinEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13697 arg1
= (wxEventType
)SWIG_As_int(obj0
);
13698 if (PyErr_Occurred()) SWIG_fail
;
13701 arg2
= (int)SWIG_As_int(obj1
);
13702 if (PyErr_Occurred()) SWIG_fail
;
13705 arg3
= (int)SWIG_As_int(obj2
);
13706 if (PyErr_Occurred()) SWIG_fail
;
13709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13710 result
= (wxScrollWinEvent
*)new wxScrollWinEvent(arg1
,arg2
,arg3
);
13712 wxPyEndAllowThreads(__tstate
);
13713 if (PyErr_Occurred()) SWIG_fail
;
13715 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollWinEvent
, 1);
13722 static PyObject
*_wrap_ScrollWinEvent_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13723 PyObject
*resultobj
;
13724 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13726 PyObject
* obj0
= 0 ;
13727 char *kwnames
[] = {
13728 (char *) "self", NULL
13731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
13732 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
13733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13736 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetOrientation();
13738 wxPyEndAllowThreads(__tstate
);
13739 if (PyErr_Occurred()) SWIG_fail
;
13741 resultobj
= SWIG_From_int((int)result
);
13748 static PyObject
*_wrap_ScrollWinEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13749 PyObject
*resultobj
;
13750 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13752 PyObject
* obj0
= 0 ;
13753 char *kwnames
[] = {
13754 (char *) "self", NULL
13757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
13758 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
13759 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13762 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetPosition();
13764 wxPyEndAllowThreads(__tstate
);
13765 if (PyErr_Occurred()) SWIG_fail
;
13767 resultobj
= SWIG_From_int((int)result
);
13774 static PyObject
*_wrap_ScrollWinEvent_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13775 PyObject
*resultobj
;
13776 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13778 PyObject
* obj0
= 0 ;
13779 PyObject
* obj1
= 0 ;
13780 char *kwnames
[] = {
13781 (char *) "self",(char *) "orient", NULL
13784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
13785 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
13786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13787 arg2
= (int)SWIG_As_int(obj1
);
13788 if (PyErr_Occurred()) SWIG_fail
;
13790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13791 (arg1
)->SetOrientation(arg2
);
13793 wxPyEndAllowThreads(__tstate
);
13794 if (PyErr_Occurred()) SWIG_fail
;
13796 Py_INCREF(Py_None
); resultobj
= Py_None
;
13803 static PyObject
*_wrap_ScrollWinEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13804 PyObject
*resultobj
;
13805 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13807 PyObject
* obj0
= 0 ;
13808 PyObject
* obj1
= 0 ;
13809 char *kwnames
[] = {
13810 (char *) "self",(char *) "pos", NULL
13813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
13814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
13815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13816 arg2
= (int)SWIG_As_int(obj1
);
13817 if (PyErr_Occurred()) SWIG_fail
;
13819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13820 (arg1
)->SetPosition(arg2
);
13822 wxPyEndAllowThreads(__tstate
);
13823 if (PyErr_Occurred()) SWIG_fail
;
13825 Py_INCREF(Py_None
); resultobj
= Py_None
;
13832 static PyObject
* ScrollWinEvent_swigregister(PyObject
*, PyObject
*args
) {
13834 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13835 SWIG_TypeClientData(SWIGTYPE_p_wxScrollWinEvent
, obj
);
13837 return Py_BuildValue((char *)"");
13839 static PyObject
*_wrap_new_MouseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13840 PyObject
*resultobj
;
13841 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13842 wxMouseEvent
*result
;
13843 PyObject
* obj0
= 0 ;
13844 char *kwnames
[] = {
13845 (char *) "mouseType", NULL
13848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MouseEvent",kwnames
,&obj0
)) goto fail
;
13850 arg1
= (wxEventType
)SWIG_As_int(obj0
);
13851 if (PyErr_Occurred()) SWIG_fail
;
13854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13855 result
= (wxMouseEvent
*)new wxMouseEvent(arg1
);
13857 wxPyEndAllowThreads(__tstate
);
13858 if (PyErr_Occurred()) SWIG_fail
;
13861 resultobj
= wxPyMake_wxObject(result
, 1);
13869 static PyObject
*_wrap_MouseEvent_IsButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13870 PyObject
*resultobj
;
13871 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13873 PyObject
* obj0
= 0 ;
13874 char *kwnames
[] = {
13875 (char *) "self", NULL
13878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsButton",kwnames
,&obj0
)) goto fail
;
13879 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13880 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13883 result
= (bool)((wxMouseEvent
const *)arg1
)->IsButton();
13885 wxPyEndAllowThreads(__tstate
);
13886 if (PyErr_Occurred()) SWIG_fail
;
13889 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13897 static PyObject
*_wrap_MouseEvent_ButtonDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13898 PyObject
*resultobj
;
13899 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13900 int arg2
= (int) wxMOUSE_BTN_ANY
;
13902 PyObject
* obj0
= 0 ;
13903 PyObject
* obj1
= 0 ;
13904 char *kwnames
[] = {
13905 (char *) "self",(char *) "but", NULL
13908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) goto fail
;
13909 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13910 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13912 arg2
= (int)SWIG_As_int(obj1
);
13913 if (PyErr_Occurred()) SWIG_fail
;
13916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13917 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDown(arg2
);
13919 wxPyEndAllowThreads(__tstate
);
13920 if (PyErr_Occurred()) SWIG_fail
;
13923 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13931 static PyObject
*_wrap_MouseEvent_ButtonDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13932 PyObject
*resultobj
;
13933 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13934 int arg2
= (int) wxMOUSE_BTN_ANY
;
13936 PyObject
* obj0
= 0 ;
13937 PyObject
* obj1
= 0 ;
13938 char *kwnames
[] = {
13939 (char *) "self",(char *) "but", NULL
13942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDClick",kwnames
,&obj0
,&obj1
)) goto fail
;
13943 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13944 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13946 arg2
= (int)SWIG_As_int(obj1
);
13947 if (PyErr_Occurred()) SWIG_fail
;
13950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13951 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDClick(arg2
);
13953 wxPyEndAllowThreads(__tstate
);
13954 if (PyErr_Occurred()) SWIG_fail
;
13957 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13965 static PyObject
*_wrap_MouseEvent_ButtonUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13966 PyObject
*resultobj
;
13967 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13968 int arg2
= (int) wxMOUSE_BTN_ANY
;
13970 PyObject
* obj0
= 0 ;
13971 PyObject
* obj1
= 0 ;
13972 char *kwnames
[] = {
13973 (char *) "self",(char *) "but", NULL
13976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) goto fail
;
13977 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13978 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13980 arg2
= (int)SWIG_As_int(obj1
);
13981 if (PyErr_Occurred()) SWIG_fail
;
13984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13985 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonUp(arg2
);
13987 wxPyEndAllowThreads(__tstate
);
13988 if (PyErr_Occurred()) SWIG_fail
;
13991 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13999 static PyObject
*_wrap_MouseEvent_Button(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14000 PyObject
*resultobj
;
14001 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14004 PyObject
* obj0
= 0 ;
14005 PyObject
* obj1
= 0 ;
14006 char *kwnames
[] = {
14007 (char *) "self",(char *) "but", NULL
14010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_Button",kwnames
,&obj0
,&obj1
)) goto fail
;
14011 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14013 arg2
= (int)SWIG_As_int(obj1
);
14014 if (PyErr_Occurred()) SWIG_fail
;
14016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14017 result
= (bool)((wxMouseEvent
const *)arg1
)->Button(arg2
);
14019 wxPyEndAllowThreads(__tstate
);
14020 if (PyErr_Occurred()) SWIG_fail
;
14023 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14031 static PyObject
*_wrap_MouseEvent_ButtonIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14032 PyObject
*resultobj
;
14033 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14036 PyObject
* obj0
= 0 ;
14037 PyObject
* obj1
= 0 ;
14038 char *kwnames
[] = {
14039 (char *) "self",(char *) "but", NULL
14042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) goto fail
;
14043 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14045 arg2
= (int)SWIG_As_int(obj1
);
14046 if (PyErr_Occurred()) SWIG_fail
;
14048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14049 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonIsDown(arg2
);
14051 wxPyEndAllowThreads(__tstate
);
14052 if (PyErr_Occurred()) SWIG_fail
;
14055 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14063 static PyObject
*_wrap_MouseEvent_GetButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14064 PyObject
*resultobj
;
14065 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14067 PyObject
* obj0
= 0 ;
14068 char *kwnames
[] = {
14069 (char *) "self", NULL
14072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetButton",kwnames
,&obj0
)) goto fail
;
14073 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14077 result
= (int)((wxMouseEvent
const *)arg1
)->GetButton();
14079 wxPyEndAllowThreads(__tstate
);
14080 if (PyErr_Occurred()) SWIG_fail
;
14082 resultobj
= SWIG_From_int((int)result
);
14089 static PyObject
*_wrap_MouseEvent_ControlDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14090 PyObject
*resultobj
;
14091 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14093 PyObject
* obj0
= 0 ;
14094 char *kwnames
[] = {
14095 (char *) "self", NULL
14098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
14099 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14100 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14103 result
= (bool)((wxMouseEvent
const *)arg1
)->ControlDown();
14105 wxPyEndAllowThreads(__tstate
);
14106 if (PyErr_Occurred()) SWIG_fail
;
14109 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14117 static PyObject
*_wrap_MouseEvent_MetaDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14118 PyObject
*resultobj
;
14119 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14121 PyObject
* obj0
= 0 ;
14122 char *kwnames
[] = {
14123 (char *) "self", NULL
14126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
14127 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14128 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14131 result
= (bool)((wxMouseEvent
const *)arg1
)->MetaDown();
14133 wxPyEndAllowThreads(__tstate
);
14134 if (PyErr_Occurred()) SWIG_fail
;
14137 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14145 static PyObject
*_wrap_MouseEvent_AltDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14146 PyObject
*resultobj
;
14147 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14149 PyObject
* obj0
= 0 ;
14150 char *kwnames
[] = {
14151 (char *) "self", NULL
14154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_AltDown",kwnames
,&obj0
)) goto fail
;
14155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14159 result
= (bool)((wxMouseEvent
const *)arg1
)->AltDown();
14161 wxPyEndAllowThreads(__tstate
);
14162 if (PyErr_Occurred()) SWIG_fail
;
14165 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14173 static PyObject
*_wrap_MouseEvent_ShiftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14174 PyObject
*resultobj
;
14175 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14177 PyObject
* obj0
= 0 ;
14178 char *kwnames
[] = {
14179 (char *) "self", NULL
14182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
14183 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14184 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14187 result
= (bool)((wxMouseEvent
const *)arg1
)->ShiftDown();
14189 wxPyEndAllowThreads(__tstate
);
14190 if (PyErr_Occurred()) SWIG_fail
;
14193 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14201 static PyObject
*_wrap_MouseEvent_CmdDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14202 PyObject
*resultobj
;
14203 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14205 PyObject
* obj0
= 0 ;
14206 char *kwnames
[] = {
14207 (char *) "self", NULL
14210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_CmdDown",kwnames
,&obj0
)) goto fail
;
14211 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14215 result
= (bool)((wxMouseEvent
const *)arg1
)->CmdDown();
14217 wxPyEndAllowThreads(__tstate
);
14218 if (PyErr_Occurred()) SWIG_fail
;
14221 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14229 static PyObject
*_wrap_MouseEvent_LeftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14230 PyObject
*resultobj
;
14231 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14233 PyObject
* obj0
= 0 ;
14234 char *kwnames
[] = {
14235 (char *) "self", NULL
14238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDown",kwnames
,&obj0
)) goto fail
;
14239 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14240 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14243 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDown();
14245 wxPyEndAllowThreads(__tstate
);
14246 if (PyErr_Occurred()) SWIG_fail
;
14249 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14257 static PyObject
*_wrap_MouseEvent_MiddleDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14258 PyObject
*resultobj
;
14259 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14261 PyObject
* obj0
= 0 ;
14262 char *kwnames
[] = {
14263 (char *) "self", NULL
14266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDown",kwnames
,&obj0
)) goto fail
;
14267 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14268 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14271 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDown();
14273 wxPyEndAllowThreads(__tstate
);
14274 if (PyErr_Occurred()) SWIG_fail
;
14277 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14285 static PyObject
*_wrap_MouseEvent_RightDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14286 PyObject
*resultobj
;
14287 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14289 PyObject
* obj0
= 0 ;
14290 char *kwnames
[] = {
14291 (char *) "self", NULL
14294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDown",kwnames
,&obj0
)) goto fail
;
14295 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14299 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDown();
14301 wxPyEndAllowThreads(__tstate
);
14302 if (PyErr_Occurred()) SWIG_fail
;
14305 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14313 static PyObject
*_wrap_MouseEvent_LeftUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14314 PyObject
*resultobj
;
14315 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14317 PyObject
* obj0
= 0 ;
14318 char *kwnames
[] = {
14319 (char *) "self", NULL
14322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftUp",kwnames
,&obj0
)) goto fail
;
14323 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14327 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftUp();
14329 wxPyEndAllowThreads(__tstate
);
14330 if (PyErr_Occurred()) SWIG_fail
;
14333 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14341 static PyObject
*_wrap_MouseEvent_MiddleUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14342 PyObject
*resultobj
;
14343 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14345 PyObject
* obj0
= 0 ;
14346 char *kwnames
[] = {
14347 (char *) "self", NULL
14350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleUp",kwnames
,&obj0
)) goto fail
;
14351 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14352 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14355 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleUp();
14357 wxPyEndAllowThreads(__tstate
);
14358 if (PyErr_Occurred()) SWIG_fail
;
14361 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14369 static PyObject
*_wrap_MouseEvent_RightUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14370 PyObject
*resultobj
;
14371 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14373 PyObject
* obj0
= 0 ;
14374 char *kwnames
[] = {
14375 (char *) "self", NULL
14378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightUp",kwnames
,&obj0
)) goto fail
;
14379 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14380 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14383 result
= (bool)((wxMouseEvent
const *)arg1
)->RightUp();
14385 wxPyEndAllowThreads(__tstate
);
14386 if (PyErr_Occurred()) SWIG_fail
;
14389 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14397 static PyObject
*_wrap_MouseEvent_LeftDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14398 PyObject
*resultobj
;
14399 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14401 PyObject
* obj0
= 0 ;
14402 char *kwnames
[] = {
14403 (char *) "self", NULL
14406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDClick",kwnames
,&obj0
)) goto fail
;
14407 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14408 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14411 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDClick();
14413 wxPyEndAllowThreads(__tstate
);
14414 if (PyErr_Occurred()) SWIG_fail
;
14417 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14425 static PyObject
*_wrap_MouseEvent_MiddleDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14426 PyObject
*resultobj
;
14427 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14429 PyObject
* obj0
= 0 ;
14430 char *kwnames
[] = {
14431 (char *) "self", NULL
14434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDClick",kwnames
,&obj0
)) goto fail
;
14435 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14436 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14439 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDClick();
14441 wxPyEndAllowThreads(__tstate
);
14442 if (PyErr_Occurred()) SWIG_fail
;
14445 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14453 static PyObject
*_wrap_MouseEvent_RightDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14454 PyObject
*resultobj
;
14455 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14457 PyObject
* obj0
= 0 ;
14458 char *kwnames
[] = {
14459 (char *) "self", NULL
14462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDClick",kwnames
,&obj0
)) goto fail
;
14463 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14467 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDClick();
14469 wxPyEndAllowThreads(__tstate
);
14470 if (PyErr_Occurred()) SWIG_fail
;
14473 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14481 static PyObject
*_wrap_MouseEvent_LeftIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14482 PyObject
*resultobj
;
14483 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14485 PyObject
* obj0
= 0 ;
14486 char *kwnames
[] = {
14487 (char *) "self", NULL
14490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftIsDown",kwnames
,&obj0
)) goto fail
;
14491 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14495 result
= (bool)(arg1
)->LeftIsDown();
14497 wxPyEndAllowThreads(__tstate
);
14498 if (PyErr_Occurred()) SWIG_fail
;
14501 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14509 static PyObject
*_wrap_MouseEvent_MiddleIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14510 PyObject
*resultobj
;
14511 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14513 PyObject
* obj0
= 0 ;
14514 char *kwnames
[] = {
14515 (char *) "self", NULL
14518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleIsDown",kwnames
,&obj0
)) goto fail
;
14519 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14520 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14523 result
= (bool)(arg1
)->MiddleIsDown();
14525 wxPyEndAllowThreads(__tstate
);
14526 if (PyErr_Occurred()) SWIG_fail
;
14529 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14537 static PyObject
*_wrap_MouseEvent_RightIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14538 PyObject
*resultobj
;
14539 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14541 PyObject
* obj0
= 0 ;
14542 char *kwnames
[] = {
14543 (char *) "self", NULL
14546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightIsDown",kwnames
,&obj0
)) goto fail
;
14547 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14551 result
= (bool)(arg1
)->RightIsDown();
14553 wxPyEndAllowThreads(__tstate
);
14554 if (PyErr_Occurred()) SWIG_fail
;
14557 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14565 static PyObject
*_wrap_MouseEvent_Dragging(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14566 PyObject
*resultobj
;
14567 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14569 PyObject
* obj0
= 0 ;
14570 char *kwnames
[] = {
14571 (char *) "self", NULL
14574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Dragging",kwnames
,&obj0
)) goto fail
;
14575 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14576 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14579 result
= (bool)((wxMouseEvent
const *)arg1
)->Dragging();
14581 wxPyEndAllowThreads(__tstate
);
14582 if (PyErr_Occurred()) SWIG_fail
;
14585 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14593 static PyObject
*_wrap_MouseEvent_Moving(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14594 PyObject
*resultobj
;
14595 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14597 PyObject
* obj0
= 0 ;
14598 char *kwnames
[] = {
14599 (char *) "self", NULL
14602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Moving",kwnames
,&obj0
)) goto fail
;
14603 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14607 result
= (bool)((wxMouseEvent
const *)arg1
)->Moving();
14609 wxPyEndAllowThreads(__tstate
);
14610 if (PyErr_Occurred()) SWIG_fail
;
14613 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14621 static PyObject
*_wrap_MouseEvent_Entering(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14622 PyObject
*resultobj
;
14623 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14625 PyObject
* obj0
= 0 ;
14626 char *kwnames
[] = {
14627 (char *) "self", NULL
14630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Entering",kwnames
,&obj0
)) goto fail
;
14631 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14632 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14635 result
= (bool)((wxMouseEvent
const *)arg1
)->Entering();
14637 wxPyEndAllowThreads(__tstate
);
14638 if (PyErr_Occurred()) SWIG_fail
;
14641 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14649 static PyObject
*_wrap_MouseEvent_Leaving(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14650 PyObject
*resultobj
;
14651 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14653 PyObject
* obj0
= 0 ;
14654 char *kwnames
[] = {
14655 (char *) "self", NULL
14658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Leaving",kwnames
,&obj0
)) goto fail
;
14659 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14660 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14663 result
= (bool)((wxMouseEvent
const *)arg1
)->Leaving();
14665 wxPyEndAllowThreads(__tstate
);
14666 if (PyErr_Occurred()) SWIG_fail
;
14669 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14677 static PyObject
*_wrap_MouseEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14678 PyObject
*resultobj
;
14679 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14681 PyObject
* obj0
= 0 ;
14682 char *kwnames
[] = {
14683 (char *) "self", NULL
14686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
14687 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14688 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14691 result
= (arg1
)->GetPosition();
14693 wxPyEndAllowThreads(__tstate
);
14694 if (PyErr_Occurred()) SWIG_fail
;
14697 wxPoint
* resultptr
;
14698 resultptr
= new wxPoint((wxPoint
&) result
);
14699 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
14707 static PyObject
*_wrap_MouseEvent_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14708 PyObject
*resultobj
;
14709 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14710 long *arg2
= (long *) 0 ;
14711 long *arg3
= (long *) 0 ;
14716 PyObject
* obj0
= 0 ;
14717 char *kwnames
[] = {
14718 (char *) "self", NULL
14721 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
14722 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
14723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
14724 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14728 (arg1
)->GetPosition(arg2
,arg3
);
14730 wxPyEndAllowThreads(__tstate
);
14731 if (PyErr_Occurred()) SWIG_fail
;
14733 Py_INCREF(Py_None
); resultobj
= Py_None
;
14734 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
14735 SWIG_From_long((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, 0)));
14736 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
14737 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
14744 static PyObject
*_wrap_MouseEvent_GetLogicalPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14745 PyObject
*resultobj
;
14746 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14749 PyObject
* obj0
= 0 ;
14750 PyObject
* obj1
= 0 ;
14751 char *kwnames
[] = {
14752 (char *) "self",(char *) "dc", NULL
14755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_GetLogicalPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
14756 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14757 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14758 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
14759 SWIG_POINTER_EXCEPTION
| 0)) == -1)
14761 if (arg2
== NULL
) {
14762 PyErr_SetString(PyExc_TypeError
,"null reference");
14766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14767 result
= ((wxMouseEvent
const *)arg1
)->GetLogicalPosition((wxDC
const &)*arg2
);
14769 wxPyEndAllowThreads(__tstate
);
14770 if (PyErr_Occurred()) SWIG_fail
;
14773 wxPoint
* resultptr
;
14774 resultptr
= new wxPoint((wxPoint
&) result
);
14775 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
14783 static PyObject
*_wrap_MouseEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14784 PyObject
*resultobj
;
14785 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14787 PyObject
* obj0
= 0 ;
14788 char *kwnames
[] = {
14789 (char *) "self", NULL
14792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetX",kwnames
,&obj0
)) goto fail
;
14793 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14794 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14797 result
= (int)((wxMouseEvent
const *)arg1
)->GetX();
14799 wxPyEndAllowThreads(__tstate
);
14800 if (PyErr_Occurred()) SWIG_fail
;
14802 resultobj
= SWIG_From_int((int)result
);
14809 static PyObject
*_wrap_MouseEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14810 PyObject
*resultobj
;
14811 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14813 PyObject
* obj0
= 0 ;
14814 char *kwnames
[] = {
14815 (char *) "self", NULL
14818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetY",kwnames
,&obj0
)) goto fail
;
14819 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14820 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14823 result
= (int)((wxMouseEvent
const *)arg1
)->GetY();
14825 wxPyEndAllowThreads(__tstate
);
14826 if (PyErr_Occurred()) SWIG_fail
;
14828 resultobj
= SWIG_From_int((int)result
);
14835 static PyObject
*_wrap_MouseEvent_GetWheelRotation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14836 PyObject
*resultobj
;
14837 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14839 PyObject
* obj0
= 0 ;
14840 char *kwnames
[] = {
14841 (char *) "self", NULL
14844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelRotation",kwnames
,&obj0
)) goto fail
;
14845 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14849 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelRotation();
14851 wxPyEndAllowThreads(__tstate
);
14852 if (PyErr_Occurred()) SWIG_fail
;
14854 resultobj
= SWIG_From_int((int)result
);
14861 static PyObject
*_wrap_MouseEvent_GetWheelDelta(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14862 PyObject
*resultobj
;
14863 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14865 PyObject
* obj0
= 0 ;
14866 char *kwnames
[] = {
14867 (char *) "self", NULL
14870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelDelta",kwnames
,&obj0
)) goto fail
;
14871 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14872 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14875 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelDelta();
14877 wxPyEndAllowThreads(__tstate
);
14878 if (PyErr_Occurred()) SWIG_fail
;
14880 resultobj
= SWIG_From_int((int)result
);
14887 static PyObject
*_wrap_MouseEvent_GetLinesPerAction(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14888 PyObject
*resultobj
;
14889 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14891 PyObject
* obj0
= 0 ;
14892 char *kwnames
[] = {
14893 (char *) "self", NULL
14896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetLinesPerAction",kwnames
,&obj0
)) goto fail
;
14897 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14898 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14901 result
= (int)((wxMouseEvent
const *)arg1
)->GetLinesPerAction();
14903 wxPyEndAllowThreads(__tstate
);
14904 if (PyErr_Occurred()) SWIG_fail
;
14906 resultobj
= SWIG_From_int((int)result
);
14913 static PyObject
*_wrap_MouseEvent_IsPageScroll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14914 PyObject
*resultobj
;
14915 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14917 PyObject
* obj0
= 0 ;
14918 char *kwnames
[] = {
14919 (char *) "self", NULL
14922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsPageScroll",kwnames
,&obj0
)) goto fail
;
14923 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14927 result
= (bool)((wxMouseEvent
const *)arg1
)->IsPageScroll();
14929 wxPyEndAllowThreads(__tstate
);
14930 if (PyErr_Occurred()) SWIG_fail
;
14933 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14941 static PyObject
*_wrap_MouseEvent_m_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14942 PyObject
*resultobj
;
14943 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14945 PyObject
* obj0
= 0 ;
14946 PyObject
* obj1
= 0 ;
14947 char *kwnames
[] = {
14948 (char *) "self",(char *) "m_x", NULL
14951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14952 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14954 arg2
= (int)SWIG_As_int(obj1
);
14955 if (PyErr_Occurred()) SWIG_fail
;
14956 if (arg1
) (arg1
)->m_x
= arg2
;
14958 Py_INCREF(Py_None
); resultobj
= Py_None
;
14965 static PyObject
*_wrap_MouseEvent_m_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14966 PyObject
*resultobj
;
14967 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14969 PyObject
* obj0
= 0 ;
14970 char *kwnames
[] = {
14971 (char *) "self", NULL
14974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
14975 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14977 result
= (int) ((arg1
)->m_x
);
14979 resultobj
= SWIG_From_int((int)result
);
14986 static PyObject
*_wrap_MouseEvent_m_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14987 PyObject
*resultobj
;
14988 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14990 PyObject
* obj0
= 0 ;
14991 PyObject
* obj1
= 0 ;
14992 char *kwnames
[] = {
14993 (char *) "self",(char *) "m_y", NULL
14996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14997 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14998 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14999 arg2
= (int)SWIG_As_int(obj1
);
15000 if (PyErr_Occurred()) SWIG_fail
;
15001 if (arg1
) (arg1
)->m_y
= arg2
;
15003 Py_INCREF(Py_None
); resultobj
= Py_None
;
15010 static PyObject
*_wrap_MouseEvent_m_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15011 PyObject
*resultobj
;
15012 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15014 PyObject
* obj0
= 0 ;
15015 char *kwnames
[] = {
15016 (char *) "self", NULL
15019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
15020 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15022 result
= (int) ((arg1
)->m_y
);
15024 resultobj
= SWIG_From_int((int)result
);
15031 static PyObject
*_wrap_MouseEvent_m_leftDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15032 PyObject
*resultobj
;
15033 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15035 PyObject
* obj0
= 0 ;
15036 PyObject
* obj1
= 0 ;
15037 char *kwnames
[] = {
15038 (char *) "self",(char *) "m_leftDown", NULL
15041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_leftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15044 arg2
= (bool)SWIG_As_bool(obj1
);
15045 if (PyErr_Occurred()) SWIG_fail
;
15046 if (arg1
) (arg1
)->m_leftDown
= arg2
;
15048 Py_INCREF(Py_None
); resultobj
= Py_None
;
15055 static PyObject
*_wrap_MouseEvent_m_leftDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15056 PyObject
*resultobj
;
15057 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15059 PyObject
* obj0
= 0 ;
15060 char *kwnames
[] = {
15061 (char *) "self", NULL
15064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_leftDown_get",kwnames
,&obj0
)) goto fail
;
15065 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15066 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15067 result
= (bool) ((arg1
)->m_leftDown
);
15070 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15078 static PyObject
*_wrap_MouseEvent_m_middleDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15079 PyObject
*resultobj
;
15080 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15082 PyObject
* obj0
= 0 ;
15083 PyObject
* obj1
= 0 ;
15084 char *kwnames
[] = {
15085 (char *) "self",(char *) "m_middleDown", NULL
15088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_middleDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15089 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15090 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15091 arg2
= (bool)SWIG_As_bool(obj1
);
15092 if (PyErr_Occurred()) SWIG_fail
;
15093 if (arg1
) (arg1
)->m_middleDown
= arg2
;
15095 Py_INCREF(Py_None
); resultobj
= Py_None
;
15102 static PyObject
*_wrap_MouseEvent_m_middleDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15103 PyObject
*resultobj
;
15104 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15106 PyObject
* obj0
= 0 ;
15107 char *kwnames
[] = {
15108 (char *) "self", NULL
15111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_middleDown_get",kwnames
,&obj0
)) goto fail
;
15112 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15114 result
= (bool) ((arg1
)->m_middleDown
);
15117 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15125 static PyObject
*_wrap_MouseEvent_m_rightDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15126 PyObject
*resultobj
;
15127 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15129 PyObject
* obj0
= 0 ;
15130 PyObject
* obj1
= 0 ;
15131 char *kwnames
[] = {
15132 (char *) "self",(char *) "m_rightDown", NULL
15135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_rightDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15136 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15137 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15138 arg2
= (bool)SWIG_As_bool(obj1
);
15139 if (PyErr_Occurred()) SWIG_fail
;
15140 if (arg1
) (arg1
)->m_rightDown
= arg2
;
15142 Py_INCREF(Py_None
); resultobj
= Py_None
;
15149 static PyObject
*_wrap_MouseEvent_m_rightDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15150 PyObject
*resultobj
;
15151 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15153 PyObject
* obj0
= 0 ;
15154 char *kwnames
[] = {
15155 (char *) "self", NULL
15158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_rightDown_get",kwnames
,&obj0
)) goto fail
;
15159 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15160 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15161 result
= (bool) ((arg1
)->m_rightDown
);
15164 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15172 static PyObject
*_wrap_MouseEvent_m_controlDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15173 PyObject
*resultobj
;
15174 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15176 PyObject
* obj0
= 0 ;
15177 PyObject
* obj1
= 0 ;
15178 char *kwnames
[] = {
15179 (char *) "self",(char *) "m_controlDown", NULL
15182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15183 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15184 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15185 arg2
= (bool)SWIG_As_bool(obj1
);
15186 if (PyErr_Occurred()) SWIG_fail
;
15187 if (arg1
) (arg1
)->m_controlDown
= arg2
;
15189 Py_INCREF(Py_None
); resultobj
= Py_None
;
15196 static PyObject
*_wrap_MouseEvent_m_controlDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15197 PyObject
*resultobj
;
15198 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15200 PyObject
* obj0
= 0 ;
15201 char *kwnames
[] = {
15202 (char *) "self", NULL
15205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
15206 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15207 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15208 result
= (bool) ((arg1
)->m_controlDown
);
15211 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15219 static PyObject
*_wrap_MouseEvent_m_shiftDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15220 PyObject
*resultobj
;
15221 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15223 PyObject
* obj0
= 0 ;
15224 PyObject
* obj1
= 0 ;
15225 char *kwnames
[] = {
15226 (char *) "self",(char *) "m_shiftDown", NULL
15229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15230 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15232 arg2
= (bool)SWIG_As_bool(obj1
);
15233 if (PyErr_Occurred()) SWIG_fail
;
15234 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
15236 Py_INCREF(Py_None
); resultobj
= Py_None
;
15243 static PyObject
*_wrap_MouseEvent_m_shiftDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15244 PyObject
*resultobj
;
15245 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15247 PyObject
* obj0
= 0 ;
15248 char *kwnames
[] = {
15249 (char *) "self", NULL
15252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
15253 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15254 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15255 result
= (bool) ((arg1
)->m_shiftDown
);
15258 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15266 static PyObject
*_wrap_MouseEvent_m_altDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15267 PyObject
*resultobj
;
15268 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15270 PyObject
* obj0
= 0 ;
15271 PyObject
* obj1
= 0 ;
15272 char *kwnames
[] = {
15273 (char *) "self",(char *) "m_altDown", NULL
15276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15279 arg2
= (bool)SWIG_As_bool(obj1
);
15280 if (PyErr_Occurred()) SWIG_fail
;
15281 if (arg1
) (arg1
)->m_altDown
= arg2
;
15283 Py_INCREF(Py_None
); resultobj
= Py_None
;
15290 static PyObject
*_wrap_MouseEvent_m_altDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15291 PyObject
*resultobj
;
15292 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15294 PyObject
* obj0
= 0 ;
15295 char *kwnames
[] = {
15296 (char *) "self", NULL
15299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
15300 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15301 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15302 result
= (bool) ((arg1
)->m_altDown
);
15305 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15313 static PyObject
*_wrap_MouseEvent_m_metaDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15314 PyObject
*resultobj
;
15315 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15317 PyObject
* obj0
= 0 ;
15318 PyObject
* obj1
= 0 ;
15319 char *kwnames
[] = {
15320 (char *) "self",(char *) "m_metaDown", NULL
15323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15324 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15326 arg2
= (bool)SWIG_As_bool(obj1
);
15327 if (PyErr_Occurred()) SWIG_fail
;
15328 if (arg1
) (arg1
)->m_metaDown
= arg2
;
15330 Py_INCREF(Py_None
); resultobj
= Py_None
;
15337 static PyObject
*_wrap_MouseEvent_m_metaDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15338 PyObject
*resultobj
;
15339 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15341 PyObject
* obj0
= 0 ;
15342 char *kwnames
[] = {
15343 (char *) "self", NULL
15346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
15347 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15349 result
= (bool) ((arg1
)->m_metaDown
);
15352 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15360 static PyObject
*_wrap_MouseEvent_m_wheelRotation_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15361 PyObject
*resultobj
;
15362 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15364 PyObject
* obj0
= 0 ;
15365 PyObject
* obj1
= 0 ;
15366 char *kwnames
[] = {
15367 (char *) "self",(char *) "m_wheelRotation", NULL
15370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_wheelRotation_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15371 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15372 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15373 arg2
= (int)SWIG_As_int(obj1
);
15374 if (PyErr_Occurred()) SWIG_fail
;
15375 if (arg1
) (arg1
)->m_wheelRotation
= arg2
;
15377 Py_INCREF(Py_None
); resultobj
= Py_None
;
15384 static PyObject
*_wrap_MouseEvent_m_wheelRotation_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15385 PyObject
*resultobj
;
15386 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15388 PyObject
* obj0
= 0 ;
15389 char *kwnames
[] = {
15390 (char *) "self", NULL
15393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelRotation_get",kwnames
,&obj0
)) goto fail
;
15394 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15396 result
= (int) ((arg1
)->m_wheelRotation
);
15398 resultobj
= SWIG_From_int((int)result
);
15405 static PyObject
*_wrap_MouseEvent_m_wheelDelta_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15406 PyObject
*resultobj
;
15407 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15409 PyObject
* obj0
= 0 ;
15410 PyObject
* obj1
= 0 ;
15411 char *kwnames
[] = {
15412 (char *) "self",(char *) "m_wheelDelta", NULL
15415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_wheelDelta_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15418 arg2
= (int)SWIG_As_int(obj1
);
15419 if (PyErr_Occurred()) SWIG_fail
;
15420 if (arg1
) (arg1
)->m_wheelDelta
= arg2
;
15422 Py_INCREF(Py_None
); resultobj
= Py_None
;
15429 static PyObject
*_wrap_MouseEvent_m_wheelDelta_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15430 PyObject
*resultobj
;
15431 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15433 PyObject
* obj0
= 0 ;
15434 char *kwnames
[] = {
15435 (char *) "self", NULL
15438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelDelta_get",kwnames
,&obj0
)) goto fail
;
15439 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15441 result
= (int) ((arg1
)->m_wheelDelta
);
15443 resultobj
= SWIG_From_int((int)result
);
15450 static PyObject
*_wrap_MouseEvent_m_linesPerAction_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15451 PyObject
*resultobj
;
15452 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15454 PyObject
* obj0
= 0 ;
15455 PyObject
* obj1
= 0 ;
15456 char *kwnames
[] = {
15457 (char *) "self",(char *) "m_linesPerAction", NULL
15460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_linesPerAction_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15463 arg2
= (int)SWIG_As_int(obj1
);
15464 if (PyErr_Occurred()) SWIG_fail
;
15465 if (arg1
) (arg1
)->m_linesPerAction
= arg2
;
15467 Py_INCREF(Py_None
); resultobj
= Py_None
;
15474 static PyObject
*_wrap_MouseEvent_m_linesPerAction_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15475 PyObject
*resultobj
;
15476 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15478 PyObject
* obj0
= 0 ;
15479 char *kwnames
[] = {
15480 (char *) "self", NULL
15483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_linesPerAction_get",kwnames
,&obj0
)) goto fail
;
15484 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15485 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15486 result
= (int) ((arg1
)->m_linesPerAction
);
15488 resultobj
= SWIG_From_int((int)result
);
15495 static PyObject
* MouseEvent_swigregister(PyObject
*, PyObject
*args
) {
15497 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15498 SWIG_TypeClientData(SWIGTYPE_p_wxMouseEvent
, obj
);
15500 return Py_BuildValue((char *)"");
15502 static PyObject
*_wrap_new_SetCursorEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15503 PyObject
*resultobj
;
15504 int arg1
= (int) 0 ;
15505 int arg2
= (int) 0 ;
15506 wxSetCursorEvent
*result
;
15507 PyObject
* obj0
= 0 ;
15508 PyObject
* obj1
= 0 ;
15509 char *kwnames
[] = {
15510 (char *) "x",(char *) "y", NULL
15513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SetCursorEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
15515 arg1
= (int)SWIG_As_int(obj0
);
15516 if (PyErr_Occurred()) SWIG_fail
;
15519 arg2
= (int)SWIG_As_int(obj1
);
15520 if (PyErr_Occurred()) SWIG_fail
;
15523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15524 result
= (wxSetCursorEvent
*)new wxSetCursorEvent(arg1
,arg2
);
15526 wxPyEndAllowThreads(__tstate
);
15527 if (PyErr_Occurred()) SWIG_fail
;
15529 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSetCursorEvent
, 1);
15536 static PyObject
*_wrap_SetCursorEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15537 PyObject
*resultobj
;
15538 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15540 PyObject
* obj0
= 0 ;
15541 char *kwnames
[] = {
15542 (char *) "self", NULL
15545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetX",kwnames
,&obj0
)) goto fail
;
15546 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15550 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetX();
15552 wxPyEndAllowThreads(__tstate
);
15553 if (PyErr_Occurred()) SWIG_fail
;
15555 resultobj
= SWIG_From_int((int)result
);
15562 static PyObject
*_wrap_SetCursorEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15563 PyObject
*resultobj
;
15564 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15566 PyObject
* obj0
= 0 ;
15567 char *kwnames
[] = {
15568 (char *) "self", NULL
15571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetY",kwnames
,&obj0
)) goto fail
;
15572 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15573 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15576 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetY();
15578 wxPyEndAllowThreads(__tstate
);
15579 if (PyErr_Occurred()) SWIG_fail
;
15581 resultobj
= SWIG_From_int((int)result
);
15588 static PyObject
*_wrap_SetCursorEvent_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15589 PyObject
*resultobj
;
15590 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15591 wxCursor
*arg2
= 0 ;
15592 PyObject
* obj0
= 0 ;
15593 PyObject
* obj1
= 0 ;
15594 char *kwnames
[] = {
15595 (char *) "self",(char *) "cursor", NULL
15598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SetCursorEvent_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
15599 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15600 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15601 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
15602 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15604 if (arg2
== NULL
) {
15605 PyErr_SetString(PyExc_TypeError
,"null reference");
15609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15610 (arg1
)->SetCursor((wxCursor
const &)*arg2
);
15612 wxPyEndAllowThreads(__tstate
);
15613 if (PyErr_Occurred()) SWIG_fail
;
15615 Py_INCREF(Py_None
); resultobj
= Py_None
;
15622 static PyObject
*_wrap_SetCursorEvent_GetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15623 PyObject
*resultobj
;
15624 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15626 PyObject
* obj0
= 0 ;
15627 char *kwnames
[] = {
15628 (char *) "self", NULL
15631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetCursor",kwnames
,&obj0
)) goto fail
;
15632 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15633 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15637 wxCursor
const &_result_ref
= ((wxSetCursorEvent
const *)arg1
)->GetCursor();
15638 result
= (wxCursor
*) &_result_ref
;
15641 wxPyEndAllowThreads(__tstate
);
15642 if (PyErr_Occurred()) SWIG_fail
;
15645 wxCursor
* resultptr
= new wxCursor(*result
);
15646 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxCursor
, 1);
15654 static PyObject
*_wrap_SetCursorEvent_HasCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15655 PyObject
*resultobj
;
15656 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15658 PyObject
* obj0
= 0 ;
15659 char *kwnames
[] = {
15660 (char *) "self", NULL
15663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_HasCursor",kwnames
,&obj0
)) goto fail
;
15664 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15665 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15668 result
= (bool)((wxSetCursorEvent
const *)arg1
)->HasCursor();
15670 wxPyEndAllowThreads(__tstate
);
15671 if (PyErr_Occurred()) SWIG_fail
;
15674 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15682 static PyObject
* SetCursorEvent_swigregister(PyObject
*, PyObject
*args
) {
15684 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15685 SWIG_TypeClientData(SWIGTYPE_p_wxSetCursorEvent
, obj
);
15687 return Py_BuildValue((char *)"");
15689 static PyObject
*_wrap_new_KeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15690 PyObject
*resultobj
;
15691 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15692 wxKeyEvent
*result
;
15693 PyObject
* obj0
= 0 ;
15694 char *kwnames
[] = {
15695 (char *) "keyType", NULL
15698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_KeyEvent",kwnames
,&obj0
)) goto fail
;
15700 arg1
= (wxEventType
)SWIG_As_int(obj0
);
15701 if (PyErr_Occurred()) SWIG_fail
;
15704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15705 result
= (wxKeyEvent
*)new wxKeyEvent(arg1
);
15707 wxPyEndAllowThreads(__tstate
);
15708 if (PyErr_Occurred()) SWIG_fail
;
15710 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxKeyEvent
, 1);
15717 static PyObject
*_wrap_KeyEvent_ControlDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15718 PyObject
*resultobj
;
15719 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15721 PyObject
* obj0
= 0 ;
15722 char *kwnames
[] = {
15723 (char *) "self", NULL
15726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
15727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15731 result
= (bool)((wxKeyEvent
const *)arg1
)->ControlDown();
15733 wxPyEndAllowThreads(__tstate
);
15734 if (PyErr_Occurred()) SWIG_fail
;
15737 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15745 static PyObject
*_wrap_KeyEvent_MetaDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15746 PyObject
*resultobj
;
15747 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15749 PyObject
* obj0
= 0 ;
15750 char *kwnames
[] = {
15751 (char *) "self", NULL
15754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
15755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15759 result
= (bool)((wxKeyEvent
const *)arg1
)->MetaDown();
15761 wxPyEndAllowThreads(__tstate
);
15762 if (PyErr_Occurred()) SWIG_fail
;
15765 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15773 static PyObject
*_wrap_KeyEvent_AltDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15774 PyObject
*resultobj
;
15775 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15777 PyObject
* obj0
= 0 ;
15778 char *kwnames
[] = {
15779 (char *) "self", NULL
15782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_AltDown",kwnames
,&obj0
)) goto fail
;
15783 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15784 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15787 result
= (bool)((wxKeyEvent
const *)arg1
)->AltDown();
15789 wxPyEndAllowThreads(__tstate
);
15790 if (PyErr_Occurred()) SWIG_fail
;
15793 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15801 static PyObject
*_wrap_KeyEvent_ShiftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15802 PyObject
*resultobj
;
15803 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15805 PyObject
* obj0
= 0 ;
15806 char *kwnames
[] = {
15807 (char *) "self", NULL
15810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
15811 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15812 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15815 result
= (bool)((wxKeyEvent
const *)arg1
)->ShiftDown();
15817 wxPyEndAllowThreads(__tstate
);
15818 if (PyErr_Occurred()) SWIG_fail
;
15821 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15829 static PyObject
*_wrap_KeyEvent_CmdDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15830 PyObject
*resultobj
;
15831 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15833 PyObject
* obj0
= 0 ;
15834 char *kwnames
[] = {
15835 (char *) "self", NULL
15838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_CmdDown",kwnames
,&obj0
)) goto fail
;
15839 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15840 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15843 result
= (bool)((wxKeyEvent
const *)arg1
)->CmdDown();
15845 wxPyEndAllowThreads(__tstate
);
15846 if (PyErr_Occurred()) SWIG_fail
;
15849 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15857 static PyObject
*_wrap_KeyEvent_HasModifiers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15858 PyObject
*resultobj
;
15859 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15861 PyObject
* obj0
= 0 ;
15862 char *kwnames
[] = {
15863 (char *) "self", NULL
15866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_HasModifiers",kwnames
,&obj0
)) goto fail
;
15867 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15868 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15871 result
= (bool)((wxKeyEvent
const *)arg1
)->HasModifiers();
15873 wxPyEndAllowThreads(__tstate
);
15874 if (PyErr_Occurred()) SWIG_fail
;
15877 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15885 static PyObject
*_wrap_KeyEvent_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15886 PyObject
*resultobj
;
15887 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15889 PyObject
* obj0
= 0 ;
15890 char *kwnames
[] = {
15891 (char *) "self", NULL
15894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
15895 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15899 result
= (int)((wxKeyEvent
const *)arg1
)->GetKeyCode();
15901 wxPyEndAllowThreads(__tstate
);
15902 if (PyErr_Occurred()) SWIG_fail
;
15904 resultobj
= SWIG_From_int((int)result
);
15911 static PyObject
*_wrap_KeyEvent_GetUnicodeKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15912 PyObject
*resultobj
;
15913 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15915 PyObject
* obj0
= 0 ;
15916 char *kwnames
[] = {
15917 (char *) "self", NULL
15920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetUnicodeKey",kwnames
,&obj0
)) goto fail
;
15921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15925 result
= (int)wxKeyEvent_GetUnicodeKey(arg1
);
15927 wxPyEndAllowThreads(__tstate
);
15928 if (PyErr_Occurred()) SWIG_fail
;
15930 resultobj
= SWIG_From_int((int)result
);
15937 static PyObject
*_wrap_KeyEvent_GetRawKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15938 PyObject
*resultobj
;
15939 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15940 unsigned int result
;
15941 PyObject
* obj0
= 0 ;
15942 char *kwnames
[] = {
15943 (char *) "self", NULL
15946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyCode",kwnames
,&obj0
)) goto fail
;
15947 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15948 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15951 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyCode();
15953 wxPyEndAllowThreads(__tstate
);
15954 if (PyErr_Occurred()) SWIG_fail
;
15956 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)result
);
15963 static PyObject
*_wrap_KeyEvent_GetRawKeyFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15964 PyObject
*resultobj
;
15965 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15966 unsigned int result
;
15967 PyObject
* obj0
= 0 ;
15968 char *kwnames
[] = {
15969 (char *) "self", NULL
15972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyFlags",kwnames
,&obj0
)) goto fail
;
15973 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15974 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15977 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyFlags();
15979 wxPyEndAllowThreads(__tstate
);
15980 if (PyErr_Occurred()) SWIG_fail
;
15982 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)result
);
15989 static PyObject
*_wrap_KeyEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15990 PyObject
*resultobj
;
15991 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15993 PyObject
* obj0
= 0 ;
15994 char *kwnames
[] = {
15995 (char *) "self", NULL
15998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
15999 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16000 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16003 result
= (arg1
)->GetPosition();
16005 wxPyEndAllowThreads(__tstate
);
16006 if (PyErr_Occurred()) SWIG_fail
;
16009 wxPoint
* resultptr
;
16010 resultptr
= new wxPoint((wxPoint
&) result
);
16011 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
16019 static PyObject
*_wrap_KeyEvent_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16020 PyObject
*resultobj
;
16021 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16022 long *arg2
= (long *) 0 ;
16023 long *arg3
= (long *) 0 ;
16028 PyObject
* obj0
= 0 ;
16029 char *kwnames
[] = {
16030 (char *) "self", NULL
16033 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
16034 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
16035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
16036 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16037 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16040 (arg1
)->GetPosition(arg2
,arg3
);
16042 wxPyEndAllowThreads(__tstate
);
16043 if (PyErr_Occurred()) SWIG_fail
;
16045 Py_INCREF(Py_None
); resultobj
= Py_None
;
16046 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
16047 SWIG_From_long((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, 0)));
16048 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
16049 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
16056 static PyObject
*_wrap_KeyEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16057 PyObject
*resultobj
;
16058 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16060 PyObject
* obj0
= 0 ;
16061 char *kwnames
[] = {
16062 (char *) "self", NULL
16065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetX",kwnames
,&obj0
)) goto fail
;
16066 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16070 result
= (int)((wxKeyEvent
const *)arg1
)->GetX();
16072 wxPyEndAllowThreads(__tstate
);
16073 if (PyErr_Occurred()) SWIG_fail
;
16075 resultobj
= SWIG_From_int((int)result
);
16082 static PyObject
*_wrap_KeyEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16083 PyObject
*resultobj
;
16084 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16086 PyObject
* obj0
= 0 ;
16087 char *kwnames
[] = {
16088 (char *) "self", NULL
16091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetY",kwnames
,&obj0
)) goto fail
;
16092 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16096 result
= (int)((wxKeyEvent
const *)arg1
)->GetY();
16098 wxPyEndAllowThreads(__tstate
);
16099 if (PyErr_Occurred()) SWIG_fail
;
16101 resultobj
= SWIG_From_int((int)result
);
16108 static PyObject
*_wrap_KeyEvent_m_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16109 PyObject
*resultobj
;
16110 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16112 PyObject
* obj0
= 0 ;
16113 PyObject
* obj1
= 0 ;
16114 char *kwnames
[] = {
16115 (char *) "self",(char *) "m_x", NULL
16118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16119 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16121 arg2
= (int)SWIG_As_int(obj1
);
16122 if (PyErr_Occurred()) SWIG_fail
;
16123 if (arg1
) (arg1
)->m_x
= arg2
;
16125 Py_INCREF(Py_None
); resultobj
= Py_None
;
16132 static PyObject
*_wrap_KeyEvent_m_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16133 PyObject
*resultobj
;
16134 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16136 PyObject
* obj0
= 0 ;
16137 char *kwnames
[] = {
16138 (char *) "self", NULL
16141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
16142 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16143 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16144 result
= (int) ((arg1
)->m_x
);
16146 resultobj
= SWIG_From_int((int)result
);
16153 static PyObject
*_wrap_KeyEvent_m_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16154 PyObject
*resultobj
;
16155 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16157 PyObject
* obj0
= 0 ;
16158 PyObject
* obj1
= 0 ;
16159 char *kwnames
[] = {
16160 (char *) "self",(char *) "m_y", NULL
16163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16164 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16165 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16166 arg2
= (int)SWIG_As_int(obj1
);
16167 if (PyErr_Occurred()) SWIG_fail
;
16168 if (arg1
) (arg1
)->m_y
= arg2
;
16170 Py_INCREF(Py_None
); resultobj
= Py_None
;
16177 static PyObject
*_wrap_KeyEvent_m_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16178 PyObject
*resultobj
;
16179 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16181 PyObject
* obj0
= 0 ;
16182 char *kwnames
[] = {
16183 (char *) "self", NULL
16186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
16187 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16188 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16189 result
= (int) ((arg1
)->m_y
);
16191 resultobj
= SWIG_From_int((int)result
);
16198 static PyObject
*_wrap_KeyEvent_m_keyCode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16199 PyObject
*resultobj
;
16200 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16202 PyObject
* obj0
= 0 ;
16203 PyObject
* obj1
= 0 ;
16204 char *kwnames
[] = {
16205 (char *) "self",(char *) "m_keyCode", NULL
16208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_keyCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16209 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16211 arg2
= (long)SWIG_As_long(obj1
);
16212 if (PyErr_Occurred()) SWIG_fail
;
16213 if (arg1
) (arg1
)->m_keyCode
= arg2
;
16215 Py_INCREF(Py_None
); resultobj
= Py_None
;
16222 static PyObject
*_wrap_KeyEvent_m_keyCode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16223 PyObject
*resultobj
;
16224 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16226 PyObject
* obj0
= 0 ;
16227 char *kwnames
[] = {
16228 (char *) "self", NULL
16231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_keyCode_get",kwnames
,&obj0
)) goto fail
;
16232 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16233 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16234 result
= (long) ((arg1
)->m_keyCode
);
16236 resultobj
= SWIG_From_long((long)result
);
16243 static PyObject
*_wrap_KeyEvent_m_controlDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16244 PyObject
*resultobj
;
16245 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16247 PyObject
* obj0
= 0 ;
16248 PyObject
* obj1
= 0 ;
16249 char *kwnames
[] = {
16250 (char *) "self",(char *) "m_controlDown", NULL
16253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16254 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16255 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16256 arg2
= (bool)SWIG_As_bool(obj1
);
16257 if (PyErr_Occurred()) SWIG_fail
;
16258 if (arg1
) (arg1
)->m_controlDown
= arg2
;
16260 Py_INCREF(Py_None
); resultobj
= Py_None
;
16267 static PyObject
*_wrap_KeyEvent_m_controlDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16268 PyObject
*resultobj
;
16269 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16271 PyObject
* obj0
= 0 ;
16272 char *kwnames
[] = {
16273 (char *) "self", NULL
16276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
16277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16279 result
= (bool) ((arg1
)->m_controlDown
);
16282 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16290 static PyObject
*_wrap_KeyEvent_m_shiftDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16291 PyObject
*resultobj
;
16292 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16294 PyObject
* obj0
= 0 ;
16295 PyObject
* obj1
= 0 ;
16296 char *kwnames
[] = {
16297 (char *) "self",(char *) "m_shiftDown", NULL
16300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16301 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16302 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16303 arg2
= (bool)SWIG_As_bool(obj1
);
16304 if (PyErr_Occurred()) SWIG_fail
;
16305 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
16307 Py_INCREF(Py_None
); resultobj
= Py_None
;
16314 static PyObject
*_wrap_KeyEvent_m_shiftDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16315 PyObject
*resultobj
;
16316 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16318 PyObject
* obj0
= 0 ;
16319 char *kwnames
[] = {
16320 (char *) "self", NULL
16323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
16324 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16326 result
= (bool) ((arg1
)->m_shiftDown
);
16329 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16337 static PyObject
*_wrap_KeyEvent_m_altDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16338 PyObject
*resultobj
;
16339 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16341 PyObject
* obj0
= 0 ;
16342 PyObject
* obj1
= 0 ;
16343 char *kwnames
[] = {
16344 (char *) "self",(char *) "m_altDown", NULL
16347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16348 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16350 arg2
= (bool)SWIG_As_bool(obj1
);
16351 if (PyErr_Occurred()) SWIG_fail
;
16352 if (arg1
) (arg1
)->m_altDown
= arg2
;
16354 Py_INCREF(Py_None
); resultobj
= Py_None
;
16361 static PyObject
*_wrap_KeyEvent_m_altDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16362 PyObject
*resultobj
;
16363 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16365 PyObject
* obj0
= 0 ;
16366 char *kwnames
[] = {
16367 (char *) "self", NULL
16370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
16371 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16372 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16373 result
= (bool) ((arg1
)->m_altDown
);
16376 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16384 static PyObject
*_wrap_KeyEvent_m_metaDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16385 PyObject
*resultobj
;
16386 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16388 PyObject
* obj0
= 0 ;
16389 PyObject
* obj1
= 0 ;
16390 char *kwnames
[] = {
16391 (char *) "self",(char *) "m_metaDown", NULL
16394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16395 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16396 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16397 arg2
= (bool)SWIG_As_bool(obj1
);
16398 if (PyErr_Occurred()) SWIG_fail
;
16399 if (arg1
) (arg1
)->m_metaDown
= arg2
;
16401 Py_INCREF(Py_None
); resultobj
= Py_None
;
16408 static PyObject
*_wrap_KeyEvent_m_metaDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16409 PyObject
*resultobj
;
16410 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16412 PyObject
* obj0
= 0 ;
16413 char *kwnames
[] = {
16414 (char *) "self", NULL
16417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
16418 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16419 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16420 result
= (bool) ((arg1
)->m_metaDown
);
16423 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16431 static PyObject
*_wrap_KeyEvent_m_scanCode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16432 PyObject
*resultobj
;
16433 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16435 PyObject
* obj0
= 0 ;
16436 PyObject
* obj1
= 0 ;
16437 char *kwnames
[] = {
16438 (char *) "self",(char *) "m_scanCode", NULL
16441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_scanCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16442 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16443 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16444 arg2
= (bool)SWIG_As_bool(obj1
);
16445 if (PyErr_Occurred()) SWIG_fail
;
16446 if (arg1
) (arg1
)->m_scanCode
= arg2
;
16448 Py_INCREF(Py_None
); resultobj
= Py_None
;
16455 static PyObject
*_wrap_KeyEvent_m_scanCode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16456 PyObject
*resultobj
;
16457 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16459 PyObject
* obj0
= 0 ;
16460 char *kwnames
[] = {
16461 (char *) "self", NULL
16464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_scanCode_get",kwnames
,&obj0
)) goto fail
;
16465 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16466 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16467 result
= (bool) ((arg1
)->m_scanCode
);
16470 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16478 static PyObject
*_wrap_KeyEvent_m_rawCode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16479 PyObject
*resultobj
;
16480 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16481 unsigned int arg2
;
16482 PyObject
* obj0
= 0 ;
16483 PyObject
* obj1
= 0 ;
16484 char *kwnames
[] = {
16485 (char *) "self",(char *) "m_rawCode", NULL
16488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16489 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16490 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16491 arg2
= (unsigned int)SWIG_As_unsigned_SS_int(obj1
);
16492 if (PyErr_Occurred()) SWIG_fail
;
16493 if (arg1
) (arg1
)->m_rawCode
= arg2
;
16495 Py_INCREF(Py_None
); resultobj
= Py_None
;
16502 static PyObject
*_wrap_KeyEvent_m_rawCode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16503 PyObject
*resultobj
;
16504 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16505 unsigned int result
;
16506 PyObject
* obj0
= 0 ;
16507 char *kwnames
[] = {
16508 (char *) "self", NULL
16511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawCode_get",kwnames
,&obj0
)) goto fail
;
16512 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16513 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16514 result
= (unsigned int) ((arg1
)->m_rawCode
);
16516 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)result
);
16523 static PyObject
*_wrap_KeyEvent_m_rawFlags_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16524 PyObject
*resultobj
;
16525 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16526 unsigned int arg2
;
16527 PyObject
* obj0
= 0 ;
16528 PyObject
* obj1
= 0 ;
16529 char *kwnames
[] = {
16530 (char *) "self",(char *) "m_rawFlags", NULL
16533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawFlags_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16534 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16536 arg2
= (unsigned int)SWIG_As_unsigned_SS_int(obj1
);
16537 if (PyErr_Occurred()) SWIG_fail
;
16538 if (arg1
) (arg1
)->m_rawFlags
= arg2
;
16540 Py_INCREF(Py_None
); resultobj
= Py_None
;
16547 static PyObject
*_wrap_KeyEvent_m_rawFlags_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16548 PyObject
*resultobj
;
16549 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16550 unsigned int result
;
16551 PyObject
* obj0
= 0 ;
16552 char *kwnames
[] = {
16553 (char *) "self", NULL
16556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawFlags_get",kwnames
,&obj0
)) goto fail
;
16557 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16558 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16559 result
= (unsigned int) ((arg1
)->m_rawFlags
);
16561 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)result
);
16568 static PyObject
* KeyEvent_swigregister(PyObject
*, PyObject
*args
) {
16570 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16571 SWIG_TypeClientData(SWIGTYPE_p_wxKeyEvent
, obj
);
16573 return Py_BuildValue((char *)"");
16575 static PyObject
*_wrap_new_SizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16576 PyObject
*resultobj
;
16577 wxSize
const &arg1_defvalue
= wxDefaultSize
;
16578 wxSize
*arg1
= (wxSize
*) &arg1_defvalue
;
16579 int arg2
= (int) 0 ;
16580 wxSizeEvent
*result
;
16582 PyObject
* obj0
= 0 ;
16583 PyObject
* obj1
= 0 ;
16584 char *kwnames
[] = {
16585 (char *) "sz",(char *) "winid", NULL
16588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SizeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16592 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
16596 arg2
= (int)SWIG_As_int(obj1
);
16597 if (PyErr_Occurred()) SWIG_fail
;
16600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16601 result
= (wxSizeEvent
*)new wxSizeEvent((wxSize
const &)*arg1
,arg2
);
16603 wxPyEndAllowThreads(__tstate
);
16604 if (PyErr_Occurred()) SWIG_fail
;
16606 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizeEvent
, 1);
16613 static PyObject
*_wrap_SizeEvent_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16614 PyObject
*resultobj
;
16615 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16617 PyObject
* obj0
= 0 ;
16618 char *kwnames
[] = {
16619 (char *) "self", NULL
16622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetSize",kwnames
,&obj0
)) goto fail
;
16623 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16627 result
= ((wxSizeEvent
const *)arg1
)->GetSize();
16629 wxPyEndAllowThreads(__tstate
);
16630 if (PyErr_Occurred()) SWIG_fail
;
16633 wxSize
* resultptr
;
16634 resultptr
= new wxSize((wxSize
&) result
);
16635 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16643 static PyObject
*_wrap_SizeEvent_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16644 PyObject
*resultobj
;
16645 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16647 PyObject
* obj0
= 0 ;
16648 char *kwnames
[] = {
16649 (char *) "self", NULL
16652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetRect",kwnames
,&obj0
)) goto fail
;
16653 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16657 result
= ((wxSizeEvent
const *)arg1
)->GetRect();
16659 wxPyEndAllowThreads(__tstate
);
16660 if (PyErr_Occurred()) SWIG_fail
;
16663 wxRect
* resultptr
;
16664 resultptr
= new wxRect((wxRect
&) result
);
16665 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
16673 static PyObject
*_wrap_SizeEvent_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16674 PyObject
*resultobj
;
16675 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16678 PyObject
* obj0
= 0 ;
16679 PyObject
* obj1
= 0 ;
16680 char *kwnames
[] = {
16681 (char *) "self",(char *) "rect", NULL
16684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
16685 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16686 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16687 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxRect
,
16688 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
16691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16692 (arg1
)->SetRect(arg2
);
16694 wxPyEndAllowThreads(__tstate
);
16695 if (PyErr_Occurred()) SWIG_fail
;
16697 Py_INCREF(Py_None
); resultobj
= Py_None
;
16704 static PyObject
*_wrap_SizeEvent_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16705 PyObject
*resultobj
;
16706 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16709 PyObject
* obj0
= 0 ;
16710 PyObject
* obj1
= 0 ;
16711 char *kwnames
[] = {
16712 (char *) "self",(char *) "size", NULL
16715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
16716 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16717 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16718 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxSize
,
16719 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
16722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16723 wxSizeEvent_SetSize(arg1
,arg2
);
16725 wxPyEndAllowThreads(__tstate
);
16726 if (PyErr_Occurred()) SWIG_fail
;
16728 Py_INCREF(Py_None
); resultobj
= Py_None
;
16735 static PyObject
*_wrap_SizeEvent_m_size_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16736 PyObject
*resultobj
;
16737 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16738 wxSize
*arg2
= (wxSize
*) 0 ;
16739 PyObject
* obj0
= 0 ;
16740 PyObject
* obj1
= 0 ;
16741 char *kwnames
[] = {
16742 (char *) "self",(char *) "m_size", NULL
16745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_size_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16746 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16747 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16748 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSize
,
16749 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16750 if (arg1
) (arg1
)->m_size
= *arg2
;
16752 Py_INCREF(Py_None
); resultobj
= Py_None
;
16759 static PyObject
*_wrap_SizeEvent_m_size_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16760 PyObject
*resultobj
;
16761 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16763 PyObject
* obj0
= 0 ;
16764 char *kwnames
[] = {
16765 (char *) "self", NULL
16768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_size_get",kwnames
,&obj0
)) goto fail
;
16769 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16770 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16771 result
= (wxSize
*)& ((arg1
)->m_size
);
16773 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
16780 static PyObject
*_wrap_SizeEvent_m_rect_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16781 PyObject
*resultobj
;
16782 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16783 wxRect
*arg2
= (wxRect
*) 0 ;
16784 PyObject
* obj0
= 0 ;
16785 PyObject
* obj1
= 0 ;
16786 char *kwnames
[] = {
16787 (char *) "self",(char *) "m_rect", NULL
16790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_rect_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16791 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16793 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRect
,
16794 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16795 if (arg1
) (arg1
)->m_rect
= *arg2
;
16797 Py_INCREF(Py_None
); resultobj
= Py_None
;
16804 static PyObject
*_wrap_SizeEvent_m_rect_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16805 PyObject
*resultobj
;
16806 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16808 PyObject
* obj0
= 0 ;
16809 char *kwnames
[] = {
16810 (char *) "self", NULL
16813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_rect_get",kwnames
,&obj0
)) goto fail
;
16814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16816 result
= (wxRect
*)& ((arg1
)->m_rect
);
16818 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
16825 static PyObject
* SizeEvent_swigregister(PyObject
*, PyObject
*args
) {
16827 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16828 SWIG_TypeClientData(SWIGTYPE_p_wxSizeEvent
, obj
);
16830 return Py_BuildValue((char *)"");
16832 static PyObject
*_wrap_new_MoveEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16833 PyObject
*resultobj
;
16834 wxPoint
const &arg1_defvalue
= wxDefaultPosition
;
16835 wxPoint
*arg1
= (wxPoint
*) &arg1_defvalue
;
16836 int arg2
= (int) 0 ;
16837 wxMoveEvent
*result
;
16839 PyObject
* obj0
= 0 ;
16840 PyObject
* obj1
= 0 ;
16841 char *kwnames
[] = {
16842 (char *) "pos",(char *) "winid", NULL
16845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MoveEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16849 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
16853 arg2
= (int)SWIG_As_int(obj1
);
16854 if (PyErr_Occurred()) SWIG_fail
;
16857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16858 result
= (wxMoveEvent
*)new wxMoveEvent((wxPoint
const &)*arg1
,arg2
);
16860 wxPyEndAllowThreads(__tstate
);
16861 if (PyErr_Occurred()) SWIG_fail
;
16863 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMoveEvent
, 1);
16870 static PyObject
*_wrap_MoveEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16871 PyObject
*resultobj
;
16872 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16874 PyObject
* obj0
= 0 ;
16875 char *kwnames
[] = {
16876 (char *) "self", NULL
16879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
16880 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16881 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16884 result
= ((wxMoveEvent
const *)arg1
)->GetPosition();
16886 wxPyEndAllowThreads(__tstate
);
16887 if (PyErr_Occurred()) SWIG_fail
;
16890 wxPoint
* resultptr
;
16891 resultptr
= new wxPoint((wxPoint
&) result
);
16892 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
16900 static PyObject
*_wrap_MoveEvent_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16901 PyObject
*resultobj
;
16902 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16904 PyObject
* obj0
= 0 ;
16905 char *kwnames
[] = {
16906 (char *) "self", NULL
16909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetRect",kwnames
,&obj0
)) goto fail
;
16910 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16911 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16914 result
= ((wxMoveEvent
const *)arg1
)->GetRect();
16916 wxPyEndAllowThreads(__tstate
);
16917 if (PyErr_Occurred()) SWIG_fail
;
16920 wxRect
* resultptr
;
16921 resultptr
= new wxRect((wxRect
&) result
);
16922 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
16930 static PyObject
*_wrap_MoveEvent_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16931 PyObject
*resultobj
;
16932 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16935 PyObject
* obj0
= 0 ;
16936 PyObject
* obj1
= 0 ;
16937 char *kwnames
[] = {
16938 (char *) "self",(char *) "rect", NULL
16941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
16942 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16944 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxRect
,
16945 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
16948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16949 (arg1
)->SetRect(arg2
);
16951 wxPyEndAllowThreads(__tstate
);
16952 if (PyErr_Occurred()) SWIG_fail
;
16954 Py_INCREF(Py_None
); resultobj
= Py_None
;
16961 static PyObject
*_wrap_MoveEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16962 PyObject
*resultobj
;
16963 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16966 PyObject
* obj0
= 0 ;
16967 PyObject
* obj1
= 0 ;
16968 char *kwnames
[] = {
16969 (char *) "self",(char *) "pos", NULL
16972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
16973 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16974 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16975 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxPoint
,
16976 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
16979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16980 wxMoveEvent_SetPosition(arg1
,arg2
);
16982 wxPyEndAllowThreads(__tstate
);
16983 if (PyErr_Occurred()) SWIG_fail
;
16985 Py_INCREF(Py_None
); resultobj
= Py_None
;
16992 static PyObject
*_wrap_MoveEvent_m_pos_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16993 PyObject
*resultobj
;
16994 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16995 wxPoint
*arg2
= (wxPoint
*) 0 ;
16996 PyObject
* obj0
= 0 ;
16997 PyObject
* obj1
= 0 ;
16998 char *kwnames
[] = {
16999 (char *) "self",(char *) "m_pos", NULL
17002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_m_pos_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17003 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
17004 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17005 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPoint
,
17006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17007 if (arg1
) (arg1
)->m_pos
= *arg2
;
17009 Py_INCREF(Py_None
); resultobj
= Py_None
;
17016 static PyObject
*_wrap_MoveEvent_m_pos_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17017 PyObject
*resultobj
;
17018 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
17020 PyObject
* obj0
= 0 ;
17021 char *kwnames
[] = {
17022 (char *) "self", NULL
17025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_m_pos_get",kwnames
,&obj0
)) goto fail
;
17026 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
17027 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17028 result
= (wxPoint
*)& ((arg1
)->m_pos
);
17030 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
17037 static PyObject
*_wrap_MoveEvent_m_rect_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17038 PyObject
*resultobj
;
17039 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
17040 wxRect
*arg2
= (wxRect
*) 0 ;
17041 PyObject
* obj0
= 0 ;
17042 PyObject
* obj1
= 0 ;
17043 char *kwnames
[] = {
17044 (char *) "self",(char *) "m_rect", NULL
17047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_m_rect_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17048 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
17049 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17050 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRect
,
17051 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17052 if (arg1
) (arg1
)->m_rect
= *arg2
;
17054 Py_INCREF(Py_None
); resultobj
= Py_None
;
17061 static PyObject
*_wrap_MoveEvent_m_rect_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17062 PyObject
*resultobj
;
17063 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
17065 PyObject
* obj0
= 0 ;
17066 char *kwnames
[] = {
17067 (char *) "self", NULL
17070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_m_rect_get",kwnames
,&obj0
)) goto fail
;
17071 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
17072 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17073 result
= (wxRect
*)& ((arg1
)->m_rect
);
17075 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
17082 static PyObject
* MoveEvent_swigregister(PyObject
*, PyObject
*args
) {
17084 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17085 SWIG_TypeClientData(SWIGTYPE_p_wxMoveEvent
, obj
);
17087 return Py_BuildValue((char *)"");
17089 static PyObject
*_wrap_new_PaintEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17090 PyObject
*resultobj
;
17091 int arg1
= (int) 0 ;
17092 wxPaintEvent
*result
;
17093 PyObject
* obj0
= 0 ;
17094 char *kwnames
[] = {
17095 (char *) "Id", NULL
17098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaintEvent",kwnames
,&obj0
)) goto fail
;
17100 arg1
= (int)SWIG_As_int(obj0
);
17101 if (PyErr_Occurred()) SWIG_fail
;
17104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17105 result
= (wxPaintEvent
*)new wxPaintEvent(arg1
);
17107 wxPyEndAllowThreads(__tstate
);
17108 if (PyErr_Occurred()) SWIG_fail
;
17110 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaintEvent
, 1);
17117 static PyObject
* PaintEvent_swigregister(PyObject
*, PyObject
*args
) {
17119 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17120 SWIG_TypeClientData(SWIGTYPE_p_wxPaintEvent
, obj
);
17122 return Py_BuildValue((char *)"");
17124 static PyObject
*_wrap_new_NcPaintEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17125 PyObject
*resultobj
;
17126 int arg1
= (int) 0 ;
17127 wxNcPaintEvent
*result
;
17128 PyObject
* obj0
= 0 ;
17129 char *kwnames
[] = {
17130 (char *) "winid", NULL
17133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_NcPaintEvent",kwnames
,&obj0
)) goto fail
;
17135 arg1
= (int)SWIG_As_int(obj0
);
17136 if (PyErr_Occurred()) SWIG_fail
;
17139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17140 result
= (wxNcPaintEvent
*)new wxNcPaintEvent(arg1
);
17142 wxPyEndAllowThreads(__tstate
);
17143 if (PyErr_Occurred()) SWIG_fail
;
17145 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNcPaintEvent
, 1);
17152 static PyObject
* NcPaintEvent_swigregister(PyObject
*, PyObject
*args
) {
17154 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17155 SWIG_TypeClientData(SWIGTYPE_p_wxNcPaintEvent
, obj
);
17157 return Py_BuildValue((char *)"");
17159 static PyObject
*_wrap_new_EraseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17160 PyObject
*resultobj
;
17161 int arg1
= (int) 0 ;
17162 wxDC
*arg2
= (wxDC
*) (wxDC
*) NULL
;
17163 wxEraseEvent
*result
;
17164 PyObject
* obj0
= 0 ;
17165 PyObject
* obj1
= 0 ;
17166 char *kwnames
[] = {
17167 (char *) "Id",(char *) "dc", NULL
17170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_EraseEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17172 arg1
= (int)SWIG_As_int(obj0
);
17173 if (PyErr_Occurred()) SWIG_fail
;
17176 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
17177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17181 result
= (wxEraseEvent
*)new wxEraseEvent(arg1
,arg2
);
17183 wxPyEndAllowThreads(__tstate
);
17184 if (PyErr_Occurred()) SWIG_fail
;
17186 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEraseEvent
, 1);
17193 static PyObject
*_wrap_EraseEvent_GetDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17194 PyObject
*resultobj
;
17195 wxEraseEvent
*arg1
= (wxEraseEvent
*) 0 ;
17197 PyObject
* obj0
= 0 ;
17198 char *kwnames
[] = {
17199 (char *) "self", NULL
17202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EraseEvent_GetDC",kwnames
,&obj0
)) goto fail
;
17203 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEraseEvent
,
17204 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17207 result
= (wxDC
*)((wxEraseEvent
const *)arg1
)->GetDC();
17209 wxPyEndAllowThreads(__tstate
);
17210 if (PyErr_Occurred()) SWIG_fail
;
17213 resultobj
= wxPyMake_wxObject(result
, 0);
17221 static PyObject
* EraseEvent_swigregister(PyObject
*, PyObject
*args
) {
17223 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17224 SWIG_TypeClientData(SWIGTYPE_p_wxEraseEvent
, obj
);
17226 return Py_BuildValue((char *)"");
17228 static PyObject
*_wrap_new_FocusEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17229 PyObject
*resultobj
;
17230 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17231 int arg2
= (int) 0 ;
17232 wxFocusEvent
*result
;
17233 PyObject
* obj0
= 0 ;
17234 PyObject
* obj1
= 0 ;
17235 char *kwnames
[] = {
17236 (char *) "type",(char *) "winid", NULL
17239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FocusEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17241 arg1
= (wxEventType
)SWIG_As_int(obj0
);
17242 if (PyErr_Occurred()) SWIG_fail
;
17245 arg2
= (int)SWIG_As_int(obj1
);
17246 if (PyErr_Occurred()) SWIG_fail
;
17249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17250 result
= (wxFocusEvent
*)new wxFocusEvent(arg1
,arg2
);
17252 wxPyEndAllowThreads(__tstate
);
17253 if (PyErr_Occurred()) SWIG_fail
;
17255 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFocusEvent
, 1);
17262 static PyObject
*_wrap_FocusEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17263 PyObject
*resultobj
;
17264 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
17266 PyObject
* obj0
= 0 ;
17267 char *kwnames
[] = {
17268 (char *) "self", NULL
17271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
17272 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFocusEvent
,
17273 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17276 result
= (wxWindow
*)((wxFocusEvent
const *)arg1
)->GetWindow();
17278 wxPyEndAllowThreads(__tstate
);
17279 if (PyErr_Occurred()) SWIG_fail
;
17282 resultobj
= wxPyMake_wxObject(result
, 0);
17290 static PyObject
*_wrap_FocusEvent_SetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17291 PyObject
*resultobj
;
17292 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
17293 wxWindow
*arg2
= (wxWindow
*) 0 ;
17294 PyObject
* obj0
= 0 ;
17295 PyObject
* obj1
= 0 ;
17296 char *kwnames
[] = {
17297 (char *) "self",(char *) "win", NULL
17300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FocusEvent_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
17301 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFocusEvent
,
17302 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17303 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
17304 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17307 (arg1
)->SetWindow(arg2
);
17309 wxPyEndAllowThreads(__tstate
);
17310 if (PyErr_Occurred()) SWIG_fail
;
17312 Py_INCREF(Py_None
); resultobj
= Py_None
;
17319 static PyObject
* FocusEvent_swigregister(PyObject
*, PyObject
*args
) {
17321 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17322 SWIG_TypeClientData(SWIGTYPE_p_wxFocusEvent
, obj
);
17324 return Py_BuildValue((char *)"");
17326 static PyObject
*_wrap_new_ChildFocusEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17327 PyObject
*resultobj
;
17328 wxWindow
*arg1
= (wxWindow
*) NULL
;
17329 wxChildFocusEvent
*result
;
17330 PyObject
* obj0
= 0 ;
17331 char *kwnames
[] = {
17332 (char *) "win", NULL
17335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ChildFocusEvent",kwnames
,&obj0
)) goto fail
;
17337 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
17338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17342 result
= (wxChildFocusEvent
*)new wxChildFocusEvent(arg1
);
17344 wxPyEndAllowThreads(__tstate
);
17345 if (PyErr_Occurred()) SWIG_fail
;
17347 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChildFocusEvent
, 1);
17354 static PyObject
*_wrap_ChildFocusEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17355 PyObject
*resultobj
;
17356 wxChildFocusEvent
*arg1
= (wxChildFocusEvent
*) 0 ;
17358 PyObject
* obj0
= 0 ;
17359 char *kwnames
[] = {
17360 (char *) "self", NULL
17363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ChildFocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
17364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChildFocusEvent
,
17365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17368 result
= (wxWindow
*)((wxChildFocusEvent
const *)arg1
)->GetWindow();
17370 wxPyEndAllowThreads(__tstate
);
17371 if (PyErr_Occurred()) SWIG_fail
;
17374 resultobj
= wxPyMake_wxObject(result
, 0);
17382 static PyObject
* ChildFocusEvent_swigregister(PyObject
*, PyObject
*args
) {
17384 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17385 SWIG_TypeClientData(SWIGTYPE_p_wxChildFocusEvent
, obj
);
17387 return Py_BuildValue((char *)"");
17389 static PyObject
*_wrap_new_ActivateEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17390 PyObject
*resultobj
;
17391 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17392 bool arg2
= (bool) True
;
17393 int arg3
= (int) 0 ;
17394 wxActivateEvent
*result
;
17395 PyObject
* obj0
= 0 ;
17396 PyObject
* obj1
= 0 ;
17397 PyObject
* obj2
= 0 ;
17398 char *kwnames
[] = {
17399 (char *) "type",(char *) "active",(char *) "Id", NULL
17402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ActivateEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17404 arg1
= (wxEventType
)SWIG_As_int(obj0
);
17405 if (PyErr_Occurred()) SWIG_fail
;
17408 arg2
= (bool)SWIG_As_bool(obj1
);
17409 if (PyErr_Occurred()) SWIG_fail
;
17412 arg3
= (int)SWIG_As_int(obj2
);
17413 if (PyErr_Occurred()) SWIG_fail
;
17416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17417 result
= (wxActivateEvent
*)new wxActivateEvent(arg1
,arg2
,arg3
);
17419 wxPyEndAllowThreads(__tstate
);
17420 if (PyErr_Occurred()) SWIG_fail
;
17422 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxActivateEvent
, 1);
17429 static PyObject
*_wrap_ActivateEvent_GetActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17430 PyObject
*resultobj
;
17431 wxActivateEvent
*arg1
= (wxActivateEvent
*) 0 ;
17433 PyObject
* obj0
= 0 ;
17434 char *kwnames
[] = {
17435 (char *) "self", NULL
17438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ActivateEvent_GetActive",kwnames
,&obj0
)) goto fail
;
17439 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxActivateEvent
,
17440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17443 result
= (bool)((wxActivateEvent
const *)arg1
)->GetActive();
17445 wxPyEndAllowThreads(__tstate
);
17446 if (PyErr_Occurred()) SWIG_fail
;
17449 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17457 static PyObject
* ActivateEvent_swigregister(PyObject
*, PyObject
*args
) {
17459 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17460 SWIG_TypeClientData(SWIGTYPE_p_wxActivateEvent
, obj
);
17462 return Py_BuildValue((char *)"");
17464 static PyObject
*_wrap_new_InitDialogEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17465 PyObject
*resultobj
;
17466 int arg1
= (int) 0 ;
17467 wxInitDialogEvent
*result
;
17468 PyObject
* obj0
= 0 ;
17469 char *kwnames
[] = {
17470 (char *) "Id", NULL
17473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_InitDialogEvent",kwnames
,&obj0
)) goto fail
;
17475 arg1
= (int)SWIG_As_int(obj0
);
17476 if (PyErr_Occurred()) SWIG_fail
;
17479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17480 result
= (wxInitDialogEvent
*)new wxInitDialogEvent(arg1
);
17482 wxPyEndAllowThreads(__tstate
);
17483 if (PyErr_Occurred()) SWIG_fail
;
17485 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxInitDialogEvent
, 1);
17492 static PyObject
* InitDialogEvent_swigregister(PyObject
*, PyObject
*args
) {
17494 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17495 SWIG_TypeClientData(SWIGTYPE_p_wxInitDialogEvent
, obj
);
17497 return Py_BuildValue((char *)"");
17499 static PyObject
*_wrap_new_MenuEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17500 PyObject
*resultobj
;
17501 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17502 int arg2
= (int) 0 ;
17503 wxMenu
*arg3
= (wxMenu
*) NULL
;
17504 wxMenuEvent
*result
;
17505 PyObject
* obj0
= 0 ;
17506 PyObject
* obj1
= 0 ;
17507 PyObject
* obj2
= 0 ;
17508 char *kwnames
[] = {
17509 (char *) "type",(char *) "winid",(char *) "menu", NULL
17512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_MenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17514 arg1
= (wxEventType
)SWIG_As_int(obj0
);
17515 if (PyErr_Occurred()) SWIG_fail
;
17518 arg2
= (int)SWIG_As_int(obj1
);
17519 if (PyErr_Occurred()) SWIG_fail
;
17522 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenu
,
17523 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17527 result
= (wxMenuEvent
*)new wxMenuEvent(arg1
,arg2
,arg3
);
17529 wxPyEndAllowThreads(__tstate
);
17530 if (PyErr_Occurred()) SWIG_fail
;
17532 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenuEvent
, 1);
17539 static PyObject
*_wrap_MenuEvent_GetMenuId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17540 PyObject
*resultobj
;
17541 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
17543 PyObject
* obj0
= 0 ;
17544 char *kwnames
[] = {
17545 (char *) "self", NULL
17548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenuId",kwnames
,&obj0
)) goto fail
;
17549 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuEvent
,
17550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17553 result
= (int)((wxMenuEvent
const *)arg1
)->GetMenuId();
17555 wxPyEndAllowThreads(__tstate
);
17556 if (PyErr_Occurred()) SWIG_fail
;
17558 resultobj
= SWIG_From_int((int)result
);
17565 static PyObject
*_wrap_MenuEvent_IsPopup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17566 PyObject
*resultobj
;
17567 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
17569 PyObject
* obj0
= 0 ;
17570 char *kwnames
[] = {
17571 (char *) "self", NULL
17574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_IsPopup",kwnames
,&obj0
)) goto fail
;
17575 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuEvent
,
17576 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17579 result
= (bool)((wxMenuEvent
const *)arg1
)->IsPopup();
17581 wxPyEndAllowThreads(__tstate
);
17582 if (PyErr_Occurred()) SWIG_fail
;
17585 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17593 static PyObject
*_wrap_MenuEvent_GetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17594 PyObject
*resultobj
;
17595 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
17597 PyObject
* obj0
= 0 ;
17598 char *kwnames
[] = {
17599 (char *) "self", NULL
17602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenu",kwnames
,&obj0
)) goto fail
;
17603 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuEvent
,
17604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17607 result
= (wxMenu
*)((wxMenuEvent
const *)arg1
)->GetMenu();
17609 wxPyEndAllowThreads(__tstate
);
17610 if (PyErr_Occurred()) SWIG_fail
;
17613 resultobj
= wxPyMake_wxObject(result
, 0);
17621 static PyObject
* MenuEvent_swigregister(PyObject
*, PyObject
*args
) {
17623 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17624 SWIG_TypeClientData(SWIGTYPE_p_wxMenuEvent
, obj
);
17626 return Py_BuildValue((char *)"");
17628 static PyObject
*_wrap_new_CloseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17629 PyObject
*resultobj
;
17630 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17631 int arg2
= (int) 0 ;
17632 wxCloseEvent
*result
;
17633 PyObject
* obj0
= 0 ;
17634 PyObject
* obj1
= 0 ;
17635 char *kwnames
[] = {
17636 (char *) "type",(char *) "winid", NULL
17639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CloseEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17641 arg1
= (wxEventType
)SWIG_As_int(obj0
);
17642 if (PyErr_Occurred()) SWIG_fail
;
17645 arg2
= (int)SWIG_As_int(obj1
);
17646 if (PyErr_Occurred()) SWIG_fail
;
17649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17650 result
= (wxCloseEvent
*)new wxCloseEvent(arg1
,arg2
);
17652 wxPyEndAllowThreads(__tstate
);
17653 if (PyErr_Occurred()) SWIG_fail
;
17655 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCloseEvent
, 1);
17662 static PyObject
*_wrap_CloseEvent_SetLoggingOff(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17663 PyObject
*resultobj
;
17664 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17666 PyObject
* obj0
= 0 ;
17667 PyObject
* obj1
= 0 ;
17668 char *kwnames
[] = {
17669 (char *) "self",(char *) "logOff", NULL
17672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetLoggingOff",kwnames
,&obj0
,&obj1
)) goto fail
;
17673 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17674 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17675 arg2
= (bool)SWIG_As_bool(obj1
);
17676 if (PyErr_Occurred()) SWIG_fail
;
17678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17679 (arg1
)->SetLoggingOff(arg2
);
17681 wxPyEndAllowThreads(__tstate
);
17682 if (PyErr_Occurred()) SWIG_fail
;
17684 Py_INCREF(Py_None
); resultobj
= Py_None
;
17691 static PyObject
*_wrap_CloseEvent_GetLoggingOff(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17692 PyObject
*resultobj
;
17693 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17695 PyObject
* obj0
= 0 ;
17696 char *kwnames
[] = {
17697 (char *) "self", NULL
17700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetLoggingOff",kwnames
,&obj0
)) goto fail
;
17701 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17702 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17705 result
= (bool)((wxCloseEvent
const *)arg1
)->GetLoggingOff();
17707 wxPyEndAllowThreads(__tstate
);
17708 if (PyErr_Occurred()) SWIG_fail
;
17711 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17719 static PyObject
*_wrap_CloseEvent_Veto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17720 PyObject
*resultobj
;
17721 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17722 bool arg2
= (bool) True
;
17723 PyObject
* obj0
= 0 ;
17724 PyObject
* obj1
= 0 ;
17725 char *kwnames
[] = {
17726 (char *) "self",(char *) "veto", NULL
17729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CloseEvent_Veto",kwnames
,&obj0
,&obj1
)) goto fail
;
17730 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17731 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17733 arg2
= (bool)SWIG_As_bool(obj1
);
17734 if (PyErr_Occurred()) SWIG_fail
;
17737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17738 (arg1
)->Veto(arg2
);
17740 wxPyEndAllowThreads(__tstate
);
17741 if (PyErr_Occurred()) SWIG_fail
;
17743 Py_INCREF(Py_None
); resultobj
= Py_None
;
17750 static PyObject
*_wrap_CloseEvent_SetCanVeto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17751 PyObject
*resultobj
;
17752 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17754 PyObject
* obj0
= 0 ;
17755 PyObject
* obj1
= 0 ;
17756 char *kwnames
[] = {
17757 (char *) "self",(char *) "canVeto", NULL
17760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetCanVeto",kwnames
,&obj0
,&obj1
)) goto fail
;
17761 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17763 arg2
= (bool)SWIG_As_bool(obj1
);
17764 if (PyErr_Occurred()) SWIG_fail
;
17766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17767 (arg1
)->SetCanVeto(arg2
);
17769 wxPyEndAllowThreads(__tstate
);
17770 if (PyErr_Occurred()) SWIG_fail
;
17772 Py_INCREF(Py_None
); resultobj
= Py_None
;
17779 static PyObject
*_wrap_CloseEvent_CanVeto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17780 PyObject
*resultobj
;
17781 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17783 PyObject
* obj0
= 0 ;
17784 char *kwnames
[] = {
17785 (char *) "self", NULL
17788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_CanVeto",kwnames
,&obj0
)) goto fail
;
17789 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17793 result
= (bool)((wxCloseEvent
const *)arg1
)->CanVeto();
17795 wxPyEndAllowThreads(__tstate
);
17796 if (PyErr_Occurred()) SWIG_fail
;
17799 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17807 static PyObject
*_wrap_CloseEvent_GetVeto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17808 PyObject
*resultobj
;
17809 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17811 PyObject
* obj0
= 0 ;
17812 char *kwnames
[] = {
17813 (char *) "self", NULL
17816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetVeto",kwnames
,&obj0
)) goto fail
;
17817 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17818 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17821 result
= (bool)((wxCloseEvent
const *)arg1
)->GetVeto();
17823 wxPyEndAllowThreads(__tstate
);
17824 if (PyErr_Occurred()) SWIG_fail
;
17827 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17835 static PyObject
* CloseEvent_swigregister(PyObject
*, PyObject
*args
) {
17837 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17838 SWIG_TypeClientData(SWIGTYPE_p_wxCloseEvent
, obj
);
17840 return Py_BuildValue((char *)"");
17842 static PyObject
*_wrap_new_ShowEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17843 PyObject
*resultobj
;
17844 int arg1
= (int) 0 ;
17845 bool arg2
= (bool) False
;
17846 wxShowEvent
*result
;
17847 PyObject
* obj0
= 0 ;
17848 PyObject
* obj1
= 0 ;
17849 char *kwnames
[] = {
17850 (char *) "winid",(char *) "show", NULL
17853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ShowEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17855 arg1
= (int)SWIG_As_int(obj0
);
17856 if (PyErr_Occurred()) SWIG_fail
;
17859 arg2
= (bool)SWIG_As_bool(obj1
);
17860 if (PyErr_Occurred()) SWIG_fail
;
17863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17864 result
= (wxShowEvent
*)new wxShowEvent(arg1
,arg2
);
17866 wxPyEndAllowThreads(__tstate
);
17867 if (PyErr_Occurred()) SWIG_fail
;
17869 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxShowEvent
, 1);
17876 static PyObject
*_wrap_ShowEvent_SetShow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17877 PyObject
*resultobj
;
17878 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
17880 PyObject
* obj0
= 0 ;
17881 PyObject
* obj1
= 0 ;
17882 char *kwnames
[] = {
17883 (char *) "self",(char *) "show", NULL
17886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ShowEvent_SetShow",kwnames
,&obj0
,&obj1
)) goto fail
;
17887 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShowEvent
,
17888 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17889 arg2
= (bool)SWIG_As_bool(obj1
);
17890 if (PyErr_Occurred()) SWIG_fail
;
17892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17893 (arg1
)->SetShow(arg2
);
17895 wxPyEndAllowThreads(__tstate
);
17896 if (PyErr_Occurred()) SWIG_fail
;
17898 Py_INCREF(Py_None
); resultobj
= Py_None
;
17905 static PyObject
*_wrap_ShowEvent_GetShow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17906 PyObject
*resultobj
;
17907 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
17909 PyObject
* obj0
= 0 ;
17910 char *kwnames
[] = {
17911 (char *) "self", NULL
17914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShowEvent_GetShow",kwnames
,&obj0
)) goto fail
;
17915 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShowEvent
,
17916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17919 result
= (bool)((wxShowEvent
const *)arg1
)->GetShow();
17921 wxPyEndAllowThreads(__tstate
);
17922 if (PyErr_Occurred()) SWIG_fail
;
17925 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17933 static PyObject
* ShowEvent_swigregister(PyObject
*, PyObject
*args
) {
17935 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17936 SWIG_TypeClientData(SWIGTYPE_p_wxShowEvent
, obj
);
17938 return Py_BuildValue((char *)"");
17940 static PyObject
*_wrap_new_IconizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17941 PyObject
*resultobj
;
17942 int arg1
= (int) 0 ;
17943 bool arg2
= (bool) True
;
17944 wxIconizeEvent
*result
;
17945 PyObject
* obj0
= 0 ;
17946 PyObject
* obj1
= 0 ;
17947 char *kwnames
[] = {
17948 (char *) "id",(char *) "iconized", NULL
17951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconizeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17953 arg1
= (int)SWIG_As_int(obj0
);
17954 if (PyErr_Occurred()) SWIG_fail
;
17957 arg2
= (bool)SWIG_As_bool(obj1
);
17958 if (PyErr_Occurred()) SWIG_fail
;
17961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17962 result
= (wxIconizeEvent
*)new wxIconizeEvent(arg1
,arg2
);
17964 wxPyEndAllowThreads(__tstate
);
17965 if (PyErr_Occurred()) SWIG_fail
;
17967 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconizeEvent
, 1);
17974 static PyObject
*_wrap_IconizeEvent_Iconized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17975 PyObject
*resultobj
;
17976 wxIconizeEvent
*arg1
= (wxIconizeEvent
*) 0 ;
17978 PyObject
* obj0
= 0 ;
17979 char *kwnames
[] = {
17980 (char *) "self", NULL
17983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconizeEvent_Iconized",kwnames
,&obj0
)) goto fail
;
17984 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconizeEvent
,
17985 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17988 result
= (bool)(arg1
)->Iconized();
17990 wxPyEndAllowThreads(__tstate
);
17991 if (PyErr_Occurred()) SWIG_fail
;
17994 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18002 static PyObject
* IconizeEvent_swigregister(PyObject
*, PyObject
*args
) {
18004 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18005 SWIG_TypeClientData(SWIGTYPE_p_wxIconizeEvent
, obj
);
18007 return Py_BuildValue((char *)"");
18009 static PyObject
*_wrap_new_MaximizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18010 PyObject
*resultobj
;
18011 int arg1
= (int) 0 ;
18012 wxMaximizeEvent
*result
;
18013 PyObject
* obj0
= 0 ;
18014 char *kwnames
[] = {
18015 (char *) "id", NULL
18018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MaximizeEvent",kwnames
,&obj0
)) goto fail
;
18020 arg1
= (int)SWIG_As_int(obj0
);
18021 if (PyErr_Occurred()) SWIG_fail
;
18024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18025 result
= (wxMaximizeEvent
*)new wxMaximizeEvent(arg1
);
18027 wxPyEndAllowThreads(__tstate
);
18028 if (PyErr_Occurred()) SWIG_fail
;
18030 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMaximizeEvent
, 1);
18037 static PyObject
* MaximizeEvent_swigregister(PyObject
*, PyObject
*args
) {
18039 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18040 SWIG_TypeClientData(SWIGTYPE_p_wxMaximizeEvent
, obj
);
18042 return Py_BuildValue((char *)"");
18044 static PyObject
*_wrap_DropFilesEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18045 PyObject
*resultobj
;
18046 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
18048 PyObject
* obj0
= 0 ;
18049 char *kwnames
[] = {
18050 (char *) "self", NULL
18053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
18054 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDropFilesEvent
,
18055 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18058 result
= (arg1
)->GetPosition();
18060 wxPyEndAllowThreads(__tstate
);
18061 if (PyErr_Occurred()) SWIG_fail
;
18064 wxPoint
* resultptr
;
18065 resultptr
= new wxPoint((wxPoint
&) result
);
18066 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
18074 static PyObject
*_wrap_DropFilesEvent_GetNumberOfFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18075 PyObject
*resultobj
;
18076 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
18078 PyObject
* obj0
= 0 ;
18079 char *kwnames
[] = {
18080 (char *) "self", NULL
18083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetNumberOfFiles",kwnames
,&obj0
)) goto fail
;
18084 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDropFilesEvent
,
18085 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18088 result
= (int)(arg1
)->GetNumberOfFiles();
18090 wxPyEndAllowThreads(__tstate
);
18091 if (PyErr_Occurred()) SWIG_fail
;
18093 resultobj
= SWIG_From_int((int)result
);
18100 static PyObject
*_wrap_DropFilesEvent_GetFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18101 PyObject
*resultobj
;
18102 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
18104 PyObject
* obj0
= 0 ;
18105 char *kwnames
[] = {
18106 (char *) "self", NULL
18109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetFiles",kwnames
,&obj0
)) goto fail
;
18110 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDropFilesEvent
,
18111 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18114 result
= (PyObject
*)wxDropFilesEvent_GetFiles(arg1
);
18116 wxPyEndAllowThreads(__tstate
);
18117 if (PyErr_Occurred()) SWIG_fail
;
18119 resultobj
= result
;
18126 static PyObject
* DropFilesEvent_swigregister(PyObject
*, PyObject
*args
) {
18128 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18129 SWIG_TypeClientData(SWIGTYPE_p_wxDropFilesEvent
, obj
);
18131 return Py_BuildValue((char *)"");
18133 static PyObject
*_wrap_new_UpdateUIEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18134 PyObject
*resultobj
;
18135 int arg1
= (int) 0 ;
18136 wxUpdateUIEvent
*result
;
18137 PyObject
* obj0
= 0 ;
18138 char *kwnames
[] = {
18139 (char *) "commandId", NULL
18142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_UpdateUIEvent",kwnames
,&obj0
)) goto fail
;
18144 arg1
= (int)SWIG_As_int(obj0
);
18145 if (PyErr_Occurred()) SWIG_fail
;
18148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18149 result
= (wxUpdateUIEvent
*)new wxUpdateUIEvent(arg1
);
18151 wxPyEndAllowThreads(__tstate
);
18152 if (PyErr_Occurred()) SWIG_fail
;
18154 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxUpdateUIEvent
, 1);
18161 static PyObject
*_wrap_UpdateUIEvent_GetChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18162 PyObject
*resultobj
;
18163 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18165 PyObject
* obj0
= 0 ;
18166 char *kwnames
[] = {
18167 (char *) "self", NULL
18170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetChecked",kwnames
,&obj0
)) goto fail
;
18171 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18172 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18175 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetChecked();
18177 wxPyEndAllowThreads(__tstate
);
18178 if (PyErr_Occurred()) SWIG_fail
;
18181 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18189 static PyObject
*_wrap_UpdateUIEvent_GetEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18190 PyObject
*resultobj
;
18191 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18193 PyObject
* obj0
= 0 ;
18194 char *kwnames
[] = {
18195 (char *) "self", NULL
18198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetEnabled",kwnames
,&obj0
)) goto fail
;
18199 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18200 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18203 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetEnabled();
18205 wxPyEndAllowThreads(__tstate
);
18206 if (PyErr_Occurred()) SWIG_fail
;
18209 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18217 static PyObject
*_wrap_UpdateUIEvent_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18218 PyObject
*resultobj
;
18219 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18221 PyObject
* obj0
= 0 ;
18222 char *kwnames
[] = {
18223 (char *) "self", NULL
18226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetText",kwnames
,&obj0
)) goto fail
;
18227 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18231 result
= ((wxUpdateUIEvent
const *)arg1
)->GetText();
18233 wxPyEndAllowThreads(__tstate
);
18234 if (PyErr_Occurred()) SWIG_fail
;
18238 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18240 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18249 static PyObject
*_wrap_UpdateUIEvent_GetSetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18250 PyObject
*resultobj
;
18251 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18253 PyObject
* obj0
= 0 ;
18254 char *kwnames
[] = {
18255 (char *) "self", NULL
18258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetText",kwnames
,&obj0
)) goto fail
;
18259 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18260 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18263 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetText();
18265 wxPyEndAllowThreads(__tstate
);
18266 if (PyErr_Occurred()) SWIG_fail
;
18269 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18277 static PyObject
*_wrap_UpdateUIEvent_GetSetChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18278 PyObject
*resultobj
;
18279 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18281 PyObject
* obj0
= 0 ;
18282 char *kwnames
[] = {
18283 (char *) "self", NULL
18286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetChecked",kwnames
,&obj0
)) goto fail
;
18287 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18291 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetChecked();
18293 wxPyEndAllowThreads(__tstate
);
18294 if (PyErr_Occurred()) SWIG_fail
;
18297 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18305 static PyObject
*_wrap_UpdateUIEvent_GetSetEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18306 PyObject
*resultobj
;
18307 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18309 PyObject
* obj0
= 0 ;
18310 char *kwnames
[] = {
18311 (char *) "self", NULL
18314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetEnabled",kwnames
,&obj0
)) goto fail
;
18315 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18316 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18319 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetEnabled();
18321 wxPyEndAllowThreads(__tstate
);
18322 if (PyErr_Occurred()) SWIG_fail
;
18325 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18333 static PyObject
*_wrap_UpdateUIEvent_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18334 PyObject
*resultobj
;
18335 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18337 PyObject
* obj0
= 0 ;
18338 PyObject
* obj1
= 0 ;
18339 char *kwnames
[] = {
18340 (char *) "self",(char *) "check", NULL
18343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
18344 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18346 arg2
= (bool)SWIG_As_bool(obj1
);
18347 if (PyErr_Occurred()) SWIG_fail
;
18349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18350 (arg1
)->Check(arg2
);
18352 wxPyEndAllowThreads(__tstate
);
18353 if (PyErr_Occurred()) SWIG_fail
;
18355 Py_INCREF(Py_None
); resultobj
= Py_None
;
18362 static PyObject
*_wrap_UpdateUIEvent_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18363 PyObject
*resultobj
;
18364 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18366 PyObject
* obj0
= 0 ;
18367 PyObject
* obj1
= 0 ;
18368 char *kwnames
[] = {
18369 (char *) "self",(char *) "enable", NULL
18372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
18373 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18374 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18375 arg2
= (bool)SWIG_As_bool(obj1
);
18376 if (PyErr_Occurred()) SWIG_fail
;
18378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18379 (arg1
)->Enable(arg2
);
18381 wxPyEndAllowThreads(__tstate
);
18382 if (PyErr_Occurred()) SWIG_fail
;
18384 Py_INCREF(Py_None
); resultobj
= Py_None
;
18391 static PyObject
*_wrap_UpdateUIEvent_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18392 PyObject
*resultobj
;
18393 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18394 wxString
*arg2
= 0 ;
18395 bool temp2
= False
;
18396 PyObject
* obj0
= 0 ;
18397 PyObject
* obj1
= 0 ;
18398 char *kwnames
[] = {
18399 (char *) "self",(char *) "text", NULL
18402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
18403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18406 arg2
= wxString_in_helper(obj1
);
18407 if (arg2
== NULL
) SWIG_fail
;
18411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18412 (arg1
)->SetText((wxString
const &)*arg2
);
18414 wxPyEndAllowThreads(__tstate
);
18415 if (PyErr_Occurred()) SWIG_fail
;
18417 Py_INCREF(Py_None
); resultobj
= Py_None
;
18432 static PyObject
*_wrap_UpdateUIEvent_SetUpdateInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18433 PyObject
*resultobj
;
18435 PyObject
* obj0
= 0 ;
18436 char *kwnames
[] = {
18437 (char *) "updateInterval", NULL
18440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetUpdateInterval",kwnames
,&obj0
)) goto fail
;
18441 arg1
= (long)SWIG_As_long(obj0
);
18442 if (PyErr_Occurred()) SWIG_fail
;
18444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18445 wxUpdateUIEvent::SetUpdateInterval(arg1
);
18447 wxPyEndAllowThreads(__tstate
);
18448 if (PyErr_Occurred()) SWIG_fail
;
18450 Py_INCREF(Py_None
); resultobj
= Py_None
;
18457 static PyObject
*_wrap_UpdateUIEvent_GetUpdateInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18458 PyObject
*resultobj
;
18460 char *kwnames
[] = {
18464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetUpdateInterval",kwnames
)) goto fail
;
18466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18467 result
= (long)wxUpdateUIEvent::GetUpdateInterval();
18469 wxPyEndAllowThreads(__tstate
);
18470 if (PyErr_Occurred()) SWIG_fail
;
18472 resultobj
= SWIG_From_long((long)result
);
18479 static PyObject
*_wrap_UpdateUIEvent_CanUpdate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18480 PyObject
*resultobj
;
18481 wxWindow
*arg1
= (wxWindow
*) 0 ;
18483 PyObject
* obj0
= 0 ;
18484 char *kwnames
[] = {
18485 (char *) "win", NULL
18488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_CanUpdate",kwnames
,&obj0
)) goto fail
;
18489 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
18490 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18493 result
= (bool)wxUpdateUIEvent::CanUpdate(arg1
);
18495 wxPyEndAllowThreads(__tstate
);
18496 if (PyErr_Occurred()) SWIG_fail
;
18499 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18507 static PyObject
*_wrap_UpdateUIEvent_ResetUpdateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18508 PyObject
*resultobj
;
18509 char *kwnames
[] = {
18513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_ResetUpdateTime",kwnames
)) goto fail
;
18515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18516 wxUpdateUIEvent::ResetUpdateTime();
18518 wxPyEndAllowThreads(__tstate
);
18519 if (PyErr_Occurred()) SWIG_fail
;
18521 Py_INCREF(Py_None
); resultobj
= Py_None
;
18528 static PyObject
*_wrap_UpdateUIEvent_SetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18529 PyObject
*resultobj
;
18531 PyObject
* obj0
= 0 ;
18532 char *kwnames
[] = {
18533 (char *) "mode", NULL
18536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetMode",kwnames
,&obj0
)) goto fail
;
18537 arg1
= (int)SWIG_As_int(obj0
);
18538 if (PyErr_Occurred()) SWIG_fail
;
18540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18541 wxUpdateUIEvent::SetMode((wxUpdateUIMode
)arg1
);
18543 wxPyEndAllowThreads(__tstate
);
18544 if (PyErr_Occurred()) SWIG_fail
;
18546 Py_INCREF(Py_None
); resultobj
= Py_None
;
18553 static PyObject
*_wrap_UpdateUIEvent_GetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18554 PyObject
*resultobj
;
18556 char *kwnames
[] = {
18560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetMode",kwnames
)) goto fail
;
18562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18563 result
= (int)wxUpdateUIEvent::GetMode();
18565 wxPyEndAllowThreads(__tstate
);
18566 if (PyErr_Occurred()) SWIG_fail
;
18568 resultobj
= SWIG_From_int((int)result
);
18575 static PyObject
* UpdateUIEvent_swigregister(PyObject
*, PyObject
*args
) {
18577 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18578 SWIG_TypeClientData(SWIGTYPE_p_wxUpdateUIEvent
, obj
);
18580 return Py_BuildValue((char *)"");
18582 static PyObject
*_wrap_new_SysColourChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18583 PyObject
*resultobj
;
18584 wxSysColourChangedEvent
*result
;
18585 char *kwnames
[] = {
18589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SysColourChangedEvent",kwnames
)) goto fail
;
18591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18592 result
= (wxSysColourChangedEvent
*)new wxSysColourChangedEvent();
18594 wxPyEndAllowThreads(__tstate
);
18595 if (PyErr_Occurred()) SWIG_fail
;
18597 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSysColourChangedEvent
, 1);
18604 static PyObject
* SysColourChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
18606 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18607 SWIG_TypeClientData(SWIGTYPE_p_wxSysColourChangedEvent
, obj
);
18609 return Py_BuildValue((char *)"");
18611 static PyObject
*_wrap_new_MouseCaptureChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18612 PyObject
*resultobj
;
18613 int arg1
= (int) 0 ;
18614 wxWindow
*arg2
= (wxWindow
*) NULL
;
18615 wxMouseCaptureChangedEvent
*result
;
18616 PyObject
* obj0
= 0 ;
18617 PyObject
* obj1
= 0 ;
18618 char *kwnames
[] = {
18619 (char *) "winid",(char *) "gainedCapture", NULL
18622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MouseCaptureChangedEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
18624 arg1
= (int)SWIG_As_int(obj0
);
18625 if (PyErr_Occurred()) SWIG_fail
;
18628 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
18629 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18633 result
= (wxMouseCaptureChangedEvent
*)new wxMouseCaptureChangedEvent(arg1
,arg2
);
18635 wxPyEndAllowThreads(__tstate
);
18636 if (PyErr_Occurred()) SWIG_fail
;
18638 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMouseCaptureChangedEvent
, 1);
18645 static PyObject
*_wrap_MouseCaptureChangedEvent_GetCapturedWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18646 PyObject
*resultobj
;
18647 wxMouseCaptureChangedEvent
*arg1
= (wxMouseCaptureChangedEvent
*) 0 ;
18649 PyObject
* obj0
= 0 ;
18650 char *kwnames
[] = {
18651 (char *) "self", NULL
18654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseCaptureChangedEvent_GetCapturedWindow",kwnames
,&obj0
)) goto fail
;
18655 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseCaptureChangedEvent
,
18656 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18659 result
= (wxWindow
*)((wxMouseCaptureChangedEvent
const *)arg1
)->GetCapturedWindow();
18661 wxPyEndAllowThreads(__tstate
);
18662 if (PyErr_Occurred()) SWIG_fail
;
18665 resultobj
= wxPyMake_wxObject(result
, 0);
18673 static PyObject
* MouseCaptureChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
18675 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18676 SWIG_TypeClientData(SWIGTYPE_p_wxMouseCaptureChangedEvent
, obj
);
18678 return Py_BuildValue((char *)"");
18680 static PyObject
*_wrap_new_DisplayChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18681 PyObject
*resultobj
;
18682 wxDisplayChangedEvent
*result
;
18683 char *kwnames
[] = {
18687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DisplayChangedEvent",kwnames
)) goto fail
;
18689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18690 result
= (wxDisplayChangedEvent
*)new wxDisplayChangedEvent();
18692 wxPyEndAllowThreads(__tstate
);
18693 if (PyErr_Occurred()) SWIG_fail
;
18695 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDisplayChangedEvent
, 1);
18702 static PyObject
* DisplayChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
18704 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18705 SWIG_TypeClientData(SWIGTYPE_p_wxDisplayChangedEvent
, obj
);
18707 return Py_BuildValue((char *)"");
18709 static PyObject
*_wrap_new_PaletteChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18710 PyObject
*resultobj
;
18711 int arg1
= (int) 0 ;
18712 wxPaletteChangedEvent
*result
;
18713 PyObject
* obj0
= 0 ;
18714 char *kwnames
[] = {
18715 (char *) "id", NULL
18718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaletteChangedEvent",kwnames
,&obj0
)) goto fail
;
18720 arg1
= (int)SWIG_As_int(obj0
);
18721 if (PyErr_Occurred()) SWIG_fail
;
18724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18725 result
= (wxPaletteChangedEvent
*)new wxPaletteChangedEvent(arg1
);
18727 wxPyEndAllowThreads(__tstate
);
18728 if (PyErr_Occurred()) SWIG_fail
;
18730 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaletteChangedEvent
, 1);
18737 static PyObject
*_wrap_PaletteChangedEvent_SetChangedWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18738 PyObject
*resultobj
;
18739 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
18740 wxWindow
*arg2
= (wxWindow
*) 0 ;
18741 PyObject
* obj0
= 0 ;
18742 PyObject
* obj1
= 0 ;
18743 char *kwnames
[] = {
18744 (char *) "self",(char *) "win", NULL
18747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PaletteChangedEvent_SetChangedWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
18748 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPaletteChangedEvent
,
18749 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18750 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
18751 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18754 (arg1
)->SetChangedWindow(arg2
);
18756 wxPyEndAllowThreads(__tstate
);
18757 if (PyErr_Occurred()) SWIG_fail
;
18759 Py_INCREF(Py_None
); resultobj
= Py_None
;
18766 static PyObject
*_wrap_PaletteChangedEvent_GetChangedWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18767 PyObject
*resultobj
;
18768 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
18770 PyObject
* obj0
= 0 ;
18771 char *kwnames
[] = {
18772 (char *) "self", NULL
18775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PaletteChangedEvent_GetChangedWindow",kwnames
,&obj0
)) goto fail
;
18776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPaletteChangedEvent
,
18777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18780 result
= (wxWindow
*)(arg1
)->GetChangedWindow();
18782 wxPyEndAllowThreads(__tstate
);
18783 if (PyErr_Occurred()) SWIG_fail
;
18786 resultobj
= wxPyMake_wxObject(result
, 0);
18794 static PyObject
* PaletteChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
18796 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18797 SWIG_TypeClientData(SWIGTYPE_p_wxPaletteChangedEvent
, obj
);
18799 return Py_BuildValue((char *)"");
18801 static PyObject
*_wrap_new_QueryNewPaletteEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18802 PyObject
*resultobj
;
18803 int arg1
= (int) 0 ;
18804 wxQueryNewPaletteEvent
*result
;
18805 PyObject
* obj0
= 0 ;
18806 char *kwnames
[] = {
18807 (char *) "winid", NULL
18810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryNewPaletteEvent",kwnames
,&obj0
)) goto fail
;
18812 arg1
= (int)SWIG_As_int(obj0
);
18813 if (PyErr_Occurred()) SWIG_fail
;
18816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18817 result
= (wxQueryNewPaletteEvent
*)new wxQueryNewPaletteEvent(arg1
);
18819 wxPyEndAllowThreads(__tstate
);
18820 if (PyErr_Occurred()) SWIG_fail
;
18822 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxQueryNewPaletteEvent
, 1);
18829 static PyObject
*_wrap_QueryNewPaletteEvent_SetPaletteRealized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18830 PyObject
*resultobj
;
18831 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
18833 PyObject
* obj0
= 0 ;
18834 PyObject
* obj1
= 0 ;
18835 char *kwnames
[] = {
18836 (char *) "self",(char *) "realized", NULL
18839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryNewPaletteEvent_SetPaletteRealized",kwnames
,&obj0
,&obj1
)) goto fail
;
18840 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryNewPaletteEvent
,
18841 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18842 arg2
= (bool)SWIG_As_bool(obj1
);
18843 if (PyErr_Occurred()) SWIG_fail
;
18845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18846 (arg1
)->SetPaletteRealized(arg2
);
18848 wxPyEndAllowThreads(__tstate
);
18849 if (PyErr_Occurred()) SWIG_fail
;
18851 Py_INCREF(Py_None
); resultobj
= Py_None
;
18858 static PyObject
*_wrap_QueryNewPaletteEvent_GetPaletteRealized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18859 PyObject
*resultobj
;
18860 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
18862 PyObject
* obj0
= 0 ;
18863 char *kwnames
[] = {
18864 (char *) "self", NULL
18867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryNewPaletteEvent_GetPaletteRealized",kwnames
,&obj0
)) goto fail
;
18868 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryNewPaletteEvent
,
18869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18872 result
= (bool)((wxQueryNewPaletteEvent
const *)arg1
)->GetPaletteRealized();
18874 wxPyEndAllowThreads(__tstate
);
18875 if (PyErr_Occurred()) SWIG_fail
;
18878 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18886 static PyObject
* QueryNewPaletteEvent_swigregister(PyObject
*, PyObject
*args
) {
18888 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18889 SWIG_TypeClientData(SWIGTYPE_p_wxQueryNewPaletteEvent
, obj
);
18891 return Py_BuildValue((char *)"");
18893 static PyObject
*_wrap_new_NavigationKeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18894 PyObject
*resultobj
;
18895 wxNavigationKeyEvent
*result
;
18896 char *kwnames
[] = {
18900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NavigationKeyEvent",kwnames
)) goto fail
;
18902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18903 result
= (wxNavigationKeyEvent
*)new wxNavigationKeyEvent();
18905 wxPyEndAllowThreads(__tstate
);
18906 if (PyErr_Occurred()) SWIG_fail
;
18908 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNavigationKeyEvent
, 1);
18915 static PyObject
*_wrap_NavigationKeyEvent_GetDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18916 PyObject
*resultobj
;
18917 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18919 PyObject
* obj0
= 0 ;
18920 char *kwnames
[] = {
18921 (char *) "self", NULL
18924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetDirection",kwnames
,&obj0
)) goto fail
;
18925 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18929 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->GetDirection();
18931 wxPyEndAllowThreads(__tstate
);
18932 if (PyErr_Occurred()) SWIG_fail
;
18935 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18943 static PyObject
*_wrap_NavigationKeyEvent_SetDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18944 PyObject
*resultobj
;
18945 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18947 PyObject
* obj0
= 0 ;
18948 PyObject
* obj1
= 0 ;
18949 char *kwnames
[] = {
18950 (char *) "self",(char *) "forward", NULL
18953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetDirection",kwnames
,&obj0
,&obj1
)) goto fail
;
18954 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18955 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18956 arg2
= (bool)SWIG_As_bool(obj1
);
18957 if (PyErr_Occurred()) SWIG_fail
;
18959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18960 (arg1
)->SetDirection(arg2
);
18962 wxPyEndAllowThreads(__tstate
);
18963 if (PyErr_Occurred()) SWIG_fail
;
18965 Py_INCREF(Py_None
); resultobj
= Py_None
;
18972 static PyObject
*_wrap_NavigationKeyEvent_IsWindowChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18973 PyObject
*resultobj
;
18974 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18976 PyObject
* obj0
= 0 ;
18977 char *kwnames
[] = {
18978 (char *) "self", NULL
18981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_IsWindowChange",kwnames
,&obj0
)) goto fail
;
18982 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18983 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18986 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->IsWindowChange();
18988 wxPyEndAllowThreads(__tstate
);
18989 if (PyErr_Occurred()) SWIG_fail
;
18992 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19000 static PyObject
*_wrap_NavigationKeyEvent_SetWindowChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19001 PyObject
*resultobj
;
19002 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
19004 PyObject
* obj0
= 0 ;
19005 PyObject
* obj1
= 0 ;
19006 char *kwnames
[] = {
19007 (char *) "self",(char *) "ischange", NULL
19010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetWindowChange",kwnames
,&obj0
,&obj1
)) goto fail
;
19011 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
19012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19013 arg2
= (bool)SWIG_As_bool(obj1
);
19014 if (PyErr_Occurred()) SWIG_fail
;
19016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19017 (arg1
)->SetWindowChange(arg2
);
19019 wxPyEndAllowThreads(__tstate
);
19020 if (PyErr_Occurred()) SWIG_fail
;
19022 Py_INCREF(Py_None
); resultobj
= Py_None
;
19029 static PyObject
*_wrap_NavigationKeyEvent_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19030 PyObject
*resultobj
;
19031 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
19033 PyObject
* obj0
= 0 ;
19034 PyObject
* obj1
= 0 ;
19035 char *kwnames
[] = {
19036 (char *) "self",(char *) "flags", NULL
19039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
19040 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
19041 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19042 arg2
= (long)SWIG_As_long(obj1
);
19043 if (PyErr_Occurred()) SWIG_fail
;
19045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19046 (arg1
)->SetFlags(arg2
);
19048 wxPyEndAllowThreads(__tstate
);
19049 if (PyErr_Occurred()) SWIG_fail
;
19051 Py_INCREF(Py_None
); resultobj
= Py_None
;
19058 static PyObject
*_wrap_NavigationKeyEvent_GetCurrentFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19059 PyObject
*resultobj
;
19060 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
19062 PyObject
* obj0
= 0 ;
19063 char *kwnames
[] = {
19064 (char *) "self", NULL
19067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetCurrentFocus",kwnames
,&obj0
)) goto fail
;
19068 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
19069 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19072 result
= (wxWindow
*)((wxNavigationKeyEvent
const *)arg1
)->GetCurrentFocus();
19074 wxPyEndAllowThreads(__tstate
);
19075 if (PyErr_Occurred()) SWIG_fail
;
19078 resultobj
= wxPyMake_wxObject(result
, 0);
19086 static PyObject
*_wrap_NavigationKeyEvent_SetCurrentFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19087 PyObject
*resultobj
;
19088 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
19089 wxWindow
*arg2
= (wxWindow
*) 0 ;
19090 PyObject
* obj0
= 0 ;
19091 PyObject
* obj1
= 0 ;
19092 char *kwnames
[] = {
19093 (char *) "self",(char *) "win", NULL
19096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetCurrentFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
19097 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
19098 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19099 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
19100 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19103 (arg1
)->SetCurrentFocus(arg2
);
19105 wxPyEndAllowThreads(__tstate
);
19106 if (PyErr_Occurred()) SWIG_fail
;
19108 Py_INCREF(Py_None
); resultobj
= Py_None
;
19115 static PyObject
* NavigationKeyEvent_swigregister(PyObject
*, PyObject
*args
) {
19117 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19118 SWIG_TypeClientData(SWIGTYPE_p_wxNavigationKeyEvent
, obj
);
19120 return Py_BuildValue((char *)"");
19122 static PyObject
*_wrap_new_WindowCreateEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19123 PyObject
*resultobj
;
19124 wxWindow
*arg1
= (wxWindow
*) NULL
;
19125 wxWindowCreateEvent
*result
;
19126 PyObject
* obj0
= 0 ;
19127 char *kwnames
[] = {
19128 (char *) "win", NULL
19131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowCreateEvent",kwnames
,&obj0
)) goto fail
;
19133 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
19134 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19138 result
= (wxWindowCreateEvent
*)new wxWindowCreateEvent(arg1
);
19140 wxPyEndAllowThreads(__tstate
);
19141 if (PyErr_Occurred()) SWIG_fail
;
19143 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowCreateEvent
, 1);
19150 static PyObject
*_wrap_WindowCreateEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19151 PyObject
*resultobj
;
19152 wxWindowCreateEvent
*arg1
= (wxWindowCreateEvent
*) 0 ;
19154 PyObject
* obj0
= 0 ;
19155 char *kwnames
[] = {
19156 (char *) "self", NULL
19159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowCreateEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
19160 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindowCreateEvent
,
19161 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19164 result
= (wxWindow
*)((wxWindowCreateEvent
const *)arg1
)->GetWindow();
19166 wxPyEndAllowThreads(__tstate
);
19167 if (PyErr_Occurred()) SWIG_fail
;
19170 resultobj
= wxPyMake_wxObject(result
, 0);
19178 static PyObject
* WindowCreateEvent_swigregister(PyObject
*, PyObject
*args
) {
19180 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19181 SWIG_TypeClientData(SWIGTYPE_p_wxWindowCreateEvent
, obj
);
19183 return Py_BuildValue((char *)"");
19185 static PyObject
*_wrap_new_WindowDestroyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19186 PyObject
*resultobj
;
19187 wxWindow
*arg1
= (wxWindow
*) NULL
;
19188 wxWindowDestroyEvent
*result
;
19189 PyObject
* obj0
= 0 ;
19190 char *kwnames
[] = {
19191 (char *) "win", NULL
19194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDestroyEvent",kwnames
,&obj0
)) goto fail
;
19196 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
19197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19201 result
= (wxWindowDestroyEvent
*)new wxWindowDestroyEvent(arg1
);
19203 wxPyEndAllowThreads(__tstate
);
19204 if (PyErr_Occurred()) SWIG_fail
;
19206 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDestroyEvent
, 1);
19213 static PyObject
*_wrap_WindowDestroyEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19214 PyObject
*resultobj
;
19215 wxWindowDestroyEvent
*arg1
= (wxWindowDestroyEvent
*) 0 ;
19217 PyObject
* obj0
= 0 ;
19218 char *kwnames
[] = {
19219 (char *) "self", NULL
19222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowDestroyEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
19223 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindowDestroyEvent
,
19224 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19227 result
= (wxWindow
*)((wxWindowDestroyEvent
const *)arg1
)->GetWindow();
19229 wxPyEndAllowThreads(__tstate
);
19230 if (PyErr_Occurred()) SWIG_fail
;
19233 resultobj
= wxPyMake_wxObject(result
, 0);
19241 static PyObject
* WindowDestroyEvent_swigregister(PyObject
*, PyObject
*args
) {
19243 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19244 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDestroyEvent
, obj
);
19246 return Py_BuildValue((char *)"");
19248 static PyObject
*_wrap_new_ContextMenuEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19249 PyObject
*resultobj
;
19250 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19251 int arg2
= (int) 0 ;
19252 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
19253 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
19254 wxContextMenuEvent
*result
;
19256 PyObject
* obj0
= 0 ;
19257 PyObject
* obj1
= 0 ;
19258 PyObject
* obj2
= 0 ;
19259 char *kwnames
[] = {
19260 (char *) "type",(char *) "winid",(char *) "pt", NULL
19263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ContextMenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19265 arg1
= (wxEventType
)SWIG_As_int(obj0
);
19266 if (PyErr_Occurred()) SWIG_fail
;
19269 arg2
= (int)SWIG_As_int(obj1
);
19270 if (PyErr_Occurred()) SWIG_fail
;
19275 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19280 result
= (wxContextMenuEvent
*)new wxContextMenuEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
19282 wxPyEndAllowThreads(__tstate
);
19283 if (PyErr_Occurred()) SWIG_fail
;
19285 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextMenuEvent
, 1);
19292 static PyObject
*_wrap_ContextMenuEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19293 PyObject
*resultobj
;
19294 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
19296 PyObject
* obj0
= 0 ;
19297 char *kwnames
[] = {
19298 (char *) "self", NULL
19301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextMenuEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
19302 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextMenuEvent
,
19303 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19307 wxPoint
const &_result_ref
= ((wxContextMenuEvent
const *)arg1
)->GetPosition();
19308 result
= (wxPoint
*) &_result_ref
;
19311 wxPyEndAllowThreads(__tstate
);
19312 if (PyErr_Occurred()) SWIG_fail
;
19314 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
19321 static PyObject
*_wrap_ContextMenuEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19322 PyObject
*resultobj
;
19323 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
19324 wxPoint
*arg2
= 0 ;
19326 PyObject
* obj0
= 0 ;
19327 PyObject
* obj1
= 0 ;
19328 char *kwnames
[] = {
19329 (char *) "self",(char *) "pos", NULL
19332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ContextMenuEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
19333 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextMenuEvent
,
19334 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19337 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19341 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
19343 wxPyEndAllowThreads(__tstate
);
19344 if (PyErr_Occurred()) SWIG_fail
;
19346 Py_INCREF(Py_None
); resultobj
= Py_None
;
19353 static PyObject
* ContextMenuEvent_swigregister(PyObject
*, PyObject
*args
) {
19355 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19356 SWIG_TypeClientData(SWIGTYPE_p_wxContextMenuEvent
, obj
);
19358 return Py_BuildValue((char *)"");
19360 static PyObject
*_wrap_new_IdleEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19361 PyObject
*resultobj
;
19362 wxIdleEvent
*result
;
19363 char *kwnames
[] = {
19367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_IdleEvent",kwnames
)) goto fail
;
19369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19370 result
= (wxIdleEvent
*)new wxIdleEvent();
19372 wxPyEndAllowThreads(__tstate
);
19373 if (PyErr_Occurred()) SWIG_fail
;
19375 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIdleEvent
, 1);
19382 static PyObject
*_wrap_IdleEvent_RequestMore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19383 PyObject
*resultobj
;
19384 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
19385 bool arg2
= (bool) True
;
19386 PyObject
* obj0
= 0 ;
19387 PyObject
* obj1
= 0 ;
19388 char *kwnames
[] = {
19389 (char *) "self",(char *) "needMore", NULL
19392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:IdleEvent_RequestMore",kwnames
,&obj0
,&obj1
)) goto fail
;
19393 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIdleEvent
,
19394 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19396 arg2
= (bool)SWIG_As_bool(obj1
);
19397 if (PyErr_Occurred()) SWIG_fail
;
19400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19401 (arg1
)->RequestMore(arg2
);
19403 wxPyEndAllowThreads(__tstate
);
19404 if (PyErr_Occurred()) SWIG_fail
;
19406 Py_INCREF(Py_None
); resultobj
= Py_None
;
19413 static PyObject
*_wrap_IdleEvent_MoreRequested(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19414 PyObject
*resultobj
;
19415 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
19417 PyObject
* obj0
= 0 ;
19418 char *kwnames
[] = {
19419 (char *) "self", NULL
19422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_MoreRequested",kwnames
,&obj0
)) goto fail
;
19423 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIdleEvent
,
19424 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19427 result
= (bool)((wxIdleEvent
const *)arg1
)->MoreRequested();
19429 wxPyEndAllowThreads(__tstate
);
19430 if (PyErr_Occurred()) SWIG_fail
;
19433 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19441 static PyObject
*_wrap_IdleEvent_SetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19442 PyObject
*resultobj
;
19444 PyObject
* obj0
= 0 ;
19445 char *kwnames
[] = {
19446 (char *) "mode", NULL
19449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_SetMode",kwnames
,&obj0
)) goto fail
;
19450 arg1
= (int)SWIG_As_int(obj0
);
19451 if (PyErr_Occurred()) SWIG_fail
;
19453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19454 wxIdleEvent::SetMode((wxIdleMode
)arg1
);
19456 wxPyEndAllowThreads(__tstate
);
19457 if (PyErr_Occurred()) SWIG_fail
;
19459 Py_INCREF(Py_None
); resultobj
= Py_None
;
19466 static PyObject
*_wrap_IdleEvent_GetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19467 PyObject
*resultobj
;
19469 char *kwnames
[] = {
19473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IdleEvent_GetMode",kwnames
)) goto fail
;
19475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19476 result
= (int)wxIdleEvent::GetMode();
19478 wxPyEndAllowThreads(__tstate
);
19479 if (PyErr_Occurred()) SWIG_fail
;
19481 resultobj
= SWIG_From_int((int)result
);
19488 static PyObject
*_wrap_IdleEvent_CanSend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19489 PyObject
*resultobj
;
19490 wxWindow
*arg1
= (wxWindow
*) 0 ;
19492 PyObject
* obj0
= 0 ;
19493 char *kwnames
[] = {
19494 (char *) "win", NULL
19497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_CanSend",kwnames
,&obj0
)) goto fail
;
19498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
19499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19502 result
= (bool)wxIdleEvent::CanSend(arg1
);
19504 wxPyEndAllowThreads(__tstate
);
19505 if (PyErr_Occurred()) SWIG_fail
;
19508 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19516 static PyObject
* IdleEvent_swigregister(PyObject
*, PyObject
*args
) {
19518 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19519 SWIG_TypeClientData(SWIGTYPE_p_wxIdleEvent
, obj
);
19521 return Py_BuildValue((char *)"");
19523 static PyObject
*_wrap_new_PyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19524 PyObject
*resultobj
;
19525 int arg1
= (int) 0 ;
19526 wxEventType arg2
= (wxEventType
) wxEVT_NULL
;
19528 PyObject
* obj0
= 0 ;
19529 PyObject
* obj1
= 0 ;
19530 char *kwnames
[] = {
19531 (char *) "winid",(char *) "commandType", NULL
19534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19536 arg1
= (int)SWIG_As_int(obj0
);
19537 if (PyErr_Occurred()) SWIG_fail
;
19540 arg2
= (wxEventType
)SWIG_As_int(obj1
);
19541 if (PyErr_Occurred()) SWIG_fail
;
19544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19545 result
= (wxPyEvent
*)new wxPyEvent(arg1
,arg2
);
19547 wxPyEndAllowThreads(__tstate
);
19548 if (PyErr_Occurred()) SWIG_fail
;
19550 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyEvent
, 1);
19557 static PyObject
*_wrap_delete_PyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19558 PyObject
*resultobj
;
19559 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
19560 PyObject
* obj0
= 0 ;
19561 char *kwnames
[] = {
19562 (char *) "self", NULL
19565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyEvent",kwnames
,&obj0
)) goto fail
;
19566 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEvent
,
19567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19572 wxPyEndAllowThreads(__tstate
);
19573 if (PyErr_Occurred()) SWIG_fail
;
19575 Py_INCREF(Py_None
); resultobj
= Py_None
;
19582 static PyObject
*_wrap_PyEvent_SetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19583 PyObject
*resultobj
;
19584 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
19585 PyObject
*arg2
= (PyObject
*) 0 ;
19586 PyObject
* obj0
= 0 ;
19587 PyObject
* obj1
= 0 ;
19588 char *kwnames
[] = {
19589 (char *) "self",(char *) "self", NULL
19592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEvent_SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
19593 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEvent
,
19594 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19598 (arg1
)->SetSelf(arg2
);
19600 wxPyEndAllowThreads(__tstate
);
19601 if (PyErr_Occurred()) SWIG_fail
;
19603 Py_INCREF(Py_None
); resultobj
= Py_None
;
19610 static PyObject
*_wrap_PyEvent_GetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19611 PyObject
*resultobj
;
19612 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
19614 PyObject
* obj0
= 0 ;
19615 char *kwnames
[] = {
19616 (char *) "self", NULL
19619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyEvent_GetSelf",kwnames
,&obj0
)) goto fail
;
19620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEvent
,
19621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19624 result
= (PyObject
*)(arg1
)->GetSelf();
19626 wxPyEndAllowThreads(__tstate
);
19627 if (PyErr_Occurred()) SWIG_fail
;
19629 resultobj
= result
;
19636 static PyObject
* PyEvent_swigregister(PyObject
*, PyObject
*args
) {
19638 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19639 SWIG_TypeClientData(SWIGTYPE_p_wxPyEvent
, obj
);
19641 return Py_BuildValue((char *)"");
19643 static PyObject
*_wrap_new_PyCommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19644 PyObject
*resultobj
;
19645 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19646 int arg2
= (int) 0 ;
19647 wxPyCommandEvent
*result
;
19648 PyObject
* obj0
= 0 ;
19649 PyObject
* obj1
= 0 ;
19650 char *kwnames
[] = {
19651 (char *) "commandType",(char *) "id", NULL
19654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyCommandEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19656 arg1
= (wxEventType
)SWIG_As_int(obj0
);
19657 if (PyErr_Occurred()) SWIG_fail
;
19660 arg2
= (int)SWIG_As_int(obj1
);
19661 if (PyErr_Occurred()) SWIG_fail
;
19664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19665 result
= (wxPyCommandEvent
*)new wxPyCommandEvent(arg1
,arg2
);
19667 wxPyEndAllowThreads(__tstate
);
19668 if (PyErr_Occurred()) SWIG_fail
;
19670 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyCommandEvent
, 1);
19677 static PyObject
*_wrap_delete_PyCommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19678 PyObject
*resultobj
;
19679 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
19680 PyObject
* obj0
= 0 ;
19681 char *kwnames
[] = {
19682 (char *) "self", NULL
19685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyCommandEvent",kwnames
,&obj0
)) goto fail
;
19686 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCommandEvent
,
19687 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19692 wxPyEndAllowThreads(__tstate
);
19693 if (PyErr_Occurred()) SWIG_fail
;
19695 Py_INCREF(Py_None
); resultobj
= Py_None
;
19702 static PyObject
*_wrap_PyCommandEvent_SetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19703 PyObject
*resultobj
;
19704 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
19705 PyObject
*arg2
= (PyObject
*) 0 ;
19706 PyObject
* obj0
= 0 ;
19707 PyObject
* obj1
= 0 ;
19708 char *kwnames
[] = {
19709 (char *) "self",(char *) "self", NULL
19712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCommandEvent_SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
19713 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCommandEvent
,
19714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19718 (arg1
)->SetSelf(arg2
);
19720 wxPyEndAllowThreads(__tstate
);
19721 if (PyErr_Occurred()) SWIG_fail
;
19723 Py_INCREF(Py_None
); resultobj
= Py_None
;
19730 static PyObject
*_wrap_PyCommandEvent_GetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19731 PyObject
*resultobj
;
19732 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
19734 PyObject
* obj0
= 0 ;
19735 char *kwnames
[] = {
19736 (char *) "self", NULL
19739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCommandEvent_GetSelf",kwnames
,&obj0
)) goto fail
;
19740 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCommandEvent
,
19741 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19744 result
= (PyObject
*)(arg1
)->GetSelf();
19746 wxPyEndAllowThreads(__tstate
);
19747 if (PyErr_Occurred()) SWIG_fail
;
19749 resultobj
= result
;
19756 static PyObject
* PyCommandEvent_swigregister(PyObject
*, PyObject
*args
) {
19758 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19759 SWIG_TypeClientData(SWIGTYPE_p_wxPyCommandEvent
, obj
);
19761 return Py_BuildValue((char *)"");
19763 static PyObject
*_wrap_new_PyApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19764 PyObject
*resultobj
;
19766 char *kwnames
[] = {
19770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyApp",kwnames
)) goto fail
;
19772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19773 result
= (wxPyApp
*)new_wxPyApp();
19775 wxPyEndAllowThreads(__tstate
);
19776 if (PyErr_Occurred()) SWIG_fail
;
19778 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyApp
, 1);
19785 static PyObject
*_wrap_delete_PyApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19786 PyObject
*resultobj
;
19787 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19788 PyObject
* obj0
= 0 ;
19789 char *kwnames
[] = {
19790 (char *) "self", NULL
19793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyApp",kwnames
,&obj0
)) goto fail
;
19794 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19795 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19800 wxPyEndAllowThreads(__tstate
);
19801 if (PyErr_Occurred()) SWIG_fail
;
19803 Py_INCREF(Py_None
); resultobj
= Py_None
;
19810 static PyObject
*_wrap_PyApp__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19811 PyObject
*resultobj
;
19812 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19813 PyObject
*arg2
= (PyObject
*) 0 ;
19814 PyObject
*arg3
= (PyObject
*) 0 ;
19815 PyObject
* obj0
= 0 ;
19816 PyObject
* obj1
= 0 ;
19817 PyObject
* obj2
= 0 ;
19818 char *kwnames
[] = {
19819 (char *) "self",(char *) "self",(char *) "_class", NULL
19822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19823 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19824 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19829 (arg1
)->_setCallbackInfo(arg2
,arg3
);
19831 wxPyEndAllowThreads(__tstate
);
19832 if (PyErr_Occurred()) SWIG_fail
;
19834 Py_INCREF(Py_None
); resultobj
= Py_None
;
19841 static PyObject
*_wrap_PyApp_GetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19842 PyObject
*resultobj
;
19843 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19845 PyObject
* obj0
= 0 ;
19846 char *kwnames
[] = {
19847 (char *) "self", NULL
19850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAppName",kwnames
,&obj0
)) goto fail
;
19851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19855 result
= ((wxPyApp
const *)arg1
)->GetAppName();
19857 wxPyEndAllowThreads(__tstate
);
19858 if (PyErr_Occurred()) SWIG_fail
;
19862 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19864 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19873 static PyObject
*_wrap_PyApp_SetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19874 PyObject
*resultobj
;
19875 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19876 wxString
*arg2
= 0 ;
19877 bool temp2
= False
;
19878 PyObject
* obj0
= 0 ;
19879 PyObject
* obj1
= 0 ;
19880 char *kwnames
[] = {
19881 (char *) "self",(char *) "name", NULL
19884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
;
19885 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19888 arg2
= wxString_in_helper(obj1
);
19889 if (arg2
== NULL
) SWIG_fail
;
19893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19894 (arg1
)->SetAppName((wxString
const &)*arg2
);
19896 wxPyEndAllowThreads(__tstate
);
19897 if (PyErr_Occurred()) SWIG_fail
;
19899 Py_INCREF(Py_None
); resultobj
= Py_None
;
19914 static PyObject
*_wrap_PyApp_GetClassName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19915 PyObject
*resultobj
;
19916 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19918 PyObject
* obj0
= 0 ;
19919 char *kwnames
[] = {
19920 (char *) "self", NULL
19923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetClassName",kwnames
,&obj0
)) goto fail
;
19924 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19928 result
= ((wxPyApp
const *)arg1
)->GetClassName();
19930 wxPyEndAllowThreads(__tstate
);
19931 if (PyErr_Occurred()) SWIG_fail
;
19935 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19937 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19946 static PyObject
*_wrap_PyApp_SetClassName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19947 PyObject
*resultobj
;
19948 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19949 wxString
*arg2
= 0 ;
19950 bool temp2
= False
;
19951 PyObject
* obj0
= 0 ;
19952 PyObject
* obj1
= 0 ;
19953 char *kwnames
[] = {
19954 (char *) "self",(char *) "name", NULL
19957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetClassName",kwnames
,&obj0
,&obj1
)) goto fail
;
19958 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19961 arg2
= wxString_in_helper(obj1
);
19962 if (arg2
== NULL
) SWIG_fail
;
19966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19967 (arg1
)->SetClassName((wxString
const &)*arg2
);
19969 wxPyEndAllowThreads(__tstate
);
19970 if (PyErr_Occurred()) SWIG_fail
;
19972 Py_INCREF(Py_None
); resultobj
= Py_None
;
19987 static PyObject
*_wrap_PyApp_GetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19988 PyObject
*resultobj
;
19989 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19991 PyObject
* obj0
= 0 ;
19992 char *kwnames
[] = {
19993 (char *) "self", NULL
19996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetVendorName",kwnames
,&obj0
)) goto fail
;
19997 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19998 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20002 wxString
const &_result_ref
= ((wxPyApp
const *)arg1
)->GetVendorName();
20003 result
= (wxString
*) &_result_ref
;
20006 wxPyEndAllowThreads(__tstate
);
20007 if (PyErr_Occurred()) SWIG_fail
;
20011 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20013 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20022 static PyObject
*_wrap_PyApp_SetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20023 PyObject
*resultobj
;
20024 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20025 wxString
*arg2
= 0 ;
20026 bool temp2
= False
;
20027 PyObject
* obj0
= 0 ;
20028 PyObject
* obj1
= 0 ;
20029 char *kwnames
[] = {
20030 (char *) "self",(char *) "name", NULL
20033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
;
20034 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20035 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20037 arg2
= wxString_in_helper(obj1
);
20038 if (arg2
== NULL
) SWIG_fail
;
20042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20043 (arg1
)->SetVendorName((wxString
const &)*arg2
);
20045 wxPyEndAllowThreads(__tstate
);
20046 if (PyErr_Occurred()) SWIG_fail
;
20048 Py_INCREF(Py_None
); resultobj
= Py_None
;
20063 static PyObject
*_wrap_PyApp_GetTraits(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20064 PyObject
*resultobj
;
20065 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20066 wxAppTraits
*result
;
20067 PyObject
* obj0
= 0 ;
20068 char *kwnames
[] = {
20069 (char *) "self", NULL
20072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTraits",kwnames
,&obj0
)) goto fail
;
20073 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20077 result
= (wxAppTraits
*)(arg1
)->GetTraits();
20079 wxPyEndAllowThreads(__tstate
);
20080 if (PyErr_Occurred()) SWIG_fail
;
20082 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAppTraits
, 0);
20089 static PyObject
*_wrap_PyApp_ProcessPendingEvents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20090 PyObject
*resultobj
;
20091 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20092 PyObject
* obj0
= 0 ;
20093 char *kwnames
[] = {
20094 (char *) "self", NULL
20097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
20098 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20102 (arg1
)->ProcessPendingEvents();
20104 wxPyEndAllowThreads(__tstate
);
20105 if (PyErr_Occurred()) SWIG_fail
;
20107 Py_INCREF(Py_None
); resultobj
= Py_None
;
20114 static PyObject
*_wrap_PyApp_Yield(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20115 PyObject
*resultobj
;
20116 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20117 bool arg2
= (bool) False
;
20119 PyObject
* obj0
= 0 ;
20120 PyObject
* obj1
= 0 ;
20121 char *kwnames
[] = {
20122 (char *) "self",(char *) "onlyIfNeeded", NULL
20125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyApp_Yield",kwnames
,&obj0
,&obj1
)) goto fail
;
20126 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20127 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20129 arg2
= (bool)SWIG_As_bool(obj1
);
20130 if (PyErr_Occurred()) SWIG_fail
;
20133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20134 result
= (bool)(arg1
)->Yield(arg2
);
20136 wxPyEndAllowThreads(__tstate
);
20137 if (PyErr_Occurred()) SWIG_fail
;
20140 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20148 static PyObject
*_wrap_PyApp_WakeUpIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20149 PyObject
*resultobj
;
20150 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20151 PyObject
* obj0
= 0 ;
20152 char *kwnames
[] = {
20153 (char *) "self", NULL
20156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_WakeUpIdle",kwnames
,&obj0
)) goto fail
;
20157 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20158 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20161 (arg1
)->WakeUpIdle();
20163 wxPyEndAllowThreads(__tstate
);
20164 if (PyErr_Occurred()) SWIG_fail
;
20166 Py_INCREF(Py_None
); resultobj
= Py_None
;
20173 static PyObject
*_wrap_PyApp_MainLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20174 PyObject
*resultobj
;
20175 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20177 PyObject
* obj0
= 0 ;
20178 char *kwnames
[] = {
20179 (char *) "self", NULL
20182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_MainLoop",kwnames
,&obj0
)) goto fail
;
20183 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20184 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20187 result
= (int)(arg1
)->MainLoop();
20189 wxPyEndAllowThreads(__tstate
);
20190 if (PyErr_Occurred()) SWIG_fail
;
20192 resultobj
= SWIG_From_int((int)result
);
20199 static PyObject
*_wrap_PyApp_Exit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20200 PyObject
*resultobj
;
20201 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20202 PyObject
* obj0
= 0 ;
20203 char *kwnames
[] = {
20204 (char *) "self", NULL
20207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Exit",kwnames
,&obj0
)) goto fail
;
20208 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20214 wxPyEndAllowThreads(__tstate
);
20215 if (PyErr_Occurred()) SWIG_fail
;
20217 Py_INCREF(Py_None
); resultobj
= Py_None
;
20224 static PyObject
*_wrap_PyApp_ExitMainLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20225 PyObject
*resultobj
;
20226 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20227 PyObject
* obj0
= 0 ;
20228 char *kwnames
[] = {
20229 (char *) "self", NULL
20232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ExitMainLoop",kwnames
,&obj0
)) goto fail
;
20233 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20234 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20237 (arg1
)->ExitMainLoop();
20239 wxPyEndAllowThreads(__tstate
);
20240 if (PyErr_Occurred()) SWIG_fail
;
20242 Py_INCREF(Py_None
); resultobj
= Py_None
;
20249 static PyObject
*_wrap_PyApp_Pending(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20250 PyObject
*resultobj
;
20251 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20253 PyObject
* obj0
= 0 ;
20254 char *kwnames
[] = {
20255 (char *) "self", NULL
20258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Pending",kwnames
,&obj0
)) goto fail
;
20259 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20260 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20263 result
= (bool)(arg1
)->Pending();
20265 wxPyEndAllowThreads(__tstate
);
20266 if (PyErr_Occurred()) SWIG_fail
;
20269 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20277 static PyObject
*_wrap_PyApp_Dispatch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20278 PyObject
*resultobj
;
20279 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20281 PyObject
* obj0
= 0 ;
20282 char *kwnames
[] = {
20283 (char *) "self", NULL
20286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Dispatch",kwnames
,&obj0
)) goto fail
;
20287 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20291 result
= (bool)(arg1
)->Dispatch();
20293 wxPyEndAllowThreads(__tstate
);
20294 if (PyErr_Occurred()) SWIG_fail
;
20297 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20305 static PyObject
*_wrap_PyApp_ProcessIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20306 PyObject
*resultobj
;
20307 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20309 PyObject
* obj0
= 0 ;
20310 char *kwnames
[] = {
20311 (char *) "self", NULL
20314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessIdle",kwnames
,&obj0
)) goto fail
;
20315 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20316 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20319 result
= (bool)(arg1
)->ProcessIdle();
20321 wxPyEndAllowThreads(__tstate
);
20322 if (PyErr_Occurred()) SWIG_fail
;
20325 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20333 static PyObject
*_wrap_PyApp_SendIdleEvents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20334 PyObject
*resultobj
;
20335 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20336 wxWindow
*arg2
= (wxWindow
*) 0 ;
20337 wxIdleEvent
*arg3
= 0 ;
20339 PyObject
* obj0
= 0 ;
20340 PyObject
* obj1
= 0 ;
20341 PyObject
* obj2
= 0 ;
20342 char *kwnames
[] = {
20343 (char *) "self",(char *) "win",(char *) "event", NULL
20346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp_SendIdleEvents",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20347 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20349 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
20350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20351 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxIdleEvent
,
20352 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20354 if (arg3
== NULL
) {
20355 PyErr_SetString(PyExc_TypeError
,"null reference");
20359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20360 result
= (bool)(arg1
)->SendIdleEvents(arg2
,*arg3
);
20362 wxPyEndAllowThreads(__tstate
);
20363 if (PyErr_Occurred()) SWIG_fail
;
20366 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20374 static PyObject
*_wrap_PyApp_IsActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20375 PyObject
*resultobj
;
20376 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20378 PyObject
* obj0
= 0 ;
20379 char *kwnames
[] = {
20380 (char *) "self", NULL
20383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_IsActive",kwnames
,&obj0
)) goto fail
;
20384 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20388 result
= (bool)((wxPyApp
const *)arg1
)->IsActive();
20390 wxPyEndAllowThreads(__tstate
);
20391 if (PyErr_Occurred()) SWIG_fail
;
20394 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20402 static PyObject
*_wrap_PyApp_SetTopWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20403 PyObject
*resultobj
;
20404 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20405 wxWindow
*arg2
= (wxWindow
*) 0 ;
20406 PyObject
* obj0
= 0 ;
20407 PyObject
* obj1
= 0 ;
20408 char *kwnames
[] = {
20409 (char *) "self",(char *) "win", NULL
20412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetTopWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
20413 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20415 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
20416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20419 (arg1
)->SetTopWindow(arg2
);
20421 wxPyEndAllowThreads(__tstate
);
20422 if (PyErr_Occurred()) SWIG_fail
;
20424 Py_INCREF(Py_None
); resultobj
= Py_None
;
20431 static PyObject
*_wrap_PyApp_GetTopWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20432 PyObject
*resultobj
;
20433 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20435 PyObject
* obj0
= 0 ;
20436 char *kwnames
[] = {
20437 (char *) "self", NULL
20440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTopWindow",kwnames
,&obj0
)) goto fail
;
20441 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20442 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20445 result
= (wxWindow
*)((wxPyApp
const *)arg1
)->GetTopWindow();
20447 wxPyEndAllowThreads(__tstate
);
20448 if (PyErr_Occurred()) SWIG_fail
;
20451 resultobj
= wxPyMake_wxObject(result
, 0);
20459 static PyObject
*_wrap_PyApp_SetExitOnFrameDelete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20460 PyObject
*resultobj
;
20461 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20463 PyObject
* obj0
= 0 ;
20464 PyObject
* obj1
= 0 ;
20465 char *kwnames
[] = {
20466 (char *) "self",(char *) "flag", NULL
20469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetExitOnFrameDelete",kwnames
,&obj0
,&obj1
)) goto fail
;
20470 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20472 arg2
= (bool)SWIG_As_bool(obj1
);
20473 if (PyErr_Occurred()) SWIG_fail
;
20475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20476 (arg1
)->SetExitOnFrameDelete(arg2
);
20478 wxPyEndAllowThreads(__tstate
);
20479 if (PyErr_Occurred()) SWIG_fail
;
20481 Py_INCREF(Py_None
); resultobj
= Py_None
;
20488 static PyObject
*_wrap_PyApp_GetExitOnFrameDelete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20489 PyObject
*resultobj
;
20490 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20492 PyObject
* obj0
= 0 ;
20493 char *kwnames
[] = {
20494 (char *) "self", NULL
20497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetExitOnFrameDelete",kwnames
,&obj0
)) goto fail
;
20498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20502 result
= (bool)((wxPyApp
const *)arg1
)->GetExitOnFrameDelete();
20504 wxPyEndAllowThreads(__tstate
);
20505 if (PyErr_Occurred()) SWIG_fail
;
20508 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20516 static PyObject
*_wrap_PyApp_SetUseBestVisual(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20517 PyObject
*resultobj
;
20518 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20520 PyObject
* obj0
= 0 ;
20521 PyObject
* obj1
= 0 ;
20522 char *kwnames
[] = {
20523 (char *) "self",(char *) "flag", NULL
20526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetUseBestVisual",kwnames
,&obj0
,&obj1
)) goto fail
;
20527 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20528 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20529 arg2
= (bool)SWIG_As_bool(obj1
);
20530 if (PyErr_Occurred()) SWIG_fail
;
20532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20533 (arg1
)->SetUseBestVisual(arg2
);
20535 wxPyEndAllowThreads(__tstate
);
20536 if (PyErr_Occurred()) SWIG_fail
;
20538 Py_INCREF(Py_None
); resultobj
= Py_None
;
20545 static PyObject
*_wrap_PyApp_GetUseBestVisual(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20546 PyObject
*resultobj
;
20547 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20549 PyObject
* obj0
= 0 ;
20550 char *kwnames
[] = {
20551 (char *) "self", NULL
20554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetUseBestVisual",kwnames
,&obj0
)) goto fail
;
20555 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20556 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20559 result
= (bool)((wxPyApp
const *)arg1
)->GetUseBestVisual();
20561 wxPyEndAllowThreads(__tstate
);
20562 if (PyErr_Occurred()) SWIG_fail
;
20565 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20573 static PyObject
*_wrap_PyApp_SetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20574 PyObject
*resultobj
;
20575 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20577 PyObject
* obj0
= 0 ;
20578 PyObject
* obj1
= 0 ;
20579 char *kwnames
[] = {
20580 (char *) "self",(char *) "mode", NULL
20583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetPrintMode",kwnames
,&obj0
,&obj1
)) goto fail
;
20584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20586 arg2
= (int)SWIG_As_int(obj1
);
20587 if (PyErr_Occurred()) SWIG_fail
;
20589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20590 (arg1
)->SetPrintMode(arg2
);
20592 wxPyEndAllowThreads(__tstate
);
20593 if (PyErr_Occurred()) SWIG_fail
;
20595 Py_INCREF(Py_None
); resultobj
= Py_None
;
20602 static PyObject
*_wrap_PyApp_GetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20603 PyObject
*resultobj
;
20604 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20606 PyObject
* obj0
= 0 ;
20607 char *kwnames
[] = {
20608 (char *) "self", NULL
20611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetPrintMode",kwnames
,&obj0
)) goto fail
;
20612 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20613 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20616 result
= (int)((wxPyApp
const *)arg1
)->GetPrintMode();
20618 wxPyEndAllowThreads(__tstate
);
20619 if (PyErr_Occurred()) SWIG_fail
;
20621 resultobj
= SWIG_From_int((int)result
);
20628 static PyObject
*_wrap_PyApp_SetAssertMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20629 PyObject
*resultobj
;
20630 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20632 PyObject
* obj0
= 0 ;
20633 PyObject
* obj1
= 0 ;
20634 char *kwnames
[] = {
20635 (char *) "self",(char *) "mode", NULL
20638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAssertMode",kwnames
,&obj0
,&obj1
)) goto fail
;
20639 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20641 arg2
= (int)SWIG_As_int(obj1
);
20642 if (PyErr_Occurred()) SWIG_fail
;
20644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20645 (arg1
)->SetAssertMode(arg2
);
20647 wxPyEndAllowThreads(__tstate
);
20648 if (PyErr_Occurred()) SWIG_fail
;
20650 Py_INCREF(Py_None
); resultobj
= Py_None
;
20657 static PyObject
*_wrap_PyApp_GetAssertMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20658 PyObject
*resultobj
;
20659 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20661 PyObject
* obj0
= 0 ;
20662 char *kwnames
[] = {
20663 (char *) "self", NULL
20666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAssertMode",kwnames
,&obj0
)) goto fail
;
20667 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20671 result
= (int)(arg1
)->GetAssertMode();
20673 wxPyEndAllowThreads(__tstate
);
20674 if (PyErr_Occurred()) SWIG_fail
;
20676 resultobj
= SWIG_From_int((int)result
);
20683 static PyObject
*_wrap_PyApp_GetMacSupportPCMenuShortcuts(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20684 PyObject
*resultobj
;
20686 char *kwnames
[] = {
20690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacSupportPCMenuShortcuts",kwnames
)) goto fail
;
20692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20693 result
= (bool)wxPyApp::GetMacSupportPCMenuShortcuts();
20695 wxPyEndAllowThreads(__tstate
);
20696 if (PyErr_Occurred()) SWIG_fail
;
20699 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20707 static PyObject
*_wrap_PyApp_GetMacAboutMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20708 PyObject
*resultobj
;
20710 char *kwnames
[] = {
20714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacAboutMenuItemId",kwnames
)) goto fail
;
20716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20717 result
= (long)wxPyApp::GetMacAboutMenuItemId();
20719 wxPyEndAllowThreads(__tstate
);
20720 if (PyErr_Occurred()) SWIG_fail
;
20722 resultobj
= SWIG_From_long((long)result
);
20729 static PyObject
*_wrap_PyApp_GetMacPreferencesMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20730 PyObject
*resultobj
;
20732 char *kwnames
[] = {
20736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacPreferencesMenuItemId",kwnames
)) goto fail
;
20738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20739 result
= (long)wxPyApp::GetMacPreferencesMenuItemId();
20741 wxPyEndAllowThreads(__tstate
);
20742 if (PyErr_Occurred()) SWIG_fail
;
20744 resultobj
= SWIG_From_long((long)result
);
20751 static PyObject
*_wrap_PyApp_GetMacExitMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20752 PyObject
*resultobj
;
20754 char *kwnames
[] = {
20758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacExitMenuItemId",kwnames
)) goto fail
;
20760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20761 result
= (long)wxPyApp::GetMacExitMenuItemId();
20763 wxPyEndAllowThreads(__tstate
);
20764 if (PyErr_Occurred()) SWIG_fail
;
20766 resultobj
= SWIG_From_long((long)result
);
20773 static PyObject
*_wrap_PyApp_GetMacHelpMenuTitleName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20774 PyObject
*resultobj
;
20776 char *kwnames
[] = {
20780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacHelpMenuTitleName",kwnames
)) goto fail
;
20782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20783 result
= wxPyApp::GetMacHelpMenuTitleName();
20785 wxPyEndAllowThreads(__tstate
);
20786 if (PyErr_Occurred()) SWIG_fail
;
20790 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20792 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20801 static PyObject
*_wrap_PyApp_SetMacSupportPCMenuShortcuts(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20802 PyObject
*resultobj
;
20804 PyObject
* obj0
= 0 ;
20805 char *kwnames
[] = {
20806 (char *) "val", NULL
20809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacSupportPCMenuShortcuts",kwnames
,&obj0
)) goto fail
;
20810 arg1
= (bool)SWIG_As_bool(obj0
);
20811 if (PyErr_Occurred()) SWIG_fail
;
20813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20814 wxPyApp::SetMacSupportPCMenuShortcuts(arg1
);
20816 wxPyEndAllowThreads(__tstate
);
20817 if (PyErr_Occurred()) SWIG_fail
;
20819 Py_INCREF(Py_None
); resultobj
= Py_None
;
20826 static PyObject
*_wrap_PyApp_SetMacAboutMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20827 PyObject
*resultobj
;
20829 PyObject
* obj0
= 0 ;
20830 char *kwnames
[] = {
20831 (char *) "val", NULL
20834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacAboutMenuItemId",kwnames
,&obj0
)) goto fail
;
20835 arg1
= (long)SWIG_As_long(obj0
);
20836 if (PyErr_Occurred()) SWIG_fail
;
20838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20839 wxPyApp::SetMacAboutMenuItemId(arg1
);
20841 wxPyEndAllowThreads(__tstate
);
20842 if (PyErr_Occurred()) SWIG_fail
;
20844 Py_INCREF(Py_None
); resultobj
= Py_None
;
20851 static PyObject
*_wrap_PyApp_SetMacPreferencesMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20852 PyObject
*resultobj
;
20854 PyObject
* obj0
= 0 ;
20855 char *kwnames
[] = {
20856 (char *) "val", NULL
20859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacPreferencesMenuItemId",kwnames
,&obj0
)) goto fail
;
20860 arg1
= (long)SWIG_As_long(obj0
);
20861 if (PyErr_Occurred()) SWIG_fail
;
20863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20864 wxPyApp::SetMacPreferencesMenuItemId(arg1
);
20866 wxPyEndAllowThreads(__tstate
);
20867 if (PyErr_Occurred()) SWIG_fail
;
20869 Py_INCREF(Py_None
); resultobj
= Py_None
;
20876 static PyObject
*_wrap_PyApp_SetMacExitMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20877 PyObject
*resultobj
;
20879 PyObject
* obj0
= 0 ;
20880 char *kwnames
[] = {
20881 (char *) "val", NULL
20884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacExitMenuItemId",kwnames
,&obj0
)) goto fail
;
20885 arg1
= (long)SWIG_As_long(obj0
);
20886 if (PyErr_Occurred()) SWIG_fail
;
20888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20889 wxPyApp::SetMacExitMenuItemId(arg1
);
20891 wxPyEndAllowThreads(__tstate
);
20892 if (PyErr_Occurred()) SWIG_fail
;
20894 Py_INCREF(Py_None
); resultobj
= Py_None
;
20901 static PyObject
*_wrap_PyApp_SetMacHelpMenuTitleName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20902 PyObject
*resultobj
;
20903 wxString
*arg1
= 0 ;
20904 bool temp1
= False
;
20905 PyObject
* obj0
= 0 ;
20906 char *kwnames
[] = {
20907 (char *) "val", NULL
20910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacHelpMenuTitleName",kwnames
,&obj0
)) goto fail
;
20912 arg1
= wxString_in_helper(obj0
);
20913 if (arg1
== NULL
) SWIG_fail
;
20917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20918 wxPyApp::SetMacHelpMenuTitleName((wxString
const &)*arg1
);
20920 wxPyEndAllowThreads(__tstate
);
20921 if (PyErr_Occurred()) SWIG_fail
;
20923 Py_INCREF(Py_None
); resultobj
= Py_None
;
20938 static PyObject
*_wrap_PyApp__BootstrapApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20939 PyObject
*resultobj
;
20940 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20941 PyObject
* obj0
= 0 ;
20942 char *kwnames
[] = {
20943 (char *) "self", NULL
20946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp__BootstrapApp",kwnames
,&obj0
)) goto fail
;
20947 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20948 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20951 (arg1
)->_BootstrapApp();
20953 wxPyEndAllowThreads(__tstate
);
20954 if (PyErr_Occurred()) SWIG_fail
;
20956 Py_INCREF(Py_None
); resultobj
= Py_None
;
20963 static PyObject
*_wrap_PyApp_GetComCtl32Version(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20964 PyObject
*resultobj
;
20966 char *kwnames
[] = {
20970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetComCtl32Version",kwnames
)) goto fail
;
20972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20973 result
= (int)wxPyApp::GetComCtl32Version();
20975 wxPyEndAllowThreads(__tstate
);
20976 if (PyErr_Occurred()) SWIG_fail
;
20978 resultobj
= SWIG_From_int((int)result
);
20985 static PyObject
* PyApp_swigregister(PyObject
*, PyObject
*args
) {
20987 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20988 SWIG_TypeClientData(SWIGTYPE_p_wxPyApp
, obj
);
20990 return Py_BuildValue((char *)"");
20992 static PyObject
*_wrap_Exit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20993 PyObject
*resultobj
;
20994 char *kwnames
[] = {
20998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Exit",kwnames
)) goto fail
;
21000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21003 wxPyEndAllowThreads(__tstate
);
21004 if (PyErr_Occurred()) SWIG_fail
;
21006 Py_INCREF(Py_None
); resultobj
= Py_None
;
21013 static PyObject
*_wrap_Yield(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21014 PyObject
*resultobj
;
21016 char *kwnames
[] = {
21020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Yield",kwnames
)) goto fail
;
21022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21023 result
= (bool)wxYield();
21025 wxPyEndAllowThreads(__tstate
);
21026 if (PyErr_Occurred()) SWIG_fail
;
21029 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21037 static PyObject
*_wrap_YieldIfNeeded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21038 PyObject
*resultobj
;
21040 char *kwnames
[] = {
21044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":YieldIfNeeded",kwnames
)) goto fail
;
21046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21047 result
= (bool)wxYieldIfNeeded();
21049 wxPyEndAllowThreads(__tstate
);
21050 if (PyErr_Occurred()) SWIG_fail
;
21053 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21061 static PyObject
*_wrap_SafeYield(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21062 PyObject
*resultobj
;
21063 wxWindow
*arg1
= (wxWindow
*) NULL
;
21064 bool arg2
= (bool) False
;
21066 PyObject
* obj0
= 0 ;
21067 PyObject
* obj1
= 0 ;
21068 char *kwnames
[] = {
21069 (char *) "win",(char *) "onlyIfNeeded", NULL
21072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:SafeYield",kwnames
,&obj0
,&obj1
)) goto fail
;
21074 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21075 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21078 arg2
= (bool)SWIG_As_bool(obj1
);
21079 if (PyErr_Occurred()) SWIG_fail
;
21082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21083 result
= (bool)wxSafeYield(arg1
,arg2
);
21085 wxPyEndAllowThreads(__tstate
);
21086 if (PyErr_Occurred()) SWIG_fail
;
21089 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21097 static PyObject
*_wrap_WakeUpIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21098 PyObject
*resultobj
;
21099 char *kwnames
[] = {
21103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpIdle",kwnames
)) goto fail
;
21105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21108 wxPyEndAllowThreads(__tstate
);
21109 if (PyErr_Occurred()) SWIG_fail
;
21111 Py_INCREF(Py_None
); resultobj
= Py_None
;
21118 static PyObject
*_wrap_PostEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21119 PyObject
*resultobj
;
21120 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
21121 wxEvent
*arg2
= 0 ;
21122 PyObject
* obj0
= 0 ;
21123 PyObject
* obj1
= 0 ;
21124 char *kwnames
[] = {
21125 (char *) "dest",(char *) "event", NULL
21128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
21129 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
21130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21131 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvent
,
21132 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21134 if (arg2
== NULL
) {
21135 PyErr_SetString(PyExc_TypeError
,"null reference");
21139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21140 wxPostEvent(arg1
,*arg2
);
21142 wxPyEndAllowThreads(__tstate
);
21143 if (PyErr_Occurred()) SWIG_fail
;
21145 Py_INCREF(Py_None
); resultobj
= Py_None
;
21152 static PyObject
*_wrap_App_CleanUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21153 PyObject
*resultobj
;
21154 char *kwnames
[] = {
21158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":App_CleanUp",kwnames
)) goto fail
;
21160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21163 wxPyEndAllowThreads(__tstate
);
21164 if (PyErr_Occurred()) SWIG_fail
;
21166 Py_INCREF(Py_None
); resultobj
= Py_None
;
21173 static PyObject
*_wrap_GetApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21174 PyObject
*resultobj
;
21176 char *kwnames
[] = {
21180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetApp",kwnames
)) goto fail
;
21182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21183 result
= (wxPyApp
*)wxPyGetApp();
21185 wxPyEndAllowThreads(__tstate
);
21186 if (PyErr_Occurred()) SWIG_fail
;
21189 resultobj
= wxPyMake_wxObject(result
, 0);
21197 static PyObject
*_wrap_new_AcceleratorEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21198 PyObject
*resultobj
;
21199 int arg1
= (int) 0 ;
21200 int arg2
= (int) 0 ;
21201 int arg3
= (int) 0 ;
21202 wxAcceleratorEntry
*result
;
21203 PyObject
* obj0
= 0 ;
21204 PyObject
* obj1
= 0 ;
21205 PyObject
* obj2
= 0 ;
21206 char *kwnames
[] = {
21207 (char *) "flags",(char *) "keyCode",(char *) "cmdID", NULL
21210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_AcceleratorEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21212 arg1
= (int)SWIG_As_int(obj0
);
21213 if (PyErr_Occurred()) SWIG_fail
;
21216 arg2
= (int)SWIG_As_int(obj1
);
21217 if (PyErr_Occurred()) SWIG_fail
;
21220 arg3
= (int)SWIG_As_int(obj2
);
21221 if (PyErr_Occurred()) SWIG_fail
;
21224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21225 result
= (wxAcceleratorEntry
*)new wxAcceleratorEntry(arg1
,arg2
,arg3
);
21227 wxPyEndAllowThreads(__tstate
);
21228 if (PyErr_Occurred()) SWIG_fail
;
21230 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 1);
21237 static PyObject
*_wrap_delete_AcceleratorEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21238 PyObject
*resultobj
;
21239 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
21240 PyObject
* obj0
= 0 ;
21241 char *kwnames
[] = {
21242 (char *) "self", NULL
21245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorEntry",kwnames
,&obj0
)) goto fail
;
21246 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
21247 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21252 wxPyEndAllowThreads(__tstate
);
21253 if (PyErr_Occurred()) SWIG_fail
;
21255 Py_INCREF(Py_None
); resultobj
= Py_None
;
21262 static PyObject
*_wrap_AcceleratorEntry_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21263 PyObject
*resultobj
;
21264 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
21268 PyObject
* obj0
= 0 ;
21269 PyObject
* obj1
= 0 ;
21270 PyObject
* obj2
= 0 ;
21271 PyObject
* obj3
= 0 ;
21272 char *kwnames
[] = {
21273 (char *) "self",(char *) "flags",(char *) "keyCode",(char *) "cmd", NULL
21276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AcceleratorEntry_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
21278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21279 arg2
= (int)SWIG_As_int(obj1
);
21280 if (PyErr_Occurred()) SWIG_fail
;
21281 arg3
= (int)SWIG_As_int(obj2
);
21282 if (PyErr_Occurred()) SWIG_fail
;
21283 arg4
= (int)SWIG_As_int(obj3
);
21284 if (PyErr_Occurred()) SWIG_fail
;
21286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21287 (arg1
)->Set(arg2
,arg3
,arg4
);
21289 wxPyEndAllowThreads(__tstate
);
21290 if (PyErr_Occurred()) SWIG_fail
;
21292 Py_INCREF(Py_None
); resultobj
= Py_None
;
21299 static PyObject
*_wrap_AcceleratorEntry_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21300 PyObject
*resultobj
;
21301 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
21303 PyObject
* obj0
= 0 ;
21304 char *kwnames
[] = {
21305 (char *) "self", NULL
21308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetFlags",kwnames
,&obj0
)) goto fail
;
21309 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
21310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21313 result
= (int)(arg1
)->GetFlags();
21315 wxPyEndAllowThreads(__tstate
);
21316 if (PyErr_Occurred()) SWIG_fail
;
21318 resultobj
= SWIG_From_int((int)result
);
21325 static PyObject
*_wrap_AcceleratorEntry_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21326 PyObject
*resultobj
;
21327 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
21329 PyObject
* obj0
= 0 ;
21330 char *kwnames
[] = {
21331 (char *) "self", NULL
21334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetKeyCode",kwnames
,&obj0
)) goto fail
;
21335 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
21336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21339 result
= (int)(arg1
)->GetKeyCode();
21341 wxPyEndAllowThreads(__tstate
);
21342 if (PyErr_Occurred()) SWIG_fail
;
21344 resultobj
= SWIG_From_int((int)result
);
21351 static PyObject
*_wrap_AcceleratorEntry_GetCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21352 PyObject
*resultobj
;
21353 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
21355 PyObject
* obj0
= 0 ;
21356 char *kwnames
[] = {
21357 (char *) "self", NULL
21360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetCommand",kwnames
,&obj0
)) goto fail
;
21361 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
21362 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21365 result
= (int)(arg1
)->GetCommand();
21367 wxPyEndAllowThreads(__tstate
);
21368 if (PyErr_Occurred()) SWIG_fail
;
21370 resultobj
= SWIG_From_int((int)result
);
21377 static PyObject
* AcceleratorEntry_swigregister(PyObject
*, PyObject
*args
) {
21379 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21380 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorEntry
, obj
);
21382 return Py_BuildValue((char *)"");
21384 static PyObject
*_wrap_new_AcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21385 PyObject
*resultobj
;
21387 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
21388 wxAcceleratorTable
*result
;
21389 PyObject
* obj0
= 0 ;
21390 char *kwnames
[] = {
21394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
21396 arg2
= wxAcceleratorEntry_LIST_helper(obj0
);
21397 if (arg2
) arg1
= PyList_Size(obj0
);
21401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21402 result
= (wxAcceleratorTable
*)new wxAcceleratorTable(arg1
,(wxAcceleratorEntry
const *)arg2
);
21404 wxPyEndAllowThreads(__tstate
);
21405 if (PyErr_Occurred()) SWIG_fail
;
21407 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorTable
, 1);
21420 static PyObject
*_wrap_delete_AcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21421 PyObject
*resultobj
;
21422 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
21423 PyObject
* obj0
= 0 ;
21424 char *kwnames
[] = {
21425 (char *) "self", NULL
21428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
21429 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorTable
,
21430 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21435 wxPyEndAllowThreads(__tstate
);
21436 if (PyErr_Occurred()) SWIG_fail
;
21438 Py_INCREF(Py_None
); resultobj
= Py_None
;
21445 static PyObject
*_wrap_AcceleratorTable_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21446 PyObject
*resultobj
;
21447 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
21449 PyObject
* obj0
= 0 ;
21450 char *kwnames
[] = {
21451 (char *) "self", NULL
21454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorTable_Ok",kwnames
,&obj0
)) goto fail
;
21455 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorTable
,
21456 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21459 result
= (bool)((wxAcceleratorTable
const *)arg1
)->Ok();
21461 wxPyEndAllowThreads(__tstate
);
21462 if (PyErr_Occurred()) SWIG_fail
;
21465 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21473 static PyObject
* AcceleratorTable_swigregister(PyObject
*, PyObject
*args
) {
21475 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21476 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorTable
, obj
);
21478 return Py_BuildValue((char *)"");
21480 static int _wrap_NullAcceleratorTable_set(PyObject
*) {
21481 PyErr_SetString(PyExc_TypeError
,"Variable NullAcceleratorTable is read-only.");
21486 static PyObject
*_wrap_NullAcceleratorTable_get() {
21489 pyobj
= SWIG_NewPointerObj((void *)(&wxNullAcceleratorTable
), SWIGTYPE_p_wxAcceleratorTable
, 0);
21494 static PyObject
*_wrap_GetAccelFromString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21495 PyObject
*resultobj
;
21496 wxString
*arg1
= 0 ;
21497 wxAcceleratorEntry
*result
;
21498 bool temp1
= False
;
21499 PyObject
* obj0
= 0 ;
21500 char *kwnames
[] = {
21501 (char *) "label", NULL
21504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetAccelFromString",kwnames
,&obj0
)) goto fail
;
21506 arg1
= wxString_in_helper(obj0
);
21507 if (arg1
== NULL
) SWIG_fail
;
21511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21512 result
= (wxAcceleratorEntry
*)wxGetAccelFromString((wxString
const &)*arg1
);
21514 wxPyEndAllowThreads(__tstate
);
21515 if (PyErr_Occurred()) SWIG_fail
;
21517 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0);
21532 static int _wrap_PanelNameStr_set(PyObject
*) {
21533 PyErr_SetString(PyExc_TypeError
,"Variable PanelNameStr is read-only.");
21538 static PyObject
*_wrap_PanelNameStr_get() {
21543 pyobj
= PyUnicode_FromWideChar((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
21545 pyobj
= PyString_FromStringAndSize((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
21552 static PyObject
*_wrap_new_VisualAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21553 PyObject
*resultobj
;
21554 wxVisualAttributes
*result
;
21555 char *kwnames
[] = {
21559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_VisualAttributes",kwnames
)) goto fail
;
21561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21562 result
= (wxVisualAttributes
*)new_wxVisualAttributes();
21564 wxPyEndAllowThreads(__tstate
);
21565 if (PyErr_Occurred()) SWIG_fail
;
21567 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxVisualAttributes
, 1);
21574 static PyObject
*_wrap_delete_VisualAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21575 PyObject
*resultobj
;
21576 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21577 PyObject
* obj0
= 0 ;
21578 char *kwnames
[] = {
21579 (char *) "self", NULL
21582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_VisualAttributes",kwnames
,&obj0
)) goto fail
;
21583 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21584 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21587 delete_wxVisualAttributes(arg1
);
21589 wxPyEndAllowThreads(__tstate
);
21590 if (PyErr_Occurred()) SWIG_fail
;
21592 Py_INCREF(Py_None
); resultobj
= Py_None
;
21599 static PyObject
*_wrap_VisualAttributes_font_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21600 PyObject
*resultobj
;
21601 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21602 wxFont
*arg2
= (wxFont
*) 0 ;
21603 PyObject
* obj0
= 0 ;
21604 PyObject
* obj1
= 0 ;
21605 char *kwnames
[] = {
21606 (char *) "self",(char *) "font", NULL
21609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_font_set",kwnames
,&obj0
,&obj1
)) goto fail
;
21610 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21611 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21612 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
21613 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21614 if (arg1
) (arg1
)->font
= *arg2
;
21616 Py_INCREF(Py_None
); resultobj
= Py_None
;
21623 static PyObject
*_wrap_VisualAttributes_font_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21624 PyObject
*resultobj
;
21625 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21627 PyObject
* obj0
= 0 ;
21628 char *kwnames
[] = {
21629 (char *) "self", NULL
21632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_font_get",kwnames
,&obj0
)) goto fail
;
21633 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21634 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21635 result
= (wxFont
*)& ((arg1
)->font
);
21637 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 0);
21644 static PyObject
*_wrap_VisualAttributes_colFg_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21645 PyObject
*resultobj
;
21646 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21647 wxColour
*arg2
= (wxColour
*) 0 ;
21648 PyObject
* obj0
= 0 ;
21649 PyObject
* obj1
= 0 ;
21650 char *kwnames
[] = {
21651 (char *) "self",(char *) "colFg", NULL
21654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_colFg_set",kwnames
,&obj0
,&obj1
)) goto fail
;
21655 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21656 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21657 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxColour
,
21658 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21659 if (arg1
) (arg1
)->colFg
= *arg2
;
21661 Py_INCREF(Py_None
); resultobj
= Py_None
;
21668 static PyObject
*_wrap_VisualAttributes_colFg_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21669 PyObject
*resultobj
;
21670 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21672 PyObject
* obj0
= 0 ;
21673 char *kwnames
[] = {
21674 (char *) "self", NULL
21677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_colFg_get",kwnames
,&obj0
)) goto fail
;
21678 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21679 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21680 result
= (wxColour
*)& ((arg1
)->colFg
);
21682 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
21689 static PyObject
*_wrap_VisualAttributes_colBg_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21690 PyObject
*resultobj
;
21691 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21692 wxColour
*arg2
= (wxColour
*) 0 ;
21693 PyObject
* obj0
= 0 ;
21694 PyObject
* obj1
= 0 ;
21695 char *kwnames
[] = {
21696 (char *) "self",(char *) "colBg", NULL
21699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_colBg_set",kwnames
,&obj0
,&obj1
)) goto fail
;
21700 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21702 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxColour
,
21703 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21704 if (arg1
) (arg1
)->colBg
= *arg2
;
21706 Py_INCREF(Py_None
); resultobj
= Py_None
;
21713 static PyObject
*_wrap_VisualAttributes_colBg_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21714 PyObject
*resultobj
;
21715 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21717 PyObject
* obj0
= 0 ;
21718 char *kwnames
[] = {
21719 (char *) "self", NULL
21722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_colBg_get",kwnames
,&obj0
)) goto fail
;
21723 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21724 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21725 result
= (wxColour
*)& ((arg1
)->colBg
);
21727 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
21734 static PyObject
* VisualAttributes_swigregister(PyObject
*, PyObject
*args
) {
21736 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21737 SWIG_TypeClientData(SWIGTYPE_p_wxVisualAttributes
, obj
);
21739 return Py_BuildValue((char *)"");
21741 static PyObject
*_wrap_new_Window(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21742 PyObject
*resultobj
;
21743 wxWindow
*arg1
= (wxWindow
*) 0 ;
21744 int arg2
= (int) (int)-1 ;
21745 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21746 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21747 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21748 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21749 long arg5
= (long) 0 ;
21750 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
21751 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21755 bool temp6
= False
;
21756 PyObject
* obj0
= 0 ;
21757 PyObject
* obj1
= 0 ;
21758 PyObject
* obj2
= 0 ;
21759 PyObject
* obj3
= 0 ;
21760 PyObject
* obj4
= 0 ;
21761 PyObject
* obj5
= 0 ;
21762 char *kwnames
[] = {
21763 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Window",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
21767 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21768 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21770 arg2
= (int)SWIG_As_int(obj1
);
21771 if (PyErr_Occurred()) SWIG_fail
;
21776 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21782 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21786 arg5
= (long)SWIG_As_long(obj4
);
21787 if (PyErr_Occurred()) SWIG_fail
;
21791 arg6
= wxString_in_helper(obj5
);
21792 if (arg6
== NULL
) SWIG_fail
;
21797 if (!wxPyCheckForApp()) SWIG_fail
;
21798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21799 result
= (wxWindow
*)new wxWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21801 wxPyEndAllowThreads(__tstate
);
21802 if (PyErr_Occurred()) SWIG_fail
;
21804 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindow
, 1);
21819 static PyObject
*_wrap_new_PreWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21820 PyObject
*resultobj
;
21822 char *kwnames
[] = {
21826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreWindow",kwnames
)) goto fail
;
21828 if (!wxPyCheckForApp()) SWIG_fail
;
21829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21830 result
= (wxWindow
*)new wxWindow();
21832 wxPyEndAllowThreads(__tstate
);
21833 if (PyErr_Occurred()) SWIG_fail
;
21835 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindow
, 1);
21842 static PyObject
*_wrap_Window_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21843 PyObject
*resultobj
;
21844 wxWindow
*arg1
= (wxWindow
*) 0 ;
21845 wxWindow
*arg2
= (wxWindow
*) 0 ;
21846 int arg3
= (int) (int)-1 ;
21847 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21848 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21849 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21850 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21851 long arg6
= (long) 0 ;
21852 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
21853 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21857 bool temp7
= False
;
21858 PyObject
* obj0
= 0 ;
21859 PyObject
* obj1
= 0 ;
21860 PyObject
* obj2
= 0 ;
21861 PyObject
* obj3
= 0 ;
21862 PyObject
* obj4
= 0 ;
21863 PyObject
* obj5
= 0 ;
21864 PyObject
* obj6
= 0 ;
21865 char *kwnames
[] = {
21866 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Window_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
21870 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21871 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21872 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21873 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21875 arg3
= (int)SWIG_As_int(obj2
);
21876 if (PyErr_Occurred()) SWIG_fail
;
21881 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21887 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21891 arg6
= (long)SWIG_As_long(obj5
);
21892 if (PyErr_Occurred()) SWIG_fail
;
21896 arg7
= wxString_in_helper(obj6
);
21897 if (arg7
== NULL
) SWIG_fail
;
21902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21903 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21905 wxPyEndAllowThreads(__tstate
);
21906 if (PyErr_Occurred()) SWIG_fail
;
21909 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21925 static PyObject
*_wrap_Window_Close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21926 PyObject
*resultobj
;
21927 wxWindow
*arg1
= (wxWindow
*) 0 ;
21928 bool arg2
= (bool) False
;
21930 PyObject
* obj0
= 0 ;
21931 PyObject
* obj1
= 0 ;
21932 char *kwnames
[] = {
21933 (char *) "self",(char *) "force", NULL
21936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Close",kwnames
,&obj0
,&obj1
)) goto fail
;
21937 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21938 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21940 arg2
= (bool)SWIG_As_bool(obj1
);
21941 if (PyErr_Occurred()) SWIG_fail
;
21944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21945 result
= (bool)(arg1
)->Close(arg2
);
21947 wxPyEndAllowThreads(__tstate
);
21948 if (PyErr_Occurred()) SWIG_fail
;
21951 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21959 static PyObject
*_wrap_Window_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21960 PyObject
*resultobj
;
21961 wxWindow
*arg1
= (wxWindow
*) 0 ;
21963 PyObject
* obj0
= 0 ;
21964 char *kwnames
[] = {
21965 (char *) "self", NULL
21968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Destroy",kwnames
,&obj0
)) goto fail
;
21969 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21970 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21973 result
= (bool)(arg1
)->Destroy();
21975 wxPyEndAllowThreads(__tstate
);
21976 if (PyErr_Occurred()) SWIG_fail
;
21979 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21987 static PyObject
*_wrap_Window_DestroyChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21988 PyObject
*resultobj
;
21989 wxWindow
*arg1
= (wxWindow
*) 0 ;
21991 PyObject
* obj0
= 0 ;
21992 char *kwnames
[] = {
21993 (char *) "self", NULL
21996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_DestroyChildren",kwnames
,&obj0
)) goto fail
;
21997 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21998 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22001 result
= (bool)(arg1
)->DestroyChildren();
22003 wxPyEndAllowThreads(__tstate
);
22004 if (PyErr_Occurred()) SWIG_fail
;
22007 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22015 static PyObject
*_wrap_Window_IsBeingDeleted(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22016 PyObject
*resultobj
;
22017 wxWindow
*arg1
= (wxWindow
*) 0 ;
22019 PyObject
* obj0
= 0 ;
22020 char *kwnames
[] = {
22021 (char *) "self", NULL
22024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsBeingDeleted",kwnames
,&obj0
)) goto fail
;
22025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22029 result
= (bool)((wxWindow
const *)arg1
)->IsBeingDeleted();
22031 wxPyEndAllowThreads(__tstate
);
22032 if (PyErr_Occurred()) SWIG_fail
;
22035 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22043 static PyObject
*_wrap_Window_SetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22044 PyObject
*resultobj
;
22045 wxWindow
*arg1
= (wxWindow
*) 0 ;
22046 wxString
*arg2
= 0 ;
22047 bool temp2
= False
;
22048 PyObject
* obj0
= 0 ;
22049 PyObject
* obj1
= 0 ;
22050 char *kwnames
[] = {
22051 (char *) "self",(char *) "title", NULL
22054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
22055 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22056 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22058 arg2
= wxString_in_helper(obj1
);
22059 if (arg2
== NULL
) SWIG_fail
;
22063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22064 (arg1
)->SetTitle((wxString
const &)*arg2
);
22066 wxPyEndAllowThreads(__tstate
);
22067 if (PyErr_Occurred()) SWIG_fail
;
22069 Py_INCREF(Py_None
); resultobj
= Py_None
;
22084 static PyObject
*_wrap_Window_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22085 PyObject
*resultobj
;
22086 wxWindow
*arg1
= (wxWindow
*) 0 ;
22088 PyObject
* obj0
= 0 ;
22089 char *kwnames
[] = {
22090 (char *) "self", NULL
22093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetTitle",kwnames
,&obj0
)) goto fail
;
22094 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22095 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22098 result
= ((wxWindow
const *)arg1
)->GetTitle();
22100 wxPyEndAllowThreads(__tstate
);
22101 if (PyErr_Occurred()) SWIG_fail
;
22105 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22107 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22116 static PyObject
*_wrap_Window_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22117 PyObject
*resultobj
;
22118 wxWindow
*arg1
= (wxWindow
*) 0 ;
22119 wxString
*arg2
= 0 ;
22120 bool temp2
= False
;
22121 PyObject
* obj0
= 0 ;
22122 PyObject
* obj1
= 0 ;
22123 char *kwnames
[] = {
22124 (char *) "self",(char *) "label", NULL
22127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
22128 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22131 arg2
= wxString_in_helper(obj1
);
22132 if (arg2
== NULL
) SWIG_fail
;
22136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22137 (arg1
)->SetLabel((wxString
const &)*arg2
);
22139 wxPyEndAllowThreads(__tstate
);
22140 if (PyErr_Occurred()) SWIG_fail
;
22142 Py_INCREF(Py_None
); resultobj
= Py_None
;
22157 static PyObject
*_wrap_Window_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22158 PyObject
*resultobj
;
22159 wxWindow
*arg1
= (wxWindow
*) 0 ;
22161 PyObject
* obj0
= 0 ;
22162 char *kwnames
[] = {
22163 (char *) "self", NULL
22166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetLabel",kwnames
,&obj0
)) goto fail
;
22167 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22168 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22171 result
= ((wxWindow
const *)arg1
)->GetLabel();
22173 wxPyEndAllowThreads(__tstate
);
22174 if (PyErr_Occurred()) SWIG_fail
;
22178 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22180 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22189 static PyObject
*_wrap_Window_SetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22190 PyObject
*resultobj
;
22191 wxWindow
*arg1
= (wxWindow
*) 0 ;
22192 wxString
*arg2
= 0 ;
22193 bool temp2
= False
;
22194 PyObject
* obj0
= 0 ;
22195 PyObject
* obj1
= 0 ;
22196 char *kwnames
[] = {
22197 (char *) "self",(char *) "name", NULL
22200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
22201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22204 arg2
= wxString_in_helper(obj1
);
22205 if (arg2
== NULL
) SWIG_fail
;
22209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22210 (arg1
)->SetName((wxString
const &)*arg2
);
22212 wxPyEndAllowThreads(__tstate
);
22213 if (PyErr_Occurred()) SWIG_fail
;
22215 Py_INCREF(Py_None
); resultobj
= Py_None
;
22230 static PyObject
*_wrap_Window_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22231 PyObject
*resultobj
;
22232 wxWindow
*arg1
= (wxWindow
*) 0 ;
22234 PyObject
* obj0
= 0 ;
22235 char *kwnames
[] = {
22236 (char *) "self", NULL
22239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetName",kwnames
,&obj0
)) goto fail
;
22240 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22241 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22244 result
= ((wxWindow
const *)arg1
)->GetName();
22246 wxPyEndAllowThreads(__tstate
);
22247 if (PyErr_Occurred()) SWIG_fail
;
22251 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22253 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22262 static PyObject
*_wrap_Window_SetWindowVariant(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22263 PyObject
*resultobj
;
22264 wxWindow
*arg1
= (wxWindow
*) 0 ;
22266 PyObject
* obj0
= 0 ;
22267 PyObject
* obj1
= 0 ;
22268 char *kwnames
[] = {
22269 (char *) "self",(char *) "variant", NULL
22272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowVariant",kwnames
,&obj0
,&obj1
)) goto fail
;
22273 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22275 arg2
= (int)SWIG_As_int(obj1
);
22276 if (PyErr_Occurred()) SWIG_fail
;
22278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22279 (arg1
)->SetWindowVariant((wxWindowVariant
)arg2
);
22281 wxPyEndAllowThreads(__tstate
);
22282 if (PyErr_Occurred()) SWIG_fail
;
22284 Py_INCREF(Py_None
); resultobj
= Py_None
;
22291 static PyObject
*_wrap_Window_GetWindowVariant(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22292 PyObject
*resultobj
;
22293 wxWindow
*arg1
= (wxWindow
*) 0 ;
22295 PyObject
* obj0
= 0 ;
22296 char *kwnames
[] = {
22297 (char *) "self", NULL
22300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowVariant",kwnames
,&obj0
)) goto fail
;
22301 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22302 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22305 result
= (int)((wxWindow
const *)arg1
)->GetWindowVariant();
22307 wxPyEndAllowThreads(__tstate
);
22308 if (PyErr_Occurred()) SWIG_fail
;
22310 resultobj
= SWIG_From_int((int)result
);
22317 static PyObject
*_wrap_Window_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22318 PyObject
*resultobj
;
22319 wxWindow
*arg1
= (wxWindow
*) 0 ;
22321 PyObject
* obj0
= 0 ;
22322 PyObject
* obj1
= 0 ;
22323 char *kwnames
[] = {
22324 (char *) "self",(char *) "winid", NULL
22327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
22328 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22329 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22330 arg2
= (int)SWIG_As_int(obj1
);
22331 if (PyErr_Occurred()) SWIG_fail
;
22333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22334 (arg1
)->SetId(arg2
);
22336 wxPyEndAllowThreads(__tstate
);
22337 if (PyErr_Occurred()) SWIG_fail
;
22339 Py_INCREF(Py_None
); resultobj
= Py_None
;
22346 static PyObject
*_wrap_Window_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22347 PyObject
*resultobj
;
22348 wxWindow
*arg1
= (wxWindow
*) 0 ;
22350 PyObject
* obj0
= 0 ;
22351 char *kwnames
[] = {
22352 (char *) "self", NULL
22355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetId",kwnames
,&obj0
)) goto fail
;
22356 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22360 result
= (int)((wxWindow
const *)arg1
)->GetId();
22362 wxPyEndAllowThreads(__tstate
);
22363 if (PyErr_Occurred()) SWIG_fail
;
22365 resultobj
= SWIG_From_int((int)result
);
22372 static PyObject
*_wrap_Window_NewControlId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22373 PyObject
*resultobj
;
22375 char *kwnames
[] = {
22379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_NewControlId",kwnames
)) goto fail
;
22381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22382 result
= (int)wxWindow::NewControlId();
22384 wxPyEndAllowThreads(__tstate
);
22385 if (PyErr_Occurred()) SWIG_fail
;
22387 resultobj
= SWIG_From_int((int)result
);
22394 static PyObject
*_wrap_Window_NextControlId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22395 PyObject
*resultobj
;
22398 PyObject
* obj0
= 0 ;
22399 char *kwnames
[] = {
22400 (char *) "winid", NULL
22403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_NextControlId",kwnames
,&obj0
)) goto fail
;
22404 arg1
= (int)SWIG_As_int(obj0
);
22405 if (PyErr_Occurred()) SWIG_fail
;
22407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22408 result
= (int)wxWindow::NextControlId(arg1
);
22410 wxPyEndAllowThreads(__tstate
);
22411 if (PyErr_Occurred()) SWIG_fail
;
22413 resultobj
= SWIG_From_int((int)result
);
22420 static PyObject
*_wrap_Window_PrevControlId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22421 PyObject
*resultobj
;
22424 PyObject
* obj0
= 0 ;
22425 char *kwnames
[] = {
22426 (char *) "winid", NULL
22429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PrevControlId",kwnames
,&obj0
)) goto fail
;
22430 arg1
= (int)SWIG_As_int(obj0
);
22431 if (PyErr_Occurred()) SWIG_fail
;
22433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22434 result
= (int)wxWindow::PrevControlId(arg1
);
22436 wxPyEndAllowThreads(__tstate
);
22437 if (PyErr_Occurred()) SWIG_fail
;
22439 resultobj
= SWIG_From_int((int)result
);
22446 static PyObject
*_wrap_Window_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22447 PyObject
*resultobj
;
22448 wxWindow
*arg1
= (wxWindow
*) 0 ;
22451 PyObject
* obj0
= 0 ;
22452 PyObject
* obj1
= 0 ;
22453 char *kwnames
[] = {
22454 (char *) "self",(char *) "size", NULL
22457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
22458 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22459 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22462 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
22465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22466 (arg1
)->SetSize((wxSize
const &)*arg2
);
22468 wxPyEndAllowThreads(__tstate
);
22469 if (PyErr_Occurred()) SWIG_fail
;
22471 Py_INCREF(Py_None
); resultobj
= Py_None
;
22478 static PyObject
*_wrap_Window_SetDimensions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22479 PyObject
*resultobj
;
22480 wxWindow
*arg1
= (wxWindow
*) 0 ;
22485 int arg6
= (int) wxSIZE_AUTO
;
22486 PyObject
* obj0
= 0 ;
22487 PyObject
* obj1
= 0 ;
22488 PyObject
* obj2
= 0 ;
22489 PyObject
* obj3
= 0 ;
22490 PyObject
* obj4
= 0 ;
22491 PyObject
* obj5
= 0 ;
22492 char *kwnames
[] = {
22493 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
22496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetDimensions",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
22497 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22498 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22499 arg2
= (int)SWIG_As_int(obj1
);
22500 if (PyErr_Occurred()) SWIG_fail
;
22501 arg3
= (int)SWIG_As_int(obj2
);
22502 if (PyErr_Occurred()) SWIG_fail
;
22503 arg4
= (int)SWIG_As_int(obj3
);
22504 if (PyErr_Occurred()) SWIG_fail
;
22505 arg5
= (int)SWIG_As_int(obj4
);
22506 if (PyErr_Occurred()) SWIG_fail
;
22508 arg6
= (int)SWIG_As_int(obj5
);
22509 if (PyErr_Occurred()) SWIG_fail
;
22512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22513 (arg1
)->SetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
22515 wxPyEndAllowThreads(__tstate
);
22516 if (PyErr_Occurred()) SWIG_fail
;
22518 Py_INCREF(Py_None
); resultobj
= Py_None
;
22525 static PyObject
*_wrap_Window_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22526 PyObject
*resultobj
;
22527 wxWindow
*arg1
= (wxWindow
*) 0 ;
22529 int arg3
= (int) wxSIZE_AUTO
;
22531 PyObject
* obj0
= 0 ;
22532 PyObject
* obj1
= 0 ;
22533 PyObject
* obj2
= 0 ;
22534 char *kwnames
[] = {
22535 (char *) "self",(char *) "rect",(char *) "sizeFlags", NULL
22538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22539 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22540 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22543 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
22546 arg3
= (int)SWIG_As_int(obj2
);
22547 if (PyErr_Occurred()) SWIG_fail
;
22550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22551 (arg1
)->SetSize((wxRect
const &)*arg2
,arg3
);
22553 wxPyEndAllowThreads(__tstate
);
22554 if (PyErr_Occurred()) SWIG_fail
;
22556 Py_INCREF(Py_None
); resultobj
= Py_None
;
22563 static PyObject
*_wrap_Window_SetSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22564 PyObject
*resultobj
;
22565 wxWindow
*arg1
= (wxWindow
*) 0 ;
22568 PyObject
* obj0
= 0 ;
22569 PyObject
* obj1
= 0 ;
22570 PyObject
* obj2
= 0 ;
22571 char *kwnames
[] = {
22572 (char *) "self",(char *) "width",(char *) "height", NULL
22575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22576 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22578 arg2
= (int)SWIG_As_int(obj1
);
22579 if (PyErr_Occurred()) SWIG_fail
;
22580 arg3
= (int)SWIG_As_int(obj2
);
22581 if (PyErr_Occurred()) SWIG_fail
;
22583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22584 (arg1
)->SetSize(arg2
,arg3
);
22586 wxPyEndAllowThreads(__tstate
);
22587 if (PyErr_Occurred()) SWIG_fail
;
22589 Py_INCREF(Py_None
); resultobj
= Py_None
;
22596 static PyObject
*_wrap_Window_Move(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22597 PyObject
*resultobj
;
22598 wxWindow
*arg1
= (wxWindow
*) 0 ;
22599 wxPoint
*arg2
= 0 ;
22600 int arg3
= (int) wxSIZE_USE_EXISTING
;
22602 PyObject
* obj0
= 0 ;
22603 PyObject
* obj1
= 0 ;
22604 PyObject
* obj2
= 0 ;
22605 char *kwnames
[] = {
22606 (char *) "self",(char *) "pt",(char *) "flags", NULL
22609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_Move",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22610 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22611 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22614 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22617 arg3
= (int)SWIG_As_int(obj2
);
22618 if (PyErr_Occurred()) SWIG_fail
;
22621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22622 (arg1
)->Move((wxPoint
const &)*arg2
,arg3
);
22624 wxPyEndAllowThreads(__tstate
);
22625 if (PyErr_Occurred()) SWIG_fail
;
22627 Py_INCREF(Py_None
); resultobj
= Py_None
;
22634 static PyObject
*_wrap_Window_MoveXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22635 PyObject
*resultobj
;
22636 wxWindow
*arg1
= (wxWindow
*) 0 ;
22639 int arg4
= (int) wxSIZE_USE_EXISTING
;
22640 PyObject
* obj0
= 0 ;
22641 PyObject
* obj1
= 0 ;
22642 PyObject
* obj2
= 0 ;
22643 PyObject
* obj3
= 0 ;
22644 char *kwnames
[] = {
22645 (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL
22648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22649 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22651 arg2
= (int)SWIG_As_int(obj1
);
22652 if (PyErr_Occurred()) SWIG_fail
;
22653 arg3
= (int)SWIG_As_int(obj2
);
22654 if (PyErr_Occurred()) SWIG_fail
;
22656 arg4
= (int)SWIG_As_int(obj3
);
22657 if (PyErr_Occurred()) SWIG_fail
;
22660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22661 (arg1
)->Move(arg2
,arg3
,arg4
);
22663 wxPyEndAllowThreads(__tstate
);
22664 if (PyErr_Occurred()) SWIG_fail
;
22666 Py_INCREF(Py_None
); resultobj
= Py_None
;
22673 static PyObject
*_wrap_Window_SetBestFittingSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22674 PyObject
*resultobj
;
22675 wxWindow
*arg1
= (wxWindow
*) 0 ;
22676 wxSize
const &arg2_defvalue
= wxDefaultSize
;
22677 wxSize
*arg2
= (wxSize
*) &arg2_defvalue
;
22679 PyObject
* obj0
= 0 ;
22680 PyObject
* obj1
= 0 ;
22681 char *kwnames
[] = {
22682 (char *) "self",(char *) "size", NULL
22685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_SetBestFittingSize",kwnames
,&obj0
,&obj1
)) goto fail
;
22686 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22687 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22691 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
22695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22696 (arg1
)->SetBestFittingSize((wxSize
const &)*arg2
);
22698 wxPyEndAllowThreads(__tstate
);
22699 if (PyErr_Occurred()) SWIG_fail
;
22701 Py_INCREF(Py_None
); resultobj
= Py_None
;
22708 static PyObject
*_wrap_Window_Raise(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22709 PyObject
*resultobj
;
22710 wxWindow
*arg1
= (wxWindow
*) 0 ;
22711 PyObject
* obj0
= 0 ;
22712 char *kwnames
[] = {
22713 (char *) "self", NULL
22716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Raise",kwnames
,&obj0
)) goto fail
;
22717 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22718 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22723 wxPyEndAllowThreads(__tstate
);
22724 if (PyErr_Occurred()) SWIG_fail
;
22726 Py_INCREF(Py_None
); resultobj
= Py_None
;
22733 static PyObject
*_wrap_Window_Lower(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22734 PyObject
*resultobj
;
22735 wxWindow
*arg1
= (wxWindow
*) 0 ;
22736 PyObject
* obj0
= 0 ;
22737 char *kwnames
[] = {
22738 (char *) "self", NULL
22741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Lower",kwnames
,&obj0
)) goto fail
;
22742 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22743 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22748 wxPyEndAllowThreads(__tstate
);
22749 if (PyErr_Occurred()) SWIG_fail
;
22751 Py_INCREF(Py_None
); resultobj
= Py_None
;
22758 static PyObject
*_wrap_Window_SetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22759 PyObject
*resultobj
;
22760 wxWindow
*arg1
= (wxWindow
*) 0 ;
22763 PyObject
* obj0
= 0 ;
22764 PyObject
* obj1
= 0 ;
22765 char *kwnames
[] = {
22766 (char *) "self",(char *) "size", NULL
22769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientSize",kwnames
,&obj0
,&obj1
)) goto fail
;
22770 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22774 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
22777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22778 (arg1
)->SetClientSize((wxSize
const &)*arg2
);
22780 wxPyEndAllowThreads(__tstate
);
22781 if (PyErr_Occurred()) SWIG_fail
;
22783 Py_INCREF(Py_None
); resultobj
= Py_None
;
22790 static PyObject
*_wrap_Window_SetClientSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22791 PyObject
*resultobj
;
22792 wxWindow
*arg1
= (wxWindow
*) 0 ;
22795 PyObject
* obj0
= 0 ;
22796 PyObject
* obj1
= 0 ;
22797 PyObject
* obj2
= 0 ;
22798 char *kwnames
[] = {
22799 (char *) "self",(char *) "width",(char *) "height", NULL
22802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetClientSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22803 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22804 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22805 arg2
= (int)SWIG_As_int(obj1
);
22806 if (PyErr_Occurred()) SWIG_fail
;
22807 arg3
= (int)SWIG_As_int(obj2
);
22808 if (PyErr_Occurred()) SWIG_fail
;
22810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22811 (arg1
)->SetClientSize(arg2
,arg3
);
22813 wxPyEndAllowThreads(__tstate
);
22814 if (PyErr_Occurred()) SWIG_fail
;
22816 Py_INCREF(Py_None
); resultobj
= Py_None
;
22823 static PyObject
*_wrap_Window_SetClientRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22824 PyObject
*resultobj
;
22825 wxWindow
*arg1
= (wxWindow
*) 0 ;
22828 PyObject
* obj0
= 0 ;
22829 PyObject
* obj1
= 0 ;
22830 char *kwnames
[] = {
22831 (char *) "self",(char *) "rect", NULL
22834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientRect",kwnames
,&obj0
,&obj1
)) goto fail
;
22835 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22836 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22839 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
22842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22843 (arg1
)->SetClientSize((wxRect
const &)*arg2
);
22845 wxPyEndAllowThreads(__tstate
);
22846 if (PyErr_Occurred()) SWIG_fail
;
22848 Py_INCREF(Py_None
); resultobj
= Py_None
;
22855 static PyObject
*_wrap_Window_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22856 PyObject
*resultobj
;
22857 wxWindow
*arg1
= (wxWindow
*) 0 ;
22859 PyObject
* obj0
= 0 ;
22860 char *kwnames
[] = {
22861 (char *) "self", NULL
22864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPosition",kwnames
,&obj0
)) goto fail
;
22865 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22866 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22869 result
= (arg1
)->GetPosition();
22871 wxPyEndAllowThreads(__tstate
);
22872 if (PyErr_Occurred()) SWIG_fail
;
22875 wxPoint
* resultptr
;
22876 resultptr
= new wxPoint((wxPoint
&) result
);
22877 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
22885 static PyObject
*_wrap_Window_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22886 PyObject
*resultobj
;
22887 wxWindow
*arg1
= (wxWindow
*) 0 ;
22888 int *arg2
= (int *) 0 ;
22889 int *arg3
= (int *) 0 ;
22894 PyObject
* obj0
= 0 ;
22895 char *kwnames
[] = {
22896 (char *) "self", NULL
22899 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
22900 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
22901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
22902 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22903 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22906 (arg1
)->GetPosition(arg2
,arg3
);
22908 wxPyEndAllowThreads(__tstate
);
22909 if (PyErr_Occurred()) SWIG_fail
;
22911 Py_INCREF(Py_None
); resultobj
= Py_None
;
22912 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
22913 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
22914 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
22915 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
22922 static PyObject
*_wrap_Window_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22923 PyObject
*resultobj
;
22924 wxWindow
*arg1
= (wxWindow
*) 0 ;
22926 PyObject
* obj0
= 0 ;
22927 char *kwnames
[] = {
22928 (char *) "self", NULL
22931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSize",kwnames
,&obj0
)) goto fail
;
22932 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22933 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22936 result
= ((wxWindow
const *)arg1
)->GetSize();
22938 wxPyEndAllowThreads(__tstate
);
22939 if (PyErr_Occurred()) SWIG_fail
;
22942 wxSize
* resultptr
;
22943 resultptr
= new wxSize((wxSize
&) result
);
22944 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22952 static PyObject
*_wrap_Window_GetSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22953 PyObject
*resultobj
;
22954 wxWindow
*arg1
= (wxWindow
*) 0 ;
22955 int *arg2
= (int *) 0 ;
22956 int *arg3
= (int *) 0 ;
22961 PyObject
* obj0
= 0 ;
22962 char *kwnames
[] = {
22963 (char *) "self", NULL
22966 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
22967 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
22968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
22969 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22970 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22973 ((wxWindow
const *)arg1
)->GetSize(arg2
,arg3
);
22975 wxPyEndAllowThreads(__tstate
);
22976 if (PyErr_Occurred()) SWIG_fail
;
22978 Py_INCREF(Py_None
); resultobj
= Py_None
;
22979 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
22980 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
22981 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
22982 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
22989 static PyObject
*_wrap_Window_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22990 PyObject
*resultobj
;
22991 wxWindow
*arg1
= (wxWindow
*) 0 ;
22993 PyObject
* obj0
= 0 ;
22994 char *kwnames
[] = {
22995 (char *) "self", NULL
22998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetRect",kwnames
,&obj0
)) goto fail
;
22999 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23000 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23003 result
= ((wxWindow
const *)arg1
)->GetRect();
23005 wxPyEndAllowThreads(__tstate
);
23006 if (PyErr_Occurred()) SWIG_fail
;
23009 wxRect
* resultptr
;
23010 resultptr
= new wxRect((wxRect
&) result
);
23011 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
23019 static PyObject
*_wrap_Window_GetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23020 PyObject
*resultobj
;
23021 wxWindow
*arg1
= (wxWindow
*) 0 ;
23023 PyObject
* obj0
= 0 ;
23024 char *kwnames
[] = {
23025 (char *) "self", NULL
23028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSize",kwnames
,&obj0
)) goto fail
;
23029 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23030 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23033 result
= ((wxWindow
const *)arg1
)->GetClientSize();
23035 wxPyEndAllowThreads(__tstate
);
23036 if (PyErr_Occurred()) SWIG_fail
;
23039 wxSize
* resultptr
;
23040 resultptr
= new wxSize((wxSize
&) result
);
23041 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23049 static PyObject
*_wrap_Window_GetClientSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23050 PyObject
*resultobj
;
23051 wxWindow
*arg1
= (wxWindow
*) 0 ;
23052 int *arg2
= (int *) 0 ;
23053 int *arg3
= (int *) 0 ;
23058 PyObject
* obj0
= 0 ;
23059 char *kwnames
[] = {
23060 (char *) "self", NULL
23063 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
23064 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
23065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSizeTuple",kwnames
,&obj0
)) goto fail
;
23066 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23070 ((wxWindow
const *)arg1
)->GetClientSize(arg2
,arg3
);
23072 wxPyEndAllowThreads(__tstate
);
23073 if (PyErr_Occurred()) SWIG_fail
;
23075 Py_INCREF(Py_None
); resultobj
= Py_None
;
23076 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
23077 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
23078 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
23079 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
23086 static PyObject
*_wrap_Window_GetClientAreaOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23087 PyObject
*resultobj
;
23088 wxWindow
*arg1
= (wxWindow
*) 0 ;
23090 PyObject
* obj0
= 0 ;
23091 char *kwnames
[] = {
23092 (char *) "self", NULL
23095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientAreaOrigin",kwnames
,&obj0
)) goto fail
;
23096 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23097 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23100 result
= ((wxWindow
const *)arg1
)->GetClientAreaOrigin();
23102 wxPyEndAllowThreads(__tstate
);
23103 if (PyErr_Occurred()) SWIG_fail
;
23106 wxPoint
* resultptr
;
23107 resultptr
= new wxPoint((wxPoint
&) result
);
23108 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
23116 static PyObject
*_wrap_Window_GetClientRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23117 PyObject
*resultobj
;
23118 wxWindow
*arg1
= (wxWindow
*) 0 ;
23120 PyObject
* obj0
= 0 ;
23121 char *kwnames
[] = {
23122 (char *) "self", NULL
23125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientRect",kwnames
,&obj0
)) goto fail
;
23126 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23127 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23130 result
= ((wxWindow
const *)arg1
)->GetClientRect();
23132 wxPyEndAllowThreads(__tstate
);
23133 if (PyErr_Occurred()) SWIG_fail
;
23136 wxRect
* resultptr
;
23137 resultptr
= new wxRect((wxRect
&) result
);
23138 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
23146 static PyObject
*_wrap_Window_GetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23147 PyObject
*resultobj
;
23148 wxWindow
*arg1
= (wxWindow
*) 0 ;
23150 PyObject
* obj0
= 0 ;
23151 char *kwnames
[] = {
23152 (char *) "self", NULL
23155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSize",kwnames
,&obj0
)) goto fail
;
23156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23160 result
= ((wxWindow
const *)arg1
)->GetBestSize();
23162 wxPyEndAllowThreads(__tstate
);
23163 if (PyErr_Occurred()) SWIG_fail
;
23166 wxSize
* resultptr
;
23167 resultptr
= new wxSize((wxSize
&) result
);
23168 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23176 static PyObject
*_wrap_Window_GetBestSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23177 PyObject
*resultobj
;
23178 wxWindow
*arg1
= (wxWindow
*) 0 ;
23179 int *arg2
= (int *) 0 ;
23180 int *arg3
= (int *) 0 ;
23185 PyObject
* obj0
= 0 ;
23186 char *kwnames
[] = {
23187 (char *) "self", NULL
23190 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
23191 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
23192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSizeTuple",kwnames
,&obj0
)) goto fail
;
23193 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23194 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23197 ((wxWindow
const *)arg1
)->GetBestSize(arg2
,arg3
);
23199 wxPyEndAllowThreads(__tstate
);
23200 if (PyErr_Occurred()) SWIG_fail
;
23202 Py_INCREF(Py_None
); resultobj
= Py_None
;
23203 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
23204 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
23205 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
23206 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
23213 static PyObject
*_wrap_Window_InvalidateBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23214 PyObject
*resultobj
;
23215 wxWindow
*arg1
= (wxWindow
*) 0 ;
23216 PyObject
* obj0
= 0 ;
23217 char *kwnames
[] = {
23218 (char *) "self", NULL
23221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InvalidateBestSize",kwnames
,&obj0
)) goto fail
;
23222 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23223 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23226 (arg1
)->InvalidateBestSize();
23228 wxPyEndAllowThreads(__tstate
);
23229 if (PyErr_Occurred()) SWIG_fail
;
23231 Py_INCREF(Py_None
); resultobj
= Py_None
;
23238 static PyObject
*_wrap_Window_GetBestFittingSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23239 PyObject
*resultobj
;
23240 wxWindow
*arg1
= (wxWindow
*) 0 ;
23242 PyObject
* obj0
= 0 ;
23243 char *kwnames
[] = {
23244 (char *) "self", NULL
23247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestFittingSize",kwnames
,&obj0
)) goto fail
;
23248 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23252 result
= ((wxWindow
const *)arg1
)->GetBestFittingSize();
23254 wxPyEndAllowThreads(__tstate
);
23255 if (PyErr_Occurred()) SWIG_fail
;
23258 wxSize
* resultptr
;
23259 resultptr
= new wxSize((wxSize
&) result
);
23260 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23268 static PyObject
*_wrap_Window_GetAdjustedBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23269 PyObject
*resultobj
;
23270 wxWindow
*arg1
= (wxWindow
*) 0 ;
23272 PyObject
* obj0
= 0 ;
23273 char *kwnames
[] = {
23274 (char *) "self", NULL
23277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAdjustedBestSize",kwnames
,&obj0
)) goto fail
;
23278 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23279 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23282 result
= ((wxWindow
const *)arg1
)->GetAdjustedBestSize();
23284 wxPyEndAllowThreads(__tstate
);
23285 if (PyErr_Occurred()) SWIG_fail
;
23288 wxSize
* resultptr
;
23289 resultptr
= new wxSize((wxSize
&) result
);
23290 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23298 static PyObject
*_wrap_Window_Center(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23299 PyObject
*resultobj
;
23300 wxWindow
*arg1
= (wxWindow
*) 0 ;
23301 int arg2
= (int) wxBOTH
;
23302 PyObject
* obj0
= 0 ;
23303 PyObject
* obj1
= 0 ;
23304 char *kwnames
[] = {
23305 (char *) "self",(char *) "direction", NULL
23308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Center",kwnames
,&obj0
,&obj1
)) goto fail
;
23309 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23312 arg2
= (int)SWIG_As_int(obj1
);
23313 if (PyErr_Occurred()) SWIG_fail
;
23316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23317 (arg1
)->Center(arg2
);
23319 wxPyEndAllowThreads(__tstate
);
23320 if (PyErr_Occurred()) SWIG_fail
;
23322 Py_INCREF(Py_None
); resultobj
= Py_None
;
23329 static PyObject
*_wrap_Window_CenterOnScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23330 PyObject
*resultobj
;
23331 wxWindow
*arg1
= (wxWindow
*) 0 ;
23332 int arg2
= (int) wxBOTH
;
23333 PyObject
* obj0
= 0 ;
23334 PyObject
* obj1
= 0 ;
23335 char *kwnames
[] = {
23336 (char *) "self",(char *) "dir", NULL
23339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_CenterOnScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
23340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23343 arg2
= (int)SWIG_As_int(obj1
);
23344 if (PyErr_Occurred()) SWIG_fail
;
23347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23348 (arg1
)->CenterOnScreen(arg2
);
23350 wxPyEndAllowThreads(__tstate
);
23351 if (PyErr_Occurred()) SWIG_fail
;
23353 Py_INCREF(Py_None
); resultobj
= Py_None
;
23360 static PyObject
*_wrap_Window_CenterOnParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23361 PyObject
*resultobj
;
23362 wxWindow
*arg1
= (wxWindow
*) 0 ;
23363 int arg2
= (int) wxBOTH
;
23364 PyObject
* obj0
= 0 ;
23365 PyObject
* obj1
= 0 ;
23366 char *kwnames
[] = {
23367 (char *) "self",(char *) "dir", NULL
23370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_CenterOnParent",kwnames
,&obj0
,&obj1
)) goto fail
;
23371 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23372 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23374 arg2
= (int)SWIG_As_int(obj1
);
23375 if (PyErr_Occurred()) SWIG_fail
;
23378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23379 (arg1
)->CenterOnParent(arg2
);
23381 wxPyEndAllowThreads(__tstate
);
23382 if (PyErr_Occurred()) SWIG_fail
;
23384 Py_INCREF(Py_None
); resultobj
= Py_None
;
23391 static PyObject
*_wrap_Window_Fit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23392 PyObject
*resultobj
;
23393 wxWindow
*arg1
= (wxWindow
*) 0 ;
23394 PyObject
* obj0
= 0 ;
23395 char *kwnames
[] = {
23396 (char *) "self", NULL
23399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Fit",kwnames
,&obj0
)) goto fail
;
23400 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23406 wxPyEndAllowThreads(__tstate
);
23407 if (PyErr_Occurred()) SWIG_fail
;
23409 Py_INCREF(Py_None
); resultobj
= Py_None
;
23416 static PyObject
*_wrap_Window_FitInside(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23417 PyObject
*resultobj
;
23418 wxWindow
*arg1
= (wxWindow
*) 0 ;
23419 PyObject
* obj0
= 0 ;
23420 char *kwnames
[] = {
23421 (char *) "self", NULL
23424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_FitInside",kwnames
,&obj0
)) goto fail
;
23425 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23426 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23429 (arg1
)->FitInside();
23431 wxPyEndAllowThreads(__tstate
);
23432 if (PyErr_Occurred()) SWIG_fail
;
23434 Py_INCREF(Py_None
); resultobj
= Py_None
;
23441 static PyObject
*_wrap_Window_SetSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23442 PyObject
*resultobj
;
23443 wxWindow
*arg1
= (wxWindow
*) 0 ;
23446 int arg4
= (int) -1 ;
23447 int arg5
= (int) -1 ;
23448 int arg6
= (int) -1 ;
23449 int arg7
= (int) -1 ;
23450 PyObject
* obj0
= 0 ;
23451 PyObject
* obj1
= 0 ;
23452 PyObject
* obj2
= 0 ;
23453 PyObject
* obj3
= 0 ;
23454 PyObject
* obj4
= 0 ;
23455 PyObject
* obj5
= 0 ;
23456 PyObject
* obj6
= 0 ;
23457 char *kwnames
[] = {
23458 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH",(char *) "incW",(char *) "incH", NULL
23461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Window_SetSizeHints",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
23462 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23463 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23464 arg2
= (int)SWIG_As_int(obj1
);
23465 if (PyErr_Occurred()) SWIG_fail
;
23466 arg3
= (int)SWIG_As_int(obj2
);
23467 if (PyErr_Occurred()) SWIG_fail
;
23469 arg4
= (int)SWIG_As_int(obj3
);
23470 if (PyErr_Occurred()) SWIG_fail
;
23473 arg5
= (int)SWIG_As_int(obj4
);
23474 if (PyErr_Occurred()) SWIG_fail
;
23477 arg6
= (int)SWIG_As_int(obj5
);
23478 if (PyErr_Occurred()) SWIG_fail
;
23481 arg7
= (int)SWIG_As_int(obj6
);
23482 if (PyErr_Occurred()) SWIG_fail
;
23485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23486 (arg1
)->SetSizeHints(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
23488 wxPyEndAllowThreads(__tstate
);
23489 if (PyErr_Occurred()) SWIG_fail
;
23491 Py_INCREF(Py_None
); resultobj
= Py_None
;
23498 static PyObject
*_wrap_Window_SetSizeHintsSz(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23499 PyObject
*resultobj
;
23500 wxWindow
*arg1
= (wxWindow
*) 0 ;
23502 wxSize
const &arg3_defvalue
= wxDefaultSize
;
23503 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
23504 wxSize
const &arg4_defvalue
= wxDefaultSize
;
23505 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
23509 PyObject
* obj0
= 0 ;
23510 PyObject
* obj1
= 0 ;
23511 PyObject
* obj2
= 0 ;
23512 PyObject
* obj3
= 0 ;
23513 char *kwnames
[] = {
23514 (char *) "self",(char *) "minSize",(char *) "maxSize",(char *) "incSize", NULL
23517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Window_SetSizeHintsSz",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
23518 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23519 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23522 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
23527 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
23533 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
23537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23538 (arg1
)->SetSizeHints((wxSize
const &)*arg2
,(wxSize
const &)*arg3
,(wxSize
const &)*arg4
);
23540 wxPyEndAllowThreads(__tstate
);
23541 if (PyErr_Occurred()) SWIG_fail
;
23543 Py_INCREF(Py_None
); resultobj
= Py_None
;
23550 static PyObject
*_wrap_Window_SetVirtualSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23551 PyObject
*resultobj
;
23552 wxWindow
*arg1
= (wxWindow
*) 0 ;
23555 int arg4
= (int) -1 ;
23556 int arg5
= (int) -1 ;
23557 PyObject
* obj0
= 0 ;
23558 PyObject
* obj1
= 0 ;
23559 PyObject
* obj2
= 0 ;
23560 PyObject
* obj3
= 0 ;
23561 PyObject
* obj4
= 0 ;
23562 char *kwnames
[] = {
23563 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH", NULL
23566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Window_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
23567 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23568 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23569 arg2
= (int)SWIG_As_int(obj1
);
23570 if (PyErr_Occurred()) SWIG_fail
;
23571 arg3
= (int)SWIG_As_int(obj2
);
23572 if (PyErr_Occurred()) SWIG_fail
;
23574 arg4
= (int)SWIG_As_int(obj3
);
23575 if (PyErr_Occurred()) SWIG_fail
;
23578 arg5
= (int)SWIG_As_int(obj4
);
23579 if (PyErr_Occurred()) SWIG_fail
;
23582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23583 (arg1
)->SetVirtualSizeHints(arg2
,arg3
,arg4
,arg5
);
23585 wxPyEndAllowThreads(__tstate
);
23586 if (PyErr_Occurred()) SWIG_fail
;
23588 Py_INCREF(Py_None
); resultobj
= Py_None
;
23595 static PyObject
*_wrap_Window_SetVirtualSizeHintsSz(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23596 PyObject
*resultobj
;
23597 wxWindow
*arg1
= (wxWindow
*) 0 ;
23599 wxSize
const &arg3_defvalue
= wxDefaultSize
;
23600 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
23603 PyObject
* obj0
= 0 ;
23604 PyObject
* obj1
= 0 ;
23605 PyObject
* obj2
= 0 ;
23606 char *kwnames
[] = {
23607 (char *) "self",(char *) "minSize",(char *) "maxSize", NULL
23610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetVirtualSizeHintsSz",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23611 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23612 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23615 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
23620 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
23624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23625 (arg1
)->SetVirtualSizeHints((wxSize
const &)*arg2
,(wxSize
const &)*arg3
);
23627 wxPyEndAllowThreads(__tstate
);
23628 if (PyErr_Occurred()) SWIG_fail
;
23630 Py_INCREF(Py_None
); resultobj
= Py_None
;
23637 static PyObject
*_wrap_Window_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23638 PyObject
*resultobj
;
23639 wxWindow
*arg1
= (wxWindow
*) 0 ;
23641 PyObject
* obj0
= 0 ;
23642 char *kwnames
[] = {
23643 (char *) "self", NULL
23646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxSize",kwnames
,&obj0
)) goto fail
;
23647 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23651 result
= ((wxWindow
const *)arg1
)->GetMaxSize();
23653 wxPyEndAllowThreads(__tstate
);
23654 if (PyErr_Occurred()) SWIG_fail
;
23657 wxSize
* resultptr
;
23658 resultptr
= new wxSize((wxSize
&) result
);
23659 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23667 static PyObject
*_wrap_Window_GetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23668 PyObject
*resultobj
;
23669 wxWindow
*arg1
= (wxWindow
*) 0 ;
23671 PyObject
* obj0
= 0 ;
23672 char *kwnames
[] = {
23673 (char *) "self", NULL
23676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinSize",kwnames
,&obj0
)) goto fail
;
23677 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23678 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23681 result
= ((wxWindow
const *)arg1
)->GetMinSize();
23683 wxPyEndAllowThreads(__tstate
);
23684 if (PyErr_Occurred()) SWIG_fail
;
23687 wxSize
* resultptr
;
23688 resultptr
= new wxSize((wxSize
&) result
);
23689 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23697 static PyObject
*_wrap_Window_SetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23698 PyObject
*resultobj
;
23699 wxWindow
*arg1
= (wxWindow
*) 0 ;
23702 PyObject
* obj0
= 0 ;
23703 PyObject
* obj1
= 0 ;
23704 char *kwnames
[] = {
23705 (char *) "self",(char *) "minSize", NULL
23708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetMinSize",kwnames
,&obj0
,&obj1
)) goto fail
;
23709 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23710 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23713 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
23716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23717 (arg1
)->SetMinSize((wxSize
const &)*arg2
);
23719 wxPyEndAllowThreads(__tstate
);
23720 if (PyErr_Occurred()) SWIG_fail
;
23722 Py_INCREF(Py_None
); resultobj
= Py_None
;
23729 static PyObject
*_wrap_Window_SetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23730 PyObject
*resultobj
;
23731 wxWindow
*arg1
= (wxWindow
*) 0 ;
23734 PyObject
* obj0
= 0 ;
23735 PyObject
* obj1
= 0 ;
23736 char *kwnames
[] = {
23737 (char *) "self",(char *) "maxSize", NULL
23740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetMaxSize",kwnames
,&obj0
,&obj1
)) goto fail
;
23741 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23742 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23745 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
23748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23749 (arg1
)->SetMaxSize((wxSize
const &)*arg2
);
23751 wxPyEndAllowThreads(__tstate
);
23752 if (PyErr_Occurred()) SWIG_fail
;
23754 Py_INCREF(Py_None
); resultobj
= Py_None
;
23761 static PyObject
*_wrap_Window_GetMinWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23762 PyObject
*resultobj
;
23763 wxWindow
*arg1
= (wxWindow
*) 0 ;
23765 PyObject
* obj0
= 0 ;
23766 char *kwnames
[] = {
23767 (char *) "self", NULL
23770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinWidth",kwnames
,&obj0
)) goto fail
;
23771 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23772 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23775 result
= (int)((wxWindow
const *)arg1
)->GetMinWidth();
23777 wxPyEndAllowThreads(__tstate
);
23778 if (PyErr_Occurred()) SWIG_fail
;
23780 resultobj
= SWIG_From_int((int)result
);
23787 static PyObject
*_wrap_Window_GetMinHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23788 PyObject
*resultobj
;
23789 wxWindow
*arg1
= (wxWindow
*) 0 ;
23791 PyObject
* obj0
= 0 ;
23792 char *kwnames
[] = {
23793 (char *) "self", NULL
23796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinHeight",kwnames
,&obj0
)) goto fail
;
23797 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23801 result
= (int)((wxWindow
const *)arg1
)->GetMinHeight();
23803 wxPyEndAllowThreads(__tstate
);
23804 if (PyErr_Occurred()) SWIG_fail
;
23806 resultobj
= SWIG_From_int((int)result
);
23813 static PyObject
*_wrap_Window_GetMaxWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23814 PyObject
*resultobj
;
23815 wxWindow
*arg1
= (wxWindow
*) 0 ;
23817 PyObject
* obj0
= 0 ;
23818 char *kwnames
[] = {
23819 (char *) "self", NULL
23822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxWidth",kwnames
,&obj0
)) goto fail
;
23823 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23824 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23827 result
= (int)((wxWindow
const *)arg1
)->GetMaxWidth();
23829 wxPyEndAllowThreads(__tstate
);
23830 if (PyErr_Occurred()) SWIG_fail
;
23832 resultobj
= SWIG_From_int((int)result
);
23839 static PyObject
*_wrap_Window_GetMaxHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23840 PyObject
*resultobj
;
23841 wxWindow
*arg1
= (wxWindow
*) 0 ;
23843 PyObject
* obj0
= 0 ;
23844 char *kwnames
[] = {
23845 (char *) "self", NULL
23848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxHeight",kwnames
,&obj0
)) goto fail
;
23849 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23853 result
= (int)((wxWindow
const *)arg1
)->GetMaxHeight();
23855 wxPyEndAllowThreads(__tstate
);
23856 if (PyErr_Occurred()) SWIG_fail
;
23858 resultobj
= SWIG_From_int((int)result
);
23865 static PyObject
*_wrap_Window_SetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23866 PyObject
*resultobj
;
23867 wxWindow
*arg1
= (wxWindow
*) 0 ;
23870 PyObject
* obj0
= 0 ;
23871 PyObject
* obj1
= 0 ;
23872 char *kwnames
[] = {
23873 (char *) "self",(char *) "size", NULL
23876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetVirtualSize",kwnames
,&obj0
,&obj1
)) goto fail
;
23877 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23878 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23881 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
23884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23885 (arg1
)->SetVirtualSize((wxSize
const &)*arg2
);
23887 wxPyEndAllowThreads(__tstate
);
23888 if (PyErr_Occurred()) SWIG_fail
;
23890 Py_INCREF(Py_None
); resultobj
= Py_None
;
23897 static PyObject
*_wrap_Window_SetVirtualSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23898 PyObject
*resultobj
;
23899 wxWindow
*arg1
= (wxWindow
*) 0 ;
23902 PyObject
* obj0
= 0 ;
23903 PyObject
* obj1
= 0 ;
23904 PyObject
* obj2
= 0 ;
23905 char *kwnames
[] = {
23906 (char *) "self",(char *) "w",(char *) "h", NULL
23909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetVirtualSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23910 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23911 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23912 arg2
= (int)SWIG_As_int(obj1
);
23913 if (PyErr_Occurred()) SWIG_fail
;
23914 arg3
= (int)SWIG_As_int(obj2
);
23915 if (PyErr_Occurred()) SWIG_fail
;
23917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23918 (arg1
)->SetVirtualSize(arg2
,arg3
);
23920 wxPyEndAllowThreads(__tstate
);
23921 if (PyErr_Occurred()) SWIG_fail
;
23923 Py_INCREF(Py_None
); resultobj
= Py_None
;
23930 static PyObject
*_wrap_Window_GetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23931 PyObject
*resultobj
;
23932 wxWindow
*arg1
= (wxWindow
*) 0 ;
23934 PyObject
* obj0
= 0 ;
23935 char *kwnames
[] = {
23936 (char *) "self", NULL
23939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSize",kwnames
,&obj0
)) goto fail
;
23940 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23941 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23944 result
= ((wxWindow
const *)arg1
)->GetVirtualSize();
23946 wxPyEndAllowThreads(__tstate
);
23947 if (PyErr_Occurred()) SWIG_fail
;
23950 wxSize
* resultptr
;
23951 resultptr
= new wxSize((wxSize
&) result
);
23952 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23960 static PyObject
*_wrap_Window_GetVirtualSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23961 PyObject
*resultobj
;
23962 wxWindow
*arg1
= (wxWindow
*) 0 ;
23963 int *arg2
= (int *) 0 ;
23964 int *arg3
= (int *) 0 ;
23969 PyObject
* obj0
= 0 ;
23970 char *kwnames
[] = {
23971 (char *) "self", NULL
23974 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
23975 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
23976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSizeTuple",kwnames
,&obj0
)) goto fail
;
23977 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23978 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23981 ((wxWindow
const *)arg1
)->GetVirtualSize(arg2
,arg3
);
23983 wxPyEndAllowThreads(__tstate
);
23984 if (PyErr_Occurred()) SWIG_fail
;
23986 Py_INCREF(Py_None
); resultobj
= Py_None
;
23987 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
23988 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
23989 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
23990 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
23997 static PyObject
*_wrap_Window_GetBestVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23998 PyObject
*resultobj
;
23999 wxWindow
*arg1
= (wxWindow
*) 0 ;
24001 PyObject
* obj0
= 0 ;
24002 char *kwnames
[] = {
24003 (char *) "self", NULL
24006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestVirtualSize",kwnames
,&obj0
)) goto fail
;
24007 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24008 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24011 result
= ((wxWindow
const *)arg1
)->GetBestVirtualSize();
24013 wxPyEndAllowThreads(__tstate
);
24014 if (PyErr_Occurred()) SWIG_fail
;
24017 wxSize
* resultptr
;
24018 resultptr
= new wxSize((wxSize
&) result
);
24019 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
24027 static PyObject
*_wrap_Window_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24028 PyObject
*resultobj
;
24029 wxWindow
*arg1
= (wxWindow
*) 0 ;
24030 bool arg2
= (bool) True
;
24032 PyObject
* obj0
= 0 ;
24033 PyObject
* obj1
= 0 ;
24034 char *kwnames
[] = {
24035 (char *) "self",(char *) "show", NULL
24038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
24039 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24040 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24042 arg2
= (bool)SWIG_As_bool(obj1
);
24043 if (PyErr_Occurred()) SWIG_fail
;
24046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24047 result
= (bool)(arg1
)->Show(arg2
);
24049 wxPyEndAllowThreads(__tstate
);
24050 if (PyErr_Occurred()) SWIG_fail
;
24053 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24061 static PyObject
*_wrap_Window_Hide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24062 PyObject
*resultobj
;
24063 wxWindow
*arg1
= (wxWindow
*) 0 ;
24065 PyObject
* obj0
= 0 ;
24066 char *kwnames
[] = {
24067 (char *) "self", NULL
24070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Hide",kwnames
,&obj0
)) goto fail
;
24071 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24072 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24075 result
= (bool)(arg1
)->Hide();
24077 wxPyEndAllowThreads(__tstate
);
24078 if (PyErr_Occurred()) SWIG_fail
;
24081 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24089 static PyObject
*_wrap_Window_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24090 PyObject
*resultobj
;
24091 wxWindow
*arg1
= (wxWindow
*) 0 ;
24092 bool arg2
= (bool) True
;
24094 PyObject
* obj0
= 0 ;
24095 PyObject
* obj1
= 0 ;
24096 char *kwnames
[] = {
24097 (char *) "self",(char *) "enable", NULL
24100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
24101 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24102 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24104 arg2
= (bool)SWIG_As_bool(obj1
);
24105 if (PyErr_Occurred()) SWIG_fail
;
24108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24109 result
= (bool)(arg1
)->Enable(arg2
);
24111 wxPyEndAllowThreads(__tstate
);
24112 if (PyErr_Occurred()) SWIG_fail
;
24115 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24123 static PyObject
*_wrap_Window_Disable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24124 PyObject
*resultobj
;
24125 wxWindow
*arg1
= (wxWindow
*) 0 ;
24127 PyObject
* obj0
= 0 ;
24128 char *kwnames
[] = {
24129 (char *) "self", NULL
24132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Disable",kwnames
,&obj0
)) goto fail
;
24133 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24134 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24137 result
= (bool)(arg1
)->Disable();
24139 wxPyEndAllowThreads(__tstate
);
24140 if (PyErr_Occurred()) SWIG_fail
;
24143 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24151 static PyObject
*_wrap_Window_IsShown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24152 PyObject
*resultobj
;
24153 wxWindow
*arg1
= (wxWindow
*) 0 ;
24155 PyObject
* obj0
= 0 ;
24156 char *kwnames
[] = {
24157 (char *) "self", NULL
24160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsShown",kwnames
,&obj0
)) goto fail
;
24161 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24165 result
= (bool)((wxWindow
const *)arg1
)->IsShown();
24167 wxPyEndAllowThreads(__tstate
);
24168 if (PyErr_Occurred()) SWIG_fail
;
24171 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24179 static PyObject
*_wrap_Window_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24180 PyObject
*resultobj
;
24181 wxWindow
*arg1
= (wxWindow
*) 0 ;
24183 PyObject
* obj0
= 0 ;
24184 char *kwnames
[] = {
24185 (char *) "self", NULL
24188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsEnabled",kwnames
,&obj0
)) goto fail
;
24189 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24190 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24193 result
= (bool)((wxWindow
const *)arg1
)->IsEnabled();
24195 wxPyEndAllowThreads(__tstate
);
24196 if (PyErr_Occurred()) SWIG_fail
;
24199 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24207 static PyObject
*_wrap_Window_SetWindowStyleFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24208 PyObject
*resultobj
;
24209 wxWindow
*arg1
= (wxWindow
*) 0 ;
24211 PyObject
* obj0
= 0 ;
24212 PyObject
* obj1
= 0 ;
24213 char *kwnames
[] = {
24214 (char *) "self",(char *) "style", NULL
24217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
24218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24220 arg2
= (long)SWIG_As_long(obj1
);
24221 if (PyErr_Occurred()) SWIG_fail
;
24223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24224 (arg1
)->SetWindowStyleFlag(arg2
);
24226 wxPyEndAllowThreads(__tstate
);
24227 if (PyErr_Occurred()) SWIG_fail
;
24229 Py_INCREF(Py_None
); resultobj
= Py_None
;
24236 static PyObject
*_wrap_Window_GetWindowStyleFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24237 PyObject
*resultobj
;
24238 wxWindow
*arg1
= (wxWindow
*) 0 ;
24240 PyObject
* obj0
= 0 ;
24241 char *kwnames
[] = {
24242 (char *) "self", NULL
24245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowStyleFlag",kwnames
,&obj0
)) goto fail
;
24246 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24247 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24250 result
= (long)((wxWindow
const *)arg1
)->GetWindowStyleFlag();
24252 wxPyEndAllowThreads(__tstate
);
24253 if (PyErr_Occurred()) SWIG_fail
;
24255 resultobj
= SWIG_From_long((long)result
);
24262 static PyObject
*_wrap_Window_HasFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24263 PyObject
*resultobj
;
24264 wxWindow
*arg1
= (wxWindow
*) 0 ;
24267 PyObject
* obj0
= 0 ;
24268 PyObject
* obj1
= 0 ;
24269 char *kwnames
[] = {
24270 (char *) "self",(char *) "flag", NULL
24273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
24274 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24276 arg2
= (int)SWIG_As_int(obj1
);
24277 if (PyErr_Occurred()) SWIG_fail
;
24279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24280 result
= (bool)((wxWindow
const *)arg1
)->HasFlag(arg2
);
24282 wxPyEndAllowThreads(__tstate
);
24283 if (PyErr_Occurred()) SWIG_fail
;
24286 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24294 static PyObject
*_wrap_Window_IsRetained(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24295 PyObject
*resultobj
;
24296 wxWindow
*arg1
= (wxWindow
*) 0 ;
24298 PyObject
* obj0
= 0 ;
24299 char *kwnames
[] = {
24300 (char *) "self", NULL
24303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsRetained",kwnames
,&obj0
)) goto fail
;
24304 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24308 result
= (bool)((wxWindow
const *)arg1
)->IsRetained();
24310 wxPyEndAllowThreads(__tstate
);
24311 if (PyErr_Occurred()) SWIG_fail
;
24314 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24322 static PyObject
*_wrap_Window_SetExtraStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24323 PyObject
*resultobj
;
24324 wxWindow
*arg1
= (wxWindow
*) 0 ;
24326 PyObject
* obj0
= 0 ;
24327 PyObject
* obj1
= 0 ;
24328 char *kwnames
[] = {
24329 (char *) "self",(char *) "exStyle", NULL
24332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetExtraStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
24333 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24334 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24335 arg2
= (long)SWIG_As_long(obj1
);
24336 if (PyErr_Occurred()) SWIG_fail
;
24338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24339 (arg1
)->SetExtraStyle(arg2
);
24341 wxPyEndAllowThreads(__tstate
);
24342 if (PyErr_Occurred()) SWIG_fail
;
24344 Py_INCREF(Py_None
); resultobj
= Py_None
;
24351 static PyObject
*_wrap_Window_GetExtraStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24352 PyObject
*resultobj
;
24353 wxWindow
*arg1
= (wxWindow
*) 0 ;
24355 PyObject
* obj0
= 0 ;
24356 char *kwnames
[] = {
24357 (char *) "self", NULL
24360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetExtraStyle",kwnames
,&obj0
)) goto fail
;
24361 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24362 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24365 result
= (long)((wxWindow
const *)arg1
)->GetExtraStyle();
24367 wxPyEndAllowThreads(__tstate
);
24368 if (PyErr_Occurred()) SWIG_fail
;
24370 resultobj
= SWIG_From_long((long)result
);
24377 static PyObject
*_wrap_Window_MakeModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24378 PyObject
*resultobj
;
24379 wxWindow
*arg1
= (wxWindow
*) 0 ;
24380 bool arg2
= (bool) True
;
24381 PyObject
* obj0
= 0 ;
24382 PyObject
* obj1
= 0 ;
24383 char *kwnames
[] = {
24384 (char *) "self",(char *) "modal", NULL
24387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_MakeModal",kwnames
,&obj0
,&obj1
)) goto fail
;
24388 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24391 arg2
= (bool)SWIG_As_bool(obj1
);
24392 if (PyErr_Occurred()) SWIG_fail
;
24395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24396 (arg1
)->MakeModal(arg2
);
24398 wxPyEndAllowThreads(__tstate
);
24399 if (PyErr_Occurred()) SWIG_fail
;
24401 Py_INCREF(Py_None
); resultobj
= Py_None
;
24408 static PyObject
*_wrap_Window_SetThemeEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24409 PyObject
*resultobj
;
24410 wxWindow
*arg1
= (wxWindow
*) 0 ;
24412 PyObject
* obj0
= 0 ;
24413 PyObject
* obj1
= 0 ;
24414 char *kwnames
[] = {
24415 (char *) "self",(char *) "enableTheme", NULL
24418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetThemeEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
24419 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24420 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24421 arg2
= (bool)SWIG_As_bool(obj1
);
24422 if (PyErr_Occurred()) SWIG_fail
;
24424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24425 (arg1
)->SetThemeEnabled(arg2
);
24427 wxPyEndAllowThreads(__tstate
);
24428 if (PyErr_Occurred()) SWIG_fail
;
24430 Py_INCREF(Py_None
); resultobj
= Py_None
;
24437 static PyObject
*_wrap_Window_GetThemeEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24438 PyObject
*resultobj
;
24439 wxWindow
*arg1
= (wxWindow
*) 0 ;
24441 PyObject
* obj0
= 0 ;
24442 char *kwnames
[] = {
24443 (char *) "self", NULL
24446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetThemeEnabled",kwnames
,&obj0
)) goto fail
;
24447 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24448 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24451 result
= (bool)((wxWindow
const *)arg1
)->GetThemeEnabled();
24453 wxPyEndAllowThreads(__tstate
);
24454 if (PyErr_Occurred()) SWIG_fail
;
24457 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24465 static PyObject
*_wrap_Window_SetFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24466 PyObject
*resultobj
;
24467 wxWindow
*arg1
= (wxWindow
*) 0 ;
24468 PyObject
* obj0
= 0 ;
24469 char *kwnames
[] = {
24470 (char *) "self", NULL
24473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocus",kwnames
,&obj0
)) goto fail
;
24474 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24475 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24478 (arg1
)->SetFocus();
24480 wxPyEndAllowThreads(__tstate
);
24481 if (PyErr_Occurred()) SWIG_fail
;
24483 Py_INCREF(Py_None
); resultobj
= Py_None
;
24490 static PyObject
*_wrap_Window_SetFocusFromKbd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24491 PyObject
*resultobj
;
24492 wxWindow
*arg1
= (wxWindow
*) 0 ;
24493 PyObject
* obj0
= 0 ;
24494 char *kwnames
[] = {
24495 (char *) "self", NULL
24498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocusFromKbd",kwnames
,&obj0
)) goto fail
;
24499 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24500 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24503 (arg1
)->SetFocusFromKbd();
24505 wxPyEndAllowThreads(__tstate
);
24506 if (PyErr_Occurred()) SWIG_fail
;
24508 Py_INCREF(Py_None
); resultobj
= Py_None
;
24515 static PyObject
*_wrap_Window_FindFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24516 PyObject
*resultobj
;
24518 char *kwnames
[] = {
24522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_FindFocus",kwnames
)) goto fail
;
24524 if (!wxPyCheckForApp()) SWIG_fail
;
24525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24526 result
= (wxWindow
*)wxWindow::FindFocus();
24528 wxPyEndAllowThreads(__tstate
);
24529 if (PyErr_Occurred()) SWIG_fail
;
24532 resultobj
= wxPyMake_wxObject(result
, 0);
24540 static PyObject
*_wrap_Window_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24541 PyObject
*resultobj
;
24542 wxWindow
*arg1
= (wxWindow
*) 0 ;
24544 PyObject
* obj0
= 0 ;
24545 char *kwnames
[] = {
24546 (char *) "self", NULL
24549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
24550 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24554 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocus();
24556 wxPyEndAllowThreads(__tstate
);
24557 if (PyErr_Occurred()) SWIG_fail
;
24560 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24568 static PyObject
*_wrap_Window_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24569 PyObject
*resultobj
;
24570 wxWindow
*arg1
= (wxWindow
*) 0 ;
24572 PyObject
* obj0
= 0 ;
24573 char *kwnames
[] = {
24574 (char *) "self", NULL
24577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
24578 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24579 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24582 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocusFromKeyboard();
24584 wxPyEndAllowThreads(__tstate
);
24585 if (PyErr_Occurred()) SWIG_fail
;
24588 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24596 static PyObject
*_wrap_Window_GetDefaultItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24597 PyObject
*resultobj
;
24598 wxWindow
*arg1
= (wxWindow
*) 0 ;
24600 PyObject
* obj0
= 0 ;
24601 char *kwnames
[] = {
24602 (char *) "self", NULL
24605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDefaultItem",kwnames
,&obj0
)) goto fail
;
24606 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24607 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24610 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetDefaultItem();
24612 wxPyEndAllowThreads(__tstate
);
24613 if (PyErr_Occurred()) SWIG_fail
;
24616 resultobj
= wxPyMake_wxObject(result
, 0);
24624 static PyObject
*_wrap_Window_SetDefaultItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24625 PyObject
*resultobj
;
24626 wxWindow
*arg1
= (wxWindow
*) 0 ;
24627 wxWindow
*arg2
= (wxWindow
*) 0 ;
24629 PyObject
* obj0
= 0 ;
24630 PyObject
* obj1
= 0 ;
24631 char *kwnames
[] = {
24632 (char *) "self",(char *) "child", NULL
24635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
24636 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24637 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24638 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24639 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24642 result
= (wxWindow
*)(arg1
)->SetDefaultItem(arg2
);
24644 wxPyEndAllowThreads(__tstate
);
24645 if (PyErr_Occurred()) SWIG_fail
;
24648 resultobj
= wxPyMake_wxObject(result
, 0);
24656 static PyObject
*_wrap_Window_SetTmpDefaultItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24657 PyObject
*resultobj
;
24658 wxWindow
*arg1
= (wxWindow
*) 0 ;
24659 wxWindow
*arg2
= (wxWindow
*) 0 ;
24660 PyObject
* obj0
= 0 ;
24661 PyObject
* obj1
= 0 ;
24662 char *kwnames
[] = {
24663 (char *) "self",(char *) "win", NULL
24666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTmpDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
24667 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24669 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24670 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24673 (arg1
)->SetTmpDefaultItem(arg2
);
24675 wxPyEndAllowThreads(__tstate
);
24676 if (PyErr_Occurred()) SWIG_fail
;
24678 Py_INCREF(Py_None
); resultobj
= Py_None
;
24685 static PyObject
*_wrap_Window_Navigate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24686 PyObject
*resultobj
;
24687 wxWindow
*arg1
= (wxWindow
*) 0 ;
24688 int arg2
= (int) wxNavigationKeyEvent::IsForward
;
24690 PyObject
* obj0
= 0 ;
24691 PyObject
* obj1
= 0 ;
24692 char *kwnames
[] = {
24693 (char *) "self",(char *) "flags", NULL
24696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Navigate",kwnames
,&obj0
,&obj1
)) goto fail
;
24697 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24698 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24700 arg2
= (int)SWIG_As_int(obj1
);
24701 if (PyErr_Occurred()) SWIG_fail
;
24704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24705 result
= (bool)(arg1
)->Navigate(arg2
);
24707 wxPyEndAllowThreads(__tstate
);
24708 if (PyErr_Occurred()) SWIG_fail
;
24711 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24719 static PyObject
*_wrap_Window_MoveAfterInTabOrder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24720 PyObject
*resultobj
;
24721 wxWindow
*arg1
= (wxWindow
*) 0 ;
24722 wxWindow
*arg2
= (wxWindow
*) 0 ;
24723 PyObject
* obj0
= 0 ;
24724 PyObject
* obj1
= 0 ;
24725 char *kwnames
[] = {
24726 (char *) "self",(char *) "win", NULL
24729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_MoveAfterInTabOrder",kwnames
,&obj0
,&obj1
)) goto fail
;
24730 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24731 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24732 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24736 (arg1
)->MoveAfterInTabOrder(arg2
);
24738 wxPyEndAllowThreads(__tstate
);
24739 if (PyErr_Occurred()) SWIG_fail
;
24741 Py_INCREF(Py_None
); resultobj
= Py_None
;
24748 static PyObject
*_wrap_Window_MoveBeforeInTabOrder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24749 PyObject
*resultobj
;
24750 wxWindow
*arg1
= (wxWindow
*) 0 ;
24751 wxWindow
*arg2
= (wxWindow
*) 0 ;
24752 PyObject
* obj0
= 0 ;
24753 PyObject
* obj1
= 0 ;
24754 char *kwnames
[] = {
24755 (char *) "self",(char *) "win", NULL
24758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_MoveBeforeInTabOrder",kwnames
,&obj0
,&obj1
)) goto fail
;
24759 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24761 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24765 (arg1
)->MoveBeforeInTabOrder(arg2
);
24767 wxPyEndAllowThreads(__tstate
);
24768 if (PyErr_Occurred()) SWIG_fail
;
24770 Py_INCREF(Py_None
); resultobj
= Py_None
;
24777 static PyObject
*_wrap_Window_GetChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24778 PyObject
*resultobj
;
24779 wxWindow
*arg1
= (wxWindow
*) 0 ;
24781 PyObject
* obj0
= 0 ;
24782 char *kwnames
[] = {
24783 (char *) "self", NULL
24786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetChildren",kwnames
,&obj0
)) goto fail
;
24787 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24788 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24791 result
= (PyObject
*)wxWindow_GetChildren(arg1
);
24793 wxPyEndAllowThreads(__tstate
);
24794 if (PyErr_Occurred()) SWIG_fail
;
24796 resultobj
= result
;
24803 static PyObject
*_wrap_Window_GetParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24804 PyObject
*resultobj
;
24805 wxWindow
*arg1
= (wxWindow
*) 0 ;
24807 PyObject
* obj0
= 0 ;
24808 char *kwnames
[] = {
24809 (char *) "self", NULL
24812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetParent",kwnames
,&obj0
)) goto fail
;
24813 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24814 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24817 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetParent();
24819 wxPyEndAllowThreads(__tstate
);
24820 if (PyErr_Occurred()) SWIG_fail
;
24823 resultobj
= wxPyMake_wxObject(result
, 0);
24831 static PyObject
*_wrap_Window_GetGrandParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24832 PyObject
*resultobj
;
24833 wxWindow
*arg1
= (wxWindow
*) 0 ;
24835 PyObject
* obj0
= 0 ;
24836 char *kwnames
[] = {
24837 (char *) "self", NULL
24840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetGrandParent",kwnames
,&obj0
)) goto fail
;
24841 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24842 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24845 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetGrandParent();
24847 wxPyEndAllowThreads(__tstate
);
24848 if (PyErr_Occurred()) SWIG_fail
;
24851 resultobj
= wxPyMake_wxObject(result
, 0);
24859 static PyObject
*_wrap_Window_IsTopLevel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24860 PyObject
*resultobj
;
24861 wxWindow
*arg1
= (wxWindow
*) 0 ;
24863 PyObject
* obj0
= 0 ;
24864 char *kwnames
[] = {
24865 (char *) "self", NULL
24868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsTopLevel",kwnames
,&obj0
)) goto fail
;
24869 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24870 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24873 result
= (bool)((wxWindow
const *)arg1
)->IsTopLevel();
24875 wxPyEndAllowThreads(__tstate
);
24876 if (PyErr_Occurred()) SWIG_fail
;
24879 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24887 static PyObject
*_wrap_Window_Reparent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24888 PyObject
*resultobj
;
24889 wxWindow
*arg1
= (wxWindow
*) 0 ;
24890 wxWindow
*arg2
= (wxWindow
*) 0 ;
24892 PyObject
* obj0
= 0 ;
24893 PyObject
* obj1
= 0 ;
24894 char *kwnames
[] = {
24895 (char *) "self",(char *) "newParent", NULL
24898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_Reparent",kwnames
,&obj0
,&obj1
)) goto fail
;
24899 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24900 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24901 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24902 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24905 result
= (bool)(arg1
)->Reparent(arg2
);
24907 wxPyEndAllowThreads(__tstate
);
24908 if (PyErr_Occurred()) SWIG_fail
;
24911 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24919 static PyObject
*_wrap_Window_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24920 PyObject
*resultobj
;
24921 wxWindow
*arg1
= (wxWindow
*) 0 ;
24922 wxWindow
*arg2
= (wxWindow
*) 0 ;
24923 PyObject
* obj0
= 0 ;
24924 PyObject
* obj1
= 0 ;
24925 char *kwnames
[] = {
24926 (char *) "self",(char *) "child", NULL
24929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
24930 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24932 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24933 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24936 (arg1
)->AddChild(arg2
);
24938 wxPyEndAllowThreads(__tstate
);
24939 if (PyErr_Occurred()) SWIG_fail
;
24941 Py_INCREF(Py_None
); resultobj
= Py_None
;
24948 static PyObject
*_wrap_Window_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24949 PyObject
*resultobj
;
24950 wxWindow
*arg1
= (wxWindow
*) 0 ;
24951 wxWindow
*arg2
= (wxWindow
*) 0 ;
24952 PyObject
* obj0
= 0 ;
24953 PyObject
* obj1
= 0 ;
24954 char *kwnames
[] = {
24955 (char *) "self",(char *) "child", NULL
24958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
24959 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24960 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24961 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24962 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24965 (arg1
)->RemoveChild(arg2
);
24967 wxPyEndAllowThreads(__tstate
);
24968 if (PyErr_Occurred()) SWIG_fail
;
24970 Py_INCREF(Py_None
); resultobj
= Py_None
;
24977 static PyObject
*_wrap_Window_FindWindowById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24978 PyObject
*resultobj
;
24979 wxWindow
*arg1
= (wxWindow
*) 0 ;
24982 PyObject
* obj0
= 0 ;
24983 PyObject
* obj1
= 0 ;
24984 char *kwnames
[] = {
24985 (char *) "self",(char *) "winid", NULL
24988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowById",kwnames
,&obj0
,&obj1
)) goto fail
;
24989 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24991 arg2
= (long)SWIG_As_long(obj1
);
24992 if (PyErr_Occurred()) SWIG_fail
;
24994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24995 result
= (wxWindow
*)(arg1
)->FindWindow(arg2
);
24997 wxPyEndAllowThreads(__tstate
);
24998 if (PyErr_Occurred()) SWIG_fail
;
25001 resultobj
= wxPyMake_wxObject(result
, 0);
25009 static PyObject
*_wrap_Window_FindWindowByName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25010 PyObject
*resultobj
;
25011 wxWindow
*arg1
= (wxWindow
*) 0 ;
25012 wxString
*arg2
= 0 ;
25014 bool temp2
= False
;
25015 PyObject
* obj0
= 0 ;
25016 PyObject
* obj1
= 0 ;
25017 char *kwnames
[] = {
25018 (char *) "self",(char *) "name", NULL
25021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
25022 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25023 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25025 arg2
= wxString_in_helper(obj1
);
25026 if (arg2
== NULL
) SWIG_fail
;
25030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25031 result
= (wxWindow
*)(arg1
)->FindWindow((wxString
const &)*arg2
);
25033 wxPyEndAllowThreads(__tstate
);
25034 if (PyErr_Occurred()) SWIG_fail
;
25037 resultobj
= wxPyMake_wxObject(result
, 0);
25053 static PyObject
*_wrap_Window_GetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25054 PyObject
*resultobj
;
25055 wxWindow
*arg1
= (wxWindow
*) 0 ;
25056 wxEvtHandler
*result
;
25057 PyObject
* obj0
= 0 ;
25058 char *kwnames
[] = {
25059 (char *) "self", NULL
25062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetEventHandler",kwnames
,&obj0
)) goto fail
;
25063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25067 result
= (wxEvtHandler
*)((wxWindow
const *)arg1
)->GetEventHandler();
25069 wxPyEndAllowThreads(__tstate
);
25070 if (PyErr_Occurred()) SWIG_fail
;
25073 resultobj
= wxPyMake_wxObject(result
, 0);
25081 static PyObject
*_wrap_Window_SetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25082 PyObject
*resultobj
;
25083 wxWindow
*arg1
= (wxWindow
*) 0 ;
25084 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
25085 PyObject
* obj0
= 0 ;
25086 PyObject
* obj1
= 0 ;
25087 char *kwnames
[] = {
25088 (char *) "self",(char *) "handler", NULL
25091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
25092 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25094 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
25095 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25098 (arg1
)->SetEventHandler(arg2
);
25100 wxPyEndAllowThreads(__tstate
);
25101 if (PyErr_Occurred()) SWIG_fail
;
25103 Py_INCREF(Py_None
); resultobj
= Py_None
;
25110 static PyObject
*_wrap_Window_PushEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25111 PyObject
*resultobj
;
25112 wxWindow
*arg1
= (wxWindow
*) 0 ;
25113 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
25114 PyObject
* obj0
= 0 ;
25115 PyObject
* obj1
= 0 ;
25116 char *kwnames
[] = {
25117 (char *) "self",(char *) "handler", NULL
25120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PushEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
25121 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25123 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
25124 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25127 (arg1
)->PushEventHandler(arg2
);
25129 wxPyEndAllowThreads(__tstate
);
25130 if (PyErr_Occurred()) SWIG_fail
;
25132 Py_INCREF(Py_None
); resultobj
= Py_None
;
25139 static PyObject
*_wrap_Window_PopEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25140 PyObject
*resultobj
;
25141 wxWindow
*arg1
= (wxWindow
*) 0 ;
25142 bool arg2
= (bool) False
;
25143 wxEvtHandler
*result
;
25144 PyObject
* obj0
= 0 ;
25145 PyObject
* obj1
= 0 ;
25146 char *kwnames
[] = {
25147 (char *) "self",(char *) "deleteHandler", NULL
25150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_PopEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
25151 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25152 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25154 arg2
= (bool)SWIG_As_bool(obj1
);
25155 if (PyErr_Occurred()) SWIG_fail
;
25158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25159 result
= (wxEvtHandler
*)(arg1
)->PopEventHandler(arg2
);
25161 wxPyEndAllowThreads(__tstate
);
25162 if (PyErr_Occurred()) SWIG_fail
;
25165 resultobj
= wxPyMake_wxObject(result
, 0);
25173 static PyObject
*_wrap_Window_RemoveEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25174 PyObject
*resultobj
;
25175 wxWindow
*arg1
= (wxWindow
*) 0 ;
25176 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
25178 PyObject
* obj0
= 0 ;
25179 PyObject
* obj1
= 0 ;
25180 char *kwnames
[] = {
25181 (char *) "self",(char *) "handler", NULL
25184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
25185 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25186 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25187 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
25188 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25191 result
= (bool)(arg1
)->RemoveEventHandler(arg2
);
25193 wxPyEndAllowThreads(__tstate
);
25194 if (PyErr_Occurred()) SWIG_fail
;
25197 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25205 static PyObject
*_wrap_Window_SetValidator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25206 PyObject
*resultobj
;
25207 wxWindow
*arg1
= (wxWindow
*) 0 ;
25208 wxValidator
*arg2
= 0 ;
25209 PyObject
* obj0
= 0 ;
25210 PyObject
* obj1
= 0 ;
25211 char *kwnames
[] = {
25212 (char *) "self",(char *) "validator", NULL
25215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetValidator",kwnames
,&obj0
,&obj1
)) goto fail
;
25216 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25217 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25218 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxValidator
,
25219 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25221 if (arg2
== NULL
) {
25222 PyErr_SetString(PyExc_TypeError
,"null reference");
25226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25227 (arg1
)->SetValidator((wxValidator
const &)*arg2
);
25229 wxPyEndAllowThreads(__tstate
);
25230 if (PyErr_Occurred()) SWIG_fail
;
25232 Py_INCREF(Py_None
); resultobj
= Py_None
;
25239 static PyObject
*_wrap_Window_GetValidator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25240 PyObject
*resultobj
;
25241 wxWindow
*arg1
= (wxWindow
*) 0 ;
25242 wxValidator
*result
;
25243 PyObject
* obj0
= 0 ;
25244 char *kwnames
[] = {
25245 (char *) "self", NULL
25248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetValidator",kwnames
,&obj0
)) goto fail
;
25249 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25253 result
= (wxValidator
*)(arg1
)->GetValidator();
25255 wxPyEndAllowThreads(__tstate
);
25256 if (PyErr_Occurred()) SWIG_fail
;
25259 resultobj
= wxPyMake_wxObject(result
, 0);
25267 static PyObject
*_wrap_Window_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25268 PyObject
*resultobj
;
25269 wxWindow
*arg1
= (wxWindow
*) 0 ;
25271 PyObject
* obj0
= 0 ;
25272 char *kwnames
[] = {
25273 (char *) "self", NULL
25276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Validate",kwnames
,&obj0
)) goto fail
;
25277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25281 result
= (bool)(arg1
)->Validate();
25283 wxPyEndAllowThreads(__tstate
);
25284 if (PyErr_Occurred()) SWIG_fail
;
25287 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25295 static PyObject
*_wrap_Window_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25296 PyObject
*resultobj
;
25297 wxWindow
*arg1
= (wxWindow
*) 0 ;
25299 PyObject
* obj0
= 0 ;
25300 char *kwnames
[] = {
25301 (char *) "self", NULL
25304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
25305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25309 result
= (bool)(arg1
)->TransferDataToWindow();
25311 wxPyEndAllowThreads(__tstate
);
25312 if (PyErr_Occurred()) SWIG_fail
;
25315 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25323 static PyObject
*_wrap_Window_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25324 PyObject
*resultobj
;
25325 wxWindow
*arg1
= (wxWindow
*) 0 ;
25327 PyObject
* obj0
= 0 ;
25328 char *kwnames
[] = {
25329 (char *) "self", NULL
25332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
25333 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25334 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25337 result
= (bool)(arg1
)->TransferDataFromWindow();
25339 wxPyEndAllowThreads(__tstate
);
25340 if (PyErr_Occurred()) SWIG_fail
;
25343 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25351 static PyObject
*_wrap_Window_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25352 PyObject
*resultobj
;
25353 wxWindow
*arg1
= (wxWindow
*) 0 ;
25354 PyObject
* obj0
= 0 ;
25355 char *kwnames
[] = {
25356 (char *) "self", NULL
25359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InitDialog",kwnames
,&obj0
)) goto fail
;
25360 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25361 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25364 (arg1
)->InitDialog();
25366 wxPyEndAllowThreads(__tstate
);
25367 if (PyErr_Occurred()) SWIG_fail
;
25369 Py_INCREF(Py_None
); resultobj
= Py_None
;
25376 static PyObject
*_wrap_Window_SetAcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25377 PyObject
*resultobj
;
25378 wxWindow
*arg1
= (wxWindow
*) 0 ;
25379 wxAcceleratorTable
*arg2
= 0 ;
25380 PyObject
* obj0
= 0 ;
25381 PyObject
* obj1
= 0 ;
25382 char *kwnames
[] = {
25383 (char *) "self",(char *) "accel", NULL
25386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAcceleratorTable",kwnames
,&obj0
,&obj1
)) goto fail
;
25387 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25388 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25389 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxAcceleratorTable
,
25390 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25392 if (arg2
== NULL
) {
25393 PyErr_SetString(PyExc_TypeError
,"null reference");
25397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25398 (arg1
)->SetAcceleratorTable((wxAcceleratorTable
const &)*arg2
);
25400 wxPyEndAllowThreads(__tstate
);
25401 if (PyErr_Occurred()) SWIG_fail
;
25403 Py_INCREF(Py_None
); resultobj
= Py_None
;
25410 static PyObject
*_wrap_Window_GetAcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25411 PyObject
*resultobj
;
25412 wxWindow
*arg1
= (wxWindow
*) 0 ;
25413 wxAcceleratorTable
*result
;
25414 PyObject
* obj0
= 0 ;
25415 char *kwnames
[] = {
25416 (char *) "self", NULL
25419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAcceleratorTable",kwnames
,&obj0
)) goto fail
;
25420 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25421 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25424 result
= (wxAcceleratorTable
*)(arg1
)->GetAcceleratorTable();
25426 wxPyEndAllowThreads(__tstate
);
25427 if (PyErr_Occurred()) SWIG_fail
;
25429 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorTable
, 0);
25436 static PyObject
*_wrap_Window_RegisterHotKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25437 PyObject
*resultobj
;
25438 wxWindow
*arg1
= (wxWindow
*) 0 ;
25443 PyObject
* obj0
= 0 ;
25444 PyObject
* obj1
= 0 ;
25445 PyObject
* obj2
= 0 ;
25446 PyObject
* obj3
= 0 ;
25447 char *kwnames
[] = {
25448 (char *) "self",(char *) "hotkeyId",(char *) "modifiers",(char *) "keycode", NULL
25451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Window_RegisterHotKey",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25452 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25453 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25454 arg2
= (int)SWIG_As_int(obj1
);
25455 if (PyErr_Occurred()) SWIG_fail
;
25456 arg3
= (int)SWIG_As_int(obj2
);
25457 if (PyErr_Occurred()) SWIG_fail
;
25458 arg4
= (int)SWIG_As_int(obj3
);
25459 if (PyErr_Occurred()) SWIG_fail
;
25461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25462 result
= (bool)wxWindow_RegisterHotKey(arg1
,arg2
,arg3
,arg4
);
25464 wxPyEndAllowThreads(__tstate
);
25465 if (PyErr_Occurred()) SWIG_fail
;
25468 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25476 static PyObject
*_wrap_Window_UnregisterHotKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25477 PyObject
*resultobj
;
25478 wxWindow
*arg1
= (wxWindow
*) 0 ;
25481 PyObject
* obj0
= 0 ;
25482 PyObject
* obj1
= 0 ;
25483 char *kwnames
[] = {
25484 (char *) "self",(char *) "hotkeyId", NULL
25487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_UnregisterHotKey",kwnames
,&obj0
,&obj1
)) goto fail
;
25488 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25489 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25490 arg2
= (int)SWIG_As_int(obj1
);
25491 if (PyErr_Occurred()) SWIG_fail
;
25493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25494 result
= (bool)wxWindow_UnregisterHotKey(arg1
,arg2
);
25496 wxPyEndAllowThreads(__tstate
);
25497 if (PyErr_Occurred()) SWIG_fail
;
25500 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25508 static PyObject
*_wrap_Window_ConvertDialogPointToPixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25509 PyObject
*resultobj
;
25510 wxWindow
*arg1
= (wxWindow
*) 0 ;
25511 wxPoint
*arg2
= 0 ;
25514 PyObject
* obj0
= 0 ;
25515 PyObject
* obj1
= 0 ;
25516 char *kwnames
[] = {
25517 (char *) "self",(char *) "pt", NULL
25520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogPointToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
25521 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25522 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25525 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25529 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
25531 wxPyEndAllowThreads(__tstate
);
25532 if (PyErr_Occurred()) SWIG_fail
;
25535 wxPoint
* resultptr
;
25536 resultptr
= new wxPoint((wxPoint
&) result
);
25537 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
25545 static PyObject
*_wrap_Window_ConvertDialogSizeToPixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25546 PyObject
*resultobj
;
25547 wxWindow
*arg1
= (wxWindow
*) 0 ;
25551 PyObject
* obj0
= 0 ;
25552 PyObject
* obj1
= 0 ;
25553 char *kwnames
[] = {
25554 (char *) "self",(char *) "sz", NULL
25557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogSizeToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
25558 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25559 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25562 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25566 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
25568 wxPyEndAllowThreads(__tstate
);
25569 if (PyErr_Occurred()) SWIG_fail
;
25572 wxSize
* resultptr
;
25573 resultptr
= new wxSize((wxSize
&) result
);
25574 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
25582 static PyObject
*_wrap_Window_DLG_PNT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25583 PyObject
*resultobj
;
25584 wxWindow
*arg1
= (wxWindow
*) 0 ;
25585 wxPoint
*arg2
= 0 ;
25588 PyObject
* obj0
= 0 ;
25589 PyObject
* obj1
= 0 ;
25590 char *kwnames
[] = {
25591 (char *) "self",(char *) "pt", NULL
25594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_PNT",kwnames
,&obj0
,&obj1
)) goto fail
;
25595 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25596 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25599 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25603 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
25605 wxPyEndAllowThreads(__tstate
);
25606 if (PyErr_Occurred()) SWIG_fail
;
25609 wxPoint
* resultptr
;
25610 resultptr
= new wxPoint((wxPoint
&) result
);
25611 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
25619 static PyObject
*_wrap_Window_DLG_SZE(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25620 PyObject
*resultobj
;
25621 wxWindow
*arg1
= (wxWindow
*) 0 ;
25625 PyObject
* obj0
= 0 ;
25626 PyObject
* obj1
= 0 ;
25627 char *kwnames
[] = {
25628 (char *) "self",(char *) "sz", NULL
25631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_SZE",kwnames
,&obj0
,&obj1
)) goto fail
;
25632 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25633 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25636 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25640 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
25642 wxPyEndAllowThreads(__tstate
);
25643 if (PyErr_Occurred()) SWIG_fail
;
25646 wxSize
* resultptr
;
25647 resultptr
= new wxSize((wxSize
&) result
);
25648 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
25656 static PyObject
*_wrap_Window_ConvertPixelPointToDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25657 PyObject
*resultobj
;
25658 wxWindow
*arg1
= (wxWindow
*) 0 ;
25659 wxPoint
*arg2
= 0 ;
25662 PyObject
* obj0
= 0 ;
25663 PyObject
* obj1
= 0 ;
25664 char *kwnames
[] = {
25665 (char *) "self",(char *) "pt", NULL
25668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelPointToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
25669 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25670 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25673 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25677 result
= (arg1
)->ConvertPixelsToDialog((wxPoint
const &)*arg2
);
25679 wxPyEndAllowThreads(__tstate
);
25680 if (PyErr_Occurred()) SWIG_fail
;
25683 wxPoint
* resultptr
;
25684 resultptr
= new wxPoint((wxPoint
&) result
);
25685 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
25693 static PyObject
*_wrap_Window_ConvertPixelSizeToDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25694 PyObject
*resultobj
;
25695 wxWindow
*arg1
= (wxWindow
*) 0 ;
25699 PyObject
* obj0
= 0 ;
25700 PyObject
* obj1
= 0 ;
25701 char *kwnames
[] = {
25702 (char *) "self",(char *) "sz", NULL
25705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelSizeToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
25706 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25707 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25710 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25714 result
= (arg1
)->ConvertPixelsToDialog((wxSize
const &)*arg2
);
25716 wxPyEndAllowThreads(__tstate
);
25717 if (PyErr_Occurred()) SWIG_fail
;
25720 wxSize
* resultptr
;
25721 resultptr
= new wxSize((wxSize
&) result
);
25722 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
25730 static PyObject
*_wrap_Window_WarpPointer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25731 PyObject
*resultobj
;
25732 wxWindow
*arg1
= (wxWindow
*) 0 ;
25735 PyObject
* obj0
= 0 ;
25736 PyObject
* obj1
= 0 ;
25737 PyObject
* obj2
= 0 ;
25738 char *kwnames
[] = {
25739 (char *) "self",(char *) "x",(char *) "y", NULL
25742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_WarpPointer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25743 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25744 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25745 arg2
= (int)SWIG_As_int(obj1
);
25746 if (PyErr_Occurred()) SWIG_fail
;
25747 arg3
= (int)SWIG_As_int(obj2
);
25748 if (PyErr_Occurred()) SWIG_fail
;
25750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25751 (arg1
)->WarpPointer(arg2
,arg3
);
25753 wxPyEndAllowThreads(__tstate
);
25754 if (PyErr_Occurred()) SWIG_fail
;
25756 Py_INCREF(Py_None
); resultobj
= Py_None
;
25763 static PyObject
*_wrap_Window_CaptureMouse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25764 PyObject
*resultobj
;
25765 wxWindow
*arg1
= (wxWindow
*) 0 ;
25766 PyObject
* obj0
= 0 ;
25767 char *kwnames
[] = {
25768 (char *) "self", NULL
25771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_CaptureMouse",kwnames
,&obj0
)) goto fail
;
25772 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25776 (arg1
)->CaptureMouse();
25778 wxPyEndAllowThreads(__tstate
);
25779 if (PyErr_Occurred()) SWIG_fail
;
25781 Py_INCREF(Py_None
); resultobj
= Py_None
;
25788 static PyObject
*_wrap_Window_ReleaseMouse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25789 PyObject
*resultobj
;
25790 wxWindow
*arg1
= (wxWindow
*) 0 ;
25791 PyObject
* obj0
= 0 ;
25792 char *kwnames
[] = {
25793 (char *) "self", NULL
25796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ReleaseMouse",kwnames
,&obj0
)) goto fail
;
25797 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25801 (arg1
)->ReleaseMouse();
25803 wxPyEndAllowThreads(__tstate
);
25804 if (PyErr_Occurred()) SWIG_fail
;
25806 Py_INCREF(Py_None
); resultobj
= Py_None
;
25813 static PyObject
*_wrap_Window_GetCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25814 PyObject
*resultobj
;
25816 char *kwnames
[] = {
25820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_GetCapture",kwnames
)) goto fail
;
25822 if (!wxPyCheckForApp()) SWIG_fail
;
25823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25824 result
= (wxWindow
*)wxWindow::GetCapture();
25826 wxPyEndAllowThreads(__tstate
);
25827 if (PyErr_Occurred()) SWIG_fail
;
25830 resultobj
= wxPyMake_wxObject(result
, 0);
25838 static PyObject
*_wrap_Window_HasCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25839 PyObject
*resultobj
;
25840 wxWindow
*arg1
= (wxWindow
*) 0 ;
25842 PyObject
* obj0
= 0 ;
25843 char *kwnames
[] = {
25844 (char *) "self", NULL
25847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_HasCapture",kwnames
,&obj0
)) goto fail
;
25848 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25849 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25852 result
= (bool)((wxWindow
const *)arg1
)->HasCapture();
25854 wxPyEndAllowThreads(__tstate
);
25855 if (PyErr_Occurred()) SWIG_fail
;
25858 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25866 static PyObject
*_wrap_Window_Refresh(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25867 PyObject
*resultobj
;
25868 wxWindow
*arg1
= (wxWindow
*) 0 ;
25869 bool arg2
= (bool) True
;
25870 wxRect
*arg3
= (wxRect
*) NULL
;
25871 PyObject
* obj0
= 0 ;
25872 PyObject
* obj1
= 0 ;
25873 PyObject
* obj2
= 0 ;
25874 char *kwnames
[] = {
25875 (char *) "self",(char *) "eraseBackground",(char *) "rect", NULL
25878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Window_Refresh",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25879 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25880 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25882 arg2
= (bool)SWIG_As_bool(obj1
);
25883 if (PyErr_Occurred()) SWIG_fail
;
25886 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxRect
,
25887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25891 (arg1
)->Refresh(arg2
,(wxRect
const *)arg3
);
25893 wxPyEndAllowThreads(__tstate
);
25894 if (PyErr_Occurred()) SWIG_fail
;
25896 Py_INCREF(Py_None
); resultobj
= Py_None
;
25903 static PyObject
*_wrap_Window_RefreshRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25904 PyObject
*resultobj
;
25905 wxWindow
*arg1
= (wxWindow
*) 0 ;
25908 PyObject
* obj0
= 0 ;
25909 PyObject
* obj1
= 0 ;
25910 char *kwnames
[] = {
25911 (char *) "self",(char *) "rect", NULL
25914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RefreshRect",kwnames
,&obj0
,&obj1
)) goto fail
;
25915 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25919 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
25922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25923 (arg1
)->RefreshRect((wxRect
const &)*arg2
);
25925 wxPyEndAllowThreads(__tstate
);
25926 if (PyErr_Occurred()) SWIG_fail
;
25928 Py_INCREF(Py_None
); resultobj
= Py_None
;
25935 static PyObject
*_wrap_Window_Update(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25936 PyObject
*resultobj
;
25937 wxWindow
*arg1
= (wxWindow
*) 0 ;
25938 PyObject
* obj0
= 0 ;
25939 char *kwnames
[] = {
25940 (char *) "self", NULL
25943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Update",kwnames
,&obj0
)) goto fail
;
25944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25950 wxPyEndAllowThreads(__tstate
);
25951 if (PyErr_Occurred()) SWIG_fail
;
25953 Py_INCREF(Py_None
); resultobj
= Py_None
;
25960 static PyObject
*_wrap_Window_ClearBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25961 PyObject
*resultobj
;
25962 wxWindow
*arg1
= (wxWindow
*) 0 ;
25963 PyObject
* obj0
= 0 ;
25964 char *kwnames
[] = {
25965 (char *) "self", NULL
25968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ClearBackground",kwnames
,&obj0
)) goto fail
;
25969 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25970 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25973 (arg1
)->ClearBackground();
25975 wxPyEndAllowThreads(__tstate
);
25976 if (PyErr_Occurred()) SWIG_fail
;
25978 Py_INCREF(Py_None
); resultobj
= Py_None
;
25985 static PyObject
*_wrap_Window_Freeze(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25986 PyObject
*resultobj
;
25987 wxWindow
*arg1
= (wxWindow
*) 0 ;
25988 PyObject
* obj0
= 0 ;
25989 char *kwnames
[] = {
25990 (char *) "self", NULL
25993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Freeze",kwnames
,&obj0
)) goto fail
;
25994 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25995 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26000 wxPyEndAllowThreads(__tstate
);
26001 if (PyErr_Occurred()) SWIG_fail
;
26003 Py_INCREF(Py_None
); resultobj
= Py_None
;
26010 static PyObject
*_wrap_Window_Thaw(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26011 PyObject
*resultobj
;
26012 wxWindow
*arg1
= (wxWindow
*) 0 ;
26013 PyObject
* obj0
= 0 ;
26014 char *kwnames
[] = {
26015 (char *) "self", NULL
26018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Thaw",kwnames
,&obj0
)) goto fail
;
26019 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26025 wxPyEndAllowThreads(__tstate
);
26026 if (PyErr_Occurred()) SWIG_fail
;
26028 Py_INCREF(Py_None
); resultobj
= Py_None
;
26035 static PyObject
*_wrap_Window_PrepareDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26036 PyObject
*resultobj
;
26037 wxWindow
*arg1
= (wxWindow
*) 0 ;
26039 PyObject
* obj0
= 0 ;
26040 PyObject
* obj1
= 0 ;
26041 char *kwnames
[] = {
26042 (char *) "self",(char *) "dc", NULL
26045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PrepareDC",kwnames
,&obj0
,&obj1
)) goto fail
;
26046 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26047 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26048 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
26049 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26051 if (arg2
== NULL
) {
26052 PyErr_SetString(PyExc_TypeError
,"null reference");
26056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26057 (arg1
)->PrepareDC(*arg2
);
26059 wxPyEndAllowThreads(__tstate
);
26060 if (PyErr_Occurred()) SWIG_fail
;
26062 Py_INCREF(Py_None
); resultobj
= Py_None
;
26069 static PyObject
*_wrap_Window_GetUpdateRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26070 PyObject
*resultobj
;
26071 wxWindow
*arg1
= (wxWindow
*) 0 ;
26073 PyObject
* obj0
= 0 ;
26074 char *kwnames
[] = {
26075 (char *) "self", NULL
26078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateRegion",kwnames
,&obj0
)) goto fail
;
26079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26084 wxRegion
&_result_ref
= (arg1
)->GetUpdateRegion();
26085 result
= (wxRegion
*) &_result_ref
;
26088 wxPyEndAllowThreads(__tstate
);
26089 if (PyErr_Occurred()) SWIG_fail
;
26091 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 0);
26098 static PyObject
*_wrap_Window_GetUpdateClientRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26099 PyObject
*resultobj
;
26100 wxWindow
*arg1
= (wxWindow
*) 0 ;
26102 PyObject
* obj0
= 0 ;
26103 char *kwnames
[] = {
26104 (char *) "self", NULL
26107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateClientRect",kwnames
,&obj0
)) goto fail
;
26108 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26109 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26112 result
= ((wxWindow
const *)arg1
)->GetUpdateClientRect();
26114 wxPyEndAllowThreads(__tstate
);
26115 if (PyErr_Occurred()) SWIG_fail
;
26118 wxRect
* resultptr
;
26119 resultptr
= new wxRect((wxRect
&) result
);
26120 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
26128 static PyObject
*_wrap_Window_IsExposed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26129 PyObject
*resultobj
;
26130 wxWindow
*arg1
= (wxWindow
*) 0 ;
26133 int arg4
= (int) 1 ;
26134 int arg5
= (int) 1 ;
26136 PyObject
* obj0
= 0 ;
26137 PyObject
* obj1
= 0 ;
26138 PyObject
* obj2
= 0 ;
26139 PyObject
* obj3
= 0 ;
26140 PyObject
* obj4
= 0 ;
26141 char *kwnames
[] = {
26142 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
26145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Window_IsExposed",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
26146 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26147 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26148 arg2
= (int)SWIG_As_int(obj1
);
26149 if (PyErr_Occurred()) SWIG_fail
;
26150 arg3
= (int)SWIG_As_int(obj2
);
26151 if (PyErr_Occurred()) SWIG_fail
;
26153 arg4
= (int)SWIG_As_int(obj3
);
26154 if (PyErr_Occurred()) SWIG_fail
;
26157 arg5
= (int)SWIG_As_int(obj4
);
26158 if (PyErr_Occurred()) SWIG_fail
;
26161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26162 result
= (bool)((wxWindow
const *)arg1
)->IsExposed(arg2
,arg3
,arg4
,arg5
);
26164 wxPyEndAllowThreads(__tstate
);
26165 if (PyErr_Occurred()) SWIG_fail
;
26168 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26176 static PyObject
*_wrap_Window_IsExposedPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26177 PyObject
*resultobj
;
26178 wxWindow
*arg1
= (wxWindow
*) 0 ;
26179 wxPoint
*arg2
= 0 ;
26182 PyObject
* obj0
= 0 ;
26183 PyObject
* obj1
= 0 ;
26184 char *kwnames
[] = {
26185 (char *) "self",(char *) "pt", NULL
26188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
26189 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26190 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26193 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26197 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxPoint
const &)*arg2
);
26199 wxPyEndAllowThreads(__tstate
);
26200 if (PyErr_Occurred()) SWIG_fail
;
26203 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26211 static PyObject
*_wrap_Window_IsExposedRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26212 PyObject
*resultobj
;
26213 wxWindow
*arg1
= (wxWindow
*) 0 ;
26217 PyObject
* obj0
= 0 ;
26218 PyObject
* obj1
= 0 ;
26219 char *kwnames
[] = {
26220 (char *) "self",(char *) "rect", NULL
26223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedRect",kwnames
,&obj0
,&obj1
)) goto fail
;
26224 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26228 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
26231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26232 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxRect
const &)*arg2
);
26234 wxPyEndAllowThreads(__tstate
);
26235 if (PyErr_Occurred()) SWIG_fail
;
26238 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26246 static PyObject
*_wrap_Window_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26247 PyObject
*resultobj
;
26248 wxWindow
*arg1
= (wxWindow
*) 0 ;
26249 wxVisualAttributes result
;
26250 PyObject
* obj0
= 0 ;
26251 char *kwnames
[] = {
26252 (char *) "self", NULL
26255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
26256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26260 result
= ((wxWindow
const *)arg1
)->GetDefaultAttributes();
26262 wxPyEndAllowThreads(__tstate
);
26263 if (PyErr_Occurred()) SWIG_fail
;
26266 wxVisualAttributes
* resultptr
;
26267 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
26268 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
26276 static PyObject
*_wrap_Window_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26277 PyObject
*resultobj
;
26278 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
26279 wxVisualAttributes result
;
26280 PyObject
* obj0
= 0 ;
26281 char *kwnames
[] = {
26282 (char *) "variant", NULL
26285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Window_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
26287 arg1
= (int)SWIG_As_int(obj0
);
26288 if (PyErr_Occurred()) SWIG_fail
;
26291 if (!wxPyCheckForApp()) SWIG_fail
;
26292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26293 result
= wxWindow::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
26295 wxPyEndAllowThreads(__tstate
);
26296 if (PyErr_Occurred()) SWIG_fail
;
26299 wxVisualAttributes
* resultptr
;
26300 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
26301 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
26309 static PyObject
*_wrap_Window_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26310 PyObject
*resultobj
;
26311 wxWindow
*arg1
= (wxWindow
*) 0 ;
26312 wxColour
*arg2
= 0 ;
26315 PyObject
* obj0
= 0 ;
26316 PyObject
* obj1
= 0 ;
26317 char *kwnames
[] = {
26318 (char *) "self",(char *) "colour", NULL
26321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
26322 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26326 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26330 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
26332 wxPyEndAllowThreads(__tstate
);
26333 if (PyErr_Occurred()) SWIG_fail
;
26336 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26344 static PyObject
*_wrap_Window_SetOwnBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26345 PyObject
*resultobj
;
26346 wxWindow
*arg1
= (wxWindow
*) 0 ;
26347 wxColour
*arg2
= 0 ;
26349 PyObject
* obj0
= 0 ;
26350 PyObject
* obj1
= 0 ;
26351 char *kwnames
[] = {
26352 (char *) "self",(char *) "colour", NULL
26355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
26356 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26360 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26364 (arg1
)->SetOwnBackgroundColour((wxColour
const &)*arg2
);
26366 wxPyEndAllowThreads(__tstate
);
26367 if (PyErr_Occurred()) SWIG_fail
;
26369 Py_INCREF(Py_None
); resultobj
= Py_None
;
26376 static PyObject
*_wrap_Window_SetForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26377 PyObject
*resultobj
;
26378 wxWindow
*arg1
= (wxWindow
*) 0 ;
26379 wxColour
*arg2
= 0 ;
26382 PyObject
* obj0
= 0 ;
26383 PyObject
* obj1
= 0 ;
26384 char *kwnames
[] = {
26385 (char *) "self",(char *) "colour", NULL
26388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
26389 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26393 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26397 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
26399 wxPyEndAllowThreads(__tstate
);
26400 if (PyErr_Occurred()) SWIG_fail
;
26403 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26411 static PyObject
*_wrap_Window_SetOwnForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26412 PyObject
*resultobj
;
26413 wxWindow
*arg1
= (wxWindow
*) 0 ;
26414 wxColour
*arg2
= 0 ;
26416 PyObject
* obj0
= 0 ;
26417 PyObject
* obj1
= 0 ;
26418 char *kwnames
[] = {
26419 (char *) "self",(char *) "colour", NULL
26422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
26423 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26424 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26427 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26431 (arg1
)->SetOwnForegroundColour((wxColour
const &)*arg2
);
26433 wxPyEndAllowThreads(__tstate
);
26434 if (PyErr_Occurred()) SWIG_fail
;
26436 Py_INCREF(Py_None
); resultobj
= Py_None
;
26443 static PyObject
*_wrap_Window_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26444 PyObject
*resultobj
;
26445 wxWindow
*arg1
= (wxWindow
*) 0 ;
26447 PyObject
* obj0
= 0 ;
26448 char *kwnames
[] = {
26449 (char *) "self", NULL
26452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
26453 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26457 result
= ((wxWindow
const *)arg1
)->GetBackgroundColour();
26459 wxPyEndAllowThreads(__tstate
);
26460 if (PyErr_Occurred()) SWIG_fail
;
26463 wxColour
* resultptr
;
26464 resultptr
= new wxColour((wxColour
&) result
);
26465 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
26473 static PyObject
*_wrap_Window_GetForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26474 PyObject
*resultobj
;
26475 wxWindow
*arg1
= (wxWindow
*) 0 ;
26477 PyObject
* obj0
= 0 ;
26478 char *kwnames
[] = {
26479 (char *) "self", NULL
26482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetForegroundColour",kwnames
,&obj0
)) goto fail
;
26483 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26484 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26487 result
= ((wxWindow
const *)arg1
)->GetForegroundColour();
26489 wxPyEndAllowThreads(__tstate
);
26490 if (PyErr_Occurred()) SWIG_fail
;
26493 wxColour
* resultptr
;
26494 resultptr
= new wxColour((wxColour
&) result
);
26495 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
26503 static PyObject
*_wrap_Window_SetBackgroundStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26504 PyObject
*resultobj
;
26505 wxWindow
*arg1
= (wxWindow
*) 0 ;
26508 PyObject
* obj0
= 0 ;
26509 PyObject
* obj1
= 0 ;
26510 char *kwnames
[] = {
26511 (char *) "self",(char *) "style", NULL
26514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetBackgroundStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
26515 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26516 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26517 arg2
= (int)SWIG_As_int(obj1
);
26518 if (PyErr_Occurred()) SWIG_fail
;
26520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26521 result
= (bool)(arg1
)->SetBackgroundStyle((wxBackgroundStyle
)arg2
);
26523 wxPyEndAllowThreads(__tstate
);
26524 if (PyErr_Occurred()) SWIG_fail
;
26527 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26535 static PyObject
*_wrap_Window_GetBackgroundStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26536 PyObject
*resultobj
;
26537 wxWindow
*arg1
= (wxWindow
*) 0 ;
26539 PyObject
* obj0
= 0 ;
26540 char *kwnames
[] = {
26541 (char *) "self", NULL
26544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBackgroundStyle",kwnames
,&obj0
)) goto fail
;
26545 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26546 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26549 result
= (int)((wxWindow
const *)arg1
)->GetBackgroundStyle();
26551 wxPyEndAllowThreads(__tstate
);
26552 if (PyErr_Occurred()) SWIG_fail
;
26554 resultobj
= SWIG_From_int((int)result
);
26561 static PyObject
*_wrap_Window_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26562 PyObject
*resultobj
;
26563 wxWindow
*arg1
= (wxWindow
*) 0 ;
26564 wxCursor
*arg2
= 0 ;
26566 PyObject
* obj0
= 0 ;
26567 PyObject
* obj1
= 0 ;
26568 char *kwnames
[] = {
26569 (char *) "self",(char *) "cursor", NULL
26572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
26573 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26574 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26575 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
26576 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26578 if (arg2
== NULL
) {
26579 PyErr_SetString(PyExc_TypeError
,"null reference");
26583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26584 result
= (bool)(arg1
)->SetCursor((wxCursor
const &)*arg2
);
26586 wxPyEndAllowThreads(__tstate
);
26587 if (PyErr_Occurred()) SWIG_fail
;
26590 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26598 static PyObject
*_wrap_Window_GetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26599 PyObject
*resultobj
;
26600 wxWindow
*arg1
= (wxWindow
*) 0 ;
26602 PyObject
* obj0
= 0 ;
26603 char *kwnames
[] = {
26604 (char *) "self", NULL
26607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCursor",kwnames
,&obj0
)) goto fail
;
26608 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26609 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26612 result
= (arg1
)->GetCursor();
26614 wxPyEndAllowThreads(__tstate
);
26615 if (PyErr_Occurred()) SWIG_fail
;
26618 wxCursor
* resultptr
;
26619 resultptr
= new wxCursor((wxCursor
&) result
);
26620 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxCursor
, 1);
26628 static PyObject
*_wrap_Window_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26629 PyObject
*resultobj
;
26630 wxWindow
*arg1
= (wxWindow
*) 0 ;
26633 PyObject
* obj0
= 0 ;
26634 PyObject
* obj1
= 0 ;
26635 char *kwnames
[] = {
26636 (char *) "self",(char *) "font", NULL
26639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
26640 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26641 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26642 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
26643 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26645 if (arg2
== NULL
) {
26646 PyErr_SetString(PyExc_TypeError
,"null reference");
26650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26651 result
= (bool)(arg1
)->SetFont((wxFont
const &)*arg2
);
26653 wxPyEndAllowThreads(__tstate
);
26654 if (PyErr_Occurred()) SWIG_fail
;
26657 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26665 static PyObject
*_wrap_Window_SetOwnFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26666 PyObject
*resultobj
;
26667 wxWindow
*arg1
= (wxWindow
*) 0 ;
26669 PyObject
* obj0
= 0 ;
26670 PyObject
* obj1
= 0 ;
26671 char *kwnames
[] = {
26672 (char *) "self",(char *) "font", NULL
26675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnFont",kwnames
,&obj0
,&obj1
)) goto fail
;
26676 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26677 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26678 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
26679 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26681 if (arg2
== NULL
) {
26682 PyErr_SetString(PyExc_TypeError
,"null reference");
26686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26687 (arg1
)->SetOwnFont((wxFont
const &)*arg2
);
26689 wxPyEndAllowThreads(__tstate
);
26690 if (PyErr_Occurred()) SWIG_fail
;
26692 Py_INCREF(Py_None
); resultobj
= Py_None
;
26699 static PyObject
*_wrap_Window_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26700 PyObject
*resultobj
;
26701 wxWindow
*arg1
= (wxWindow
*) 0 ;
26703 PyObject
* obj0
= 0 ;
26704 char *kwnames
[] = {
26705 (char *) "self", NULL
26708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetFont",kwnames
,&obj0
)) goto fail
;
26709 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26710 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26713 result
= (arg1
)->GetFont();
26715 wxPyEndAllowThreads(__tstate
);
26716 if (PyErr_Occurred()) SWIG_fail
;
26719 wxFont
* resultptr
;
26720 resultptr
= new wxFont((wxFont
&) result
);
26721 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
26729 static PyObject
*_wrap_Window_SetCaret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26730 PyObject
*resultobj
;
26731 wxWindow
*arg1
= (wxWindow
*) 0 ;
26732 wxCaret
*arg2
= (wxCaret
*) 0 ;
26733 PyObject
* obj0
= 0 ;
26734 PyObject
* obj1
= 0 ;
26735 char *kwnames
[] = {
26736 (char *) "self",(char *) "caret", NULL
26739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCaret",kwnames
,&obj0
,&obj1
)) goto fail
;
26740 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26741 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26742 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCaret
,
26743 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26746 (arg1
)->SetCaret(arg2
);
26748 wxPyEndAllowThreads(__tstate
);
26749 if (PyErr_Occurred()) SWIG_fail
;
26751 Py_INCREF(Py_None
); resultobj
= Py_None
;
26758 static PyObject
*_wrap_Window_GetCaret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26759 PyObject
*resultobj
;
26760 wxWindow
*arg1
= (wxWindow
*) 0 ;
26762 PyObject
* obj0
= 0 ;
26763 char *kwnames
[] = {
26764 (char *) "self", NULL
26767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCaret",kwnames
,&obj0
)) goto fail
;
26768 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26769 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26772 result
= (wxCaret
*)((wxWindow
const *)arg1
)->GetCaret();
26774 wxPyEndAllowThreads(__tstate
);
26775 if (PyErr_Occurred()) SWIG_fail
;
26777 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCaret
, 0);
26784 static PyObject
*_wrap_Window_GetCharHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26785 PyObject
*resultobj
;
26786 wxWindow
*arg1
= (wxWindow
*) 0 ;
26788 PyObject
* obj0
= 0 ;
26789 char *kwnames
[] = {
26790 (char *) "self", NULL
26793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharHeight",kwnames
,&obj0
)) goto fail
;
26794 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26795 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26798 result
= (int)((wxWindow
const *)arg1
)->GetCharHeight();
26800 wxPyEndAllowThreads(__tstate
);
26801 if (PyErr_Occurred()) SWIG_fail
;
26803 resultobj
= SWIG_From_int((int)result
);
26810 static PyObject
*_wrap_Window_GetCharWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26811 PyObject
*resultobj
;
26812 wxWindow
*arg1
= (wxWindow
*) 0 ;
26814 PyObject
* obj0
= 0 ;
26815 char *kwnames
[] = {
26816 (char *) "self", NULL
26819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharWidth",kwnames
,&obj0
)) goto fail
;
26820 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26821 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26824 result
= (int)((wxWindow
const *)arg1
)->GetCharWidth();
26826 wxPyEndAllowThreads(__tstate
);
26827 if (PyErr_Occurred()) SWIG_fail
;
26829 resultobj
= SWIG_From_int((int)result
);
26836 static PyObject
*_wrap_Window_GetTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26837 PyObject
*resultobj
;
26838 wxWindow
*arg1
= (wxWindow
*) 0 ;
26839 wxString
*arg2
= 0 ;
26840 int *arg3
= (int *) 0 ;
26841 int *arg4
= (int *) 0 ;
26842 bool temp2
= False
;
26847 PyObject
* obj0
= 0 ;
26848 PyObject
* obj1
= 0 ;
26849 char *kwnames
[] = {
26850 (char *) "self",(char *) "string", NULL
26853 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
26854 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
26855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetTextExtent",kwnames
,&obj0
,&obj1
)) goto fail
;
26856 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26857 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26859 arg2
= wxString_in_helper(obj1
);
26860 if (arg2
== NULL
) SWIG_fail
;
26864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26865 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
26867 wxPyEndAllowThreads(__tstate
);
26868 if (PyErr_Occurred()) SWIG_fail
;
26870 Py_INCREF(Py_None
); resultobj
= Py_None
;
26871 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
26872 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
26873 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
26874 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
26889 static PyObject
*_wrap_Window_GetFullTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26890 PyObject
*resultobj
;
26891 wxWindow
*arg1
= (wxWindow
*) 0 ;
26892 wxString
*arg2
= 0 ;
26893 int *arg3
= (int *) 0 ;
26894 int *arg4
= (int *) 0 ;
26895 int *arg5
= (int *) 0 ;
26896 int *arg6
= (int *) 0 ;
26897 wxFont
*arg7
= (wxFont
*) NULL
;
26898 bool temp2
= False
;
26907 PyObject
* obj0
= 0 ;
26908 PyObject
* obj1
= 0 ;
26909 PyObject
* obj2
= 0 ;
26910 char *kwnames
[] = {
26911 (char *) "self",(char *) "string",(char *) "font", NULL
26914 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
26915 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
26916 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
26917 arg6
= &temp6
; res6
= SWIG_NEWOBJ
;
26918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26922 arg2
= wxString_in_helper(obj1
);
26923 if (arg2
== NULL
) SWIG_fail
;
26927 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg7
),SWIGTYPE_p_wxFont
,
26928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26932 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,(wxFont
const *)arg7
);
26934 wxPyEndAllowThreads(__tstate
);
26935 if (PyErr_Occurred()) SWIG_fail
;
26937 Py_INCREF(Py_None
); resultobj
= Py_None
;
26938 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
26939 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
26940 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
26941 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
26942 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
26943 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
26944 resultobj
= t_output_helper(resultobj
, ((res6
== SWIG_NEWOBJ
) ?
26945 SWIG_From_int((*arg6
)) : SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_int
, 0)));
26960 static PyObject
*_wrap_Window_ClientToScreenXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26961 PyObject
*resultobj
;
26962 wxWindow
*arg1
= (wxWindow
*) 0 ;
26963 int *arg2
= (int *) 0 ;
26964 int *arg3
= (int *) 0 ;
26969 PyObject
* obj0
= 0 ;
26970 PyObject
* obj1
= 0 ;
26971 PyObject
* obj2
= 0 ;
26972 char *kwnames
[] = {
26973 (char *) "self",(char *) "x",(char *) "y", NULL
26976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ClientToScreenXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26977 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26978 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26980 if (!(SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_int
,0) != -1)) {
26981 temp2
= SWIG_As_int(obj1
);
26982 if (PyErr_Occurred()) SWIG_fail
;
26984 res2
= SWIG_NEWOBJ
;
26988 if (!(SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_int
,0) != -1)) {
26989 temp3
= SWIG_As_int(obj2
);
26990 if (PyErr_Occurred()) SWIG_fail
;
26992 res3
= SWIG_NEWOBJ
;
26996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26997 ((wxWindow
const *)arg1
)->ClientToScreen(arg2
,arg3
);
26999 wxPyEndAllowThreads(__tstate
);
27000 if (PyErr_Occurred()) SWIG_fail
;
27002 Py_INCREF(Py_None
); resultobj
= Py_None
;
27003 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
27004 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
27005 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
27006 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
27013 static PyObject
*_wrap_Window_ScreenToClientXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27014 PyObject
*resultobj
;
27015 wxWindow
*arg1
= (wxWindow
*) 0 ;
27016 int *arg2
= (int *) 0 ;
27017 int *arg3
= (int *) 0 ;
27022 PyObject
* obj0
= 0 ;
27023 PyObject
* obj1
= 0 ;
27024 PyObject
* obj2
= 0 ;
27025 char *kwnames
[] = {
27026 (char *) "self",(char *) "x",(char *) "y", NULL
27029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ScreenToClientXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27030 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27031 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27033 if (!(SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_int
,0) != -1)) {
27034 temp2
= SWIG_As_int(obj1
);
27035 if (PyErr_Occurred()) SWIG_fail
;
27037 res2
= SWIG_NEWOBJ
;
27041 if (!(SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_int
,0) != -1)) {
27042 temp3
= SWIG_As_int(obj2
);
27043 if (PyErr_Occurred()) SWIG_fail
;
27045 res3
= SWIG_NEWOBJ
;
27049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27050 ((wxWindow
const *)arg1
)->ScreenToClient(arg2
,arg3
);
27052 wxPyEndAllowThreads(__tstate
);
27053 if (PyErr_Occurred()) SWIG_fail
;
27055 Py_INCREF(Py_None
); resultobj
= Py_None
;
27056 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
27057 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
27058 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
27059 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
27066 static PyObject
*_wrap_Window_ClientToScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27067 PyObject
*resultobj
;
27068 wxWindow
*arg1
= (wxWindow
*) 0 ;
27069 wxPoint
*arg2
= 0 ;
27072 PyObject
* obj0
= 0 ;
27073 PyObject
* obj1
= 0 ;
27074 char *kwnames
[] = {
27075 (char *) "self",(char *) "pt", NULL
27078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ClientToScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
27079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27083 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
27086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27087 result
= ((wxWindow
const *)arg1
)->ClientToScreen((wxPoint
const &)*arg2
);
27089 wxPyEndAllowThreads(__tstate
);
27090 if (PyErr_Occurred()) SWIG_fail
;
27093 wxPoint
* resultptr
;
27094 resultptr
= new wxPoint((wxPoint
&) result
);
27095 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
27103 static PyObject
*_wrap_Window_ScreenToClient(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27104 PyObject
*resultobj
;
27105 wxWindow
*arg1
= (wxWindow
*) 0 ;
27106 wxPoint
*arg2
= 0 ;
27109 PyObject
* obj0
= 0 ;
27110 PyObject
* obj1
= 0 ;
27111 char *kwnames
[] = {
27112 (char *) "self",(char *) "pt", NULL
27115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScreenToClient",kwnames
,&obj0
,&obj1
)) goto fail
;
27116 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27117 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27120 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
27123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27124 result
= ((wxWindow
const *)arg1
)->ScreenToClient((wxPoint
const &)*arg2
);
27126 wxPyEndAllowThreads(__tstate
);
27127 if (PyErr_Occurred()) SWIG_fail
;
27130 wxPoint
* resultptr
;
27131 resultptr
= new wxPoint((wxPoint
&) result
);
27132 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
27140 static PyObject
*_wrap_Window_HitTestXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27141 PyObject
*resultobj
;
27142 wxWindow
*arg1
= (wxWindow
*) 0 ;
27146 PyObject
* obj0
= 0 ;
27147 PyObject
* obj1
= 0 ;
27148 PyObject
* obj2
= 0 ;
27149 char *kwnames
[] = {
27150 (char *) "self",(char *) "x",(char *) "y", NULL
27153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27154 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27156 arg2
= (int)SWIG_As_int(obj1
);
27157 if (PyErr_Occurred()) SWIG_fail
;
27158 arg3
= (int)SWIG_As_int(obj2
);
27159 if (PyErr_Occurred()) SWIG_fail
;
27161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27162 result
= (int)((wxWindow
const *)arg1
)->HitTest(arg2
,arg3
);
27164 wxPyEndAllowThreads(__tstate
);
27165 if (PyErr_Occurred()) SWIG_fail
;
27167 resultobj
= SWIG_From_int((int)result
);
27174 static PyObject
*_wrap_Window_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27175 PyObject
*resultobj
;
27176 wxWindow
*arg1
= (wxWindow
*) 0 ;
27177 wxPoint
*arg2
= 0 ;
27180 PyObject
* obj0
= 0 ;
27181 PyObject
* obj1
= 0 ;
27182 char *kwnames
[] = {
27183 (char *) "self",(char *) "pt", NULL
27186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
27187 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27188 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27191 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
27194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27195 result
= (int)((wxWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
27197 wxPyEndAllowThreads(__tstate
);
27198 if (PyErr_Occurred()) SWIG_fail
;
27200 resultobj
= SWIG_From_int((int)result
);
27207 static PyObject
*_wrap_Window_GetBorder__SWIG_0(PyObject
*, PyObject
*args
) {
27208 PyObject
*resultobj
;
27209 wxWindow
*arg1
= (wxWindow
*) 0 ;
27212 PyObject
* obj0
= 0 ;
27213 PyObject
* obj1
= 0 ;
27215 if(!PyArg_ParseTuple(args
,(char *)"OO:Window_GetBorder",&obj0
,&obj1
)) goto fail
;
27216 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27217 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27218 arg2
= (long)SWIG_As_long(obj1
);
27219 if (PyErr_Occurred()) SWIG_fail
;
27221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27222 result
= (int)((wxWindow
const *)arg1
)->GetBorder(arg2
);
27224 wxPyEndAllowThreads(__tstate
);
27225 if (PyErr_Occurred()) SWIG_fail
;
27227 resultobj
= SWIG_From_int((int)result
);
27234 static PyObject
*_wrap_Window_GetBorder__SWIG_1(PyObject
*, PyObject
*args
) {
27235 PyObject
*resultobj
;
27236 wxWindow
*arg1
= (wxWindow
*) 0 ;
27238 PyObject
* obj0
= 0 ;
27240 if(!PyArg_ParseTuple(args
,(char *)"O:Window_GetBorder",&obj0
)) goto fail
;
27241 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27242 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27245 result
= (int)((wxWindow
const *)arg1
)->GetBorder();
27247 wxPyEndAllowThreads(__tstate
);
27248 if (PyErr_Occurred()) SWIG_fail
;
27250 resultobj
= SWIG_From_int((int)result
);
27257 static PyObject
*_wrap_Window_GetBorder(PyObject
*self
, PyObject
*args
) {
27262 argc
= PyObject_Length(args
);
27263 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
27264 argv
[ii
] = PyTuple_GetItem(args
,ii
);
27270 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
27278 return _wrap_Window_GetBorder__SWIG_1(self
,args
);
27285 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
27293 _v
= SWIG_Check_long(argv
[1]);
27295 return _wrap_Window_GetBorder__SWIG_0(self
,args
);
27300 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'Window_GetBorder'");
27305 static PyObject
*_wrap_Window_UpdateWindowUI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27306 PyObject
*resultobj
;
27307 wxWindow
*arg1
= (wxWindow
*) 0 ;
27308 long arg2
= (long) wxUPDATE_UI_NONE
;
27309 PyObject
* obj0
= 0 ;
27310 PyObject
* obj1
= 0 ;
27311 char *kwnames
[] = {
27312 (char *) "self",(char *) "flags", NULL
27315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_UpdateWindowUI",kwnames
,&obj0
,&obj1
)) goto fail
;
27316 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27317 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27319 arg2
= (long)SWIG_As_long(obj1
);
27320 if (PyErr_Occurred()) SWIG_fail
;
27323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27324 (arg1
)->UpdateWindowUI(arg2
);
27326 wxPyEndAllowThreads(__tstate
);
27327 if (PyErr_Occurred()) SWIG_fail
;
27329 Py_INCREF(Py_None
); resultobj
= Py_None
;
27336 static PyObject
*_wrap_Window_PopupMenuXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27337 PyObject
*resultobj
;
27338 wxWindow
*arg1
= (wxWindow
*) 0 ;
27339 wxMenu
*arg2
= (wxMenu
*) 0 ;
27340 int arg3
= (int) -1 ;
27341 int arg4
= (int) -1 ;
27343 PyObject
* obj0
= 0 ;
27344 PyObject
* obj1
= 0 ;
27345 PyObject
* obj2
= 0 ;
27346 PyObject
* obj3
= 0 ;
27347 char *kwnames
[] = {
27348 (char *) "self",(char *) "menu",(char *) "x",(char *) "y", NULL
27351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Window_PopupMenuXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27352 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27353 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27354 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
27355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27357 arg3
= (int)SWIG_As_int(obj2
);
27358 if (PyErr_Occurred()) SWIG_fail
;
27361 arg4
= (int)SWIG_As_int(obj3
);
27362 if (PyErr_Occurred()) SWIG_fail
;
27365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27366 result
= (bool)(arg1
)->PopupMenu(arg2
,arg3
,arg4
);
27368 wxPyEndAllowThreads(__tstate
);
27369 if (PyErr_Occurred()) SWIG_fail
;
27372 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27380 static PyObject
*_wrap_Window_PopupMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27381 PyObject
*resultobj
;
27382 wxWindow
*arg1
= (wxWindow
*) 0 ;
27383 wxMenu
*arg2
= (wxMenu
*) 0 ;
27384 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
27385 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
27388 PyObject
* obj0
= 0 ;
27389 PyObject
* obj1
= 0 ;
27390 PyObject
* obj2
= 0 ;
27391 char *kwnames
[] = {
27392 (char *) "self",(char *) "menu",(char *) "pos", NULL
27395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_PopupMenu",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27398 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
27399 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27403 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
27407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27408 result
= (bool)(arg1
)->PopupMenu(arg2
,(wxPoint
const &)*arg3
);
27410 wxPyEndAllowThreads(__tstate
);
27411 if (PyErr_Occurred()) SWIG_fail
;
27414 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27422 static PyObject
*_wrap_Window_GetHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27423 PyObject
*resultobj
;
27424 wxWindow
*arg1
= (wxWindow
*) 0 ;
27426 PyObject
* obj0
= 0 ;
27427 char *kwnames
[] = {
27428 (char *) "self", NULL
27431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHandle",kwnames
,&obj0
)) goto fail
;
27432 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27436 result
= (long)wxWindow_GetHandle(arg1
);
27438 wxPyEndAllowThreads(__tstate
);
27439 if (PyErr_Occurred()) SWIG_fail
;
27441 resultobj
= SWIG_From_long((long)result
);
27448 static PyObject
*_wrap_Window_OnPaint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27449 PyObject
*resultobj
;
27450 wxWindow
*arg1
= (wxWindow
*) 0 ;
27451 wxPaintEvent
*arg2
= 0 ;
27452 PyObject
* obj0
= 0 ;
27453 PyObject
* obj1
= 0 ;
27454 char *kwnames
[] = {
27455 (char *) "self",(char *) "event", NULL
27458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_OnPaint",kwnames
,&obj0
,&obj1
)) goto fail
;
27459 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27460 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27461 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPaintEvent
,
27462 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27464 if (arg2
== NULL
) {
27465 PyErr_SetString(PyExc_TypeError
,"null reference");
27469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27470 (arg1
)->OnPaint(*arg2
);
27472 wxPyEndAllowThreads(__tstate
);
27473 if (PyErr_Occurred()) SWIG_fail
;
27475 Py_INCREF(Py_None
); resultobj
= Py_None
;
27482 static PyObject
*_wrap_Window_HasScrollbar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27483 PyObject
*resultobj
;
27484 wxWindow
*arg1
= (wxWindow
*) 0 ;
27487 PyObject
* obj0
= 0 ;
27488 PyObject
* obj1
= 0 ;
27489 char *kwnames
[] = {
27490 (char *) "self",(char *) "orient", NULL
27493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasScrollbar",kwnames
,&obj0
,&obj1
)) goto fail
;
27494 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27495 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27496 arg2
= (int)SWIG_As_int(obj1
);
27497 if (PyErr_Occurred()) SWIG_fail
;
27499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27500 result
= (bool)((wxWindow
const *)arg1
)->HasScrollbar(arg2
);
27502 wxPyEndAllowThreads(__tstate
);
27503 if (PyErr_Occurred()) SWIG_fail
;
27506 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27514 static PyObject
*_wrap_Window_SetScrollbar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27515 PyObject
*resultobj
;
27516 wxWindow
*arg1
= (wxWindow
*) 0 ;
27521 bool arg6
= (bool) True
;
27522 PyObject
* obj0
= 0 ;
27523 PyObject
* obj1
= 0 ;
27524 PyObject
* obj2
= 0 ;
27525 PyObject
* obj3
= 0 ;
27526 PyObject
* obj4
= 0 ;
27527 PyObject
* obj5
= 0 ;
27528 char *kwnames
[] = {
27529 (char *) "self",(char *) "orientation",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "refresh", NULL
27532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
27533 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27534 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27535 arg2
= (int)SWIG_As_int(obj1
);
27536 if (PyErr_Occurred()) SWIG_fail
;
27537 arg3
= (int)SWIG_As_int(obj2
);
27538 if (PyErr_Occurred()) SWIG_fail
;
27539 arg4
= (int)SWIG_As_int(obj3
);
27540 if (PyErr_Occurred()) SWIG_fail
;
27541 arg5
= (int)SWIG_As_int(obj4
);
27542 if (PyErr_Occurred()) SWIG_fail
;
27544 arg6
= (bool)SWIG_As_bool(obj5
);
27545 if (PyErr_Occurred()) SWIG_fail
;
27548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27549 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
27551 wxPyEndAllowThreads(__tstate
);
27552 if (PyErr_Occurred()) SWIG_fail
;
27554 Py_INCREF(Py_None
); resultobj
= Py_None
;
27561 static PyObject
*_wrap_Window_SetScrollPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27562 PyObject
*resultobj
;
27563 wxWindow
*arg1
= (wxWindow
*) 0 ;
27566 bool arg4
= (bool) True
;
27567 PyObject
* obj0
= 0 ;
27568 PyObject
* obj1
= 0 ;
27569 PyObject
* obj2
= 0 ;
27570 PyObject
* obj3
= 0 ;
27571 char *kwnames
[] = {
27572 (char *) "self",(char *) "orientation",(char *) "pos",(char *) "refresh", NULL
27575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_SetScrollPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27576 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27578 arg2
= (int)SWIG_As_int(obj1
);
27579 if (PyErr_Occurred()) SWIG_fail
;
27580 arg3
= (int)SWIG_As_int(obj2
);
27581 if (PyErr_Occurred()) SWIG_fail
;
27583 arg4
= (bool)SWIG_As_bool(obj3
);
27584 if (PyErr_Occurred()) SWIG_fail
;
27587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27588 (arg1
)->SetScrollPos(arg2
,arg3
,arg4
);
27590 wxPyEndAllowThreads(__tstate
);
27591 if (PyErr_Occurred()) SWIG_fail
;
27593 Py_INCREF(Py_None
); resultobj
= Py_None
;
27600 static PyObject
*_wrap_Window_GetScrollPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27601 PyObject
*resultobj
;
27602 wxWindow
*arg1
= (wxWindow
*) 0 ;
27605 PyObject
* obj0
= 0 ;
27606 PyObject
* obj1
= 0 ;
27607 char *kwnames
[] = {
27608 (char *) "self",(char *) "orientation", NULL
27611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollPos",kwnames
,&obj0
,&obj1
)) goto fail
;
27612 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27613 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27614 arg2
= (int)SWIG_As_int(obj1
);
27615 if (PyErr_Occurred()) SWIG_fail
;
27617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27618 result
= (int)((wxWindow
const *)arg1
)->GetScrollPos(arg2
);
27620 wxPyEndAllowThreads(__tstate
);
27621 if (PyErr_Occurred()) SWIG_fail
;
27623 resultobj
= SWIG_From_int((int)result
);
27630 static PyObject
*_wrap_Window_GetScrollThumb(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27631 PyObject
*resultobj
;
27632 wxWindow
*arg1
= (wxWindow
*) 0 ;
27635 PyObject
* obj0
= 0 ;
27636 PyObject
* obj1
= 0 ;
27637 char *kwnames
[] = {
27638 (char *) "self",(char *) "orientation", NULL
27641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollThumb",kwnames
,&obj0
,&obj1
)) goto fail
;
27642 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27643 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27644 arg2
= (int)SWIG_As_int(obj1
);
27645 if (PyErr_Occurred()) SWIG_fail
;
27647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27648 result
= (int)((wxWindow
const *)arg1
)->GetScrollThumb(arg2
);
27650 wxPyEndAllowThreads(__tstate
);
27651 if (PyErr_Occurred()) SWIG_fail
;
27653 resultobj
= SWIG_From_int((int)result
);
27660 static PyObject
*_wrap_Window_GetScrollRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27661 PyObject
*resultobj
;
27662 wxWindow
*arg1
= (wxWindow
*) 0 ;
27665 PyObject
* obj0
= 0 ;
27666 PyObject
* obj1
= 0 ;
27667 char *kwnames
[] = {
27668 (char *) "self",(char *) "orientation", NULL
27671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollRange",kwnames
,&obj0
,&obj1
)) goto fail
;
27672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27674 arg2
= (int)SWIG_As_int(obj1
);
27675 if (PyErr_Occurred()) SWIG_fail
;
27677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27678 result
= (int)((wxWindow
const *)arg1
)->GetScrollRange(arg2
);
27680 wxPyEndAllowThreads(__tstate
);
27681 if (PyErr_Occurred()) SWIG_fail
;
27683 resultobj
= SWIG_From_int((int)result
);
27690 static PyObject
*_wrap_Window_ScrollWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27691 PyObject
*resultobj
;
27692 wxWindow
*arg1
= (wxWindow
*) 0 ;
27695 wxRect
*arg4
= (wxRect
*) NULL
;
27696 PyObject
* obj0
= 0 ;
27697 PyObject
* obj1
= 0 ;
27698 PyObject
* obj2
= 0 ;
27699 PyObject
* obj3
= 0 ;
27700 char *kwnames
[] = {
27701 (char *) "self",(char *) "dx",(char *) "dy",(char *) "rect", NULL
27704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_ScrollWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27705 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27707 arg2
= (int)SWIG_As_int(obj1
);
27708 if (PyErr_Occurred()) SWIG_fail
;
27709 arg3
= (int)SWIG_As_int(obj2
);
27710 if (PyErr_Occurred()) SWIG_fail
;
27712 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxRect
,
27713 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27717 (arg1
)->ScrollWindow(arg2
,arg3
,(wxRect
const *)arg4
);
27719 wxPyEndAllowThreads(__tstate
);
27720 if (PyErr_Occurred()) SWIG_fail
;
27722 Py_INCREF(Py_None
); resultobj
= Py_None
;
27729 static PyObject
*_wrap_Window_ScrollLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27730 PyObject
*resultobj
;
27731 wxWindow
*arg1
= (wxWindow
*) 0 ;
27734 PyObject
* obj0
= 0 ;
27735 PyObject
* obj1
= 0 ;
27736 char *kwnames
[] = {
27737 (char *) "self",(char *) "lines", NULL
27740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollLines",kwnames
,&obj0
,&obj1
)) goto fail
;
27741 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27742 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27743 arg2
= (int)SWIG_As_int(obj1
);
27744 if (PyErr_Occurred()) SWIG_fail
;
27746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27747 result
= (bool)(arg1
)->ScrollLines(arg2
);
27749 wxPyEndAllowThreads(__tstate
);
27750 if (PyErr_Occurred()) SWIG_fail
;
27753 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27761 static PyObject
*_wrap_Window_ScrollPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27762 PyObject
*resultobj
;
27763 wxWindow
*arg1
= (wxWindow
*) 0 ;
27766 PyObject
* obj0
= 0 ;
27767 PyObject
* obj1
= 0 ;
27768 char *kwnames
[] = {
27769 (char *) "self",(char *) "pages", NULL
27772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollPages",kwnames
,&obj0
,&obj1
)) goto fail
;
27773 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27774 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27775 arg2
= (int)SWIG_As_int(obj1
);
27776 if (PyErr_Occurred()) SWIG_fail
;
27778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27779 result
= (bool)(arg1
)->ScrollPages(arg2
);
27781 wxPyEndAllowThreads(__tstate
);
27782 if (PyErr_Occurred()) SWIG_fail
;
27785 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27793 static PyObject
*_wrap_Window_LineUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27794 PyObject
*resultobj
;
27795 wxWindow
*arg1
= (wxWindow
*) 0 ;
27797 PyObject
* obj0
= 0 ;
27798 char *kwnames
[] = {
27799 (char *) "self", NULL
27802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineUp",kwnames
,&obj0
)) goto fail
;
27803 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27804 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27807 result
= (bool)(arg1
)->LineUp();
27809 wxPyEndAllowThreads(__tstate
);
27810 if (PyErr_Occurred()) SWIG_fail
;
27813 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27821 static PyObject
*_wrap_Window_LineDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27822 PyObject
*resultobj
;
27823 wxWindow
*arg1
= (wxWindow
*) 0 ;
27825 PyObject
* obj0
= 0 ;
27826 char *kwnames
[] = {
27827 (char *) "self", NULL
27830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineDown",kwnames
,&obj0
)) goto fail
;
27831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27835 result
= (bool)(arg1
)->LineDown();
27837 wxPyEndAllowThreads(__tstate
);
27838 if (PyErr_Occurred()) SWIG_fail
;
27841 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27849 static PyObject
*_wrap_Window_PageUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27850 PyObject
*resultobj
;
27851 wxWindow
*arg1
= (wxWindow
*) 0 ;
27853 PyObject
* obj0
= 0 ;
27854 char *kwnames
[] = {
27855 (char *) "self", NULL
27858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageUp",kwnames
,&obj0
)) goto fail
;
27859 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27863 result
= (bool)(arg1
)->PageUp();
27865 wxPyEndAllowThreads(__tstate
);
27866 if (PyErr_Occurred()) SWIG_fail
;
27869 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27877 static PyObject
*_wrap_Window_PageDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27878 PyObject
*resultobj
;
27879 wxWindow
*arg1
= (wxWindow
*) 0 ;
27881 PyObject
* obj0
= 0 ;
27882 char *kwnames
[] = {
27883 (char *) "self", NULL
27886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageDown",kwnames
,&obj0
)) goto fail
;
27887 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27888 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27891 result
= (bool)(arg1
)->PageDown();
27893 wxPyEndAllowThreads(__tstate
);
27894 if (PyErr_Occurred()) SWIG_fail
;
27897 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27905 static PyObject
*_wrap_Window_SetHelpText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27906 PyObject
*resultobj
;
27907 wxWindow
*arg1
= (wxWindow
*) 0 ;
27908 wxString
*arg2
= 0 ;
27909 bool temp2
= False
;
27910 PyObject
* obj0
= 0 ;
27911 PyObject
* obj1
= 0 ;
27912 char *kwnames
[] = {
27913 (char *) "self",(char *) "text", NULL
27916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpText",kwnames
,&obj0
,&obj1
)) goto fail
;
27917 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27918 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27920 arg2
= wxString_in_helper(obj1
);
27921 if (arg2
== NULL
) SWIG_fail
;
27925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27926 (arg1
)->SetHelpText((wxString
const &)*arg2
);
27928 wxPyEndAllowThreads(__tstate
);
27929 if (PyErr_Occurred()) SWIG_fail
;
27931 Py_INCREF(Py_None
); resultobj
= Py_None
;
27946 static PyObject
*_wrap_Window_SetHelpTextForId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27947 PyObject
*resultobj
;
27948 wxWindow
*arg1
= (wxWindow
*) 0 ;
27949 wxString
*arg2
= 0 ;
27950 bool temp2
= False
;
27951 PyObject
* obj0
= 0 ;
27952 PyObject
* obj1
= 0 ;
27953 char *kwnames
[] = {
27954 (char *) "self",(char *) "text", NULL
27957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpTextForId",kwnames
,&obj0
,&obj1
)) goto fail
;
27958 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27961 arg2
= wxString_in_helper(obj1
);
27962 if (arg2
== NULL
) SWIG_fail
;
27966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27967 (arg1
)->SetHelpTextForId((wxString
const &)*arg2
);
27969 wxPyEndAllowThreads(__tstate
);
27970 if (PyErr_Occurred()) SWIG_fail
;
27972 Py_INCREF(Py_None
); resultobj
= Py_None
;
27987 static PyObject
*_wrap_Window_GetHelpText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27988 PyObject
*resultobj
;
27989 wxWindow
*arg1
= (wxWindow
*) 0 ;
27991 PyObject
* obj0
= 0 ;
27992 char *kwnames
[] = {
27993 (char *) "self", NULL
27996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHelpText",kwnames
,&obj0
)) goto fail
;
27997 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27998 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28001 result
= ((wxWindow
const *)arg1
)->GetHelpText();
28003 wxPyEndAllowThreads(__tstate
);
28004 if (PyErr_Occurred()) SWIG_fail
;
28008 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28010 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28019 static PyObject
*_wrap_Window_SetToolTipString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28020 PyObject
*resultobj
;
28021 wxWindow
*arg1
= (wxWindow
*) 0 ;
28022 wxString
*arg2
= 0 ;
28023 bool temp2
= False
;
28024 PyObject
* obj0
= 0 ;
28025 PyObject
* obj1
= 0 ;
28026 char *kwnames
[] = {
28027 (char *) "self",(char *) "tip", NULL
28030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTipString",kwnames
,&obj0
,&obj1
)) goto fail
;
28031 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28032 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28034 arg2
= wxString_in_helper(obj1
);
28035 if (arg2
== NULL
) SWIG_fail
;
28039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28040 (arg1
)->SetToolTip((wxString
const &)*arg2
);
28042 wxPyEndAllowThreads(__tstate
);
28043 if (PyErr_Occurred()) SWIG_fail
;
28045 Py_INCREF(Py_None
); resultobj
= Py_None
;
28060 static PyObject
*_wrap_Window_SetToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28061 PyObject
*resultobj
;
28062 wxWindow
*arg1
= (wxWindow
*) 0 ;
28063 wxToolTip
*arg2
= (wxToolTip
*) 0 ;
28064 PyObject
* obj0
= 0 ;
28065 PyObject
* obj1
= 0 ;
28066 char *kwnames
[] = {
28067 (char *) "self",(char *) "tip", NULL
28070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
28071 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28072 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28073 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolTip
,
28074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28077 (arg1
)->SetToolTip(arg2
);
28079 wxPyEndAllowThreads(__tstate
);
28080 if (PyErr_Occurred()) SWIG_fail
;
28082 Py_INCREF(Py_None
); resultobj
= Py_None
;
28089 static PyObject
*_wrap_Window_GetToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28090 PyObject
*resultobj
;
28091 wxWindow
*arg1
= (wxWindow
*) 0 ;
28093 PyObject
* obj0
= 0 ;
28094 char *kwnames
[] = {
28095 (char *) "self", NULL
28098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetToolTip",kwnames
,&obj0
)) goto fail
;
28099 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28100 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28103 result
= (wxToolTip
*)((wxWindow
const *)arg1
)->GetToolTip();
28105 wxPyEndAllowThreads(__tstate
);
28106 if (PyErr_Occurred()) SWIG_fail
;
28109 resultobj
= wxPyMake_wxObject(result
, 0);
28117 static PyObject
*_wrap_Window_SetDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28118 PyObject
*resultobj
;
28119 wxWindow
*arg1
= (wxWindow
*) 0 ;
28120 wxPyDropTarget
*arg2
= (wxPyDropTarget
*) 0 ;
28121 PyObject
* obj0
= 0 ;
28122 PyObject
* obj1
= 0 ;
28123 char *kwnames
[] = {
28124 (char *) "self",(char *) "dropTarget", NULL
28127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDropTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
28128 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28130 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyDropTarget
,
28131 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
28133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28134 (arg1
)->SetDropTarget(arg2
);
28136 wxPyEndAllowThreads(__tstate
);
28137 if (PyErr_Occurred()) SWIG_fail
;
28139 Py_INCREF(Py_None
); resultobj
= Py_None
;
28146 static PyObject
*_wrap_Window_GetDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28147 PyObject
*resultobj
;
28148 wxWindow
*arg1
= (wxWindow
*) 0 ;
28149 wxPyDropTarget
*result
;
28150 PyObject
* obj0
= 0 ;
28151 char *kwnames
[] = {
28152 (char *) "self", NULL
28155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDropTarget",kwnames
,&obj0
)) goto fail
;
28156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28160 result
= (wxPyDropTarget
*)((wxWindow
const *)arg1
)->GetDropTarget();
28162 wxPyEndAllowThreads(__tstate
);
28163 if (PyErr_Occurred()) SWIG_fail
;
28165 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropTarget
, 0);
28172 static PyObject
*_wrap_Window_DragAcceptFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28173 PyObject
*resultobj
;
28174 wxWindow
*arg1
= (wxWindow
*) 0 ;
28176 PyObject
* obj0
= 0 ;
28177 PyObject
* obj1
= 0 ;
28178 char *kwnames
[] = {
28179 (char *) "self",(char *) "accept", NULL
28182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DragAcceptFiles",kwnames
,&obj0
,&obj1
)) goto fail
;
28183 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28184 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28185 arg2
= (bool)SWIG_As_bool(obj1
);
28186 if (PyErr_Occurred()) SWIG_fail
;
28188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28189 (arg1
)->DragAcceptFiles(arg2
);
28191 wxPyEndAllowThreads(__tstate
);
28192 if (PyErr_Occurred()) SWIG_fail
;
28194 Py_INCREF(Py_None
); resultobj
= Py_None
;
28201 static PyObject
*_wrap_Window_SetConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28202 PyObject
*resultobj
;
28203 wxWindow
*arg1
= (wxWindow
*) 0 ;
28204 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
28205 PyObject
* obj0
= 0 ;
28206 PyObject
* obj1
= 0 ;
28207 char *kwnames
[] = {
28208 (char *) "self",(char *) "constraints", NULL
28211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
28212 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28213 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28214 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxLayoutConstraints
,
28215 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28218 (arg1
)->SetConstraints(arg2
);
28220 wxPyEndAllowThreads(__tstate
);
28221 if (PyErr_Occurred()) SWIG_fail
;
28223 Py_INCREF(Py_None
); resultobj
= Py_None
;
28230 static PyObject
*_wrap_Window_GetConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28231 PyObject
*resultobj
;
28232 wxWindow
*arg1
= (wxWindow
*) 0 ;
28233 wxLayoutConstraints
*result
;
28234 PyObject
* obj0
= 0 ;
28235 char *kwnames
[] = {
28236 (char *) "self", NULL
28239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetConstraints",kwnames
,&obj0
)) goto fail
;
28240 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28241 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28244 result
= (wxLayoutConstraints
*)((wxWindow
const *)arg1
)->GetConstraints();
28246 wxPyEndAllowThreads(__tstate
);
28247 if (PyErr_Occurred()) SWIG_fail
;
28249 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutConstraints
, 0);
28256 static PyObject
*_wrap_Window_SetAutoLayout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28257 PyObject
*resultobj
;
28258 wxWindow
*arg1
= (wxWindow
*) 0 ;
28260 PyObject
* obj0
= 0 ;
28261 PyObject
* obj1
= 0 ;
28262 char *kwnames
[] = {
28263 (char *) "self",(char *) "autoLayout", NULL
28266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAutoLayout",kwnames
,&obj0
,&obj1
)) goto fail
;
28267 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28268 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28269 arg2
= (bool)SWIG_As_bool(obj1
);
28270 if (PyErr_Occurred()) SWIG_fail
;
28272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28273 (arg1
)->SetAutoLayout(arg2
);
28275 wxPyEndAllowThreads(__tstate
);
28276 if (PyErr_Occurred()) SWIG_fail
;
28278 Py_INCREF(Py_None
); resultobj
= Py_None
;
28285 static PyObject
*_wrap_Window_GetAutoLayout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28286 PyObject
*resultobj
;
28287 wxWindow
*arg1
= (wxWindow
*) 0 ;
28289 PyObject
* obj0
= 0 ;
28290 char *kwnames
[] = {
28291 (char *) "self", NULL
28294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAutoLayout",kwnames
,&obj0
)) goto fail
;
28295 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28299 result
= (bool)((wxWindow
const *)arg1
)->GetAutoLayout();
28301 wxPyEndAllowThreads(__tstate
);
28302 if (PyErr_Occurred()) SWIG_fail
;
28305 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28313 static PyObject
*_wrap_Window_Layout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28314 PyObject
*resultobj
;
28315 wxWindow
*arg1
= (wxWindow
*) 0 ;
28317 PyObject
* obj0
= 0 ;
28318 char *kwnames
[] = {
28319 (char *) "self", NULL
28322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Layout",kwnames
,&obj0
)) goto fail
;
28323 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28327 result
= (bool)(arg1
)->Layout();
28329 wxPyEndAllowThreads(__tstate
);
28330 if (PyErr_Occurred()) SWIG_fail
;
28333 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28341 static PyObject
*_wrap_Window_SetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28342 PyObject
*resultobj
;
28343 wxWindow
*arg1
= (wxWindow
*) 0 ;
28344 wxSizer
*arg2
= (wxSizer
*) 0 ;
28345 bool arg3
= (bool) True
;
28346 PyObject
* obj0
= 0 ;
28347 PyObject
* obj1
= 0 ;
28348 PyObject
* obj2
= 0 ;
28349 char *kwnames
[] = {
28350 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
28353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28354 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28356 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
28357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28359 arg3
= (bool)SWIG_As_bool(obj2
);
28360 if (PyErr_Occurred()) SWIG_fail
;
28363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28364 (arg1
)->SetSizer(arg2
,arg3
);
28366 wxPyEndAllowThreads(__tstate
);
28367 if (PyErr_Occurred()) SWIG_fail
;
28369 Py_INCREF(Py_None
); resultobj
= Py_None
;
28376 static PyObject
*_wrap_Window_SetSizerAndFit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28377 PyObject
*resultobj
;
28378 wxWindow
*arg1
= (wxWindow
*) 0 ;
28379 wxSizer
*arg2
= (wxSizer
*) 0 ;
28380 bool arg3
= (bool) True
;
28381 PyObject
* obj0
= 0 ;
28382 PyObject
* obj1
= 0 ;
28383 PyObject
* obj2
= 0 ;
28384 char *kwnames
[] = {
28385 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
28388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizerAndFit",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28389 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28391 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
28392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28394 arg3
= (bool)SWIG_As_bool(obj2
);
28395 if (PyErr_Occurred()) SWIG_fail
;
28398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28399 (arg1
)->SetSizerAndFit(arg2
,arg3
);
28401 wxPyEndAllowThreads(__tstate
);
28402 if (PyErr_Occurred()) SWIG_fail
;
28404 Py_INCREF(Py_None
); resultobj
= Py_None
;
28411 static PyObject
*_wrap_Window_GetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28412 PyObject
*resultobj
;
28413 wxWindow
*arg1
= (wxWindow
*) 0 ;
28415 PyObject
* obj0
= 0 ;
28416 char *kwnames
[] = {
28417 (char *) "self", NULL
28420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizer",kwnames
,&obj0
)) goto fail
;
28421 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28422 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28425 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetSizer();
28427 wxPyEndAllowThreads(__tstate
);
28428 if (PyErr_Occurred()) SWIG_fail
;
28431 resultobj
= wxPyMake_wxSizer(result
, 0);
28439 static PyObject
*_wrap_Window_SetContainingSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28440 PyObject
*resultobj
;
28441 wxWindow
*arg1
= (wxWindow
*) 0 ;
28442 wxSizer
*arg2
= (wxSizer
*) 0 ;
28443 PyObject
* obj0
= 0 ;
28444 PyObject
* obj1
= 0 ;
28445 char *kwnames
[] = {
28446 (char *) "self",(char *) "sizer", NULL
28449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetContainingSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
28450 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28451 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28452 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
28453 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28456 (arg1
)->SetContainingSizer(arg2
);
28458 wxPyEndAllowThreads(__tstate
);
28459 if (PyErr_Occurred()) SWIG_fail
;
28461 Py_INCREF(Py_None
); resultobj
= Py_None
;
28468 static PyObject
*_wrap_Window_GetContainingSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28469 PyObject
*resultobj
;
28470 wxWindow
*arg1
= (wxWindow
*) 0 ;
28472 PyObject
* obj0
= 0 ;
28473 char *kwnames
[] = {
28474 (char *) "self", NULL
28477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetContainingSizer",kwnames
,&obj0
)) goto fail
;
28478 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28479 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28482 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetContainingSizer();
28484 wxPyEndAllowThreads(__tstate
);
28485 if (PyErr_Occurred()) SWIG_fail
;
28488 resultobj
= wxPyMake_wxSizer(result
, 0);
28496 static PyObject
*_wrap_Window_InheritAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28497 PyObject
*resultobj
;
28498 wxWindow
*arg1
= (wxWindow
*) 0 ;
28499 PyObject
* obj0
= 0 ;
28500 char *kwnames
[] = {
28501 (char *) "self", NULL
28504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InheritAttributes",kwnames
,&obj0
)) goto fail
;
28505 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28509 (arg1
)->InheritAttributes();
28511 wxPyEndAllowThreads(__tstate
);
28512 if (PyErr_Occurred()) SWIG_fail
;
28514 Py_INCREF(Py_None
); resultobj
= Py_None
;
28521 static PyObject
*_wrap_Window_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28522 PyObject
*resultobj
;
28523 wxWindow
*arg1
= (wxWindow
*) 0 ;
28525 PyObject
* obj0
= 0 ;
28526 char *kwnames
[] = {
28527 (char *) "self", NULL
28530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
28531 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28532 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28535 result
= (bool)((wxWindow
const *)arg1
)->ShouldInheritColours();
28537 wxPyEndAllowThreads(__tstate
);
28538 if (PyErr_Occurred()) SWIG_fail
;
28541 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28549 static PyObject
* Window_swigregister(PyObject
*, PyObject
*args
) {
28551 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28552 SWIG_TypeClientData(SWIGTYPE_p_wxWindow
, obj
);
28554 return Py_BuildValue((char *)"");
28556 static PyObject
*_wrap_FindWindowById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28557 PyObject
*resultobj
;
28559 wxWindow
*arg2
= (wxWindow
*) NULL
;
28561 PyObject
* obj0
= 0 ;
28562 PyObject
* obj1
= 0 ;
28563 char *kwnames
[] = {
28564 (char *) "id",(char *) "parent", NULL
28567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowById",kwnames
,&obj0
,&obj1
)) goto fail
;
28568 arg1
= (long)SWIG_As_long(obj0
);
28569 if (PyErr_Occurred()) SWIG_fail
;
28571 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28575 if (!wxPyCheckForApp()) SWIG_fail
;
28576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28577 result
= (wxWindow
*)wxFindWindowById(arg1
,(wxWindow
const *)arg2
);
28579 wxPyEndAllowThreads(__tstate
);
28580 if (PyErr_Occurred()) SWIG_fail
;
28583 resultobj
= wxPyMake_wxObject(result
, 0);
28591 static PyObject
*_wrap_FindWindowByName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28592 PyObject
*resultobj
;
28593 wxString
*arg1
= 0 ;
28594 wxWindow
*arg2
= (wxWindow
*) NULL
;
28596 bool temp1
= False
;
28597 PyObject
* obj0
= 0 ;
28598 PyObject
* obj1
= 0 ;
28599 char *kwnames
[] = {
28600 (char *) "name",(char *) "parent", NULL
28603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
28605 arg1
= wxString_in_helper(obj0
);
28606 if (arg1
== NULL
) SWIG_fail
;
28610 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28611 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28614 if (!wxPyCheckForApp()) SWIG_fail
;
28615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28616 result
= (wxWindow
*)wxFindWindowByName((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
28618 wxPyEndAllowThreads(__tstate
);
28619 if (PyErr_Occurred()) SWIG_fail
;
28622 resultobj
= wxPyMake_wxObject(result
, 0);
28638 static PyObject
*_wrap_FindWindowByLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28639 PyObject
*resultobj
;
28640 wxString
*arg1
= 0 ;
28641 wxWindow
*arg2
= (wxWindow
*) NULL
;
28643 bool temp1
= False
;
28644 PyObject
* obj0
= 0 ;
28645 PyObject
* obj1
= 0 ;
28646 char *kwnames
[] = {
28647 (char *) "label",(char *) "parent", NULL
28650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
28652 arg1
= wxString_in_helper(obj0
);
28653 if (arg1
== NULL
) SWIG_fail
;
28657 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28658 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28661 if (!wxPyCheckForApp()) SWIG_fail
;
28662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28663 result
= (wxWindow
*)wxFindWindowByLabel((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
28665 wxPyEndAllowThreads(__tstate
);
28666 if (PyErr_Occurred()) SWIG_fail
;
28669 resultobj
= wxPyMake_wxObject(result
, 0);
28685 static PyObject
*_wrap_Window_FromHWND(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28686 PyObject
*resultobj
;
28687 wxWindow
*arg1
= (wxWindow
*) 0 ;
28688 unsigned long arg2
;
28690 PyObject
* obj0
= 0 ;
28691 PyObject
* obj1
= 0 ;
28692 char *kwnames
[] = {
28693 (char *) "parent",(char *) "_hWnd", NULL
28696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FromHWND",kwnames
,&obj0
,&obj1
)) goto fail
;
28697 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28698 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28699 arg2
= (unsigned long)SWIG_As_unsigned_SS_long(obj1
);
28700 if (PyErr_Occurred()) SWIG_fail
;
28702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28703 result
= (wxWindow
*)wxWindow_FromHWND(arg1
,arg2
);
28705 wxPyEndAllowThreads(__tstate
);
28706 if (PyErr_Occurred()) SWIG_fail
;
28709 resultobj
= wxPyMake_wxObject(result
, 0);
28717 static PyObject
*_wrap_new_Validator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28718 PyObject
*resultobj
;
28719 wxValidator
*result
;
28720 char *kwnames
[] = {
28724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Validator",kwnames
)) goto fail
;
28726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28727 result
= (wxValidator
*)new wxValidator();
28729 wxPyEndAllowThreads(__tstate
);
28730 if (PyErr_Occurred()) SWIG_fail
;
28732 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxValidator
, 1);
28739 static PyObject
*_wrap_Validator_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28740 PyObject
*resultobj
;
28741 wxValidator
*arg1
= (wxValidator
*) 0 ;
28742 wxValidator
*result
;
28743 PyObject
* obj0
= 0 ;
28744 char *kwnames
[] = {
28745 (char *) "self", NULL
28748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_Clone",kwnames
,&obj0
)) goto fail
;
28749 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
28750 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28753 result
= (wxValidator
*)(arg1
)->Clone();
28755 wxPyEndAllowThreads(__tstate
);
28756 if (PyErr_Occurred()) SWIG_fail
;
28759 resultobj
= wxPyMake_wxObject(result
, 0);
28767 static PyObject
*_wrap_Validator_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28768 PyObject
*resultobj
;
28769 wxValidator
*arg1
= (wxValidator
*) 0 ;
28770 wxWindow
*arg2
= (wxWindow
*) 0 ;
28772 PyObject
* obj0
= 0 ;
28773 PyObject
* obj1
= 0 ;
28774 char *kwnames
[] = {
28775 (char *) "self",(char *) "parent", NULL
28778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_Validate",kwnames
,&obj0
,&obj1
)) goto fail
;
28779 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
28780 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28781 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28782 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28785 result
= (bool)(arg1
)->Validate(arg2
);
28787 wxPyEndAllowThreads(__tstate
);
28788 if (PyErr_Occurred()) SWIG_fail
;
28791 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28799 static PyObject
*_wrap_Validator_TransferToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28800 PyObject
*resultobj
;
28801 wxValidator
*arg1
= (wxValidator
*) 0 ;
28803 PyObject
* obj0
= 0 ;
28804 char *kwnames
[] = {
28805 (char *) "self", NULL
28808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferToWindow",kwnames
,&obj0
)) goto fail
;
28809 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
28810 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28813 result
= (bool)(arg1
)->TransferToWindow();
28815 wxPyEndAllowThreads(__tstate
);
28816 if (PyErr_Occurred()) SWIG_fail
;
28819 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28827 static PyObject
*_wrap_Validator_TransferFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28828 PyObject
*resultobj
;
28829 wxValidator
*arg1
= (wxValidator
*) 0 ;
28831 PyObject
* obj0
= 0 ;
28832 char *kwnames
[] = {
28833 (char *) "self", NULL
28836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferFromWindow",kwnames
,&obj0
)) goto fail
;
28837 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
28838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28841 result
= (bool)(arg1
)->TransferFromWindow();
28843 wxPyEndAllowThreads(__tstate
);
28844 if (PyErr_Occurred()) SWIG_fail
;
28847 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28855 static PyObject
*_wrap_Validator_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28856 PyObject
*resultobj
;
28857 wxValidator
*arg1
= (wxValidator
*) 0 ;
28859 PyObject
* obj0
= 0 ;
28860 char *kwnames
[] = {
28861 (char *) "self", NULL
28864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_GetWindow",kwnames
,&obj0
)) goto fail
;
28865 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
28866 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28869 result
= (wxWindow
*)(arg1
)->GetWindow();
28871 wxPyEndAllowThreads(__tstate
);
28872 if (PyErr_Occurred()) SWIG_fail
;
28875 resultobj
= wxPyMake_wxObject(result
, 0);
28883 static PyObject
*_wrap_Validator_SetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28884 PyObject
*resultobj
;
28885 wxValidator
*arg1
= (wxValidator
*) 0 ;
28886 wxWindow
*arg2
= (wxWindow
*) 0 ;
28887 PyObject
* obj0
= 0 ;
28888 PyObject
* obj1
= 0 ;
28889 char *kwnames
[] = {
28890 (char *) "self",(char *) "window", NULL
28893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
28894 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
28895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28896 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28900 (arg1
)->SetWindow(arg2
);
28902 wxPyEndAllowThreads(__tstate
);
28903 if (PyErr_Occurred()) SWIG_fail
;
28905 Py_INCREF(Py_None
); resultobj
= Py_None
;
28912 static PyObject
*_wrap_Validator_IsSilent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28913 PyObject
*resultobj
;
28915 char *kwnames
[] = {
28919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Validator_IsSilent",kwnames
)) goto fail
;
28921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28922 result
= (bool)wxValidator::IsSilent();
28924 wxPyEndAllowThreads(__tstate
);
28925 if (PyErr_Occurred()) SWIG_fail
;
28928 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28936 static PyObject
*_wrap_Validator_SetBellOnError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28937 PyObject
*resultobj
;
28938 int arg1
= (int) True
;
28939 PyObject
* obj0
= 0 ;
28940 char *kwnames
[] = {
28941 (char *) "doIt", NULL
28944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Validator_SetBellOnError",kwnames
,&obj0
)) goto fail
;
28946 arg1
= (int)SWIG_As_int(obj0
);
28947 if (PyErr_Occurred()) SWIG_fail
;
28950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28951 wxValidator::SetBellOnError(arg1
);
28953 wxPyEndAllowThreads(__tstate
);
28954 if (PyErr_Occurred()) SWIG_fail
;
28956 Py_INCREF(Py_None
); resultobj
= Py_None
;
28963 static PyObject
* Validator_swigregister(PyObject
*, PyObject
*args
) {
28965 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28966 SWIG_TypeClientData(SWIGTYPE_p_wxValidator
, obj
);
28968 return Py_BuildValue((char *)"");
28970 static PyObject
*_wrap_new_PyValidator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28971 PyObject
*resultobj
;
28972 wxPyValidator
*result
;
28973 char *kwnames
[] = {
28977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyValidator",kwnames
)) goto fail
;
28979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28980 result
= (wxPyValidator
*)new wxPyValidator();
28982 wxPyEndAllowThreads(__tstate
);
28983 if (PyErr_Occurred()) SWIG_fail
;
28985 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyValidator
, 1);
28992 static PyObject
*_wrap_PyValidator__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28993 PyObject
*resultobj
;
28994 wxPyValidator
*arg1
= (wxPyValidator
*) 0 ;
28995 PyObject
*arg2
= (PyObject
*) 0 ;
28996 PyObject
*arg3
= (PyObject
*) 0 ;
28997 int arg4
= (int) True
;
28998 PyObject
* obj0
= 0 ;
28999 PyObject
* obj1
= 0 ;
29000 PyObject
* obj2
= 0 ;
29001 PyObject
* obj3
= 0 ;
29002 char *kwnames
[] = {
29003 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
29006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyValidator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29007 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyValidator
,
29008 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29012 arg4
= (int)SWIG_As_int(obj3
);
29013 if (PyErr_Occurred()) SWIG_fail
;
29016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29017 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
29019 wxPyEndAllowThreads(__tstate
);
29020 if (PyErr_Occurred()) SWIG_fail
;
29022 Py_INCREF(Py_None
); resultobj
= Py_None
;
29029 static PyObject
* PyValidator_swigregister(PyObject
*, PyObject
*args
) {
29031 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29032 SWIG_TypeClientData(SWIGTYPE_p_wxPyValidator
, obj
);
29034 return Py_BuildValue((char *)"");
29036 static int _wrap_DefaultValidator_set(PyObject
*) {
29037 PyErr_SetString(PyExc_TypeError
,"Variable DefaultValidator is read-only.");
29042 static PyObject
*_wrap_DefaultValidator_get() {
29045 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultValidator
), SWIGTYPE_p_wxValidator
, 0);
29050 static PyObject
*_wrap_new_Menu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29051 PyObject
*resultobj
;
29052 wxString
const &arg1_defvalue
= wxPyEmptyString
;
29053 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
29054 long arg2
= (long) 0 ;
29056 bool temp1
= False
;
29057 PyObject
* obj0
= 0 ;
29058 PyObject
* obj1
= 0 ;
29059 char *kwnames
[] = {
29060 (char *) "title",(char *) "style", NULL
29063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Menu",kwnames
,&obj0
,&obj1
)) goto fail
;
29066 arg1
= wxString_in_helper(obj0
);
29067 if (arg1
== NULL
) SWIG_fail
;
29072 arg2
= (long)SWIG_As_long(obj1
);
29073 if (PyErr_Occurred()) SWIG_fail
;
29076 if (!wxPyCheckForApp()) SWIG_fail
;
29077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29078 result
= (wxMenu
*)new wxMenu((wxString
const &)*arg1
,arg2
);
29080 wxPyEndAllowThreads(__tstate
);
29081 if (PyErr_Occurred()) SWIG_fail
;
29083 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenu
, 1);
29098 static PyObject
*_wrap_Menu_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29099 PyObject
*resultobj
;
29100 wxMenu
*arg1
= (wxMenu
*) 0 ;
29102 wxString
*arg3
= 0 ;
29103 wxString
const &arg4_defvalue
= wxPyEmptyString
;
29104 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
29105 int arg5
= (int) wxITEM_NORMAL
;
29106 wxMenuItem
*result
;
29107 bool temp3
= False
;
29108 bool temp4
= False
;
29109 PyObject
* obj0
= 0 ;
29110 PyObject
* obj1
= 0 ;
29111 PyObject
* obj2
= 0 ;
29112 PyObject
* obj3
= 0 ;
29113 PyObject
* obj4
= 0 ;
29114 char *kwnames
[] = {
29115 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
29118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29119 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29121 arg2
= (int)SWIG_As_int(obj1
);
29122 if (PyErr_Occurred()) SWIG_fail
;
29124 arg3
= wxString_in_helper(obj2
);
29125 if (arg3
== NULL
) SWIG_fail
;
29130 arg4
= wxString_in_helper(obj3
);
29131 if (arg4
== NULL
) SWIG_fail
;
29136 arg5
= (int)SWIG_As_int(obj4
);
29137 if (PyErr_Occurred()) SWIG_fail
;
29140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29141 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
29143 wxPyEndAllowThreads(__tstate
);
29144 if (PyErr_Occurred()) SWIG_fail
;
29147 resultobj
= wxPyMake_wxObject(result
, 0);
29171 static PyObject
*_wrap_Menu_AppendSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29172 PyObject
*resultobj
;
29173 wxMenu
*arg1
= (wxMenu
*) 0 ;
29174 wxMenuItem
*result
;
29175 PyObject
* obj0
= 0 ;
29176 char *kwnames
[] = {
29177 (char *) "self", NULL
29180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_AppendSeparator",kwnames
,&obj0
)) goto fail
;
29181 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29182 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29185 result
= (wxMenuItem
*)(arg1
)->AppendSeparator();
29187 wxPyEndAllowThreads(__tstate
);
29188 if (PyErr_Occurred()) SWIG_fail
;
29191 resultobj
= wxPyMake_wxObject(result
, 0);
29199 static PyObject
*_wrap_Menu_AppendCheckItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29200 PyObject
*resultobj
;
29201 wxMenu
*arg1
= (wxMenu
*) 0 ;
29203 wxString
*arg3
= 0 ;
29204 wxString
const &arg4_defvalue
= wxPyEmptyString
;
29205 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
29206 wxMenuItem
*result
;
29207 bool temp3
= False
;
29208 bool temp4
= False
;
29209 PyObject
* obj0
= 0 ;
29210 PyObject
* obj1
= 0 ;
29211 PyObject
* obj2
= 0 ;
29212 PyObject
* obj3
= 0 ;
29213 char *kwnames
[] = {
29214 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
29217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29220 arg2
= (int)SWIG_As_int(obj1
);
29221 if (PyErr_Occurred()) SWIG_fail
;
29223 arg3
= wxString_in_helper(obj2
);
29224 if (arg3
== NULL
) SWIG_fail
;
29229 arg4
= wxString_in_helper(obj3
);
29230 if (arg4
== NULL
) SWIG_fail
;
29235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29236 result
= (wxMenuItem
*)(arg1
)->AppendCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
29238 wxPyEndAllowThreads(__tstate
);
29239 if (PyErr_Occurred()) SWIG_fail
;
29242 resultobj
= wxPyMake_wxObject(result
, 0);
29266 static PyObject
*_wrap_Menu_AppendRadioItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29267 PyObject
*resultobj
;
29268 wxMenu
*arg1
= (wxMenu
*) 0 ;
29270 wxString
*arg3
= 0 ;
29271 wxString
const &arg4_defvalue
= wxPyEmptyString
;
29272 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
29273 wxMenuItem
*result
;
29274 bool temp3
= False
;
29275 bool temp4
= False
;
29276 PyObject
* obj0
= 0 ;
29277 PyObject
* obj1
= 0 ;
29278 PyObject
* obj2
= 0 ;
29279 PyObject
* obj3
= 0 ;
29280 char *kwnames
[] = {
29281 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
29284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29285 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29287 arg2
= (int)SWIG_As_int(obj1
);
29288 if (PyErr_Occurred()) SWIG_fail
;
29290 arg3
= wxString_in_helper(obj2
);
29291 if (arg3
== NULL
) SWIG_fail
;
29296 arg4
= wxString_in_helper(obj3
);
29297 if (arg4
== NULL
) SWIG_fail
;
29302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29303 result
= (wxMenuItem
*)(arg1
)->AppendRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
29305 wxPyEndAllowThreads(__tstate
);
29306 if (PyErr_Occurred()) SWIG_fail
;
29309 resultobj
= wxPyMake_wxObject(result
, 0);
29333 static PyObject
*_wrap_Menu_AppendMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29334 PyObject
*resultobj
;
29335 wxMenu
*arg1
= (wxMenu
*) 0 ;
29337 wxString
*arg3
= 0 ;
29338 wxMenu
*arg4
= (wxMenu
*) 0 ;
29339 wxString
const &arg5_defvalue
= wxPyEmptyString
;
29340 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
29341 wxMenuItem
*result
;
29342 bool temp3
= False
;
29343 bool temp5
= False
;
29344 PyObject
* obj0
= 0 ;
29345 PyObject
* obj1
= 0 ;
29346 PyObject
* obj2
= 0 ;
29347 PyObject
* obj3
= 0 ;
29348 PyObject
* obj4
= 0 ;
29349 char *kwnames
[] = {
29350 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
29353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_AppendMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29354 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29356 arg2
= (int)SWIG_As_int(obj1
);
29357 if (PyErr_Occurred()) SWIG_fail
;
29359 arg3
= wxString_in_helper(obj2
);
29360 if (arg3
== NULL
) SWIG_fail
;
29363 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxMenu
,
29364 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29367 arg5
= wxString_in_helper(obj4
);
29368 if (arg5
== NULL
) SWIG_fail
;
29373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29374 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
29376 wxPyEndAllowThreads(__tstate
);
29377 if (PyErr_Occurred()) SWIG_fail
;
29380 resultobj
= wxPyMake_wxObject(result
, 0);
29404 static PyObject
*_wrap_Menu_AppendItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29405 PyObject
*resultobj
;
29406 wxMenu
*arg1
= (wxMenu
*) 0 ;
29407 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
29408 wxMenuItem
*result
;
29409 PyObject
* obj0
= 0 ;
29410 PyObject
* obj1
= 0 ;
29411 char *kwnames
[] = {
29412 (char *) "self",(char *) "item", NULL
29415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_AppendItem",kwnames
,&obj0
,&obj1
)) goto fail
;
29416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29418 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
29419 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29422 result
= (wxMenuItem
*)(arg1
)->Append(arg2
);
29424 wxPyEndAllowThreads(__tstate
);
29425 if (PyErr_Occurred()) SWIG_fail
;
29428 resultobj
= wxPyMake_wxObject(result
, 0);
29436 static PyObject
*_wrap_Menu_Break(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29437 PyObject
*resultobj
;
29438 wxMenu
*arg1
= (wxMenu
*) 0 ;
29439 PyObject
* obj0
= 0 ;
29440 char *kwnames
[] = {
29441 (char *) "self", NULL
29444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Break",kwnames
,&obj0
)) goto fail
;
29445 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29451 wxPyEndAllowThreads(__tstate
);
29452 if (PyErr_Occurred()) SWIG_fail
;
29454 Py_INCREF(Py_None
); resultobj
= Py_None
;
29461 static PyObject
*_wrap_Menu_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29462 PyObject
*resultobj
;
29463 wxMenu
*arg1
= (wxMenu
*) 0 ;
29465 wxMenuItem
*arg3
= (wxMenuItem
*) 0 ;
29466 wxMenuItem
*result
;
29467 PyObject
* obj0
= 0 ;
29468 PyObject
* obj1
= 0 ;
29469 PyObject
* obj2
= 0 ;
29470 char *kwnames
[] = {
29471 (char *) "self",(char *) "pos",(char *) "item", NULL
29474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29475 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29476 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29477 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
29478 if (PyErr_Occurred()) SWIG_fail
;
29479 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenuItem
,
29480 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29483 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
);
29485 wxPyEndAllowThreads(__tstate
);
29486 if (PyErr_Occurred()) SWIG_fail
;
29489 resultobj
= wxPyMake_wxObject(result
, 0);
29497 static PyObject
*_wrap_Menu_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29498 PyObject
*resultobj
;
29499 wxMenu
*arg1
= (wxMenu
*) 0 ;
29502 wxString
*arg4
= 0 ;
29503 wxString
const &arg5_defvalue
= wxPyEmptyString
;
29504 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
29505 int arg6
= (int) wxITEM_NORMAL
;
29506 wxMenuItem
*result
;
29507 bool temp4
= False
;
29508 bool temp5
= False
;
29509 PyObject
* obj0
= 0 ;
29510 PyObject
* obj1
= 0 ;
29511 PyObject
* obj2
= 0 ;
29512 PyObject
* obj3
= 0 ;
29513 PyObject
* obj4
= 0 ;
29514 PyObject
* obj5
= 0 ;
29515 char *kwnames
[] = {
29516 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
29519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:Menu_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
29520 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29522 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
29523 if (PyErr_Occurred()) SWIG_fail
;
29524 arg3
= (int)SWIG_As_int(obj2
);
29525 if (PyErr_Occurred()) SWIG_fail
;
29527 arg4
= wxString_in_helper(obj3
);
29528 if (arg4
== NULL
) SWIG_fail
;
29533 arg5
= wxString_in_helper(obj4
);
29534 if (arg5
== NULL
) SWIG_fail
;
29539 arg6
= (int)SWIG_As_int(obj5
);
29540 if (PyErr_Occurred()) SWIG_fail
;
29543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29544 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,(wxItemKind
)arg6
);
29546 wxPyEndAllowThreads(__tstate
);
29547 if (PyErr_Occurred()) SWIG_fail
;
29550 resultobj
= wxPyMake_wxObject(result
, 0);
29574 static PyObject
*_wrap_Menu_InsertSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29575 PyObject
*resultobj
;
29576 wxMenu
*arg1
= (wxMenu
*) 0 ;
29578 wxMenuItem
*result
;
29579 PyObject
* obj0
= 0 ;
29580 PyObject
* obj1
= 0 ;
29581 char *kwnames
[] = {
29582 (char *) "self",(char *) "pos", NULL
29585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
29586 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29588 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
29589 if (PyErr_Occurred()) SWIG_fail
;
29591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29592 result
= (wxMenuItem
*)(arg1
)->InsertSeparator(arg2
);
29594 wxPyEndAllowThreads(__tstate
);
29595 if (PyErr_Occurred()) SWIG_fail
;
29598 resultobj
= wxPyMake_wxObject(result
, 0);
29606 static PyObject
*_wrap_Menu_InsertCheckItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29607 PyObject
*resultobj
;
29608 wxMenu
*arg1
= (wxMenu
*) 0 ;
29611 wxString
*arg4
= 0 ;
29612 wxString
const &arg5_defvalue
= wxPyEmptyString
;
29613 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
29614 wxMenuItem
*result
;
29615 bool temp4
= False
;
29616 bool temp5
= False
;
29617 PyObject
* obj0
= 0 ;
29618 PyObject
* obj1
= 0 ;
29619 PyObject
* obj2
= 0 ;
29620 PyObject
* obj3
= 0 ;
29621 PyObject
* obj4
= 0 ;
29622 char *kwnames
[] = {
29623 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
29626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29627 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29628 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29629 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
29630 if (PyErr_Occurred()) SWIG_fail
;
29631 arg3
= (int)SWIG_As_int(obj2
);
29632 if (PyErr_Occurred()) SWIG_fail
;
29634 arg4
= wxString_in_helper(obj3
);
29635 if (arg4
== NULL
) SWIG_fail
;
29640 arg5
= wxString_in_helper(obj4
);
29641 if (arg5
== NULL
) SWIG_fail
;
29646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29647 result
= (wxMenuItem
*)(arg1
)->InsertCheckItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
29649 wxPyEndAllowThreads(__tstate
);
29650 if (PyErr_Occurred()) SWIG_fail
;
29653 resultobj
= wxPyMake_wxObject(result
, 0);
29677 static PyObject
*_wrap_Menu_InsertRadioItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29678 PyObject
*resultobj
;
29679 wxMenu
*arg1
= (wxMenu
*) 0 ;
29682 wxString
*arg4
= 0 ;
29683 wxString
const &arg5_defvalue
= wxPyEmptyString
;
29684 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
29685 wxMenuItem
*result
;
29686 bool temp4
= False
;
29687 bool temp5
= False
;
29688 PyObject
* obj0
= 0 ;
29689 PyObject
* obj1
= 0 ;
29690 PyObject
* obj2
= 0 ;
29691 PyObject
* obj3
= 0 ;
29692 PyObject
* obj4
= 0 ;
29693 char *kwnames
[] = {
29694 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
29697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29698 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29699 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29700 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
29701 if (PyErr_Occurred()) SWIG_fail
;
29702 arg3
= (int)SWIG_As_int(obj2
);
29703 if (PyErr_Occurred()) SWIG_fail
;
29705 arg4
= wxString_in_helper(obj3
);
29706 if (arg4
== NULL
) SWIG_fail
;
29711 arg5
= wxString_in_helper(obj4
);
29712 if (arg5
== NULL
) SWIG_fail
;
29717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29718 result
= (wxMenuItem
*)(arg1
)->InsertRadioItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
29720 wxPyEndAllowThreads(__tstate
);
29721 if (PyErr_Occurred()) SWIG_fail
;
29724 resultobj
= wxPyMake_wxObject(result
, 0);
29748 static PyObject
*_wrap_Menu_InsertMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29749 PyObject
*resultobj
;
29750 wxMenu
*arg1
= (wxMenu
*) 0 ;
29753 wxString
*arg4
= 0 ;
29754 wxMenu
*arg5
= (wxMenu
*) 0 ;
29755 wxString
const &arg6_defvalue
= wxPyEmptyString
;
29756 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
29757 wxMenuItem
*result
;
29758 bool temp4
= False
;
29759 bool temp6
= False
;
29760 PyObject
* obj0
= 0 ;
29761 PyObject
* obj1
= 0 ;
29762 PyObject
* obj2
= 0 ;
29763 PyObject
* obj3
= 0 ;
29764 PyObject
* obj4
= 0 ;
29765 PyObject
* obj5
= 0 ;
29766 char *kwnames
[] = {
29767 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
29770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Menu_InsertMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
29771 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29772 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29773 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
29774 if (PyErr_Occurred()) SWIG_fail
;
29775 arg3
= (int)SWIG_As_int(obj2
);
29776 if (PyErr_Occurred()) SWIG_fail
;
29778 arg4
= wxString_in_helper(obj3
);
29779 if (arg4
== NULL
) SWIG_fail
;
29782 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxMenu
,
29783 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29786 arg6
= wxString_in_helper(obj5
);
29787 if (arg6
== NULL
) SWIG_fail
;
29792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29793 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
29795 wxPyEndAllowThreads(__tstate
);
29796 if (PyErr_Occurred()) SWIG_fail
;
29799 resultobj
= wxPyMake_wxObject(result
, 0);
29823 static PyObject
*_wrap_Menu_PrependItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29824 PyObject
*resultobj
;
29825 wxMenu
*arg1
= (wxMenu
*) 0 ;
29826 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
29827 wxMenuItem
*result
;
29828 PyObject
* obj0
= 0 ;
29829 PyObject
* obj1
= 0 ;
29830 char *kwnames
[] = {
29831 (char *) "self",(char *) "item", NULL
29834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
29835 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29836 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29837 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
29838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29841 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
);
29843 wxPyEndAllowThreads(__tstate
);
29844 if (PyErr_Occurred()) SWIG_fail
;
29847 resultobj
= wxPyMake_wxObject(result
, 0);
29855 static PyObject
*_wrap_Menu_Prepend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29856 PyObject
*resultobj
;
29857 wxMenu
*arg1
= (wxMenu
*) 0 ;
29859 wxString
*arg3
= 0 ;
29860 wxString
const &arg4_defvalue
= wxPyEmptyString
;
29861 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
29862 int arg5
= (int) wxITEM_NORMAL
;
29863 wxMenuItem
*result
;
29864 bool temp3
= False
;
29865 bool temp4
= False
;
29866 PyObject
* obj0
= 0 ;
29867 PyObject
* obj1
= 0 ;
29868 PyObject
* obj2
= 0 ;
29869 PyObject
* obj3
= 0 ;
29870 PyObject
* obj4
= 0 ;
29871 char *kwnames
[] = {
29872 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
29875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29876 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29878 arg2
= (int)SWIG_As_int(obj1
);
29879 if (PyErr_Occurred()) SWIG_fail
;
29881 arg3
= wxString_in_helper(obj2
);
29882 if (arg3
== NULL
) SWIG_fail
;
29887 arg4
= wxString_in_helper(obj3
);
29888 if (arg4
== NULL
) SWIG_fail
;
29893 arg5
= (int)SWIG_As_int(obj4
);
29894 if (PyErr_Occurred()) SWIG_fail
;
29897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29898 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
29900 wxPyEndAllowThreads(__tstate
);
29901 if (PyErr_Occurred()) SWIG_fail
;
29904 resultobj
= wxPyMake_wxObject(result
, 0);
29928 static PyObject
*_wrap_Menu_PrependSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29929 PyObject
*resultobj
;
29930 wxMenu
*arg1
= (wxMenu
*) 0 ;
29931 wxMenuItem
*result
;
29932 PyObject
* obj0
= 0 ;
29933 char *kwnames
[] = {
29934 (char *) "self", NULL
29937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_PrependSeparator",kwnames
,&obj0
)) goto fail
;
29938 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29939 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29942 result
= (wxMenuItem
*)(arg1
)->PrependSeparator();
29944 wxPyEndAllowThreads(__tstate
);
29945 if (PyErr_Occurred()) SWIG_fail
;
29948 resultobj
= wxPyMake_wxObject(result
, 0);
29956 static PyObject
*_wrap_Menu_PrependCheckItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29957 PyObject
*resultobj
;
29958 wxMenu
*arg1
= (wxMenu
*) 0 ;
29960 wxString
*arg3
= 0 ;
29961 wxString
const &arg4_defvalue
= wxPyEmptyString
;
29962 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
29963 wxMenuItem
*result
;
29964 bool temp3
= False
;
29965 bool temp4
= False
;
29966 PyObject
* obj0
= 0 ;
29967 PyObject
* obj1
= 0 ;
29968 PyObject
* obj2
= 0 ;
29969 PyObject
* obj3
= 0 ;
29970 char *kwnames
[] = {
29971 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
29974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29975 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29977 arg2
= (int)SWIG_As_int(obj1
);
29978 if (PyErr_Occurred()) SWIG_fail
;
29980 arg3
= wxString_in_helper(obj2
);
29981 if (arg3
== NULL
) SWIG_fail
;
29986 arg4
= wxString_in_helper(obj3
);
29987 if (arg4
== NULL
) SWIG_fail
;
29992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29993 result
= (wxMenuItem
*)(arg1
)->PrependCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
29995 wxPyEndAllowThreads(__tstate
);
29996 if (PyErr_Occurred()) SWIG_fail
;
29999 resultobj
= wxPyMake_wxObject(result
, 0);
30023 static PyObject
*_wrap_Menu_PrependRadioItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30024 PyObject
*resultobj
;
30025 wxMenu
*arg1
= (wxMenu
*) 0 ;
30027 wxString
*arg3
= 0 ;
30028 wxString
const &arg4_defvalue
= wxPyEmptyString
;
30029 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
30030 wxMenuItem
*result
;
30031 bool temp3
= False
;
30032 bool temp4
= False
;
30033 PyObject
* obj0
= 0 ;
30034 PyObject
* obj1
= 0 ;
30035 PyObject
* obj2
= 0 ;
30036 PyObject
* obj3
= 0 ;
30037 char *kwnames
[] = {
30038 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
30041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30044 arg2
= (int)SWIG_As_int(obj1
);
30045 if (PyErr_Occurred()) SWIG_fail
;
30047 arg3
= wxString_in_helper(obj2
);
30048 if (arg3
== NULL
) SWIG_fail
;
30053 arg4
= wxString_in_helper(obj3
);
30054 if (arg4
== NULL
) SWIG_fail
;
30059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30060 result
= (wxMenuItem
*)(arg1
)->PrependRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
30062 wxPyEndAllowThreads(__tstate
);
30063 if (PyErr_Occurred()) SWIG_fail
;
30066 resultobj
= wxPyMake_wxObject(result
, 0);
30090 static PyObject
*_wrap_Menu_PrependMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30091 PyObject
*resultobj
;
30092 wxMenu
*arg1
= (wxMenu
*) 0 ;
30094 wxString
*arg3
= 0 ;
30095 wxMenu
*arg4
= (wxMenu
*) 0 ;
30096 wxString
const &arg5_defvalue
= wxPyEmptyString
;
30097 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
30098 wxMenuItem
*result
;
30099 bool temp3
= False
;
30100 bool temp5
= False
;
30101 PyObject
* obj0
= 0 ;
30102 PyObject
* obj1
= 0 ;
30103 PyObject
* obj2
= 0 ;
30104 PyObject
* obj3
= 0 ;
30105 PyObject
* obj4
= 0 ;
30106 char *kwnames
[] = {
30107 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
30110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_PrependMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30111 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30113 arg2
= (int)SWIG_As_int(obj1
);
30114 if (PyErr_Occurred()) SWIG_fail
;
30116 arg3
= wxString_in_helper(obj2
);
30117 if (arg3
== NULL
) SWIG_fail
;
30120 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxMenu
,
30121 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30124 arg5
= wxString_in_helper(obj4
);
30125 if (arg5
== NULL
) SWIG_fail
;
30130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30131 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
30133 wxPyEndAllowThreads(__tstate
);
30134 if (PyErr_Occurred()) SWIG_fail
;
30137 resultobj
= wxPyMake_wxObject(result
, 0);
30161 static PyObject
*_wrap_Menu_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30162 PyObject
*resultobj
;
30163 wxMenu
*arg1
= (wxMenu
*) 0 ;
30165 wxMenuItem
*result
;
30166 PyObject
* obj0
= 0 ;
30167 PyObject
* obj1
= 0 ;
30168 char *kwnames
[] = {
30169 (char *) "self",(char *) "id", NULL
30172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
30173 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30174 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30175 arg2
= (int)SWIG_As_int(obj1
);
30176 if (PyErr_Occurred()) SWIG_fail
;
30178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30179 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
30181 wxPyEndAllowThreads(__tstate
);
30182 if (PyErr_Occurred()) SWIG_fail
;
30185 resultobj
= wxPyMake_wxObject(result
, 0);
30193 static PyObject
*_wrap_Menu_RemoveItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30194 PyObject
*resultobj
;
30195 wxMenu
*arg1
= (wxMenu
*) 0 ;
30196 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
30197 wxMenuItem
*result
;
30198 PyObject
* obj0
= 0 ;
30199 PyObject
* obj1
= 0 ;
30200 char *kwnames
[] = {
30201 (char *) "self",(char *) "item", NULL
30204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_RemoveItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30205 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30207 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
30208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30211 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
30213 wxPyEndAllowThreads(__tstate
);
30214 if (PyErr_Occurred()) SWIG_fail
;
30217 resultobj
= wxPyMake_wxObject(result
, 0);
30225 static PyObject
*_wrap_Menu_Delete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30226 PyObject
*resultobj
;
30227 wxMenu
*arg1
= (wxMenu
*) 0 ;
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_Delete",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
= (bool)(arg1
)->Delete(arg2
);
30245 wxPyEndAllowThreads(__tstate
);
30246 if (PyErr_Occurred()) SWIG_fail
;
30249 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30257 static PyObject
*_wrap_Menu_DeleteItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30258 PyObject
*resultobj
;
30259 wxMenu
*arg1
= (wxMenu
*) 0 ;
30260 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
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_DeleteItem",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
= (bool)(arg1
)->Delete(arg2
);
30277 wxPyEndAllowThreads(__tstate
);
30278 if (PyErr_Occurred()) SWIG_fail
;
30281 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30289 static PyObject
*_wrap_Menu_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30290 PyObject
*resultobj
;
30291 wxMenu
*arg1
= (wxMenu
*) 0 ;
30292 PyObject
* obj0
= 0 ;
30293 char *kwnames
[] = {
30294 (char *) "self", NULL
30297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Destroy",kwnames
,&obj0
)) goto fail
;
30298 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30299 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30302 wxMenu_Destroy(arg1
);
30304 wxPyEndAllowThreads(__tstate
);
30305 if (PyErr_Occurred()) SWIG_fail
;
30307 Py_INCREF(Py_None
); resultobj
= Py_None
;
30314 static PyObject
*_wrap_Menu_DestroyId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30315 PyObject
*resultobj
;
30316 wxMenu
*arg1
= (wxMenu
*) 0 ;
30319 PyObject
* obj0
= 0 ;
30320 PyObject
* obj1
= 0 ;
30321 char *kwnames
[] = {
30322 (char *) "self",(char *) "id", NULL
30325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyId",kwnames
,&obj0
,&obj1
)) goto fail
;
30326 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30327 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30328 arg2
= (int)SWIG_As_int(obj1
);
30329 if (PyErr_Occurred()) SWIG_fail
;
30331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30332 result
= (bool)(arg1
)->Destroy(arg2
);
30334 wxPyEndAllowThreads(__tstate
);
30335 if (PyErr_Occurred()) SWIG_fail
;
30338 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30346 static PyObject
*_wrap_Menu_DestroyItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30347 PyObject
*resultobj
;
30348 wxMenu
*arg1
= (wxMenu
*) 0 ;
30349 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
30351 PyObject
* obj0
= 0 ;
30352 PyObject
* obj1
= 0 ;
30353 char *kwnames
[] = {
30354 (char *) "self",(char *) "item", NULL
30357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30360 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
30361 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30364 result
= (bool)(arg1
)->Destroy(arg2
);
30366 wxPyEndAllowThreads(__tstate
);
30367 if (PyErr_Occurred()) SWIG_fail
;
30370 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30378 static PyObject
*_wrap_Menu_GetMenuItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30379 PyObject
*resultobj
;
30380 wxMenu
*arg1
= (wxMenu
*) 0 ;
30382 PyObject
* obj0
= 0 ;
30383 char *kwnames
[] = {
30384 (char *) "self", NULL
30387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItemCount",kwnames
,&obj0
)) goto fail
;
30388 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30392 result
= (size_t)((wxMenu
const *)arg1
)->GetMenuItemCount();
30394 wxPyEndAllowThreads(__tstate
);
30395 if (PyErr_Occurred()) SWIG_fail
;
30397 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
30404 static PyObject
*_wrap_Menu_GetMenuItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30405 PyObject
*resultobj
;
30406 wxMenu
*arg1
= (wxMenu
*) 0 ;
30408 PyObject
* obj0
= 0 ;
30409 char *kwnames
[] = {
30410 (char *) "self", NULL
30413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItems",kwnames
,&obj0
)) goto fail
;
30414 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30415 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30418 result
= (PyObject
*)wxMenu_GetMenuItems(arg1
);
30420 wxPyEndAllowThreads(__tstate
);
30421 if (PyErr_Occurred()) SWIG_fail
;
30423 resultobj
= result
;
30430 static PyObject
*_wrap_Menu_FindItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30431 PyObject
*resultobj
;
30432 wxMenu
*arg1
= (wxMenu
*) 0 ;
30433 wxString
*arg2
= 0 ;
30435 bool temp2
= False
;
30436 PyObject
* obj0
= 0 ;
30437 PyObject
* obj1
= 0 ;
30438 char *kwnames
[] = {
30439 (char *) "self",(char *) "item", NULL
30442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30443 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30446 arg2
= wxString_in_helper(obj1
);
30447 if (arg2
== NULL
) SWIG_fail
;
30451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30452 result
= (int)((wxMenu
const *)arg1
)->FindItem((wxString
const &)*arg2
);
30454 wxPyEndAllowThreads(__tstate
);
30455 if (PyErr_Occurred()) SWIG_fail
;
30457 resultobj
= SWIG_From_int((int)result
);
30472 static PyObject
*_wrap_Menu_FindItemById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30473 PyObject
*resultobj
;
30474 wxMenu
*arg1
= (wxMenu
*) 0 ;
30476 wxMenuItem
*result
;
30477 PyObject
* obj0
= 0 ;
30478 PyObject
* obj1
= 0 ;
30479 char *kwnames
[] = {
30480 (char *) "self",(char *) "id", NULL
30483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemById",kwnames
,&obj0
,&obj1
)) goto fail
;
30484 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30485 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30486 arg2
= (int)SWIG_As_int(obj1
);
30487 if (PyErr_Occurred()) SWIG_fail
;
30489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30490 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItem(arg2
);
30492 wxPyEndAllowThreads(__tstate
);
30493 if (PyErr_Occurred()) SWIG_fail
;
30496 resultobj
= wxPyMake_wxObject(result
, 0);
30504 static PyObject
*_wrap_Menu_FindItemByPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30505 PyObject
*resultobj
;
30506 wxMenu
*arg1
= (wxMenu
*) 0 ;
30508 wxMenuItem
*result
;
30509 PyObject
* obj0
= 0 ;
30510 PyObject
* obj1
= 0 ;
30511 char *kwnames
[] = {
30512 (char *) "self",(char *) "position", NULL
30515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemByPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
30516 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30517 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30518 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
30519 if (PyErr_Occurred()) SWIG_fail
;
30521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30522 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItemByPosition(arg2
);
30524 wxPyEndAllowThreads(__tstate
);
30525 if (PyErr_Occurred()) SWIG_fail
;
30528 resultobj
= wxPyMake_wxObject(result
, 0);
30536 static PyObject
*_wrap_Menu_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30537 PyObject
*resultobj
;
30538 wxMenu
*arg1
= (wxMenu
*) 0 ;
30541 PyObject
* obj0
= 0 ;
30542 PyObject
* obj1
= 0 ;
30543 PyObject
* obj2
= 0 ;
30544 char *kwnames
[] = {
30545 (char *) "self",(char *) "id",(char *) "enable", NULL
30548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30549 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30551 arg2
= (int)SWIG_As_int(obj1
);
30552 if (PyErr_Occurred()) SWIG_fail
;
30553 arg3
= (bool)SWIG_As_bool(obj2
);
30554 if (PyErr_Occurred()) SWIG_fail
;
30556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30557 (arg1
)->Enable(arg2
,arg3
);
30559 wxPyEndAllowThreads(__tstate
);
30560 if (PyErr_Occurred()) SWIG_fail
;
30562 Py_INCREF(Py_None
); resultobj
= Py_None
;
30569 static PyObject
*_wrap_Menu_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30570 PyObject
*resultobj
;
30571 wxMenu
*arg1
= (wxMenu
*) 0 ;
30574 PyObject
* obj0
= 0 ;
30575 PyObject
* obj1
= 0 ;
30576 char *kwnames
[] = {
30577 (char *) "self",(char *) "id", NULL
30580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
30581 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30583 arg2
= (int)SWIG_As_int(obj1
);
30584 if (PyErr_Occurred()) SWIG_fail
;
30586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30587 result
= (bool)((wxMenu
const *)arg1
)->IsEnabled(arg2
);
30589 wxPyEndAllowThreads(__tstate
);
30590 if (PyErr_Occurred()) SWIG_fail
;
30593 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30601 static PyObject
*_wrap_Menu_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30602 PyObject
*resultobj
;
30603 wxMenu
*arg1
= (wxMenu
*) 0 ;
30606 PyObject
* obj0
= 0 ;
30607 PyObject
* obj1
= 0 ;
30608 PyObject
* obj2
= 0 ;
30609 char *kwnames
[] = {
30610 (char *) "self",(char *) "id",(char *) "check", NULL
30613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30616 arg2
= (int)SWIG_As_int(obj1
);
30617 if (PyErr_Occurred()) SWIG_fail
;
30618 arg3
= (bool)SWIG_As_bool(obj2
);
30619 if (PyErr_Occurred()) SWIG_fail
;
30621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30622 (arg1
)->Check(arg2
,arg3
);
30624 wxPyEndAllowThreads(__tstate
);
30625 if (PyErr_Occurred()) SWIG_fail
;
30627 Py_INCREF(Py_None
); resultobj
= Py_None
;
30634 static PyObject
*_wrap_Menu_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30635 PyObject
*resultobj
;
30636 wxMenu
*arg1
= (wxMenu
*) 0 ;
30639 PyObject
* obj0
= 0 ;
30640 PyObject
* obj1
= 0 ;
30641 char *kwnames
[] = {
30642 (char *) "self",(char *) "id", NULL
30645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
30646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30648 arg2
= (int)SWIG_As_int(obj1
);
30649 if (PyErr_Occurred()) SWIG_fail
;
30651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30652 result
= (bool)((wxMenu
const *)arg1
)->IsChecked(arg2
);
30654 wxPyEndAllowThreads(__tstate
);
30655 if (PyErr_Occurred()) SWIG_fail
;
30658 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30666 static PyObject
*_wrap_Menu_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30667 PyObject
*resultobj
;
30668 wxMenu
*arg1
= (wxMenu
*) 0 ;
30670 wxString
*arg3
= 0 ;
30671 bool temp3
= False
;
30672 PyObject
* obj0
= 0 ;
30673 PyObject
* obj1
= 0 ;
30674 PyObject
* obj2
= 0 ;
30675 char *kwnames
[] = {
30676 (char *) "self",(char *) "id",(char *) "label", NULL
30679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30680 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30681 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30682 arg2
= (int)SWIG_As_int(obj1
);
30683 if (PyErr_Occurred()) SWIG_fail
;
30685 arg3
= wxString_in_helper(obj2
);
30686 if (arg3
== NULL
) SWIG_fail
;
30690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30691 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
30693 wxPyEndAllowThreads(__tstate
);
30694 if (PyErr_Occurred()) SWIG_fail
;
30696 Py_INCREF(Py_None
); resultobj
= Py_None
;
30711 static PyObject
*_wrap_Menu_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30712 PyObject
*resultobj
;
30713 wxMenu
*arg1
= (wxMenu
*) 0 ;
30716 PyObject
* obj0
= 0 ;
30717 PyObject
* obj1
= 0 ;
30718 char *kwnames
[] = {
30719 (char *) "self",(char *) "id", NULL
30722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
30723 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30724 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30725 arg2
= (int)SWIG_As_int(obj1
);
30726 if (PyErr_Occurred()) SWIG_fail
;
30728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30729 result
= ((wxMenu
const *)arg1
)->GetLabel(arg2
);
30731 wxPyEndAllowThreads(__tstate
);
30732 if (PyErr_Occurred()) SWIG_fail
;
30736 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30738 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30747 static PyObject
*_wrap_Menu_SetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30748 PyObject
*resultobj
;
30749 wxMenu
*arg1
= (wxMenu
*) 0 ;
30751 wxString
*arg3
= 0 ;
30752 bool temp3
= False
;
30753 PyObject
* obj0
= 0 ;
30754 PyObject
* obj1
= 0 ;
30755 PyObject
* obj2
= 0 ;
30756 char *kwnames
[] = {
30757 (char *) "self",(char *) "id",(char *) "helpString", NULL
30760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30761 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30763 arg2
= (int)SWIG_As_int(obj1
);
30764 if (PyErr_Occurred()) SWIG_fail
;
30766 arg3
= wxString_in_helper(obj2
);
30767 if (arg3
== NULL
) SWIG_fail
;
30771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30772 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
30774 wxPyEndAllowThreads(__tstate
);
30775 if (PyErr_Occurred()) SWIG_fail
;
30777 Py_INCREF(Py_None
); resultobj
= Py_None
;
30792 static PyObject
*_wrap_Menu_GetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30793 PyObject
*resultobj
;
30794 wxMenu
*arg1
= (wxMenu
*) 0 ;
30797 PyObject
* obj0
= 0 ;
30798 PyObject
* obj1
= 0 ;
30799 char *kwnames
[] = {
30800 (char *) "self",(char *) "id", NULL
30803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetHelpString",kwnames
,&obj0
,&obj1
)) goto fail
;
30804 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30806 arg2
= (int)SWIG_As_int(obj1
);
30807 if (PyErr_Occurred()) SWIG_fail
;
30809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30810 result
= ((wxMenu
const *)arg1
)->GetHelpString(arg2
);
30812 wxPyEndAllowThreads(__tstate
);
30813 if (PyErr_Occurred()) SWIG_fail
;
30817 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30819 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30828 static PyObject
*_wrap_Menu_SetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30829 PyObject
*resultobj
;
30830 wxMenu
*arg1
= (wxMenu
*) 0 ;
30831 wxString
*arg2
= 0 ;
30832 bool temp2
= False
;
30833 PyObject
* obj0
= 0 ;
30834 PyObject
* obj1
= 0 ;
30835 char *kwnames
[] = {
30836 (char *) "self",(char *) "title", NULL
30839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
30840 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30841 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30843 arg2
= wxString_in_helper(obj1
);
30844 if (arg2
== NULL
) SWIG_fail
;
30848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30849 (arg1
)->SetTitle((wxString
const &)*arg2
);
30851 wxPyEndAllowThreads(__tstate
);
30852 if (PyErr_Occurred()) SWIG_fail
;
30854 Py_INCREF(Py_None
); resultobj
= Py_None
;
30869 static PyObject
*_wrap_Menu_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30870 PyObject
*resultobj
;
30871 wxMenu
*arg1
= (wxMenu
*) 0 ;
30873 PyObject
* obj0
= 0 ;
30874 char *kwnames
[] = {
30875 (char *) "self", NULL
30878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetTitle",kwnames
,&obj0
)) goto fail
;
30879 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30880 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30883 result
= ((wxMenu
const *)arg1
)->GetTitle();
30885 wxPyEndAllowThreads(__tstate
);
30886 if (PyErr_Occurred()) SWIG_fail
;
30890 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30892 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30901 static PyObject
*_wrap_Menu_SetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30902 PyObject
*resultobj
;
30903 wxMenu
*arg1
= (wxMenu
*) 0 ;
30904 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
30905 PyObject
* obj0
= 0 ;
30906 PyObject
* obj1
= 0 ;
30907 char *kwnames
[] = {
30908 (char *) "self",(char *) "handler", NULL
30911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
30912 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30914 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
30915 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30918 (arg1
)->SetEventHandler(arg2
);
30920 wxPyEndAllowThreads(__tstate
);
30921 if (PyErr_Occurred()) SWIG_fail
;
30923 Py_INCREF(Py_None
); resultobj
= Py_None
;
30930 static PyObject
*_wrap_Menu_GetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30931 PyObject
*resultobj
;
30932 wxMenu
*arg1
= (wxMenu
*) 0 ;
30933 wxEvtHandler
*result
;
30934 PyObject
* obj0
= 0 ;
30935 char *kwnames
[] = {
30936 (char *) "self", NULL
30939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetEventHandler",kwnames
,&obj0
)) goto fail
;
30940 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30941 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30944 result
= (wxEvtHandler
*)((wxMenu
const *)arg1
)->GetEventHandler();
30946 wxPyEndAllowThreads(__tstate
);
30947 if (PyErr_Occurred()) SWIG_fail
;
30950 resultobj
= wxPyMake_wxObject(result
, 0);
30958 static PyObject
*_wrap_Menu_SetInvokingWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30959 PyObject
*resultobj
;
30960 wxMenu
*arg1
= (wxMenu
*) 0 ;
30961 wxWindow
*arg2
= (wxWindow
*) 0 ;
30962 PyObject
* obj0
= 0 ;
30963 PyObject
* obj1
= 0 ;
30964 char *kwnames
[] = {
30965 (char *) "self",(char *) "win", NULL
30968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetInvokingWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
30969 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30970 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30971 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30972 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30975 (arg1
)->SetInvokingWindow(arg2
);
30977 wxPyEndAllowThreads(__tstate
);
30978 if (PyErr_Occurred()) SWIG_fail
;
30980 Py_INCREF(Py_None
); resultobj
= Py_None
;
30987 static PyObject
*_wrap_Menu_GetInvokingWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30988 PyObject
*resultobj
;
30989 wxMenu
*arg1
= (wxMenu
*) 0 ;
30991 PyObject
* obj0
= 0 ;
30992 char *kwnames
[] = {
30993 (char *) "self", NULL
30996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetInvokingWindow",kwnames
,&obj0
)) goto fail
;
30997 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30998 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31001 result
= (wxWindow
*)((wxMenu
const *)arg1
)->GetInvokingWindow();
31003 wxPyEndAllowThreads(__tstate
);
31004 if (PyErr_Occurred()) SWIG_fail
;
31007 resultobj
= wxPyMake_wxObject(result
, 0);
31015 static PyObject
*_wrap_Menu_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31016 PyObject
*resultobj
;
31017 wxMenu
*arg1
= (wxMenu
*) 0 ;
31019 PyObject
* obj0
= 0 ;
31020 char *kwnames
[] = {
31021 (char *) "self", NULL
31024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetStyle",kwnames
,&obj0
)) goto fail
;
31025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31029 result
= (long)((wxMenu
const *)arg1
)->GetStyle();
31031 wxPyEndAllowThreads(__tstate
);
31032 if (PyErr_Occurred()) SWIG_fail
;
31034 resultobj
= SWIG_From_long((long)result
);
31041 static PyObject
*_wrap_Menu_UpdateUI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31042 PyObject
*resultobj
;
31043 wxMenu
*arg1
= (wxMenu
*) 0 ;
31044 wxEvtHandler
*arg2
= (wxEvtHandler
*) NULL
;
31045 PyObject
* obj0
= 0 ;
31046 PyObject
* obj1
= 0 ;
31047 char *kwnames
[] = {
31048 (char *) "self",(char *) "source", NULL
31051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Menu_UpdateUI",kwnames
,&obj0
,&obj1
)) goto fail
;
31052 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31053 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31055 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
31056 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31060 (arg1
)->UpdateUI(arg2
);
31062 wxPyEndAllowThreads(__tstate
);
31063 if (PyErr_Occurred()) SWIG_fail
;
31065 Py_INCREF(Py_None
); resultobj
= Py_None
;
31072 static PyObject
*_wrap_Menu_GetMenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31073 PyObject
*resultobj
;
31074 wxMenu
*arg1
= (wxMenu
*) 0 ;
31076 PyObject
* obj0
= 0 ;
31077 char *kwnames
[] = {
31078 (char *) "self", NULL
31081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuBar",kwnames
,&obj0
)) goto fail
;
31082 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31083 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31086 result
= (wxMenuBar
*)((wxMenu
const *)arg1
)->GetMenuBar();
31088 wxPyEndAllowThreads(__tstate
);
31089 if (PyErr_Occurred()) SWIG_fail
;
31092 resultobj
= wxPyMake_wxObject(result
, 0);
31100 static PyObject
*_wrap_Menu_Attach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31101 PyObject
*resultobj
;
31102 wxMenu
*arg1
= (wxMenu
*) 0 ;
31103 wxMenuBarBase
*arg2
= (wxMenuBarBase
*) 0 ;
31104 PyObject
* obj0
= 0 ;
31105 PyObject
* obj1
= 0 ;
31106 char *kwnames
[] = {
31107 (char *) "self",(char *) "menubar", NULL
31110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
31111 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31113 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuBarBase
,
31114 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31117 (arg1
)->Attach(arg2
);
31119 wxPyEndAllowThreads(__tstate
);
31120 if (PyErr_Occurred()) SWIG_fail
;
31122 Py_INCREF(Py_None
); resultobj
= Py_None
;
31129 static PyObject
*_wrap_Menu_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31130 PyObject
*resultobj
;
31131 wxMenu
*arg1
= (wxMenu
*) 0 ;
31132 PyObject
* obj0
= 0 ;
31133 char *kwnames
[] = {
31134 (char *) "self", NULL
31137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Detach",kwnames
,&obj0
)) goto fail
;
31138 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31139 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31144 wxPyEndAllowThreads(__tstate
);
31145 if (PyErr_Occurred()) SWIG_fail
;
31147 Py_INCREF(Py_None
); resultobj
= Py_None
;
31154 static PyObject
*_wrap_Menu_IsAttached(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31155 PyObject
*resultobj
;
31156 wxMenu
*arg1
= (wxMenu
*) 0 ;
31158 PyObject
* obj0
= 0 ;
31159 char *kwnames
[] = {
31160 (char *) "self", NULL
31163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_IsAttached",kwnames
,&obj0
)) goto fail
;
31164 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31165 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31168 result
= (bool)((wxMenu
const *)arg1
)->IsAttached();
31170 wxPyEndAllowThreads(__tstate
);
31171 if (PyErr_Occurred()) SWIG_fail
;
31174 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31182 static PyObject
*_wrap_Menu_SetParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31183 PyObject
*resultobj
;
31184 wxMenu
*arg1
= (wxMenu
*) 0 ;
31185 wxMenu
*arg2
= (wxMenu
*) 0 ;
31186 PyObject
* obj0
= 0 ;
31187 PyObject
* obj1
= 0 ;
31188 char *kwnames
[] = {
31189 (char *) "self",(char *) "parent", NULL
31192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetParent",kwnames
,&obj0
,&obj1
)) goto fail
;
31193 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31194 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31195 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
31196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31199 (arg1
)->SetParent(arg2
);
31201 wxPyEndAllowThreads(__tstate
);
31202 if (PyErr_Occurred()) SWIG_fail
;
31204 Py_INCREF(Py_None
); resultobj
= Py_None
;
31211 static PyObject
*_wrap_Menu_GetParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31212 PyObject
*resultobj
;
31213 wxMenu
*arg1
= (wxMenu
*) 0 ;
31215 PyObject
* obj0
= 0 ;
31216 char *kwnames
[] = {
31217 (char *) "self", NULL
31220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetParent",kwnames
,&obj0
)) goto fail
;
31221 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31222 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31225 result
= (wxMenu
*)((wxMenu
const *)arg1
)->GetParent();
31227 wxPyEndAllowThreads(__tstate
);
31228 if (PyErr_Occurred()) SWIG_fail
;
31231 resultobj
= wxPyMake_wxObject(result
, 0);
31239 static PyObject
* Menu_swigregister(PyObject
*, PyObject
*args
) {
31241 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31242 SWIG_TypeClientData(SWIGTYPE_p_wxMenu
, obj
);
31244 return Py_BuildValue((char *)"");
31246 static PyObject
*_wrap_new_MenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31247 PyObject
*resultobj
;
31248 long arg1
= (long) 0 ;
31250 PyObject
* obj0
= 0 ;
31251 char *kwnames
[] = {
31252 (char *) "style", NULL
31255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MenuBar",kwnames
,&obj0
)) goto fail
;
31257 arg1
= (long)SWIG_As_long(obj0
);
31258 if (PyErr_Occurred()) SWIG_fail
;
31261 if (!wxPyCheckForApp()) SWIG_fail
;
31262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31263 result
= (wxMenuBar
*)new wxMenuBar(arg1
);
31265 wxPyEndAllowThreads(__tstate
);
31266 if (PyErr_Occurred()) SWIG_fail
;
31268 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenuBar
, 1);
31275 static PyObject
*_wrap_MenuBar_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31276 PyObject
*resultobj
;
31277 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31278 wxMenu
*arg2
= (wxMenu
*) 0 ;
31279 wxString
*arg3
= 0 ;
31281 bool temp3
= False
;
31282 PyObject
* obj0
= 0 ;
31283 PyObject
* obj1
= 0 ;
31284 PyObject
* obj2
= 0 ;
31285 char *kwnames
[] = {
31286 (char *) "self",(char *) "menu",(char *) "title", NULL
31289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31290 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31292 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
31293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31295 arg3
= wxString_in_helper(obj2
);
31296 if (arg3
== NULL
) SWIG_fail
;
31300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31301 result
= (bool)(arg1
)->Append(arg2
,(wxString
const &)*arg3
);
31303 wxPyEndAllowThreads(__tstate
);
31304 if (PyErr_Occurred()) SWIG_fail
;
31307 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31323 static PyObject
*_wrap_MenuBar_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31324 PyObject
*resultobj
;
31325 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31327 wxMenu
*arg3
= (wxMenu
*) 0 ;
31328 wxString
*arg4
= 0 ;
31330 bool temp4
= False
;
31331 PyObject
* obj0
= 0 ;
31332 PyObject
* obj1
= 0 ;
31333 PyObject
* obj2
= 0 ;
31334 PyObject
* obj3
= 0 ;
31335 char *kwnames
[] = {
31336 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
31339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
31340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31342 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
31343 if (PyErr_Occurred()) SWIG_fail
;
31344 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenu
,
31345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31347 arg4
= wxString_in_helper(obj3
);
31348 if (arg4
== NULL
) SWIG_fail
;
31352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31353 result
= (bool)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
);
31355 wxPyEndAllowThreads(__tstate
);
31356 if (PyErr_Occurred()) SWIG_fail
;
31359 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31375 static PyObject
*_wrap_MenuBar_GetMenuCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31376 PyObject
*resultobj
;
31377 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31379 PyObject
* obj0
= 0 ;
31380 char *kwnames
[] = {
31381 (char *) "self", NULL
31384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetMenuCount",kwnames
,&obj0
)) goto fail
;
31385 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31386 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31389 result
= (size_t)((wxMenuBar
const *)arg1
)->GetMenuCount();
31391 wxPyEndAllowThreads(__tstate
);
31392 if (PyErr_Occurred()) SWIG_fail
;
31394 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
31401 static PyObject
*_wrap_MenuBar_GetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31402 PyObject
*resultobj
;
31403 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31406 PyObject
* obj0
= 0 ;
31407 PyObject
* obj1
= 0 ;
31408 char *kwnames
[] = {
31409 (char *) "self",(char *) "pos", NULL
31412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
31413 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31415 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
31416 if (PyErr_Occurred()) SWIG_fail
;
31418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31419 result
= (wxMenu
*)((wxMenuBar
const *)arg1
)->GetMenu(arg2
);
31421 wxPyEndAllowThreads(__tstate
);
31422 if (PyErr_Occurred()) SWIG_fail
;
31425 resultobj
= wxPyMake_wxObject(result
, 0);
31433 static PyObject
*_wrap_MenuBar_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31434 PyObject
*resultobj
;
31435 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31437 wxMenu
*arg3
= (wxMenu
*) 0 ;
31438 wxString
*arg4
= 0 ;
31440 bool temp4
= False
;
31441 PyObject
* obj0
= 0 ;
31442 PyObject
* obj1
= 0 ;
31443 PyObject
* obj2
= 0 ;
31444 PyObject
* obj3
= 0 ;
31445 char *kwnames
[] = {
31446 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
31449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
31450 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31451 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31452 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
31453 if (PyErr_Occurred()) SWIG_fail
;
31454 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenu
,
31455 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31457 arg4
= wxString_in_helper(obj3
);
31458 if (arg4
== NULL
) SWIG_fail
;
31462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31463 result
= (wxMenu
*)(arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
31465 wxPyEndAllowThreads(__tstate
);
31466 if (PyErr_Occurred()) SWIG_fail
;
31469 resultobj
= wxPyMake_wxObject(result
, 0);
31485 static PyObject
*_wrap_MenuBar_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31486 PyObject
*resultobj
;
31487 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31490 PyObject
* obj0
= 0 ;
31491 PyObject
* obj1
= 0 ;
31492 char *kwnames
[] = {
31493 (char *) "self",(char *) "pos", NULL
31496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
31497 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31498 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31499 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
31500 if (PyErr_Occurred()) SWIG_fail
;
31502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31503 result
= (wxMenu
*)(arg1
)->Remove(arg2
);
31505 wxPyEndAllowThreads(__tstate
);
31506 if (PyErr_Occurred()) SWIG_fail
;
31509 resultobj
= wxPyMake_wxObject(result
, 0);
31517 static PyObject
*_wrap_MenuBar_EnableTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31518 PyObject
*resultobj
;
31519 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31522 PyObject
* obj0
= 0 ;
31523 PyObject
* obj1
= 0 ;
31524 PyObject
* obj2
= 0 ;
31525 char *kwnames
[] = {
31526 (char *) "self",(char *) "pos",(char *) "enable", NULL
31529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_EnableTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31530 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31532 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
31533 if (PyErr_Occurred()) SWIG_fail
;
31534 arg3
= (bool)SWIG_As_bool(obj2
);
31535 if (PyErr_Occurred()) SWIG_fail
;
31537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31538 (arg1
)->EnableTop(arg2
,arg3
);
31540 wxPyEndAllowThreads(__tstate
);
31541 if (PyErr_Occurred()) SWIG_fail
;
31543 Py_INCREF(Py_None
); resultobj
= Py_None
;
31550 static PyObject
*_wrap_MenuBar_IsEnabledTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31551 PyObject
*resultobj
;
31552 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31555 PyObject
* obj0
= 0 ;
31556 PyObject
* obj1
= 0 ;
31557 char *kwnames
[] = {
31558 (char *) "self",(char *) "pos", NULL
31561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabledTop",kwnames
,&obj0
,&obj1
)) goto fail
;
31562 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31564 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
31565 if (PyErr_Occurred()) SWIG_fail
;
31567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31568 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabledTop(arg2
);
31570 wxPyEndAllowThreads(__tstate
);
31571 if (PyErr_Occurred()) SWIG_fail
;
31574 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31582 static PyObject
*_wrap_MenuBar_SetLabelTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31583 PyObject
*resultobj
;
31584 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31586 wxString
*arg3
= 0 ;
31587 bool temp3
= False
;
31588 PyObject
* obj0
= 0 ;
31589 PyObject
* obj1
= 0 ;
31590 PyObject
* obj2
= 0 ;
31591 char *kwnames
[] = {
31592 (char *) "self",(char *) "pos",(char *) "label", NULL
31595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabelTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31596 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31597 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31598 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
31599 if (PyErr_Occurred()) SWIG_fail
;
31601 arg3
= wxString_in_helper(obj2
);
31602 if (arg3
== NULL
) SWIG_fail
;
31606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31607 (arg1
)->SetLabelTop(arg2
,(wxString
const &)*arg3
);
31609 wxPyEndAllowThreads(__tstate
);
31610 if (PyErr_Occurred()) SWIG_fail
;
31612 Py_INCREF(Py_None
); resultobj
= Py_None
;
31627 static PyObject
*_wrap_MenuBar_GetLabelTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31628 PyObject
*resultobj
;
31629 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31632 PyObject
* obj0
= 0 ;
31633 PyObject
* obj1
= 0 ;
31634 char *kwnames
[] = {
31635 (char *) "self",(char *) "pos", NULL
31638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabelTop",kwnames
,&obj0
,&obj1
)) goto fail
;
31639 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31641 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
31642 if (PyErr_Occurred()) SWIG_fail
;
31644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31645 result
= ((wxMenuBar
const *)arg1
)->GetLabelTop(arg2
);
31647 wxPyEndAllowThreads(__tstate
);
31648 if (PyErr_Occurred()) SWIG_fail
;
31652 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31654 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31663 static PyObject
*_wrap_MenuBar_FindMenuItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31664 PyObject
*resultobj
;
31665 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31666 wxString
*arg2
= 0 ;
31667 wxString
*arg3
= 0 ;
31669 bool temp2
= False
;
31670 bool temp3
= False
;
31671 PyObject
* obj0
= 0 ;
31672 PyObject
* obj1
= 0 ;
31673 PyObject
* obj2
= 0 ;
31674 char *kwnames
[] = {
31675 (char *) "self",(char *) "menu",(char *) "item", NULL
31678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_FindMenuItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31679 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31680 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31682 arg2
= wxString_in_helper(obj1
);
31683 if (arg2
== NULL
) SWIG_fail
;
31687 arg3
= wxString_in_helper(obj2
);
31688 if (arg3
== NULL
) SWIG_fail
;
31692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31693 result
= (int)((wxMenuBar
const *)arg1
)->FindMenuItem((wxString
const &)*arg2
,(wxString
const &)*arg3
);
31695 wxPyEndAllowThreads(__tstate
);
31696 if (PyErr_Occurred()) SWIG_fail
;
31698 resultobj
= SWIG_From_int((int)result
);
31721 static PyObject
*_wrap_MenuBar_FindItemById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31722 PyObject
*resultobj
;
31723 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31725 wxMenuItem
*result
;
31726 PyObject
* obj0
= 0 ;
31727 PyObject
* obj1
= 0 ;
31728 char *kwnames
[] = {
31729 (char *) "self",(char *) "id", NULL
31732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindItemById",kwnames
,&obj0
,&obj1
)) goto fail
;
31733 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31735 arg2
= (int)SWIG_As_int(obj1
);
31736 if (PyErr_Occurred()) SWIG_fail
;
31738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31739 result
= (wxMenuItem
*)((wxMenuBar
const *)arg1
)->FindItem(arg2
);
31741 wxPyEndAllowThreads(__tstate
);
31742 if (PyErr_Occurred()) SWIG_fail
;
31745 resultobj
= wxPyMake_wxObject(result
, 0);
31753 static PyObject
*_wrap_MenuBar_FindMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31754 PyObject
*resultobj
;
31755 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31756 wxString
*arg2
= 0 ;
31758 bool temp2
= False
;
31759 PyObject
* obj0
= 0 ;
31760 PyObject
* obj1
= 0 ;
31761 char *kwnames
[] = {
31762 (char *) "self",(char *) "title", NULL
31765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
31766 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31767 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31769 arg2
= wxString_in_helper(obj1
);
31770 if (arg2
== NULL
) SWIG_fail
;
31774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31775 result
= (int)((wxMenuBar
const *)arg1
)->FindMenu((wxString
const &)*arg2
);
31777 wxPyEndAllowThreads(__tstate
);
31778 if (PyErr_Occurred()) SWIG_fail
;
31780 resultobj
= SWIG_From_int((int)result
);
31795 static PyObject
*_wrap_MenuBar_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31796 PyObject
*resultobj
;
31797 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31800 PyObject
* obj0
= 0 ;
31801 PyObject
* obj1
= 0 ;
31802 PyObject
* obj2
= 0 ;
31803 char *kwnames
[] = {
31804 (char *) "self",(char *) "id",(char *) "enable", NULL
31807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31810 arg2
= (int)SWIG_As_int(obj1
);
31811 if (PyErr_Occurred()) SWIG_fail
;
31812 arg3
= (bool)SWIG_As_bool(obj2
);
31813 if (PyErr_Occurred()) SWIG_fail
;
31815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31816 (arg1
)->Enable(arg2
,arg3
);
31818 wxPyEndAllowThreads(__tstate
);
31819 if (PyErr_Occurred()) SWIG_fail
;
31821 Py_INCREF(Py_None
); resultobj
= Py_None
;
31828 static PyObject
*_wrap_MenuBar_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31829 PyObject
*resultobj
;
31830 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31833 PyObject
* obj0
= 0 ;
31834 PyObject
* obj1
= 0 ;
31835 PyObject
* obj2
= 0 ;
31836 char *kwnames
[] = {
31837 (char *) "self",(char *) "id",(char *) "check", NULL
31840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31841 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31842 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31843 arg2
= (int)SWIG_As_int(obj1
);
31844 if (PyErr_Occurred()) SWIG_fail
;
31845 arg3
= (bool)SWIG_As_bool(obj2
);
31846 if (PyErr_Occurred()) SWIG_fail
;
31848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31849 (arg1
)->Check(arg2
,arg3
);
31851 wxPyEndAllowThreads(__tstate
);
31852 if (PyErr_Occurred()) SWIG_fail
;
31854 Py_INCREF(Py_None
); resultobj
= Py_None
;
31861 static PyObject
*_wrap_MenuBar_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31862 PyObject
*resultobj
;
31863 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31866 PyObject
* obj0
= 0 ;
31867 PyObject
* obj1
= 0 ;
31868 char *kwnames
[] = {
31869 (char *) "self",(char *) "id", NULL
31872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
31873 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31874 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31875 arg2
= (int)SWIG_As_int(obj1
);
31876 if (PyErr_Occurred()) SWIG_fail
;
31878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31879 result
= (bool)((wxMenuBar
const *)arg1
)->IsChecked(arg2
);
31881 wxPyEndAllowThreads(__tstate
);
31882 if (PyErr_Occurred()) SWIG_fail
;
31885 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31893 static PyObject
*_wrap_MenuBar_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31894 PyObject
*resultobj
;
31895 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31898 PyObject
* obj0
= 0 ;
31899 PyObject
* obj1
= 0 ;
31900 char *kwnames
[] = {
31901 (char *) "self",(char *) "id", NULL
31904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabled",kwnames
,&obj0
,&obj1
)) 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
;
31910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31911 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabled(arg2
);
31913 wxPyEndAllowThreads(__tstate
);
31914 if (PyErr_Occurred()) SWIG_fail
;
31917 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31925 static PyObject
*_wrap_MenuBar_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31926 PyObject
*resultobj
;
31927 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31929 wxString
*arg3
= 0 ;
31930 bool temp3
= False
;
31931 PyObject
* obj0
= 0 ;
31932 PyObject
* obj1
= 0 ;
31933 PyObject
* obj2
= 0 ;
31934 char *kwnames
[] = {
31935 (char *) "self",(char *) "id",(char *) "label", NULL
31938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31939 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31941 arg2
= (int)SWIG_As_int(obj1
);
31942 if (PyErr_Occurred()) SWIG_fail
;
31944 arg3
= wxString_in_helper(obj2
);
31945 if (arg3
== NULL
) SWIG_fail
;
31949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31950 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
31952 wxPyEndAllowThreads(__tstate
);
31953 if (PyErr_Occurred()) SWIG_fail
;
31955 Py_INCREF(Py_None
); resultobj
= Py_None
;
31970 static PyObject
*_wrap_MenuBar_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31971 PyObject
*resultobj
;
31972 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31975 PyObject
* obj0
= 0 ;
31976 PyObject
* obj1
= 0 ;
31977 char *kwnames
[] = {
31978 (char *) "self",(char *) "id", NULL
31981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
31982 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31983 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31984 arg2
= (int)SWIG_As_int(obj1
);
31985 if (PyErr_Occurred()) SWIG_fail
;
31987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31988 result
= ((wxMenuBar
const *)arg1
)->GetLabel(arg2
);
31990 wxPyEndAllowThreads(__tstate
);
31991 if (PyErr_Occurred()) SWIG_fail
;
31995 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31997 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32006 static PyObject
*_wrap_MenuBar_SetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32007 PyObject
*resultobj
;
32008 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32010 wxString
*arg3
= 0 ;
32011 bool temp3
= False
;
32012 PyObject
* obj0
= 0 ;
32013 PyObject
* obj1
= 0 ;
32014 PyObject
* obj2
= 0 ;
32015 char *kwnames
[] = {
32016 (char *) "self",(char *) "id",(char *) "helpString", NULL
32019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32020 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32022 arg2
= (int)SWIG_As_int(obj1
);
32023 if (PyErr_Occurred()) SWIG_fail
;
32025 arg3
= wxString_in_helper(obj2
);
32026 if (arg3
== NULL
) SWIG_fail
;
32030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32031 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
32033 wxPyEndAllowThreads(__tstate
);
32034 if (PyErr_Occurred()) SWIG_fail
;
32036 Py_INCREF(Py_None
); resultobj
= Py_None
;
32051 static PyObject
*_wrap_MenuBar_GetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32052 PyObject
*resultobj
;
32053 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32056 PyObject
* obj0
= 0 ;
32057 PyObject
* obj1
= 0 ;
32058 char *kwnames
[] = {
32059 (char *) "self",(char *) "id", NULL
32062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetHelpString",kwnames
,&obj0
,&obj1
)) goto fail
;
32063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32065 arg2
= (int)SWIG_As_int(obj1
);
32066 if (PyErr_Occurred()) SWIG_fail
;
32068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32069 result
= ((wxMenuBar
const *)arg1
)->GetHelpString(arg2
);
32071 wxPyEndAllowThreads(__tstate
);
32072 if (PyErr_Occurred()) SWIG_fail
;
32076 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32078 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32087 static PyObject
*_wrap_MenuBar_GetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32088 PyObject
*resultobj
;
32089 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32091 PyObject
* obj0
= 0 ;
32092 char *kwnames
[] = {
32093 (char *) "self", NULL
32096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetFrame",kwnames
,&obj0
)) goto fail
;
32097 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32098 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32101 result
= (wxFrame
*)((wxMenuBar
const *)arg1
)->GetFrame();
32103 wxPyEndAllowThreads(__tstate
);
32104 if (PyErr_Occurred()) SWIG_fail
;
32107 resultobj
= wxPyMake_wxObject(result
, 0);
32115 static PyObject
*_wrap_MenuBar_IsAttached(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32116 PyObject
*resultobj
;
32117 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32119 PyObject
* obj0
= 0 ;
32120 char *kwnames
[] = {
32121 (char *) "self", NULL
32124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_IsAttached",kwnames
,&obj0
)) goto fail
;
32125 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32126 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32129 result
= (bool)((wxMenuBar
const *)arg1
)->IsAttached();
32131 wxPyEndAllowThreads(__tstate
);
32132 if (PyErr_Occurred()) SWIG_fail
;
32135 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32143 static PyObject
*_wrap_MenuBar_Attach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32144 PyObject
*resultobj
;
32145 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32146 wxFrame
*arg2
= (wxFrame
*) 0 ;
32147 PyObject
* obj0
= 0 ;
32148 PyObject
* obj1
= 0 ;
32149 char *kwnames
[] = {
32150 (char *) "self",(char *) "frame", NULL
32153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
32154 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32156 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
32157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32160 (arg1
)->Attach(arg2
);
32162 wxPyEndAllowThreads(__tstate
);
32163 if (PyErr_Occurred()) SWIG_fail
;
32165 Py_INCREF(Py_None
); resultobj
= Py_None
;
32172 static PyObject
*_wrap_MenuBar_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32173 PyObject
*resultobj
;
32174 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32175 PyObject
* obj0
= 0 ;
32176 char *kwnames
[] = {
32177 (char *) "self", NULL
32180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_Detach",kwnames
,&obj0
)) goto fail
;
32181 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32182 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32187 wxPyEndAllowThreads(__tstate
);
32188 if (PyErr_Occurred()) SWIG_fail
;
32190 Py_INCREF(Py_None
); resultobj
= Py_None
;
32197 static PyObject
* MenuBar_swigregister(PyObject
*, PyObject
*args
) {
32199 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32200 SWIG_TypeClientData(SWIGTYPE_p_wxMenuBar
, obj
);
32202 return Py_BuildValue((char *)"");
32204 static PyObject
*_wrap_new_MenuItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32205 PyObject
*resultobj
;
32206 wxMenu
*arg1
= (wxMenu
*) NULL
;
32207 int arg2
= (int) wxID_ANY
;
32208 wxString
const &arg3_defvalue
= wxPyEmptyString
;
32209 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
32210 wxString
const &arg4_defvalue
= wxPyEmptyString
;
32211 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
32212 int arg5
= (int) wxITEM_NORMAL
;
32213 wxMenu
*arg6
= (wxMenu
*) NULL
;
32214 wxMenuItem
*result
;
32215 bool temp3
= False
;
32216 bool temp4
= False
;
32217 PyObject
* obj0
= 0 ;
32218 PyObject
* obj1
= 0 ;
32219 PyObject
* obj2
= 0 ;
32220 PyObject
* obj3
= 0 ;
32221 PyObject
* obj4
= 0 ;
32222 PyObject
* obj5
= 0 ;
32223 char *kwnames
[] = {
32224 (char *) "parentMenu",(char *) "id",(char *) "text",(char *) "help",(char *) "kind",(char *) "subMenu", NULL
32227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOO:new_MenuItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
32229 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
32230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32233 arg2
= (int)SWIG_As_int(obj1
);
32234 if (PyErr_Occurred()) SWIG_fail
;
32238 arg3
= wxString_in_helper(obj2
);
32239 if (arg3
== NULL
) SWIG_fail
;
32245 arg4
= wxString_in_helper(obj3
);
32246 if (arg4
== NULL
) SWIG_fail
;
32251 arg5
= (int)SWIG_As_int(obj4
);
32252 if (PyErr_Occurred()) SWIG_fail
;
32255 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxMenu
,
32256 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32260 result
= (wxMenuItem
*)new wxMenuItem(arg1
,arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
,arg6
);
32262 wxPyEndAllowThreads(__tstate
);
32263 if (PyErr_Occurred()) SWIG_fail
;
32266 resultobj
= wxPyMake_wxObject(result
, 1);
32290 static PyObject
*_wrap_MenuItem_GetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32291 PyObject
*resultobj
;
32292 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32294 PyObject
* obj0
= 0 ;
32295 char *kwnames
[] = {
32296 (char *) "self", NULL
32299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetMenu",kwnames
,&obj0
)) goto fail
;
32300 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32301 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32304 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetMenu();
32306 wxPyEndAllowThreads(__tstate
);
32307 if (PyErr_Occurred()) SWIG_fail
;
32310 resultobj
= wxPyMake_wxObject(result
, 0);
32318 static PyObject
*_wrap_MenuItem_SetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32319 PyObject
*resultobj
;
32320 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32321 wxMenu
*arg2
= (wxMenu
*) 0 ;
32322 PyObject
* obj0
= 0 ;
32323 PyObject
* obj1
= 0 ;
32324 char *kwnames
[] = {
32325 (char *) "self",(char *) "menu", NULL
32328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
32329 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32330 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32331 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
32332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32335 (arg1
)->SetMenu(arg2
);
32337 wxPyEndAllowThreads(__tstate
);
32338 if (PyErr_Occurred()) SWIG_fail
;
32340 Py_INCREF(Py_None
); resultobj
= Py_None
;
32347 static PyObject
*_wrap_MenuItem_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32348 PyObject
*resultobj
;
32349 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32351 PyObject
* obj0
= 0 ;
32352 PyObject
* obj1
= 0 ;
32353 char *kwnames
[] = {
32354 (char *) "self",(char *) "id", NULL
32357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
32358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32360 arg2
= (int)SWIG_As_int(obj1
);
32361 if (PyErr_Occurred()) SWIG_fail
;
32363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32364 (arg1
)->SetId(arg2
);
32366 wxPyEndAllowThreads(__tstate
);
32367 if (PyErr_Occurred()) SWIG_fail
;
32369 Py_INCREF(Py_None
); resultobj
= Py_None
;
32376 static PyObject
*_wrap_MenuItem_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32377 PyObject
*resultobj
;
32378 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32380 PyObject
* obj0
= 0 ;
32381 char *kwnames
[] = {
32382 (char *) "self", NULL
32385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetId",kwnames
,&obj0
)) goto fail
;
32386 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32387 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32390 result
= (int)((wxMenuItem
const *)arg1
)->GetId();
32392 wxPyEndAllowThreads(__tstate
);
32393 if (PyErr_Occurred()) SWIG_fail
;
32395 resultobj
= SWIG_From_int((int)result
);
32402 static PyObject
*_wrap_MenuItem_IsSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32403 PyObject
*resultobj
;
32404 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32406 PyObject
* obj0
= 0 ;
32407 char *kwnames
[] = {
32408 (char *) "self", NULL
32411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSeparator",kwnames
,&obj0
)) goto fail
;
32412 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32413 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32416 result
= (bool)((wxMenuItem
const *)arg1
)->IsSeparator();
32418 wxPyEndAllowThreads(__tstate
);
32419 if (PyErr_Occurred()) SWIG_fail
;
32422 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32430 static PyObject
*_wrap_MenuItem_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32431 PyObject
*resultobj
;
32432 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32433 wxString
*arg2
= 0 ;
32434 bool temp2
= False
;
32435 PyObject
* obj0
= 0 ;
32436 PyObject
* obj1
= 0 ;
32437 char *kwnames
[] = {
32438 (char *) "self",(char *) "str", NULL
32441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
32442 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32443 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32445 arg2
= wxString_in_helper(obj1
);
32446 if (arg2
== NULL
) SWIG_fail
;
32450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32451 (arg1
)->SetText((wxString
const &)*arg2
);
32453 wxPyEndAllowThreads(__tstate
);
32454 if (PyErr_Occurred()) SWIG_fail
;
32456 Py_INCREF(Py_None
); resultobj
= Py_None
;
32471 static PyObject
*_wrap_MenuItem_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32472 PyObject
*resultobj
;
32473 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32475 PyObject
* obj0
= 0 ;
32476 char *kwnames
[] = {
32477 (char *) "self", NULL
32480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabel",kwnames
,&obj0
)) goto fail
;
32481 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32482 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32485 result
= ((wxMenuItem
const *)arg1
)->GetLabel();
32487 wxPyEndAllowThreads(__tstate
);
32488 if (PyErr_Occurred()) SWIG_fail
;
32492 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32494 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32503 static PyObject
*_wrap_MenuItem_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32504 PyObject
*resultobj
;
32505 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32507 PyObject
* obj0
= 0 ;
32508 char *kwnames
[] = {
32509 (char *) "self", NULL
32512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetText",kwnames
,&obj0
)) goto fail
;
32513 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32514 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32518 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetText();
32519 result
= (wxString
*) &_result_ref
;
32522 wxPyEndAllowThreads(__tstate
);
32523 if (PyErr_Occurred()) SWIG_fail
;
32527 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
32529 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
32538 static PyObject
*_wrap_MenuItem_GetLabelFromText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32539 PyObject
*resultobj
;
32540 wxString
*arg1
= 0 ;
32542 bool temp1
= False
;
32543 PyObject
* obj0
= 0 ;
32544 char *kwnames
[] = {
32545 (char *) "text", NULL
32548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabelFromText",kwnames
,&obj0
)) goto fail
;
32550 arg1
= wxString_in_helper(obj0
);
32551 if (arg1
== NULL
) SWIG_fail
;
32555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32556 result
= wxMenuItem::GetLabelFromText((wxString
const &)*arg1
);
32558 wxPyEndAllowThreads(__tstate
);
32559 if (PyErr_Occurred()) SWIG_fail
;
32563 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32565 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32582 static PyObject
*_wrap_MenuItem_GetKind(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32583 PyObject
*resultobj
;
32584 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32586 PyObject
* obj0
= 0 ;
32587 char *kwnames
[] = {
32588 (char *) "self", NULL
32591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetKind",kwnames
,&obj0
)) goto fail
;
32592 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32596 result
= (int)((wxMenuItem
const *)arg1
)->GetKind();
32598 wxPyEndAllowThreads(__tstate
);
32599 if (PyErr_Occurred()) SWIG_fail
;
32601 resultobj
= SWIG_From_int((int)result
);
32608 static PyObject
*_wrap_MenuItem_SetKind(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32609 PyObject
*resultobj
;
32610 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32612 PyObject
* obj0
= 0 ;
32613 PyObject
* obj1
= 0 ;
32614 char *kwnames
[] = {
32615 (char *) "self",(char *) "kind", NULL
32618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetKind",kwnames
,&obj0
,&obj1
)) goto fail
;
32619 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32620 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32621 arg2
= (int)SWIG_As_int(obj1
);
32622 if (PyErr_Occurred()) SWIG_fail
;
32624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32625 (arg1
)->SetKind((wxItemKind
)arg2
);
32627 wxPyEndAllowThreads(__tstate
);
32628 if (PyErr_Occurred()) SWIG_fail
;
32630 Py_INCREF(Py_None
); resultobj
= Py_None
;
32637 static PyObject
*_wrap_MenuItem_SetCheckable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32638 PyObject
*resultobj
;
32639 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32641 PyObject
* obj0
= 0 ;
32642 PyObject
* obj1
= 0 ;
32643 char *kwnames
[] = {
32644 (char *) "self",(char *) "checkable", NULL
32647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetCheckable",kwnames
,&obj0
,&obj1
)) goto fail
;
32648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32650 arg2
= (bool)SWIG_As_bool(obj1
);
32651 if (PyErr_Occurred()) SWIG_fail
;
32653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32654 (arg1
)->SetCheckable(arg2
);
32656 wxPyEndAllowThreads(__tstate
);
32657 if (PyErr_Occurred()) SWIG_fail
;
32659 Py_INCREF(Py_None
); resultobj
= Py_None
;
32666 static PyObject
*_wrap_MenuItem_IsCheckable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32667 PyObject
*resultobj
;
32668 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32670 PyObject
* obj0
= 0 ;
32671 char *kwnames
[] = {
32672 (char *) "self", NULL
32675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsCheckable",kwnames
,&obj0
)) goto fail
;
32676 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32677 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32680 result
= (bool)((wxMenuItem
const *)arg1
)->IsCheckable();
32682 wxPyEndAllowThreads(__tstate
);
32683 if (PyErr_Occurred()) SWIG_fail
;
32686 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32694 static PyObject
*_wrap_MenuItem_IsSubMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32695 PyObject
*resultobj
;
32696 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32698 PyObject
* obj0
= 0 ;
32699 char *kwnames
[] = {
32700 (char *) "self", NULL
32703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSubMenu",kwnames
,&obj0
)) goto fail
;
32704 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32708 result
= (bool)((wxMenuItem
const *)arg1
)->IsSubMenu();
32710 wxPyEndAllowThreads(__tstate
);
32711 if (PyErr_Occurred()) SWIG_fail
;
32714 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32722 static PyObject
*_wrap_MenuItem_SetSubMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32723 PyObject
*resultobj
;
32724 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32725 wxMenu
*arg2
= (wxMenu
*) 0 ;
32726 PyObject
* obj0
= 0 ;
32727 PyObject
* obj1
= 0 ;
32728 char *kwnames
[] = {
32729 (char *) "self",(char *) "menu", NULL
32732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetSubMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
32733 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32735 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
32736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32739 (arg1
)->SetSubMenu(arg2
);
32741 wxPyEndAllowThreads(__tstate
);
32742 if (PyErr_Occurred()) SWIG_fail
;
32744 Py_INCREF(Py_None
); resultobj
= Py_None
;
32751 static PyObject
*_wrap_MenuItem_GetSubMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32752 PyObject
*resultobj
;
32753 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32755 PyObject
* obj0
= 0 ;
32756 char *kwnames
[] = {
32757 (char *) "self", NULL
32760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetSubMenu",kwnames
,&obj0
)) goto fail
;
32761 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32765 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetSubMenu();
32767 wxPyEndAllowThreads(__tstate
);
32768 if (PyErr_Occurred()) SWIG_fail
;
32771 resultobj
= wxPyMake_wxObject(result
, 0);
32779 static PyObject
*_wrap_MenuItem_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32780 PyObject
*resultobj
;
32781 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32782 bool arg2
= (bool) True
;
32783 PyObject
* obj0
= 0 ;
32784 PyObject
* obj1
= 0 ;
32785 char *kwnames
[] = {
32786 (char *) "self",(char *) "enable", NULL
32789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
32790 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32791 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32793 arg2
= (bool)SWIG_As_bool(obj1
);
32794 if (PyErr_Occurred()) SWIG_fail
;
32797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32798 (arg1
)->Enable(arg2
);
32800 wxPyEndAllowThreads(__tstate
);
32801 if (PyErr_Occurred()) SWIG_fail
;
32803 Py_INCREF(Py_None
); resultobj
= Py_None
;
32810 static PyObject
*_wrap_MenuItem_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32811 PyObject
*resultobj
;
32812 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32814 PyObject
* obj0
= 0 ;
32815 char *kwnames
[] = {
32816 (char *) "self", NULL
32819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsEnabled",kwnames
,&obj0
)) goto fail
;
32820 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32821 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32824 result
= (bool)((wxMenuItem
const *)arg1
)->IsEnabled();
32826 wxPyEndAllowThreads(__tstate
);
32827 if (PyErr_Occurred()) SWIG_fail
;
32830 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32838 static PyObject
*_wrap_MenuItem_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32839 PyObject
*resultobj
;
32840 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32841 bool arg2
= (bool) True
;
32842 PyObject
* obj0
= 0 ;
32843 PyObject
* obj1
= 0 ;
32844 char *kwnames
[] = {
32845 (char *) "self",(char *) "check", NULL
32848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
32849 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32852 arg2
= (bool)SWIG_As_bool(obj1
);
32853 if (PyErr_Occurred()) SWIG_fail
;
32856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32857 (arg1
)->Check(arg2
);
32859 wxPyEndAllowThreads(__tstate
);
32860 if (PyErr_Occurred()) SWIG_fail
;
32862 Py_INCREF(Py_None
); resultobj
= Py_None
;
32869 static PyObject
*_wrap_MenuItem_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32870 PyObject
*resultobj
;
32871 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32873 PyObject
* obj0
= 0 ;
32874 char *kwnames
[] = {
32875 (char *) "self", NULL
32878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsChecked",kwnames
,&obj0
)) goto fail
;
32879 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32880 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32883 result
= (bool)((wxMenuItem
const *)arg1
)->IsChecked();
32885 wxPyEndAllowThreads(__tstate
);
32886 if (PyErr_Occurred()) SWIG_fail
;
32889 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32897 static PyObject
*_wrap_MenuItem_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32898 PyObject
*resultobj
;
32899 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32900 PyObject
* obj0
= 0 ;
32901 char *kwnames
[] = {
32902 (char *) "self", NULL
32905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_Toggle",kwnames
,&obj0
)) goto fail
;
32906 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32907 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32912 wxPyEndAllowThreads(__tstate
);
32913 if (PyErr_Occurred()) SWIG_fail
;
32915 Py_INCREF(Py_None
); resultobj
= Py_None
;
32922 static PyObject
*_wrap_MenuItem_SetHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32923 PyObject
*resultobj
;
32924 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32925 wxString
*arg2
= 0 ;
32926 bool temp2
= False
;
32927 PyObject
* obj0
= 0 ;
32928 PyObject
* obj1
= 0 ;
32929 char *kwnames
[] = {
32930 (char *) "self",(char *) "str", NULL
32933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
32934 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32935 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32937 arg2
= wxString_in_helper(obj1
);
32938 if (arg2
== NULL
) SWIG_fail
;
32942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32943 (arg1
)->SetHelp((wxString
const &)*arg2
);
32945 wxPyEndAllowThreads(__tstate
);
32946 if (PyErr_Occurred()) SWIG_fail
;
32948 Py_INCREF(Py_None
); resultobj
= Py_None
;
32963 static PyObject
*_wrap_MenuItem_GetHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32964 PyObject
*resultobj
;
32965 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32967 PyObject
* obj0
= 0 ;
32968 char *kwnames
[] = {
32969 (char *) "self", NULL
32972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetHelp",kwnames
,&obj0
)) goto fail
;
32973 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32974 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32978 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetHelp();
32979 result
= (wxString
*) &_result_ref
;
32982 wxPyEndAllowThreads(__tstate
);
32983 if (PyErr_Occurred()) SWIG_fail
;
32987 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
32989 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
32998 static PyObject
*_wrap_MenuItem_GetAccel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32999 PyObject
*resultobj
;
33000 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33001 wxAcceleratorEntry
*result
;
33002 PyObject
* obj0
= 0 ;
33003 char *kwnames
[] = {
33004 (char *) "self", NULL
33007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetAccel",kwnames
,&obj0
)) goto fail
;
33008 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33012 result
= (wxAcceleratorEntry
*)((wxMenuItem
const *)arg1
)->GetAccel();
33014 wxPyEndAllowThreads(__tstate
);
33015 if (PyErr_Occurred()) SWIG_fail
;
33017 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0);
33024 static PyObject
*_wrap_MenuItem_SetAccel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33025 PyObject
*resultobj
;
33026 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33027 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
33028 PyObject
* obj0
= 0 ;
33029 PyObject
* obj1
= 0 ;
33030 char *kwnames
[] = {
33031 (char *) "self",(char *) "accel", NULL
33034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetAccel",kwnames
,&obj0
,&obj1
)) goto fail
;
33035 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33037 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxAcceleratorEntry
,
33038 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33041 (arg1
)->SetAccel(arg2
);
33043 wxPyEndAllowThreads(__tstate
);
33044 if (PyErr_Occurred()) SWIG_fail
;
33046 Py_INCREF(Py_None
); resultobj
= Py_None
;
33053 static PyObject
*_wrap_MenuItem_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33054 PyObject
*resultobj
;
33055 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33057 PyObject
* obj0
= 0 ;
33058 PyObject
* obj1
= 0 ;
33059 char *kwnames
[] = {
33060 (char *) "self",(char *) "font", NULL
33063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
33064 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33066 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
33067 SWIG_POINTER_EXCEPTION
| 0)) == -1)
33069 if (arg2
== NULL
) {
33070 PyErr_SetString(PyExc_TypeError
,"null reference");
33074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33075 (arg1
)->SetFont((wxFont
const &)*arg2
);
33077 wxPyEndAllowThreads(__tstate
);
33078 if (PyErr_Occurred()) SWIG_fail
;
33080 Py_INCREF(Py_None
); resultobj
= Py_None
;
33087 static PyObject
*_wrap_MenuItem_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33088 PyObject
*resultobj
;
33089 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33091 PyObject
* obj0
= 0 ;
33092 char *kwnames
[] = {
33093 (char *) "self", NULL
33096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetFont",kwnames
,&obj0
)) goto fail
;
33097 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33098 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33101 result
= (arg1
)->GetFont();
33103 wxPyEndAllowThreads(__tstate
);
33104 if (PyErr_Occurred()) SWIG_fail
;
33107 wxFont
* resultptr
;
33108 resultptr
= new wxFont((wxFont
&) result
);
33109 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
33117 static PyObject
*_wrap_MenuItem_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33118 PyObject
*resultobj
;
33119 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33120 wxColour
*arg2
= 0 ;
33122 PyObject
* obj0
= 0 ;
33123 PyObject
* obj1
= 0 ;
33124 char *kwnames
[] = {
33125 (char *) "self",(char *) "colText", NULL
33128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
33129 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33133 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33137 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
33139 wxPyEndAllowThreads(__tstate
);
33140 if (PyErr_Occurred()) SWIG_fail
;
33142 Py_INCREF(Py_None
); resultobj
= Py_None
;
33149 static PyObject
*_wrap_MenuItem_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33150 PyObject
*resultobj
;
33151 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33153 PyObject
* obj0
= 0 ;
33154 char *kwnames
[] = {
33155 (char *) "self", NULL
33158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetTextColour",kwnames
,&obj0
)) goto fail
;
33159 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33160 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33163 result
= (arg1
)->GetTextColour();
33165 wxPyEndAllowThreads(__tstate
);
33166 if (PyErr_Occurred()) SWIG_fail
;
33169 wxColour
* resultptr
;
33170 resultptr
= new wxColour((wxColour
&) result
);
33171 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
33179 static PyObject
*_wrap_MenuItem_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33180 PyObject
*resultobj
;
33181 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33182 wxColour
*arg2
= 0 ;
33184 PyObject
* obj0
= 0 ;
33185 PyObject
* obj1
= 0 ;
33186 char *kwnames
[] = {
33187 (char *) "self",(char *) "colBack", NULL
33190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
33191 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33192 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33195 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33199 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
33201 wxPyEndAllowThreads(__tstate
);
33202 if (PyErr_Occurred()) SWIG_fail
;
33204 Py_INCREF(Py_None
); resultobj
= Py_None
;
33211 static PyObject
*_wrap_MenuItem_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33212 PyObject
*resultobj
;
33213 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33215 PyObject
* obj0
= 0 ;
33216 char *kwnames
[] = {
33217 (char *) "self", NULL
33220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
33221 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33222 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33225 result
= (arg1
)->GetBackgroundColour();
33227 wxPyEndAllowThreads(__tstate
);
33228 if (PyErr_Occurred()) SWIG_fail
;
33231 wxColour
* resultptr
;
33232 resultptr
= new wxColour((wxColour
&) result
);
33233 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
33241 static PyObject
*_wrap_MenuItem_SetBitmaps(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33242 PyObject
*resultobj
;
33243 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33244 wxBitmap
*arg2
= 0 ;
33245 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
33246 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
33247 PyObject
* obj0
= 0 ;
33248 PyObject
* obj1
= 0 ;
33249 PyObject
* obj2
= 0 ;
33250 char *kwnames
[] = {
33251 (char *) "self",(char *) "bmpChecked",(char *) "bmpUnchecked", NULL
33254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MenuItem_SetBitmaps",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33255 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33256 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33257 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
33258 SWIG_POINTER_EXCEPTION
| 0)) == -1)
33260 if (arg2
== NULL
) {
33261 PyErr_SetString(PyExc_TypeError
,"null reference");
33265 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
33266 SWIG_POINTER_EXCEPTION
| 0)) == -1)
33268 if (arg3
== NULL
) {
33269 PyErr_SetString(PyExc_TypeError
,"null reference");
33274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33275 (arg1
)->SetBitmaps((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
33277 wxPyEndAllowThreads(__tstate
);
33278 if (PyErr_Occurred()) SWIG_fail
;
33280 Py_INCREF(Py_None
); resultobj
= Py_None
;
33287 static PyObject
*_wrap_MenuItem_SetDisabledBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33288 PyObject
*resultobj
;
33289 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33290 wxBitmap
*arg2
= 0 ;
33291 PyObject
* obj0
= 0 ;
33292 PyObject
* obj1
= 0 ;
33293 char *kwnames
[] = {
33294 (char *) "self",(char *) "bmpDisabled", NULL
33297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
33298 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33299 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33300 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
33301 SWIG_POINTER_EXCEPTION
| 0)) == -1)
33303 if (arg2
== NULL
) {
33304 PyErr_SetString(PyExc_TypeError
,"null reference");
33308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33309 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
33311 wxPyEndAllowThreads(__tstate
);
33312 if (PyErr_Occurred()) SWIG_fail
;
33314 Py_INCREF(Py_None
); resultobj
= Py_None
;
33321 static PyObject
*_wrap_MenuItem_GetDisabledBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33322 PyObject
*resultobj
;
33323 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33325 PyObject
* obj0
= 0 ;
33326 char *kwnames
[] = {
33327 (char *) "self", NULL
33330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetDisabledBitmap",kwnames
,&obj0
)) goto fail
;
33331 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33336 wxBitmap
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetDisabledBitmap();
33337 result
= (wxBitmap
*) &_result_ref
;
33340 wxPyEndAllowThreads(__tstate
);
33341 if (PyErr_Occurred()) SWIG_fail
;
33344 wxBitmap
* resultptr
= new wxBitmap(*result
);
33345 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
33353 static PyObject
*_wrap_MenuItem_SetMarginWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33354 PyObject
*resultobj
;
33355 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33357 PyObject
* obj0
= 0 ;
33358 PyObject
* obj1
= 0 ;
33359 char *kwnames
[] = {
33360 (char *) "self",(char *) "nWidth", NULL
33363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetMarginWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
33364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33366 arg2
= (int)SWIG_As_int(obj1
);
33367 if (PyErr_Occurred()) SWIG_fail
;
33369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33370 (arg1
)->SetMarginWidth(arg2
);
33372 wxPyEndAllowThreads(__tstate
);
33373 if (PyErr_Occurred()) SWIG_fail
;
33375 Py_INCREF(Py_None
); resultobj
= Py_None
;
33382 static PyObject
*_wrap_MenuItem_GetMarginWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33383 PyObject
*resultobj
;
33384 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33386 PyObject
* obj0
= 0 ;
33387 char *kwnames
[] = {
33388 (char *) "self", NULL
33391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetMarginWidth",kwnames
,&obj0
)) goto fail
;
33392 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33393 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33396 result
= (int)(arg1
)->GetMarginWidth();
33398 wxPyEndAllowThreads(__tstate
);
33399 if (PyErr_Occurred()) SWIG_fail
;
33401 resultobj
= SWIG_From_int((int)result
);
33408 static PyObject
*_wrap_MenuItem_GetDefaultMarginWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33409 PyObject
*resultobj
;
33411 char *kwnames
[] = {
33415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MenuItem_GetDefaultMarginWidth",kwnames
)) goto fail
;
33417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33418 result
= (int)wxMenuItem::GetDefaultMarginWidth();
33420 wxPyEndAllowThreads(__tstate
);
33421 if (PyErr_Occurred()) SWIG_fail
;
33423 resultobj
= SWIG_From_int((int)result
);
33430 static PyObject
*_wrap_MenuItem_IsOwnerDrawn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33431 PyObject
*resultobj
;
33432 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33434 PyObject
* obj0
= 0 ;
33435 char *kwnames
[] = {
33436 (char *) "self", NULL
33439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsOwnerDrawn",kwnames
,&obj0
)) goto fail
;
33440 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33441 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33444 result
= (bool)(arg1
)->IsOwnerDrawn();
33446 wxPyEndAllowThreads(__tstate
);
33447 if (PyErr_Occurred()) SWIG_fail
;
33450 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33458 static PyObject
*_wrap_MenuItem_SetOwnerDrawn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33459 PyObject
*resultobj
;
33460 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33461 bool arg2
= (bool) True
;
33462 PyObject
* obj0
= 0 ;
33463 PyObject
* obj1
= 0 ;
33464 char *kwnames
[] = {
33465 (char *) "self",(char *) "ownerDrawn", NULL
33468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_SetOwnerDrawn",kwnames
,&obj0
,&obj1
)) goto fail
;
33469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33472 arg2
= (bool)SWIG_As_bool(obj1
);
33473 if (PyErr_Occurred()) SWIG_fail
;
33476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33477 (arg1
)->SetOwnerDrawn(arg2
);
33479 wxPyEndAllowThreads(__tstate
);
33480 if (PyErr_Occurred()) SWIG_fail
;
33482 Py_INCREF(Py_None
); resultobj
= Py_None
;
33489 static PyObject
*_wrap_MenuItem_ResetOwnerDrawn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33490 PyObject
*resultobj
;
33491 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33492 PyObject
* obj0
= 0 ;
33493 char *kwnames
[] = {
33494 (char *) "self", NULL
33497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_ResetOwnerDrawn",kwnames
,&obj0
)) goto fail
;
33498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33502 (arg1
)->ResetOwnerDrawn();
33504 wxPyEndAllowThreads(__tstate
);
33505 if (PyErr_Occurred()) SWIG_fail
;
33507 Py_INCREF(Py_None
); resultobj
= Py_None
;
33514 static PyObject
*_wrap_MenuItem_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33515 PyObject
*resultobj
;
33516 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33517 wxBitmap
*arg2
= 0 ;
33518 PyObject
* obj0
= 0 ;
33519 PyObject
* obj1
= 0 ;
33520 char *kwnames
[] = {
33521 (char *) "self",(char *) "bitmap", NULL
33524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
33525 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33526 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33527 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
33528 SWIG_POINTER_EXCEPTION
| 0)) == -1)
33530 if (arg2
== NULL
) {
33531 PyErr_SetString(PyExc_TypeError
,"null reference");
33535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33536 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
33538 wxPyEndAllowThreads(__tstate
);
33539 if (PyErr_Occurred()) SWIG_fail
;
33541 Py_INCREF(Py_None
); resultobj
= Py_None
;
33548 static PyObject
*_wrap_MenuItem_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33549 PyObject
*resultobj
;
33550 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33552 PyObject
* obj0
= 0 ;
33553 char *kwnames
[] = {
33554 (char *) "self", NULL
33557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetBitmap",kwnames
,&obj0
)) goto fail
;
33558 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33559 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33563 wxBitmap
const &_result_ref
= (arg1
)->GetBitmap();
33564 result
= (wxBitmap
*) &_result_ref
;
33567 wxPyEndAllowThreads(__tstate
);
33568 if (PyErr_Occurred()) SWIG_fail
;
33571 wxBitmap
* resultptr
= new wxBitmap(*result
);
33572 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
33580 static PyObject
* MenuItem_swigregister(PyObject
*, PyObject
*args
) {
33582 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33583 SWIG_TypeClientData(SWIGTYPE_p_wxMenuItem
, obj
);
33585 return Py_BuildValue((char *)"");
33587 static int _wrap_ControlNameStr_set(PyObject
*) {
33588 PyErr_SetString(PyExc_TypeError
,"Variable ControlNameStr is read-only.");
33593 static PyObject
*_wrap_ControlNameStr_get() {
33598 pyobj
= PyUnicode_FromWideChar((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
33600 pyobj
= PyString_FromStringAndSize((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
33607 static PyObject
*_wrap_new_Control(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33608 PyObject
*resultobj
;
33609 wxWindow
*arg1
= (wxWindow
*) 0 ;
33610 int arg2
= (int) -1 ;
33611 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
33612 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
33613 wxSize
const &arg4_defvalue
= wxDefaultSize
;
33614 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
33615 long arg5
= (long) 0 ;
33616 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
33617 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
33618 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
33619 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
33623 bool temp7
= False
;
33624 PyObject
* obj0
= 0 ;
33625 PyObject
* obj1
= 0 ;
33626 PyObject
* obj2
= 0 ;
33627 PyObject
* obj3
= 0 ;
33628 PyObject
* obj4
= 0 ;
33629 PyObject
* obj5
= 0 ;
33630 PyObject
* obj6
= 0 ;
33631 char *kwnames
[] = {
33632 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
33635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Control",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
33636 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
33637 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33639 arg2
= (int)SWIG_As_int(obj1
);
33640 if (PyErr_Occurred()) SWIG_fail
;
33645 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
33651 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
33655 arg5
= (long)SWIG_As_long(obj4
);
33656 if (PyErr_Occurred()) SWIG_fail
;
33659 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
33660 SWIG_POINTER_EXCEPTION
| 0)) == -1)
33662 if (arg6
== NULL
) {
33663 PyErr_SetString(PyExc_TypeError
,"null reference");
33669 arg7
= wxString_in_helper(obj6
);
33670 if (arg7
== NULL
) SWIG_fail
;
33675 if (!wxPyCheckForApp()) SWIG_fail
;
33676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33677 result
= (wxControl
*)new wxControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
33679 wxPyEndAllowThreads(__tstate
);
33680 if (PyErr_Occurred()) SWIG_fail
;
33682 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxControl
, 1);
33697 static PyObject
*_wrap_new_PreControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33698 PyObject
*resultobj
;
33700 char *kwnames
[] = {
33704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreControl",kwnames
)) goto fail
;
33706 if (!wxPyCheckForApp()) SWIG_fail
;
33707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33708 result
= (wxControl
*)new wxControl();
33710 wxPyEndAllowThreads(__tstate
);
33711 if (PyErr_Occurred()) SWIG_fail
;
33713 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxControl
, 1);
33720 static PyObject
*_wrap_Control_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33721 PyObject
*resultobj
;
33722 wxControl
*arg1
= (wxControl
*) 0 ;
33723 wxWindow
*arg2
= (wxWindow
*) 0 ;
33724 int arg3
= (int) -1 ;
33725 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
33726 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
33727 wxSize
const &arg5_defvalue
= wxDefaultSize
;
33728 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
33729 long arg6
= (long) 0 ;
33730 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
33731 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
33732 wxString
const &arg8_defvalue
= wxPyControlNameStr
;
33733 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
33737 bool temp8
= False
;
33738 PyObject
* obj0
= 0 ;
33739 PyObject
* obj1
= 0 ;
33740 PyObject
* obj2
= 0 ;
33741 PyObject
* obj3
= 0 ;
33742 PyObject
* obj4
= 0 ;
33743 PyObject
* obj5
= 0 ;
33744 PyObject
* obj6
= 0 ;
33745 PyObject
* obj7
= 0 ;
33746 char *kwnames
[] = {
33747 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
33750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Control_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
33751 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
33752 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33753 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
33754 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33756 arg3
= (int)SWIG_As_int(obj2
);
33757 if (PyErr_Occurred()) SWIG_fail
;
33762 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
33768 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
33772 arg6
= (long)SWIG_As_long(obj5
);
33773 if (PyErr_Occurred()) SWIG_fail
;
33776 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
33777 SWIG_POINTER_EXCEPTION
| 0)) == -1)
33779 if (arg7
== NULL
) {
33780 PyErr_SetString(PyExc_TypeError
,"null reference");
33786 arg8
= wxString_in_helper(obj7
);
33787 if (arg8
== NULL
) SWIG_fail
;
33792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33793 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
33795 wxPyEndAllowThreads(__tstate
);
33796 if (PyErr_Occurred()) SWIG_fail
;
33799 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33815 static PyObject
*_wrap_Control_Command(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33816 PyObject
*resultobj
;
33817 wxControl
*arg1
= (wxControl
*) 0 ;
33818 wxCommandEvent
*arg2
= 0 ;
33819 PyObject
* obj0
= 0 ;
33820 PyObject
* obj1
= 0 ;
33821 char *kwnames
[] = {
33822 (char *) "self",(char *) "event", NULL
33825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_Command",kwnames
,&obj0
,&obj1
)) goto fail
;
33826 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
33827 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33828 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCommandEvent
,
33829 SWIG_POINTER_EXCEPTION
| 0)) == -1)
33831 if (arg2
== NULL
) {
33832 PyErr_SetString(PyExc_TypeError
,"null reference");
33836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33837 (arg1
)->Command(*arg2
);
33839 wxPyEndAllowThreads(__tstate
);
33840 if (PyErr_Occurred()) SWIG_fail
;
33842 Py_INCREF(Py_None
); resultobj
= Py_None
;
33849 static PyObject
*_wrap_Control_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33850 PyObject
*resultobj
;
33851 wxControl
*arg1
= (wxControl
*) 0 ;
33853 PyObject
* obj0
= 0 ;
33854 char *kwnames
[] = {
33855 (char *) "self", NULL
33858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Control_GetLabel",kwnames
,&obj0
)) goto fail
;
33859 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
33860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33863 result
= (arg1
)->GetLabel();
33865 wxPyEndAllowThreads(__tstate
);
33866 if (PyErr_Occurred()) SWIG_fail
;
33870 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33872 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33881 static PyObject
*_wrap_Control_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33882 PyObject
*resultobj
;
33883 wxControl
*arg1
= (wxControl
*) 0 ;
33884 wxString
*arg2
= 0 ;
33885 bool temp2
= False
;
33886 PyObject
* obj0
= 0 ;
33887 PyObject
* obj1
= 0 ;
33888 char *kwnames
[] = {
33889 (char *) "self",(char *) "label", NULL
33892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
33893 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
33894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33896 arg2
= wxString_in_helper(obj1
);
33897 if (arg2
== NULL
) SWIG_fail
;
33901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33902 (arg1
)->SetLabel((wxString
const &)*arg2
);
33904 wxPyEndAllowThreads(__tstate
);
33905 if (PyErr_Occurred()) SWIG_fail
;
33907 Py_INCREF(Py_None
); resultobj
= Py_None
;
33922 static PyObject
*_wrap_Control_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33923 PyObject
*resultobj
;
33924 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
33925 wxVisualAttributes result
;
33926 PyObject
* obj0
= 0 ;
33927 char *kwnames
[] = {
33928 (char *) "variant", NULL
33931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Control_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
33933 arg1
= (int)SWIG_As_int(obj0
);
33934 if (PyErr_Occurred()) SWIG_fail
;
33937 if (!wxPyCheckForApp()) SWIG_fail
;
33938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33939 result
= wxControl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
33941 wxPyEndAllowThreads(__tstate
);
33942 if (PyErr_Occurred()) SWIG_fail
;
33945 wxVisualAttributes
* resultptr
;
33946 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
33947 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
33955 static PyObject
* Control_swigregister(PyObject
*, PyObject
*args
) {
33957 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33958 SWIG_TypeClientData(SWIGTYPE_p_wxControl
, obj
);
33960 return Py_BuildValue((char *)"");
33962 static PyObject
*_wrap_ItemContainer_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33963 PyObject
*resultobj
;
33964 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33965 wxString
*arg2
= 0 ;
33966 PyObject
*arg3
= (PyObject
*) NULL
;
33968 bool temp2
= False
;
33969 PyObject
* obj0
= 0 ;
33970 PyObject
* obj1
= 0 ;
33971 PyObject
* obj2
= 0 ;
33972 char *kwnames
[] = {
33973 (char *) "self",(char *) "item",(char *) "clientData", NULL
33976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ItemContainer_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33977 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33978 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33980 arg2
= wxString_in_helper(obj1
);
33981 if (arg2
== NULL
) SWIG_fail
;
33988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33989 result
= (int)wxItemContainer_Append(arg1
,(wxString
const &)*arg2
,arg3
);
33991 wxPyEndAllowThreads(__tstate
);
33992 if (PyErr_Occurred()) SWIG_fail
;
33994 resultobj
= SWIG_From_int((int)result
);
34009 static PyObject
*_wrap_ItemContainer_AppendItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34010 PyObject
*resultobj
;
34011 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34012 wxArrayString
*arg2
= 0 ;
34013 bool temp2
= False
;
34014 PyObject
* obj0
= 0 ;
34015 PyObject
* obj1
= 0 ;
34016 char *kwnames
[] = {
34017 (char *) "self",(char *) "strings", NULL
34020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_AppendItems",kwnames
,&obj0
,&obj1
)) goto fail
;
34021 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34022 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34024 if (! PySequence_Check(obj1
)) {
34025 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
34028 arg2
= new wxArrayString
;
34030 int i
, len
=PySequence_Length(obj1
);
34031 for (i
=0; i
<len
; i
++) {
34032 PyObject
* item
= PySequence_GetItem(obj1
, i
);
34034 PyObject
* str
= PyObject_Unicode(item
);
34036 PyObject
* str
= PyObject_Str(item
);
34038 if (PyErr_Occurred()) SWIG_fail
;
34039 arg2
->Add(Py2wxString(str
));
34045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34046 (arg1
)->Append((wxArrayString
const &)*arg2
);
34048 wxPyEndAllowThreads(__tstate
);
34049 if (PyErr_Occurred()) SWIG_fail
;
34051 Py_INCREF(Py_None
); resultobj
= Py_None
;
34053 if (temp2
) delete arg2
;
34058 if (temp2
) delete arg2
;
34064 static PyObject
*_wrap_ItemContainer_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34065 PyObject
*resultobj
;
34066 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34067 wxString
*arg2
= 0 ;
34069 PyObject
*arg4
= (PyObject
*) NULL
;
34071 bool temp2
= False
;
34072 PyObject
* obj0
= 0 ;
34073 PyObject
* obj1
= 0 ;
34074 PyObject
* obj2
= 0 ;
34075 PyObject
* obj3
= 0 ;
34076 char *kwnames
[] = {
34077 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
34080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ItemContainer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
34081 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34084 arg2
= wxString_in_helper(obj1
);
34085 if (arg2
== NULL
) SWIG_fail
;
34088 arg3
= (int)SWIG_As_int(obj2
);
34089 if (PyErr_Occurred()) SWIG_fail
;
34094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34095 result
= (int)wxItemContainer_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
34097 wxPyEndAllowThreads(__tstate
);
34098 if (PyErr_Occurred()) SWIG_fail
;
34100 resultobj
= SWIG_From_int((int)result
);
34115 static PyObject
*_wrap_ItemContainer_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34116 PyObject
*resultobj
;
34117 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34118 PyObject
* obj0
= 0 ;
34119 char *kwnames
[] = {
34120 (char *) "self", NULL
34123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_Clear",kwnames
,&obj0
)) goto fail
;
34124 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34130 wxPyEndAllowThreads(__tstate
);
34131 if (PyErr_Occurred()) SWIG_fail
;
34133 Py_INCREF(Py_None
); resultobj
= Py_None
;
34140 static PyObject
*_wrap_ItemContainer_Delete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34141 PyObject
*resultobj
;
34142 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34144 PyObject
* obj0
= 0 ;
34145 PyObject
* obj1
= 0 ;
34146 char *kwnames
[] = {
34147 (char *) "self",(char *) "n", NULL
34150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
34151 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34152 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34153 arg2
= (int)SWIG_As_int(obj1
);
34154 if (PyErr_Occurred()) SWIG_fail
;
34156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34157 (arg1
)->Delete(arg2
);
34159 wxPyEndAllowThreads(__tstate
);
34160 if (PyErr_Occurred()) SWIG_fail
;
34162 Py_INCREF(Py_None
); resultobj
= Py_None
;
34169 static PyObject
*_wrap_ItemContainer_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34170 PyObject
*resultobj
;
34171 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34173 PyObject
* obj0
= 0 ;
34174 char *kwnames
[] = {
34175 (char *) "self", NULL
34178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetCount",kwnames
,&obj0
)) goto fail
;
34179 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34180 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34183 result
= (int)((wxItemContainer
const *)arg1
)->GetCount();
34185 wxPyEndAllowThreads(__tstate
);
34186 if (PyErr_Occurred()) SWIG_fail
;
34188 resultobj
= SWIG_From_int((int)result
);
34195 static PyObject
*_wrap_ItemContainer_IsEmpty(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34196 PyObject
*resultobj
;
34197 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34199 PyObject
* obj0
= 0 ;
34200 char *kwnames
[] = {
34201 (char *) "self", NULL
34204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_IsEmpty",kwnames
,&obj0
)) goto fail
;
34205 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34209 result
= (bool)((wxItemContainer
const *)arg1
)->IsEmpty();
34211 wxPyEndAllowThreads(__tstate
);
34212 if (PyErr_Occurred()) SWIG_fail
;
34215 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34223 static PyObject
*_wrap_ItemContainer_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34224 PyObject
*resultobj
;
34225 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34228 PyObject
* obj0
= 0 ;
34229 PyObject
* obj1
= 0 ;
34230 char *kwnames
[] = {
34231 (char *) "self",(char *) "n", NULL
34234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetString",kwnames
,&obj0
,&obj1
)) goto fail
;
34235 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34237 arg2
= (int)SWIG_As_int(obj1
);
34238 if (PyErr_Occurred()) SWIG_fail
;
34240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34241 result
= ((wxItemContainer
const *)arg1
)->GetString(arg2
);
34243 wxPyEndAllowThreads(__tstate
);
34244 if (PyErr_Occurred()) SWIG_fail
;
34248 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
34250 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34259 static PyObject
*_wrap_ItemContainer_GetStrings(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34260 PyObject
*resultobj
;
34261 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34262 wxArrayString result
;
34263 PyObject
* obj0
= 0 ;
34264 char *kwnames
[] = {
34265 (char *) "self", NULL
34268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStrings",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
= ((wxItemContainer
const *)arg1
)->GetStrings();
34275 wxPyEndAllowThreads(__tstate
);
34276 if (PyErr_Occurred()) SWIG_fail
;
34279 resultobj
= wxArrayString2PyList_helper(result
);
34287 static PyObject
*_wrap_ItemContainer_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34288 PyObject
*resultobj
;
34289 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34291 wxString
*arg3
= 0 ;
34292 bool temp3
= False
;
34293 PyObject
* obj0
= 0 ;
34294 PyObject
* obj1
= 0 ;
34295 PyObject
* obj2
= 0 ;
34296 char *kwnames
[] = {
34297 (char *) "self",(char *) "n",(char *) "s", NULL
34300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34301 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34302 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34303 arg2
= (int)SWIG_As_int(obj1
);
34304 if (PyErr_Occurred()) SWIG_fail
;
34306 arg3
= wxString_in_helper(obj2
);
34307 if (arg3
== NULL
) SWIG_fail
;
34311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34312 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
34314 wxPyEndAllowThreads(__tstate
);
34315 if (PyErr_Occurred()) SWIG_fail
;
34317 Py_INCREF(Py_None
); resultobj
= Py_None
;
34332 static PyObject
*_wrap_ItemContainer_FindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34333 PyObject
*resultobj
;
34334 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34335 wxString
*arg2
= 0 ;
34337 bool temp2
= False
;
34338 PyObject
* obj0
= 0 ;
34339 PyObject
* obj1
= 0 ;
34340 char *kwnames
[] = {
34341 (char *) "self",(char *) "s", NULL
34344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
34345 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34346 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34348 arg2
= wxString_in_helper(obj1
);
34349 if (arg2
== NULL
) SWIG_fail
;
34353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34354 result
= (int)((wxItemContainer
const *)arg1
)->FindString((wxString
const &)*arg2
);
34356 wxPyEndAllowThreads(__tstate
);
34357 if (PyErr_Occurred()) SWIG_fail
;
34359 resultobj
= SWIG_From_int((int)result
);
34374 static PyObject
*_wrap_ItemContainer_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34375 PyObject
*resultobj
;
34376 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34378 PyObject
* obj0
= 0 ;
34379 PyObject
* obj1
= 0 ;
34380 char *kwnames
[] = {
34381 (char *) "self",(char *) "n", NULL
34384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Select",kwnames
,&obj0
,&obj1
)) goto fail
;
34385 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34386 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34387 arg2
= (int)SWIG_As_int(obj1
);
34388 if (PyErr_Occurred()) SWIG_fail
;
34390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34391 (arg1
)->Select(arg2
);
34393 wxPyEndAllowThreads(__tstate
);
34394 if (PyErr_Occurred()) SWIG_fail
;
34396 Py_INCREF(Py_None
); resultobj
= Py_None
;
34403 static PyObject
*_wrap_ItemContainer_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34404 PyObject
*resultobj
;
34405 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34407 PyObject
* obj0
= 0 ;
34408 char *kwnames
[] = {
34409 (char *) "self", NULL
34412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetSelection",kwnames
,&obj0
)) goto fail
;
34413 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34417 result
= (int)((wxItemContainer
const *)arg1
)->GetSelection();
34419 wxPyEndAllowThreads(__tstate
);
34420 if (PyErr_Occurred()) SWIG_fail
;
34422 resultobj
= SWIG_From_int((int)result
);
34429 static PyObject
*_wrap_ItemContainer_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34430 PyObject
*resultobj
;
34431 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34433 PyObject
* obj0
= 0 ;
34434 char *kwnames
[] = {
34435 (char *) "self", NULL
34438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStringSelection",kwnames
,&obj0
)) goto fail
;
34439 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34443 result
= ((wxItemContainer
const *)arg1
)->GetStringSelection();
34445 wxPyEndAllowThreads(__tstate
);
34446 if (PyErr_Occurred()) SWIG_fail
;
34450 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
34452 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34461 static PyObject
*_wrap_ItemContainer_GetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34462 PyObject
*resultobj
;
34463 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34466 PyObject
* obj0
= 0 ;
34467 PyObject
* obj1
= 0 ;
34468 char *kwnames
[] = {
34469 (char *) "self",(char *) "n", NULL
34472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
34473 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34475 arg2
= (int)SWIG_As_int(obj1
);
34476 if (PyErr_Occurred()) SWIG_fail
;
34478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34479 result
= (PyObject
*)wxItemContainer_GetClientData(arg1
,arg2
);
34481 wxPyEndAllowThreads(__tstate
);
34482 if (PyErr_Occurred()) SWIG_fail
;
34484 resultobj
= result
;
34491 static PyObject
*_wrap_ItemContainer_SetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34492 PyObject
*resultobj
;
34493 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34495 PyObject
*arg3
= (PyObject
*) 0 ;
34496 PyObject
* obj0
= 0 ;
34497 PyObject
* obj1
= 0 ;
34498 PyObject
* obj2
= 0 ;
34499 char *kwnames
[] = {
34500 (char *) "self",(char *) "n",(char *) "clientData", NULL
34503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34504 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34505 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34506 arg2
= (int)SWIG_As_int(obj1
);
34507 if (PyErr_Occurred()) SWIG_fail
;
34510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34511 wxItemContainer_SetClientData(arg1
,arg2
,arg3
);
34513 wxPyEndAllowThreads(__tstate
);
34514 if (PyErr_Occurred()) SWIG_fail
;
34516 Py_INCREF(Py_None
); resultobj
= Py_None
;
34523 static PyObject
* ItemContainer_swigregister(PyObject
*, PyObject
*args
) {
34525 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34526 SWIG_TypeClientData(SWIGTYPE_p_wxItemContainer
, obj
);
34528 return Py_BuildValue((char *)"");
34530 static PyObject
* ControlWithItems_swigregister(PyObject
*, PyObject
*args
) {
34532 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34533 SWIG_TypeClientData(SWIGTYPE_p_wxControlWithItems
, obj
);
34535 return Py_BuildValue((char *)"");
34537 static PyObject
*_wrap_new_SizerItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34538 PyObject
*resultobj
;
34539 wxSizerItem
*result
;
34540 char *kwnames
[] = {
34544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SizerItem",kwnames
)) goto fail
;
34546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34547 result
= (wxSizerItem
*)new wxSizerItem();
34549 wxPyEndAllowThreads(__tstate
);
34550 if (PyErr_Occurred()) SWIG_fail
;
34552 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
34559 static PyObject
*_wrap_new_SizerItemWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34560 PyObject
*resultobj
;
34561 wxWindow
*arg1
= (wxWindow
*) 0 ;
34565 PyObject
*arg5
= (PyObject
*) NULL
;
34566 wxSizerItem
*result
;
34567 PyObject
* obj0
= 0 ;
34568 PyObject
* obj1
= 0 ;
34569 PyObject
* obj2
= 0 ;
34570 PyObject
* obj3
= 0 ;
34571 PyObject
* obj4
= 0 ;
34572 char *kwnames
[] = {
34573 (char *) "window",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
34576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:new_SizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
34577 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
34578 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34579 arg2
= (int)SWIG_As_int(obj1
);
34580 if (PyErr_Occurred()) SWIG_fail
;
34581 arg3
= (int)SWIG_As_int(obj2
);
34582 if (PyErr_Occurred()) SWIG_fail
;
34583 arg4
= (int)SWIG_As_int(obj3
);
34584 if (PyErr_Occurred()) SWIG_fail
;
34589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34590 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
34592 wxPyEndAllowThreads(__tstate
);
34593 if (PyErr_Occurred()) SWIG_fail
;
34595 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
34602 static PyObject
*_wrap_new_SizerItemSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34603 PyObject
*resultobj
;
34609 PyObject
*arg6
= (PyObject
*) NULL
;
34610 wxSizerItem
*result
;
34611 PyObject
* obj0
= 0 ;
34612 PyObject
* obj1
= 0 ;
34613 PyObject
* obj2
= 0 ;
34614 PyObject
* obj3
= 0 ;
34615 PyObject
* obj4
= 0 ;
34616 PyObject
* obj5
= 0 ;
34617 char *kwnames
[] = {
34618 (char *) "width",(char *) "height",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
34621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_SizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
34622 arg1
= (int)SWIG_As_int(obj0
);
34623 if (PyErr_Occurred()) SWIG_fail
;
34624 arg2
= (int)SWIG_As_int(obj1
);
34625 if (PyErr_Occurred()) SWIG_fail
;
34626 arg3
= (int)SWIG_As_int(obj2
);
34627 if (PyErr_Occurred()) SWIG_fail
;
34628 arg4
= (int)SWIG_As_int(obj3
);
34629 if (PyErr_Occurred()) SWIG_fail
;
34630 arg5
= (int)SWIG_As_int(obj4
);
34631 if (PyErr_Occurred()) SWIG_fail
;
34636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34637 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
34639 wxPyEndAllowThreads(__tstate
);
34640 if (PyErr_Occurred()) SWIG_fail
;
34642 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
34649 static PyObject
*_wrap_new_SizerItemSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34650 PyObject
*resultobj
;
34651 wxSizer
*arg1
= (wxSizer
*) 0 ;
34655 PyObject
*arg5
= (PyObject
*) NULL
;
34656 wxSizerItem
*result
;
34657 PyObject
* obj0
= 0 ;
34658 PyObject
* obj1
= 0 ;
34659 PyObject
* obj2
= 0 ;
34660 PyObject
* obj3
= 0 ;
34661 PyObject
* obj4
= 0 ;
34662 char *kwnames
[] = {
34663 (char *) "sizer",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
34666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:new_SizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
34667 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34669 arg2
= (int)SWIG_As_int(obj1
);
34670 if (PyErr_Occurred()) SWIG_fail
;
34671 arg3
= (int)SWIG_As_int(obj2
);
34672 if (PyErr_Occurred()) SWIG_fail
;
34673 arg4
= (int)SWIG_As_int(obj3
);
34674 if (PyErr_Occurred()) SWIG_fail
;
34679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34680 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
34682 wxPyEndAllowThreads(__tstate
);
34683 if (PyErr_Occurred()) SWIG_fail
;
34685 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
34692 static PyObject
*_wrap_SizerItem_DeleteWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34693 PyObject
*resultobj
;
34694 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34695 PyObject
* obj0
= 0 ;
34696 char *kwnames
[] = {
34697 (char *) "self", NULL
34700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DeleteWindows",kwnames
,&obj0
)) goto fail
;
34701 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34702 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34705 (arg1
)->DeleteWindows();
34707 wxPyEndAllowThreads(__tstate
);
34708 if (PyErr_Occurred()) SWIG_fail
;
34710 Py_INCREF(Py_None
); resultobj
= Py_None
;
34717 static PyObject
*_wrap_SizerItem_DetachSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34718 PyObject
*resultobj
;
34719 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34720 PyObject
* obj0
= 0 ;
34721 char *kwnames
[] = {
34722 (char *) "self", NULL
34725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DetachSizer",kwnames
,&obj0
)) goto fail
;
34726 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34727 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34730 (arg1
)->DetachSizer();
34732 wxPyEndAllowThreads(__tstate
);
34733 if (PyErr_Occurred()) SWIG_fail
;
34735 Py_INCREF(Py_None
); resultobj
= Py_None
;
34742 static PyObject
*_wrap_SizerItem_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34743 PyObject
*resultobj
;
34744 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34746 PyObject
* obj0
= 0 ;
34747 char *kwnames
[] = {
34748 (char *) "self", NULL
34751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSize",kwnames
,&obj0
)) goto fail
;
34752 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34753 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34756 result
= (arg1
)->GetSize();
34758 wxPyEndAllowThreads(__tstate
);
34759 if (PyErr_Occurred()) SWIG_fail
;
34762 wxSize
* resultptr
;
34763 resultptr
= new wxSize((wxSize
&) result
);
34764 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
34772 static PyObject
*_wrap_SizerItem_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34773 PyObject
*resultobj
;
34774 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34776 PyObject
* obj0
= 0 ;
34777 char *kwnames
[] = {
34778 (char *) "self", NULL
34781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_CalcMin",kwnames
,&obj0
)) goto fail
;
34782 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34783 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34786 result
= (arg1
)->CalcMin();
34788 wxPyEndAllowThreads(__tstate
);
34789 if (PyErr_Occurred()) SWIG_fail
;
34792 wxSize
* resultptr
;
34793 resultptr
= new wxSize((wxSize
&) result
);
34794 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
34802 static PyObject
*_wrap_SizerItem_SetDimension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34803 PyObject
*resultobj
;
34804 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34809 PyObject
* obj0
= 0 ;
34810 PyObject
* obj1
= 0 ;
34811 PyObject
* obj2
= 0 ;
34812 char *kwnames
[] = {
34813 (char *) "self",(char *) "pos",(char *) "size", NULL
34816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34817 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34818 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34819 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxPoint
,
34820 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
34822 if ((SWIG_ConvertPtr(obj2
,(void **)(&argp3
),SWIGTYPE_p_wxSize
,
34823 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
34826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34827 (arg1
)->SetDimension(arg2
,arg3
);
34829 wxPyEndAllowThreads(__tstate
);
34830 if (PyErr_Occurred()) SWIG_fail
;
34832 Py_INCREF(Py_None
); resultobj
= Py_None
;
34839 static PyObject
*_wrap_SizerItem_GetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34840 PyObject
*resultobj
;
34841 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34843 PyObject
* obj0
= 0 ;
34844 char *kwnames
[] = {
34845 (char *) "self", NULL
34848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetMinSize",kwnames
,&obj0
)) goto fail
;
34849 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34853 result
= (arg1
)->GetMinSize();
34855 wxPyEndAllowThreads(__tstate
);
34856 if (PyErr_Occurred()) SWIG_fail
;
34859 wxSize
* resultptr
;
34860 resultptr
= new wxSize((wxSize
&) result
);
34861 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
34869 static PyObject
*_wrap_SizerItem_GetMinSizeWithBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34870 PyObject
*resultobj
;
34871 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34873 PyObject
* obj0
= 0 ;
34874 char *kwnames
[] = {
34875 (char *) "self", NULL
34878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetMinSizeWithBorder",kwnames
,&obj0
)) goto fail
;
34879 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34880 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34883 result
= ((wxSizerItem
const *)arg1
)->GetMinSizeWithBorder();
34885 wxPyEndAllowThreads(__tstate
);
34886 if (PyErr_Occurred()) SWIG_fail
;
34889 wxSize
* resultptr
;
34890 resultptr
= new wxSize((wxSize
&) result
);
34891 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
34899 static PyObject
*_wrap_SizerItem_SetInitSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34900 PyObject
*resultobj
;
34901 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34904 PyObject
* obj0
= 0 ;
34905 PyObject
* obj1
= 0 ;
34906 PyObject
* obj2
= 0 ;
34907 char *kwnames
[] = {
34908 (char *) "self",(char *) "x",(char *) "y", NULL
34911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetInitSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34912 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34914 arg2
= (int)SWIG_As_int(obj1
);
34915 if (PyErr_Occurred()) SWIG_fail
;
34916 arg3
= (int)SWIG_As_int(obj2
);
34917 if (PyErr_Occurred()) SWIG_fail
;
34919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34920 (arg1
)->SetInitSize(arg2
,arg3
);
34922 wxPyEndAllowThreads(__tstate
);
34923 if (PyErr_Occurred()) SWIG_fail
;
34925 Py_INCREF(Py_None
); resultobj
= Py_None
;
34932 static PyObject
*_wrap_SizerItem_SetRatioWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34933 PyObject
*resultobj
;
34934 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34937 PyObject
* obj0
= 0 ;
34938 PyObject
* obj1
= 0 ;
34939 PyObject
* obj2
= 0 ;
34940 char *kwnames
[] = {
34941 (char *) "self",(char *) "width",(char *) "height", NULL
34944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetRatioWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34945 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34946 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34947 arg2
= (int)SWIG_As_int(obj1
);
34948 if (PyErr_Occurred()) SWIG_fail
;
34949 arg3
= (int)SWIG_As_int(obj2
);
34950 if (PyErr_Occurred()) SWIG_fail
;
34952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34953 (arg1
)->SetRatio(arg2
,arg3
);
34955 wxPyEndAllowThreads(__tstate
);
34956 if (PyErr_Occurred()) SWIG_fail
;
34958 Py_INCREF(Py_None
); resultobj
= Py_None
;
34965 static PyObject
*_wrap_SizerItem_SetRatioSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34966 PyObject
*resultobj
;
34967 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34970 PyObject
* obj0
= 0 ;
34971 PyObject
* obj1
= 0 ;
34972 char *kwnames
[] = {
34973 (char *) "self",(char *) "size", NULL
34976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatioSize",kwnames
,&obj0
,&obj1
)) goto fail
;
34977 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34978 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34979 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxSize
,
34980 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
34983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34984 (arg1
)->SetRatio(arg2
);
34986 wxPyEndAllowThreads(__tstate
);
34987 if (PyErr_Occurred()) SWIG_fail
;
34989 Py_INCREF(Py_None
); resultobj
= Py_None
;
34996 static PyObject
*_wrap_SizerItem_SetRatio(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34997 PyObject
*resultobj
;
34998 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35000 PyObject
* obj0
= 0 ;
35001 PyObject
* obj1
= 0 ;
35002 char *kwnames
[] = {
35003 (char *) "self",(char *) "ratio", NULL
35006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatio",kwnames
,&obj0
,&obj1
)) goto fail
;
35007 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35008 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35009 arg2
= (float)SWIG_As_float(obj1
);
35010 if (PyErr_Occurred()) SWIG_fail
;
35012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35013 (arg1
)->SetRatio(arg2
);
35015 wxPyEndAllowThreads(__tstate
);
35016 if (PyErr_Occurred()) SWIG_fail
;
35018 Py_INCREF(Py_None
); resultobj
= Py_None
;
35025 static PyObject
*_wrap_SizerItem_GetRatio(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35026 PyObject
*resultobj
;
35027 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35029 PyObject
* obj0
= 0 ;
35030 char *kwnames
[] = {
35031 (char *) "self", NULL
35034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetRatio",kwnames
,&obj0
)) goto fail
;
35035 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35039 result
= (float)(arg1
)->GetRatio();
35041 wxPyEndAllowThreads(__tstate
);
35042 if (PyErr_Occurred()) SWIG_fail
;
35044 resultobj
= SWIG_From_float((float)result
);
35051 static PyObject
*_wrap_SizerItem_IsWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35052 PyObject
*resultobj
;
35053 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35055 PyObject
* obj0
= 0 ;
35056 char *kwnames
[] = {
35057 (char *) "self", NULL
35060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsWindow",kwnames
,&obj0
)) goto fail
;
35061 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35062 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35065 result
= (bool)(arg1
)->IsWindow();
35067 wxPyEndAllowThreads(__tstate
);
35068 if (PyErr_Occurred()) SWIG_fail
;
35071 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35079 static PyObject
*_wrap_SizerItem_IsSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35080 PyObject
*resultobj
;
35081 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35083 PyObject
* obj0
= 0 ;
35084 char *kwnames
[] = {
35085 (char *) "self", NULL
35088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSizer",kwnames
,&obj0
)) goto fail
;
35089 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35090 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35093 result
= (bool)(arg1
)->IsSizer();
35095 wxPyEndAllowThreads(__tstate
);
35096 if (PyErr_Occurred()) SWIG_fail
;
35099 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35107 static PyObject
*_wrap_SizerItem_IsSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35108 PyObject
*resultobj
;
35109 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35111 PyObject
* obj0
= 0 ;
35112 char *kwnames
[] = {
35113 (char *) "self", NULL
35116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSpacer",kwnames
,&obj0
)) goto fail
;
35117 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35118 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35121 result
= (bool)(arg1
)->IsSpacer();
35123 wxPyEndAllowThreads(__tstate
);
35124 if (PyErr_Occurred()) SWIG_fail
;
35127 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35135 static PyObject
*_wrap_SizerItem_SetProportion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35136 PyObject
*resultobj
;
35137 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35139 PyObject
* obj0
= 0 ;
35140 PyObject
* obj1
= 0 ;
35141 char *kwnames
[] = {
35142 (char *) "self",(char *) "proportion", NULL
35145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetProportion",kwnames
,&obj0
,&obj1
)) goto fail
;
35146 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35147 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35148 arg2
= (int)SWIG_As_int(obj1
);
35149 if (PyErr_Occurred()) SWIG_fail
;
35151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35152 (arg1
)->SetProportion(arg2
);
35154 wxPyEndAllowThreads(__tstate
);
35155 if (PyErr_Occurred()) SWIG_fail
;
35157 Py_INCREF(Py_None
); resultobj
= Py_None
;
35164 static PyObject
*_wrap_SizerItem_GetProportion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35165 PyObject
*resultobj
;
35166 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35168 PyObject
* obj0
= 0 ;
35169 char *kwnames
[] = {
35170 (char *) "self", NULL
35173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetProportion",kwnames
,&obj0
)) goto fail
;
35174 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35175 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35178 result
= (int)(arg1
)->GetProportion();
35180 wxPyEndAllowThreads(__tstate
);
35181 if (PyErr_Occurred()) SWIG_fail
;
35183 resultobj
= SWIG_From_int((int)result
);
35190 static PyObject
*_wrap_SizerItem_SetFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35191 PyObject
*resultobj
;
35192 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35194 PyObject
* obj0
= 0 ;
35195 PyObject
* obj1
= 0 ;
35196 char *kwnames
[] = {
35197 (char *) "self",(char *) "flag", NULL
35200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
35201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35203 arg2
= (int)SWIG_As_int(obj1
);
35204 if (PyErr_Occurred()) SWIG_fail
;
35206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35207 (arg1
)->SetFlag(arg2
);
35209 wxPyEndAllowThreads(__tstate
);
35210 if (PyErr_Occurred()) SWIG_fail
;
35212 Py_INCREF(Py_None
); resultobj
= Py_None
;
35219 static PyObject
*_wrap_SizerItem_GetFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35220 PyObject
*resultobj
;
35221 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35223 PyObject
* obj0
= 0 ;
35224 char *kwnames
[] = {
35225 (char *) "self", NULL
35228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetFlag",kwnames
,&obj0
)) goto fail
;
35229 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35233 result
= (int)(arg1
)->GetFlag();
35235 wxPyEndAllowThreads(__tstate
);
35236 if (PyErr_Occurred()) SWIG_fail
;
35238 resultobj
= SWIG_From_int((int)result
);
35245 static PyObject
*_wrap_SizerItem_SetBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35246 PyObject
*resultobj
;
35247 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35249 PyObject
* obj0
= 0 ;
35250 PyObject
* obj1
= 0 ;
35251 char *kwnames
[] = {
35252 (char *) "self",(char *) "border", NULL
35255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetBorder",kwnames
,&obj0
,&obj1
)) goto fail
;
35256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35258 arg2
= (int)SWIG_As_int(obj1
);
35259 if (PyErr_Occurred()) SWIG_fail
;
35261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35262 (arg1
)->SetBorder(arg2
);
35264 wxPyEndAllowThreads(__tstate
);
35265 if (PyErr_Occurred()) SWIG_fail
;
35267 Py_INCREF(Py_None
); resultobj
= Py_None
;
35274 static PyObject
*_wrap_SizerItem_GetBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35275 PyObject
*resultobj
;
35276 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35278 PyObject
* obj0
= 0 ;
35279 char *kwnames
[] = {
35280 (char *) "self", NULL
35283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetBorder",kwnames
,&obj0
)) goto fail
;
35284 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35285 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35288 result
= (int)(arg1
)->GetBorder();
35290 wxPyEndAllowThreads(__tstate
);
35291 if (PyErr_Occurred()) SWIG_fail
;
35293 resultobj
= SWIG_From_int((int)result
);
35300 static PyObject
*_wrap_SizerItem_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35301 PyObject
*resultobj
;
35302 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35304 PyObject
* obj0
= 0 ;
35305 char *kwnames
[] = {
35306 (char *) "self", NULL
35309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetWindow",kwnames
,&obj0
)) goto fail
;
35310 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35311 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35314 result
= (wxWindow
*)(arg1
)->GetWindow();
35316 wxPyEndAllowThreads(__tstate
);
35317 if (PyErr_Occurred()) SWIG_fail
;
35320 resultobj
= wxPyMake_wxObject(result
, 0);
35328 static PyObject
*_wrap_SizerItem_SetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35329 PyObject
*resultobj
;
35330 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35331 wxWindow
*arg2
= (wxWindow
*) 0 ;
35332 PyObject
* obj0
= 0 ;
35333 PyObject
* obj1
= 0 ;
35334 char *kwnames
[] = {
35335 (char *) "self",(char *) "window", NULL
35338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
35339 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35341 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
35342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35345 (arg1
)->SetWindow(arg2
);
35347 wxPyEndAllowThreads(__tstate
);
35348 if (PyErr_Occurred()) SWIG_fail
;
35350 Py_INCREF(Py_None
); resultobj
= Py_None
;
35357 static PyObject
*_wrap_SizerItem_GetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35358 PyObject
*resultobj
;
35359 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35361 PyObject
* obj0
= 0 ;
35362 char *kwnames
[] = {
35363 (char *) "self", NULL
35366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSizer",kwnames
,&obj0
)) goto fail
;
35367 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35371 result
= (wxSizer
*)(arg1
)->GetSizer();
35373 wxPyEndAllowThreads(__tstate
);
35374 if (PyErr_Occurred()) SWIG_fail
;
35377 resultobj
= wxPyMake_wxSizer(result
, 0);
35385 static PyObject
*_wrap_SizerItem_SetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35386 PyObject
*resultobj
;
35387 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35388 wxSizer
*arg2
= (wxSizer
*) 0 ;
35389 PyObject
* obj0
= 0 ;
35390 PyObject
* obj1
= 0 ;
35391 char *kwnames
[] = {
35392 (char *) "self",(char *) "sizer", NULL
35395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
35396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35398 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
35399 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35402 (arg1
)->SetSizer(arg2
);
35404 wxPyEndAllowThreads(__tstate
);
35405 if (PyErr_Occurred()) SWIG_fail
;
35407 Py_INCREF(Py_None
); resultobj
= Py_None
;
35414 static PyObject
*_wrap_SizerItem_GetSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35415 PyObject
*resultobj
;
35416 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35418 PyObject
* obj0
= 0 ;
35419 char *kwnames
[] = {
35420 (char *) "self", NULL
35423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSpacer",kwnames
,&obj0
)) goto fail
;
35424 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35425 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35429 wxSize
const &_result_ref
= (arg1
)->GetSpacer();
35430 result
= (wxSize
*) &_result_ref
;
35433 wxPyEndAllowThreads(__tstate
);
35434 if (PyErr_Occurred()) SWIG_fail
;
35436 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
35443 static PyObject
*_wrap_SizerItem_SetSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35444 PyObject
*resultobj
;
35445 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35448 PyObject
* obj0
= 0 ;
35449 PyObject
* obj1
= 0 ;
35450 char *kwnames
[] = {
35451 (char *) "self",(char *) "size", NULL
35454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSpacer",kwnames
,&obj0
,&obj1
)) goto fail
;
35455 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35456 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35459 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
35462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35463 (arg1
)->SetSpacer((wxSize
const &)*arg2
);
35465 wxPyEndAllowThreads(__tstate
);
35466 if (PyErr_Occurred()) SWIG_fail
;
35468 Py_INCREF(Py_None
); resultobj
= Py_None
;
35475 static PyObject
*_wrap_SizerItem_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35476 PyObject
*resultobj
;
35477 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35479 PyObject
* obj0
= 0 ;
35480 PyObject
* obj1
= 0 ;
35481 char *kwnames
[] = {
35482 (char *) "self",(char *) "show", NULL
35485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
35486 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35487 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35488 arg2
= (bool)SWIG_As_bool(obj1
);
35489 if (PyErr_Occurred()) SWIG_fail
;
35491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35492 (arg1
)->Show(arg2
);
35494 wxPyEndAllowThreads(__tstate
);
35495 if (PyErr_Occurred()) SWIG_fail
;
35497 Py_INCREF(Py_None
); resultobj
= Py_None
;
35504 static PyObject
*_wrap_SizerItem_IsShown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35505 PyObject
*resultobj
;
35506 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35508 PyObject
* obj0
= 0 ;
35509 char *kwnames
[] = {
35510 (char *) "self", NULL
35513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsShown",kwnames
,&obj0
)) goto fail
;
35514 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35518 result
= (bool)(arg1
)->IsShown();
35520 wxPyEndAllowThreads(__tstate
);
35521 if (PyErr_Occurred()) SWIG_fail
;
35524 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35532 static PyObject
*_wrap_SizerItem_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35533 PyObject
*resultobj
;
35534 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35536 PyObject
* obj0
= 0 ;
35537 char *kwnames
[] = {
35538 (char *) "self", NULL
35541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetPosition",kwnames
,&obj0
)) goto fail
;
35542 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35543 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35546 result
= (arg1
)->GetPosition();
35548 wxPyEndAllowThreads(__tstate
);
35549 if (PyErr_Occurred()) SWIG_fail
;
35552 wxPoint
* resultptr
;
35553 resultptr
= new wxPoint((wxPoint
&) result
);
35554 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
35562 static PyObject
*_wrap_SizerItem_GetUserData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35563 PyObject
*resultobj
;
35564 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35566 PyObject
* obj0
= 0 ;
35567 char *kwnames
[] = {
35568 (char *) "self", NULL
35571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetUserData",kwnames
,&obj0
)) goto fail
;
35572 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35573 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35576 result
= (PyObject
*)wxSizerItem_GetUserData(arg1
);
35578 wxPyEndAllowThreads(__tstate
);
35579 if (PyErr_Occurred()) SWIG_fail
;
35581 resultobj
= result
;
35588 static PyObject
* SizerItem_swigregister(PyObject
*, PyObject
*args
) {
35590 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35591 SWIG_TypeClientData(SWIGTYPE_p_wxSizerItem
, obj
);
35593 return Py_BuildValue((char *)"");
35595 static PyObject
*_wrap_Sizer__setOORInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35596 PyObject
*resultobj
;
35597 wxSizer
*arg1
= (wxSizer
*) 0 ;
35598 PyObject
*arg2
= (PyObject
*) 0 ;
35599 PyObject
* obj0
= 0 ;
35600 PyObject
* obj1
= 0 ;
35601 char *kwnames
[] = {
35602 (char *) "self",(char *) "_self", NULL
35605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
35606 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35607 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35611 wxSizer__setOORInfo(arg1
,arg2
);
35613 wxPyEndAllowThreads(__tstate
);
35614 if (PyErr_Occurred()) SWIG_fail
;
35616 Py_INCREF(Py_None
); resultobj
= Py_None
;
35623 static PyObject
*_wrap_Sizer_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35624 PyObject
*resultobj
;
35625 wxSizer
*arg1
= (wxSizer
*) 0 ;
35626 PyObject
*arg2
= (PyObject
*) 0 ;
35627 int arg3
= (int) 0 ;
35628 int arg4
= (int) 0 ;
35629 int arg5
= (int) 0 ;
35630 PyObject
*arg6
= (PyObject
*) NULL
;
35631 PyObject
* obj0
= 0 ;
35632 PyObject
* obj1
= 0 ;
35633 PyObject
* obj2
= 0 ;
35634 PyObject
* obj3
= 0 ;
35635 PyObject
* obj4
= 0 ;
35636 PyObject
* obj5
= 0 ;
35637 char *kwnames
[] = {
35638 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
35641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
35642 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35643 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35646 arg3
= (int)SWIG_As_int(obj2
);
35647 if (PyErr_Occurred()) SWIG_fail
;
35650 arg4
= (int)SWIG_As_int(obj3
);
35651 if (PyErr_Occurred()) SWIG_fail
;
35654 arg5
= (int)SWIG_As_int(obj4
);
35655 if (PyErr_Occurred()) SWIG_fail
;
35661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35662 wxSizer_Add(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
35664 wxPyEndAllowThreads(__tstate
);
35665 if (PyErr_Occurred()) SWIG_fail
;
35667 Py_INCREF(Py_None
); resultobj
= Py_None
;
35674 static PyObject
*_wrap_Sizer_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35675 PyObject
*resultobj
;
35676 wxSizer
*arg1
= (wxSizer
*) 0 ;
35678 PyObject
*arg3
= (PyObject
*) 0 ;
35679 int arg4
= (int) 0 ;
35680 int arg5
= (int) 0 ;
35681 int arg6
= (int) 0 ;
35682 PyObject
*arg7
= (PyObject
*) NULL
;
35683 PyObject
* obj0
= 0 ;
35684 PyObject
* obj1
= 0 ;
35685 PyObject
* obj2
= 0 ;
35686 PyObject
* obj3
= 0 ;
35687 PyObject
* obj4
= 0 ;
35688 PyObject
* obj5
= 0 ;
35689 PyObject
* obj6
= 0 ;
35690 char *kwnames
[] = {
35691 (char *) "self",(char *) "before",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
35694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Sizer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
35695 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35696 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35697 arg2
= (int)SWIG_As_int(obj1
);
35698 if (PyErr_Occurred()) SWIG_fail
;
35701 arg4
= (int)SWIG_As_int(obj3
);
35702 if (PyErr_Occurred()) SWIG_fail
;
35705 arg5
= (int)SWIG_As_int(obj4
);
35706 if (PyErr_Occurred()) SWIG_fail
;
35709 arg6
= (int)SWIG_As_int(obj5
);
35710 if (PyErr_Occurred()) SWIG_fail
;
35716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35717 wxSizer_Insert(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
35719 wxPyEndAllowThreads(__tstate
);
35720 if (PyErr_Occurred()) SWIG_fail
;
35722 Py_INCREF(Py_None
); resultobj
= Py_None
;
35729 static PyObject
*_wrap_Sizer_Prepend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35730 PyObject
*resultobj
;
35731 wxSizer
*arg1
= (wxSizer
*) 0 ;
35732 PyObject
*arg2
= (PyObject
*) 0 ;
35733 int arg3
= (int) 0 ;
35734 int arg4
= (int) 0 ;
35735 int arg5
= (int) 0 ;
35736 PyObject
*arg6
= (PyObject
*) NULL
;
35737 PyObject
* obj0
= 0 ;
35738 PyObject
* obj1
= 0 ;
35739 PyObject
* obj2
= 0 ;
35740 PyObject
* obj3
= 0 ;
35741 PyObject
* obj4
= 0 ;
35742 PyObject
* obj5
= 0 ;
35743 char *kwnames
[] = {
35744 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
35747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
35748 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35749 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35752 arg3
= (int)SWIG_As_int(obj2
);
35753 if (PyErr_Occurred()) SWIG_fail
;
35756 arg4
= (int)SWIG_As_int(obj3
);
35757 if (PyErr_Occurred()) SWIG_fail
;
35760 arg5
= (int)SWIG_As_int(obj4
);
35761 if (PyErr_Occurred()) SWIG_fail
;
35767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35768 wxSizer_Prepend(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
35770 wxPyEndAllowThreads(__tstate
);
35771 if (PyErr_Occurred()) SWIG_fail
;
35773 Py_INCREF(Py_None
); resultobj
= Py_None
;
35780 static PyObject
*_wrap_Sizer_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35781 PyObject
*resultobj
;
35782 wxSizer
*arg1
= (wxSizer
*) 0 ;
35783 PyObject
*arg2
= (PyObject
*) 0 ;
35785 PyObject
* obj0
= 0 ;
35786 PyObject
* obj1
= 0 ;
35787 char *kwnames
[] = {
35788 (char *) "self",(char *) "item", NULL
35791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
35792 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35793 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35797 result
= (bool)wxSizer_Remove(arg1
,arg2
);
35799 wxPyEndAllowThreads(__tstate
);
35800 if (PyErr_Occurred()) SWIG_fail
;
35803 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35811 static PyObject
*_wrap_Sizer_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35812 PyObject
*resultobj
;
35813 wxSizer
*arg1
= (wxSizer
*) 0 ;
35814 PyObject
*arg2
= (PyObject
*) 0 ;
35816 PyObject
* obj0
= 0 ;
35817 PyObject
* obj1
= 0 ;
35818 char *kwnames
[] = {
35819 (char *) "self",(char *) "item", NULL
35822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Detach",kwnames
,&obj0
,&obj1
)) goto fail
;
35823 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35824 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35828 result
= (bool)wxSizer_Detach(arg1
,arg2
);
35830 wxPyEndAllowThreads(__tstate
);
35831 if (PyErr_Occurred()) SWIG_fail
;
35834 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35842 static PyObject
*_wrap_Sizer__SetItemMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35843 PyObject
*resultobj
;
35844 wxSizer
*arg1
= (wxSizer
*) 0 ;
35845 PyObject
*arg2
= (PyObject
*) 0 ;
35848 PyObject
* obj0
= 0 ;
35849 PyObject
* obj1
= 0 ;
35850 PyObject
* obj2
= 0 ;
35851 char *kwnames
[] = {
35852 (char *) "self",(char *) "item",(char *) "size", NULL
35855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer__SetItemMinSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35856 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35857 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35861 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
35864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35865 wxSizer__SetItemMinSize(arg1
,arg2
,(wxSize
const &)*arg3
);
35867 wxPyEndAllowThreads(__tstate
);
35868 if (PyErr_Occurred()) SWIG_fail
;
35870 Py_INCREF(Py_None
); resultobj
= Py_None
;
35877 static PyObject
*_wrap_Sizer_AddItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35878 PyObject
*resultobj
;
35879 wxSizer
*arg1
= (wxSizer
*) 0 ;
35880 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
35881 PyObject
* obj0
= 0 ;
35882 PyObject
* obj1
= 0 ;
35883 char *kwnames
[] = {
35884 (char *) "self",(char *) "item", NULL
35887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
35888 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35889 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35890 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizerItem
,
35891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35896 wxPyEndAllowThreads(__tstate
);
35897 if (PyErr_Occurred()) SWIG_fail
;
35899 Py_INCREF(Py_None
); resultobj
= Py_None
;
35906 static PyObject
*_wrap_Sizer_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35907 PyObject
*resultobj
;
35908 wxSizer
*arg1
= (wxSizer
*) 0 ;
35910 wxSizerItem
*arg3
= (wxSizerItem
*) 0 ;
35911 PyObject
* obj0
= 0 ;
35912 PyObject
* obj1
= 0 ;
35913 PyObject
* obj2
= 0 ;
35914 char *kwnames
[] = {
35915 (char *) "self",(char *) "index",(char *) "item", NULL
35918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35921 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
35922 if (PyErr_Occurred()) SWIG_fail
;
35923 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxSizerItem
,
35924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35927 (arg1
)->Insert(arg2
,arg3
);
35929 wxPyEndAllowThreads(__tstate
);
35930 if (PyErr_Occurred()) SWIG_fail
;
35932 Py_INCREF(Py_None
); resultobj
= Py_None
;
35939 static PyObject
*_wrap_Sizer_PrependItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35940 PyObject
*resultobj
;
35941 wxSizer
*arg1
= (wxSizer
*) 0 ;
35942 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
35943 PyObject
* obj0
= 0 ;
35944 PyObject
* obj1
= 0 ;
35945 char *kwnames
[] = {
35946 (char *) "self",(char *) "item", NULL
35949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
35950 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35952 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizerItem
,
35953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35956 (arg1
)->Prepend(arg2
);
35958 wxPyEndAllowThreads(__tstate
);
35959 if (PyErr_Occurred()) SWIG_fail
;
35961 Py_INCREF(Py_None
); resultobj
= Py_None
;
35968 static PyObject
*_wrap_Sizer_SetDimension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35969 PyObject
*resultobj
;
35970 wxSizer
*arg1
= (wxSizer
*) 0 ;
35975 PyObject
* obj0
= 0 ;
35976 PyObject
* obj1
= 0 ;
35977 PyObject
* obj2
= 0 ;
35978 PyObject
* obj3
= 0 ;
35979 PyObject
* obj4
= 0 ;
35980 char *kwnames
[] = {
35981 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
35984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Sizer_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
35985 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35987 arg2
= (int)SWIG_As_int(obj1
);
35988 if (PyErr_Occurred()) SWIG_fail
;
35989 arg3
= (int)SWIG_As_int(obj2
);
35990 if (PyErr_Occurred()) SWIG_fail
;
35991 arg4
= (int)SWIG_As_int(obj3
);
35992 if (PyErr_Occurred()) SWIG_fail
;
35993 arg5
= (int)SWIG_As_int(obj4
);
35994 if (PyErr_Occurred()) SWIG_fail
;
35996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35997 (arg1
)->SetDimension(arg2
,arg3
,arg4
,arg5
);
35999 wxPyEndAllowThreads(__tstate
);
36000 if (PyErr_Occurred()) SWIG_fail
;
36002 Py_INCREF(Py_None
); resultobj
= Py_None
;
36009 static PyObject
*_wrap_Sizer_SetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36010 PyObject
*resultobj
;
36011 wxSizer
*arg1
= (wxSizer
*) 0 ;
36014 PyObject
* obj0
= 0 ;
36015 PyObject
* obj1
= 0 ;
36016 char *kwnames
[] = {
36017 (char *) "self",(char *) "size", NULL
36020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetMinSize",kwnames
,&obj0
,&obj1
)) goto fail
;
36021 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36022 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36025 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
36028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36029 (arg1
)->SetMinSize((wxSize
const &)*arg2
);
36031 wxPyEndAllowThreads(__tstate
);
36032 if (PyErr_Occurred()) SWIG_fail
;
36034 Py_INCREF(Py_None
); resultobj
= Py_None
;
36041 static PyObject
*_wrap_Sizer_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36042 PyObject
*resultobj
;
36043 wxSizer
*arg1
= (wxSizer
*) 0 ;
36045 PyObject
* obj0
= 0 ;
36046 char *kwnames
[] = {
36047 (char *) "self", NULL
36050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetSize",kwnames
,&obj0
)) goto fail
;
36051 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36052 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36055 result
= (arg1
)->GetSize();
36057 wxPyEndAllowThreads(__tstate
);
36058 if (PyErr_Occurred()) SWIG_fail
;
36061 wxSize
* resultptr
;
36062 resultptr
= new wxSize((wxSize
&) result
);
36063 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
36071 static PyObject
*_wrap_Sizer_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36072 PyObject
*resultobj
;
36073 wxSizer
*arg1
= (wxSizer
*) 0 ;
36075 PyObject
* obj0
= 0 ;
36076 char *kwnames
[] = {
36077 (char *) "self", NULL
36080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetPosition",kwnames
,&obj0
)) goto fail
;
36081 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36085 result
= (arg1
)->GetPosition();
36087 wxPyEndAllowThreads(__tstate
);
36088 if (PyErr_Occurred()) SWIG_fail
;
36091 wxPoint
* resultptr
;
36092 resultptr
= new wxPoint((wxPoint
&) result
);
36093 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
36101 static PyObject
*_wrap_Sizer_GetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36102 PyObject
*resultobj
;
36103 wxSizer
*arg1
= (wxSizer
*) 0 ;
36105 PyObject
* obj0
= 0 ;
36106 char *kwnames
[] = {
36107 (char *) "self", NULL
36110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetMinSize",kwnames
,&obj0
)) goto fail
;
36111 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36115 result
= (arg1
)->GetMinSize();
36117 wxPyEndAllowThreads(__tstate
);
36118 if (PyErr_Occurred()) SWIG_fail
;
36121 wxSize
* resultptr
;
36122 resultptr
= new wxSize((wxSize
&) result
);
36123 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
36131 static PyObject
*_wrap_Sizer_RecalcSizes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36132 PyObject
*resultobj
;
36133 wxSizer
*arg1
= (wxSizer
*) 0 ;
36134 PyObject
* obj0
= 0 ;
36135 char *kwnames
[] = {
36136 (char *) "self", NULL
36139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
36140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36144 (arg1
)->RecalcSizes();
36146 wxPyEndAllowThreads(__tstate
);
36147 if (PyErr_Occurred()) SWIG_fail
;
36149 Py_INCREF(Py_None
); resultobj
= Py_None
;
36156 static PyObject
*_wrap_Sizer_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36157 PyObject
*resultobj
;
36158 wxSizer
*arg1
= (wxSizer
*) 0 ;
36160 PyObject
* obj0
= 0 ;
36161 char *kwnames
[] = {
36162 (char *) "self", NULL
36165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_CalcMin",kwnames
,&obj0
)) goto fail
;
36166 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36167 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36170 result
= (arg1
)->CalcMin();
36172 wxPyEndAllowThreads(__tstate
);
36173 if (PyErr_Occurred()) SWIG_fail
;
36176 wxSize
* resultptr
;
36177 resultptr
= new wxSize((wxSize
&) result
);
36178 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
36186 static PyObject
*_wrap_Sizer_Layout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36187 PyObject
*resultobj
;
36188 wxSizer
*arg1
= (wxSizer
*) 0 ;
36189 PyObject
* obj0
= 0 ;
36190 char *kwnames
[] = {
36191 (char *) "self", NULL
36194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_Layout",kwnames
,&obj0
)) goto fail
;
36195 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36201 wxPyEndAllowThreads(__tstate
);
36202 if (PyErr_Occurred()) SWIG_fail
;
36204 Py_INCREF(Py_None
); resultobj
= Py_None
;
36211 static PyObject
*_wrap_Sizer_Fit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36212 PyObject
*resultobj
;
36213 wxSizer
*arg1
= (wxSizer
*) 0 ;
36214 wxWindow
*arg2
= (wxWindow
*) 0 ;
36216 PyObject
* obj0
= 0 ;
36217 PyObject
* obj1
= 0 ;
36218 char *kwnames
[] = {
36219 (char *) "self",(char *) "window", NULL
36222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Fit",kwnames
,&obj0
,&obj1
)) goto fail
;
36223 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36224 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36225 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
36226 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36229 result
= (arg1
)->Fit(arg2
);
36231 wxPyEndAllowThreads(__tstate
);
36232 if (PyErr_Occurred()) SWIG_fail
;
36235 wxSize
* resultptr
;
36236 resultptr
= new wxSize((wxSize
&) result
);
36237 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
36245 static PyObject
*_wrap_Sizer_FitInside(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36246 PyObject
*resultobj
;
36247 wxSizer
*arg1
= (wxSizer
*) 0 ;
36248 wxWindow
*arg2
= (wxWindow
*) 0 ;
36249 PyObject
* obj0
= 0 ;
36250 PyObject
* obj1
= 0 ;
36251 char *kwnames
[] = {
36252 (char *) "self",(char *) "window", NULL
36255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_FitInside",kwnames
,&obj0
,&obj1
)) goto fail
;
36256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36258 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
36259 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36262 (arg1
)->FitInside(arg2
);
36264 wxPyEndAllowThreads(__tstate
);
36265 if (PyErr_Occurred()) SWIG_fail
;
36267 Py_INCREF(Py_None
); resultobj
= Py_None
;
36274 static PyObject
*_wrap_Sizer_SetSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36275 PyObject
*resultobj
;
36276 wxSizer
*arg1
= (wxSizer
*) 0 ;
36277 wxWindow
*arg2
= (wxWindow
*) 0 ;
36278 PyObject
* obj0
= 0 ;
36279 PyObject
* obj1
= 0 ;
36280 char *kwnames
[] = {
36281 (char *) "self",(char *) "window", NULL
36284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
36285 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36287 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
36288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36291 (arg1
)->SetSizeHints(arg2
);
36293 wxPyEndAllowThreads(__tstate
);
36294 if (PyErr_Occurred()) SWIG_fail
;
36296 Py_INCREF(Py_None
); resultobj
= Py_None
;
36303 static PyObject
*_wrap_Sizer_SetVirtualSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36304 PyObject
*resultobj
;
36305 wxSizer
*arg1
= (wxSizer
*) 0 ;
36306 wxWindow
*arg2
= (wxWindow
*) 0 ;
36307 PyObject
* obj0
= 0 ;
36308 PyObject
* obj1
= 0 ;
36309 char *kwnames
[] = {
36310 (char *) "self",(char *) "window", NULL
36313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
36314 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36315 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36316 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
36317 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36320 (arg1
)->SetVirtualSizeHints(arg2
);
36322 wxPyEndAllowThreads(__tstate
);
36323 if (PyErr_Occurred()) SWIG_fail
;
36325 Py_INCREF(Py_None
); resultobj
= Py_None
;
36332 static PyObject
*_wrap_Sizer_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36333 PyObject
*resultobj
;
36334 wxSizer
*arg1
= (wxSizer
*) 0 ;
36335 bool arg2
= (bool) False
;
36336 PyObject
* obj0
= 0 ;
36337 PyObject
* obj1
= 0 ;
36338 char *kwnames
[] = {
36339 (char *) "self",(char *) "deleteWindows", NULL
36342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sizer_Clear",kwnames
,&obj0
,&obj1
)) goto fail
;
36343 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36346 arg2
= (bool)SWIG_As_bool(obj1
);
36347 if (PyErr_Occurred()) SWIG_fail
;
36350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36351 (arg1
)->Clear(arg2
);
36353 wxPyEndAllowThreads(__tstate
);
36354 if (PyErr_Occurred()) SWIG_fail
;
36356 Py_INCREF(Py_None
); resultobj
= Py_None
;
36363 static PyObject
*_wrap_Sizer_DeleteWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36364 PyObject
*resultobj
;
36365 wxSizer
*arg1
= (wxSizer
*) 0 ;
36366 PyObject
* obj0
= 0 ;
36367 char *kwnames
[] = {
36368 (char *) "self", NULL
36371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_DeleteWindows",kwnames
,&obj0
)) goto fail
;
36372 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36376 (arg1
)->DeleteWindows();
36378 wxPyEndAllowThreads(__tstate
);
36379 if (PyErr_Occurred()) SWIG_fail
;
36381 Py_INCREF(Py_None
); resultobj
= Py_None
;
36388 static PyObject
*_wrap_Sizer_GetChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36389 PyObject
*resultobj
;
36390 wxSizer
*arg1
= (wxSizer
*) 0 ;
36392 PyObject
* obj0
= 0 ;
36393 char *kwnames
[] = {
36394 (char *) "self", NULL
36397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetChildren",kwnames
,&obj0
)) goto fail
;
36398 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36399 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36402 result
= (PyObject
*)wxSizer_GetChildren(arg1
);
36404 wxPyEndAllowThreads(__tstate
);
36405 if (PyErr_Occurred()) SWIG_fail
;
36407 resultobj
= result
;
36414 static PyObject
*_wrap_Sizer_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36415 PyObject
*resultobj
;
36416 wxSizer
*arg1
= (wxSizer
*) 0 ;
36417 PyObject
*arg2
= (PyObject
*) 0 ;
36418 bool arg3
= (bool) True
;
36419 PyObject
* obj0
= 0 ;
36420 PyObject
* obj1
= 0 ;
36421 PyObject
* obj2
= 0 ;
36422 char *kwnames
[] = {
36423 (char *) "self",(char *) "item",(char *) "show", NULL
36426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Sizer_Show",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
36427 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36428 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36431 arg3
= (bool)SWIG_As_bool(obj2
);
36432 if (PyErr_Occurred()) SWIG_fail
;
36435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36436 wxSizer_Show(arg1
,arg2
,arg3
);
36438 wxPyEndAllowThreads(__tstate
);
36439 if (PyErr_Occurred()) SWIG_fail
;
36441 Py_INCREF(Py_None
); resultobj
= Py_None
;
36448 static PyObject
*_wrap_Sizer_IsShown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36449 PyObject
*resultobj
;
36450 wxSizer
*arg1
= (wxSizer
*) 0 ;
36451 PyObject
*arg2
= (PyObject
*) 0 ;
36453 PyObject
* obj0
= 0 ;
36454 PyObject
* obj1
= 0 ;
36455 char *kwnames
[] = {
36456 (char *) "self",(char *) "item", NULL
36459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_IsShown",kwnames
,&obj0
,&obj1
)) goto fail
;
36460 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36465 result
= (bool)wxSizer_IsShown(arg1
,arg2
);
36467 wxPyEndAllowThreads(__tstate
);
36468 if (PyErr_Occurred()) SWIG_fail
;
36471 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36479 static PyObject
*_wrap_Sizer_ShowItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36480 PyObject
*resultobj
;
36481 wxSizer
*arg1
= (wxSizer
*) 0 ;
36483 PyObject
* obj0
= 0 ;
36484 PyObject
* obj1
= 0 ;
36485 char *kwnames
[] = {
36486 (char *) "self",(char *) "show", NULL
36489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_ShowItems",kwnames
,&obj0
,&obj1
)) goto fail
;
36490 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36491 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36492 arg2
= (bool)SWIG_As_bool(obj1
);
36493 if (PyErr_Occurred()) SWIG_fail
;
36495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36496 (arg1
)->ShowItems(arg2
);
36498 wxPyEndAllowThreads(__tstate
);
36499 if (PyErr_Occurred()) SWIG_fail
;
36501 Py_INCREF(Py_None
); resultobj
= Py_None
;
36508 static PyObject
* Sizer_swigregister(PyObject
*, PyObject
*args
) {
36510 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36511 SWIG_TypeClientData(SWIGTYPE_p_wxSizer
, obj
);
36513 return Py_BuildValue((char *)"");
36515 static PyObject
*_wrap_new_PySizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36516 PyObject
*resultobj
;
36518 char *kwnames
[] = {
36522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PySizer",kwnames
)) goto fail
;
36524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36525 result
= (wxPySizer
*)new wxPySizer();
36527 wxPyEndAllowThreads(__tstate
);
36528 if (PyErr_Occurred()) SWIG_fail
;
36530 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPySizer
, 1);
36537 static PyObject
*_wrap_PySizer__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36538 PyObject
*resultobj
;
36539 wxPySizer
*arg1
= (wxPySizer
*) 0 ;
36540 PyObject
*arg2
= (PyObject
*) 0 ;
36541 PyObject
*arg3
= (PyObject
*) 0 ;
36542 PyObject
* obj0
= 0 ;
36543 PyObject
* obj1
= 0 ;
36544 PyObject
* obj2
= 0 ;
36545 char *kwnames
[] = {
36546 (char *) "self",(char *) "self",(char *) "_class", NULL
36549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PySizer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
36550 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPySizer
,
36551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36556 (arg1
)->_setCallbackInfo(arg2
,arg3
);
36558 wxPyEndAllowThreads(__tstate
);
36559 if (PyErr_Occurred()) SWIG_fail
;
36561 Py_INCREF(Py_None
); resultobj
= Py_None
;
36568 static PyObject
* PySizer_swigregister(PyObject
*, PyObject
*args
) {
36570 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36571 SWIG_TypeClientData(SWIGTYPE_p_wxPySizer
, obj
);
36573 return Py_BuildValue((char *)"");
36575 static PyObject
*_wrap_new_BoxSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36576 PyObject
*resultobj
;
36577 int arg1
= (int) wxHORIZONTAL
;
36578 wxBoxSizer
*result
;
36579 PyObject
* obj0
= 0 ;
36580 char *kwnames
[] = {
36581 (char *) "orient", NULL
36584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BoxSizer",kwnames
,&obj0
)) goto fail
;
36586 arg1
= (int)SWIG_As_int(obj0
);
36587 if (PyErr_Occurred()) SWIG_fail
;
36590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36591 result
= (wxBoxSizer
*)new wxBoxSizer(arg1
);
36593 wxPyEndAllowThreads(__tstate
);
36594 if (PyErr_Occurred()) SWIG_fail
;
36596 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBoxSizer
, 1);
36603 static PyObject
*_wrap_BoxSizer_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36604 PyObject
*resultobj
;
36605 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
36607 PyObject
* obj0
= 0 ;
36608 char *kwnames
[] = {
36609 (char *) "self", NULL
36612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BoxSizer_GetOrientation",kwnames
,&obj0
)) goto fail
;
36613 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBoxSizer
,
36614 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36617 result
= (int)(arg1
)->GetOrientation();
36619 wxPyEndAllowThreads(__tstate
);
36620 if (PyErr_Occurred()) SWIG_fail
;
36622 resultobj
= SWIG_From_int((int)result
);
36629 static PyObject
*_wrap_BoxSizer_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36630 PyObject
*resultobj
;
36631 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
36633 PyObject
* obj0
= 0 ;
36634 PyObject
* obj1
= 0 ;
36635 char *kwnames
[] = {
36636 (char *) "self",(char *) "orient", NULL
36639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BoxSizer_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
36640 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBoxSizer
,
36641 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36642 arg2
= (int)SWIG_As_int(obj1
);
36643 if (PyErr_Occurred()) SWIG_fail
;
36645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36646 (arg1
)->SetOrientation(arg2
);
36648 wxPyEndAllowThreads(__tstate
);
36649 if (PyErr_Occurred()) SWIG_fail
;
36651 Py_INCREF(Py_None
); resultobj
= Py_None
;
36658 static PyObject
* BoxSizer_swigregister(PyObject
*, PyObject
*args
) {
36660 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36661 SWIG_TypeClientData(SWIGTYPE_p_wxBoxSizer
, obj
);
36663 return Py_BuildValue((char *)"");
36665 static PyObject
*_wrap_new_StaticBoxSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36666 PyObject
*resultobj
;
36667 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
36668 int arg2
= (int) wxHORIZONTAL
;
36669 wxStaticBoxSizer
*result
;
36670 PyObject
* obj0
= 0 ;
36671 PyObject
* obj1
= 0 ;
36672 char *kwnames
[] = {
36673 (char *) "box",(char *) "orient", NULL
36676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_StaticBoxSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
36677 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBox
,
36678 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36680 arg2
= (int)SWIG_As_int(obj1
);
36681 if (PyErr_Occurred()) SWIG_fail
;
36684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36685 result
= (wxStaticBoxSizer
*)new wxStaticBoxSizer(arg1
,arg2
);
36687 wxPyEndAllowThreads(__tstate
);
36688 if (PyErr_Occurred()) SWIG_fail
;
36690 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBoxSizer
, 1);
36697 static PyObject
*_wrap_StaticBoxSizer_GetStaticBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36698 PyObject
*resultobj
;
36699 wxStaticBoxSizer
*arg1
= (wxStaticBoxSizer
*) 0 ;
36700 wxStaticBox
*result
;
36701 PyObject
* obj0
= 0 ;
36702 char *kwnames
[] = {
36703 (char *) "self", NULL
36706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBoxSizer_GetStaticBox",kwnames
,&obj0
)) goto fail
;
36707 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBoxSizer
,
36708 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36711 result
= (wxStaticBox
*)(arg1
)->GetStaticBox();
36713 wxPyEndAllowThreads(__tstate
);
36714 if (PyErr_Occurred()) SWIG_fail
;
36717 resultobj
= wxPyMake_wxObject(result
, 0);
36725 static PyObject
* StaticBoxSizer_swigregister(PyObject
*, PyObject
*args
) {
36727 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36728 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBoxSizer
, obj
);
36730 return Py_BuildValue((char *)"");
36732 static PyObject
*_wrap_new_GridSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36733 PyObject
*resultobj
;
36734 int arg1
= (int) 1 ;
36735 int arg2
= (int) 0 ;
36736 int arg3
= (int) 0 ;
36737 int arg4
= (int) 0 ;
36738 wxGridSizer
*result
;
36739 PyObject
* obj0
= 0 ;
36740 PyObject
* obj1
= 0 ;
36741 PyObject
* obj2
= 0 ;
36742 PyObject
* obj3
= 0 ;
36743 char *kwnames
[] = {
36744 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
36747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_GridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
36749 arg1
= (int)SWIG_As_int(obj0
);
36750 if (PyErr_Occurred()) SWIG_fail
;
36753 arg2
= (int)SWIG_As_int(obj1
);
36754 if (PyErr_Occurred()) SWIG_fail
;
36757 arg3
= (int)SWIG_As_int(obj2
);
36758 if (PyErr_Occurred()) SWIG_fail
;
36761 arg4
= (int)SWIG_As_int(obj3
);
36762 if (PyErr_Occurred()) SWIG_fail
;
36765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36766 result
= (wxGridSizer
*)new wxGridSizer(arg1
,arg2
,arg3
,arg4
);
36768 wxPyEndAllowThreads(__tstate
);
36769 if (PyErr_Occurred()) SWIG_fail
;
36771 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridSizer
, 1);
36778 static PyObject
*_wrap_GridSizer_SetCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36779 PyObject
*resultobj
;
36780 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36782 PyObject
* obj0
= 0 ;
36783 PyObject
* obj1
= 0 ;
36784 char *kwnames
[] = {
36785 (char *) "self",(char *) "cols", NULL
36788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetCols",kwnames
,&obj0
,&obj1
)) goto fail
;
36789 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36791 arg2
= (int)SWIG_As_int(obj1
);
36792 if (PyErr_Occurred()) SWIG_fail
;
36794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36795 (arg1
)->SetCols(arg2
);
36797 wxPyEndAllowThreads(__tstate
);
36798 if (PyErr_Occurred()) SWIG_fail
;
36800 Py_INCREF(Py_None
); resultobj
= Py_None
;
36807 static PyObject
*_wrap_GridSizer_SetRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36808 PyObject
*resultobj
;
36809 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36811 PyObject
* obj0
= 0 ;
36812 PyObject
* obj1
= 0 ;
36813 char *kwnames
[] = {
36814 (char *) "self",(char *) "rows", NULL
36817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
;
36818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36820 arg2
= (int)SWIG_As_int(obj1
);
36821 if (PyErr_Occurred()) SWIG_fail
;
36823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36824 (arg1
)->SetRows(arg2
);
36826 wxPyEndAllowThreads(__tstate
);
36827 if (PyErr_Occurred()) SWIG_fail
;
36829 Py_INCREF(Py_None
); resultobj
= Py_None
;
36836 static PyObject
*_wrap_GridSizer_SetVGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36837 PyObject
*resultobj
;
36838 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36840 PyObject
* obj0
= 0 ;
36841 PyObject
* obj1
= 0 ;
36842 char *kwnames
[] = {
36843 (char *) "self",(char *) "gap", NULL
36846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetVGap",kwnames
,&obj0
,&obj1
)) goto fail
;
36847 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36848 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36849 arg2
= (int)SWIG_As_int(obj1
);
36850 if (PyErr_Occurred()) SWIG_fail
;
36852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36853 (arg1
)->SetVGap(arg2
);
36855 wxPyEndAllowThreads(__tstate
);
36856 if (PyErr_Occurred()) SWIG_fail
;
36858 Py_INCREF(Py_None
); resultobj
= Py_None
;
36865 static PyObject
*_wrap_GridSizer_SetHGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36866 PyObject
*resultobj
;
36867 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36869 PyObject
* obj0
= 0 ;
36870 PyObject
* obj1
= 0 ;
36871 char *kwnames
[] = {
36872 (char *) "self",(char *) "gap", NULL
36875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetHGap",kwnames
,&obj0
,&obj1
)) goto fail
;
36876 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36878 arg2
= (int)SWIG_As_int(obj1
);
36879 if (PyErr_Occurred()) SWIG_fail
;
36881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36882 (arg1
)->SetHGap(arg2
);
36884 wxPyEndAllowThreads(__tstate
);
36885 if (PyErr_Occurred()) SWIG_fail
;
36887 Py_INCREF(Py_None
); resultobj
= Py_None
;
36894 static PyObject
*_wrap_GridSizer_GetCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36895 PyObject
*resultobj
;
36896 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36898 PyObject
* obj0
= 0 ;
36899 char *kwnames
[] = {
36900 (char *) "self", NULL
36903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetCols",kwnames
,&obj0
)) goto fail
;
36904 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36905 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36908 result
= (int)(arg1
)->GetCols();
36910 wxPyEndAllowThreads(__tstate
);
36911 if (PyErr_Occurred()) SWIG_fail
;
36913 resultobj
= SWIG_From_int((int)result
);
36920 static PyObject
*_wrap_GridSizer_GetRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36921 PyObject
*resultobj
;
36922 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36924 PyObject
* obj0
= 0 ;
36925 char *kwnames
[] = {
36926 (char *) "self", NULL
36929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetRows",kwnames
,&obj0
)) goto fail
;
36930 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36934 result
= (int)(arg1
)->GetRows();
36936 wxPyEndAllowThreads(__tstate
);
36937 if (PyErr_Occurred()) SWIG_fail
;
36939 resultobj
= SWIG_From_int((int)result
);
36946 static PyObject
*_wrap_GridSizer_GetVGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36947 PyObject
*resultobj
;
36948 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36950 PyObject
* obj0
= 0 ;
36951 char *kwnames
[] = {
36952 (char *) "self", NULL
36955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetVGap",kwnames
,&obj0
)) goto fail
;
36956 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36957 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36960 result
= (int)(arg1
)->GetVGap();
36962 wxPyEndAllowThreads(__tstate
);
36963 if (PyErr_Occurred()) SWIG_fail
;
36965 resultobj
= SWIG_From_int((int)result
);
36972 static PyObject
*_wrap_GridSizer_GetHGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36973 PyObject
*resultobj
;
36974 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36976 PyObject
* obj0
= 0 ;
36977 char *kwnames
[] = {
36978 (char *) "self", NULL
36981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetHGap",kwnames
,&obj0
)) goto fail
;
36982 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36983 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36986 result
= (int)(arg1
)->GetHGap();
36988 wxPyEndAllowThreads(__tstate
);
36989 if (PyErr_Occurred()) SWIG_fail
;
36991 resultobj
= SWIG_From_int((int)result
);
36998 static PyObject
* GridSizer_swigregister(PyObject
*, PyObject
*args
) {
37000 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37001 SWIG_TypeClientData(SWIGTYPE_p_wxGridSizer
, obj
);
37003 return Py_BuildValue((char *)"");
37005 static PyObject
*_wrap_new_FlexGridSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37006 PyObject
*resultobj
;
37007 int arg1
= (int) 1 ;
37008 int arg2
= (int) 0 ;
37009 int arg3
= (int) 0 ;
37010 int arg4
= (int) 0 ;
37011 wxFlexGridSizer
*result
;
37012 PyObject
* obj0
= 0 ;
37013 PyObject
* obj1
= 0 ;
37014 PyObject
* obj2
= 0 ;
37015 PyObject
* obj3
= 0 ;
37016 char *kwnames
[] = {
37017 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
37020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_FlexGridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
37022 arg1
= (int)SWIG_As_int(obj0
);
37023 if (PyErr_Occurred()) SWIG_fail
;
37026 arg2
= (int)SWIG_As_int(obj1
);
37027 if (PyErr_Occurred()) SWIG_fail
;
37030 arg3
= (int)SWIG_As_int(obj2
);
37031 if (PyErr_Occurred()) SWIG_fail
;
37034 arg4
= (int)SWIG_As_int(obj3
);
37035 if (PyErr_Occurred()) SWIG_fail
;
37038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37039 result
= (wxFlexGridSizer
*)new wxFlexGridSizer(arg1
,arg2
,arg3
,arg4
);
37041 wxPyEndAllowThreads(__tstate
);
37042 if (PyErr_Occurred()) SWIG_fail
;
37044 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFlexGridSizer
, 1);
37051 static PyObject
*_wrap_FlexGridSizer_AddGrowableRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37052 PyObject
*resultobj
;
37053 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
37055 int arg3
= (int) 0 ;
37056 PyObject
* obj0
= 0 ;
37057 PyObject
* obj1
= 0 ;
37058 PyObject
* obj2
= 0 ;
37059 char *kwnames
[] = {
37060 (char *) "self",(char *) "idx",(char *) "proportion", NULL
37063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableRow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37064 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
37065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37066 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
37067 if (PyErr_Occurred()) SWIG_fail
;
37069 arg3
= (int)SWIG_As_int(obj2
);
37070 if (PyErr_Occurred()) SWIG_fail
;
37073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37074 (arg1
)->AddGrowableRow(arg2
,arg3
);
37076 wxPyEndAllowThreads(__tstate
);
37077 if (PyErr_Occurred()) SWIG_fail
;
37079 Py_INCREF(Py_None
); resultobj
= Py_None
;
37086 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37087 PyObject
*resultobj
;
37088 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
37090 PyObject
* obj0
= 0 ;
37091 PyObject
* obj1
= 0 ;
37092 char *kwnames
[] = {
37093 (char *) "self",(char *) "idx", NULL
37096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableRow",kwnames
,&obj0
,&obj1
)) goto fail
;
37097 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
37098 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37099 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
37100 if (PyErr_Occurred()) SWIG_fail
;
37102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37103 (arg1
)->RemoveGrowableRow(arg2
);
37105 wxPyEndAllowThreads(__tstate
);
37106 if (PyErr_Occurred()) SWIG_fail
;
37108 Py_INCREF(Py_None
); resultobj
= Py_None
;
37115 static PyObject
*_wrap_FlexGridSizer_AddGrowableCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37116 PyObject
*resultobj
;
37117 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
37119 int arg3
= (int) 0 ;
37120 PyObject
* obj0
= 0 ;
37121 PyObject
* obj1
= 0 ;
37122 PyObject
* obj2
= 0 ;
37123 char *kwnames
[] = {
37124 (char *) "self",(char *) "idx",(char *) "proportion", NULL
37127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableCol",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37128 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
37129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37130 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
37131 if (PyErr_Occurred()) SWIG_fail
;
37133 arg3
= (int)SWIG_As_int(obj2
);
37134 if (PyErr_Occurred()) SWIG_fail
;
37137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37138 (arg1
)->AddGrowableCol(arg2
,arg3
);
37140 wxPyEndAllowThreads(__tstate
);
37141 if (PyErr_Occurred()) SWIG_fail
;
37143 Py_INCREF(Py_None
); resultobj
= Py_None
;
37150 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37151 PyObject
*resultobj
;
37152 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
37154 PyObject
* obj0
= 0 ;
37155 PyObject
* obj1
= 0 ;
37156 char *kwnames
[] = {
37157 (char *) "self",(char *) "idx", NULL
37160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableCol",kwnames
,&obj0
,&obj1
)) goto fail
;
37161 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
37162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37163 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
37164 if (PyErr_Occurred()) SWIG_fail
;
37166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37167 (arg1
)->RemoveGrowableCol(arg2
);
37169 wxPyEndAllowThreads(__tstate
);
37170 if (PyErr_Occurred()) SWIG_fail
;
37172 Py_INCREF(Py_None
); resultobj
= Py_None
;
37179 static PyObject
*_wrap_FlexGridSizer_SetFlexibleDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37180 PyObject
*resultobj
;
37181 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
37183 PyObject
* obj0
= 0 ;
37184 PyObject
* obj1
= 0 ;
37185 char *kwnames
[] = {
37186 (char *) "self",(char *) "direction", NULL
37189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetFlexibleDirection",kwnames
,&obj0
,&obj1
)) goto fail
;
37190 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
37191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37192 arg2
= (int)SWIG_As_int(obj1
);
37193 if (PyErr_Occurred()) SWIG_fail
;
37195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37196 (arg1
)->SetFlexibleDirection(arg2
);
37198 wxPyEndAllowThreads(__tstate
);
37199 if (PyErr_Occurred()) SWIG_fail
;
37201 Py_INCREF(Py_None
); resultobj
= Py_None
;
37208 static PyObject
*_wrap_FlexGridSizer_GetFlexibleDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37209 PyObject
*resultobj
;
37210 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
37212 PyObject
* obj0
= 0 ;
37213 char *kwnames
[] = {
37214 (char *) "self", NULL
37217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetFlexibleDirection",kwnames
,&obj0
)) goto fail
;
37218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
37219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37222 result
= (int)(arg1
)->GetFlexibleDirection();
37224 wxPyEndAllowThreads(__tstate
);
37225 if (PyErr_Occurred()) SWIG_fail
;
37227 resultobj
= SWIG_From_int((int)result
);
37234 static PyObject
*_wrap_FlexGridSizer_SetNonFlexibleGrowMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37235 PyObject
*resultobj
;
37236 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
37238 PyObject
* obj0
= 0 ;
37239 PyObject
* obj1
= 0 ;
37240 char *kwnames
[] = {
37241 (char *) "self",(char *) "mode", NULL
37244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetNonFlexibleGrowMode",kwnames
,&obj0
,&obj1
)) goto fail
;
37245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
37246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37247 arg2
= (int)SWIG_As_int(obj1
);
37248 if (PyErr_Occurred()) SWIG_fail
;
37250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37251 (arg1
)->SetNonFlexibleGrowMode((wxFlexSizerGrowMode
)arg2
);
37253 wxPyEndAllowThreads(__tstate
);
37254 if (PyErr_Occurred()) SWIG_fail
;
37256 Py_INCREF(Py_None
); resultobj
= Py_None
;
37263 static PyObject
*_wrap_FlexGridSizer_GetNonFlexibleGrowMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37264 PyObject
*resultobj
;
37265 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
37267 PyObject
* obj0
= 0 ;
37268 char *kwnames
[] = {
37269 (char *) "self", NULL
37272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetNonFlexibleGrowMode",kwnames
,&obj0
)) goto fail
;
37273 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
37274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37277 result
= (int)(arg1
)->GetNonFlexibleGrowMode();
37279 wxPyEndAllowThreads(__tstate
);
37280 if (PyErr_Occurred()) SWIG_fail
;
37282 resultobj
= SWIG_From_int((int)result
);
37289 static PyObject
*_wrap_FlexGridSizer_GetRowHeights(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37290 PyObject
*resultobj
;
37291 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
37292 wxArrayInt
*result
;
37293 PyObject
* obj0
= 0 ;
37294 char *kwnames
[] = {
37295 (char *) "self", NULL
37298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetRowHeights",kwnames
,&obj0
)) goto fail
;
37299 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
37300 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37304 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetRowHeights();
37305 result
= (wxArrayInt
*) &_result_ref
;
37308 wxPyEndAllowThreads(__tstate
);
37309 if (PyErr_Occurred()) SWIG_fail
;
37312 resultobj
= PyList_New(0);
37314 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
37315 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
37316 PyList_Append(resultobj
, val
);
37326 static PyObject
*_wrap_FlexGridSizer_GetColWidths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37327 PyObject
*resultobj
;
37328 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
37329 wxArrayInt
*result
;
37330 PyObject
* obj0
= 0 ;
37331 char *kwnames
[] = {
37332 (char *) "self", NULL
37335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetColWidths",kwnames
,&obj0
)) goto fail
;
37336 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
37337 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37341 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetColWidths();
37342 result
= (wxArrayInt
*) &_result_ref
;
37345 wxPyEndAllowThreads(__tstate
);
37346 if (PyErr_Occurred()) SWIG_fail
;
37349 resultobj
= PyList_New(0);
37351 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
37352 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
37353 PyList_Append(resultobj
, val
);
37363 static PyObject
* FlexGridSizer_swigregister(PyObject
*, PyObject
*args
) {
37365 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37366 SWIG_TypeClientData(SWIGTYPE_p_wxFlexGridSizer
, obj
);
37368 return Py_BuildValue((char *)"");
37370 static PyObject
*_wrap_new_GBPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37371 PyObject
*resultobj
;
37372 int arg1
= (int) 0 ;
37373 int arg2
= (int) 0 ;
37374 wxGBPosition
*result
;
37375 PyObject
* obj0
= 0 ;
37376 PyObject
* obj1
= 0 ;
37377 char *kwnames
[] = {
37378 (char *) "row",(char *) "col", NULL
37381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
37383 arg1
= (int)SWIG_As_int(obj0
);
37384 if (PyErr_Occurred()) SWIG_fail
;
37387 arg2
= (int)SWIG_As_int(obj1
);
37388 if (PyErr_Occurred()) SWIG_fail
;
37391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37392 result
= (wxGBPosition
*)new wxGBPosition(arg1
,arg2
);
37394 wxPyEndAllowThreads(__tstate
);
37395 if (PyErr_Occurred()) SWIG_fail
;
37397 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBPosition
, 1);
37404 static PyObject
*_wrap_GBPosition_GetRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37405 PyObject
*resultobj
;
37406 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37408 PyObject
* obj0
= 0 ;
37409 char *kwnames
[] = {
37410 (char *) "self", NULL
37413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetRow",kwnames
,&obj0
)) goto fail
;
37414 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37415 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37418 result
= (int)((wxGBPosition
const *)arg1
)->GetRow();
37420 wxPyEndAllowThreads(__tstate
);
37421 if (PyErr_Occurred()) SWIG_fail
;
37423 resultobj
= SWIG_From_int((int)result
);
37430 static PyObject
*_wrap_GBPosition_GetCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37431 PyObject
*resultobj
;
37432 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37434 PyObject
* obj0
= 0 ;
37435 char *kwnames
[] = {
37436 (char *) "self", NULL
37439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetCol",kwnames
,&obj0
)) goto fail
;
37440 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37441 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37444 result
= (int)((wxGBPosition
const *)arg1
)->GetCol();
37446 wxPyEndAllowThreads(__tstate
);
37447 if (PyErr_Occurred()) SWIG_fail
;
37449 resultobj
= SWIG_From_int((int)result
);
37456 static PyObject
*_wrap_GBPosition_SetRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37457 PyObject
*resultobj
;
37458 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37460 PyObject
* obj0
= 0 ;
37461 PyObject
* obj1
= 0 ;
37462 char *kwnames
[] = {
37463 (char *) "self",(char *) "row", NULL
37466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetRow",kwnames
,&obj0
,&obj1
)) goto fail
;
37467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37469 arg2
= (int)SWIG_As_int(obj1
);
37470 if (PyErr_Occurred()) SWIG_fail
;
37472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37473 (arg1
)->SetRow(arg2
);
37475 wxPyEndAllowThreads(__tstate
);
37476 if (PyErr_Occurred()) SWIG_fail
;
37478 Py_INCREF(Py_None
); resultobj
= Py_None
;
37485 static PyObject
*_wrap_GBPosition_SetCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37486 PyObject
*resultobj
;
37487 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37489 PyObject
* obj0
= 0 ;
37490 PyObject
* obj1
= 0 ;
37491 char *kwnames
[] = {
37492 (char *) "self",(char *) "col", NULL
37495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetCol",kwnames
,&obj0
,&obj1
)) goto fail
;
37496 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37497 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37498 arg2
= (int)SWIG_As_int(obj1
);
37499 if (PyErr_Occurred()) SWIG_fail
;
37501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37502 (arg1
)->SetCol(arg2
);
37504 wxPyEndAllowThreads(__tstate
);
37505 if (PyErr_Occurred()) SWIG_fail
;
37507 Py_INCREF(Py_None
); resultobj
= Py_None
;
37514 static PyObject
*_wrap_GBPosition___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37515 PyObject
*resultobj
;
37516 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37517 wxGBPosition
*arg2
= 0 ;
37519 wxGBPosition temp2
;
37520 PyObject
* obj0
= 0 ;
37521 PyObject
* obj1
= 0 ;
37522 char *kwnames
[] = {
37523 (char *) "self",(char *) "other", NULL
37526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
37527 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37528 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37531 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
37534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37535 result
= (bool)(arg1
)->operator ==((wxGBPosition
const &)*arg2
);
37537 wxPyEndAllowThreads(__tstate
);
37538 if (PyErr_Occurred()) SWIG_fail
;
37541 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37549 static PyObject
*_wrap_GBPosition___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37550 PyObject
*resultobj
;
37551 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37552 wxGBPosition
*arg2
= 0 ;
37554 wxGBPosition temp2
;
37555 PyObject
* obj0
= 0 ;
37556 PyObject
* obj1
= 0 ;
37557 char *kwnames
[] = {
37558 (char *) "self",(char *) "other", NULL
37561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
37562 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37566 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
37569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37570 result
= (bool)(arg1
)->operator !=((wxGBPosition
const &)*arg2
);
37572 wxPyEndAllowThreads(__tstate
);
37573 if (PyErr_Occurred()) SWIG_fail
;
37576 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37584 static PyObject
*_wrap_GBPosition_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37585 PyObject
*resultobj
;
37586 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37587 int arg2
= (int) 0 ;
37588 int arg3
= (int) 0 ;
37589 PyObject
* obj0
= 0 ;
37590 PyObject
* obj1
= 0 ;
37591 PyObject
* obj2
= 0 ;
37592 char *kwnames
[] = {
37593 (char *) "self",(char *) "row",(char *) "col", NULL
37596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBPosition_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37597 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37598 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37600 arg2
= (int)SWIG_As_int(obj1
);
37601 if (PyErr_Occurred()) SWIG_fail
;
37604 arg3
= (int)SWIG_As_int(obj2
);
37605 if (PyErr_Occurred()) SWIG_fail
;
37608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37609 wxGBPosition_Set(arg1
,arg2
,arg3
);
37611 wxPyEndAllowThreads(__tstate
);
37612 if (PyErr_Occurred()) SWIG_fail
;
37614 Py_INCREF(Py_None
); resultobj
= Py_None
;
37621 static PyObject
*_wrap_GBPosition_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37622 PyObject
*resultobj
;
37623 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37625 PyObject
* obj0
= 0 ;
37626 char *kwnames
[] = {
37627 (char *) "self", NULL
37630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_Get",kwnames
,&obj0
)) goto fail
;
37631 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37632 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37635 result
= (PyObject
*)wxGBPosition_Get(arg1
);
37637 wxPyEndAllowThreads(__tstate
);
37638 if (PyErr_Occurred()) SWIG_fail
;
37640 resultobj
= result
;
37647 static PyObject
* GBPosition_swigregister(PyObject
*, PyObject
*args
) {
37649 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37650 SWIG_TypeClientData(SWIGTYPE_p_wxGBPosition
, obj
);
37652 return Py_BuildValue((char *)"");
37654 static PyObject
*_wrap_new_GBSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37655 PyObject
*resultobj
;
37656 int arg1
= (int) 1 ;
37657 int arg2
= (int) 1 ;
37659 PyObject
* obj0
= 0 ;
37660 PyObject
* obj1
= 0 ;
37661 char *kwnames
[] = {
37662 (char *) "rowspan",(char *) "colspan", NULL
37665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
37667 arg1
= (int)SWIG_As_int(obj0
);
37668 if (PyErr_Occurred()) SWIG_fail
;
37671 arg2
= (int)SWIG_As_int(obj1
);
37672 if (PyErr_Occurred()) SWIG_fail
;
37675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37676 result
= (wxGBSpan
*)new wxGBSpan(arg1
,arg2
);
37678 wxPyEndAllowThreads(__tstate
);
37679 if (PyErr_Occurred()) SWIG_fail
;
37681 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSpan
, 1);
37688 static PyObject
*_wrap_GBSpan_GetRowspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37689 PyObject
*resultobj
;
37690 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37692 PyObject
* obj0
= 0 ;
37693 char *kwnames
[] = {
37694 (char *) "self", NULL
37697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetRowspan",kwnames
,&obj0
)) goto fail
;
37698 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37699 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37702 result
= (int)((wxGBSpan
const *)arg1
)->GetRowspan();
37704 wxPyEndAllowThreads(__tstate
);
37705 if (PyErr_Occurred()) SWIG_fail
;
37707 resultobj
= SWIG_From_int((int)result
);
37714 static PyObject
*_wrap_GBSpan_GetColspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37715 PyObject
*resultobj
;
37716 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37718 PyObject
* obj0
= 0 ;
37719 char *kwnames
[] = {
37720 (char *) "self", NULL
37723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetColspan",kwnames
,&obj0
)) goto fail
;
37724 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37728 result
= (int)((wxGBSpan
const *)arg1
)->GetColspan();
37730 wxPyEndAllowThreads(__tstate
);
37731 if (PyErr_Occurred()) SWIG_fail
;
37733 resultobj
= SWIG_From_int((int)result
);
37740 static PyObject
*_wrap_GBSpan_SetRowspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37741 PyObject
*resultobj
;
37742 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37744 PyObject
* obj0
= 0 ;
37745 PyObject
* obj1
= 0 ;
37746 char *kwnames
[] = {
37747 (char *) "self",(char *) "rowspan", NULL
37750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetRowspan",kwnames
,&obj0
,&obj1
)) goto fail
;
37751 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37752 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37753 arg2
= (int)SWIG_As_int(obj1
);
37754 if (PyErr_Occurred()) SWIG_fail
;
37756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37757 (arg1
)->SetRowspan(arg2
);
37759 wxPyEndAllowThreads(__tstate
);
37760 if (PyErr_Occurred()) SWIG_fail
;
37762 Py_INCREF(Py_None
); resultobj
= Py_None
;
37769 static PyObject
*_wrap_GBSpan_SetColspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37770 PyObject
*resultobj
;
37771 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37773 PyObject
* obj0
= 0 ;
37774 PyObject
* obj1
= 0 ;
37775 char *kwnames
[] = {
37776 (char *) "self",(char *) "colspan", NULL
37779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetColspan",kwnames
,&obj0
,&obj1
)) goto fail
;
37780 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37781 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37782 arg2
= (int)SWIG_As_int(obj1
);
37783 if (PyErr_Occurred()) SWIG_fail
;
37785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37786 (arg1
)->SetColspan(arg2
);
37788 wxPyEndAllowThreads(__tstate
);
37789 if (PyErr_Occurred()) SWIG_fail
;
37791 Py_INCREF(Py_None
); resultobj
= Py_None
;
37798 static PyObject
*_wrap_GBSpan___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37799 PyObject
*resultobj
;
37800 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37801 wxGBSpan
*arg2
= 0 ;
37804 PyObject
* obj0
= 0 ;
37805 PyObject
* obj1
= 0 ;
37806 char *kwnames
[] = {
37807 (char *) "self",(char *) "other", NULL
37810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
37811 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37812 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37815 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
37818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37819 result
= (bool)(arg1
)->operator ==((wxGBSpan
const &)*arg2
);
37821 wxPyEndAllowThreads(__tstate
);
37822 if (PyErr_Occurred()) SWIG_fail
;
37825 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37833 static PyObject
*_wrap_GBSpan___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37834 PyObject
*resultobj
;
37835 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37836 wxGBSpan
*arg2
= 0 ;
37839 PyObject
* obj0
= 0 ;
37840 PyObject
* obj1
= 0 ;
37841 char *kwnames
[] = {
37842 (char *) "self",(char *) "other", NULL
37845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
37846 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37847 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37850 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
37853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37854 result
= (bool)(arg1
)->operator !=((wxGBSpan
const &)*arg2
);
37856 wxPyEndAllowThreads(__tstate
);
37857 if (PyErr_Occurred()) SWIG_fail
;
37860 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37868 static PyObject
*_wrap_GBSpan_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37869 PyObject
*resultobj
;
37870 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37871 int arg2
= (int) 1 ;
37872 int arg3
= (int) 1 ;
37873 PyObject
* obj0
= 0 ;
37874 PyObject
* obj1
= 0 ;
37875 PyObject
* obj2
= 0 ;
37876 char *kwnames
[] = {
37877 (char *) "self",(char *) "rowspan",(char *) "colspan", NULL
37880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBSpan_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37881 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37882 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37884 arg2
= (int)SWIG_As_int(obj1
);
37885 if (PyErr_Occurred()) SWIG_fail
;
37888 arg3
= (int)SWIG_As_int(obj2
);
37889 if (PyErr_Occurred()) SWIG_fail
;
37892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37893 wxGBSpan_Set(arg1
,arg2
,arg3
);
37895 wxPyEndAllowThreads(__tstate
);
37896 if (PyErr_Occurred()) SWIG_fail
;
37898 Py_INCREF(Py_None
); resultobj
= Py_None
;
37905 static PyObject
*_wrap_GBSpan_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37906 PyObject
*resultobj
;
37907 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37909 PyObject
* obj0
= 0 ;
37910 char *kwnames
[] = {
37911 (char *) "self", NULL
37914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_Get",kwnames
,&obj0
)) goto fail
;
37915 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37919 result
= (PyObject
*)wxGBSpan_Get(arg1
);
37921 wxPyEndAllowThreads(__tstate
);
37922 if (PyErr_Occurred()) SWIG_fail
;
37924 resultobj
= result
;
37931 static PyObject
* GBSpan_swigregister(PyObject
*, PyObject
*args
) {
37933 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37934 SWIG_TypeClientData(SWIGTYPE_p_wxGBSpan
, obj
);
37936 return Py_BuildValue((char *)"");
37938 static int _wrap_DefaultSpan_set(PyObject
*) {
37939 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSpan is read-only.");
37944 static PyObject
*_wrap_DefaultSpan_get() {
37947 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultSpan
), SWIGTYPE_p_wxGBSpan
, 0);
37952 static PyObject
*_wrap_new_GBSizerItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37953 PyObject
*resultobj
;
37954 wxGBSizerItem
*result
;
37955 char *kwnames
[] = {
37959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GBSizerItem",kwnames
)) goto fail
;
37961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37962 result
= (wxGBSizerItem
*)new wxGBSizerItem();
37964 wxPyEndAllowThreads(__tstate
);
37965 if (PyErr_Occurred()) SWIG_fail
;
37967 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
37974 static PyObject
*_wrap_new_GBSizerItemWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37975 PyObject
*resultobj
;
37976 wxWindow
*arg1
= (wxWindow
*) 0 ;
37977 wxGBPosition
*arg2
= 0 ;
37978 wxGBSpan
*arg3
= 0 ;
37981 PyObject
*arg6
= (PyObject
*) NULL
;
37982 wxGBSizerItem
*result
;
37983 wxGBPosition temp2
;
37985 PyObject
* obj0
= 0 ;
37986 PyObject
* obj1
= 0 ;
37987 PyObject
* obj2
= 0 ;
37988 PyObject
* obj3
= 0 ;
37989 PyObject
* obj4
= 0 ;
37990 PyObject
* obj5
= 0 ;
37991 char *kwnames
[] = {
37992 (char *) "window",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
37995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_GBSizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
37996 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
37997 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38000 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
38004 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
38006 arg4
= (int)SWIG_As_int(obj3
);
38007 if (PyErr_Occurred()) SWIG_fail
;
38008 arg5
= (int)SWIG_As_int(obj4
);
38009 if (PyErr_Occurred()) SWIG_fail
;
38014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38015 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
38017 wxPyEndAllowThreads(__tstate
);
38018 if (PyErr_Occurred()) SWIG_fail
;
38020 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
38027 static PyObject
*_wrap_new_GBSizerItemSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38028 PyObject
*resultobj
;
38029 wxSizer
*arg1
= (wxSizer
*) 0 ;
38030 wxGBPosition
*arg2
= 0 ;
38031 wxGBSpan
*arg3
= 0 ;
38034 PyObject
*arg6
= (PyObject
*) NULL
;
38035 wxGBSizerItem
*result
;
38036 wxGBPosition temp2
;
38038 PyObject
* obj0
= 0 ;
38039 PyObject
* obj1
= 0 ;
38040 PyObject
* obj2
= 0 ;
38041 PyObject
* obj3
= 0 ;
38042 PyObject
* obj4
= 0 ;
38043 PyObject
* obj5
= 0 ;
38044 char *kwnames
[] = {
38045 (char *) "sizer",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
38048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_GBSizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
38049 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
38050 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38053 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
38057 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
38059 arg4
= (int)SWIG_As_int(obj3
);
38060 if (PyErr_Occurred()) SWIG_fail
;
38061 arg5
= (int)SWIG_As_int(obj4
);
38062 if (PyErr_Occurred()) SWIG_fail
;
38067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38068 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
38070 wxPyEndAllowThreads(__tstate
);
38071 if (PyErr_Occurred()) SWIG_fail
;
38073 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
38080 static PyObject
*_wrap_new_GBSizerItemSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38081 PyObject
*resultobj
;
38084 wxGBPosition
*arg3
= 0 ;
38085 wxGBSpan
*arg4
= 0 ;
38088 PyObject
*arg7
= (PyObject
*) NULL
;
38089 wxGBSizerItem
*result
;
38090 wxGBPosition temp3
;
38092 PyObject
* obj0
= 0 ;
38093 PyObject
* obj1
= 0 ;
38094 PyObject
* obj2
= 0 ;
38095 PyObject
* obj3
= 0 ;
38096 PyObject
* obj4
= 0 ;
38097 PyObject
* obj5
= 0 ;
38098 PyObject
* obj6
= 0 ;
38099 char *kwnames
[] = {
38100 (char *) "width",(char *) "height",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
38103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:new_GBSizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
38104 arg1
= (int)SWIG_As_int(obj0
);
38105 if (PyErr_Occurred()) SWIG_fail
;
38106 arg2
= (int)SWIG_As_int(obj1
);
38107 if (PyErr_Occurred()) SWIG_fail
;
38110 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
38114 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
38116 arg5
= (int)SWIG_As_int(obj4
);
38117 if (PyErr_Occurred()) SWIG_fail
;
38118 arg6
= (int)SWIG_As_int(obj5
);
38119 if (PyErr_Occurred()) SWIG_fail
;
38124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38125 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
38127 wxPyEndAllowThreads(__tstate
);
38128 if (PyErr_Occurred()) SWIG_fail
;
38130 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
38137 static PyObject
*_wrap_GBSizerItem_GetPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38138 PyObject
*resultobj
;
38139 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
38140 wxGBPosition result
;
38141 PyObject
* obj0
= 0 ;
38142 char *kwnames
[] = {
38143 (char *) "self", NULL
38146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetPos",kwnames
,&obj0
)) goto fail
;
38147 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
38148 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38151 result
= ((wxGBSizerItem
const *)arg1
)->GetPos();
38153 wxPyEndAllowThreads(__tstate
);
38154 if (PyErr_Occurred()) SWIG_fail
;
38157 wxGBPosition
* resultptr
;
38158 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
38159 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
38167 static PyObject
*_wrap_GBSizerItem_GetSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38168 PyObject
*resultobj
;
38169 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
38171 PyObject
* obj0
= 0 ;
38172 char *kwnames
[] = {
38173 (char *) "self", NULL
38176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetSpan",kwnames
,&obj0
)) goto fail
;
38177 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
38178 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38181 result
= ((wxGBSizerItem
const *)arg1
)->GetSpan();
38183 wxPyEndAllowThreads(__tstate
);
38184 if (PyErr_Occurred()) SWIG_fail
;
38187 wxGBSpan
* resultptr
;
38188 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
38189 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
38197 static PyObject
*_wrap_GBSizerItem_SetPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38198 PyObject
*resultobj
;
38199 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
38200 wxGBPosition
*arg2
= 0 ;
38202 wxGBPosition temp2
;
38203 PyObject
* obj0
= 0 ;
38204 PyObject
* obj1
= 0 ;
38205 char *kwnames
[] = {
38206 (char *) "self",(char *) "pos", NULL
38209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetPos",kwnames
,&obj0
,&obj1
)) goto fail
;
38210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
38211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38214 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
38217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38218 result
= (bool)(arg1
)->SetPos((wxGBPosition
const &)*arg2
);
38220 wxPyEndAllowThreads(__tstate
);
38221 if (PyErr_Occurred()) SWIG_fail
;
38224 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38232 static PyObject
*_wrap_GBSizerItem_SetSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38233 PyObject
*resultobj
;
38234 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
38235 wxGBSpan
*arg2
= 0 ;
38238 PyObject
* obj0
= 0 ;
38239 PyObject
* obj1
= 0 ;
38240 char *kwnames
[] = {
38241 (char *) "self",(char *) "span", NULL
38244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
38245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
38246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38249 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
38252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38253 result
= (bool)(arg1
)->SetSpan((wxGBSpan
const &)*arg2
);
38255 wxPyEndAllowThreads(__tstate
);
38256 if (PyErr_Occurred()) SWIG_fail
;
38259 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38267 static PyObject
*_wrap_GBSizerItem_Intersects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38268 PyObject
*resultobj
;
38269 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
38270 wxGBSizerItem
*arg2
= 0 ;
38272 PyObject
* obj0
= 0 ;
38273 PyObject
* obj1
= 0 ;
38274 char *kwnames
[] = {
38275 (char *) "self",(char *) "other", NULL
38278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_Intersects",kwnames
,&obj0
,&obj1
)) goto fail
;
38279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
38280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38281 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGBSizerItem
,
38282 SWIG_POINTER_EXCEPTION
| 0)) == -1)
38284 if (arg2
== NULL
) {
38285 PyErr_SetString(PyExc_TypeError
,"null reference");
38289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38290 result
= (bool)(arg1
)->Intersects((wxGBSizerItem
const &)*arg2
);
38292 wxPyEndAllowThreads(__tstate
);
38293 if (PyErr_Occurred()) SWIG_fail
;
38296 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38304 static PyObject
*_wrap_GBSizerItem_IntersectsPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38305 PyObject
*resultobj
;
38306 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
38307 wxGBPosition
*arg2
= 0 ;
38308 wxGBSpan
*arg3
= 0 ;
38310 wxGBPosition temp2
;
38312 PyObject
* obj0
= 0 ;
38313 PyObject
* obj1
= 0 ;
38314 PyObject
* obj2
= 0 ;
38315 char *kwnames
[] = {
38316 (char *) "self",(char *) "pos",(char *) "span", NULL
38319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GBSizerItem_IntersectsPos",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38320 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
38321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38324 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
38328 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
38331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38332 result
= (bool)(arg1
)->Intersects((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
);
38334 wxPyEndAllowThreads(__tstate
);
38335 if (PyErr_Occurred()) SWIG_fail
;
38338 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38346 static PyObject
*_wrap_GBSizerItem_GetEndPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38347 PyObject
*resultobj
;
38348 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
38349 wxGBPosition result
;
38350 PyObject
* obj0
= 0 ;
38351 char *kwnames
[] = {
38352 (char *) "self", NULL
38355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetEndPos",kwnames
,&obj0
)) goto fail
;
38356 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
38357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38360 result
= wxGBSizerItem_GetEndPos(arg1
);
38362 wxPyEndAllowThreads(__tstate
);
38363 if (PyErr_Occurred()) SWIG_fail
;
38366 wxGBPosition
* resultptr
;
38367 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
38368 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
38376 static PyObject
*_wrap_GBSizerItem_GetGBSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38377 PyObject
*resultobj
;
38378 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
38379 wxGridBagSizer
*result
;
38380 PyObject
* obj0
= 0 ;
38381 char *kwnames
[] = {
38382 (char *) "self", NULL
38385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetGBSizer",kwnames
,&obj0
)) goto fail
;
38386 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
38387 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38390 result
= (wxGridBagSizer
*)((wxGBSizerItem
const *)arg1
)->GetGBSizer();
38392 wxPyEndAllowThreads(__tstate
);
38393 if (PyErr_Occurred()) SWIG_fail
;
38395 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridBagSizer
, 0);
38402 static PyObject
*_wrap_GBSizerItem_SetGBSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38403 PyObject
*resultobj
;
38404 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
38405 wxGridBagSizer
*arg2
= (wxGridBagSizer
*) 0 ;
38406 PyObject
* obj0
= 0 ;
38407 PyObject
* obj1
= 0 ;
38408 char *kwnames
[] = {
38409 (char *) "self",(char *) "sizer", NULL
38412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetGBSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
38413 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
38414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38415 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridBagSizer
,
38416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38419 (arg1
)->SetGBSizer(arg2
);
38421 wxPyEndAllowThreads(__tstate
);
38422 if (PyErr_Occurred()) SWIG_fail
;
38424 Py_INCREF(Py_None
); resultobj
= Py_None
;
38431 static PyObject
* GBSizerItem_swigregister(PyObject
*, PyObject
*args
) {
38433 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
38434 SWIG_TypeClientData(SWIGTYPE_p_wxGBSizerItem
, obj
);
38436 return Py_BuildValue((char *)"");
38438 static PyObject
*_wrap_new_GridBagSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38439 PyObject
*resultobj
;
38440 int arg1
= (int) 0 ;
38441 int arg2
= (int) 0 ;
38442 wxGridBagSizer
*result
;
38443 PyObject
* obj0
= 0 ;
38444 PyObject
* obj1
= 0 ;
38445 char *kwnames
[] = {
38446 (char *) "vgap",(char *) "hgap", NULL
38449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridBagSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
38451 arg1
= (int)SWIG_As_int(obj0
);
38452 if (PyErr_Occurred()) SWIG_fail
;
38455 arg2
= (int)SWIG_As_int(obj1
);
38456 if (PyErr_Occurred()) SWIG_fail
;
38459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38460 result
= (wxGridBagSizer
*)new wxGridBagSizer(arg1
,arg2
);
38462 wxPyEndAllowThreads(__tstate
);
38463 if (PyErr_Occurred()) SWIG_fail
;
38465 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridBagSizer
, 1);
38472 static PyObject
*_wrap_GridBagSizer_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38473 PyObject
*resultobj
;
38474 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38475 PyObject
*arg2
= (PyObject
*) 0 ;
38476 wxGBPosition
*arg3
= 0 ;
38477 wxGBSpan
const &arg4_defvalue
= wxDefaultSpan
;
38478 wxGBSpan
*arg4
= (wxGBSpan
*) &arg4_defvalue
;
38479 int arg5
= (int) 0 ;
38480 int arg6
= (int) 0 ;
38481 PyObject
*arg7
= (PyObject
*) NULL
;
38483 wxGBPosition temp3
;
38485 PyObject
* obj0
= 0 ;
38486 PyObject
* obj1
= 0 ;
38487 PyObject
* obj2
= 0 ;
38488 PyObject
* obj3
= 0 ;
38489 PyObject
* obj4
= 0 ;
38490 PyObject
* obj5
= 0 ;
38491 PyObject
* obj6
= 0 ;
38492 char *kwnames
[] = {
38493 (char *) "self",(char *) "item",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
38496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:GridBagSizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
38497 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38498 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38502 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
38507 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
38511 arg5
= (int)SWIG_As_int(obj4
);
38512 if (PyErr_Occurred()) SWIG_fail
;
38515 arg6
= (int)SWIG_As_int(obj5
);
38516 if (PyErr_Occurred()) SWIG_fail
;
38522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38523 result
= (bool)wxGridBagSizer_Add(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
38525 wxPyEndAllowThreads(__tstate
);
38526 if (PyErr_Occurred()) SWIG_fail
;
38529 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38537 static PyObject
*_wrap_GridBagSizer_AddItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38538 PyObject
*resultobj
;
38539 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38540 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
38542 PyObject
* obj0
= 0 ;
38543 PyObject
* obj1
= 0 ;
38544 char *kwnames
[] = {
38545 (char *) "self",(char *) "item", NULL
38548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
38549 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38551 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGBSizerItem
,
38552 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38555 result
= (bool)(arg1
)->Add(arg2
);
38557 wxPyEndAllowThreads(__tstate
);
38558 if (PyErr_Occurred()) SWIG_fail
;
38561 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38569 static PyObject
*_wrap_GridBagSizer_GetEmptyCellSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38570 PyObject
*resultobj
;
38571 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38573 PyObject
* obj0
= 0 ;
38574 char *kwnames
[] = {
38575 (char *) "self", NULL
38578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridBagSizer_GetEmptyCellSize",kwnames
,&obj0
)) goto fail
;
38579 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38583 result
= ((wxGridBagSizer
const *)arg1
)->GetEmptyCellSize();
38585 wxPyEndAllowThreads(__tstate
);
38586 if (PyErr_Occurred()) SWIG_fail
;
38589 wxSize
* resultptr
;
38590 resultptr
= new wxSize((wxSize
&) result
);
38591 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
38599 static PyObject
*_wrap_GridBagSizer_SetEmptyCellSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38600 PyObject
*resultobj
;
38601 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38604 PyObject
* obj0
= 0 ;
38605 PyObject
* obj1
= 0 ;
38606 char *kwnames
[] = {
38607 (char *) "self",(char *) "sz", NULL
38610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_SetEmptyCellSize",kwnames
,&obj0
,&obj1
)) goto fail
;
38611 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38612 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38615 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
38618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38619 (arg1
)->SetEmptyCellSize((wxSize
const &)*arg2
);
38621 wxPyEndAllowThreads(__tstate
);
38622 if (PyErr_Occurred()) SWIG_fail
;
38624 Py_INCREF(Py_None
); resultobj
= Py_None
;
38631 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_0(PyObject
*, PyObject
*args
) {
38632 PyObject
*resultobj
;
38633 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38634 wxWindow
*arg2
= (wxWindow
*) 0 ;
38635 wxGBPosition result
;
38636 PyObject
* obj0
= 0 ;
38637 PyObject
* obj1
= 0 ;
38639 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
38640 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38641 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38642 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
38643 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38646 result
= (arg1
)->GetItemPosition(arg2
);
38648 wxPyEndAllowThreads(__tstate
);
38649 if (PyErr_Occurred()) SWIG_fail
;
38652 wxGBPosition
* resultptr
;
38653 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
38654 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
38662 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_1(PyObject
*, PyObject
*args
) {
38663 PyObject
*resultobj
;
38664 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38665 wxSizer
*arg2
= (wxSizer
*) 0 ;
38666 wxGBPosition result
;
38667 PyObject
* obj0
= 0 ;
38668 PyObject
* obj1
= 0 ;
38670 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
38671 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38672 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38673 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
38674 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38677 result
= (arg1
)->GetItemPosition(arg2
);
38679 wxPyEndAllowThreads(__tstate
);
38680 if (PyErr_Occurred()) SWIG_fail
;
38683 wxGBPosition
* resultptr
;
38684 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
38685 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
38693 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_2(PyObject
*, PyObject
*args
) {
38694 PyObject
*resultobj
;
38695 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38697 wxGBPosition result
;
38698 PyObject
* obj0
= 0 ;
38699 PyObject
* obj1
= 0 ;
38701 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
38702 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38703 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38704 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
38705 if (PyErr_Occurred()) SWIG_fail
;
38707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38708 result
= (arg1
)->GetItemPosition(arg2
);
38710 wxPyEndAllowThreads(__tstate
);
38711 if (PyErr_Occurred()) SWIG_fail
;
38714 wxGBPosition
* resultptr
;
38715 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
38716 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
38724 static PyObject
*_wrap_GridBagSizer_GetItemPosition(PyObject
*self
, PyObject
*args
) {
38729 argc
= PyObject_Length(args
);
38730 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
38731 argv
[ii
] = PyTuple_GetItem(args
,ii
);
38737 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38747 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
38755 return _wrap_GridBagSizer_GetItemPosition__SWIG_0(self
,args
);
38763 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38773 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
38781 return _wrap_GridBagSizer_GetItemPosition__SWIG_1(self
,args
);
38789 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38797 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
38799 return _wrap_GridBagSizer_GetItemPosition__SWIG_2(self
,args
);
38804 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_GetItemPosition'");
38809 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_0(PyObject
*, PyObject
*args
) {
38810 PyObject
*resultobj
;
38811 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38812 wxWindow
*arg2
= (wxWindow
*) 0 ;
38813 wxGBPosition
*arg3
= 0 ;
38815 wxGBPosition temp3
;
38816 PyObject
* obj0
= 0 ;
38817 PyObject
* obj1
= 0 ;
38818 PyObject
* obj2
= 0 ;
38820 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
38821 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38823 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
38824 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38827 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
38830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38831 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
38833 wxPyEndAllowThreads(__tstate
);
38834 if (PyErr_Occurred()) SWIG_fail
;
38837 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38845 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_1(PyObject
*, PyObject
*args
) {
38846 PyObject
*resultobj
;
38847 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38848 wxSizer
*arg2
= (wxSizer
*) 0 ;
38849 wxGBPosition
*arg3
= 0 ;
38851 wxGBPosition temp3
;
38852 PyObject
* obj0
= 0 ;
38853 PyObject
* obj1
= 0 ;
38854 PyObject
* obj2
= 0 ;
38856 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
38857 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38859 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
38860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38863 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
38866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38867 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
38869 wxPyEndAllowThreads(__tstate
);
38870 if (PyErr_Occurred()) SWIG_fail
;
38873 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38881 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_2(PyObject
*, PyObject
*args
) {
38882 PyObject
*resultobj
;
38883 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38885 wxGBPosition
*arg3
= 0 ;
38887 wxGBPosition temp3
;
38888 PyObject
* obj0
= 0 ;
38889 PyObject
* obj1
= 0 ;
38890 PyObject
* obj2
= 0 ;
38892 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
38893 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38895 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
38896 if (PyErr_Occurred()) SWIG_fail
;
38899 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
38902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38903 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
38905 wxPyEndAllowThreads(__tstate
);
38906 if (PyErr_Occurred()) SWIG_fail
;
38909 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38917 static PyObject
*_wrap_GridBagSizer_SetItemPosition(PyObject
*self
, PyObject
*args
) {
38922 argc
= PyObject_Length(args
);
38923 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
38924 argv
[ii
] = PyTuple_GetItem(args
,ii
);
38930 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38940 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
38949 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
38952 return _wrap_GridBagSizer_SetItemPosition__SWIG_0(self
,args
);
38961 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38971 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
38980 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
38983 return _wrap_GridBagSizer_SetItemPosition__SWIG_1(self
,args
);
38992 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39000 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
39003 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
39006 return _wrap_GridBagSizer_SetItemPosition__SWIG_2(self
,args
);
39012 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_SetItemPosition'");
39017 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_0(PyObject
*, PyObject
*args
) {
39018 PyObject
*resultobj
;
39019 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39020 wxWindow
*arg2
= (wxWindow
*) 0 ;
39022 PyObject
* obj0
= 0 ;
39023 PyObject
* obj1
= 0 ;
39025 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
39026 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39027 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39028 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39029 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39032 result
= (arg1
)->GetItemSpan(arg2
);
39034 wxPyEndAllowThreads(__tstate
);
39035 if (PyErr_Occurred()) SWIG_fail
;
39038 wxGBSpan
* resultptr
;
39039 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
39040 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
39048 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_1(PyObject
*, PyObject
*args
) {
39049 PyObject
*resultobj
;
39050 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39051 wxSizer
*arg2
= (wxSizer
*) 0 ;
39053 PyObject
* obj0
= 0 ;
39054 PyObject
* obj1
= 0 ;
39056 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
39057 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39058 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39059 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
39060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39063 result
= (arg1
)->GetItemSpan(arg2
);
39065 wxPyEndAllowThreads(__tstate
);
39066 if (PyErr_Occurred()) SWIG_fail
;
39069 wxGBSpan
* resultptr
;
39070 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
39071 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
39079 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_2(PyObject
*, PyObject
*args
) {
39080 PyObject
*resultobj
;
39081 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39084 PyObject
* obj0
= 0 ;
39085 PyObject
* obj1
= 0 ;
39087 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
39088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39090 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
39091 if (PyErr_Occurred()) SWIG_fail
;
39093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39094 result
= (arg1
)->GetItemSpan(arg2
);
39096 wxPyEndAllowThreads(__tstate
);
39097 if (PyErr_Occurred()) SWIG_fail
;
39100 wxGBSpan
* resultptr
;
39101 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
39102 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
39110 static PyObject
*_wrap_GridBagSizer_GetItemSpan(PyObject
*self
, PyObject
*args
) {
39115 argc
= PyObject_Length(args
);
39116 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
39117 argv
[ii
] = PyTuple_GetItem(args
,ii
);
39123 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39133 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
39141 return _wrap_GridBagSizer_GetItemSpan__SWIG_0(self
,args
);
39149 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39159 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
39167 return _wrap_GridBagSizer_GetItemSpan__SWIG_1(self
,args
);
39175 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39183 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
39185 return _wrap_GridBagSizer_GetItemSpan__SWIG_2(self
,args
);
39190 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_GetItemSpan'");
39195 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_0(PyObject
*, PyObject
*args
) {
39196 PyObject
*resultobj
;
39197 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39198 wxWindow
*arg2
= (wxWindow
*) 0 ;
39199 wxGBSpan
*arg3
= 0 ;
39202 PyObject
* obj0
= 0 ;
39203 PyObject
* obj1
= 0 ;
39204 PyObject
* obj2
= 0 ;
39206 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
39207 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39209 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39213 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
39216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39217 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
39219 wxPyEndAllowThreads(__tstate
);
39220 if (PyErr_Occurred()) SWIG_fail
;
39223 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39231 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_1(PyObject
*, PyObject
*args
) {
39232 PyObject
*resultobj
;
39233 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39234 wxSizer
*arg2
= (wxSizer
*) 0 ;
39235 wxGBSpan
*arg3
= 0 ;
39238 PyObject
* obj0
= 0 ;
39239 PyObject
* obj1
= 0 ;
39240 PyObject
* obj2
= 0 ;
39242 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
39243 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39244 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39245 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
39246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39249 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
39252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39253 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
39255 wxPyEndAllowThreads(__tstate
);
39256 if (PyErr_Occurred()) SWIG_fail
;
39259 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39267 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_2(PyObject
*, PyObject
*args
) {
39268 PyObject
*resultobj
;
39269 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39271 wxGBSpan
*arg3
= 0 ;
39274 PyObject
* obj0
= 0 ;
39275 PyObject
* obj1
= 0 ;
39276 PyObject
* obj2
= 0 ;
39278 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
39279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39281 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
39282 if (PyErr_Occurred()) SWIG_fail
;
39285 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
39288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39289 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
39291 wxPyEndAllowThreads(__tstate
);
39292 if (PyErr_Occurred()) SWIG_fail
;
39295 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39303 static PyObject
*_wrap_GridBagSizer_SetItemSpan(PyObject
*self
, PyObject
*args
) {
39308 argc
= PyObject_Length(args
);
39309 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
39310 argv
[ii
] = PyTuple_GetItem(args
,ii
);
39316 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39326 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
39335 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
39338 return _wrap_GridBagSizer_SetItemSpan__SWIG_0(self
,args
);
39347 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39357 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
39366 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
39369 return _wrap_GridBagSizer_SetItemSpan__SWIG_1(self
,args
);
39378 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39386 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
39389 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
39392 return _wrap_GridBagSizer_SetItemSpan__SWIG_2(self
,args
);
39398 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_SetItemSpan'");
39403 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_0(PyObject
*, PyObject
*args
) {
39404 PyObject
*resultobj
;
39405 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39406 wxWindow
*arg2
= (wxWindow
*) 0 ;
39407 wxGBSizerItem
*result
;
39408 PyObject
* obj0
= 0 ;
39409 PyObject
* obj1
= 0 ;
39411 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
39412 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39413 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39414 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39415 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39418 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
39420 wxPyEndAllowThreads(__tstate
);
39421 if (PyErr_Occurred()) SWIG_fail
;
39423 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
39430 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_1(PyObject
*, PyObject
*args
) {
39431 PyObject
*resultobj
;
39432 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39433 wxSizer
*arg2
= (wxSizer
*) 0 ;
39434 wxGBSizerItem
*result
;
39435 PyObject
* obj0
= 0 ;
39436 PyObject
* obj1
= 0 ;
39438 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
39439 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39441 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
39442 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39445 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
39447 wxPyEndAllowThreads(__tstate
);
39448 if (PyErr_Occurred()) SWIG_fail
;
39450 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
39457 static PyObject
*_wrap_GridBagSizer_FindItem(PyObject
*self
, PyObject
*args
) {
39462 argc
= PyObject_Length(args
);
39463 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
39464 argv
[ii
] = PyTuple_GetItem(args
,ii
);
39470 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39480 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
39488 return _wrap_GridBagSizer_FindItem__SWIG_0(self
,args
);
39496 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39506 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
39514 return _wrap_GridBagSizer_FindItem__SWIG_1(self
,args
);
39519 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_FindItem'");
39524 static PyObject
*_wrap_GridBagSizer_FindItemAtPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39525 PyObject
*resultobj
;
39526 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39527 wxGBPosition
*arg2
= 0 ;
39528 wxGBSizerItem
*result
;
39529 wxGBPosition temp2
;
39530 PyObject
* obj0
= 0 ;
39531 PyObject
* obj1
= 0 ;
39532 char *kwnames
[] = {
39533 (char *) "self",(char *) "pos", NULL
39536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
39537 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39541 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
39544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39545 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPosition((wxGBPosition
const &)*arg2
);
39547 wxPyEndAllowThreads(__tstate
);
39548 if (PyErr_Occurred()) SWIG_fail
;
39550 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
39557 static PyObject
*_wrap_GridBagSizer_FindItemAtPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39558 PyObject
*resultobj
;
39559 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39560 wxPoint
*arg2
= 0 ;
39561 wxGBSizerItem
*result
;
39563 PyObject
* obj0
= 0 ;
39564 PyObject
* obj1
= 0 ;
39565 char *kwnames
[] = {
39566 (char *) "self",(char *) "pt", NULL
39569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
39570 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39571 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39574 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
39577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39578 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPoint((wxPoint
const &)*arg2
);
39580 wxPyEndAllowThreads(__tstate
);
39581 if (PyErr_Occurred()) SWIG_fail
;
39583 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
39590 static PyObject
*_wrap_GridBagSizer_CheckForIntersection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39591 PyObject
*resultobj
;
39592 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39593 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
39594 wxGBSizerItem
*arg3
= (wxGBSizerItem
*) NULL
;
39596 PyObject
* obj0
= 0 ;
39597 PyObject
* obj1
= 0 ;
39598 PyObject
* obj2
= 0 ;
39599 char *kwnames
[] = {
39600 (char *) "self",(char *) "item",(char *) "excludeItem", NULL
39603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GridBagSizer_CheckForIntersection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39606 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGBSizerItem
,
39607 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39609 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxGBSizerItem
,
39610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39614 result
= (bool)(arg1
)->CheckForIntersection(arg2
,arg3
);
39616 wxPyEndAllowThreads(__tstate
);
39617 if (PyErr_Occurred()) SWIG_fail
;
39620 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39628 static PyObject
*_wrap_GridBagSizer_CheckForIntersectionPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39629 PyObject
*resultobj
;
39630 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39631 wxGBPosition
*arg2
= 0 ;
39632 wxGBSpan
*arg3
= 0 ;
39633 wxGBSizerItem
*arg4
= (wxGBSizerItem
*) NULL
;
39635 wxGBPosition temp2
;
39637 PyObject
* obj0
= 0 ;
39638 PyObject
* obj1
= 0 ;
39639 PyObject
* obj2
= 0 ;
39640 PyObject
* obj3
= 0 ;
39641 char *kwnames
[] = {
39642 (char *) "self",(char *) "pos",(char *) "span",(char *) "excludeItem", NULL
39645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:GridBagSizer_CheckForIntersectionPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
39646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39650 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
39654 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
39657 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxGBSizerItem
,
39658 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39662 result
= (bool)(arg1
)->CheckForIntersection((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
);
39664 wxPyEndAllowThreads(__tstate
);
39665 if (PyErr_Occurred()) SWIG_fail
;
39668 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39676 static PyObject
* GridBagSizer_swigregister(PyObject
*, PyObject
*args
) {
39678 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
39679 SWIG_TypeClientData(SWIGTYPE_p_wxGridBagSizer
, obj
);
39681 return Py_BuildValue((char *)"");
39683 static PyObject
*_wrap_IndividualLayoutConstraint_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39684 PyObject
*resultobj
;
39685 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39687 wxWindow
*arg3
= (wxWindow
*) 0 ;
39689 int arg5
= (int) 0 ;
39690 int arg6
= (int) wxLAYOUT_DEFAULT_MARGIN
;
39691 PyObject
* obj0
= 0 ;
39692 PyObject
* obj1
= 0 ;
39693 PyObject
* obj2
= 0 ;
39694 PyObject
* obj3
= 0 ;
39695 PyObject
* obj4
= 0 ;
39696 PyObject
* obj5
= 0 ;
39697 char *kwnames
[] = {
39698 (char *) "self",(char *) "rel",(char *) "otherW",(char *) "otherE",(char *) "val",(char *) "marg", NULL
39701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:IndividualLayoutConstraint_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
39702 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39703 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39704 arg2
= (int)SWIG_As_int(obj1
);
39705 if (PyErr_Occurred()) SWIG_fail
;
39706 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
39707 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39708 arg4
= (int)SWIG_As_int(obj3
);
39709 if (PyErr_Occurred()) SWIG_fail
;
39711 arg5
= (int)SWIG_As_int(obj4
);
39712 if (PyErr_Occurred()) SWIG_fail
;
39715 arg6
= (int)SWIG_As_int(obj5
);
39716 if (PyErr_Occurred()) SWIG_fail
;
39719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39720 (arg1
)->Set((wxRelationship
)arg2
,arg3
,(wxEdge
)arg4
,arg5
,arg6
);
39722 wxPyEndAllowThreads(__tstate
);
39723 if (PyErr_Occurred()) SWIG_fail
;
39725 Py_INCREF(Py_None
); resultobj
= Py_None
;
39732 static PyObject
*_wrap_IndividualLayoutConstraint_LeftOf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39733 PyObject
*resultobj
;
39734 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39735 wxWindow
*arg2
= (wxWindow
*) 0 ;
39736 int arg3
= (int) 0 ;
39737 PyObject
* obj0
= 0 ;
39738 PyObject
* obj1
= 0 ;
39739 PyObject
* obj2
= 0 ;
39740 char *kwnames
[] = {
39741 (char *) "self",(char *) "sibling",(char *) "marg", NULL
39744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_LeftOf",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39745 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39746 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39747 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39748 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39750 arg3
= (int)SWIG_As_int(obj2
);
39751 if (PyErr_Occurred()) SWIG_fail
;
39754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39755 (arg1
)->LeftOf(arg2
,arg3
);
39757 wxPyEndAllowThreads(__tstate
);
39758 if (PyErr_Occurred()) SWIG_fail
;
39760 Py_INCREF(Py_None
); resultobj
= Py_None
;
39767 static PyObject
*_wrap_IndividualLayoutConstraint_RightOf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39768 PyObject
*resultobj
;
39769 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39770 wxWindow
*arg2
= (wxWindow
*) 0 ;
39771 int arg3
= (int) 0 ;
39772 PyObject
* obj0
= 0 ;
39773 PyObject
* obj1
= 0 ;
39774 PyObject
* obj2
= 0 ;
39775 char *kwnames
[] = {
39776 (char *) "self",(char *) "sibling",(char *) "marg", NULL
39779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_RightOf",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39780 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39781 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39782 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39783 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39785 arg3
= (int)SWIG_As_int(obj2
);
39786 if (PyErr_Occurred()) SWIG_fail
;
39789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39790 (arg1
)->RightOf(arg2
,arg3
);
39792 wxPyEndAllowThreads(__tstate
);
39793 if (PyErr_Occurred()) SWIG_fail
;
39795 Py_INCREF(Py_None
); resultobj
= Py_None
;
39802 static PyObject
*_wrap_IndividualLayoutConstraint_Above(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39803 PyObject
*resultobj
;
39804 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39805 wxWindow
*arg2
= (wxWindow
*) 0 ;
39806 int arg3
= (int) 0 ;
39807 PyObject
* obj0
= 0 ;
39808 PyObject
* obj1
= 0 ;
39809 PyObject
* obj2
= 0 ;
39810 char *kwnames
[] = {
39811 (char *) "self",(char *) "sibling",(char *) "marg", NULL
39814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Above",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39815 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39816 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39817 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39818 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39820 arg3
= (int)SWIG_As_int(obj2
);
39821 if (PyErr_Occurred()) SWIG_fail
;
39824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39825 (arg1
)->Above(arg2
,arg3
);
39827 wxPyEndAllowThreads(__tstate
);
39828 if (PyErr_Occurred()) SWIG_fail
;
39830 Py_INCREF(Py_None
); resultobj
= Py_None
;
39837 static PyObject
*_wrap_IndividualLayoutConstraint_Below(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39838 PyObject
*resultobj
;
39839 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39840 wxWindow
*arg2
= (wxWindow
*) 0 ;
39841 int arg3
= (int) 0 ;
39842 PyObject
* obj0
= 0 ;
39843 PyObject
* obj1
= 0 ;
39844 PyObject
* obj2
= 0 ;
39845 char *kwnames
[] = {
39846 (char *) "self",(char *) "sibling",(char *) "marg", NULL
39849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Below",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39850 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39852 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39855 arg3
= (int)SWIG_As_int(obj2
);
39856 if (PyErr_Occurred()) SWIG_fail
;
39859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39860 (arg1
)->Below(arg2
,arg3
);
39862 wxPyEndAllowThreads(__tstate
);
39863 if (PyErr_Occurred()) SWIG_fail
;
39865 Py_INCREF(Py_None
); resultobj
= Py_None
;
39872 static PyObject
*_wrap_IndividualLayoutConstraint_SameAs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39873 PyObject
*resultobj
;
39874 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39875 wxWindow
*arg2
= (wxWindow
*) 0 ;
39877 int arg4
= (int) 0 ;
39878 PyObject
* obj0
= 0 ;
39879 PyObject
* obj1
= 0 ;
39880 PyObject
* obj2
= 0 ;
39881 PyObject
* obj3
= 0 ;
39882 char *kwnames
[] = {
39883 (char *) "self",(char *) "otherW",(char *) "edge",(char *) "marg", NULL
39886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:IndividualLayoutConstraint_SameAs",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
39887 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39888 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39889 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39891 arg3
= (int)SWIG_As_int(obj2
);
39892 if (PyErr_Occurred()) SWIG_fail
;
39894 arg4
= (int)SWIG_As_int(obj3
);
39895 if (PyErr_Occurred()) SWIG_fail
;
39898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39899 (arg1
)->SameAs(arg2
,(wxEdge
)arg3
,arg4
);
39901 wxPyEndAllowThreads(__tstate
);
39902 if (PyErr_Occurred()) SWIG_fail
;
39904 Py_INCREF(Py_None
); resultobj
= Py_None
;
39911 static PyObject
*_wrap_IndividualLayoutConstraint_PercentOf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39912 PyObject
*resultobj
;
39913 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39914 wxWindow
*arg2
= (wxWindow
*) 0 ;
39917 PyObject
* obj0
= 0 ;
39918 PyObject
* obj1
= 0 ;
39919 PyObject
* obj2
= 0 ;
39920 PyObject
* obj3
= 0 ;
39921 char *kwnames
[] = {
39922 (char *) "self",(char *) "otherW",(char *) "wh",(char *) "per", NULL
39925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_PercentOf",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
39926 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39927 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39928 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39929 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39930 arg3
= (int)SWIG_As_int(obj2
);
39931 if (PyErr_Occurred()) SWIG_fail
;
39932 arg4
= (int)SWIG_As_int(obj3
);
39933 if (PyErr_Occurred()) SWIG_fail
;
39935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39936 (arg1
)->PercentOf(arg2
,(wxEdge
)arg3
,arg4
);
39938 wxPyEndAllowThreads(__tstate
);
39939 if (PyErr_Occurred()) SWIG_fail
;
39941 Py_INCREF(Py_None
); resultobj
= Py_None
;
39948 static PyObject
*_wrap_IndividualLayoutConstraint_Absolute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39949 PyObject
*resultobj
;
39950 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39952 PyObject
* obj0
= 0 ;
39953 PyObject
* obj1
= 0 ;
39954 char *kwnames
[] = {
39955 (char *) "self",(char *) "val", NULL
39958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_Absolute",kwnames
,&obj0
,&obj1
)) goto fail
;
39959 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39960 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39961 arg2
= (int)SWIG_As_int(obj1
);
39962 if (PyErr_Occurred()) SWIG_fail
;
39964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39965 (arg1
)->Absolute(arg2
);
39967 wxPyEndAllowThreads(__tstate
);
39968 if (PyErr_Occurred()) SWIG_fail
;
39970 Py_INCREF(Py_None
); resultobj
= Py_None
;
39977 static PyObject
*_wrap_IndividualLayoutConstraint_Unconstrained(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39978 PyObject
*resultobj
;
39979 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39980 PyObject
* obj0
= 0 ;
39981 char *kwnames
[] = {
39982 (char *) "self", NULL
39985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_Unconstrained",kwnames
,&obj0
)) goto fail
;
39986 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39987 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39990 (arg1
)->Unconstrained();
39992 wxPyEndAllowThreads(__tstate
);
39993 if (PyErr_Occurred()) SWIG_fail
;
39995 Py_INCREF(Py_None
); resultobj
= Py_None
;
40002 static PyObject
*_wrap_IndividualLayoutConstraint_AsIs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40003 PyObject
*resultobj
;
40004 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40005 PyObject
* obj0
= 0 ;
40006 char *kwnames
[] = {
40007 (char *) "self", NULL
40010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_AsIs",kwnames
,&obj0
)) goto fail
;
40011 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40017 wxPyEndAllowThreads(__tstate
);
40018 if (PyErr_Occurred()) SWIG_fail
;
40020 Py_INCREF(Py_None
); resultobj
= Py_None
;
40027 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40028 PyObject
*resultobj
;
40029 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40031 PyObject
* obj0
= 0 ;
40032 char *kwnames
[] = {
40033 (char *) "self", NULL
40036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherWindow",kwnames
,&obj0
)) goto fail
;
40037 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40038 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40041 result
= (wxWindow
*)(arg1
)->GetOtherWindow();
40043 wxPyEndAllowThreads(__tstate
);
40044 if (PyErr_Occurred()) SWIG_fail
;
40047 resultobj
= wxPyMake_wxObject(result
, 0);
40055 static PyObject
*_wrap_IndividualLayoutConstraint_GetMyEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40056 PyObject
*resultobj
;
40057 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40059 PyObject
* obj0
= 0 ;
40060 char *kwnames
[] = {
40061 (char *) "self", NULL
40064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMyEdge",kwnames
,&obj0
)) goto fail
;
40065 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40066 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40069 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetMyEdge();
40071 wxPyEndAllowThreads(__tstate
);
40072 if (PyErr_Occurred()) SWIG_fail
;
40074 resultobj
= SWIG_From_int((int)result
);
40081 static PyObject
*_wrap_IndividualLayoutConstraint_SetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40082 PyObject
*resultobj
;
40083 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40085 PyObject
* obj0
= 0 ;
40086 PyObject
* obj1
= 0 ;
40087 char *kwnames
[] = {
40088 (char *) "self",(char *) "which", NULL
40091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetEdge",kwnames
,&obj0
,&obj1
)) goto fail
;
40092 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40094 arg2
= (int)SWIG_As_int(obj1
);
40095 if (PyErr_Occurred()) SWIG_fail
;
40097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40098 (arg1
)->SetEdge((wxEdge
)arg2
);
40100 wxPyEndAllowThreads(__tstate
);
40101 if (PyErr_Occurred()) SWIG_fail
;
40103 Py_INCREF(Py_None
); resultobj
= Py_None
;
40110 static PyObject
*_wrap_IndividualLayoutConstraint_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40111 PyObject
*resultobj
;
40112 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40114 PyObject
* obj0
= 0 ;
40115 PyObject
* obj1
= 0 ;
40116 char *kwnames
[] = {
40117 (char *) "self",(char *) "v", NULL
40120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
40121 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40123 arg2
= (int)SWIG_As_int(obj1
);
40124 if (PyErr_Occurred()) SWIG_fail
;
40126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40127 (arg1
)->SetValue(arg2
);
40129 wxPyEndAllowThreads(__tstate
);
40130 if (PyErr_Occurred()) SWIG_fail
;
40132 Py_INCREF(Py_None
); resultobj
= Py_None
;
40139 static PyObject
*_wrap_IndividualLayoutConstraint_GetMargin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40140 PyObject
*resultobj
;
40141 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40143 PyObject
* obj0
= 0 ;
40144 char *kwnames
[] = {
40145 (char *) "self", NULL
40148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMargin",kwnames
,&obj0
)) goto fail
;
40149 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40153 result
= (int)(arg1
)->GetMargin();
40155 wxPyEndAllowThreads(__tstate
);
40156 if (PyErr_Occurred()) SWIG_fail
;
40158 resultobj
= SWIG_From_int((int)result
);
40165 static PyObject
*_wrap_IndividualLayoutConstraint_SetMargin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40166 PyObject
*resultobj
;
40167 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40169 PyObject
* obj0
= 0 ;
40170 PyObject
* obj1
= 0 ;
40171 char *kwnames
[] = {
40172 (char *) "self",(char *) "m", NULL
40175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetMargin",kwnames
,&obj0
,&obj1
)) goto fail
;
40176 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40178 arg2
= (int)SWIG_As_int(obj1
);
40179 if (PyErr_Occurred()) SWIG_fail
;
40181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40182 (arg1
)->SetMargin(arg2
);
40184 wxPyEndAllowThreads(__tstate
);
40185 if (PyErr_Occurred()) SWIG_fail
;
40187 Py_INCREF(Py_None
); resultobj
= Py_None
;
40194 static PyObject
*_wrap_IndividualLayoutConstraint_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40195 PyObject
*resultobj
;
40196 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40198 PyObject
* obj0
= 0 ;
40199 char *kwnames
[] = {
40200 (char *) "self", NULL
40203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetValue",kwnames
,&obj0
)) goto fail
;
40204 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40205 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40208 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetValue();
40210 wxPyEndAllowThreads(__tstate
);
40211 if (PyErr_Occurred()) SWIG_fail
;
40213 resultobj
= SWIG_From_int((int)result
);
40220 static PyObject
*_wrap_IndividualLayoutConstraint_GetPercent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40221 PyObject
*resultobj
;
40222 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40224 PyObject
* obj0
= 0 ;
40225 char *kwnames
[] = {
40226 (char *) "self", NULL
40229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetPercent",kwnames
,&obj0
)) goto fail
;
40230 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40234 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetPercent();
40236 wxPyEndAllowThreads(__tstate
);
40237 if (PyErr_Occurred()) SWIG_fail
;
40239 resultobj
= SWIG_From_int((int)result
);
40246 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40247 PyObject
*resultobj
;
40248 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40250 PyObject
* obj0
= 0 ;
40251 char *kwnames
[] = {
40252 (char *) "self", NULL
40255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherEdge",kwnames
,&obj0
)) goto fail
;
40256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40260 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetOtherEdge();
40262 wxPyEndAllowThreads(__tstate
);
40263 if (PyErr_Occurred()) SWIG_fail
;
40265 resultobj
= SWIG_From_int((int)result
);
40272 static PyObject
*_wrap_IndividualLayoutConstraint_GetDone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40273 PyObject
*resultobj
;
40274 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40276 PyObject
* obj0
= 0 ;
40277 char *kwnames
[] = {
40278 (char *) "self", NULL
40281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetDone",kwnames
,&obj0
)) goto fail
;
40282 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40286 result
= (bool)((wxIndividualLayoutConstraint
const *)arg1
)->GetDone();
40288 wxPyEndAllowThreads(__tstate
);
40289 if (PyErr_Occurred()) SWIG_fail
;
40292 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40300 static PyObject
*_wrap_IndividualLayoutConstraint_SetDone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40301 PyObject
*resultobj
;
40302 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40304 PyObject
* obj0
= 0 ;
40305 PyObject
* obj1
= 0 ;
40306 char *kwnames
[] = {
40307 (char *) "self",(char *) "d", NULL
40310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetDone",kwnames
,&obj0
,&obj1
)) goto fail
;
40311 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40313 arg2
= (bool)SWIG_As_bool(obj1
);
40314 if (PyErr_Occurred()) SWIG_fail
;
40316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40317 (arg1
)->SetDone(arg2
);
40319 wxPyEndAllowThreads(__tstate
);
40320 if (PyErr_Occurred()) SWIG_fail
;
40322 Py_INCREF(Py_None
); resultobj
= Py_None
;
40329 static PyObject
*_wrap_IndividualLayoutConstraint_GetRelationship(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40330 PyObject
*resultobj
;
40331 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40333 PyObject
* obj0
= 0 ;
40334 char *kwnames
[] = {
40335 (char *) "self", NULL
40338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetRelationship",kwnames
,&obj0
)) goto fail
;
40339 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40343 result
= (int)(arg1
)->GetRelationship();
40345 wxPyEndAllowThreads(__tstate
);
40346 if (PyErr_Occurred()) SWIG_fail
;
40348 resultobj
= SWIG_From_int((int)result
);
40355 static PyObject
*_wrap_IndividualLayoutConstraint_SetRelationship(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40356 PyObject
*resultobj
;
40357 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40359 PyObject
* obj0
= 0 ;
40360 PyObject
* obj1
= 0 ;
40361 char *kwnames
[] = {
40362 (char *) "self",(char *) "r", NULL
40365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetRelationship",kwnames
,&obj0
,&obj1
)) goto fail
;
40366 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40367 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40368 arg2
= (int)SWIG_As_int(obj1
);
40369 if (PyErr_Occurred()) SWIG_fail
;
40371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40372 (arg1
)->SetRelationship((wxRelationship
)arg2
);
40374 wxPyEndAllowThreads(__tstate
);
40375 if (PyErr_Occurred()) SWIG_fail
;
40377 Py_INCREF(Py_None
); resultobj
= Py_None
;
40384 static PyObject
*_wrap_IndividualLayoutConstraint_ResetIfWin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40385 PyObject
*resultobj
;
40386 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40387 wxWindow
*arg2
= (wxWindow
*) 0 ;
40389 PyObject
* obj0
= 0 ;
40390 PyObject
* obj1
= 0 ;
40391 char *kwnames
[] = {
40392 (char *) "self",(char *) "otherW", NULL
40395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_ResetIfWin",kwnames
,&obj0
,&obj1
)) goto fail
;
40396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40398 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
40399 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40402 result
= (bool)(arg1
)->ResetIfWin(arg2
);
40404 wxPyEndAllowThreads(__tstate
);
40405 if (PyErr_Occurred()) SWIG_fail
;
40408 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40416 static PyObject
*_wrap_IndividualLayoutConstraint_SatisfyConstraint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40417 PyObject
*resultobj
;
40418 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40419 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
40420 wxWindow
*arg3
= (wxWindow
*) 0 ;
40422 PyObject
* obj0
= 0 ;
40423 PyObject
* obj1
= 0 ;
40424 PyObject
* obj2
= 0 ;
40425 char *kwnames
[] = {
40426 (char *) "self",(char *) "constraints",(char *) "win", NULL
40429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IndividualLayoutConstraint_SatisfyConstraint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
40430 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40431 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40432 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxLayoutConstraints
,
40433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40434 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
40435 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40438 result
= (bool)(arg1
)->SatisfyConstraint(arg2
,arg3
);
40440 wxPyEndAllowThreads(__tstate
);
40441 if (PyErr_Occurred()) SWIG_fail
;
40444 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40452 static PyObject
*_wrap_IndividualLayoutConstraint_GetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40453 PyObject
*resultobj
;
40454 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40456 wxWindow
*arg3
= (wxWindow
*) 0 ;
40457 wxWindow
*arg4
= (wxWindow
*) 0 ;
40459 PyObject
* obj0
= 0 ;
40460 PyObject
* obj1
= 0 ;
40461 PyObject
* obj2
= 0 ;
40462 PyObject
* obj3
= 0 ;
40463 char *kwnames
[] = {
40464 (char *) "self",(char *) "which",(char *) "thisWin",(char *) "other", NULL
40467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_GetEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
40468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40470 arg2
= (int)SWIG_As_int(obj1
);
40471 if (PyErr_Occurred()) SWIG_fail
;
40472 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
40473 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40474 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
40475 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40478 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetEdge((wxEdge
)arg2
,arg3
,arg4
);
40480 wxPyEndAllowThreads(__tstate
);
40481 if (PyErr_Occurred()) SWIG_fail
;
40483 resultobj
= SWIG_From_int((int)result
);
40490 static PyObject
* IndividualLayoutConstraint_swigregister(PyObject
*, PyObject
*args
) {
40492 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40493 SWIG_TypeClientData(SWIGTYPE_p_wxIndividualLayoutConstraint
, obj
);
40495 return Py_BuildValue((char *)"");
40497 static PyObject
*_wrap_LayoutConstraints_left_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40498 PyObject
*resultobj
;
40499 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40500 wxIndividualLayoutConstraint
*result
;
40501 PyObject
* obj0
= 0 ;
40502 char *kwnames
[] = {
40503 (char *) "self", NULL
40506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_left_get",kwnames
,&obj0
)) goto fail
;
40507 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40508 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40509 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->left
);
40511 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40518 static PyObject
*_wrap_LayoutConstraints_top_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40519 PyObject
*resultobj
;
40520 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40521 wxIndividualLayoutConstraint
*result
;
40522 PyObject
* obj0
= 0 ;
40523 char *kwnames
[] = {
40524 (char *) "self", NULL
40527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_top_get",kwnames
,&obj0
)) goto fail
;
40528 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40530 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->top
);
40532 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40539 static PyObject
*_wrap_LayoutConstraints_right_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40540 PyObject
*resultobj
;
40541 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40542 wxIndividualLayoutConstraint
*result
;
40543 PyObject
* obj0
= 0 ;
40544 char *kwnames
[] = {
40545 (char *) "self", NULL
40548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_right_get",kwnames
,&obj0
)) goto fail
;
40549 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40551 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->right
);
40553 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40560 static PyObject
*_wrap_LayoutConstraints_bottom_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40561 PyObject
*resultobj
;
40562 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40563 wxIndividualLayoutConstraint
*result
;
40564 PyObject
* obj0
= 0 ;
40565 char *kwnames
[] = {
40566 (char *) "self", NULL
40569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_bottom_get",kwnames
,&obj0
)) goto fail
;
40570 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40571 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40572 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->bottom
);
40574 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40581 static PyObject
*_wrap_LayoutConstraints_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40582 PyObject
*resultobj
;
40583 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40584 wxIndividualLayoutConstraint
*result
;
40585 PyObject
* obj0
= 0 ;
40586 char *kwnames
[] = {
40587 (char *) "self", NULL
40590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_width_get",kwnames
,&obj0
)) goto fail
;
40591 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40593 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->width
);
40595 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40602 static PyObject
*_wrap_LayoutConstraints_height_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40603 PyObject
*resultobj
;
40604 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40605 wxIndividualLayoutConstraint
*result
;
40606 PyObject
* obj0
= 0 ;
40607 char *kwnames
[] = {
40608 (char *) "self", NULL
40611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_height_get",kwnames
,&obj0
)) goto fail
;
40612 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40613 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40614 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->height
);
40616 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40623 static PyObject
*_wrap_LayoutConstraints_centreX_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40624 PyObject
*resultobj
;
40625 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40626 wxIndividualLayoutConstraint
*result
;
40627 PyObject
* obj0
= 0 ;
40628 char *kwnames
[] = {
40629 (char *) "self", NULL
40632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreX_get",kwnames
,&obj0
)) goto fail
;
40633 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40634 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40635 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreX
);
40637 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40644 static PyObject
*_wrap_LayoutConstraints_centreY_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40645 PyObject
*resultobj
;
40646 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40647 wxIndividualLayoutConstraint
*result
;
40648 PyObject
* obj0
= 0 ;
40649 char *kwnames
[] = {
40650 (char *) "self", NULL
40653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreY_get",kwnames
,&obj0
)) goto fail
;
40654 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40655 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40656 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreY
);
40658 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40665 static PyObject
*_wrap_new_LayoutConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40666 PyObject
*resultobj
;
40667 wxLayoutConstraints
*result
;
40668 char *kwnames
[] = {
40672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutConstraints",kwnames
)) goto fail
;
40674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40675 result
= (wxLayoutConstraints
*)new wxLayoutConstraints();
40677 wxPyEndAllowThreads(__tstate
);
40678 if (PyErr_Occurred()) SWIG_fail
;
40680 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutConstraints
, 1);
40687 static PyObject
*_wrap_LayoutConstraints_SatisfyConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40688 PyObject
*resultobj
;
40689 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40690 wxWindow
*arg2
= (wxWindow
*) 0 ;
40691 int *arg3
= (int *) 0 ;
40695 PyObject
* obj0
= 0 ;
40696 PyObject
* obj1
= 0 ;
40697 char *kwnames
[] = {
40698 (char *) "self",(char *) "win", NULL
40701 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
40702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LayoutConstraints_SatisfyConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
40703 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40704 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40705 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
40706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40709 result
= (bool)(arg1
)->SatisfyConstraints(arg2
,arg3
);
40711 wxPyEndAllowThreads(__tstate
);
40712 if (PyErr_Occurred()) SWIG_fail
;
40715 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40717 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
40718 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
40725 static PyObject
*_wrap_LayoutConstraints_AreSatisfied(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40726 PyObject
*resultobj
;
40727 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40729 PyObject
* obj0
= 0 ;
40730 char *kwnames
[] = {
40731 (char *) "self", NULL
40734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_AreSatisfied",kwnames
,&obj0
)) goto fail
;
40735 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40739 result
= (bool)((wxLayoutConstraints
const *)arg1
)->AreSatisfied();
40741 wxPyEndAllowThreads(__tstate
);
40742 if (PyErr_Occurred()) SWIG_fail
;
40745 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40753 static PyObject
* LayoutConstraints_swigregister(PyObject
*, PyObject
*args
) {
40755 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40756 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutConstraints
, obj
);
40758 return Py_BuildValue((char *)"");
40760 static PyMethodDef SwigMethods
[] = {
40761 { (char *)"_wxPySetDictionary", __wxPySetDictionary
, METH_VARARGS
, NULL
},
40762 { (char *)"_wxPyFixStockObjects", __wxPyFixStockObjects
, METH_VARARGS
, NULL
},
40763 { (char *)"Object_GetClassName", (PyCFunction
) _wrap_Object_GetClassName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40764 { (char *)"Object_Destroy", (PyCFunction
) _wrap_Object_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40765 { (char *)"Object_swigregister", Object_swigregister
, METH_VARARGS
, NULL
},
40766 { (char *)"Size_width_set", (PyCFunction
) _wrap_Size_width_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40767 { (char *)"Size_width_get", (PyCFunction
) _wrap_Size_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40768 { (char *)"Size_height_set", (PyCFunction
) _wrap_Size_height_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40769 { (char *)"Size_height_get", (PyCFunction
) _wrap_Size_height_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40770 { (char *)"new_Size", (PyCFunction
) _wrap_new_Size
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40771 { (char *)"delete_Size", (PyCFunction
) _wrap_delete_Size
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40772 { (char *)"Size___eq__", (PyCFunction
) _wrap_Size___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40773 { (char *)"Size___ne__", (PyCFunction
) _wrap_Size___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40774 { (char *)"Size___add__", (PyCFunction
) _wrap_Size___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40775 { (char *)"Size___sub__", (PyCFunction
) _wrap_Size___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40776 { (char *)"Size_IncTo", (PyCFunction
) _wrap_Size_IncTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40777 { (char *)"Size_DecTo", (PyCFunction
) _wrap_Size_DecTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40778 { (char *)"Size_Set", (PyCFunction
) _wrap_Size_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40779 { (char *)"Size_SetWidth", (PyCFunction
) _wrap_Size_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40780 { (char *)"Size_SetHeight", (PyCFunction
) _wrap_Size_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40781 { (char *)"Size_GetWidth", (PyCFunction
) _wrap_Size_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40782 { (char *)"Size_GetHeight", (PyCFunction
) _wrap_Size_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40783 { (char *)"Size_IsFullySpecified", (PyCFunction
) _wrap_Size_IsFullySpecified
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40784 { (char *)"Size_SetDefaults", (PyCFunction
) _wrap_Size_SetDefaults
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40785 { (char *)"Size_Get", (PyCFunction
) _wrap_Size_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40786 { (char *)"Size_swigregister", Size_swigregister
, METH_VARARGS
, NULL
},
40787 { (char *)"RealPoint_x_set", (PyCFunction
) _wrap_RealPoint_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40788 { (char *)"RealPoint_x_get", (PyCFunction
) _wrap_RealPoint_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40789 { (char *)"RealPoint_y_set", (PyCFunction
) _wrap_RealPoint_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40790 { (char *)"RealPoint_y_get", (PyCFunction
) _wrap_RealPoint_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40791 { (char *)"new_RealPoint", (PyCFunction
) _wrap_new_RealPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40792 { (char *)"delete_RealPoint", (PyCFunction
) _wrap_delete_RealPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40793 { (char *)"RealPoint___eq__", (PyCFunction
) _wrap_RealPoint___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40794 { (char *)"RealPoint___ne__", (PyCFunction
) _wrap_RealPoint___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40795 { (char *)"RealPoint___add__", (PyCFunction
) _wrap_RealPoint___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40796 { (char *)"RealPoint___sub__", (PyCFunction
) _wrap_RealPoint___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40797 { (char *)"RealPoint_Set", (PyCFunction
) _wrap_RealPoint_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40798 { (char *)"RealPoint_Get", (PyCFunction
) _wrap_RealPoint_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40799 { (char *)"RealPoint_swigregister", RealPoint_swigregister
, METH_VARARGS
, NULL
},
40800 { (char *)"Point_x_set", (PyCFunction
) _wrap_Point_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40801 { (char *)"Point_x_get", (PyCFunction
) _wrap_Point_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40802 { (char *)"Point_y_set", (PyCFunction
) _wrap_Point_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40803 { (char *)"Point_y_get", (PyCFunction
) _wrap_Point_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40804 { (char *)"new_Point", (PyCFunction
) _wrap_new_Point
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40805 { (char *)"delete_Point", (PyCFunction
) _wrap_delete_Point
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40806 { (char *)"Point___eq__", (PyCFunction
) _wrap_Point___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40807 { (char *)"Point___ne__", (PyCFunction
) _wrap_Point___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40808 { (char *)"Point___add__", (PyCFunction
) _wrap_Point___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40809 { (char *)"Point___sub__", (PyCFunction
) _wrap_Point___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40810 { (char *)"Point___iadd__", (PyCFunction
) _wrap_Point___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40811 { (char *)"Point___isub__", (PyCFunction
) _wrap_Point___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40812 { (char *)"Point_Set", (PyCFunction
) _wrap_Point_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40813 { (char *)"Point_Get", (PyCFunction
) _wrap_Point_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40814 { (char *)"Point_swigregister", Point_swigregister
, METH_VARARGS
, NULL
},
40815 { (char *)"new_Rect", (PyCFunction
) _wrap_new_Rect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40816 { (char *)"new_RectPP", (PyCFunction
) _wrap_new_RectPP
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40817 { (char *)"new_RectPS", (PyCFunction
) _wrap_new_RectPS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40818 { (char *)"delete_Rect", (PyCFunction
) _wrap_delete_Rect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40819 { (char *)"Rect_GetX", (PyCFunction
) _wrap_Rect_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40820 { (char *)"Rect_SetX", (PyCFunction
) _wrap_Rect_SetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40821 { (char *)"Rect_GetY", (PyCFunction
) _wrap_Rect_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40822 { (char *)"Rect_SetY", (PyCFunction
) _wrap_Rect_SetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40823 { (char *)"Rect_GetWidth", (PyCFunction
) _wrap_Rect_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40824 { (char *)"Rect_SetWidth", (PyCFunction
) _wrap_Rect_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40825 { (char *)"Rect_GetHeight", (PyCFunction
) _wrap_Rect_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40826 { (char *)"Rect_SetHeight", (PyCFunction
) _wrap_Rect_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40827 { (char *)"Rect_GetPosition", (PyCFunction
) _wrap_Rect_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40828 { (char *)"Rect_SetPosition", (PyCFunction
) _wrap_Rect_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40829 { (char *)"Rect_GetSize", (PyCFunction
) _wrap_Rect_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40830 { (char *)"Rect_SetSize", (PyCFunction
) _wrap_Rect_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40831 { (char *)"Rect_GetTopLeft", (PyCFunction
) _wrap_Rect_GetTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40832 { (char *)"Rect_SetTopLeft", (PyCFunction
) _wrap_Rect_SetTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40833 { (char *)"Rect_GetBottomRight", (PyCFunction
) _wrap_Rect_GetBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40834 { (char *)"Rect_SetBottomRight", (PyCFunction
) _wrap_Rect_SetBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40835 { (char *)"Rect_GetLeft", (PyCFunction
) _wrap_Rect_GetLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40836 { (char *)"Rect_GetTop", (PyCFunction
) _wrap_Rect_GetTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40837 { (char *)"Rect_GetBottom", (PyCFunction
) _wrap_Rect_GetBottom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40838 { (char *)"Rect_GetRight", (PyCFunction
) _wrap_Rect_GetRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40839 { (char *)"Rect_SetLeft", (PyCFunction
) _wrap_Rect_SetLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40840 { (char *)"Rect_SetRight", (PyCFunction
) _wrap_Rect_SetRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40841 { (char *)"Rect_SetTop", (PyCFunction
) _wrap_Rect_SetTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40842 { (char *)"Rect_SetBottom", (PyCFunction
) _wrap_Rect_SetBottom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40843 { (char *)"Rect_Inflate", (PyCFunction
) _wrap_Rect_Inflate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40844 { (char *)"Rect_Deflate", (PyCFunction
) _wrap_Rect_Deflate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40845 { (char *)"Rect_OffsetXY", (PyCFunction
) _wrap_Rect_OffsetXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40846 { (char *)"Rect_Offset", (PyCFunction
) _wrap_Rect_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40847 { (char *)"Rect_Intersect", (PyCFunction
) _wrap_Rect_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40848 { (char *)"Rect___add__", (PyCFunction
) _wrap_Rect___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40849 { (char *)"Rect___iadd__", (PyCFunction
) _wrap_Rect___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40850 { (char *)"Rect___eq__", (PyCFunction
) _wrap_Rect___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40851 { (char *)"Rect___ne__", (PyCFunction
) _wrap_Rect___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40852 { (char *)"Rect_InsideXY", (PyCFunction
) _wrap_Rect_InsideXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40853 { (char *)"Rect_Inside", (PyCFunction
) _wrap_Rect_Inside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40854 { (char *)"Rect_Intersects", (PyCFunction
) _wrap_Rect_Intersects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40855 { (char *)"Rect_x_set", (PyCFunction
) _wrap_Rect_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40856 { (char *)"Rect_x_get", (PyCFunction
) _wrap_Rect_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40857 { (char *)"Rect_y_set", (PyCFunction
) _wrap_Rect_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40858 { (char *)"Rect_y_get", (PyCFunction
) _wrap_Rect_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40859 { (char *)"Rect_width_set", (PyCFunction
) _wrap_Rect_width_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40860 { (char *)"Rect_width_get", (PyCFunction
) _wrap_Rect_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40861 { (char *)"Rect_height_set", (PyCFunction
) _wrap_Rect_height_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40862 { (char *)"Rect_height_get", (PyCFunction
) _wrap_Rect_height_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40863 { (char *)"Rect_Set", (PyCFunction
) _wrap_Rect_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40864 { (char *)"Rect_Get", (PyCFunction
) _wrap_Rect_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40865 { (char *)"Rect_swigregister", Rect_swigregister
, METH_VARARGS
, NULL
},
40866 { (char *)"IntersectRect", (PyCFunction
) _wrap_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40867 { (char *)"new_Point2D", (PyCFunction
) _wrap_new_Point2D
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40868 { (char *)"new_Point2DCopy", (PyCFunction
) _wrap_new_Point2DCopy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40869 { (char *)"new_Point2DFromPoint", (PyCFunction
) _wrap_new_Point2DFromPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40870 { (char *)"Point2D_GetFloor", (PyCFunction
) _wrap_Point2D_GetFloor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40871 { (char *)"Point2D_GetRounded", (PyCFunction
) _wrap_Point2D_GetRounded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40872 { (char *)"Point2D_GetVectorLength", (PyCFunction
) _wrap_Point2D_GetVectorLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40873 { (char *)"Point2D_GetVectorAngle", (PyCFunction
) _wrap_Point2D_GetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40874 { (char *)"Point2D_SetVectorLength", (PyCFunction
) _wrap_Point2D_SetVectorLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40875 { (char *)"Point2D_SetVectorAngle", (PyCFunction
) _wrap_Point2D_SetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40876 { (char *)"Point2D_GetDistance", (PyCFunction
) _wrap_Point2D_GetDistance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40877 { (char *)"Point2D_GetDistanceSquare", (PyCFunction
) _wrap_Point2D_GetDistanceSquare
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40878 { (char *)"Point2D_GetDotProduct", (PyCFunction
) _wrap_Point2D_GetDotProduct
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40879 { (char *)"Point2D_GetCrossProduct", (PyCFunction
) _wrap_Point2D_GetCrossProduct
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40880 { (char *)"Point2D___neg__", (PyCFunction
) _wrap_Point2D___neg__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40881 { (char *)"Point2D___iadd__", (PyCFunction
) _wrap_Point2D___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40882 { (char *)"Point2D___isub__", (PyCFunction
) _wrap_Point2D___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40883 { (char *)"Point2D___imul__", (PyCFunction
) _wrap_Point2D___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40884 { (char *)"Point2D___idiv__", (PyCFunction
) _wrap_Point2D___idiv__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40885 { (char *)"Point2D___eq__", (PyCFunction
) _wrap_Point2D___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40886 { (char *)"Point2D___ne__", (PyCFunction
) _wrap_Point2D___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40887 { (char *)"Point2D_x_set", (PyCFunction
) _wrap_Point2D_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40888 { (char *)"Point2D_x_get", (PyCFunction
) _wrap_Point2D_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40889 { (char *)"Point2D_y_set", (PyCFunction
) _wrap_Point2D_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40890 { (char *)"Point2D_y_get", (PyCFunction
) _wrap_Point2D_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40891 { (char *)"Point2D_Set", (PyCFunction
) _wrap_Point2D_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40892 { (char *)"Point2D_Get", (PyCFunction
) _wrap_Point2D_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40893 { (char *)"Point2D_swigregister", Point2D_swigregister
, METH_VARARGS
, NULL
},
40894 { (char *)"new_InputStream", (PyCFunction
) _wrap_new_InputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40895 { (char *)"InputStream_close", (PyCFunction
) _wrap_InputStream_close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40896 { (char *)"InputStream_flush", (PyCFunction
) _wrap_InputStream_flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40897 { (char *)"InputStream_eof", (PyCFunction
) _wrap_InputStream_eof
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40898 { (char *)"InputStream_read", (PyCFunction
) _wrap_InputStream_read
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40899 { (char *)"InputStream_readline", (PyCFunction
) _wrap_InputStream_readline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40900 { (char *)"InputStream_readlines", (PyCFunction
) _wrap_InputStream_readlines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40901 { (char *)"InputStream_seek", (PyCFunction
) _wrap_InputStream_seek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40902 { (char *)"InputStream_tell", (PyCFunction
) _wrap_InputStream_tell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40903 { (char *)"InputStream_Peek", (PyCFunction
) _wrap_InputStream_Peek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40904 { (char *)"InputStream_GetC", (PyCFunction
) _wrap_InputStream_GetC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40905 { (char *)"InputStream_LastRead", (PyCFunction
) _wrap_InputStream_LastRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40906 { (char *)"InputStream_CanRead", (PyCFunction
) _wrap_InputStream_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40907 { (char *)"InputStream_Eof", (PyCFunction
) _wrap_InputStream_Eof
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40908 { (char *)"InputStream_Ungetch", (PyCFunction
) _wrap_InputStream_Ungetch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40909 { (char *)"InputStream_SeekI", (PyCFunction
) _wrap_InputStream_SeekI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40910 { (char *)"InputStream_TellI", (PyCFunction
) _wrap_InputStream_TellI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40911 { (char *)"InputStream_swigregister", InputStream_swigregister
, METH_VARARGS
, NULL
},
40912 { (char *)"OutputStream_write", (PyCFunction
) _wrap_OutputStream_write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40913 { (char *)"OutputStream_swigregister", OutputStream_swigregister
, METH_VARARGS
, NULL
},
40914 { (char *)"new_FSFile", (PyCFunction
) _wrap_new_FSFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40915 { (char *)"delete_FSFile", (PyCFunction
) _wrap_delete_FSFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40916 { (char *)"FSFile_GetStream", (PyCFunction
) _wrap_FSFile_GetStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40917 { (char *)"FSFile_GetMimeType", (PyCFunction
) _wrap_FSFile_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40918 { (char *)"FSFile_GetLocation", (PyCFunction
) _wrap_FSFile_GetLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40919 { (char *)"FSFile_GetAnchor", (PyCFunction
) _wrap_FSFile_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40920 { (char *)"FSFile_GetModificationTime", (PyCFunction
) _wrap_FSFile_GetModificationTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40921 { (char *)"FSFile_swigregister", FSFile_swigregister
, METH_VARARGS
, NULL
},
40922 { (char *)"CPPFileSystemHandler_swigregister", CPPFileSystemHandler_swigregister
, METH_VARARGS
, NULL
},
40923 { (char *)"new_FileSystemHandler", (PyCFunction
) _wrap_new_FileSystemHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40924 { (char *)"FileSystemHandler__setCallbackInfo", (PyCFunction
) _wrap_FileSystemHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40925 { (char *)"FileSystemHandler_CanOpen", (PyCFunction
) _wrap_FileSystemHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40926 { (char *)"FileSystemHandler_OpenFile", (PyCFunction
) _wrap_FileSystemHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40927 { (char *)"FileSystemHandler_FindFirst", (PyCFunction
) _wrap_FileSystemHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40928 { (char *)"FileSystemHandler_FindNext", (PyCFunction
) _wrap_FileSystemHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40929 { (char *)"FileSystemHandler_GetProtocol", (PyCFunction
) _wrap_FileSystemHandler_GetProtocol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40930 { (char *)"FileSystemHandler_GetLeftLocation", (PyCFunction
) _wrap_FileSystemHandler_GetLeftLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40931 { (char *)"FileSystemHandler_GetAnchor", (PyCFunction
) _wrap_FileSystemHandler_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40932 { (char *)"FileSystemHandler_GetRightLocation", (PyCFunction
) _wrap_FileSystemHandler_GetRightLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40933 { (char *)"FileSystemHandler_GetMimeTypeFromExt", (PyCFunction
) _wrap_FileSystemHandler_GetMimeTypeFromExt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40934 { (char *)"FileSystemHandler_swigregister", FileSystemHandler_swigregister
, METH_VARARGS
, NULL
},
40935 { (char *)"new_FileSystem", (PyCFunction
) _wrap_new_FileSystem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40936 { (char *)"delete_FileSystem", (PyCFunction
) _wrap_delete_FileSystem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40937 { (char *)"FileSystem_ChangePathTo", (PyCFunction
) _wrap_FileSystem_ChangePathTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40938 { (char *)"FileSystem_GetPath", (PyCFunction
) _wrap_FileSystem_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40939 { (char *)"FileSystem_OpenFile", (PyCFunction
) _wrap_FileSystem_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40940 { (char *)"FileSystem_FindFirst", (PyCFunction
) _wrap_FileSystem_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40941 { (char *)"FileSystem_FindNext", (PyCFunction
) _wrap_FileSystem_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40942 { (char *)"FileSystem_AddHandler", (PyCFunction
) _wrap_FileSystem_AddHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40943 { (char *)"FileSystem_CleanUpHandlers", (PyCFunction
) _wrap_FileSystem_CleanUpHandlers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40944 { (char *)"FileSystem_FileNameToURL", (PyCFunction
) _wrap_FileSystem_FileNameToURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40945 { (char *)"FileSystem_swigregister", FileSystem_swigregister
, METH_VARARGS
, NULL
},
40946 { (char *)"FileSystem_URLToFileName", (PyCFunction
) _wrap_FileSystem_URLToFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40947 { (char *)"new_InternetFSHandler", (PyCFunction
) _wrap_new_InternetFSHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40948 { (char *)"InternetFSHandler_CanOpen", (PyCFunction
) _wrap_InternetFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40949 { (char *)"InternetFSHandler_OpenFile", (PyCFunction
) _wrap_InternetFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40950 { (char *)"InternetFSHandler_swigregister", InternetFSHandler_swigregister
, METH_VARARGS
, NULL
},
40951 { (char *)"new_ZipFSHandler", (PyCFunction
) _wrap_new_ZipFSHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40952 { (char *)"ZipFSHandler_CanOpen", (PyCFunction
) _wrap_ZipFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40953 { (char *)"ZipFSHandler_OpenFile", (PyCFunction
) _wrap_ZipFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40954 { (char *)"ZipFSHandler_FindFirst", (PyCFunction
) _wrap_ZipFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40955 { (char *)"ZipFSHandler_FindNext", (PyCFunction
) _wrap_ZipFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40956 { (char *)"ZipFSHandler_swigregister", ZipFSHandler_swigregister
, METH_VARARGS
, NULL
},
40957 { (char *)"__wxMemoryFSHandler_AddFile_wxImage", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40958 { (char *)"__wxMemoryFSHandler_AddFile_wxBitmap", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40959 { (char *)"__wxMemoryFSHandler_AddFile_Data", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_Data
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40960 { (char *)"new_MemoryFSHandler", (PyCFunction
) _wrap_new_MemoryFSHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40961 { (char *)"MemoryFSHandler_RemoveFile", (PyCFunction
) _wrap_MemoryFSHandler_RemoveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40962 { (char *)"MemoryFSHandler_CanOpen", (PyCFunction
) _wrap_MemoryFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40963 { (char *)"MemoryFSHandler_OpenFile", (PyCFunction
) _wrap_MemoryFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40964 { (char *)"MemoryFSHandler_FindFirst", (PyCFunction
) _wrap_MemoryFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40965 { (char *)"MemoryFSHandler_FindNext", (PyCFunction
) _wrap_MemoryFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40966 { (char *)"MemoryFSHandler_swigregister", MemoryFSHandler_swigregister
, METH_VARARGS
, NULL
},
40967 { (char *)"ImageHandler_GetName", (PyCFunction
) _wrap_ImageHandler_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40968 { (char *)"ImageHandler_GetExtension", (PyCFunction
) _wrap_ImageHandler_GetExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40969 { (char *)"ImageHandler_GetType", (PyCFunction
) _wrap_ImageHandler_GetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40970 { (char *)"ImageHandler_GetMimeType", (PyCFunction
) _wrap_ImageHandler_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40971 { (char *)"ImageHandler_CanRead", (PyCFunction
) _wrap_ImageHandler_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40972 { (char *)"ImageHandler_SetName", (PyCFunction
) _wrap_ImageHandler_SetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40973 { (char *)"ImageHandler_SetExtension", (PyCFunction
) _wrap_ImageHandler_SetExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40974 { (char *)"ImageHandler_SetType", (PyCFunction
) _wrap_ImageHandler_SetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40975 { (char *)"ImageHandler_SetMimeType", (PyCFunction
) _wrap_ImageHandler_SetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40976 { (char *)"ImageHandler_swigregister", ImageHandler_swigregister
, METH_VARARGS
, NULL
},
40977 { (char *)"new_ImageHistogram", (PyCFunction
) _wrap_new_ImageHistogram
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40978 { (char *)"ImageHistogram_MakeKey", (PyCFunction
) _wrap_ImageHistogram_MakeKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40979 { (char *)"ImageHistogram_FindFirstUnusedColour", (PyCFunction
) _wrap_ImageHistogram_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40980 { (char *)"ImageHistogram_swigregister", ImageHistogram_swigregister
, METH_VARARGS
, NULL
},
40981 { (char *)"new_Image", (PyCFunction
) _wrap_new_Image
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40982 { (char *)"delete_Image", (PyCFunction
) _wrap_delete_Image
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40983 { (char *)"new_ImageFromMime", (PyCFunction
) _wrap_new_ImageFromMime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40984 { (char *)"new_ImageFromStream", (PyCFunction
) _wrap_new_ImageFromStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40985 { (char *)"new_ImageFromStreamMime", (PyCFunction
) _wrap_new_ImageFromStreamMime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40986 { (char *)"new_EmptyImage", (PyCFunction
) _wrap_new_EmptyImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40987 { (char *)"new_ImageFromBitmap", (PyCFunction
) _wrap_new_ImageFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40988 { (char *)"new_ImageFromData", (PyCFunction
) _wrap_new_ImageFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40989 { (char *)"Image_Create", (PyCFunction
) _wrap_Image_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40990 { (char *)"Image_Destroy", (PyCFunction
) _wrap_Image_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40991 { (char *)"Image_Scale", (PyCFunction
) _wrap_Image_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40992 { (char *)"Image_ShrinkBy", (PyCFunction
) _wrap_Image_ShrinkBy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40993 { (char *)"Image_Rescale", (PyCFunction
) _wrap_Image_Rescale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40994 { (char *)"Image_SetRGB", (PyCFunction
) _wrap_Image_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40995 { (char *)"Image_GetRed", (PyCFunction
) _wrap_Image_GetRed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40996 { (char *)"Image_GetGreen", (PyCFunction
) _wrap_Image_GetGreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40997 { (char *)"Image_GetBlue", (PyCFunction
) _wrap_Image_GetBlue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40998 { (char *)"Image_SetAlpha", (PyCFunction
) _wrap_Image_SetAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40999 { (char *)"Image_GetAlpha", (PyCFunction
) _wrap_Image_GetAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41000 { (char *)"Image_HasAlpha", (PyCFunction
) _wrap_Image_HasAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41001 { (char *)"Image_FindFirstUnusedColour", (PyCFunction
) _wrap_Image_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41002 { (char *)"Image_ConvertAlphaToMask", (PyCFunction
) _wrap_Image_ConvertAlphaToMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41003 { (char *)"Image_SetMaskFromImage", (PyCFunction
) _wrap_Image_SetMaskFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41004 { (char *)"Image_CanRead", (PyCFunction
) _wrap_Image_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41005 { (char *)"Image_GetImageCount", (PyCFunction
) _wrap_Image_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41006 { (char *)"Image_LoadFile", (PyCFunction
) _wrap_Image_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41007 { (char *)"Image_LoadMimeFile", (PyCFunction
) _wrap_Image_LoadMimeFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41008 { (char *)"Image_SaveFile", (PyCFunction
) _wrap_Image_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41009 { (char *)"Image_SaveMimeFile", (PyCFunction
) _wrap_Image_SaveMimeFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41010 { (char *)"Image_CanReadStream", (PyCFunction
) _wrap_Image_CanReadStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41011 { (char *)"Image_LoadStream", (PyCFunction
) _wrap_Image_LoadStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41012 { (char *)"Image_LoadMimeStream", (PyCFunction
) _wrap_Image_LoadMimeStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41013 { (char *)"Image_Ok", (PyCFunction
) _wrap_Image_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41014 { (char *)"Image_GetWidth", (PyCFunction
) _wrap_Image_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41015 { (char *)"Image_GetHeight", (PyCFunction
) _wrap_Image_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41016 { (char *)"Image_GetSize", (PyCFunction
) _wrap_Image_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41017 { (char *)"Image_GetSubImage", (PyCFunction
) _wrap_Image_GetSubImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41018 { (char *)"Image_Copy", (PyCFunction
) _wrap_Image_Copy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41019 { (char *)"Image_Paste", (PyCFunction
) _wrap_Image_Paste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41020 { (char *)"Image_GetData", (PyCFunction
) _wrap_Image_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41021 { (char *)"Image_SetData", (PyCFunction
) _wrap_Image_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41022 { (char *)"Image_GetDataBuffer", (PyCFunction
) _wrap_Image_GetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41023 { (char *)"Image_SetDataBuffer", (PyCFunction
) _wrap_Image_SetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41024 { (char *)"Image_GetAlphaData", (PyCFunction
) _wrap_Image_GetAlphaData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41025 { (char *)"Image_SetAlphaData", (PyCFunction
) _wrap_Image_SetAlphaData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41026 { (char *)"Image_GetAlphaBuffer", (PyCFunction
) _wrap_Image_GetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41027 { (char *)"Image_SetAlphaBuffer", (PyCFunction
) _wrap_Image_SetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41028 { (char *)"Image_SetMaskColour", (PyCFunction
) _wrap_Image_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41029 { (char *)"Image_GetMaskRed", (PyCFunction
) _wrap_Image_GetMaskRed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41030 { (char *)"Image_GetMaskGreen", (PyCFunction
) _wrap_Image_GetMaskGreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41031 { (char *)"Image_GetMaskBlue", (PyCFunction
) _wrap_Image_GetMaskBlue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41032 { (char *)"Image_SetMask", (PyCFunction
) _wrap_Image_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41033 { (char *)"Image_HasMask", (PyCFunction
) _wrap_Image_HasMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41034 { (char *)"Image_Rotate", (PyCFunction
) _wrap_Image_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41035 { (char *)"Image_Rotate90", (PyCFunction
) _wrap_Image_Rotate90
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41036 { (char *)"Image_Mirror", (PyCFunction
) _wrap_Image_Mirror
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41037 { (char *)"Image_Replace", (PyCFunction
) _wrap_Image_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41038 { (char *)"Image_ConvertToMono", (PyCFunction
) _wrap_Image_ConvertToMono
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41039 { (char *)"Image_SetOption", (PyCFunction
) _wrap_Image_SetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41040 { (char *)"Image_SetOptionInt", (PyCFunction
) _wrap_Image_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41041 { (char *)"Image_GetOption", (PyCFunction
) _wrap_Image_GetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41042 { (char *)"Image_GetOptionInt", (PyCFunction
) _wrap_Image_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41043 { (char *)"Image_HasOption", (PyCFunction
) _wrap_Image_HasOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41044 { (char *)"Image_CountColours", (PyCFunction
) _wrap_Image_CountColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41045 { (char *)"Image_ComputeHistogram", (PyCFunction
) _wrap_Image_ComputeHistogram
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41046 { (char *)"Image_AddHandler", (PyCFunction
) _wrap_Image_AddHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41047 { (char *)"Image_InsertHandler", (PyCFunction
) _wrap_Image_InsertHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41048 { (char *)"Image_RemoveHandler", (PyCFunction
) _wrap_Image_RemoveHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41049 { (char *)"Image_GetImageExtWildcard", (PyCFunction
) _wrap_Image_GetImageExtWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41050 { (char *)"Image_ConvertToBitmap", (PyCFunction
) _wrap_Image_ConvertToBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41051 { (char *)"Image_ConvertToMonoBitmap", (PyCFunction
) _wrap_Image_ConvertToMonoBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41052 { (char *)"Image_swigregister", Image_swigregister
, METH_VARARGS
, NULL
},
41053 { (char *)"new_BMPHandler", (PyCFunction
) _wrap_new_BMPHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41054 { (char *)"BMPHandler_swigregister", BMPHandler_swigregister
, METH_VARARGS
, NULL
},
41055 { (char *)"new_ICOHandler", (PyCFunction
) _wrap_new_ICOHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41056 { (char *)"ICOHandler_swigregister", ICOHandler_swigregister
, METH_VARARGS
, NULL
},
41057 { (char *)"new_CURHandler", (PyCFunction
) _wrap_new_CURHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41058 { (char *)"CURHandler_swigregister", CURHandler_swigregister
, METH_VARARGS
, NULL
},
41059 { (char *)"new_ANIHandler", (PyCFunction
) _wrap_new_ANIHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41060 { (char *)"ANIHandler_swigregister", ANIHandler_swigregister
, METH_VARARGS
, NULL
},
41061 { (char *)"new_PNGHandler", (PyCFunction
) _wrap_new_PNGHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41062 { (char *)"PNGHandler_swigregister", PNGHandler_swigregister
, METH_VARARGS
, NULL
},
41063 { (char *)"new_GIFHandler", (PyCFunction
) _wrap_new_GIFHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41064 { (char *)"GIFHandler_swigregister", GIFHandler_swigregister
, METH_VARARGS
, NULL
},
41065 { (char *)"new_PCXHandler", (PyCFunction
) _wrap_new_PCXHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41066 { (char *)"PCXHandler_swigregister", PCXHandler_swigregister
, METH_VARARGS
, NULL
},
41067 { (char *)"new_JPEGHandler", (PyCFunction
) _wrap_new_JPEGHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41068 { (char *)"JPEGHandler_swigregister", JPEGHandler_swigregister
, METH_VARARGS
, NULL
},
41069 { (char *)"new_PNMHandler", (PyCFunction
) _wrap_new_PNMHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41070 { (char *)"PNMHandler_swigregister", PNMHandler_swigregister
, METH_VARARGS
, NULL
},
41071 { (char *)"new_XPMHandler", (PyCFunction
) _wrap_new_XPMHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41072 { (char *)"XPMHandler_swigregister", XPMHandler_swigregister
, METH_VARARGS
, NULL
},
41073 { (char *)"new_TIFFHandler", (PyCFunction
) _wrap_new_TIFFHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41074 { (char *)"TIFFHandler_swigregister", TIFFHandler_swigregister
, METH_VARARGS
, NULL
},
41075 { (char *)"Quantize_Quantize", (PyCFunction
) _wrap_Quantize_Quantize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41076 { (char *)"Quantize_swigregister", Quantize_swigregister
, METH_VARARGS
, NULL
},
41077 { (char *)"new_EvtHandler", (PyCFunction
) _wrap_new_EvtHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41078 { (char *)"EvtHandler_GetNextHandler", (PyCFunction
) _wrap_EvtHandler_GetNextHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41079 { (char *)"EvtHandler_GetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_GetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41080 { (char *)"EvtHandler_SetNextHandler", (PyCFunction
) _wrap_EvtHandler_SetNextHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41081 { (char *)"EvtHandler_SetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_SetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41082 { (char *)"EvtHandler_GetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_GetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41083 { (char *)"EvtHandler_SetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_SetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41084 { (char *)"EvtHandler_ProcessEvent", (PyCFunction
) _wrap_EvtHandler_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41085 { (char *)"EvtHandler_AddPendingEvent", (PyCFunction
) _wrap_EvtHandler_AddPendingEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41086 { (char *)"EvtHandler_ProcessPendingEvents", (PyCFunction
) _wrap_EvtHandler_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41087 { (char *)"EvtHandler_Connect", (PyCFunction
) _wrap_EvtHandler_Connect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41088 { (char *)"EvtHandler_Disconnect", (PyCFunction
) _wrap_EvtHandler_Disconnect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41089 { (char *)"EvtHandler__setOORInfo", (PyCFunction
) _wrap_EvtHandler__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41090 { (char *)"EvtHandler_swigregister", EvtHandler_swigregister
, METH_VARARGS
, NULL
},
41091 { (char *)"NewEventType", (PyCFunction
) _wrap_NewEventType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41092 { (char *)"delete_Event", (PyCFunction
) _wrap_delete_Event
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41093 { (char *)"Event_SetEventType", (PyCFunction
) _wrap_Event_SetEventType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41094 { (char *)"Event_GetEventType", (PyCFunction
) _wrap_Event_GetEventType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41095 { (char *)"Event_GetEventObject", (PyCFunction
) _wrap_Event_GetEventObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41096 { (char *)"Event_SetEventObject", (PyCFunction
) _wrap_Event_SetEventObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41097 { (char *)"Event_GetTimestamp", (PyCFunction
) _wrap_Event_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41098 { (char *)"Event_SetTimestamp", (PyCFunction
) _wrap_Event_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41099 { (char *)"Event_GetId", (PyCFunction
) _wrap_Event_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41100 { (char *)"Event_SetId", (PyCFunction
) _wrap_Event_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41101 { (char *)"Event_IsCommandEvent", (PyCFunction
) _wrap_Event_IsCommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41102 { (char *)"Event_Skip", (PyCFunction
) _wrap_Event_Skip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41103 { (char *)"Event_GetSkipped", (PyCFunction
) _wrap_Event_GetSkipped
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41104 { (char *)"Event_ShouldPropagate", (PyCFunction
) _wrap_Event_ShouldPropagate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41105 { (char *)"Event_StopPropagation", (PyCFunction
) _wrap_Event_StopPropagation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41106 { (char *)"Event_ResumePropagation", (PyCFunction
) _wrap_Event_ResumePropagation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41107 { (char *)"Event_Clone", (PyCFunction
) _wrap_Event_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41108 { (char *)"Event_swigregister", Event_swigregister
, METH_VARARGS
, NULL
},
41109 { (char *)"new_PropagationDisabler", (PyCFunction
) _wrap_new_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41110 { (char *)"delete_PropagationDisabler", (PyCFunction
) _wrap_delete_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41111 { (char *)"PropagationDisabler_swigregister", PropagationDisabler_swigregister
, METH_VARARGS
, NULL
},
41112 { (char *)"new_PropagateOnce", (PyCFunction
) _wrap_new_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41113 { (char *)"delete_PropagateOnce", (PyCFunction
) _wrap_delete_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41114 { (char *)"PropagateOnce_swigregister", PropagateOnce_swigregister
, METH_VARARGS
, NULL
},
41115 { (char *)"new_CommandEvent", (PyCFunction
) _wrap_new_CommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41116 { (char *)"CommandEvent_GetSelection", (PyCFunction
) _wrap_CommandEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41117 { (char *)"CommandEvent_SetString", (PyCFunction
) _wrap_CommandEvent_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41118 { (char *)"CommandEvent_GetString", (PyCFunction
) _wrap_CommandEvent_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41119 { (char *)"CommandEvent_IsChecked", (PyCFunction
) _wrap_CommandEvent_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41120 { (char *)"CommandEvent_IsSelection", (PyCFunction
) _wrap_CommandEvent_IsSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41121 { (char *)"CommandEvent_SetExtraLong", (PyCFunction
) _wrap_CommandEvent_SetExtraLong
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41122 { (char *)"CommandEvent_GetExtraLong", (PyCFunction
) _wrap_CommandEvent_GetExtraLong
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41123 { (char *)"CommandEvent_SetInt", (PyCFunction
) _wrap_CommandEvent_SetInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41124 { (char *)"CommandEvent_GetInt", (PyCFunction
) _wrap_CommandEvent_GetInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41125 { (char *)"CommandEvent_Clone", (PyCFunction
) _wrap_CommandEvent_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41126 { (char *)"CommandEvent_swigregister", CommandEvent_swigregister
, METH_VARARGS
, NULL
},
41127 { (char *)"new_NotifyEvent", (PyCFunction
) _wrap_new_NotifyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41128 { (char *)"NotifyEvent_Veto", (PyCFunction
) _wrap_NotifyEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41129 { (char *)"NotifyEvent_Allow", (PyCFunction
) _wrap_NotifyEvent_Allow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41130 { (char *)"NotifyEvent_IsAllowed", (PyCFunction
) _wrap_NotifyEvent_IsAllowed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41131 { (char *)"NotifyEvent_swigregister", NotifyEvent_swigregister
, METH_VARARGS
, NULL
},
41132 { (char *)"new_ScrollEvent", (PyCFunction
) _wrap_new_ScrollEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41133 { (char *)"ScrollEvent_GetOrientation", (PyCFunction
) _wrap_ScrollEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41134 { (char *)"ScrollEvent_GetPosition", (PyCFunction
) _wrap_ScrollEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41135 { (char *)"ScrollEvent_SetOrientation", (PyCFunction
) _wrap_ScrollEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41136 { (char *)"ScrollEvent_SetPosition", (PyCFunction
) _wrap_ScrollEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41137 { (char *)"ScrollEvent_swigregister", ScrollEvent_swigregister
, METH_VARARGS
, NULL
},
41138 { (char *)"new_ScrollWinEvent", (PyCFunction
) _wrap_new_ScrollWinEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41139 { (char *)"ScrollWinEvent_GetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41140 { (char *)"ScrollWinEvent_GetPosition", (PyCFunction
) _wrap_ScrollWinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41141 { (char *)"ScrollWinEvent_SetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41142 { (char *)"ScrollWinEvent_SetPosition", (PyCFunction
) _wrap_ScrollWinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41143 { (char *)"ScrollWinEvent_swigregister", ScrollWinEvent_swigregister
, METH_VARARGS
, NULL
},
41144 { (char *)"new_MouseEvent", (PyCFunction
) _wrap_new_MouseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41145 { (char *)"MouseEvent_IsButton", (PyCFunction
) _wrap_MouseEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41146 { (char *)"MouseEvent_ButtonDown", (PyCFunction
) _wrap_MouseEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41147 { (char *)"MouseEvent_ButtonDClick", (PyCFunction
) _wrap_MouseEvent_ButtonDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41148 { (char *)"MouseEvent_ButtonUp", (PyCFunction
) _wrap_MouseEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41149 { (char *)"MouseEvent_Button", (PyCFunction
) _wrap_MouseEvent_Button
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41150 { (char *)"MouseEvent_ButtonIsDown", (PyCFunction
) _wrap_MouseEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41151 { (char *)"MouseEvent_GetButton", (PyCFunction
) _wrap_MouseEvent_GetButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41152 { (char *)"MouseEvent_ControlDown", (PyCFunction
) _wrap_MouseEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41153 { (char *)"MouseEvent_MetaDown", (PyCFunction
) _wrap_MouseEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41154 { (char *)"MouseEvent_AltDown", (PyCFunction
) _wrap_MouseEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41155 { (char *)"MouseEvent_ShiftDown", (PyCFunction
) _wrap_MouseEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41156 { (char *)"MouseEvent_CmdDown", (PyCFunction
) _wrap_MouseEvent_CmdDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41157 { (char *)"MouseEvent_LeftDown", (PyCFunction
) _wrap_MouseEvent_LeftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41158 { (char *)"MouseEvent_MiddleDown", (PyCFunction
) _wrap_MouseEvent_MiddleDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41159 { (char *)"MouseEvent_RightDown", (PyCFunction
) _wrap_MouseEvent_RightDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41160 { (char *)"MouseEvent_LeftUp", (PyCFunction
) _wrap_MouseEvent_LeftUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41161 { (char *)"MouseEvent_MiddleUp", (PyCFunction
) _wrap_MouseEvent_MiddleUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41162 { (char *)"MouseEvent_RightUp", (PyCFunction
) _wrap_MouseEvent_RightUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41163 { (char *)"MouseEvent_LeftDClick", (PyCFunction
) _wrap_MouseEvent_LeftDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41164 { (char *)"MouseEvent_MiddleDClick", (PyCFunction
) _wrap_MouseEvent_MiddleDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41165 { (char *)"MouseEvent_RightDClick", (PyCFunction
) _wrap_MouseEvent_RightDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41166 { (char *)"MouseEvent_LeftIsDown", (PyCFunction
) _wrap_MouseEvent_LeftIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41167 { (char *)"MouseEvent_MiddleIsDown", (PyCFunction
) _wrap_MouseEvent_MiddleIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41168 { (char *)"MouseEvent_RightIsDown", (PyCFunction
) _wrap_MouseEvent_RightIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41169 { (char *)"MouseEvent_Dragging", (PyCFunction
) _wrap_MouseEvent_Dragging
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41170 { (char *)"MouseEvent_Moving", (PyCFunction
) _wrap_MouseEvent_Moving
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41171 { (char *)"MouseEvent_Entering", (PyCFunction
) _wrap_MouseEvent_Entering
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41172 { (char *)"MouseEvent_Leaving", (PyCFunction
) _wrap_MouseEvent_Leaving
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41173 { (char *)"MouseEvent_GetPosition", (PyCFunction
) _wrap_MouseEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41174 { (char *)"MouseEvent_GetPositionTuple", (PyCFunction
) _wrap_MouseEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41175 { (char *)"MouseEvent_GetLogicalPosition", (PyCFunction
) _wrap_MouseEvent_GetLogicalPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41176 { (char *)"MouseEvent_GetX", (PyCFunction
) _wrap_MouseEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41177 { (char *)"MouseEvent_GetY", (PyCFunction
) _wrap_MouseEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41178 { (char *)"MouseEvent_GetWheelRotation", (PyCFunction
) _wrap_MouseEvent_GetWheelRotation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41179 { (char *)"MouseEvent_GetWheelDelta", (PyCFunction
) _wrap_MouseEvent_GetWheelDelta
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41180 { (char *)"MouseEvent_GetLinesPerAction", (PyCFunction
) _wrap_MouseEvent_GetLinesPerAction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41181 { (char *)"MouseEvent_IsPageScroll", (PyCFunction
) _wrap_MouseEvent_IsPageScroll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41182 { (char *)"MouseEvent_m_x_set", (PyCFunction
) _wrap_MouseEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41183 { (char *)"MouseEvent_m_x_get", (PyCFunction
) _wrap_MouseEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41184 { (char *)"MouseEvent_m_y_set", (PyCFunction
) _wrap_MouseEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41185 { (char *)"MouseEvent_m_y_get", (PyCFunction
) _wrap_MouseEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41186 { (char *)"MouseEvent_m_leftDown_set", (PyCFunction
) _wrap_MouseEvent_m_leftDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41187 { (char *)"MouseEvent_m_leftDown_get", (PyCFunction
) _wrap_MouseEvent_m_leftDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41188 { (char *)"MouseEvent_m_middleDown_set", (PyCFunction
) _wrap_MouseEvent_m_middleDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41189 { (char *)"MouseEvent_m_middleDown_get", (PyCFunction
) _wrap_MouseEvent_m_middleDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41190 { (char *)"MouseEvent_m_rightDown_set", (PyCFunction
) _wrap_MouseEvent_m_rightDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41191 { (char *)"MouseEvent_m_rightDown_get", (PyCFunction
) _wrap_MouseEvent_m_rightDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41192 { (char *)"MouseEvent_m_controlDown_set", (PyCFunction
) _wrap_MouseEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41193 { (char *)"MouseEvent_m_controlDown_get", (PyCFunction
) _wrap_MouseEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41194 { (char *)"MouseEvent_m_shiftDown_set", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41195 { (char *)"MouseEvent_m_shiftDown_get", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41196 { (char *)"MouseEvent_m_altDown_set", (PyCFunction
) _wrap_MouseEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41197 { (char *)"MouseEvent_m_altDown_get", (PyCFunction
) _wrap_MouseEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41198 { (char *)"MouseEvent_m_metaDown_set", (PyCFunction
) _wrap_MouseEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41199 { (char *)"MouseEvent_m_metaDown_get", (PyCFunction
) _wrap_MouseEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41200 { (char *)"MouseEvent_m_wheelRotation_set", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41201 { (char *)"MouseEvent_m_wheelRotation_get", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41202 { (char *)"MouseEvent_m_wheelDelta_set", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41203 { (char *)"MouseEvent_m_wheelDelta_get", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41204 { (char *)"MouseEvent_m_linesPerAction_set", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41205 { (char *)"MouseEvent_m_linesPerAction_get", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41206 { (char *)"MouseEvent_swigregister", MouseEvent_swigregister
, METH_VARARGS
, NULL
},
41207 { (char *)"new_SetCursorEvent", (PyCFunction
) _wrap_new_SetCursorEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41208 { (char *)"SetCursorEvent_GetX", (PyCFunction
) _wrap_SetCursorEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41209 { (char *)"SetCursorEvent_GetY", (PyCFunction
) _wrap_SetCursorEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41210 { (char *)"SetCursorEvent_SetCursor", (PyCFunction
) _wrap_SetCursorEvent_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41211 { (char *)"SetCursorEvent_GetCursor", (PyCFunction
) _wrap_SetCursorEvent_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41212 { (char *)"SetCursorEvent_HasCursor", (PyCFunction
) _wrap_SetCursorEvent_HasCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41213 { (char *)"SetCursorEvent_swigregister", SetCursorEvent_swigregister
, METH_VARARGS
, NULL
},
41214 { (char *)"new_KeyEvent", (PyCFunction
) _wrap_new_KeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41215 { (char *)"KeyEvent_ControlDown", (PyCFunction
) _wrap_KeyEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41216 { (char *)"KeyEvent_MetaDown", (PyCFunction
) _wrap_KeyEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41217 { (char *)"KeyEvent_AltDown", (PyCFunction
) _wrap_KeyEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41218 { (char *)"KeyEvent_ShiftDown", (PyCFunction
) _wrap_KeyEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41219 { (char *)"KeyEvent_CmdDown", (PyCFunction
) _wrap_KeyEvent_CmdDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41220 { (char *)"KeyEvent_HasModifiers", (PyCFunction
) _wrap_KeyEvent_HasModifiers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41221 { (char *)"KeyEvent_GetKeyCode", (PyCFunction
) _wrap_KeyEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41222 { (char *)"KeyEvent_GetUnicodeKey", (PyCFunction
) _wrap_KeyEvent_GetUnicodeKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41223 { (char *)"KeyEvent_GetRawKeyCode", (PyCFunction
) _wrap_KeyEvent_GetRawKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41224 { (char *)"KeyEvent_GetRawKeyFlags", (PyCFunction
) _wrap_KeyEvent_GetRawKeyFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41225 { (char *)"KeyEvent_GetPosition", (PyCFunction
) _wrap_KeyEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41226 { (char *)"KeyEvent_GetPositionTuple", (PyCFunction
) _wrap_KeyEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41227 { (char *)"KeyEvent_GetX", (PyCFunction
) _wrap_KeyEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41228 { (char *)"KeyEvent_GetY", (PyCFunction
) _wrap_KeyEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41229 { (char *)"KeyEvent_m_x_set", (PyCFunction
) _wrap_KeyEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41230 { (char *)"KeyEvent_m_x_get", (PyCFunction
) _wrap_KeyEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41231 { (char *)"KeyEvent_m_y_set", (PyCFunction
) _wrap_KeyEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41232 { (char *)"KeyEvent_m_y_get", (PyCFunction
) _wrap_KeyEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41233 { (char *)"KeyEvent_m_keyCode_set", (PyCFunction
) _wrap_KeyEvent_m_keyCode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41234 { (char *)"KeyEvent_m_keyCode_get", (PyCFunction
) _wrap_KeyEvent_m_keyCode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41235 { (char *)"KeyEvent_m_controlDown_set", (PyCFunction
) _wrap_KeyEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41236 { (char *)"KeyEvent_m_controlDown_get", (PyCFunction
) _wrap_KeyEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41237 { (char *)"KeyEvent_m_shiftDown_set", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41238 { (char *)"KeyEvent_m_shiftDown_get", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41239 { (char *)"KeyEvent_m_altDown_set", (PyCFunction
) _wrap_KeyEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41240 { (char *)"KeyEvent_m_altDown_get", (PyCFunction
) _wrap_KeyEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41241 { (char *)"KeyEvent_m_metaDown_set", (PyCFunction
) _wrap_KeyEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41242 { (char *)"KeyEvent_m_metaDown_get", (PyCFunction
) _wrap_KeyEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41243 { (char *)"KeyEvent_m_scanCode_set", (PyCFunction
) _wrap_KeyEvent_m_scanCode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41244 { (char *)"KeyEvent_m_scanCode_get", (PyCFunction
) _wrap_KeyEvent_m_scanCode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41245 { (char *)"KeyEvent_m_rawCode_set", (PyCFunction
) _wrap_KeyEvent_m_rawCode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41246 { (char *)"KeyEvent_m_rawCode_get", (PyCFunction
) _wrap_KeyEvent_m_rawCode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41247 { (char *)"KeyEvent_m_rawFlags_set", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41248 { (char *)"KeyEvent_m_rawFlags_get", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41249 { (char *)"KeyEvent_swigregister", KeyEvent_swigregister
, METH_VARARGS
, NULL
},
41250 { (char *)"new_SizeEvent", (PyCFunction
) _wrap_new_SizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41251 { (char *)"SizeEvent_GetSize", (PyCFunction
) _wrap_SizeEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41252 { (char *)"SizeEvent_GetRect", (PyCFunction
) _wrap_SizeEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41253 { (char *)"SizeEvent_SetRect", (PyCFunction
) _wrap_SizeEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41254 { (char *)"SizeEvent_SetSize", (PyCFunction
) _wrap_SizeEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41255 { (char *)"SizeEvent_m_size_set", (PyCFunction
) _wrap_SizeEvent_m_size_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41256 { (char *)"SizeEvent_m_size_get", (PyCFunction
) _wrap_SizeEvent_m_size_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41257 { (char *)"SizeEvent_m_rect_set", (PyCFunction
) _wrap_SizeEvent_m_rect_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41258 { (char *)"SizeEvent_m_rect_get", (PyCFunction
) _wrap_SizeEvent_m_rect_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41259 { (char *)"SizeEvent_swigregister", SizeEvent_swigregister
, METH_VARARGS
, NULL
},
41260 { (char *)"new_MoveEvent", (PyCFunction
) _wrap_new_MoveEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41261 { (char *)"MoveEvent_GetPosition", (PyCFunction
) _wrap_MoveEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41262 { (char *)"MoveEvent_GetRect", (PyCFunction
) _wrap_MoveEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41263 { (char *)"MoveEvent_SetRect", (PyCFunction
) _wrap_MoveEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41264 { (char *)"MoveEvent_SetPosition", (PyCFunction
) _wrap_MoveEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41265 { (char *)"MoveEvent_m_pos_set", (PyCFunction
) _wrap_MoveEvent_m_pos_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41266 { (char *)"MoveEvent_m_pos_get", (PyCFunction
) _wrap_MoveEvent_m_pos_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41267 { (char *)"MoveEvent_m_rect_set", (PyCFunction
) _wrap_MoveEvent_m_rect_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41268 { (char *)"MoveEvent_m_rect_get", (PyCFunction
) _wrap_MoveEvent_m_rect_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41269 { (char *)"MoveEvent_swigregister", MoveEvent_swigregister
, METH_VARARGS
, NULL
},
41270 { (char *)"new_PaintEvent", (PyCFunction
) _wrap_new_PaintEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41271 { (char *)"PaintEvent_swigregister", PaintEvent_swigregister
, METH_VARARGS
, NULL
},
41272 { (char *)"new_NcPaintEvent", (PyCFunction
) _wrap_new_NcPaintEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41273 { (char *)"NcPaintEvent_swigregister", NcPaintEvent_swigregister
, METH_VARARGS
, NULL
},
41274 { (char *)"new_EraseEvent", (PyCFunction
) _wrap_new_EraseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41275 { (char *)"EraseEvent_GetDC", (PyCFunction
) _wrap_EraseEvent_GetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41276 { (char *)"EraseEvent_swigregister", EraseEvent_swigregister
, METH_VARARGS
, NULL
},
41277 { (char *)"new_FocusEvent", (PyCFunction
) _wrap_new_FocusEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41278 { (char *)"FocusEvent_GetWindow", (PyCFunction
) _wrap_FocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41279 { (char *)"FocusEvent_SetWindow", (PyCFunction
) _wrap_FocusEvent_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41280 { (char *)"FocusEvent_swigregister", FocusEvent_swigregister
, METH_VARARGS
, NULL
},
41281 { (char *)"new_ChildFocusEvent", (PyCFunction
) _wrap_new_ChildFocusEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41282 { (char *)"ChildFocusEvent_GetWindow", (PyCFunction
) _wrap_ChildFocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41283 { (char *)"ChildFocusEvent_swigregister", ChildFocusEvent_swigregister
, METH_VARARGS
, NULL
},
41284 { (char *)"new_ActivateEvent", (PyCFunction
) _wrap_new_ActivateEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41285 { (char *)"ActivateEvent_GetActive", (PyCFunction
) _wrap_ActivateEvent_GetActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41286 { (char *)"ActivateEvent_swigregister", ActivateEvent_swigregister
, METH_VARARGS
, NULL
},
41287 { (char *)"new_InitDialogEvent", (PyCFunction
) _wrap_new_InitDialogEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41288 { (char *)"InitDialogEvent_swigregister", InitDialogEvent_swigregister
, METH_VARARGS
, NULL
},
41289 { (char *)"new_MenuEvent", (PyCFunction
) _wrap_new_MenuEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41290 { (char *)"MenuEvent_GetMenuId", (PyCFunction
) _wrap_MenuEvent_GetMenuId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41291 { (char *)"MenuEvent_IsPopup", (PyCFunction
) _wrap_MenuEvent_IsPopup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41292 { (char *)"MenuEvent_GetMenu", (PyCFunction
) _wrap_MenuEvent_GetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41293 { (char *)"MenuEvent_swigregister", MenuEvent_swigregister
, METH_VARARGS
, NULL
},
41294 { (char *)"new_CloseEvent", (PyCFunction
) _wrap_new_CloseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41295 { (char *)"CloseEvent_SetLoggingOff", (PyCFunction
) _wrap_CloseEvent_SetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41296 { (char *)"CloseEvent_GetLoggingOff", (PyCFunction
) _wrap_CloseEvent_GetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41297 { (char *)"CloseEvent_Veto", (PyCFunction
) _wrap_CloseEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41298 { (char *)"CloseEvent_SetCanVeto", (PyCFunction
) _wrap_CloseEvent_SetCanVeto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41299 { (char *)"CloseEvent_CanVeto", (PyCFunction
) _wrap_CloseEvent_CanVeto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41300 { (char *)"CloseEvent_GetVeto", (PyCFunction
) _wrap_CloseEvent_GetVeto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41301 { (char *)"CloseEvent_swigregister", CloseEvent_swigregister
, METH_VARARGS
, NULL
},
41302 { (char *)"new_ShowEvent", (PyCFunction
) _wrap_new_ShowEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41303 { (char *)"ShowEvent_SetShow", (PyCFunction
) _wrap_ShowEvent_SetShow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41304 { (char *)"ShowEvent_GetShow", (PyCFunction
) _wrap_ShowEvent_GetShow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41305 { (char *)"ShowEvent_swigregister", ShowEvent_swigregister
, METH_VARARGS
, NULL
},
41306 { (char *)"new_IconizeEvent", (PyCFunction
) _wrap_new_IconizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41307 { (char *)"IconizeEvent_Iconized", (PyCFunction
) _wrap_IconizeEvent_Iconized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41308 { (char *)"IconizeEvent_swigregister", IconizeEvent_swigregister
, METH_VARARGS
, NULL
},
41309 { (char *)"new_MaximizeEvent", (PyCFunction
) _wrap_new_MaximizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41310 { (char *)"MaximizeEvent_swigregister", MaximizeEvent_swigregister
, METH_VARARGS
, NULL
},
41311 { (char *)"DropFilesEvent_GetPosition", (PyCFunction
) _wrap_DropFilesEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41312 { (char *)"DropFilesEvent_GetNumberOfFiles", (PyCFunction
) _wrap_DropFilesEvent_GetNumberOfFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41313 { (char *)"DropFilesEvent_GetFiles", (PyCFunction
) _wrap_DropFilesEvent_GetFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41314 { (char *)"DropFilesEvent_swigregister", DropFilesEvent_swigregister
, METH_VARARGS
, NULL
},
41315 { (char *)"new_UpdateUIEvent", (PyCFunction
) _wrap_new_UpdateUIEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41316 { (char *)"UpdateUIEvent_GetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41317 { (char *)"UpdateUIEvent_GetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41318 { (char *)"UpdateUIEvent_GetText", (PyCFunction
) _wrap_UpdateUIEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41319 { (char *)"UpdateUIEvent_GetSetText", (PyCFunction
) _wrap_UpdateUIEvent_GetSetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41320 { (char *)"UpdateUIEvent_GetSetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetSetChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41321 { (char *)"UpdateUIEvent_GetSetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetSetEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41322 { (char *)"UpdateUIEvent_Check", (PyCFunction
) _wrap_UpdateUIEvent_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41323 { (char *)"UpdateUIEvent_Enable", (PyCFunction
) _wrap_UpdateUIEvent_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41324 { (char *)"UpdateUIEvent_SetText", (PyCFunction
) _wrap_UpdateUIEvent_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41325 { (char *)"UpdateUIEvent_SetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_SetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41326 { (char *)"UpdateUIEvent_GetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_GetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41327 { (char *)"UpdateUIEvent_CanUpdate", (PyCFunction
) _wrap_UpdateUIEvent_CanUpdate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41328 { (char *)"UpdateUIEvent_ResetUpdateTime", (PyCFunction
) _wrap_UpdateUIEvent_ResetUpdateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41329 { (char *)"UpdateUIEvent_SetMode", (PyCFunction
) _wrap_UpdateUIEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41330 { (char *)"UpdateUIEvent_GetMode", (PyCFunction
) _wrap_UpdateUIEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41331 { (char *)"UpdateUIEvent_swigregister", UpdateUIEvent_swigregister
, METH_VARARGS
, NULL
},
41332 { (char *)"new_SysColourChangedEvent", (PyCFunction
) _wrap_new_SysColourChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41333 { (char *)"SysColourChangedEvent_swigregister", SysColourChangedEvent_swigregister
, METH_VARARGS
, NULL
},
41334 { (char *)"new_MouseCaptureChangedEvent", (PyCFunction
) _wrap_new_MouseCaptureChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41335 { (char *)"MouseCaptureChangedEvent_GetCapturedWindow", (PyCFunction
) _wrap_MouseCaptureChangedEvent_GetCapturedWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41336 { (char *)"MouseCaptureChangedEvent_swigregister", MouseCaptureChangedEvent_swigregister
, METH_VARARGS
, NULL
},
41337 { (char *)"new_DisplayChangedEvent", (PyCFunction
) _wrap_new_DisplayChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41338 { (char *)"DisplayChangedEvent_swigregister", DisplayChangedEvent_swigregister
, METH_VARARGS
, NULL
},
41339 { (char *)"new_PaletteChangedEvent", (PyCFunction
) _wrap_new_PaletteChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41340 { (char *)"PaletteChangedEvent_SetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_SetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41341 { (char *)"PaletteChangedEvent_GetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_GetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41342 { (char *)"PaletteChangedEvent_swigregister", PaletteChangedEvent_swigregister
, METH_VARARGS
, NULL
},
41343 { (char *)"new_QueryNewPaletteEvent", (PyCFunction
) _wrap_new_QueryNewPaletteEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41344 { (char *)"QueryNewPaletteEvent_SetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_SetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41345 { (char *)"QueryNewPaletteEvent_GetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_GetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41346 { (char *)"QueryNewPaletteEvent_swigregister", QueryNewPaletteEvent_swigregister
, METH_VARARGS
, NULL
},
41347 { (char *)"new_NavigationKeyEvent", (PyCFunction
) _wrap_new_NavigationKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41348 { (char *)"NavigationKeyEvent_GetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_GetDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41349 { (char *)"NavigationKeyEvent_SetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_SetDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41350 { (char *)"NavigationKeyEvent_IsWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_IsWindowChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41351 { (char *)"NavigationKeyEvent_SetWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_SetWindowChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41352 { (char *)"NavigationKeyEvent_SetFlags", (PyCFunction
) _wrap_NavigationKeyEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41353 { (char *)"NavigationKeyEvent_GetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_GetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41354 { (char *)"NavigationKeyEvent_SetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_SetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41355 { (char *)"NavigationKeyEvent_swigregister", NavigationKeyEvent_swigregister
, METH_VARARGS
, NULL
},
41356 { (char *)"new_WindowCreateEvent", (PyCFunction
) _wrap_new_WindowCreateEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41357 { (char *)"WindowCreateEvent_GetWindow", (PyCFunction
) _wrap_WindowCreateEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41358 { (char *)"WindowCreateEvent_swigregister", WindowCreateEvent_swigregister
, METH_VARARGS
, NULL
},
41359 { (char *)"new_WindowDestroyEvent", (PyCFunction
) _wrap_new_WindowDestroyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41360 { (char *)"WindowDestroyEvent_GetWindow", (PyCFunction
) _wrap_WindowDestroyEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41361 { (char *)"WindowDestroyEvent_swigregister", WindowDestroyEvent_swigregister
, METH_VARARGS
, NULL
},
41362 { (char *)"new_ContextMenuEvent", (PyCFunction
) _wrap_new_ContextMenuEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41363 { (char *)"ContextMenuEvent_GetPosition", (PyCFunction
) _wrap_ContextMenuEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41364 { (char *)"ContextMenuEvent_SetPosition", (PyCFunction
) _wrap_ContextMenuEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41365 { (char *)"ContextMenuEvent_swigregister", ContextMenuEvent_swigregister
, METH_VARARGS
, NULL
},
41366 { (char *)"new_IdleEvent", (PyCFunction
) _wrap_new_IdleEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41367 { (char *)"IdleEvent_RequestMore", (PyCFunction
) _wrap_IdleEvent_RequestMore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41368 { (char *)"IdleEvent_MoreRequested", (PyCFunction
) _wrap_IdleEvent_MoreRequested
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41369 { (char *)"IdleEvent_SetMode", (PyCFunction
) _wrap_IdleEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41370 { (char *)"IdleEvent_GetMode", (PyCFunction
) _wrap_IdleEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41371 { (char *)"IdleEvent_CanSend", (PyCFunction
) _wrap_IdleEvent_CanSend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41372 { (char *)"IdleEvent_swigregister", IdleEvent_swigregister
, METH_VARARGS
, NULL
},
41373 { (char *)"new_PyEvent", (PyCFunction
) _wrap_new_PyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41374 { (char *)"delete_PyEvent", (PyCFunction
) _wrap_delete_PyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41375 { (char *)"PyEvent_SetSelf", (PyCFunction
) _wrap_PyEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41376 { (char *)"PyEvent_GetSelf", (PyCFunction
) _wrap_PyEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41377 { (char *)"PyEvent_swigregister", PyEvent_swigregister
, METH_VARARGS
, NULL
},
41378 { (char *)"new_PyCommandEvent", (PyCFunction
) _wrap_new_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41379 { (char *)"delete_PyCommandEvent", (PyCFunction
) _wrap_delete_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41380 { (char *)"PyCommandEvent_SetSelf", (PyCFunction
) _wrap_PyCommandEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41381 { (char *)"PyCommandEvent_GetSelf", (PyCFunction
) _wrap_PyCommandEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41382 { (char *)"PyCommandEvent_swigregister", PyCommandEvent_swigregister
, METH_VARARGS
, NULL
},
41383 { (char *)"new_PyApp", (PyCFunction
) _wrap_new_PyApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41384 { (char *)"delete_PyApp", (PyCFunction
) _wrap_delete_PyApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41385 { (char *)"PyApp__setCallbackInfo", (PyCFunction
) _wrap_PyApp__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41386 { (char *)"PyApp_GetAppName", (PyCFunction
) _wrap_PyApp_GetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41387 { (char *)"PyApp_SetAppName", (PyCFunction
) _wrap_PyApp_SetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41388 { (char *)"PyApp_GetClassName", (PyCFunction
) _wrap_PyApp_GetClassName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41389 { (char *)"PyApp_SetClassName", (PyCFunction
) _wrap_PyApp_SetClassName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41390 { (char *)"PyApp_GetVendorName", (PyCFunction
) _wrap_PyApp_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41391 { (char *)"PyApp_SetVendorName", (PyCFunction
) _wrap_PyApp_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41392 { (char *)"PyApp_GetTraits", (PyCFunction
) _wrap_PyApp_GetTraits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41393 { (char *)"PyApp_ProcessPendingEvents", (PyCFunction
) _wrap_PyApp_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41394 { (char *)"PyApp_Yield", (PyCFunction
) _wrap_PyApp_Yield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41395 { (char *)"PyApp_WakeUpIdle", (PyCFunction
) _wrap_PyApp_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41396 { (char *)"PyApp_MainLoop", (PyCFunction
) _wrap_PyApp_MainLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41397 { (char *)"PyApp_Exit", (PyCFunction
) _wrap_PyApp_Exit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41398 { (char *)"PyApp_ExitMainLoop", (PyCFunction
) _wrap_PyApp_ExitMainLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41399 { (char *)"PyApp_Pending", (PyCFunction
) _wrap_PyApp_Pending
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41400 { (char *)"PyApp_Dispatch", (PyCFunction
) _wrap_PyApp_Dispatch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41401 { (char *)"PyApp_ProcessIdle", (PyCFunction
) _wrap_PyApp_ProcessIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41402 { (char *)"PyApp_SendIdleEvents", (PyCFunction
) _wrap_PyApp_SendIdleEvents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41403 { (char *)"PyApp_IsActive", (PyCFunction
) _wrap_PyApp_IsActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41404 { (char *)"PyApp_SetTopWindow", (PyCFunction
) _wrap_PyApp_SetTopWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41405 { (char *)"PyApp_GetTopWindow", (PyCFunction
) _wrap_PyApp_GetTopWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41406 { (char *)"PyApp_SetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_SetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41407 { (char *)"PyApp_GetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_GetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41408 { (char *)"PyApp_SetUseBestVisual", (PyCFunction
) _wrap_PyApp_SetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41409 { (char *)"PyApp_GetUseBestVisual", (PyCFunction
) _wrap_PyApp_GetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41410 { (char *)"PyApp_SetPrintMode", (PyCFunction
) _wrap_PyApp_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41411 { (char *)"PyApp_GetPrintMode", (PyCFunction
) _wrap_PyApp_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41412 { (char *)"PyApp_SetAssertMode", (PyCFunction
) _wrap_PyApp_SetAssertMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41413 { (char *)"PyApp_GetAssertMode", (PyCFunction
) _wrap_PyApp_GetAssertMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41414 { (char *)"PyApp_GetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_GetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41415 { (char *)"PyApp_GetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41416 { (char *)"PyApp_GetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41417 { (char *)"PyApp_GetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41418 { (char *)"PyApp_GetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_GetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41419 { (char *)"PyApp_SetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_SetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41420 { (char *)"PyApp_SetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41421 { (char *)"PyApp_SetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41422 { (char *)"PyApp_SetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41423 { (char *)"PyApp_SetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_SetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41424 { (char *)"PyApp__BootstrapApp", (PyCFunction
) _wrap_PyApp__BootstrapApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41425 { (char *)"PyApp_GetComCtl32Version", (PyCFunction
) _wrap_PyApp_GetComCtl32Version
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41426 { (char *)"PyApp_swigregister", PyApp_swigregister
, METH_VARARGS
, NULL
},
41427 { (char *)"Exit", (PyCFunction
) _wrap_Exit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41428 { (char *)"Yield", (PyCFunction
) _wrap_Yield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41429 { (char *)"YieldIfNeeded", (PyCFunction
) _wrap_YieldIfNeeded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41430 { (char *)"SafeYield", (PyCFunction
) _wrap_SafeYield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41431 { (char *)"WakeUpIdle", (PyCFunction
) _wrap_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41432 { (char *)"PostEvent", (PyCFunction
) _wrap_PostEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41433 { (char *)"App_CleanUp", (PyCFunction
) _wrap_App_CleanUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41434 { (char *)"GetApp", (PyCFunction
) _wrap_GetApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41435 { (char *)"new_AcceleratorEntry", (PyCFunction
) _wrap_new_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41436 { (char *)"delete_AcceleratorEntry", (PyCFunction
) _wrap_delete_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41437 { (char *)"AcceleratorEntry_Set", (PyCFunction
) _wrap_AcceleratorEntry_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41438 { (char *)"AcceleratorEntry_GetFlags", (PyCFunction
) _wrap_AcceleratorEntry_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41439 { (char *)"AcceleratorEntry_GetKeyCode", (PyCFunction
) _wrap_AcceleratorEntry_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41440 { (char *)"AcceleratorEntry_GetCommand", (PyCFunction
) _wrap_AcceleratorEntry_GetCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41441 { (char *)"AcceleratorEntry_swigregister", AcceleratorEntry_swigregister
, METH_VARARGS
, NULL
},
41442 { (char *)"new_AcceleratorTable", (PyCFunction
) _wrap_new_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41443 { (char *)"delete_AcceleratorTable", (PyCFunction
) _wrap_delete_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41444 { (char *)"AcceleratorTable_Ok", (PyCFunction
) _wrap_AcceleratorTable_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41445 { (char *)"AcceleratorTable_swigregister", AcceleratorTable_swigregister
, METH_VARARGS
, NULL
},
41446 { (char *)"GetAccelFromString", (PyCFunction
) _wrap_GetAccelFromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41447 { (char *)"new_VisualAttributes", (PyCFunction
) _wrap_new_VisualAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41448 { (char *)"delete_VisualAttributes", (PyCFunction
) _wrap_delete_VisualAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41449 { (char *)"VisualAttributes_font_set", (PyCFunction
) _wrap_VisualAttributes_font_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41450 { (char *)"VisualAttributes_font_get", (PyCFunction
) _wrap_VisualAttributes_font_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41451 { (char *)"VisualAttributes_colFg_set", (PyCFunction
) _wrap_VisualAttributes_colFg_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41452 { (char *)"VisualAttributes_colFg_get", (PyCFunction
) _wrap_VisualAttributes_colFg_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41453 { (char *)"VisualAttributes_colBg_set", (PyCFunction
) _wrap_VisualAttributes_colBg_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41454 { (char *)"VisualAttributes_colBg_get", (PyCFunction
) _wrap_VisualAttributes_colBg_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41455 { (char *)"VisualAttributes_swigregister", VisualAttributes_swigregister
, METH_VARARGS
, NULL
},
41456 { (char *)"new_Window", (PyCFunction
) _wrap_new_Window
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41457 { (char *)"new_PreWindow", (PyCFunction
) _wrap_new_PreWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41458 { (char *)"Window_Create", (PyCFunction
) _wrap_Window_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41459 { (char *)"Window_Close", (PyCFunction
) _wrap_Window_Close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41460 { (char *)"Window_Destroy", (PyCFunction
) _wrap_Window_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41461 { (char *)"Window_DestroyChildren", (PyCFunction
) _wrap_Window_DestroyChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41462 { (char *)"Window_IsBeingDeleted", (PyCFunction
) _wrap_Window_IsBeingDeleted
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41463 { (char *)"Window_SetTitle", (PyCFunction
) _wrap_Window_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41464 { (char *)"Window_GetTitle", (PyCFunction
) _wrap_Window_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41465 { (char *)"Window_SetLabel", (PyCFunction
) _wrap_Window_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41466 { (char *)"Window_GetLabel", (PyCFunction
) _wrap_Window_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41467 { (char *)"Window_SetName", (PyCFunction
) _wrap_Window_SetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41468 { (char *)"Window_GetName", (PyCFunction
) _wrap_Window_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41469 { (char *)"Window_SetWindowVariant", (PyCFunction
) _wrap_Window_SetWindowVariant
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41470 { (char *)"Window_GetWindowVariant", (PyCFunction
) _wrap_Window_GetWindowVariant
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41471 { (char *)"Window_SetId", (PyCFunction
) _wrap_Window_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41472 { (char *)"Window_GetId", (PyCFunction
) _wrap_Window_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41473 { (char *)"Window_NewControlId", (PyCFunction
) _wrap_Window_NewControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41474 { (char *)"Window_NextControlId", (PyCFunction
) _wrap_Window_NextControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41475 { (char *)"Window_PrevControlId", (PyCFunction
) _wrap_Window_PrevControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41476 { (char *)"Window_SetSize", (PyCFunction
) _wrap_Window_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41477 { (char *)"Window_SetDimensions", (PyCFunction
) _wrap_Window_SetDimensions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41478 { (char *)"Window_SetRect", (PyCFunction
) _wrap_Window_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41479 { (char *)"Window_SetSizeWH", (PyCFunction
) _wrap_Window_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41480 { (char *)"Window_Move", (PyCFunction
) _wrap_Window_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41481 { (char *)"Window_MoveXY", (PyCFunction
) _wrap_Window_MoveXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41482 { (char *)"Window_SetBestFittingSize", (PyCFunction
) _wrap_Window_SetBestFittingSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41483 { (char *)"Window_Raise", (PyCFunction
) _wrap_Window_Raise
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41484 { (char *)"Window_Lower", (PyCFunction
) _wrap_Window_Lower
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41485 { (char *)"Window_SetClientSize", (PyCFunction
) _wrap_Window_SetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41486 { (char *)"Window_SetClientSizeWH", (PyCFunction
) _wrap_Window_SetClientSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41487 { (char *)"Window_SetClientRect", (PyCFunction
) _wrap_Window_SetClientRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41488 { (char *)"Window_GetPosition", (PyCFunction
) _wrap_Window_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41489 { (char *)"Window_GetPositionTuple", (PyCFunction
) _wrap_Window_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41490 { (char *)"Window_GetSize", (PyCFunction
) _wrap_Window_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41491 { (char *)"Window_GetSizeTuple", (PyCFunction
) _wrap_Window_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41492 { (char *)"Window_GetRect", (PyCFunction
) _wrap_Window_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41493 { (char *)"Window_GetClientSize", (PyCFunction
) _wrap_Window_GetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41494 { (char *)"Window_GetClientSizeTuple", (PyCFunction
) _wrap_Window_GetClientSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41495 { (char *)"Window_GetClientAreaOrigin", (PyCFunction
) _wrap_Window_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41496 { (char *)"Window_GetClientRect", (PyCFunction
) _wrap_Window_GetClientRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41497 { (char *)"Window_GetBestSize", (PyCFunction
) _wrap_Window_GetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41498 { (char *)"Window_GetBestSizeTuple", (PyCFunction
) _wrap_Window_GetBestSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41499 { (char *)"Window_InvalidateBestSize", (PyCFunction
) _wrap_Window_InvalidateBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41500 { (char *)"Window_GetBestFittingSize", (PyCFunction
) _wrap_Window_GetBestFittingSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41501 { (char *)"Window_GetAdjustedBestSize", (PyCFunction
) _wrap_Window_GetAdjustedBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41502 { (char *)"Window_Center", (PyCFunction
) _wrap_Window_Center
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41503 { (char *)"Window_CenterOnScreen", (PyCFunction
) _wrap_Window_CenterOnScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41504 { (char *)"Window_CenterOnParent", (PyCFunction
) _wrap_Window_CenterOnParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41505 { (char *)"Window_Fit", (PyCFunction
) _wrap_Window_Fit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41506 { (char *)"Window_FitInside", (PyCFunction
) _wrap_Window_FitInside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41507 { (char *)"Window_SetSizeHints", (PyCFunction
) _wrap_Window_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41508 { (char *)"Window_SetSizeHintsSz", (PyCFunction
) _wrap_Window_SetSizeHintsSz
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41509 { (char *)"Window_SetVirtualSizeHints", (PyCFunction
) _wrap_Window_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41510 { (char *)"Window_SetVirtualSizeHintsSz", (PyCFunction
) _wrap_Window_SetVirtualSizeHintsSz
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41511 { (char *)"Window_GetMaxSize", (PyCFunction
) _wrap_Window_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41512 { (char *)"Window_GetMinSize", (PyCFunction
) _wrap_Window_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41513 { (char *)"Window_SetMinSize", (PyCFunction
) _wrap_Window_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41514 { (char *)"Window_SetMaxSize", (PyCFunction
) _wrap_Window_SetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41515 { (char *)"Window_GetMinWidth", (PyCFunction
) _wrap_Window_GetMinWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41516 { (char *)"Window_GetMinHeight", (PyCFunction
) _wrap_Window_GetMinHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41517 { (char *)"Window_GetMaxWidth", (PyCFunction
) _wrap_Window_GetMaxWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41518 { (char *)"Window_GetMaxHeight", (PyCFunction
) _wrap_Window_GetMaxHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41519 { (char *)"Window_SetVirtualSize", (PyCFunction
) _wrap_Window_SetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41520 { (char *)"Window_SetVirtualSizeWH", (PyCFunction
) _wrap_Window_SetVirtualSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41521 { (char *)"Window_GetVirtualSize", (PyCFunction
) _wrap_Window_GetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41522 { (char *)"Window_GetVirtualSizeTuple", (PyCFunction
) _wrap_Window_GetVirtualSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41523 { (char *)"Window_GetBestVirtualSize", (PyCFunction
) _wrap_Window_GetBestVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41524 { (char *)"Window_Show", (PyCFunction
) _wrap_Window_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41525 { (char *)"Window_Hide", (PyCFunction
) _wrap_Window_Hide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41526 { (char *)"Window_Enable", (PyCFunction
) _wrap_Window_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41527 { (char *)"Window_Disable", (PyCFunction
) _wrap_Window_Disable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41528 { (char *)"Window_IsShown", (PyCFunction
) _wrap_Window_IsShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41529 { (char *)"Window_IsEnabled", (PyCFunction
) _wrap_Window_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41530 { (char *)"Window_SetWindowStyleFlag", (PyCFunction
) _wrap_Window_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41531 { (char *)"Window_GetWindowStyleFlag", (PyCFunction
) _wrap_Window_GetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41532 { (char *)"Window_HasFlag", (PyCFunction
) _wrap_Window_HasFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41533 { (char *)"Window_IsRetained", (PyCFunction
) _wrap_Window_IsRetained
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41534 { (char *)"Window_SetExtraStyle", (PyCFunction
) _wrap_Window_SetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41535 { (char *)"Window_GetExtraStyle", (PyCFunction
) _wrap_Window_GetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41536 { (char *)"Window_MakeModal", (PyCFunction
) _wrap_Window_MakeModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41537 { (char *)"Window_SetThemeEnabled", (PyCFunction
) _wrap_Window_SetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41538 { (char *)"Window_GetThemeEnabled", (PyCFunction
) _wrap_Window_GetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41539 { (char *)"Window_SetFocus", (PyCFunction
) _wrap_Window_SetFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41540 { (char *)"Window_SetFocusFromKbd", (PyCFunction
) _wrap_Window_SetFocusFromKbd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41541 { (char *)"Window_FindFocus", (PyCFunction
) _wrap_Window_FindFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41542 { (char *)"Window_AcceptsFocus", (PyCFunction
) _wrap_Window_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41543 { (char *)"Window_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_Window_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41544 { (char *)"Window_GetDefaultItem", (PyCFunction
) _wrap_Window_GetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41545 { (char *)"Window_SetDefaultItem", (PyCFunction
) _wrap_Window_SetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41546 { (char *)"Window_SetTmpDefaultItem", (PyCFunction
) _wrap_Window_SetTmpDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41547 { (char *)"Window_Navigate", (PyCFunction
) _wrap_Window_Navigate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41548 { (char *)"Window_MoveAfterInTabOrder", (PyCFunction
) _wrap_Window_MoveAfterInTabOrder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41549 { (char *)"Window_MoveBeforeInTabOrder", (PyCFunction
) _wrap_Window_MoveBeforeInTabOrder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41550 { (char *)"Window_GetChildren", (PyCFunction
) _wrap_Window_GetChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41551 { (char *)"Window_GetParent", (PyCFunction
) _wrap_Window_GetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41552 { (char *)"Window_GetGrandParent", (PyCFunction
) _wrap_Window_GetGrandParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41553 { (char *)"Window_IsTopLevel", (PyCFunction
) _wrap_Window_IsTopLevel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41554 { (char *)"Window_Reparent", (PyCFunction
) _wrap_Window_Reparent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41555 { (char *)"Window_AddChild", (PyCFunction
) _wrap_Window_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41556 { (char *)"Window_RemoveChild", (PyCFunction
) _wrap_Window_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41557 { (char *)"Window_FindWindowById", (PyCFunction
) _wrap_Window_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41558 { (char *)"Window_FindWindowByName", (PyCFunction
) _wrap_Window_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41559 { (char *)"Window_GetEventHandler", (PyCFunction
) _wrap_Window_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41560 { (char *)"Window_SetEventHandler", (PyCFunction
) _wrap_Window_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41561 { (char *)"Window_PushEventHandler", (PyCFunction
) _wrap_Window_PushEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41562 { (char *)"Window_PopEventHandler", (PyCFunction
) _wrap_Window_PopEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41563 { (char *)"Window_RemoveEventHandler", (PyCFunction
) _wrap_Window_RemoveEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41564 { (char *)"Window_SetValidator", (PyCFunction
) _wrap_Window_SetValidator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41565 { (char *)"Window_GetValidator", (PyCFunction
) _wrap_Window_GetValidator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41566 { (char *)"Window_Validate", (PyCFunction
) _wrap_Window_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41567 { (char *)"Window_TransferDataToWindow", (PyCFunction
) _wrap_Window_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41568 { (char *)"Window_TransferDataFromWindow", (PyCFunction
) _wrap_Window_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41569 { (char *)"Window_InitDialog", (PyCFunction
) _wrap_Window_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41570 { (char *)"Window_SetAcceleratorTable", (PyCFunction
) _wrap_Window_SetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41571 { (char *)"Window_GetAcceleratorTable", (PyCFunction
) _wrap_Window_GetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41572 { (char *)"Window_RegisterHotKey", (PyCFunction
) _wrap_Window_RegisterHotKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41573 { (char *)"Window_UnregisterHotKey", (PyCFunction
) _wrap_Window_UnregisterHotKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41574 { (char *)"Window_ConvertDialogPointToPixels", (PyCFunction
) _wrap_Window_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41575 { (char *)"Window_ConvertDialogSizeToPixels", (PyCFunction
) _wrap_Window_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41576 { (char *)"Window_DLG_PNT", (PyCFunction
) _wrap_Window_DLG_PNT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41577 { (char *)"Window_DLG_SZE", (PyCFunction
) _wrap_Window_DLG_SZE
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41578 { (char *)"Window_ConvertPixelPointToDialog", (PyCFunction
) _wrap_Window_ConvertPixelPointToDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41579 { (char *)"Window_ConvertPixelSizeToDialog", (PyCFunction
) _wrap_Window_ConvertPixelSizeToDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41580 { (char *)"Window_WarpPointer", (PyCFunction
) _wrap_Window_WarpPointer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41581 { (char *)"Window_CaptureMouse", (PyCFunction
) _wrap_Window_CaptureMouse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41582 { (char *)"Window_ReleaseMouse", (PyCFunction
) _wrap_Window_ReleaseMouse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41583 { (char *)"Window_GetCapture", (PyCFunction
) _wrap_Window_GetCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41584 { (char *)"Window_HasCapture", (PyCFunction
) _wrap_Window_HasCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41585 { (char *)"Window_Refresh", (PyCFunction
) _wrap_Window_Refresh
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41586 { (char *)"Window_RefreshRect", (PyCFunction
) _wrap_Window_RefreshRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41587 { (char *)"Window_Update", (PyCFunction
) _wrap_Window_Update
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41588 { (char *)"Window_ClearBackground", (PyCFunction
) _wrap_Window_ClearBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41589 { (char *)"Window_Freeze", (PyCFunction
) _wrap_Window_Freeze
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41590 { (char *)"Window_Thaw", (PyCFunction
) _wrap_Window_Thaw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41591 { (char *)"Window_PrepareDC", (PyCFunction
) _wrap_Window_PrepareDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41592 { (char *)"Window_GetUpdateRegion", (PyCFunction
) _wrap_Window_GetUpdateRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41593 { (char *)"Window_GetUpdateClientRect", (PyCFunction
) _wrap_Window_GetUpdateClientRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41594 { (char *)"Window_IsExposed", (PyCFunction
) _wrap_Window_IsExposed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41595 { (char *)"Window_IsExposedPoint", (PyCFunction
) _wrap_Window_IsExposedPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41596 { (char *)"Window_IsExposedRect", (PyCFunction
) _wrap_Window_IsExposedRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41597 { (char *)"Window_GetDefaultAttributes", (PyCFunction
) _wrap_Window_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41598 { (char *)"Window_GetClassDefaultAttributes", (PyCFunction
) _wrap_Window_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41599 { (char *)"Window_SetBackgroundColour", (PyCFunction
) _wrap_Window_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41600 { (char *)"Window_SetOwnBackgroundColour", (PyCFunction
) _wrap_Window_SetOwnBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41601 { (char *)"Window_SetForegroundColour", (PyCFunction
) _wrap_Window_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41602 { (char *)"Window_SetOwnForegroundColour", (PyCFunction
) _wrap_Window_SetOwnForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41603 { (char *)"Window_GetBackgroundColour", (PyCFunction
) _wrap_Window_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41604 { (char *)"Window_GetForegroundColour", (PyCFunction
) _wrap_Window_GetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41605 { (char *)"Window_SetBackgroundStyle", (PyCFunction
) _wrap_Window_SetBackgroundStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41606 { (char *)"Window_GetBackgroundStyle", (PyCFunction
) _wrap_Window_GetBackgroundStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41607 { (char *)"Window_SetCursor", (PyCFunction
) _wrap_Window_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41608 { (char *)"Window_GetCursor", (PyCFunction
) _wrap_Window_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41609 { (char *)"Window_SetFont", (PyCFunction
) _wrap_Window_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41610 { (char *)"Window_SetOwnFont", (PyCFunction
) _wrap_Window_SetOwnFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41611 { (char *)"Window_GetFont", (PyCFunction
) _wrap_Window_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41612 { (char *)"Window_SetCaret", (PyCFunction
) _wrap_Window_SetCaret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41613 { (char *)"Window_GetCaret", (PyCFunction
) _wrap_Window_GetCaret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41614 { (char *)"Window_GetCharHeight", (PyCFunction
) _wrap_Window_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41615 { (char *)"Window_GetCharWidth", (PyCFunction
) _wrap_Window_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41616 { (char *)"Window_GetTextExtent", (PyCFunction
) _wrap_Window_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41617 { (char *)"Window_GetFullTextExtent", (PyCFunction
) _wrap_Window_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41618 { (char *)"Window_ClientToScreenXY", (PyCFunction
) _wrap_Window_ClientToScreenXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41619 { (char *)"Window_ScreenToClientXY", (PyCFunction
) _wrap_Window_ScreenToClientXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41620 { (char *)"Window_ClientToScreen", (PyCFunction
) _wrap_Window_ClientToScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41621 { (char *)"Window_ScreenToClient", (PyCFunction
) _wrap_Window_ScreenToClient
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41622 { (char *)"Window_HitTestXY", (PyCFunction
) _wrap_Window_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41623 { (char *)"Window_HitTest", (PyCFunction
) _wrap_Window_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41624 { (char *)"Window_GetBorder", _wrap_Window_GetBorder
, METH_VARARGS
, NULL
},
41625 { (char *)"Window_UpdateWindowUI", (PyCFunction
) _wrap_Window_UpdateWindowUI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41626 { (char *)"Window_PopupMenuXY", (PyCFunction
) _wrap_Window_PopupMenuXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41627 { (char *)"Window_PopupMenu", (PyCFunction
) _wrap_Window_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41628 { (char *)"Window_GetHandle", (PyCFunction
) _wrap_Window_GetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41629 { (char *)"Window_OnPaint", (PyCFunction
) _wrap_Window_OnPaint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41630 { (char *)"Window_HasScrollbar", (PyCFunction
) _wrap_Window_HasScrollbar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41631 { (char *)"Window_SetScrollbar", (PyCFunction
) _wrap_Window_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41632 { (char *)"Window_SetScrollPos", (PyCFunction
) _wrap_Window_SetScrollPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41633 { (char *)"Window_GetScrollPos", (PyCFunction
) _wrap_Window_GetScrollPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41634 { (char *)"Window_GetScrollThumb", (PyCFunction
) _wrap_Window_GetScrollThumb
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41635 { (char *)"Window_GetScrollRange", (PyCFunction
) _wrap_Window_GetScrollRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41636 { (char *)"Window_ScrollWindow", (PyCFunction
) _wrap_Window_ScrollWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41637 { (char *)"Window_ScrollLines", (PyCFunction
) _wrap_Window_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41638 { (char *)"Window_ScrollPages", (PyCFunction
) _wrap_Window_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41639 { (char *)"Window_LineUp", (PyCFunction
) _wrap_Window_LineUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41640 { (char *)"Window_LineDown", (PyCFunction
) _wrap_Window_LineDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41641 { (char *)"Window_PageUp", (PyCFunction
) _wrap_Window_PageUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41642 { (char *)"Window_PageDown", (PyCFunction
) _wrap_Window_PageDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41643 { (char *)"Window_SetHelpText", (PyCFunction
) _wrap_Window_SetHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41644 { (char *)"Window_SetHelpTextForId", (PyCFunction
) _wrap_Window_SetHelpTextForId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41645 { (char *)"Window_GetHelpText", (PyCFunction
) _wrap_Window_GetHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41646 { (char *)"Window_SetToolTipString", (PyCFunction
) _wrap_Window_SetToolTipString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41647 { (char *)"Window_SetToolTip", (PyCFunction
) _wrap_Window_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41648 { (char *)"Window_GetToolTip", (PyCFunction
) _wrap_Window_GetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41649 { (char *)"Window_SetDropTarget", (PyCFunction
) _wrap_Window_SetDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41650 { (char *)"Window_GetDropTarget", (PyCFunction
) _wrap_Window_GetDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41651 { (char *)"Window_DragAcceptFiles", (PyCFunction
) _wrap_Window_DragAcceptFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41652 { (char *)"Window_SetConstraints", (PyCFunction
) _wrap_Window_SetConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41653 { (char *)"Window_GetConstraints", (PyCFunction
) _wrap_Window_GetConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41654 { (char *)"Window_SetAutoLayout", (PyCFunction
) _wrap_Window_SetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41655 { (char *)"Window_GetAutoLayout", (PyCFunction
) _wrap_Window_GetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41656 { (char *)"Window_Layout", (PyCFunction
) _wrap_Window_Layout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41657 { (char *)"Window_SetSizer", (PyCFunction
) _wrap_Window_SetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41658 { (char *)"Window_SetSizerAndFit", (PyCFunction
) _wrap_Window_SetSizerAndFit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41659 { (char *)"Window_GetSizer", (PyCFunction
) _wrap_Window_GetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41660 { (char *)"Window_SetContainingSizer", (PyCFunction
) _wrap_Window_SetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41661 { (char *)"Window_GetContainingSizer", (PyCFunction
) _wrap_Window_GetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41662 { (char *)"Window_InheritAttributes", (PyCFunction
) _wrap_Window_InheritAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41663 { (char *)"Window_ShouldInheritColours", (PyCFunction
) _wrap_Window_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41664 { (char *)"Window_swigregister", Window_swigregister
, METH_VARARGS
, NULL
},
41665 { (char *)"FindWindowById", (PyCFunction
) _wrap_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41666 { (char *)"FindWindowByName", (PyCFunction
) _wrap_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41667 { (char *)"FindWindowByLabel", (PyCFunction
) _wrap_FindWindowByLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41668 { (char *)"Window_FromHWND", (PyCFunction
) _wrap_Window_FromHWND
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41669 { (char *)"new_Validator", (PyCFunction
) _wrap_new_Validator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41670 { (char *)"Validator_Clone", (PyCFunction
) _wrap_Validator_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41671 { (char *)"Validator_Validate", (PyCFunction
) _wrap_Validator_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41672 { (char *)"Validator_TransferToWindow", (PyCFunction
) _wrap_Validator_TransferToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41673 { (char *)"Validator_TransferFromWindow", (PyCFunction
) _wrap_Validator_TransferFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41674 { (char *)"Validator_GetWindow", (PyCFunction
) _wrap_Validator_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41675 { (char *)"Validator_SetWindow", (PyCFunction
) _wrap_Validator_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41676 { (char *)"Validator_IsSilent", (PyCFunction
) _wrap_Validator_IsSilent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41677 { (char *)"Validator_SetBellOnError", (PyCFunction
) _wrap_Validator_SetBellOnError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41678 { (char *)"Validator_swigregister", Validator_swigregister
, METH_VARARGS
, NULL
},
41679 { (char *)"new_PyValidator", (PyCFunction
) _wrap_new_PyValidator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41680 { (char *)"PyValidator__setCallbackInfo", (PyCFunction
) _wrap_PyValidator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41681 { (char *)"PyValidator_swigregister", PyValidator_swigregister
, METH_VARARGS
, NULL
},
41682 { (char *)"new_Menu", (PyCFunction
) _wrap_new_Menu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41683 { (char *)"Menu_Append", (PyCFunction
) _wrap_Menu_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41684 { (char *)"Menu_AppendSeparator", (PyCFunction
) _wrap_Menu_AppendSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41685 { (char *)"Menu_AppendCheckItem", (PyCFunction
) _wrap_Menu_AppendCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41686 { (char *)"Menu_AppendRadioItem", (PyCFunction
) _wrap_Menu_AppendRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41687 { (char *)"Menu_AppendMenu", (PyCFunction
) _wrap_Menu_AppendMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41688 { (char *)"Menu_AppendItem", (PyCFunction
) _wrap_Menu_AppendItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41689 { (char *)"Menu_Break", (PyCFunction
) _wrap_Menu_Break
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41690 { (char *)"Menu_InsertItem", (PyCFunction
) _wrap_Menu_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41691 { (char *)"Menu_Insert", (PyCFunction
) _wrap_Menu_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41692 { (char *)"Menu_InsertSeparator", (PyCFunction
) _wrap_Menu_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41693 { (char *)"Menu_InsertCheckItem", (PyCFunction
) _wrap_Menu_InsertCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41694 { (char *)"Menu_InsertRadioItem", (PyCFunction
) _wrap_Menu_InsertRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41695 { (char *)"Menu_InsertMenu", (PyCFunction
) _wrap_Menu_InsertMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41696 { (char *)"Menu_PrependItem", (PyCFunction
) _wrap_Menu_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41697 { (char *)"Menu_Prepend", (PyCFunction
) _wrap_Menu_Prepend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41698 { (char *)"Menu_PrependSeparator", (PyCFunction
) _wrap_Menu_PrependSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41699 { (char *)"Menu_PrependCheckItem", (PyCFunction
) _wrap_Menu_PrependCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41700 { (char *)"Menu_PrependRadioItem", (PyCFunction
) _wrap_Menu_PrependRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41701 { (char *)"Menu_PrependMenu", (PyCFunction
) _wrap_Menu_PrependMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41702 { (char *)"Menu_Remove", (PyCFunction
) _wrap_Menu_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41703 { (char *)"Menu_RemoveItem", (PyCFunction
) _wrap_Menu_RemoveItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41704 { (char *)"Menu_Delete", (PyCFunction
) _wrap_Menu_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41705 { (char *)"Menu_DeleteItem", (PyCFunction
) _wrap_Menu_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41706 { (char *)"Menu_Destroy", (PyCFunction
) _wrap_Menu_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41707 { (char *)"Menu_DestroyId", (PyCFunction
) _wrap_Menu_DestroyId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41708 { (char *)"Menu_DestroyItem", (PyCFunction
) _wrap_Menu_DestroyItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41709 { (char *)"Menu_GetMenuItemCount", (PyCFunction
) _wrap_Menu_GetMenuItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41710 { (char *)"Menu_GetMenuItems", (PyCFunction
) _wrap_Menu_GetMenuItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41711 { (char *)"Menu_FindItem", (PyCFunction
) _wrap_Menu_FindItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41712 { (char *)"Menu_FindItemById", (PyCFunction
) _wrap_Menu_FindItemById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41713 { (char *)"Menu_FindItemByPosition", (PyCFunction
) _wrap_Menu_FindItemByPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41714 { (char *)"Menu_Enable", (PyCFunction
) _wrap_Menu_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41715 { (char *)"Menu_IsEnabled", (PyCFunction
) _wrap_Menu_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41716 { (char *)"Menu_Check", (PyCFunction
) _wrap_Menu_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41717 { (char *)"Menu_IsChecked", (PyCFunction
) _wrap_Menu_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41718 { (char *)"Menu_SetLabel", (PyCFunction
) _wrap_Menu_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41719 { (char *)"Menu_GetLabel", (PyCFunction
) _wrap_Menu_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41720 { (char *)"Menu_SetHelpString", (PyCFunction
) _wrap_Menu_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41721 { (char *)"Menu_GetHelpString", (PyCFunction
) _wrap_Menu_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41722 { (char *)"Menu_SetTitle", (PyCFunction
) _wrap_Menu_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41723 { (char *)"Menu_GetTitle", (PyCFunction
) _wrap_Menu_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41724 { (char *)"Menu_SetEventHandler", (PyCFunction
) _wrap_Menu_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41725 { (char *)"Menu_GetEventHandler", (PyCFunction
) _wrap_Menu_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41726 { (char *)"Menu_SetInvokingWindow", (PyCFunction
) _wrap_Menu_SetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41727 { (char *)"Menu_GetInvokingWindow", (PyCFunction
) _wrap_Menu_GetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41728 { (char *)"Menu_GetStyle", (PyCFunction
) _wrap_Menu_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41729 { (char *)"Menu_UpdateUI", (PyCFunction
) _wrap_Menu_UpdateUI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41730 { (char *)"Menu_GetMenuBar", (PyCFunction
) _wrap_Menu_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41731 { (char *)"Menu_Attach", (PyCFunction
) _wrap_Menu_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41732 { (char *)"Menu_Detach", (PyCFunction
) _wrap_Menu_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41733 { (char *)"Menu_IsAttached", (PyCFunction
) _wrap_Menu_IsAttached
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41734 { (char *)"Menu_SetParent", (PyCFunction
) _wrap_Menu_SetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41735 { (char *)"Menu_GetParent", (PyCFunction
) _wrap_Menu_GetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41736 { (char *)"Menu_swigregister", Menu_swigregister
, METH_VARARGS
, NULL
},
41737 { (char *)"new_MenuBar", (PyCFunction
) _wrap_new_MenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41738 { (char *)"MenuBar_Append", (PyCFunction
) _wrap_MenuBar_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41739 { (char *)"MenuBar_Insert", (PyCFunction
) _wrap_MenuBar_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41740 { (char *)"MenuBar_GetMenuCount", (PyCFunction
) _wrap_MenuBar_GetMenuCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41741 { (char *)"MenuBar_GetMenu", (PyCFunction
) _wrap_MenuBar_GetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41742 { (char *)"MenuBar_Replace", (PyCFunction
) _wrap_MenuBar_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41743 { (char *)"MenuBar_Remove", (PyCFunction
) _wrap_MenuBar_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41744 { (char *)"MenuBar_EnableTop", (PyCFunction
) _wrap_MenuBar_EnableTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41745 { (char *)"MenuBar_IsEnabledTop", (PyCFunction
) _wrap_MenuBar_IsEnabledTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41746 { (char *)"MenuBar_SetLabelTop", (PyCFunction
) _wrap_MenuBar_SetLabelTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41747 { (char *)"MenuBar_GetLabelTop", (PyCFunction
) _wrap_MenuBar_GetLabelTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41748 { (char *)"MenuBar_FindMenuItem", (PyCFunction
) _wrap_MenuBar_FindMenuItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41749 { (char *)"MenuBar_FindItemById", (PyCFunction
) _wrap_MenuBar_FindItemById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41750 { (char *)"MenuBar_FindMenu", (PyCFunction
) _wrap_MenuBar_FindMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41751 { (char *)"MenuBar_Enable", (PyCFunction
) _wrap_MenuBar_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41752 { (char *)"MenuBar_Check", (PyCFunction
) _wrap_MenuBar_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41753 { (char *)"MenuBar_IsChecked", (PyCFunction
) _wrap_MenuBar_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41754 { (char *)"MenuBar_IsEnabled", (PyCFunction
) _wrap_MenuBar_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41755 { (char *)"MenuBar_SetLabel", (PyCFunction
) _wrap_MenuBar_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41756 { (char *)"MenuBar_GetLabel", (PyCFunction
) _wrap_MenuBar_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41757 { (char *)"MenuBar_SetHelpString", (PyCFunction
) _wrap_MenuBar_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41758 { (char *)"MenuBar_GetHelpString", (PyCFunction
) _wrap_MenuBar_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41759 { (char *)"MenuBar_GetFrame", (PyCFunction
) _wrap_MenuBar_GetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41760 { (char *)"MenuBar_IsAttached", (PyCFunction
) _wrap_MenuBar_IsAttached
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41761 { (char *)"MenuBar_Attach", (PyCFunction
) _wrap_MenuBar_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41762 { (char *)"MenuBar_Detach", (PyCFunction
) _wrap_MenuBar_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41763 { (char *)"MenuBar_swigregister", MenuBar_swigregister
, METH_VARARGS
, NULL
},
41764 { (char *)"new_MenuItem", (PyCFunction
) _wrap_new_MenuItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41765 { (char *)"MenuItem_GetMenu", (PyCFunction
) _wrap_MenuItem_GetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41766 { (char *)"MenuItem_SetMenu", (PyCFunction
) _wrap_MenuItem_SetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41767 { (char *)"MenuItem_SetId", (PyCFunction
) _wrap_MenuItem_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41768 { (char *)"MenuItem_GetId", (PyCFunction
) _wrap_MenuItem_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41769 { (char *)"MenuItem_IsSeparator", (PyCFunction
) _wrap_MenuItem_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41770 { (char *)"MenuItem_SetText", (PyCFunction
) _wrap_MenuItem_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41771 { (char *)"MenuItem_GetLabel", (PyCFunction
) _wrap_MenuItem_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41772 { (char *)"MenuItem_GetText", (PyCFunction
) _wrap_MenuItem_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41773 { (char *)"MenuItem_GetLabelFromText", (PyCFunction
) _wrap_MenuItem_GetLabelFromText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41774 { (char *)"MenuItem_GetKind", (PyCFunction
) _wrap_MenuItem_GetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41775 { (char *)"MenuItem_SetKind", (PyCFunction
) _wrap_MenuItem_SetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41776 { (char *)"MenuItem_SetCheckable", (PyCFunction
) _wrap_MenuItem_SetCheckable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41777 { (char *)"MenuItem_IsCheckable", (PyCFunction
) _wrap_MenuItem_IsCheckable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41778 { (char *)"MenuItem_IsSubMenu", (PyCFunction
) _wrap_MenuItem_IsSubMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41779 { (char *)"MenuItem_SetSubMenu", (PyCFunction
) _wrap_MenuItem_SetSubMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41780 { (char *)"MenuItem_GetSubMenu", (PyCFunction
) _wrap_MenuItem_GetSubMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41781 { (char *)"MenuItem_Enable", (PyCFunction
) _wrap_MenuItem_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41782 { (char *)"MenuItem_IsEnabled", (PyCFunction
) _wrap_MenuItem_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41783 { (char *)"MenuItem_Check", (PyCFunction
) _wrap_MenuItem_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41784 { (char *)"MenuItem_IsChecked", (PyCFunction
) _wrap_MenuItem_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41785 { (char *)"MenuItem_Toggle", (PyCFunction
) _wrap_MenuItem_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41786 { (char *)"MenuItem_SetHelp", (PyCFunction
) _wrap_MenuItem_SetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41787 { (char *)"MenuItem_GetHelp", (PyCFunction
) _wrap_MenuItem_GetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41788 { (char *)"MenuItem_GetAccel", (PyCFunction
) _wrap_MenuItem_GetAccel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41789 { (char *)"MenuItem_SetAccel", (PyCFunction
) _wrap_MenuItem_SetAccel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41790 { (char *)"MenuItem_SetFont", (PyCFunction
) _wrap_MenuItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41791 { (char *)"MenuItem_GetFont", (PyCFunction
) _wrap_MenuItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41792 { (char *)"MenuItem_SetTextColour", (PyCFunction
) _wrap_MenuItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41793 { (char *)"MenuItem_GetTextColour", (PyCFunction
) _wrap_MenuItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41794 { (char *)"MenuItem_SetBackgroundColour", (PyCFunction
) _wrap_MenuItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41795 { (char *)"MenuItem_GetBackgroundColour", (PyCFunction
) _wrap_MenuItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41796 { (char *)"MenuItem_SetBitmaps", (PyCFunction
) _wrap_MenuItem_SetBitmaps
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41797 { (char *)"MenuItem_SetDisabledBitmap", (PyCFunction
) _wrap_MenuItem_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41798 { (char *)"MenuItem_GetDisabledBitmap", (PyCFunction
) _wrap_MenuItem_GetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41799 { (char *)"MenuItem_SetMarginWidth", (PyCFunction
) _wrap_MenuItem_SetMarginWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41800 { (char *)"MenuItem_GetMarginWidth", (PyCFunction
) _wrap_MenuItem_GetMarginWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41801 { (char *)"MenuItem_GetDefaultMarginWidth", (PyCFunction
) _wrap_MenuItem_GetDefaultMarginWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41802 { (char *)"MenuItem_IsOwnerDrawn", (PyCFunction
) _wrap_MenuItem_IsOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41803 { (char *)"MenuItem_SetOwnerDrawn", (PyCFunction
) _wrap_MenuItem_SetOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41804 { (char *)"MenuItem_ResetOwnerDrawn", (PyCFunction
) _wrap_MenuItem_ResetOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41805 { (char *)"MenuItem_SetBitmap", (PyCFunction
) _wrap_MenuItem_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41806 { (char *)"MenuItem_GetBitmap", (PyCFunction
) _wrap_MenuItem_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41807 { (char *)"MenuItem_swigregister", MenuItem_swigregister
, METH_VARARGS
, NULL
},
41808 { (char *)"new_Control", (PyCFunction
) _wrap_new_Control
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41809 { (char *)"new_PreControl", (PyCFunction
) _wrap_new_PreControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41810 { (char *)"Control_Create", (PyCFunction
) _wrap_Control_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41811 { (char *)"Control_Command", (PyCFunction
) _wrap_Control_Command
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41812 { (char *)"Control_GetLabel", (PyCFunction
) _wrap_Control_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41813 { (char *)"Control_SetLabel", (PyCFunction
) _wrap_Control_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41814 { (char *)"Control_GetClassDefaultAttributes", (PyCFunction
) _wrap_Control_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41815 { (char *)"Control_swigregister", Control_swigregister
, METH_VARARGS
, NULL
},
41816 { (char *)"ItemContainer_Append", (PyCFunction
) _wrap_ItemContainer_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41817 { (char *)"ItemContainer_AppendItems", (PyCFunction
) _wrap_ItemContainer_AppendItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41818 { (char *)"ItemContainer_Insert", (PyCFunction
) _wrap_ItemContainer_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41819 { (char *)"ItemContainer_Clear", (PyCFunction
) _wrap_ItemContainer_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41820 { (char *)"ItemContainer_Delete", (PyCFunction
) _wrap_ItemContainer_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41821 { (char *)"ItemContainer_GetCount", (PyCFunction
) _wrap_ItemContainer_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41822 { (char *)"ItemContainer_IsEmpty", (PyCFunction
) _wrap_ItemContainer_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41823 { (char *)"ItemContainer_GetString", (PyCFunction
) _wrap_ItemContainer_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41824 { (char *)"ItemContainer_GetStrings", (PyCFunction
) _wrap_ItemContainer_GetStrings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41825 { (char *)"ItemContainer_SetString", (PyCFunction
) _wrap_ItemContainer_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41826 { (char *)"ItemContainer_FindString", (PyCFunction
) _wrap_ItemContainer_FindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41827 { (char *)"ItemContainer_Select", (PyCFunction
) _wrap_ItemContainer_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41828 { (char *)"ItemContainer_GetSelection", (PyCFunction
) _wrap_ItemContainer_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41829 { (char *)"ItemContainer_GetStringSelection", (PyCFunction
) _wrap_ItemContainer_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41830 { (char *)"ItemContainer_GetClientData", (PyCFunction
) _wrap_ItemContainer_GetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41831 { (char *)"ItemContainer_SetClientData", (PyCFunction
) _wrap_ItemContainer_SetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41832 { (char *)"ItemContainer_swigregister", ItemContainer_swigregister
, METH_VARARGS
, NULL
},
41833 { (char *)"ControlWithItems_swigregister", ControlWithItems_swigregister
, METH_VARARGS
, NULL
},
41834 { (char *)"new_SizerItem", (PyCFunction
) _wrap_new_SizerItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41835 { (char *)"new_SizerItemWindow", (PyCFunction
) _wrap_new_SizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41836 { (char *)"new_SizerItemSpacer", (PyCFunction
) _wrap_new_SizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41837 { (char *)"new_SizerItemSizer", (PyCFunction
) _wrap_new_SizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41838 { (char *)"SizerItem_DeleteWindows", (PyCFunction
) _wrap_SizerItem_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41839 { (char *)"SizerItem_DetachSizer", (PyCFunction
) _wrap_SizerItem_DetachSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41840 { (char *)"SizerItem_GetSize", (PyCFunction
) _wrap_SizerItem_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41841 { (char *)"SizerItem_CalcMin", (PyCFunction
) _wrap_SizerItem_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41842 { (char *)"SizerItem_SetDimension", (PyCFunction
) _wrap_SizerItem_SetDimension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41843 { (char *)"SizerItem_GetMinSize", (PyCFunction
) _wrap_SizerItem_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41844 { (char *)"SizerItem_GetMinSizeWithBorder", (PyCFunction
) _wrap_SizerItem_GetMinSizeWithBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41845 { (char *)"SizerItem_SetInitSize", (PyCFunction
) _wrap_SizerItem_SetInitSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41846 { (char *)"SizerItem_SetRatioWH", (PyCFunction
) _wrap_SizerItem_SetRatioWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41847 { (char *)"SizerItem_SetRatioSize", (PyCFunction
) _wrap_SizerItem_SetRatioSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41848 { (char *)"SizerItem_SetRatio", (PyCFunction
) _wrap_SizerItem_SetRatio
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41849 { (char *)"SizerItem_GetRatio", (PyCFunction
) _wrap_SizerItem_GetRatio
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41850 { (char *)"SizerItem_IsWindow", (PyCFunction
) _wrap_SizerItem_IsWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41851 { (char *)"SizerItem_IsSizer", (PyCFunction
) _wrap_SizerItem_IsSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41852 { (char *)"SizerItem_IsSpacer", (PyCFunction
) _wrap_SizerItem_IsSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41853 { (char *)"SizerItem_SetProportion", (PyCFunction
) _wrap_SizerItem_SetProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41854 { (char *)"SizerItem_GetProportion", (PyCFunction
) _wrap_SizerItem_GetProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41855 { (char *)"SizerItem_SetFlag", (PyCFunction
) _wrap_SizerItem_SetFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41856 { (char *)"SizerItem_GetFlag", (PyCFunction
) _wrap_SizerItem_GetFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41857 { (char *)"SizerItem_SetBorder", (PyCFunction
) _wrap_SizerItem_SetBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41858 { (char *)"SizerItem_GetBorder", (PyCFunction
) _wrap_SizerItem_GetBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41859 { (char *)"SizerItem_GetWindow", (PyCFunction
) _wrap_SizerItem_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41860 { (char *)"SizerItem_SetWindow", (PyCFunction
) _wrap_SizerItem_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41861 { (char *)"SizerItem_GetSizer", (PyCFunction
) _wrap_SizerItem_GetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41862 { (char *)"SizerItem_SetSizer", (PyCFunction
) _wrap_SizerItem_SetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41863 { (char *)"SizerItem_GetSpacer", (PyCFunction
) _wrap_SizerItem_GetSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41864 { (char *)"SizerItem_SetSpacer", (PyCFunction
) _wrap_SizerItem_SetSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41865 { (char *)"SizerItem_Show", (PyCFunction
) _wrap_SizerItem_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41866 { (char *)"SizerItem_IsShown", (PyCFunction
) _wrap_SizerItem_IsShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41867 { (char *)"SizerItem_GetPosition", (PyCFunction
) _wrap_SizerItem_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41868 { (char *)"SizerItem_GetUserData", (PyCFunction
) _wrap_SizerItem_GetUserData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41869 { (char *)"SizerItem_swigregister", SizerItem_swigregister
, METH_VARARGS
, NULL
},
41870 { (char *)"Sizer__setOORInfo", (PyCFunction
) _wrap_Sizer__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41871 { (char *)"Sizer_Add", (PyCFunction
) _wrap_Sizer_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41872 { (char *)"Sizer_Insert", (PyCFunction
) _wrap_Sizer_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41873 { (char *)"Sizer_Prepend", (PyCFunction
) _wrap_Sizer_Prepend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41874 { (char *)"Sizer_Remove", (PyCFunction
) _wrap_Sizer_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41875 { (char *)"Sizer_Detach", (PyCFunction
) _wrap_Sizer_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41876 { (char *)"Sizer__SetItemMinSize", (PyCFunction
) _wrap_Sizer__SetItemMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41877 { (char *)"Sizer_AddItem", (PyCFunction
) _wrap_Sizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41878 { (char *)"Sizer_InsertItem", (PyCFunction
) _wrap_Sizer_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41879 { (char *)"Sizer_PrependItem", (PyCFunction
) _wrap_Sizer_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41880 { (char *)"Sizer_SetDimension", (PyCFunction
) _wrap_Sizer_SetDimension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41881 { (char *)"Sizer_SetMinSize", (PyCFunction
) _wrap_Sizer_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41882 { (char *)"Sizer_GetSize", (PyCFunction
) _wrap_Sizer_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41883 { (char *)"Sizer_GetPosition", (PyCFunction
) _wrap_Sizer_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41884 { (char *)"Sizer_GetMinSize", (PyCFunction
) _wrap_Sizer_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41885 { (char *)"Sizer_RecalcSizes", (PyCFunction
) _wrap_Sizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41886 { (char *)"Sizer_CalcMin", (PyCFunction
) _wrap_Sizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41887 { (char *)"Sizer_Layout", (PyCFunction
) _wrap_Sizer_Layout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41888 { (char *)"Sizer_Fit", (PyCFunction
) _wrap_Sizer_Fit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41889 { (char *)"Sizer_FitInside", (PyCFunction
) _wrap_Sizer_FitInside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41890 { (char *)"Sizer_SetSizeHints", (PyCFunction
) _wrap_Sizer_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41891 { (char *)"Sizer_SetVirtualSizeHints", (PyCFunction
) _wrap_Sizer_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41892 { (char *)"Sizer_Clear", (PyCFunction
) _wrap_Sizer_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41893 { (char *)"Sizer_DeleteWindows", (PyCFunction
) _wrap_Sizer_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41894 { (char *)"Sizer_GetChildren", (PyCFunction
) _wrap_Sizer_GetChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41895 { (char *)"Sizer_Show", (PyCFunction
) _wrap_Sizer_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41896 { (char *)"Sizer_IsShown", (PyCFunction
) _wrap_Sizer_IsShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41897 { (char *)"Sizer_ShowItems", (PyCFunction
) _wrap_Sizer_ShowItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41898 { (char *)"Sizer_swigregister", Sizer_swigregister
, METH_VARARGS
, NULL
},
41899 { (char *)"new_PySizer", (PyCFunction
) _wrap_new_PySizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41900 { (char *)"PySizer__setCallbackInfo", (PyCFunction
) _wrap_PySizer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41901 { (char *)"PySizer_swigregister", PySizer_swigregister
, METH_VARARGS
, NULL
},
41902 { (char *)"new_BoxSizer", (PyCFunction
) _wrap_new_BoxSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41903 { (char *)"BoxSizer_GetOrientation", (PyCFunction
) _wrap_BoxSizer_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41904 { (char *)"BoxSizer_SetOrientation", (PyCFunction
) _wrap_BoxSizer_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41905 { (char *)"BoxSizer_swigregister", BoxSizer_swigregister
, METH_VARARGS
, NULL
},
41906 { (char *)"new_StaticBoxSizer", (PyCFunction
) _wrap_new_StaticBoxSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41907 { (char *)"StaticBoxSizer_GetStaticBox", (PyCFunction
) _wrap_StaticBoxSizer_GetStaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41908 { (char *)"StaticBoxSizer_swigregister", StaticBoxSizer_swigregister
, METH_VARARGS
, NULL
},
41909 { (char *)"new_GridSizer", (PyCFunction
) _wrap_new_GridSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41910 { (char *)"GridSizer_SetCols", (PyCFunction
) _wrap_GridSizer_SetCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41911 { (char *)"GridSizer_SetRows", (PyCFunction
) _wrap_GridSizer_SetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41912 { (char *)"GridSizer_SetVGap", (PyCFunction
) _wrap_GridSizer_SetVGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41913 { (char *)"GridSizer_SetHGap", (PyCFunction
) _wrap_GridSizer_SetHGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41914 { (char *)"GridSizer_GetCols", (PyCFunction
) _wrap_GridSizer_GetCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41915 { (char *)"GridSizer_GetRows", (PyCFunction
) _wrap_GridSizer_GetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41916 { (char *)"GridSizer_GetVGap", (PyCFunction
) _wrap_GridSizer_GetVGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41917 { (char *)"GridSizer_GetHGap", (PyCFunction
) _wrap_GridSizer_GetHGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41918 { (char *)"GridSizer_swigregister", GridSizer_swigregister
, METH_VARARGS
, NULL
},
41919 { (char *)"new_FlexGridSizer", (PyCFunction
) _wrap_new_FlexGridSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41920 { (char *)"FlexGridSizer_AddGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41921 { (char *)"FlexGridSizer_RemoveGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41922 { (char *)"FlexGridSizer_AddGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41923 { (char *)"FlexGridSizer_RemoveGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41924 { (char *)"FlexGridSizer_SetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_SetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41925 { (char *)"FlexGridSizer_GetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_GetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41926 { (char *)"FlexGridSizer_SetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_SetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41927 { (char *)"FlexGridSizer_GetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_GetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41928 { (char *)"FlexGridSizer_GetRowHeights", (PyCFunction
) _wrap_FlexGridSizer_GetRowHeights
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41929 { (char *)"FlexGridSizer_GetColWidths", (PyCFunction
) _wrap_FlexGridSizer_GetColWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41930 { (char *)"FlexGridSizer_swigregister", FlexGridSizer_swigregister
, METH_VARARGS
, NULL
},
41931 { (char *)"new_GBPosition", (PyCFunction
) _wrap_new_GBPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41932 { (char *)"GBPosition_GetRow", (PyCFunction
) _wrap_GBPosition_GetRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41933 { (char *)"GBPosition_GetCol", (PyCFunction
) _wrap_GBPosition_GetCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41934 { (char *)"GBPosition_SetRow", (PyCFunction
) _wrap_GBPosition_SetRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41935 { (char *)"GBPosition_SetCol", (PyCFunction
) _wrap_GBPosition_SetCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41936 { (char *)"GBPosition___eq__", (PyCFunction
) _wrap_GBPosition___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41937 { (char *)"GBPosition___ne__", (PyCFunction
) _wrap_GBPosition___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41938 { (char *)"GBPosition_Set", (PyCFunction
) _wrap_GBPosition_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41939 { (char *)"GBPosition_Get", (PyCFunction
) _wrap_GBPosition_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41940 { (char *)"GBPosition_swigregister", GBPosition_swigregister
, METH_VARARGS
, NULL
},
41941 { (char *)"new_GBSpan", (PyCFunction
) _wrap_new_GBSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41942 { (char *)"GBSpan_GetRowspan", (PyCFunction
) _wrap_GBSpan_GetRowspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41943 { (char *)"GBSpan_GetColspan", (PyCFunction
) _wrap_GBSpan_GetColspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41944 { (char *)"GBSpan_SetRowspan", (PyCFunction
) _wrap_GBSpan_SetRowspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41945 { (char *)"GBSpan_SetColspan", (PyCFunction
) _wrap_GBSpan_SetColspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41946 { (char *)"GBSpan___eq__", (PyCFunction
) _wrap_GBSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41947 { (char *)"GBSpan___ne__", (PyCFunction
) _wrap_GBSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41948 { (char *)"GBSpan_Set", (PyCFunction
) _wrap_GBSpan_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41949 { (char *)"GBSpan_Get", (PyCFunction
) _wrap_GBSpan_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41950 { (char *)"GBSpan_swigregister", GBSpan_swigregister
, METH_VARARGS
, NULL
},
41951 { (char *)"new_GBSizerItem", (PyCFunction
) _wrap_new_GBSizerItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41952 { (char *)"new_GBSizerItemWindow", (PyCFunction
) _wrap_new_GBSizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41953 { (char *)"new_GBSizerItemSizer", (PyCFunction
) _wrap_new_GBSizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41954 { (char *)"new_GBSizerItemSpacer", (PyCFunction
) _wrap_new_GBSizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41955 { (char *)"GBSizerItem_GetPos", (PyCFunction
) _wrap_GBSizerItem_GetPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41956 { (char *)"GBSizerItem_GetSpan", (PyCFunction
) _wrap_GBSizerItem_GetSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41957 { (char *)"GBSizerItem_SetPos", (PyCFunction
) _wrap_GBSizerItem_SetPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41958 { (char *)"GBSizerItem_SetSpan", (PyCFunction
) _wrap_GBSizerItem_SetSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41959 { (char *)"GBSizerItem_Intersects", (PyCFunction
) _wrap_GBSizerItem_Intersects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41960 { (char *)"GBSizerItem_IntersectsPos", (PyCFunction
) _wrap_GBSizerItem_IntersectsPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41961 { (char *)"GBSizerItem_GetEndPos", (PyCFunction
) _wrap_GBSizerItem_GetEndPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41962 { (char *)"GBSizerItem_GetGBSizer", (PyCFunction
) _wrap_GBSizerItem_GetGBSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41963 { (char *)"GBSizerItem_SetGBSizer", (PyCFunction
) _wrap_GBSizerItem_SetGBSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41964 { (char *)"GBSizerItem_swigregister", GBSizerItem_swigregister
, METH_VARARGS
, NULL
},
41965 { (char *)"new_GridBagSizer", (PyCFunction
) _wrap_new_GridBagSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41966 { (char *)"GridBagSizer_Add", (PyCFunction
) _wrap_GridBagSizer_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41967 { (char *)"GridBagSizer_AddItem", (PyCFunction
) _wrap_GridBagSizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41968 { (char *)"GridBagSizer_GetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_GetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41969 { (char *)"GridBagSizer_SetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_SetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41970 { (char *)"GridBagSizer_GetItemPosition", _wrap_GridBagSizer_GetItemPosition
, METH_VARARGS
, NULL
},
41971 { (char *)"GridBagSizer_SetItemPosition", _wrap_GridBagSizer_SetItemPosition
, METH_VARARGS
, NULL
},
41972 { (char *)"GridBagSizer_GetItemSpan", _wrap_GridBagSizer_GetItemSpan
, METH_VARARGS
, NULL
},
41973 { (char *)"GridBagSizer_SetItemSpan", _wrap_GridBagSizer_SetItemSpan
, METH_VARARGS
, NULL
},
41974 { (char *)"GridBagSizer_FindItem", _wrap_GridBagSizer_FindItem
, METH_VARARGS
, NULL
},
41975 { (char *)"GridBagSizer_FindItemAtPosition", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41976 { (char *)"GridBagSizer_FindItemAtPoint", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41977 { (char *)"GridBagSizer_CheckForIntersection", (PyCFunction
) _wrap_GridBagSizer_CheckForIntersection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41978 { (char *)"GridBagSizer_CheckForIntersectionPos", (PyCFunction
) _wrap_GridBagSizer_CheckForIntersectionPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41979 { (char *)"GridBagSizer_swigregister", GridBagSizer_swigregister
, METH_VARARGS
, NULL
},
41980 { (char *)"IndividualLayoutConstraint_Set", (PyCFunction
) _wrap_IndividualLayoutConstraint_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41981 { (char *)"IndividualLayoutConstraint_LeftOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_LeftOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41982 { (char *)"IndividualLayoutConstraint_RightOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_RightOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41983 { (char *)"IndividualLayoutConstraint_Above", (PyCFunction
) _wrap_IndividualLayoutConstraint_Above
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41984 { (char *)"IndividualLayoutConstraint_Below", (PyCFunction
) _wrap_IndividualLayoutConstraint_Below
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41985 { (char *)"IndividualLayoutConstraint_SameAs", (PyCFunction
) _wrap_IndividualLayoutConstraint_SameAs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41986 { (char *)"IndividualLayoutConstraint_PercentOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_PercentOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41987 { (char *)"IndividualLayoutConstraint_Absolute", (PyCFunction
) _wrap_IndividualLayoutConstraint_Absolute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41988 { (char *)"IndividualLayoutConstraint_Unconstrained", (PyCFunction
) _wrap_IndividualLayoutConstraint_Unconstrained
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41989 { (char *)"IndividualLayoutConstraint_AsIs", (PyCFunction
) _wrap_IndividualLayoutConstraint_AsIs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41990 { (char *)"IndividualLayoutConstraint_GetOtherWindow", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41991 { (char *)"IndividualLayoutConstraint_GetMyEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMyEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41992 { (char *)"IndividualLayoutConstraint_SetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41993 { (char *)"IndividualLayoutConstraint_SetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41994 { (char *)"IndividualLayoutConstraint_GetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41995 { (char *)"IndividualLayoutConstraint_SetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41996 { (char *)"IndividualLayoutConstraint_GetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41997 { (char *)"IndividualLayoutConstraint_GetPercent", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetPercent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41998 { (char *)"IndividualLayoutConstraint_GetOtherEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41999 { (char *)"IndividualLayoutConstraint_GetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetDone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42000 { (char *)"IndividualLayoutConstraint_SetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetDone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42001 { (char *)"IndividualLayoutConstraint_GetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetRelationship
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42002 { (char *)"IndividualLayoutConstraint_SetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetRelationship
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42003 { (char *)"IndividualLayoutConstraint_ResetIfWin", (PyCFunction
) _wrap_IndividualLayoutConstraint_ResetIfWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42004 { (char *)"IndividualLayoutConstraint_SatisfyConstraint", (PyCFunction
) _wrap_IndividualLayoutConstraint_SatisfyConstraint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42005 { (char *)"IndividualLayoutConstraint_GetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42006 { (char *)"IndividualLayoutConstraint_swigregister", IndividualLayoutConstraint_swigregister
, METH_VARARGS
, NULL
},
42007 { (char *)"LayoutConstraints_left_get", (PyCFunction
) _wrap_LayoutConstraints_left_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42008 { (char *)"LayoutConstraints_top_get", (PyCFunction
) _wrap_LayoutConstraints_top_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42009 { (char *)"LayoutConstraints_right_get", (PyCFunction
) _wrap_LayoutConstraints_right_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42010 { (char *)"LayoutConstraints_bottom_get", (PyCFunction
) _wrap_LayoutConstraints_bottom_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42011 { (char *)"LayoutConstraints_width_get", (PyCFunction
) _wrap_LayoutConstraints_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42012 { (char *)"LayoutConstraints_height_get", (PyCFunction
) _wrap_LayoutConstraints_height_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42013 { (char *)"LayoutConstraints_centreX_get", (PyCFunction
) _wrap_LayoutConstraints_centreX_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42014 { (char *)"LayoutConstraints_centreY_get", (PyCFunction
) _wrap_LayoutConstraints_centreY_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42015 { (char *)"new_LayoutConstraints", (PyCFunction
) _wrap_new_LayoutConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42016 { (char *)"LayoutConstraints_SatisfyConstraints", (PyCFunction
) _wrap_LayoutConstraints_SatisfyConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42017 { (char *)"LayoutConstraints_AreSatisfied", (PyCFunction
) _wrap_LayoutConstraints_AreSatisfied
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42018 { (char *)"LayoutConstraints_swigregister", LayoutConstraints_swigregister
, METH_VARARGS
, NULL
},
42019 { NULL
, NULL
, 0, NULL
}
42023 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
42025 static void *_p_wxGBSizerItemTo_p_wxSizerItem(void *x
) {
42026 return (void *)((wxSizerItem
*) ((wxGBSizerItem
*) x
));
42028 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
42029 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
42031 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
42032 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
42034 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
42035 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
42037 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
42038 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
42040 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
42041 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
42043 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
42044 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
42046 static void *_p_wxStaticBoxSizerTo_p_wxBoxSizer(void *x
) {
42047 return (void *)((wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
42049 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
42050 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
42052 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
42053 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
42055 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
42056 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
42058 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
42059 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
42061 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
42062 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
42064 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
42065 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
42067 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
42068 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
42070 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
42071 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
42073 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
42074 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
42076 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
42077 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
42079 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
42080 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
42082 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
42083 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
42085 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
42086 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
42088 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
42089 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
42091 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
42092 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
42094 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
42095 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
42097 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
42098 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
42100 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
42101 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
42103 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
42104 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
42106 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
42107 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
42109 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
42110 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
42112 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
42113 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
42115 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
42116 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
42118 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
42119 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
42121 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
42122 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
42124 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
42125 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
42127 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
42128 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
42130 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
42131 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
42133 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
42134 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
42136 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
42137 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
42139 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
42140 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
42142 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
42143 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
42145 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
42146 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
42148 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
42149 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
42151 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
42152 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
42154 static void *_p_wxGridBagSizerTo_p_wxGridSizer(void *x
) {
42155 return (void *)((wxGridSizer
*) (wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
42157 static void *_p_wxFlexGridSizerTo_p_wxGridSizer(void *x
) {
42158 return (void *)((wxGridSizer
*) ((wxFlexGridSizer
*) x
));
42160 static void *_p_wxGridBagSizerTo_p_wxFlexGridSizer(void *x
) {
42161 return (void *)((wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
42163 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
42164 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
42166 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
42167 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
42169 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
42170 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
42172 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
42173 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
42175 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
42176 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
42178 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
42179 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
42181 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
42182 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
42184 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
42185 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
42187 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
42188 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
42190 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
42191 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
42193 static void *_p_wxANIHandlerTo_p_wxCURHandler(void *x
) {
42194 return (void *)((wxCURHandler
*) ((wxANIHandler
*) x
));
42196 static void *_p_wxCURHandlerTo_p_wxICOHandler(void *x
) {
42197 return (void *)((wxICOHandler
*) ((wxCURHandler
*) x
));
42199 static void *_p_wxANIHandlerTo_p_wxICOHandler(void *x
) {
42200 return (void *)((wxICOHandler
*) (wxCURHandler
*) ((wxANIHandler
*) x
));
42202 static void *_p_wxICOHandlerTo_p_wxBMPHandler(void *x
) {
42203 return (void *)((wxBMPHandler
*) ((wxICOHandler
*) x
));
42205 static void *_p_wxCURHandlerTo_p_wxBMPHandler(void *x
) {
42206 return (void *)((wxBMPHandler
*) (wxICOHandler
*) ((wxCURHandler
*) x
));
42208 static void *_p_wxANIHandlerTo_p_wxBMPHandler(void *x
) {
42209 return (void *)((wxBMPHandler
*) (wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
42211 static void *_p_wxBMPHandlerTo_p_wxImageHandler(void *x
) {
42212 return (void *)((wxImageHandler
*) ((wxBMPHandler
*) x
));
42214 static void *_p_wxICOHandlerTo_p_wxImageHandler(void *x
) {
42215 return (void *)((wxImageHandler
*) (wxBMPHandler
*) ((wxICOHandler
*) x
));
42217 static void *_p_wxCURHandlerTo_p_wxImageHandler(void *x
) {
42218 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
42220 static void *_p_wxANIHandlerTo_p_wxImageHandler(void *x
) {
42221 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
42223 static void *_p_wxPNGHandlerTo_p_wxImageHandler(void *x
) {
42224 return (void *)((wxImageHandler
*) ((wxPNGHandler
*) x
));
42226 static void *_p_wxGIFHandlerTo_p_wxImageHandler(void *x
) {
42227 return (void *)((wxImageHandler
*) ((wxGIFHandler
*) x
));
42229 static void *_p_wxPCXHandlerTo_p_wxImageHandler(void *x
) {
42230 return (void *)((wxImageHandler
*) ((wxPCXHandler
*) x
));
42232 static void *_p_wxJPEGHandlerTo_p_wxImageHandler(void *x
) {
42233 return (void *)((wxImageHandler
*) ((wxJPEGHandler
*) x
));
42235 static void *_p_wxPNMHandlerTo_p_wxImageHandler(void *x
) {
42236 return (void *)((wxImageHandler
*) ((wxPNMHandler
*) x
));
42238 static void *_p_wxXPMHandlerTo_p_wxImageHandler(void *x
) {
42239 return (void *)((wxImageHandler
*) ((wxXPMHandler
*) x
));
42241 static void *_p_wxTIFFHandlerTo_p_wxImageHandler(void *x
) {
42242 return (void *)((wxImageHandler
*) ((wxTIFFHandler
*) x
));
42244 static void *_p_wxPyFileSystemHandlerTo_p_wxFileSystemHandler(void *x
) {
42245 return (void *)((wxFileSystemHandler
*) ((wxPyFileSystemHandler
*) x
));
42247 static void *_p_wxInternetFSHandlerTo_p_wxFileSystemHandler(void *x
) {
42248 return (void *)((wxFileSystemHandler
*) ((wxInternetFSHandler
*) x
));
42250 static void *_p_wxZipFSHandlerTo_p_wxFileSystemHandler(void *x
) {
42251 return (void *)((wxFileSystemHandler
*) ((wxZipFSHandler
*) x
));
42253 static void *_p_wxMemoryFSHandlerTo_p_wxFileSystemHandler(void *x
) {
42254 return (void *)((wxFileSystemHandler
*) ((wxMemoryFSHandler
*) x
));
42256 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
42257 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
42259 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
42260 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
42262 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
42263 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
42265 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
42266 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
42268 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
42269 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
42271 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
42272 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
42274 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
42275 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
42277 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
42278 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
42280 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
42281 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
42283 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
42284 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
42286 static void *_p_wxSizerTo_p_wxObject(void *x
) {
42287 return (void *)((wxObject
*) ((wxSizer
*) x
));
42289 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
42290 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
42292 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
42293 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
42295 static void *_p_wxMenuTo_p_wxObject(void *x
) {
42296 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
42298 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
42299 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
42301 static void *_p_wxImageTo_p_wxObject(void *x
) {
42302 return (void *)((wxObject
*) ((wxImage
*) x
));
42304 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
42305 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
42307 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
42308 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
42310 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
42311 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
42313 static void *_p_wxWindowTo_p_wxObject(void *x
) {
42314 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
42316 static void *_p_wxControlTo_p_wxObject(void *x
) {
42317 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
42319 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
42320 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
42322 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
42323 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
42325 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
42326 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
42328 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
42329 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
42331 static void *_p_wxEventTo_p_wxObject(void *x
) {
42332 return (void *)((wxObject
*) ((wxEvent
*) x
));
42334 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
42335 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
42337 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
42338 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
42340 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
42341 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
42343 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
42344 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
42346 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
42347 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
42349 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
42350 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
42352 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
42353 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
42355 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
42356 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
42358 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
42359 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
42361 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
42362 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
42364 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
42365 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
42367 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
42368 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
42370 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
42371 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
42373 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
42374 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
42376 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
42377 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
42379 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
42380 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
42382 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
42383 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
42385 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
42386 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
42388 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
42389 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
42391 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
42392 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
42394 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
42395 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
42397 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
42398 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
42400 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
42401 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
42403 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
42404 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
42406 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
42407 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
42409 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
42410 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
42412 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
42413 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
42415 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
42416 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
42418 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
42419 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
42421 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
42422 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
42424 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
42425 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
42427 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
42428 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
42430 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
42431 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
42433 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
42434 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
42436 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
42437 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
42439 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
42440 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
42442 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
42443 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
42445 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
42446 return (void *)((wxObject
*) ((wxFSFile
*) x
));
42448 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
42449 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
42451 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
42452 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
42454 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
42455 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
42457 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
42458 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
42460 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
42461 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
42463 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
42464 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
42466 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
42467 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
42469 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
42470 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
42472 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
42473 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
42475 static void *_p_wxControlTo_p_wxWindow(void *x
) {
42476 return (void *)((wxWindow
*) ((wxControl
*) x
));
42478 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
42479 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
42481 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
42482 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
42484 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
42485 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
42487 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
42488 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
42490 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
42491 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
42493 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
42494 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
42496 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
42497 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
42499 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
42500 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
42502 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
42503 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
42505 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
42506 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
42508 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
42509 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
42511 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}};
42512 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}};
42513 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}};
42514 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}};
42515 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}};
42516 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}};
42517 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}};
42518 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}};
42519 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}};
42520 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}};
42521 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}};
42522 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}};
42523 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}};
42524 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}};
42525 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}};
42526 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}};
42527 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}};
42528 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}};
42529 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}};
42530 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}};
42531 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}};
42532 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}};
42533 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}};
42534 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}};
42535 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}};
42536 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}};
42537 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}};
42538 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}};
42539 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}};
42540 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}};
42541 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}};
42542 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}};
42543 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}};
42544 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}};
42545 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}};
42546 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}};
42547 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}};
42548 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}};
42549 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}};
42550 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}};
42551 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}};
42552 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}};
42553 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}};
42554 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}};
42555 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}};
42556 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}};
42557 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}};
42558 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}};
42559 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}};
42560 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}};
42561 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}};
42562 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}};
42563 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}};
42564 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}};
42565 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}};
42566 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}};
42567 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}};
42568 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}};
42569 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}};
42570 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}};
42571 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}};
42572 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}};
42573 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}};
42574 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}};
42575 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}};
42576 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}};
42577 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}};
42578 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}};
42579 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}};
42580 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}};
42581 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}};
42582 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}};
42583 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}};
42584 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}};
42585 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}};
42586 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}};
42587 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}};
42588 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}};
42589 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}};
42590 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}};
42591 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}};
42592 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}};
42593 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}};
42594 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}};
42595 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}};
42596 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}};
42597 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}};
42598 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}};
42599 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}};
42600 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}};
42601 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}};
42602 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}};
42603 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}};
42604 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}};
42605 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}};
42606 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}};
42607 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}};
42608 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}};
42609 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}};
42610 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}};
42611 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}};
42612 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}};
42613 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}};
42614 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}};
42615 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}};
42616 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}};
42617 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}};
42618 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}};
42619 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}};
42620 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}};
42621 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}};
42622 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}};
42623 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}};
42624 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}};
42625 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}};
42626 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}};
42628 static swig_type_info
*swig_types_initial
[] = {
42629 _swigt__p_wxLayoutConstraints
,
42630 _swigt__p_wxRealPoint
,
42631 _swigt__p_wxSizerItem
,
42632 _swigt__p_wxGBSizerItem
,
42633 _swigt__p_wxScrollEvent
,
42634 _swigt__p_wxIndividualLayoutConstraint
,
42636 _swigt__p_wxBoxSizer
,
42637 _swigt__p_wxStaticBoxSizer
,
42638 _swigt__p_wxGridBagSizer
,
42639 _swigt__p_wxAcceleratorEntry
,
42640 _swigt__p_wxUpdateUIEvent
,
42643 _swigt__p_wxGridSizer
,
42644 _swigt__p_wxFlexGridSizer
,
42645 _swigt__p_wxInitDialogEvent
,
42646 _swigt__p_wxItemContainer
,
42647 _swigt__p_wxNcPaintEvent
,
42648 _swigt__p_wxPaintEvent
,
42649 _swigt__p_wxSysColourChangedEvent
,
42650 _swigt__p_wxMouseCaptureChangedEvent
,
42651 _swigt__p_wxDisplayChangedEvent
,
42652 _swigt__p_wxPaletteChangedEvent
,
42653 _swigt__p_wxControl
,
42655 _swigt__p_wxMenuBarBase
,
42656 _swigt__p_wxSetCursorEvent
,
42657 _swigt__p_wxFSFile
,
42659 _swigt__p_wxRegion
,
42660 _swigt__p_wxPoint2D
,
42664 _swigt__p_wxPySizer
,
42665 _swigt__p_wxVisualAttributes
,
42666 _swigt__p_wxNotifyEvent
,
42667 _swigt__p_wxPyEvent
,
42668 _swigt__p_wxPropagationDisabler
,
42669 _swigt__p_wxAppTraits
,
42670 _swigt__p_wxArrayString
,
42671 _swigt__p_wxShowEvent
,
42672 _swigt__p_wxToolTip
,
42673 _swigt__p_wxIconizeEvent
,
42674 _swigt__p_wxActivateEvent
,
42675 _swigt__p_wxMoveEvent
,
42676 _swigt__p_wxSizeEvent
,
42677 _swigt__p_wxMaximizeEvent
,
42678 _swigt__p_wxQueryNewPaletteEvent
,
42679 _swigt__p_wxWindowCreateEvent
,
42680 _swigt__p_wxIdleEvent
,
42681 _swigt__p_wxMenuItem
,
42682 _swigt__p_wxStaticBox
,
42684 _swigt__p_wxTIFFHandler
,
42685 _swigt__p_wxXPMHandler
,
42686 _swigt__p_wxPNMHandler
,
42687 _swigt__p_wxJPEGHandler
,
42688 _swigt__p_wxPCXHandler
,
42689 _swigt__p_wxGIFHandler
,
42690 _swigt__p_wxPNGHandler
,
42691 _swigt__p_wxANIHandler
,
42692 _swigt__p_wxMemoryFSHandler
,
42693 _swigt__p_wxEvtHandler
,
42694 _swigt__p_wxCURHandler
,
42695 _swigt__p_wxICOHandler
,
42696 _swigt__p_wxBMPHandler
,
42697 _swigt__p_wxImageHandler
,
42698 _swigt__p_wxFileSystemHandler
,
42699 _swigt__p_wxPyFileSystemHandler
,
42700 _swigt__p_wxInternetFSHandler
,
42701 _swigt__p_wxZipFSHandler
,
42703 _swigt__p_wxGBSpan
,
42704 _swigt__p_wxPropagateOnce
,
42705 _swigt__p_wxAcceleratorTable
,
42707 _swigt__p_wxGBPosition
,
42710 _swigt__p_wxScrollWinEvent
,
42711 _swigt__p_wxImageHistogram
,
42714 _swigt__p_wxCursor
,
42715 _swigt__p_wxObject
,
42716 _swigt__p_wxPyInputStream
,
42717 _swigt__p_wxOutputStream
,
42718 _swigt__p_wxInputStream
,
42719 _swigt__p_wxDateTime
,
42720 _swigt__p_wxKeyEvent
,
42721 _swigt__p_wxNavigationKeyEvent
,
42722 _swigt__p_wxWindowDestroyEvent
,
42723 _swigt__p_wxWindow
,
42724 _swigt__p_wxMenuBar
,
42725 _swigt__p_wxFileSystem
,
42726 _swigt__p_wxBitmap
,
42727 _swigt__p_wxMenuEvent
,
42728 _swigt__p_wxContextMenuEvent
,
42729 _swigt__p_unsigned_char
,
42730 _swigt__p_wxCloseEvent
,
42731 _swigt__p_wxEraseEvent
,
42732 _swigt__p_wxMouseEvent
,
42734 _swigt__p_wxCommandEvent
,
42735 _swigt__p_wxPyCommandEvent
,
42736 _swigt__p_wxPyDropTarget
,
42737 _swigt__p_wxQuantize
,
42738 _swigt__p_wxChildFocusEvent
,
42739 _swigt__p_wxFocusEvent
,
42740 _swigt__p_wxDropFilesEvent
,
42741 _swigt__p_wxControlWithItems
,
42742 _swigt__p_wxColour
,
42743 _swigt__p_wxValidator
,
42744 _swigt__p_wxPyValidator
,
42749 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
42751 static swig_const_info swig_const_table
[] = {
42752 {0, 0, 0, 0.0, 0, 0}};
42761 SWIGEXPORT(void) SWIG_init(void) {
42762 static PyObject
*SWIG_globals
= 0;
42763 static int typeinit
= 0;
42766 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
42767 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
42768 d
= PyModule_GetDict(m
);
42771 for (i
= 0; swig_types_initial
[i
]; i
++) {
42772 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
42776 SWIG_InstallConstants(d
,swig_const_table
);
42779 #ifndef wxPyUSE_EXPORT
42780 // Make our API structure a CObject so other modules can import it
42781 // from this module.
42782 PyObject
* cobj
= PyCObject_FromVoidPtr(&API
, NULL
);
42783 PyDict_SetItemString(d
,"_wxPyCoreAPI", cobj
);
42787 PyDict_SetItemString(d
,"NOT_FOUND", SWIG_From_int((int)wxNOT_FOUND
));
42788 PyDict_SetItemString(d
,"VSCROLL", SWIG_From_int((int)wxVSCROLL
));
42789 PyDict_SetItemString(d
,"HSCROLL", SWIG_From_int((int)wxHSCROLL
));
42790 PyDict_SetItemString(d
,"CAPTION", SWIG_From_int((int)wxCAPTION
));
42791 PyDict_SetItemString(d
,"DOUBLE_BORDER", SWIG_From_int((int)wxDOUBLE_BORDER
));
42792 PyDict_SetItemString(d
,"SUNKEN_BORDER", SWIG_From_int((int)wxSUNKEN_BORDER
));
42793 PyDict_SetItemString(d
,"RAISED_BORDER", SWIG_From_int((int)wxRAISED_BORDER
));
42794 PyDict_SetItemString(d
,"BORDER", SWIG_From_int((int)wxBORDER
));
42795 PyDict_SetItemString(d
,"SIMPLE_BORDER", SWIG_From_int((int)wxSIMPLE_BORDER
));
42796 PyDict_SetItemString(d
,"STATIC_BORDER", SWIG_From_int((int)wxSTATIC_BORDER
));
42797 PyDict_SetItemString(d
,"TRANSPARENT_WINDOW", SWIG_From_int((int)wxTRANSPARENT_WINDOW
));
42798 PyDict_SetItemString(d
,"NO_BORDER", SWIG_From_int((int)wxNO_BORDER
));
42799 PyDict_SetItemString(d
,"TAB_TRAVERSAL", SWIG_From_int((int)wxTAB_TRAVERSAL
));
42800 PyDict_SetItemString(d
,"WANTS_CHARS", SWIG_From_int((int)wxWANTS_CHARS
));
42801 PyDict_SetItemString(d
,"POPUP_WINDOW", SWIG_From_int((int)wxPOPUP_WINDOW
));
42802 PyDict_SetItemString(d
,"CENTER_FRAME", SWIG_From_int((int)wxCENTER_FRAME
));
42803 PyDict_SetItemString(d
,"CENTRE_ON_SCREEN", SWIG_From_int((int)wxCENTRE_ON_SCREEN
));
42804 PyDict_SetItemString(d
,"CENTER_ON_SCREEN", SWIG_From_int((int)wxCENTER_ON_SCREEN
));
42805 PyDict_SetItemString(d
,"ED_CLIENT_MARGIN", SWIG_From_int((int)wxED_CLIENT_MARGIN
));
42806 PyDict_SetItemString(d
,"ED_BUTTONS_BOTTOM", SWIG_From_int((int)wxED_BUTTONS_BOTTOM
));
42807 PyDict_SetItemString(d
,"ED_BUTTONS_RIGHT", SWIG_From_int((int)wxED_BUTTONS_RIGHT
));
42808 PyDict_SetItemString(d
,"ED_STATIC_LINE", SWIG_From_int((int)wxED_STATIC_LINE
));
42809 PyDict_SetItemString(d
,"EXT_DIALOG_STYLE", SWIG_From_int((int)wxEXT_DIALOG_STYLE
));
42810 PyDict_SetItemString(d
,"CLIP_CHILDREN", SWIG_From_int((int)wxCLIP_CHILDREN
));
42811 PyDict_SetItemString(d
,"CLIP_SIBLINGS", SWIG_From_int((int)wxCLIP_SIBLINGS
));
42812 PyDict_SetItemString(d
,"ALWAYS_SHOW_SB", SWIG_From_int((int)wxALWAYS_SHOW_SB
));
42813 PyDict_SetItemString(d
,"RETAINED", SWIG_From_int((int)wxRETAINED
));
42814 PyDict_SetItemString(d
,"BACKINGSTORE", SWIG_From_int((int)wxBACKINGSTORE
));
42815 PyDict_SetItemString(d
,"COLOURED", SWIG_From_int((int)wxCOLOURED
));
42816 PyDict_SetItemString(d
,"FIXED_LENGTH", SWIG_From_int((int)wxFIXED_LENGTH
));
42817 PyDict_SetItemString(d
,"LB_NEEDED_SB", SWIG_From_int((int)wxLB_NEEDED_SB
));
42818 PyDict_SetItemString(d
,"LB_ALWAYS_SB", SWIG_From_int((int)wxLB_ALWAYS_SB
));
42819 PyDict_SetItemString(d
,"LB_SORT", SWIG_From_int((int)wxLB_SORT
));
42820 PyDict_SetItemString(d
,"LB_SINGLE", SWIG_From_int((int)wxLB_SINGLE
));
42821 PyDict_SetItemString(d
,"LB_MULTIPLE", SWIG_From_int((int)wxLB_MULTIPLE
));
42822 PyDict_SetItemString(d
,"LB_EXTENDED", SWIG_From_int((int)wxLB_EXTENDED
));
42823 PyDict_SetItemString(d
,"LB_OWNERDRAW", SWIG_From_int((int)wxLB_OWNERDRAW
));
42824 PyDict_SetItemString(d
,"LB_HSCROLL", SWIG_From_int((int)wxLB_HSCROLL
));
42825 PyDict_SetItemString(d
,"PROCESS_ENTER", SWIG_From_int((int)wxPROCESS_ENTER
));
42826 PyDict_SetItemString(d
,"PASSWORD", SWIG_From_int((int)wxPASSWORD
));
42827 PyDict_SetItemString(d
,"CB_SIMPLE", SWIG_From_int((int)wxCB_SIMPLE
));
42828 PyDict_SetItemString(d
,"CB_DROPDOWN", SWIG_From_int((int)wxCB_DROPDOWN
));
42829 PyDict_SetItemString(d
,"CB_SORT", SWIG_From_int((int)wxCB_SORT
));
42830 PyDict_SetItemString(d
,"CB_READONLY", SWIG_From_int((int)wxCB_READONLY
));
42831 PyDict_SetItemString(d
,"RA_HORIZONTAL", SWIG_From_int((int)wxRA_HORIZONTAL
));
42832 PyDict_SetItemString(d
,"RA_VERTICAL", SWIG_From_int((int)wxRA_VERTICAL
));
42833 PyDict_SetItemString(d
,"RA_SPECIFY_ROWS", SWIG_From_int((int)wxRA_SPECIFY_ROWS
));
42834 PyDict_SetItemString(d
,"RA_SPECIFY_COLS", SWIG_From_int((int)wxRA_SPECIFY_COLS
));
42835 PyDict_SetItemString(d
,"RB_GROUP", SWIG_From_int((int)wxRB_GROUP
));
42836 PyDict_SetItemString(d
,"RB_SINGLE", SWIG_From_int((int)wxRB_SINGLE
));
42837 PyDict_SetItemString(d
,"SL_HORIZONTAL", SWIG_From_int((int)wxSL_HORIZONTAL
));
42838 PyDict_SetItemString(d
,"SL_VERTICAL", SWIG_From_int((int)wxSL_VERTICAL
));
42839 PyDict_SetItemString(d
,"SL_AUTOTICKS", SWIG_From_int((int)wxSL_AUTOTICKS
));
42840 PyDict_SetItemString(d
,"SL_LABELS", SWIG_From_int((int)wxSL_LABELS
));
42841 PyDict_SetItemString(d
,"SL_LEFT", SWIG_From_int((int)wxSL_LEFT
));
42842 PyDict_SetItemString(d
,"SL_TOP", SWIG_From_int((int)wxSL_TOP
));
42843 PyDict_SetItemString(d
,"SL_RIGHT", SWIG_From_int((int)wxSL_RIGHT
));
42844 PyDict_SetItemString(d
,"SL_BOTTOM", SWIG_From_int((int)wxSL_BOTTOM
));
42845 PyDict_SetItemString(d
,"SL_BOTH", SWIG_From_int((int)wxSL_BOTH
));
42846 PyDict_SetItemString(d
,"SL_SELRANGE", SWIG_From_int((int)wxSL_SELRANGE
));
42847 PyDict_SetItemString(d
,"SB_HORIZONTAL", SWIG_From_int((int)wxSB_HORIZONTAL
));
42848 PyDict_SetItemString(d
,"SB_VERTICAL", SWIG_From_int((int)wxSB_VERTICAL
));
42849 PyDict_SetItemString(d
,"ST_SIZEGRIP", SWIG_From_int((int)wxST_SIZEGRIP
));
42850 PyDict_SetItemString(d
,"ST_NO_AUTORESIZE", SWIG_From_int((int)wxST_NO_AUTORESIZE
));
42851 PyDict_SetItemString(d
,"FLOOD_SURFACE", SWIG_From_int((int)wxFLOOD_SURFACE
));
42852 PyDict_SetItemString(d
,"FLOOD_BORDER", SWIG_From_int((int)wxFLOOD_BORDER
));
42853 PyDict_SetItemString(d
,"ODDEVEN_RULE", SWIG_From_int((int)wxODDEVEN_RULE
));
42854 PyDict_SetItemString(d
,"WINDING_RULE", SWIG_From_int((int)wxWINDING_RULE
));
42855 PyDict_SetItemString(d
,"TOOL_TOP", SWIG_From_int((int)wxTOOL_TOP
));
42856 PyDict_SetItemString(d
,"TOOL_BOTTOM", SWIG_From_int((int)wxTOOL_BOTTOM
));
42857 PyDict_SetItemString(d
,"TOOL_LEFT", SWIG_From_int((int)wxTOOL_LEFT
));
42858 PyDict_SetItemString(d
,"TOOL_RIGHT", SWIG_From_int((int)wxTOOL_RIGHT
));
42859 PyDict_SetItemString(d
,"OK", SWIG_From_int((int)wxOK
));
42860 PyDict_SetItemString(d
,"YES_NO", SWIG_From_int((int)wxYES_NO
));
42861 PyDict_SetItemString(d
,"CANCEL", SWIG_From_int((int)wxCANCEL
));
42862 PyDict_SetItemString(d
,"YES", SWIG_From_int((int)wxYES
));
42863 PyDict_SetItemString(d
,"NO", SWIG_From_int((int)wxNO
));
42864 PyDict_SetItemString(d
,"NO_DEFAULT", SWIG_From_int((int)wxNO_DEFAULT
));
42865 PyDict_SetItemString(d
,"YES_DEFAULT", SWIG_From_int((int)wxYES_DEFAULT
));
42866 PyDict_SetItemString(d
,"ICON_EXCLAMATION", SWIG_From_int((int)wxICON_EXCLAMATION
));
42867 PyDict_SetItemString(d
,"ICON_HAND", SWIG_From_int((int)wxICON_HAND
));
42868 PyDict_SetItemString(d
,"ICON_QUESTION", SWIG_From_int((int)wxICON_QUESTION
));
42869 PyDict_SetItemString(d
,"ICON_INFORMATION", SWIG_From_int((int)wxICON_INFORMATION
));
42870 PyDict_SetItemString(d
,"ICON_STOP", SWIG_From_int((int)wxICON_STOP
));
42871 PyDict_SetItemString(d
,"ICON_ASTERISK", SWIG_From_int((int)wxICON_ASTERISK
));
42872 PyDict_SetItemString(d
,"ICON_MASK", SWIG_From_int((int)wxICON_MASK
));
42873 PyDict_SetItemString(d
,"ICON_WARNING", SWIG_From_int((int)wxICON_WARNING
));
42874 PyDict_SetItemString(d
,"ICON_ERROR", SWIG_From_int((int)wxICON_ERROR
));
42875 PyDict_SetItemString(d
,"FORWARD", SWIG_From_int((int)wxFORWARD
));
42876 PyDict_SetItemString(d
,"BACKWARD", SWIG_From_int((int)wxBACKWARD
));
42877 PyDict_SetItemString(d
,"RESET", SWIG_From_int((int)wxRESET
));
42878 PyDict_SetItemString(d
,"HELP", SWIG_From_int((int)wxHELP
));
42879 PyDict_SetItemString(d
,"MORE", SWIG_From_int((int)wxMORE
));
42880 PyDict_SetItemString(d
,"SETUP", SWIG_From_int((int)wxSETUP
));
42881 PyDict_SetItemString(d
,"SIZE_AUTO_WIDTH", SWIG_From_int((int)wxSIZE_AUTO_WIDTH
));
42882 PyDict_SetItemString(d
,"SIZE_AUTO_HEIGHT", SWIG_From_int((int)wxSIZE_AUTO_HEIGHT
));
42883 PyDict_SetItemString(d
,"SIZE_AUTO", SWIG_From_int((int)wxSIZE_AUTO
));
42884 PyDict_SetItemString(d
,"SIZE_USE_EXISTING", SWIG_From_int((int)wxSIZE_USE_EXISTING
));
42885 PyDict_SetItemString(d
,"SIZE_ALLOW_MINUS_ONE", SWIG_From_int((int)wxSIZE_ALLOW_MINUS_ONE
));
42886 PyDict_SetItemString(d
,"PORTRAIT", SWIG_From_int((int)wxPORTRAIT
));
42887 PyDict_SetItemString(d
,"LANDSCAPE", SWIG_From_int((int)wxLANDSCAPE
));
42888 PyDict_SetItemString(d
,"PRINT_QUALITY_HIGH", SWIG_From_int((int)wxPRINT_QUALITY_HIGH
));
42889 PyDict_SetItemString(d
,"PRINT_QUALITY_MEDIUM", SWIG_From_int((int)wxPRINT_QUALITY_MEDIUM
));
42890 PyDict_SetItemString(d
,"PRINT_QUALITY_LOW", SWIG_From_int((int)wxPRINT_QUALITY_LOW
));
42891 PyDict_SetItemString(d
,"PRINT_QUALITY_DRAFT", SWIG_From_int((int)wxPRINT_QUALITY_DRAFT
));
42892 PyDict_SetItemString(d
,"ID_ANY", SWIG_From_int((int)wxID_ANY
));
42893 PyDict_SetItemString(d
,"ID_SEPARATOR", SWIG_From_int((int)wxID_SEPARATOR
));
42894 PyDict_SetItemString(d
,"ID_LOWEST", SWIG_From_int((int)wxID_LOWEST
));
42895 PyDict_SetItemString(d
,"ID_OPEN", SWIG_From_int((int)wxID_OPEN
));
42896 PyDict_SetItemString(d
,"ID_CLOSE", SWIG_From_int((int)wxID_CLOSE
));
42897 PyDict_SetItemString(d
,"ID_NEW", SWIG_From_int((int)wxID_NEW
));
42898 PyDict_SetItemString(d
,"ID_SAVE", SWIG_From_int((int)wxID_SAVE
));
42899 PyDict_SetItemString(d
,"ID_SAVEAS", SWIG_From_int((int)wxID_SAVEAS
));
42900 PyDict_SetItemString(d
,"ID_REVERT", SWIG_From_int((int)wxID_REVERT
));
42901 PyDict_SetItemString(d
,"ID_EXIT", SWIG_From_int((int)wxID_EXIT
));
42902 PyDict_SetItemString(d
,"ID_UNDO", SWIG_From_int((int)wxID_UNDO
));
42903 PyDict_SetItemString(d
,"ID_REDO", SWIG_From_int((int)wxID_REDO
));
42904 PyDict_SetItemString(d
,"ID_HELP", SWIG_From_int((int)wxID_HELP
));
42905 PyDict_SetItemString(d
,"ID_PRINT", SWIG_From_int((int)wxID_PRINT
));
42906 PyDict_SetItemString(d
,"ID_PRINT_SETUP", SWIG_From_int((int)wxID_PRINT_SETUP
));
42907 PyDict_SetItemString(d
,"ID_PREVIEW", SWIG_From_int((int)wxID_PREVIEW
));
42908 PyDict_SetItemString(d
,"ID_ABOUT", SWIG_From_int((int)wxID_ABOUT
));
42909 PyDict_SetItemString(d
,"ID_HELP_CONTENTS", SWIG_From_int((int)wxID_HELP_CONTENTS
));
42910 PyDict_SetItemString(d
,"ID_HELP_COMMANDS", SWIG_From_int((int)wxID_HELP_COMMANDS
));
42911 PyDict_SetItemString(d
,"ID_HELP_PROCEDURES", SWIG_From_int((int)wxID_HELP_PROCEDURES
));
42912 PyDict_SetItemString(d
,"ID_HELP_CONTEXT", SWIG_From_int((int)wxID_HELP_CONTEXT
));
42913 PyDict_SetItemString(d
,"ID_CLOSE_ALL", SWIG_From_int((int)wxID_CLOSE_ALL
));
42914 PyDict_SetItemString(d
,"ID_PREFERENCES", SWIG_From_int((int)wxID_PREFERENCES
));
42915 PyDict_SetItemString(d
,"ID_CUT", SWIG_From_int((int)wxID_CUT
));
42916 PyDict_SetItemString(d
,"ID_COPY", SWIG_From_int((int)wxID_COPY
));
42917 PyDict_SetItemString(d
,"ID_PASTE", SWIG_From_int((int)wxID_PASTE
));
42918 PyDict_SetItemString(d
,"ID_CLEAR", SWIG_From_int((int)wxID_CLEAR
));
42919 PyDict_SetItemString(d
,"ID_FIND", SWIG_From_int((int)wxID_FIND
));
42920 PyDict_SetItemString(d
,"ID_DUPLICATE", SWIG_From_int((int)wxID_DUPLICATE
));
42921 PyDict_SetItemString(d
,"ID_SELECTALL", SWIG_From_int((int)wxID_SELECTALL
));
42922 PyDict_SetItemString(d
,"ID_DELETE", SWIG_From_int((int)wxID_DELETE
));
42923 PyDict_SetItemString(d
,"ID_REPLACE", SWIG_From_int((int)wxID_REPLACE
));
42924 PyDict_SetItemString(d
,"ID_REPLACE_ALL", SWIG_From_int((int)wxID_REPLACE_ALL
));
42925 PyDict_SetItemString(d
,"ID_PROPERTIES", SWIG_From_int((int)wxID_PROPERTIES
));
42926 PyDict_SetItemString(d
,"ID_VIEW_DETAILS", SWIG_From_int((int)wxID_VIEW_DETAILS
));
42927 PyDict_SetItemString(d
,"ID_VIEW_LARGEICONS", SWIG_From_int((int)wxID_VIEW_LARGEICONS
));
42928 PyDict_SetItemString(d
,"ID_VIEW_SMALLICONS", SWIG_From_int((int)wxID_VIEW_SMALLICONS
));
42929 PyDict_SetItemString(d
,"ID_VIEW_LIST", SWIG_From_int((int)wxID_VIEW_LIST
));
42930 PyDict_SetItemString(d
,"ID_VIEW_SORTDATE", SWIG_From_int((int)wxID_VIEW_SORTDATE
));
42931 PyDict_SetItemString(d
,"ID_VIEW_SORTNAME", SWIG_From_int((int)wxID_VIEW_SORTNAME
));
42932 PyDict_SetItemString(d
,"ID_VIEW_SORTSIZE", SWIG_From_int((int)wxID_VIEW_SORTSIZE
));
42933 PyDict_SetItemString(d
,"ID_VIEW_SORTTYPE", SWIG_From_int((int)wxID_VIEW_SORTTYPE
));
42934 PyDict_SetItemString(d
,"ID_FILE1", SWIG_From_int((int)wxID_FILE1
));
42935 PyDict_SetItemString(d
,"ID_FILE2", SWIG_From_int((int)wxID_FILE2
));
42936 PyDict_SetItemString(d
,"ID_FILE3", SWIG_From_int((int)wxID_FILE3
));
42937 PyDict_SetItemString(d
,"ID_FILE4", SWIG_From_int((int)wxID_FILE4
));
42938 PyDict_SetItemString(d
,"ID_FILE5", SWIG_From_int((int)wxID_FILE5
));
42939 PyDict_SetItemString(d
,"ID_FILE6", SWIG_From_int((int)wxID_FILE6
));
42940 PyDict_SetItemString(d
,"ID_FILE7", SWIG_From_int((int)wxID_FILE7
));
42941 PyDict_SetItemString(d
,"ID_FILE8", SWIG_From_int((int)wxID_FILE8
));
42942 PyDict_SetItemString(d
,"ID_FILE9", SWIG_From_int((int)wxID_FILE9
));
42943 PyDict_SetItemString(d
,"ID_OK", SWIG_From_int((int)wxID_OK
));
42944 PyDict_SetItemString(d
,"ID_CANCEL", SWIG_From_int((int)wxID_CANCEL
));
42945 PyDict_SetItemString(d
,"ID_APPLY", SWIG_From_int((int)wxID_APPLY
));
42946 PyDict_SetItemString(d
,"ID_YES", SWIG_From_int((int)wxID_YES
));
42947 PyDict_SetItemString(d
,"ID_NO", SWIG_From_int((int)wxID_NO
));
42948 PyDict_SetItemString(d
,"ID_STATIC", SWIG_From_int((int)wxID_STATIC
));
42949 PyDict_SetItemString(d
,"ID_FORWARD", SWIG_From_int((int)wxID_FORWARD
));
42950 PyDict_SetItemString(d
,"ID_BACKWARD", SWIG_From_int((int)wxID_BACKWARD
));
42951 PyDict_SetItemString(d
,"ID_DEFAULT", SWIG_From_int((int)wxID_DEFAULT
));
42952 PyDict_SetItemString(d
,"ID_MORE", SWIG_From_int((int)wxID_MORE
));
42953 PyDict_SetItemString(d
,"ID_SETUP", SWIG_From_int((int)wxID_SETUP
));
42954 PyDict_SetItemString(d
,"ID_RESET", SWIG_From_int((int)wxID_RESET
));
42955 PyDict_SetItemString(d
,"ID_CONTEXT_HELP", SWIG_From_int((int)wxID_CONTEXT_HELP
));
42956 PyDict_SetItemString(d
,"ID_YESTOALL", SWIG_From_int((int)wxID_YESTOALL
));
42957 PyDict_SetItemString(d
,"ID_NOTOALL", SWIG_From_int((int)wxID_NOTOALL
));
42958 PyDict_SetItemString(d
,"ID_ABORT", SWIG_From_int((int)wxID_ABORT
));
42959 PyDict_SetItemString(d
,"ID_RETRY", SWIG_From_int((int)wxID_RETRY
));
42960 PyDict_SetItemString(d
,"ID_IGNORE", SWIG_From_int((int)wxID_IGNORE
));
42961 PyDict_SetItemString(d
,"ID_ADD", SWIG_From_int((int)wxID_ADD
));
42962 PyDict_SetItemString(d
,"ID_REMOVE", SWIG_From_int((int)wxID_REMOVE
));
42963 PyDict_SetItemString(d
,"ID_UP", SWIG_From_int((int)wxID_UP
));
42964 PyDict_SetItemString(d
,"ID_DOWN", SWIG_From_int((int)wxID_DOWN
));
42965 PyDict_SetItemString(d
,"ID_HOME", SWIG_From_int((int)wxID_HOME
));
42966 PyDict_SetItemString(d
,"ID_REFRESH", SWIG_From_int((int)wxID_REFRESH
));
42967 PyDict_SetItemString(d
,"ID_STOP", SWIG_From_int((int)wxID_STOP
));
42968 PyDict_SetItemString(d
,"ID_INDEX", SWIG_From_int((int)wxID_INDEX
));
42969 PyDict_SetItemString(d
,"ID_BOLD", SWIG_From_int((int)wxID_BOLD
));
42970 PyDict_SetItemString(d
,"ID_ITALIC", SWIG_From_int((int)wxID_ITALIC
));
42971 PyDict_SetItemString(d
,"ID_JUSTIFY_CENTER", SWIG_From_int((int)wxID_JUSTIFY_CENTER
));
42972 PyDict_SetItemString(d
,"ID_JUSTIFY_FILL", SWIG_From_int((int)wxID_JUSTIFY_FILL
));
42973 PyDict_SetItemString(d
,"ID_JUSTIFY_RIGHT", SWIG_From_int((int)wxID_JUSTIFY_RIGHT
));
42974 PyDict_SetItemString(d
,"ID_JUSTIFY_LEFT", SWIG_From_int((int)wxID_JUSTIFY_LEFT
));
42975 PyDict_SetItemString(d
,"ID_UNDERLINE", SWIG_From_int((int)wxID_UNDERLINE
));
42976 PyDict_SetItemString(d
,"ID_INDENT", SWIG_From_int((int)wxID_INDENT
));
42977 PyDict_SetItemString(d
,"ID_UNINDENT", SWIG_From_int((int)wxID_UNINDENT
));
42978 PyDict_SetItemString(d
,"ID_ZOOM_100", SWIG_From_int((int)wxID_ZOOM_100
));
42979 PyDict_SetItemString(d
,"ID_ZOOM_FIT", SWIG_From_int((int)wxID_ZOOM_FIT
));
42980 PyDict_SetItemString(d
,"ID_ZOOM_IN", SWIG_From_int((int)wxID_ZOOM_IN
));
42981 PyDict_SetItemString(d
,"ID_ZOOM_OUT", SWIG_From_int((int)wxID_ZOOM_OUT
));
42982 PyDict_SetItemString(d
,"ID_UNDELETE", SWIG_From_int((int)wxID_UNDELETE
));
42983 PyDict_SetItemString(d
,"ID_REVERT_TO_SAVED", SWIG_From_int((int)wxID_REVERT_TO_SAVED
));
42984 PyDict_SetItemString(d
,"ID_HIGHEST", SWIG_From_int((int)wxID_HIGHEST
));
42985 PyDict_SetItemString(d
,"OPEN", SWIG_From_int((int)wxOPEN
));
42986 PyDict_SetItemString(d
,"SAVE", SWIG_From_int((int)wxSAVE
));
42987 PyDict_SetItemString(d
,"HIDE_READONLY", SWIG_From_int((int)wxHIDE_READONLY
));
42988 PyDict_SetItemString(d
,"OVERWRITE_PROMPT", SWIG_From_int((int)wxOVERWRITE_PROMPT
));
42989 PyDict_SetItemString(d
,"FILE_MUST_EXIST", SWIG_From_int((int)wxFILE_MUST_EXIST
));
42990 PyDict_SetItemString(d
,"MULTIPLE", SWIG_From_int((int)wxMULTIPLE
));
42991 PyDict_SetItemString(d
,"CHANGE_DIR", SWIG_From_int((int)wxCHANGE_DIR
));
42992 PyDict_SetItemString(d
,"ACCEL_ALT", SWIG_From_int((int)wxACCEL_ALT
));
42993 PyDict_SetItemString(d
,"ACCEL_CTRL", SWIG_From_int((int)wxACCEL_CTRL
));
42994 PyDict_SetItemString(d
,"ACCEL_SHIFT", SWIG_From_int((int)wxACCEL_SHIFT
));
42995 PyDict_SetItemString(d
,"ACCEL_NORMAL", SWIG_From_int((int)wxACCEL_NORMAL
));
42996 PyDict_SetItemString(d
,"PD_AUTO_HIDE", SWIG_From_int((int)wxPD_AUTO_HIDE
));
42997 PyDict_SetItemString(d
,"PD_APP_MODAL", SWIG_From_int((int)wxPD_APP_MODAL
));
42998 PyDict_SetItemString(d
,"PD_CAN_ABORT", SWIG_From_int((int)wxPD_CAN_ABORT
));
42999 PyDict_SetItemString(d
,"PD_ELAPSED_TIME", SWIG_From_int((int)wxPD_ELAPSED_TIME
));
43000 PyDict_SetItemString(d
,"PD_ESTIMATED_TIME", SWIG_From_int((int)wxPD_ESTIMATED_TIME
));
43001 PyDict_SetItemString(d
,"PD_REMAINING_TIME", SWIG_From_int((int)wxPD_REMAINING_TIME
));
43002 PyDict_SetItemString(d
,"DD_NEW_DIR_BUTTON", SWIG_From_int((int)wxDD_NEW_DIR_BUTTON
));
43003 PyDict_SetItemString(d
,"DD_DEFAULT_STYLE", SWIG_From_int((int)wxDD_DEFAULT_STYLE
));
43004 PyDict_SetItemString(d
,"MENU_TEAROFF", SWIG_From_int((int)wxMENU_TEAROFF
));
43005 PyDict_SetItemString(d
,"MB_DOCKABLE", SWIG_From_int((int)wxMB_DOCKABLE
));
43006 PyDict_SetItemString(d
,"NO_FULL_REPAINT_ON_RESIZE", SWIG_From_int((int)wxNO_FULL_REPAINT_ON_RESIZE
));
43007 PyDict_SetItemString(d
,"FULL_REPAINT_ON_RESIZE", SWIG_From_int((int)wxFULL_REPAINT_ON_RESIZE
));
43008 PyDict_SetItemString(d
,"LI_HORIZONTAL", SWIG_From_int((int)wxLI_HORIZONTAL
));
43009 PyDict_SetItemString(d
,"LI_VERTICAL", SWIG_From_int((int)wxLI_VERTICAL
));
43010 PyDict_SetItemString(d
,"WS_EX_VALIDATE_RECURSIVELY", SWIG_From_int((int)wxWS_EX_VALIDATE_RECURSIVELY
));
43011 PyDict_SetItemString(d
,"WS_EX_BLOCK_EVENTS", SWIG_From_int((int)wxWS_EX_BLOCK_EVENTS
));
43012 PyDict_SetItemString(d
,"WS_EX_TRANSIENT", SWIG_From_int((int)wxWS_EX_TRANSIENT
));
43013 PyDict_SetItemString(d
,"WS_EX_THEMED_BACKGROUND", SWIG_From_int((int)wxWS_EX_THEMED_BACKGROUND
));
43014 PyDict_SetItemString(d
,"WS_EX_PROCESS_IDLE", SWIG_From_int((int)wxWS_EX_PROCESS_IDLE
));
43015 PyDict_SetItemString(d
,"WS_EX_PROCESS_UI_UPDATES", SWIG_From_int((int)wxWS_EX_PROCESS_UI_UPDATES
));
43016 PyDict_SetItemString(d
,"MM_TEXT", SWIG_From_int((int)wxMM_TEXT
));
43017 PyDict_SetItemString(d
,"MM_LOMETRIC", SWIG_From_int((int)wxMM_LOMETRIC
));
43018 PyDict_SetItemString(d
,"MM_HIMETRIC", SWIG_From_int((int)wxMM_HIMETRIC
));
43019 PyDict_SetItemString(d
,"MM_LOENGLISH", SWIG_From_int((int)wxMM_LOENGLISH
));
43020 PyDict_SetItemString(d
,"MM_HIENGLISH", SWIG_From_int((int)wxMM_HIENGLISH
));
43021 PyDict_SetItemString(d
,"MM_TWIPS", SWIG_From_int((int)wxMM_TWIPS
));
43022 PyDict_SetItemString(d
,"MM_ISOTROPIC", SWIG_From_int((int)wxMM_ISOTROPIC
));
43023 PyDict_SetItemString(d
,"MM_ANISOTROPIC", SWIG_From_int((int)wxMM_ANISOTROPIC
));
43024 PyDict_SetItemString(d
,"MM_POINTS", SWIG_From_int((int)wxMM_POINTS
));
43025 PyDict_SetItemString(d
,"MM_METRIC", SWIG_From_int((int)wxMM_METRIC
));
43026 PyDict_SetItemString(d
,"CENTRE", SWIG_From_int((int)wxCENTRE
));
43027 PyDict_SetItemString(d
,"CENTER", SWIG_From_int((int)wxCENTER
));
43028 PyDict_SetItemString(d
,"HORIZONTAL", SWIG_From_int((int)wxHORIZONTAL
));
43029 PyDict_SetItemString(d
,"VERTICAL", SWIG_From_int((int)wxVERTICAL
));
43030 PyDict_SetItemString(d
,"BOTH", SWIG_From_int((int)wxBOTH
));
43031 PyDict_SetItemString(d
,"LEFT", SWIG_From_int((int)wxLEFT
));
43032 PyDict_SetItemString(d
,"RIGHT", SWIG_From_int((int)wxRIGHT
));
43033 PyDict_SetItemString(d
,"UP", SWIG_From_int((int)wxUP
));
43034 PyDict_SetItemString(d
,"DOWN", SWIG_From_int((int)wxDOWN
));
43035 PyDict_SetItemString(d
,"TOP", SWIG_From_int((int)wxTOP
));
43036 PyDict_SetItemString(d
,"BOTTOM", SWIG_From_int((int)wxBOTTOM
));
43037 PyDict_SetItemString(d
,"NORTH", SWIG_From_int((int)wxNORTH
));
43038 PyDict_SetItemString(d
,"SOUTH", SWIG_From_int((int)wxSOUTH
));
43039 PyDict_SetItemString(d
,"WEST", SWIG_From_int((int)wxWEST
));
43040 PyDict_SetItemString(d
,"EAST", SWIG_From_int((int)wxEAST
));
43041 PyDict_SetItemString(d
,"ALL", SWIG_From_int((int)wxALL
));
43042 PyDict_SetItemString(d
,"ALIGN_NOT", SWIG_From_int((int)wxALIGN_NOT
));
43043 PyDict_SetItemString(d
,"ALIGN_CENTER_HORIZONTAL", SWIG_From_int((int)wxALIGN_CENTER_HORIZONTAL
));
43044 PyDict_SetItemString(d
,"ALIGN_CENTRE_HORIZONTAL", SWIG_From_int((int)wxALIGN_CENTRE_HORIZONTAL
));
43045 PyDict_SetItemString(d
,"ALIGN_LEFT", SWIG_From_int((int)wxALIGN_LEFT
));
43046 PyDict_SetItemString(d
,"ALIGN_TOP", SWIG_From_int((int)wxALIGN_TOP
));
43047 PyDict_SetItemString(d
,"ALIGN_RIGHT", SWIG_From_int((int)wxALIGN_RIGHT
));
43048 PyDict_SetItemString(d
,"ALIGN_BOTTOM", SWIG_From_int((int)wxALIGN_BOTTOM
));
43049 PyDict_SetItemString(d
,"ALIGN_CENTER_VERTICAL", SWIG_From_int((int)wxALIGN_CENTER_VERTICAL
));
43050 PyDict_SetItemString(d
,"ALIGN_CENTRE_VERTICAL", SWIG_From_int((int)wxALIGN_CENTRE_VERTICAL
));
43051 PyDict_SetItemString(d
,"ALIGN_CENTER", SWIG_From_int((int)wxALIGN_CENTER
));
43052 PyDict_SetItemString(d
,"ALIGN_CENTRE", SWIG_From_int((int)wxALIGN_CENTRE
));
43053 PyDict_SetItemString(d
,"ALIGN_MASK", SWIG_From_int((int)wxALIGN_MASK
));
43054 PyDict_SetItemString(d
,"STRETCH_NOT", SWIG_From_int((int)wxSTRETCH_NOT
));
43055 PyDict_SetItemString(d
,"SHRINK", SWIG_From_int((int)wxSHRINK
));
43056 PyDict_SetItemString(d
,"GROW", SWIG_From_int((int)wxGROW
));
43057 PyDict_SetItemString(d
,"EXPAND", SWIG_From_int((int)wxEXPAND
));
43058 PyDict_SetItemString(d
,"SHAPED", SWIG_From_int((int)wxSHAPED
));
43059 PyDict_SetItemString(d
,"FIXED_MINSIZE", SWIG_From_int((int)wxFIXED_MINSIZE
));
43060 PyDict_SetItemString(d
,"TILE", SWIG_From_int((int)wxTILE
));
43061 PyDict_SetItemString(d
,"ADJUST_MINSIZE", SWIG_From_int((int)wxADJUST_MINSIZE
));
43062 PyDict_SetItemString(d
,"BORDER_DEFAULT", SWIG_From_int((int)wxBORDER_DEFAULT
));
43063 PyDict_SetItemString(d
,"BORDER_NONE", SWIG_From_int((int)wxBORDER_NONE
));
43064 PyDict_SetItemString(d
,"BORDER_STATIC", SWIG_From_int((int)wxBORDER_STATIC
));
43065 PyDict_SetItemString(d
,"BORDER_SIMPLE", SWIG_From_int((int)wxBORDER_SIMPLE
));
43066 PyDict_SetItemString(d
,"BORDER_RAISED", SWIG_From_int((int)wxBORDER_RAISED
));
43067 PyDict_SetItemString(d
,"BORDER_SUNKEN", SWIG_From_int((int)wxBORDER_SUNKEN
));
43068 PyDict_SetItemString(d
,"BORDER_DOUBLE", SWIG_From_int((int)wxBORDER_DOUBLE
));
43069 PyDict_SetItemString(d
,"BORDER_MASK", SWIG_From_int((int)wxBORDER_MASK
));
43070 PyDict_SetItemString(d
,"BG_STYLE_SYSTEM", SWIG_From_int((int)wxBG_STYLE_SYSTEM
));
43071 PyDict_SetItemString(d
,"BG_STYLE_COLOUR", SWIG_From_int((int)wxBG_STYLE_COLOUR
));
43072 PyDict_SetItemString(d
,"BG_STYLE_CUSTOM", SWIG_From_int((int)wxBG_STYLE_CUSTOM
));
43073 PyDict_SetItemString(d
,"DEFAULT", SWIG_From_int((int)wxDEFAULT
));
43074 PyDict_SetItemString(d
,"DECORATIVE", SWIG_From_int((int)wxDECORATIVE
));
43075 PyDict_SetItemString(d
,"ROMAN", SWIG_From_int((int)wxROMAN
));
43076 PyDict_SetItemString(d
,"SCRIPT", SWIG_From_int((int)wxSCRIPT
));
43077 PyDict_SetItemString(d
,"SWISS", SWIG_From_int((int)wxSWISS
));
43078 PyDict_SetItemString(d
,"MODERN", SWIG_From_int((int)wxMODERN
));
43079 PyDict_SetItemString(d
,"TELETYPE", SWIG_From_int((int)wxTELETYPE
));
43080 PyDict_SetItemString(d
,"VARIABLE", SWIG_From_int((int)wxVARIABLE
));
43081 PyDict_SetItemString(d
,"FIXED", SWIG_From_int((int)wxFIXED
));
43082 PyDict_SetItemString(d
,"NORMAL", SWIG_From_int((int)wxNORMAL
));
43083 PyDict_SetItemString(d
,"LIGHT", SWIG_From_int((int)wxLIGHT
));
43084 PyDict_SetItemString(d
,"BOLD", SWIG_From_int((int)wxBOLD
));
43085 PyDict_SetItemString(d
,"ITALIC", SWIG_From_int((int)wxITALIC
));
43086 PyDict_SetItemString(d
,"SLANT", SWIG_From_int((int)wxSLANT
));
43087 PyDict_SetItemString(d
,"SOLID", SWIG_From_int((int)wxSOLID
));
43088 PyDict_SetItemString(d
,"DOT", SWIG_From_int((int)wxDOT
));
43089 PyDict_SetItemString(d
,"LONG_DASH", SWIG_From_int((int)wxLONG_DASH
));
43090 PyDict_SetItemString(d
,"SHORT_DASH", SWIG_From_int((int)wxSHORT_DASH
));
43091 PyDict_SetItemString(d
,"DOT_DASH", SWIG_From_int((int)wxDOT_DASH
));
43092 PyDict_SetItemString(d
,"USER_DASH", SWIG_From_int((int)wxUSER_DASH
));
43093 PyDict_SetItemString(d
,"TRANSPARENT", SWIG_From_int((int)wxTRANSPARENT
));
43094 PyDict_SetItemString(d
,"STIPPLE", SWIG_From_int((int)wxSTIPPLE
));
43095 PyDict_SetItemString(d
,"BDIAGONAL_HATCH", SWIG_From_int((int)wxBDIAGONAL_HATCH
));
43096 PyDict_SetItemString(d
,"CROSSDIAG_HATCH", SWIG_From_int((int)wxCROSSDIAG_HATCH
));
43097 PyDict_SetItemString(d
,"FDIAGONAL_HATCH", SWIG_From_int((int)wxFDIAGONAL_HATCH
));
43098 PyDict_SetItemString(d
,"CROSS_HATCH", SWIG_From_int((int)wxCROSS_HATCH
));
43099 PyDict_SetItemString(d
,"HORIZONTAL_HATCH", SWIG_From_int((int)wxHORIZONTAL_HATCH
));
43100 PyDict_SetItemString(d
,"VERTICAL_HATCH", SWIG_From_int((int)wxVERTICAL_HATCH
));
43101 PyDict_SetItemString(d
,"JOIN_BEVEL", SWIG_From_int((int)wxJOIN_BEVEL
));
43102 PyDict_SetItemString(d
,"JOIN_MITER", SWIG_From_int((int)wxJOIN_MITER
));
43103 PyDict_SetItemString(d
,"JOIN_ROUND", SWIG_From_int((int)wxJOIN_ROUND
));
43104 PyDict_SetItemString(d
,"CAP_ROUND", SWIG_From_int((int)wxCAP_ROUND
));
43105 PyDict_SetItemString(d
,"CAP_PROJECTING", SWIG_From_int((int)wxCAP_PROJECTING
));
43106 PyDict_SetItemString(d
,"CAP_BUTT", SWIG_From_int((int)wxCAP_BUTT
));
43107 PyDict_SetItemString(d
,"CLEAR", SWIG_From_int((int)wxCLEAR
));
43108 PyDict_SetItemString(d
,"XOR", SWIG_From_int((int)wxXOR
));
43109 PyDict_SetItemString(d
,"INVERT", SWIG_From_int((int)wxINVERT
));
43110 PyDict_SetItemString(d
,"OR_REVERSE", SWIG_From_int((int)wxOR_REVERSE
));
43111 PyDict_SetItemString(d
,"AND_REVERSE", SWIG_From_int((int)wxAND_REVERSE
));
43112 PyDict_SetItemString(d
,"COPY", SWIG_From_int((int)wxCOPY
));
43113 PyDict_SetItemString(d
,"AND", SWIG_From_int((int)wxAND
));
43114 PyDict_SetItemString(d
,"AND_INVERT", SWIG_From_int((int)wxAND_INVERT
));
43115 PyDict_SetItemString(d
,"NO_OP", SWIG_From_int((int)wxNO_OP
));
43116 PyDict_SetItemString(d
,"NOR", SWIG_From_int((int)wxNOR
));
43117 PyDict_SetItemString(d
,"EQUIV", SWIG_From_int((int)wxEQUIV
));
43118 PyDict_SetItemString(d
,"SRC_INVERT", SWIG_From_int((int)wxSRC_INVERT
));
43119 PyDict_SetItemString(d
,"OR_INVERT", SWIG_From_int((int)wxOR_INVERT
));
43120 PyDict_SetItemString(d
,"NAND", SWIG_From_int((int)wxNAND
));
43121 PyDict_SetItemString(d
,"OR", SWIG_From_int((int)wxOR
));
43122 PyDict_SetItemString(d
,"SET", SWIG_From_int((int)wxSET
));
43123 PyDict_SetItemString(d
,"WXK_BACK", SWIG_From_int((int)WXK_BACK
));
43124 PyDict_SetItemString(d
,"WXK_TAB", SWIG_From_int((int)WXK_TAB
));
43125 PyDict_SetItemString(d
,"WXK_RETURN", SWIG_From_int((int)WXK_RETURN
));
43126 PyDict_SetItemString(d
,"WXK_ESCAPE", SWIG_From_int((int)WXK_ESCAPE
));
43127 PyDict_SetItemString(d
,"WXK_SPACE", SWIG_From_int((int)WXK_SPACE
));
43128 PyDict_SetItemString(d
,"WXK_DELETE", SWIG_From_int((int)WXK_DELETE
));
43129 PyDict_SetItemString(d
,"WXK_START", SWIG_From_int((int)WXK_START
));
43130 PyDict_SetItemString(d
,"WXK_LBUTTON", SWIG_From_int((int)WXK_LBUTTON
));
43131 PyDict_SetItemString(d
,"WXK_RBUTTON", SWIG_From_int((int)WXK_RBUTTON
));
43132 PyDict_SetItemString(d
,"WXK_CANCEL", SWIG_From_int((int)WXK_CANCEL
));
43133 PyDict_SetItemString(d
,"WXK_MBUTTON", SWIG_From_int((int)WXK_MBUTTON
));
43134 PyDict_SetItemString(d
,"WXK_CLEAR", SWIG_From_int((int)WXK_CLEAR
));
43135 PyDict_SetItemString(d
,"WXK_SHIFT", SWIG_From_int((int)WXK_SHIFT
));
43136 PyDict_SetItemString(d
,"WXK_ALT", SWIG_From_int((int)WXK_ALT
));
43137 PyDict_SetItemString(d
,"WXK_CONTROL", SWIG_From_int((int)WXK_CONTROL
));
43138 PyDict_SetItemString(d
,"WXK_MENU", SWIG_From_int((int)WXK_MENU
));
43139 PyDict_SetItemString(d
,"WXK_PAUSE", SWIG_From_int((int)WXK_PAUSE
));
43140 PyDict_SetItemString(d
,"WXK_CAPITAL", SWIG_From_int((int)WXK_CAPITAL
));
43141 PyDict_SetItemString(d
,"WXK_PRIOR", SWIG_From_int((int)WXK_PRIOR
));
43142 PyDict_SetItemString(d
,"WXK_NEXT", SWIG_From_int((int)WXK_NEXT
));
43143 PyDict_SetItemString(d
,"WXK_END", SWIG_From_int((int)WXK_END
));
43144 PyDict_SetItemString(d
,"WXK_HOME", SWIG_From_int((int)WXK_HOME
));
43145 PyDict_SetItemString(d
,"WXK_LEFT", SWIG_From_int((int)WXK_LEFT
));
43146 PyDict_SetItemString(d
,"WXK_UP", SWIG_From_int((int)WXK_UP
));
43147 PyDict_SetItemString(d
,"WXK_RIGHT", SWIG_From_int((int)WXK_RIGHT
));
43148 PyDict_SetItemString(d
,"WXK_DOWN", SWIG_From_int((int)WXK_DOWN
));
43149 PyDict_SetItemString(d
,"WXK_SELECT", SWIG_From_int((int)WXK_SELECT
));
43150 PyDict_SetItemString(d
,"WXK_PRINT", SWIG_From_int((int)WXK_PRINT
));
43151 PyDict_SetItemString(d
,"WXK_EXECUTE", SWIG_From_int((int)WXK_EXECUTE
));
43152 PyDict_SetItemString(d
,"WXK_SNAPSHOT", SWIG_From_int((int)WXK_SNAPSHOT
));
43153 PyDict_SetItemString(d
,"WXK_INSERT", SWIG_From_int((int)WXK_INSERT
));
43154 PyDict_SetItemString(d
,"WXK_HELP", SWIG_From_int((int)WXK_HELP
));
43155 PyDict_SetItemString(d
,"WXK_NUMPAD0", SWIG_From_int((int)WXK_NUMPAD0
));
43156 PyDict_SetItemString(d
,"WXK_NUMPAD1", SWIG_From_int((int)WXK_NUMPAD1
));
43157 PyDict_SetItemString(d
,"WXK_NUMPAD2", SWIG_From_int((int)WXK_NUMPAD2
));
43158 PyDict_SetItemString(d
,"WXK_NUMPAD3", SWIG_From_int((int)WXK_NUMPAD3
));
43159 PyDict_SetItemString(d
,"WXK_NUMPAD4", SWIG_From_int((int)WXK_NUMPAD4
));
43160 PyDict_SetItemString(d
,"WXK_NUMPAD5", SWIG_From_int((int)WXK_NUMPAD5
));
43161 PyDict_SetItemString(d
,"WXK_NUMPAD6", SWIG_From_int((int)WXK_NUMPAD6
));
43162 PyDict_SetItemString(d
,"WXK_NUMPAD7", SWIG_From_int((int)WXK_NUMPAD7
));
43163 PyDict_SetItemString(d
,"WXK_NUMPAD8", SWIG_From_int((int)WXK_NUMPAD8
));
43164 PyDict_SetItemString(d
,"WXK_NUMPAD9", SWIG_From_int((int)WXK_NUMPAD9
));
43165 PyDict_SetItemString(d
,"WXK_MULTIPLY", SWIG_From_int((int)WXK_MULTIPLY
));
43166 PyDict_SetItemString(d
,"WXK_ADD", SWIG_From_int((int)WXK_ADD
));
43167 PyDict_SetItemString(d
,"WXK_SEPARATOR", SWIG_From_int((int)WXK_SEPARATOR
));
43168 PyDict_SetItemString(d
,"WXK_SUBTRACT", SWIG_From_int((int)WXK_SUBTRACT
));
43169 PyDict_SetItemString(d
,"WXK_DECIMAL", SWIG_From_int((int)WXK_DECIMAL
));
43170 PyDict_SetItemString(d
,"WXK_DIVIDE", SWIG_From_int((int)WXK_DIVIDE
));
43171 PyDict_SetItemString(d
,"WXK_F1", SWIG_From_int((int)WXK_F1
));
43172 PyDict_SetItemString(d
,"WXK_F2", SWIG_From_int((int)WXK_F2
));
43173 PyDict_SetItemString(d
,"WXK_F3", SWIG_From_int((int)WXK_F3
));
43174 PyDict_SetItemString(d
,"WXK_F4", SWIG_From_int((int)WXK_F4
));
43175 PyDict_SetItemString(d
,"WXK_F5", SWIG_From_int((int)WXK_F5
));
43176 PyDict_SetItemString(d
,"WXK_F6", SWIG_From_int((int)WXK_F6
));
43177 PyDict_SetItemString(d
,"WXK_F7", SWIG_From_int((int)WXK_F7
));
43178 PyDict_SetItemString(d
,"WXK_F8", SWIG_From_int((int)WXK_F8
));
43179 PyDict_SetItemString(d
,"WXK_F9", SWIG_From_int((int)WXK_F9
));
43180 PyDict_SetItemString(d
,"WXK_F10", SWIG_From_int((int)WXK_F10
));
43181 PyDict_SetItemString(d
,"WXK_F11", SWIG_From_int((int)WXK_F11
));
43182 PyDict_SetItemString(d
,"WXK_F12", SWIG_From_int((int)WXK_F12
));
43183 PyDict_SetItemString(d
,"WXK_F13", SWIG_From_int((int)WXK_F13
));
43184 PyDict_SetItemString(d
,"WXK_F14", SWIG_From_int((int)WXK_F14
));
43185 PyDict_SetItemString(d
,"WXK_F15", SWIG_From_int((int)WXK_F15
));
43186 PyDict_SetItemString(d
,"WXK_F16", SWIG_From_int((int)WXK_F16
));
43187 PyDict_SetItemString(d
,"WXK_F17", SWIG_From_int((int)WXK_F17
));
43188 PyDict_SetItemString(d
,"WXK_F18", SWIG_From_int((int)WXK_F18
));
43189 PyDict_SetItemString(d
,"WXK_F19", SWIG_From_int((int)WXK_F19
));
43190 PyDict_SetItemString(d
,"WXK_F20", SWIG_From_int((int)WXK_F20
));
43191 PyDict_SetItemString(d
,"WXK_F21", SWIG_From_int((int)WXK_F21
));
43192 PyDict_SetItemString(d
,"WXK_F22", SWIG_From_int((int)WXK_F22
));
43193 PyDict_SetItemString(d
,"WXK_F23", SWIG_From_int((int)WXK_F23
));
43194 PyDict_SetItemString(d
,"WXK_F24", SWIG_From_int((int)WXK_F24
));
43195 PyDict_SetItemString(d
,"WXK_NUMLOCK", SWIG_From_int((int)WXK_NUMLOCK
));
43196 PyDict_SetItemString(d
,"WXK_SCROLL", SWIG_From_int((int)WXK_SCROLL
));
43197 PyDict_SetItemString(d
,"WXK_PAGEUP", SWIG_From_int((int)WXK_PAGEUP
));
43198 PyDict_SetItemString(d
,"WXK_PAGEDOWN", SWIG_From_int((int)WXK_PAGEDOWN
));
43199 PyDict_SetItemString(d
,"WXK_NUMPAD_SPACE", SWIG_From_int((int)WXK_NUMPAD_SPACE
));
43200 PyDict_SetItemString(d
,"WXK_NUMPAD_TAB", SWIG_From_int((int)WXK_NUMPAD_TAB
));
43201 PyDict_SetItemString(d
,"WXK_NUMPAD_ENTER", SWIG_From_int((int)WXK_NUMPAD_ENTER
));
43202 PyDict_SetItemString(d
,"WXK_NUMPAD_F1", SWIG_From_int((int)WXK_NUMPAD_F1
));
43203 PyDict_SetItemString(d
,"WXK_NUMPAD_F2", SWIG_From_int((int)WXK_NUMPAD_F2
));
43204 PyDict_SetItemString(d
,"WXK_NUMPAD_F3", SWIG_From_int((int)WXK_NUMPAD_F3
));
43205 PyDict_SetItemString(d
,"WXK_NUMPAD_F4", SWIG_From_int((int)WXK_NUMPAD_F4
));
43206 PyDict_SetItemString(d
,"WXK_NUMPAD_HOME", SWIG_From_int((int)WXK_NUMPAD_HOME
));
43207 PyDict_SetItemString(d
,"WXK_NUMPAD_LEFT", SWIG_From_int((int)WXK_NUMPAD_LEFT
));
43208 PyDict_SetItemString(d
,"WXK_NUMPAD_UP", SWIG_From_int((int)WXK_NUMPAD_UP
));
43209 PyDict_SetItemString(d
,"WXK_NUMPAD_RIGHT", SWIG_From_int((int)WXK_NUMPAD_RIGHT
));
43210 PyDict_SetItemString(d
,"WXK_NUMPAD_DOWN", SWIG_From_int((int)WXK_NUMPAD_DOWN
));
43211 PyDict_SetItemString(d
,"WXK_NUMPAD_PRIOR", SWIG_From_int((int)WXK_NUMPAD_PRIOR
));
43212 PyDict_SetItemString(d
,"WXK_NUMPAD_PAGEUP", SWIG_From_int((int)WXK_NUMPAD_PAGEUP
));
43213 PyDict_SetItemString(d
,"WXK_NUMPAD_NEXT", SWIG_From_int((int)WXK_NUMPAD_NEXT
));
43214 PyDict_SetItemString(d
,"WXK_NUMPAD_PAGEDOWN", SWIG_From_int((int)WXK_NUMPAD_PAGEDOWN
));
43215 PyDict_SetItemString(d
,"WXK_NUMPAD_END", SWIG_From_int((int)WXK_NUMPAD_END
));
43216 PyDict_SetItemString(d
,"WXK_NUMPAD_BEGIN", SWIG_From_int((int)WXK_NUMPAD_BEGIN
));
43217 PyDict_SetItemString(d
,"WXK_NUMPAD_INSERT", SWIG_From_int((int)WXK_NUMPAD_INSERT
));
43218 PyDict_SetItemString(d
,"WXK_NUMPAD_DELETE", SWIG_From_int((int)WXK_NUMPAD_DELETE
));
43219 PyDict_SetItemString(d
,"WXK_NUMPAD_EQUAL", SWIG_From_int((int)WXK_NUMPAD_EQUAL
));
43220 PyDict_SetItemString(d
,"WXK_NUMPAD_MULTIPLY", SWIG_From_int((int)WXK_NUMPAD_MULTIPLY
));
43221 PyDict_SetItemString(d
,"WXK_NUMPAD_ADD", SWIG_From_int((int)WXK_NUMPAD_ADD
));
43222 PyDict_SetItemString(d
,"WXK_NUMPAD_SEPARATOR", SWIG_From_int((int)WXK_NUMPAD_SEPARATOR
));
43223 PyDict_SetItemString(d
,"WXK_NUMPAD_SUBTRACT", SWIG_From_int((int)WXK_NUMPAD_SUBTRACT
));
43224 PyDict_SetItemString(d
,"WXK_NUMPAD_DECIMAL", SWIG_From_int((int)WXK_NUMPAD_DECIMAL
));
43225 PyDict_SetItemString(d
,"WXK_NUMPAD_DIVIDE", SWIG_From_int((int)WXK_NUMPAD_DIVIDE
));
43226 PyDict_SetItemString(d
,"WXK_WINDOWS_LEFT", SWIG_From_int((int)WXK_WINDOWS_LEFT
));
43227 PyDict_SetItemString(d
,"WXK_WINDOWS_RIGHT", SWIG_From_int((int)WXK_WINDOWS_RIGHT
));
43228 PyDict_SetItemString(d
,"WXK_WINDOWS_MENU", SWIG_From_int((int)WXK_WINDOWS_MENU
));
43229 PyDict_SetItemString(d
,"PAPER_NONE", SWIG_From_int((int)wxPAPER_NONE
));
43230 PyDict_SetItemString(d
,"PAPER_LETTER", SWIG_From_int((int)wxPAPER_LETTER
));
43231 PyDict_SetItemString(d
,"PAPER_LEGAL", SWIG_From_int((int)wxPAPER_LEGAL
));
43232 PyDict_SetItemString(d
,"PAPER_A4", SWIG_From_int((int)wxPAPER_A4
));
43233 PyDict_SetItemString(d
,"PAPER_CSHEET", SWIG_From_int((int)wxPAPER_CSHEET
));
43234 PyDict_SetItemString(d
,"PAPER_DSHEET", SWIG_From_int((int)wxPAPER_DSHEET
));
43235 PyDict_SetItemString(d
,"PAPER_ESHEET", SWIG_From_int((int)wxPAPER_ESHEET
));
43236 PyDict_SetItemString(d
,"PAPER_LETTERSMALL", SWIG_From_int((int)wxPAPER_LETTERSMALL
));
43237 PyDict_SetItemString(d
,"PAPER_TABLOID", SWIG_From_int((int)wxPAPER_TABLOID
));
43238 PyDict_SetItemString(d
,"PAPER_LEDGER", SWIG_From_int((int)wxPAPER_LEDGER
));
43239 PyDict_SetItemString(d
,"PAPER_STATEMENT", SWIG_From_int((int)wxPAPER_STATEMENT
));
43240 PyDict_SetItemString(d
,"PAPER_EXECUTIVE", SWIG_From_int((int)wxPAPER_EXECUTIVE
));
43241 PyDict_SetItemString(d
,"PAPER_A3", SWIG_From_int((int)wxPAPER_A3
));
43242 PyDict_SetItemString(d
,"PAPER_A4SMALL", SWIG_From_int((int)wxPAPER_A4SMALL
));
43243 PyDict_SetItemString(d
,"PAPER_A5", SWIG_From_int((int)wxPAPER_A5
));
43244 PyDict_SetItemString(d
,"PAPER_B4", SWIG_From_int((int)wxPAPER_B4
));
43245 PyDict_SetItemString(d
,"PAPER_B5", SWIG_From_int((int)wxPAPER_B5
));
43246 PyDict_SetItemString(d
,"PAPER_FOLIO", SWIG_From_int((int)wxPAPER_FOLIO
));
43247 PyDict_SetItemString(d
,"PAPER_QUARTO", SWIG_From_int((int)wxPAPER_QUARTO
));
43248 PyDict_SetItemString(d
,"PAPER_10X14", SWIG_From_int((int)wxPAPER_10X14
));
43249 PyDict_SetItemString(d
,"PAPER_11X17", SWIG_From_int((int)wxPAPER_11X17
));
43250 PyDict_SetItemString(d
,"PAPER_NOTE", SWIG_From_int((int)wxPAPER_NOTE
));
43251 PyDict_SetItemString(d
,"PAPER_ENV_9", SWIG_From_int((int)wxPAPER_ENV_9
));
43252 PyDict_SetItemString(d
,"PAPER_ENV_10", SWIG_From_int((int)wxPAPER_ENV_10
));
43253 PyDict_SetItemString(d
,"PAPER_ENV_11", SWIG_From_int((int)wxPAPER_ENV_11
));
43254 PyDict_SetItemString(d
,"PAPER_ENV_12", SWIG_From_int((int)wxPAPER_ENV_12
));
43255 PyDict_SetItemString(d
,"PAPER_ENV_14", SWIG_From_int((int)wxPAPER_ENV_14
));
43256 PyDict_SetItemString(d
,"PAPER_ENV_DL", SWIG_From_int((int)wxPAPER_ENV_DL
));
43257 PyDict_SetItemString(d
,"PAPER_ENV_C5", SWIG_From_int((int)wxPAPER_ENV_C5
));
43258 PyDict_SetItemString(d
,"PAPER_ENV_C3", SWIG_From_int((int)wxPAPER_ENV_C3
));
43259 PyDict_SetItemString(d
,"PAPER_ENV_C4", SWIG_From_int((int)wxPAPER_ENV_C4
));
43260 PyDict_SetItemString(d
,"PAPER_ENV_C6", SWIG_From_int((int)wxPAPER_ENV_C6
));
43261 PyDict_SetItemString(d
,"PAPER_ENV_C65", SWIG_From_int((int)wxPAPER_ENV_C65
));
43262 PyDict_SetItemString(d
,"PAPER_ENV_B4", SWIG_From_int((int)wxPAPER_ENV_B4
));
43263 PyDict_SetItemString(d
,"PAPER_ENV_B5", SWIG_From_int((int)wxPAPER_ENV_B5
));
43264 PyDict_SetItemString(d
,"PAPER_ENV_B6", SWIG_From_int((int)wxPAPER_ENV_B6
));
43265 PyDict_SetItemString(d
,"PAPER_ENV_ITALY", SWIG_From_int((int)wxPAPER_ENV_ITALY
));
43266 PyDict_SetItemString(d
,"PAPER_ENV_MONARCH", SWIG_From_int((int)wxPAPER_ENV_MONARCH
));
43267 PyDict_SetItemString(d
,"PAPER_ENV_PERSONAL", SWIG_From_int((int)wxPAPER_ENV_PERSONAL
));
43268 PyDict_SetItemString(d
,"PAPER_FANFOLD_US", SWIG_From_int((int)wxPAPER_FANFOLD_US
));
43269 PyDict_SetItemString(d
,"PAPER_FANFOLD_STD_GERMAN", SWIG_From_int((int)wxPAPER_FANFOLD_STD_GERMAN
));
43270 PyDict_SetItemString(d
,"PAPER_FANFOLD_LGL_GERMAN", SWIG_From_int((int)wxPAPER_FANFOLD_LGL_GERMAN
));
43271 PyDict_SetItemString(d
,"PAPER_ISO_B4", SWIG_From_int((int)wxPAPER_ISO_B4
));
43272 PyDict_SetItemString(d
,"PAPER_JAPANESE_POSTCARD", SWIG_From_int((int)wxPAPER_JAPANESE_POSTCARD
));
43273 PyDict_SetItemString(d
,"PAPER_9X11", SWIG_From_int((int)wxPAPER_9X11
));
43274 PyDict_SetItemString(d
,"PAPER_10X11", SWIG_From_int((int)wxPAPER_10X11
));
43275 PyDict_SetItemString(d
,"PAPER_15X11", SWIG_From_int((int)wxPAPER_15X11
));
43276 PyDict_SetItemString(d
,"PAPER_ENV_INVITE", SWIG_From_int((int)wxPAPER_ENV_INVITE
));
43277 PyDict_SetItemString(d
,"PAPER_LETTER_EXTRA", SWIG_From_int((int)wxPAPER_LETTER_EXTRA
));
43278 PyDict_SetItemString(d
,"PAPER_LEGAL_EXTRA", SWIG_From_int((int)wxPAPER_LEGAL_EXTRA
));
43279 PyDict_SetItemString(d
,"PAPER_TABLOID_EXTRA", SWIG_From_int((int)wxPAPER_TABLOID_EXTRA
));
43280 PyDict_SetItemString(d
,"PAPER_A4_EXTRA", SWIG_From_int((int)wxPAPER_A4_EXTRA
));
43281 PyDict_SetItemString(d
,"PAPER_LETTER_TRANSVERSE", SWIG_From_int((int)wxPAPER_LETTER_TRANSVERSE
));
43282 PyDict_SetItemString(d
,"PAPER_A4_TRANSVERSE", SWIG_From_int((int)wxPAPER_A4_TRANSVERSE
));
43283 PyDict_SetItemString(d
,"PAPER_LETTER_EXTRA_TRANSVERSE", SWIG_From_int((int)wxPAPER_LETTER_EXTRA_TRANSVERSE
));
43284 PyDict_SetItemString(d
,"PAPER_A_PLUS", SWIG_From_int((int)wxPAPER_A_PLUS
));
43285 PyDict_SetItemString(d
,"PAPER_B_PLUS", SWIG_From_int((int)wxPAPER_B_PLUS
));
43286 PyDict_SetItemString(d
,"PAPER_LETTER_PLUS", SWIG_From_int((int)wxPAPER_LETTER_PLUS
));
43287 PyDict_SetItemString(d
,"PAPER_A4_PLUS", SWIG_From_int((int)wxPAPER_A4_PLUS
));
43288 PyDict_SetItemString(d
,"PAPER_A5_TRANSVERSE", SWIG_From_int((int)wxPAPER_A5_TRANSVERSE
));
43289 PyDict_SetItemString(d
,"PAPER_B5_TRANSVERSE", SWIG_From_int((int)wxPAPER_B5_TRANSVERSE
));
43290 PyDict_SetItemString(d
,"PAPER_A3_EXTRA", SWIG_From_int((int)wxPAPER_A3_EXTRA
));
43291 PyDict_SetItemString(d
,"PAPER_A5_EXTRA", SWIG_From_int((int)wxPAPER_A5_EXTRA
));
43292 PyDict_SetItemString(d
,"PAPER_B5_EXTRA", SWIG_From_int((int)wxPAPER_B5_EXTRA
));
43293 PyDict_SetItemString(d
,"PAPER_A2", SWIG_From_int((int)wxPAPER_A2
));
43294 PyDict_SetItemString(d
,"PAPER_A3_TRANSVERSE", SWIG_From_int((int)wxPAPER_A3_TRANSVERSE
));
43295 PyDict_SetItemString(d
,"PAPER_A3_EXTRA_TRANSVERSE", SWIG_From_int((int)wxPAPER_A3_EXTRA_TRANSVERSE
));
43296 PyDict_SetItemString(d
,"DUPLEX_SIMPLEX", SWIG_From_int((int)wxDUPLEX_SIMPLEX
));
43297 PyDict_SetItemString(d
,"DUPLEX_HORIZONTAL", SWIG_From_int((int)wxDUPLEX_HORIZONTAL
));
43298 PyDict_SetItemString(d
,"DUPLEX_VERTICAL", SWIG_From_int((int)wxDUPLEX_VERTICAL
));
43299 PyDict_SetItemString(d
,"ITEM_SEPARATOR", SWIG_From_int((int)wxITEM_SEPARATOR
));
43300 PyDict_SetItemString(d
,"ITEM_NORMAL", SWIG_From_int((int)wxITEM_NORMAL
));
43301 PyDict_SetItemString(d
,"ITEM_CHECK", SWIG_From_int((int)wxITEM_CHECK
));
43302 PyDict_SetItemString(d
,"ITEM_RADIO", SWIG_From_int((int)wxITEM_RADIO
));
43303 PyDict_SetItemString(d
,"ITEM_MAX", SWIG_From_int((int)wxITEM_MAX
));
43304 PyDict_SetItemString(d
,"HT_NOWHERE", SWIG_From_int((int)wxHT_NOWHERE
));
43305 PyDict_SetItemString(d
,"HT_SCROLLBAR_FIRST", SWIG_From_int((int)wxHT_SCROLLBAR_FIRST
));
43306 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_LINE_1", SWIG_From_int((int)wxHT_SCROLLBAR_ARROW_LINE_1
));
43307 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_LINE_2", SWIG_From_int((int)wxHT_SCROLLBAR_ARROW_LINE_2
));
43308 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_PAGE_1", SWIG_From_int((int)wxHT_SCROLLBAR_ARROW_PAGE_1
));
43309 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_PAGE_2", SWIG_From_int((int)wxHT_SCROLLBAR_ARROW_PAGE_2
));
43310 PyDict_SetItemString(d
,"HT_SCROLLBAR_THUMB", SWIG_From_int((int)wxHT_SCROLLBAR_THUMB
));
43311 PyDict_SetItemString(d
,"HT_SCROLLBAR_BAR_1", SWIG_From_int((int)wxHT_SCROLLBAR_BAR_1
));
43312 PyDict_SetItemString(d
,"HT_SCROLLBAR_BAR_2", SWIG_From_int((int)wxHT_SCROLLBAR_BAR_2
));
43313 PyDict_SetItemString(d
,"HT_SCROLLBAR_LAST", SWIG_From_int((int)wxHT_SCROLLBAR_LAST
));
43314 PyDict_SetItemString(d
,"HT_WINDOW_OUTSIDE", SWIG_From_int((int)wxHT_WINDOW_OUTSIDE
));
43315 PyDict_SetItemString(d
,"HT_WINDOW_INSIDE", SWIG_From_int((int)wxHT_WINDOW_INSIDE
));
43316 PyDict_SetItemString(d
,"HT_WINDOW_VERT_SCROLLBAR", SWIG_From_int((int)wxHT_WINDOW_VERT_SCROLLBAR
));
43317 PyDict_SetItemString(d
,"HT_WINDOW_HORZ_SCROLLBAR", SWIG_From_int((int)wxHT_WINDOW_HORZ_SCROLLBAR
));
43318 PyDict_SetItemString(d
,"HT_WINDOW_CORNER", SWIG_From_int((int)wxHT_WINDOW_CORNER
));
43319 PyDict_SetItemString(d
,"HT_MAX", SWIG_From_int((int)wxHT_MAX
));
43320 PyDict_SetItemString(d
,"MOD_NONE", SWIG_From_int((int)wxMOD_NONE
));
43321 PyDict_SetItemString(d
,"MOD_ALT", SWIG_From_int((int)wxMOD_ALT
));
43322 PyDict_SetItemString(d
,"MOD_CONTROL", SWIG_From_int((int)wxMOD_CONTROL
));
43323 PyDict_SetItemString(d
,"MOD_SHIFT", SWIG_From_int((int)wxMOD_SHIFT
));
43324 PyDict_SetItemString(d
,"MOD_WIN", SWIG_From_int((int)wxMOD_WIN
));
43325 PyDict_SetItemString(d
,"UPDATE_UI_NONE", SWIG_From_int((int)wxUPDATE_UI_NONE
));
43326 PyDict_SetItemString(d
,"UPDATE_UI_RECURSE", SWIG_From_int((int)wxUPDATE_UI_RECURSE
));
43327 PyDict_SetItemString(d
,"UPDATE_UI_FROMIDLE", SWIG_From_int((int)wxUPDATE_UI_FROMIDLE
));
43328 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
43329 SWIG_addvarlink(SWIG_globals
,(char*)"EmptyString",_wrap_EmptyString_get
, _wrap_EmptyString_set
);
43330 PyDict_SetItemString(d
,"BITMAP_TYPE_INVALID", SWIG_From_int((int)wxBITMAP_TYPE_INVALID
));
43331 PyDict_SetItemString(d
,"BITMAP_TYPE_BMP", SWIG_From_int((int)wxBITMAP_TYPE_BMP
));
43332 PyDict_SetItemString(d
,"BITMAP_TYPE_ICO", SWIG_From_int((int)wxBITMAP_TYPE_ICO
));
43333 PyDict_SetItemString(d
,"BITMAP_TYPE_CUR", SWIG_From_int((int)wxBITMAP_TYPE_CUR
));
43334 PyDict_SetItemString(d
,"BITMAP_TYPE_XBM", SWIG_From_int((int)wxBITMAP_TYPE_XBM
));
43335 PyDict_SetItemString(d
,"BITMAP_TYPE_XBM_DATA", SWIG_From_int((int)wxBITMAP_TYPE_XBM_DATA
));
43336 PyDict_SetItemString(d
,"BITMAP_TYPE_XPM", SWIG_From_int((int)wxBITMAP_TYPE_XPM
));
43337 PyDict_SetItemString(d
,"BITMAP_TYPE_XPM_DATA", SWIG_From_int((int)wxBITMAP_TYPE_XPM_DATA
));
43338 PyDict_SetItemString(d
,"BITMAP_TYPE_TIF", SWIG_From_int((int)wxBITMAP_TYPE_TIF
));
43339 PyDict_SetItemString(d
,"BITMAP_TYPE_GIF", SWIG_From_int((int)wxBITMAP_TYPE_GIF
));
43340 PyDict_SetItemString(d
,"BITMAP_TYPE_PNG", SWIG_From_int((int)wxBITMAP_TYPE_PNG
));
43341 PyDict_SetItemString(d
,"BITMAP_TYPE_JPEG", SWIG_From_int((int)wxBITMAP_TYPE_JPEG
));
43342 PyDict_SetItemString(d
,"BITMAP_TYPE_PNM", SWIG_From_int((int)wxBITMAP_TYPE_PNM
));
43343 PyDict_SetItemString(d
,"BITMAP_TYPE_PCX", SWIG_From_int((int)wxBITMAP_TYPE_PCX
));
43344 PyDict_SetItemString(d
,"BITMAP_TYPE_PICT", SWIG_From_int((int)wxBITMAP_TYPE_PICT
));
43345 PyDict_SetItemString(d
,"BITMAP_TYPE_ICON", SWIG_From_int((int)wxBITMAP_TYPE_ICON
));
43346 PyDict_SetItemString(d
,"BITMAP_TYPE_ANI", SWIG_From_int((int)wxBITMAP_TYPE_ANI
));
43347 PyDict_SetItemString(d
,"BITMAP_TYPE_IFF", SWIG_From_int((int)wxBITMAP_TYPE_IFF
));
43348 PyDict_SetItemString(d
,"BITMAP_TYPE_MACCURSOR", SWIG_From_int((int)wxBITMAP_TYPE_MACCURSOR
));
43349 PyDict_SetItemString(d
,"BITMAP_TYPE_ANY", SWIG_From_int((int)wxBITMAP_TYPE_ANY
));
43350 PyDict_SetItemString(d
,"CURSOR_NONE", SWIG_From_int((int)wxCURSOR_NONE
));
43351 PyDict_SetItemString(d
,"CURSOR_ARROW", SWIG_From_int((int)wxCURSOR_ARROW
));
43352 PyDict_SetItemString(d
,"CURSOR_RIGHT_ARROW", SWIG_From_int((int)wxCURSOR_RIGHT_ARROW
));
43353 PyDict_SetItemString(d
,"CURSOR_BULLSEYE", SWIG_From_int((int)wxCURSOR_BULLSEYE
));
43354 PyDict_SetItemString(d
,"CURSOR_CHAR", SWIG_From_int((int)wxCURSOR_CHAR
));
43355 PyDict_SetItemString(d
,"CURSOR_CROSS", SWIG_From_int((int)wxCURSOR_CROSS
));
43356 PyDict_SetItemString(d
,"CURSOR_HAND", SWIG_From_int((int)wxCURSOR_HAND
));
43357 PyDict_SetItemString(d
,"CURSOR_IBEAM", SWIG_From_int((int)wxCURSOR_IBEAM
));
43358 PyDict_SetItemString(d
,"CURSOR_LEFT_BUTTON", SWIG_From_int((int)wxCURSOR_LEFT_BUTTON
));
43359 PyDict_SetItemString(d
,"CURSOR_MAGNIFIER", SWIG_From_int((int)wxCURSOR_MAGNIFIER
));
43360 PyDict_SetItemString(d
,"CURSOR_MIDDLE_BUTTON", SWIG_From_int((int)wxCURSOR_MIDDLE_BUTTON
));
43361 PyDict_SetItemString(d
,"CURSOR_NO_ENTRY", SWIG_From_int((int)wxCURSOR_NO_ENTRY
));
43362 PyDict_SetItemString(d
,"CURSOR_PAINT_BRUSH", SWIG_From_int((int)wxCURSOR_PAINT_BRUSH
));
43363 PyDict_SetItemString(d
,"CURSOR_PENCIL", SWIG_From_int((int)wxCURSOR_PENCIL
));
43364 PyDict_SetItemString(d
,"CURSOR_POINT_LEFT", SWIG_From_int((int)wxCURSOR_POINT_LEFT
));
43365 PyDict_SetItemString(d
,"CURSOR_POINT_RIGHT", SWIG_From_int((int)wxCURSOR_POINT_RIGHT
));
43366 PyDict_SetItemString(d
,"CURSOR_QUESTION_ARROW", SWIG_From_int((int)wxCURSOR_QUESTION_ARROW
));
43367 PyDict_SetItemString(d
,"CURSOR_RIGHT_BUTTON", SWIG_From_int((int)wxCURSOR_RIGHT_BUTTON
));
43368 PyDict_SetItemString(d
,"CURSOR_SIZENESW", SWIG_From_int((int)wxCURSOR_SIZENESW
));
43369 PyDict_SetItemString(d
,"CURSOR_SIZENS", SWIG_From_int((int)wxCURSOR_SIZENS
));
43370 PyDict_SetItemString(d
,"CURSOR_SIZENWSE", SWIG_From_int((int)wxCURSOR_SIZENWSE
));
43371 PyDict_SetItemString(d
,"CURSOR_SIZEWE", SWIG_From_int((int)wxCURSOR_SIZEWE
));
43372 PyDict_SetItemString(d
,"CURSOR_SIZING", SWIG_From_int((int)wxCURSOR_SIZING
));
43373 PyDict_SetItemString(d
,"CURSOR_SPRAYCAN", SWIG_From_int((int)wxCURSOR_SPRAYCAN
));
43374 PyDict_SetItemString(d
,"CURSOR_WAIT", SWIG_From_int((int)wxCURSOR_WAIT
));
43375 PyDict_SetItemString(d
,"CURSOR_WATCH", SWIG_From_int((int)wxCURSOR_WATCH
));
43376 PyDict_SetItemString(d
,"CURSOR_BLANK", SWIG_From_int((int)wxCURSOR_BLANK
));
43377 PyDict_SetItemString(d
,"CURSOR_DEFAULT", SWIG_From_int((int)wxCURSOR_DEFAULT
));
43378 PyDict_SetItemString(d
,"CURSOR_COPY_ARROW", SWIG_From_int((int)wxCURSOR_COPY_ARROW
));
43379 PyDict_SetItemString(d
,"CURSOR_ARROWWAIT", SWIG_From_int((int)wxCURSOR_ARROWWAIT
));
43380 PyDict_SetItemString(d
,"CURSOR_MAX", SWIG_From_int((int)wxCURSOR_MAX
));
43381 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultPosition",_wrap_DefaultPosition_get
, _wrap_DefaultPosition_set
);
43382 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSize",_wrap_DefaultSize_get
, _wrap_DefaultSize_set
);
43383 PyDict_SetItemString(d
,"FromStart", SWIG_From_int((int)wxFromStart
));
43384 PyDict_SetItemString(d
,"FromCurrent", SWIG_From_int((int)wxFromCurrent
));
43385 PyDict_SetItemString(d
,"FromEnd", SWIG_From_int((int)wxFromEnd
));
43387 wxPyPtrTypeMap_Add("wxInputStream", "wxPyInputStream");
43390 wxPyPtrTypeMap_Add("wxFileSystemHandler", "wxPyFileSystemHandler");
43392 SWIG_addvarlink(SWIG_globals
,(char*)"NullImage",_wrap_NullImage_get
, _wrap_NullImage_set
);
43393 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_BMP_FORMAT",_wrap_IMAGE_OPTION_BMP_FORMAT_get
, _wrap_IMAGE_OPTION_BMP_FORMAT_set
);
43394 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_X",_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set
);
43395 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_Y",_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set
);
43396 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTION",_wrap_IMAGE_OPTION_RESOLUTION_get
, _wrap_IMAGE_OPTION_RESOLUTION_set
);
43397 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTIONUNIT",_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get
, _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set
);
43398 PyDict_SetItemString(d
,"IMAGE_RESOLUTION_INCHES", SWIG_From_int((int)wxIMAGE_RESOLUTION_INCHES
));
43399 PyDict_SetItemString(d
,"IMAGE_RESOLUTION_CM", SWIG_From_int((int)wxIMAGE_RESOLUTION_CM
));
43400 PyDict_SetItemString(d
,"BMP_24BPP", SWIG_From_int((int)wxBMP_24BPP
));
43401 PyDict_SetItemString(d
,"BMP_8BPP", SWIG_From_int((int)wxBMP_8BPP
));
43402 PyDict_SetItemString(d
,"BMP_8BPP_GREY", SWIG_From_int((int)wxBMP_8BPP_GREY
));
43403 PyDict_SetItemString(d
,"BMP_8BPP_GRAY", SWIG_From_int((int)wxBMP_8BPP_GRAY
));
43404 PyDict_SetItemString(d
,"BMP_8BPP_RED", SWIG_From_int((int)wxBMP_8BPP_RED
));
43405 PyDict_SetItemString(d
,"BMP_8BPP_PALETTE", SWIG_From_int((int)wxBMP_8BPP_PALETTE
));
43406 PyDict_SetItemString(d
,"BMP_4BPP", SWIG_From_int((int)wxBMP_4BPP
));
43407 PyDict_SetItemString(d
,"BMP_1BPP", SWIG_From_int((int)wxBMP_1BPP
));
43408 PyDict_SetItemString(d
,"BMP_1BPP_BW", SWIG_From_int((int)wxBMP_1BPP_BW
));
43409 PyDict_SetItemString(d
,"QUANTIZE_INCLUDE_WINDOWS_COLOURS", SWIG_From_int((int)wxQUANTIZE_INCLUDE_WINDOWS_COLOURS
));
43410 PyDict_SetItemString(d
,"QUANTIZE_FILL_DESTINATION_IMAGE", SWIG_From_int((int)wxQUANTIZE_FILL_DESTINATION_IMAGE
));
43411 PyDict_SetItemString(d
,"EVENT_PROPAGATE_NONE", SWIG_From_int((int)wxEVENT_PROPAGATE_NONE
));
43412 PyDict_SetItemString(d
,"EVENT_PROPAGATE_MAX", SWIG_From_int((int)wxEVENT_PROPAGATE_MAX
));
43413 PyDict_SetItemString(d
, "wxEVT_NULL", PyInt_FromLong(wxEVT_NULL
));
43414 PyDict_SetItemString(d
, "wxEVT_FIRST", PyInt_FromLong(wxEVT_FIRST
));
43415 PyDict_SetItemString(d
, "wxEVT_USER_FIRST", PyInt_FromLong(wxEVT_USER_FIRST
));
43416 PyDict_SetItemString(d
, "wxEVT_COMMAND_BUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_BUTTON_CLICKED
));
43417 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKBOX_CLICKED", PyInt_FromLong(wxEVT_COMMAND_CHECKBOX_CLICKED
));
43418 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICE_SELECTED", PyInt_FromLong(wxEVT_COMMAND_CHOICE_SELECTED
));
43419 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_SELECTED
));
43420 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_DOUBLECLICKED
));
43421 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKLISTBOX_TOGGLED", PyInt_FromLong(wxEVT_COMMAND_CHECKLISTBOX_TOGGLED
));
43422 PyDict_SetItemString(d
, "wxEVT_COMMAND_MENU_SELECTED", PyInt_FromLong(wxEVT_COMMAND_MENU_SELECTED
));
43423 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_CLICKED
));
43424 PyDict_SetItemString(d
, "wxEVT_COMMAND_SLIDER_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SLIDER_UPDATED
));
43425 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBOX_SELECTED
));
43426 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBUTTON_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBUTTON_SELECTED
));
43427 PyDict_SetItemString(d
, "wxEVT_COMMAND_SCROLLBAR_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SCROLLBAR_UPDATED
));
43428 PyDict_SetItemString(d
, "wxEVT_COMMAND_VLBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_VLBOX_SELECTED
));
43429 PyDict_SetItemString(d
, "wxEVT_COMMAND_COMBOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_COMBOBOX_SELECTED
));
43430 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_RCLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_RCLICKED
));
43431 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_ENTER", PyInt_FromLong(wxEVT_COMMAND_TOOL_ENTER
));
43432 PyDict_SetItemString(d
, "wxEVT_LEFT_DOWN", PyInt_FromLong(wxEVT_LEFT_DOWN
));
43433 PyDict_SetItemString(d
, "wxEVT_LEFT_UP", PyInt_FromLong(wxEVT_LEFT_UP
));
43434 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DOWN", PyInt_FromLong(wxEVT_MIDDLE_DOWN
));
43435 PyDict_SetItemString(d
, "wxEVT_MIDDLE_UP", PyInt_FromLong(wxEVT_MIDDLE_UP
));
43436 PyDict_SetItemString(d
, "wxEVT_RIGHT_DOWN", PyInt_FromLong(wxEVT_RIGHT_DOWN
));
43437 PyDict_SetItemString(d
, "wxEVT_RIGHT_UP", PyInt_FromLong(wxEVT_RIGHT_UP
));
43438 PyDict_SetItemString(d
, "wxEVT_MOTION", PyInt_FromLong(wxEVT_MOTION
));
43439 PyDict_SetItemString(d
, "wxEVT_ENTER_WINDOW", PyInt_FromLong(wxEVT_ENTER_WINDOW
));
43440 PyDict_SetItemString(d
, "wxEVT_LEAVE_WINDOW", PyInt_FromLong(wxEVT_LEAVE_WINDOW
));
43441 PyDict_SetItemString(d
, "wxEVT_LEFT_DCLICK", PyInt_FromLong(wxEVT_LEFT_DCLICK
));
43442 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_MIDDLE_DCLICK
));
43443 PyDict_SetItemString(d
, "wxEVT_RIGHT_DCLICK", PyInt_FromLong(wxEVT_RIGHT_DCLICK
));
43444 PyDict_SetItemString(d
, "wxEVT_SET_FOCUS", PyInt_FromLong(wxEVT_SET_FOCUS
));
43445 PyDict_SetItemString(d
, "wxEVT_KILL_FOCUS", PyInt_FromLong(wxEVT_KILL_FOCUS
));
43446 PyDict_SetItemString(d
, "wxEVT_CHILD_FOCUS", PyInt_FromLong(wxEVT_CHILD_FOCUS
));
43447 PyDict_SetItemString(d
, "wxEVT_MOUSEWHEEL", PyInt_FromLong(wxEVT_MOUSEWHEEL
));
43448 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DOWN", PyInt_FromLong(wxEVT_NC_LEFT_DOWN
));
43449 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_UP", PyInt_FromLong(wxEVT_NC_LEFT_UP
));
43450 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DOWN", PyInt_FromLong(wxEVT_NC_MIDDLE_DOWN
));
43451 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_UP", PyInt_FromLong(wxEVT_NC_MIDDLE_UP
));
43452 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DOWN", PyInt_FromLong(wxEVT_NC_RIGHT_DOWN
));
43453 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_UP", PyInt_FromLong(wxEVT_NC_RIGHT_UP
));
43454 PyDict_SetItemString(d
, "wxEVT_NC_MOTION", PyInt_FromLong(wxEVT_NC_MOTION
));
43455 PyDict_SetItemString(d
, "wxEVT_NC_ENTER_WINDOW", PyInt_FromLong(wxEVT_NC_ENTER_WINDOW
));
43456 PyDict_SetItemString(d
, "wxEVT_NC_LEAVE_WINDOW", PyInt_FromLong(wxEVT_NC_LEAVE_WINDOW
));
43457 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DCLICK", PyInt_FromLong(wxEVT_NC_LEFT_DCLICK
));
43458 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_NC_MIDDLE_DCLICK
));
43459 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DCLICK", PyInt_FromLong(wxEVT_NC_RIGHT_DCLICK
));
43460 PyDict_SetItemString(d
, "wxEVT_CHAR", PyInt_FromLong(wxEVT_CHAR
));
43461 PyDict_SetItemString(d
, "wxEVT_CHAR_HOOK", PyInt_FromLong(wxEVT_CHAR_HOOK
));
43462 PyDict_SetItemString(d
, "wxEVT_NAVIGATION_KEY", PyInt_FromLong(wxEVT_NAVIGATION_KEY
));
43463 PyDict_SetItemString(d
, "wxEVT_KEY_DOWN", PyInt_FromLong(wxEVT_KEY_DOWN
));
43464 PyDict_SetItemString(d
, "wxEVT_KEY_UP", PyInt_FromLong(wxEVT_KEY_UP
));
43465 PyDict_SetItemString(d
, "wxEVT_HOTKEY", PyInt_FromLong(wxEVT_HOTKEY
));
43466 PyDict_SetItemString(d
, "wxEVT_SET_CURSOR", PyInt_FromLong(wxEVT_SET_CURSOR
));
43467 PyDict_SetItemString(d
, "wxEVT_SCROLL_TOP", PyInt_FromLong(wxEVT_SCROLL_TOP
));
43468 PyDict_SetItemString(d
, "wxEVT_SCROLL_BOTTOM", PyInt_FromLong(wxEVT_SCROLL_BOTTOM
));
43469 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEUP", PyInt_FromLong(wxEVT_SCROLL_LINEUP
));
43470 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEDOWN", PyInt_FromLong(wxEVT_SCROLL_LINEDOWN
));
43471 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEUP", PyInt_FromLong(wxEVT_SCROLL_PAGEUP
));
43472 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLL_PAGEDOWN
));
43473 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLL_THUMBTRACK
));
43474 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLL_THUMBRELEASE
));
43475 PyDict_SetItemString(d
, "wxEVT_SCROLL_ENDSCROLL", PyInt_FromLong(wxEVT_SCROLL_ENDSCROLL
));
43476 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_TOP", PyInt_FromLong(wxEVT_SCROLLWIN_TOP
));
43477 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_BOTTOM", PyInt_FromLong(wxEVT_SCROLLWIN_BOTTOM
));
43478 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEUP", PyInt_FromLong(wxEVT_SCROLLWIN_LINEUP
));
43479 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_LINEDOWN
));
43480 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEUP", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEUP
));
43481 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEDOWN
));
43482 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBTRACK
));
43483 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBRELEASE
));
43484 PyDict_SetItemString(d
, "wxEVT_SIZE", PyInt_FromLong(wxEVT_SIZE
));
43485 PyDict_SetItemString(d
, "wxEVT_MOVE", PyInt_FromLong(wxEVT_MOVE
));
43486 PyDict_SetItemString(d
, "wxEVT_CLOSE_WINDOW", PyInt_FromLong(wxEVT_CLOSE_WINDOW
));
43487 PyDict_SetItemString(d
, "wxEVT_END_SESSION", PyInt_FromLong(wxEVT_END_SESSION
));
43488 PyDict_SetItemString(d
, "wxEVT_QUERY_END_SESSION", PyInt_FromLong(wxEVT_QUERY_END_SESSION
));
43489 PyDict_SetItemString(d
, "wxEVT_ACTIVATE_APP", PyInt_FromLong(wxEVT_ACTIVATE_APP
));
43490 PyDict_SetItemString(d
, "wxEVT_POWER", PyInt_FromLong(wxEVT_POWER
));
43491 PyDict_SetItemString(d
, "wxEVT_ACTIVATE", PyInt_FromLong(wxEVT_ACTIVATE
));
43492 PyDict_SetItemString(d
, "wxEVT_CREATE", PyInt_FromLong(wxEVT_CREATE
));
43493 PyDict_SetItemString(d
, "wxEVT_DESTROY", PyInt_FromLong(wxEVT_DESTROY
));
43494 PyDict_SetItemString(d
, "wxEVT_SHOW", PyInt_FromLong(wxEVT_SHOW
));
43495 PyDict_SetItemString(d
, "wxEVT_ICONIZE", PyInt_FromLong(wxEVT_ICONIZE
));
43496 PyDict_SetItemString(d
, "wxEVT_MAXIMIZE", PyInt_FromLong(wxEVT_MAXIMIZE
));
43497 PyDict_SetItemString(d
, "wxEVT_MOUSE_CAPTURE_CHANGED", PyInt_FromLong(wxEVT_MOUSE_CAPTURE_CHANGED
));
43498 PyDict_SetItemString(d
, "wxEVT_PAINT", PyInt_FromLong(wxEVT_PAINT
));
43499 PyDict_SetItemString(d
, "wxEVT_ERASE_BACKGROUND", PyInt_FromLong(wxEVT_ERASE_BACKGROUND
));
43500 PyDict_SetItemString(d
, "wxEVT_NC_PAINT", PyInt_FromLong(wxEVT_NC_PAINT
));
43501 PyDict_SetItemString(d
, "wxEVT_PAINT_ICON", PyInt_FromLong(wxEVT_PAINT_ICON
));
43502 PyDict_SetItemString(d
, "wxEVT_MENU_OPEN", PyInt_FromLong(wxEVT_MENU_OPEN
));
43503 PyDict_SetItemString(d
, "wxEVT_MENU_CLOSE", PyInt_FromLong(wxEVT_MENU_CLOSE
));
43504 PyDict_SetItemString(d
, "wxEVT_MENU_HIGHLIGHT", PyInt_FromLong(wxEVT_MENU_HIGHLIGHT
));
43505 PyDict_SetItemString(d
, "wxEVT_CONTEXT_MENU", PyInt_FromLong(wxEVT_CONTEXT_MENU
));
43506 PyDict_SetItemString(d
, "wxEVT_SYS_COLOUR_CHANGED", PyInt_FromLong(wxEVT_SYS_COLOUR_CHANGED
));
43507 PyDict_SetItemString(d
, "wxEVT_DISPLAY_CHANGED", PyInt_FromLong(wxEVT_DISPLAY_CHANGED
));
43508 PyDict_SetItemString(d
, "wxEVT_SETTING_CHANGED", PyInt_FromLong(wxEVT_SETTING_CHANGED
));
43509 PyDict_SetItemString(d
, "wxEVT_QUERY_NEW_PALETTE", PyInt_FromLong(wxEVT_QUERY_NEW_PALETTE
));
43510 PyDict_SetItemString(d
, "wxEVT_PALETTE_CHANGED", PyInt_FromLong(wxEVT_PALETTE_CHANGED
));
43511 PyDict_SetItemString(d
, "wxEVT_DROP_FILES", PyInt_FromLong(wxEVT_DROP_FILES
));
43512 PyDict_SetItemString(d
, "wxEVT_DRAW_ITEM", PyInt_FromLong(wxEVT_DRAW_ITEM
));
43513 PyDict_SetItemString(d
, "wxEVT_MEASURE_ITEM", PyInt_FromLong(wxEVT_MEASURE_ITEM
));
43514 PyDict_SetItemString(d
, "wxEVT_COMPARE_ITEM", PyInt_FromLong(wxEVT_COMPARE_ITEM
));
43515 PyDict_SetItemString(d
, "wxEVT_INIT_DIALOG", PyInt_FromLong(wxEVT_INIT_DIALOG
));
43516 PyDict_SetItemString(d
, "wxEVT_IDLE", PyInt_FromLong(wxEVT_IDLE
));
43517 PyDict_SetItemString(d
, "wxEVT_UPDATE_UI", PyInt_FromLong(wxEVT_UPDATE_UI
));
43518 PyDict_SetItemString(d
, "wxEVT_SIZING", PyInt_FromLong(wxEVT_SIZING
));
43519 PyDict_SetItemString(d
, "wxEVT_MOVING", PyInt_FromLong(wxEVT_MOVING
));
43520 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_CLICK
));
43521 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_DCLICK
));
43522 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_CLICK
));
43523 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_DCLICK
));
43524 PyDict_SetItemString(d
, "wxEVT_COMMAND_SET_FOCUS", PyInt_FromLong(wxEVT_COMMAND_SET_FOCUS
));
43525 PyDict_SetItemString(d
, "wxEVT_COMMAND_KILL_FOCUS", PyInt_FromLong(wxEVT_COMMAND_KILL_FOCUS
));
43526 PyDict_SetItemString(d
, "wxEVT_COMMAND_ENTER", PyInt_FromLong(wxEVT_COMMAND_ENTER
));
43527 PyDict_SetItemString(d
,"MOUSE_BTN_ANY", SWIG_From_int((int)wxMOUSE_BTN_ANY
));
43528 PyDict_SetItemString(d
,"MOUSE_BTN_NONE", SWIG_From_int((int)wxMOUSE_BTN_NONE
));
43529 PyDict_SetItemString(d
,"MOUSE_BTN_LEFT", SWIG_From_int((int)wxMOUSE_BTN_LEFT
));
43530 PyDict_SetItemString(d
,"MOUSE_BTN_MIDDLE", SWIG_From_int((int)wxMOUSE_BTN_MIDDLE
));
43531 PyDict_SetItemString(d
,"MOUSE_BTN_RIGHT", SWIG_From_int((int)wxMOUSE_BTN_RIGHT
));
43532 PyDict_SetItemString(d
,"UPDATE_UI_PROCESS_ALL", SWIG_From_int((int)wxUPDATE_UI_PROCESS_ALL
));
43533 PyDict_SetItemString(d
,"UPDATE_UI_PROCESS_SPECIFIED", SWIG_From_int((int)wxUPDATE_UI_PROCESS_SPECIFIED
));
43534 PyDict_SetItemString(d
,"NavigationKeyEvent_IsBackward", SWIG_From_int((int)wxNavigationKeyEvent::IsBackward
));
43535 PyDict_SetItemString(d
,"NavigationKeyEvent_IsForward", SWIG_From_int((int)wxNavigationKeyEvent::IsForward
));
43536 PyDict_SetItemString(d
,"NavigationKeyEvent_WinChange", SWIG_From_int((int)wxNavigationKeyEvent::WinChange
));
43537 PyDict_SetItemString(d
,"IDLE_PROCESS_ALL", SWIG_From_int((int)wxIDLE_PROCESS_ALL
));
43538 PyDict_SetItemString(d
,"IDLE_PROCESS_SPECIFIED", SWIG_From_int((int)wxIDLE_PROCESS_SPECIFIED
));
43539 PyDict_SetItemString(d
,"PYAPP_ASSERT_SUPPRESS", SWIG_From_int((int)wxPYAPP_ASSERT_SUPPRESS
));
43540 PyDict_SetItemString(d
,"PYAPP_ASSERT_EXCEPTION", SWIG_From_int((int)wxPYAPP_ASSERT_EXCEPTION
));
43541 PyDict_SetItemString(d
,"PYAPP_ASSERT_DIALOG", SWIG_From_int((int)wxPYAPP_ASSERT_DIALOG
));
43542 PyDict_SetItemString(d
,"PYAPP_ASSERT_LOG", SWIG_From_int((int)wxPYAPP_ASSERT_LOG
));
43543 PyDict_SetItemString(d
,"PRINT_WINDOWS", SWIG_From_int((int)wxPRINT_WINDOWS
));
43544 PyDict_SetItemString(d
,"PRINT_POSTSCRIPT", SWIG_From_int((int)wxPRINT_POSTSCRIPT
));
43545 SWIG_addvarlink(SWIG_globals
,(char*)"NullAcceleratorTable",_wrap_NullAcceleratorTable_get
, _wrap_NullAcceleratorTable_set
);
43546 SWIG_addvarlink(SWIG_globals
,(char*)"PanelNameStr",_wrap_PanelNameStr_get
, _wrap_PanelNameStr_set
);
43547 PyDict_SetItemString(d
,"WINDOW_VARIANT_NORMAL", SWIG_From_int((int)wxWINDOW_VARIANT_NORMAL
));
43548 PyDict_SetItemString(d
,"WINDOW_VARIANT_SMALL", SWIG_From_int((int)wxWINDOW_VARIANT_SMALL
));
43549 PyDict_SetItemString(d
,"WINDOW_VARIANT_MINI", SWIG_From_int((int)wxWINDOW_VARIANT_MINI
));
43550 PyDict_SetItemString(d
,"WINDOW_VARIANT_LARGE", SWIG_From_int((int)wxWINDOW_VARIANT_LARGE
));
43551 PyDict_SetItemString(d
,"WINDOW_VARIANT_MAX", SWIG_From_int((int)wxWINDOW_VARIANT_MAX
));
43552 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultValidator",_wrap_DefaultValidator_get
, _wrap_DefaultValidator_set
);
43553 SWIG_addvarlink(SWIG_globals
,(char*)"ControlNameStr",_wrap_ControlNameStr_get
, _wrap_ControlNameStr_set
);
43554 PyDict_SetItemString(d
,"FLEX_GROWMODE_NONE", SWIG_From_int((int)wxFLEX_GROWMODE_NONE
));
43555 PyDict_SetItemString(d
,"FLEX_GROWMODE_SPECIFIED", SWIG_From_int((int)wxFLEX_GROWMODE_SPECIFIED
));
43556 PyDict_SetItemString(d
,"FLEX_GROWMODE_ALL", SWIG_From_int((int)wxFLEX_GROWMODE_ALL
));
43557 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSpan",_wrap_DefaultSpan_get
, _wrap_DefaultSpan_set
);
43558 PyDict_SetItemString(d
,"Left", SWIG_From_int((int)wxLeft
));
43559 PyDict_SetItemString(d
,"Top", SWIG_From_int((int)wxTop
));
43560 PyDict_SetItemString(d
,"Right", SWIG_From_int((int)wxRight
));
43561 PyDict_SetItemString(d
,"Bottom", SWIG_From_int((int)wxBottom
));
43562 PyDict_SetItemString(d
,"Width", SWIG_From_int((int)wxWidth
));
43563 PyDict_SetItemString(d
,"Height", SWIG_From_int((int)wxHeight
));
43564 PyDict_SetItemString(d
,"Centre", SWIG_From_int((int)wxCentre
));
43565 PyDict_SetItemString(d
,"Center", SWIG_From_int((int)wxCenter
));
43566 PyDict_SetItemString(d
,"CentreX", SWIG_From_int((int)wxCentreX
));
43567 PyDict_SetItemString(d
,"CentreY", SWIG_From_int((int)wxCentreY
));
43568 PyDict_SetItemString(d
,"Unconstrained", SWIG_From_int((int)wxUnconstrained
));
43569 PyDict_SetItemString(d
,"AsIs", SWIG_From_int((int)wxAsIs
));
43570 PyDict_SetItemString(d
,"PercentOf", SWIG_From_int((int)wxPercentOf
));
43571 PyDict_SetItemString(d
,"Above", SWIG_From_int((int)wxAbove
));
43572 PyDict_SetItemString(d
,"Below", SWIG_From_int((int)wxBelow
));
43573 PyDict_SetItemString(d
,"LeftOf", SWIG_From_int((int)wxLeftOf
));
43574 PyDict_SetItemString(d
,"RightOf", SWIG_From_int((int)wxRightOf
));
43575 PyDict_SetItemString(d
,"SameAs", SWIG_From_int((int)wxSameAs
));
43576 PyDict_SetItemString(d
,"Absolute", SWIG_From_int((int)wxAbsolute
));
43578 // Initialize threading, some globals and such
43582 // Although these are defined in __version__ they need to be here too so
43583 // that an assert can be done to ensure that the wxPython and the wxWindows
43585 PyDict_SetItemString(d
,"MAJOR_VERSION", PyInt_FromLong((long)wxMAJOR_VERSION
));
43586 PyDict_SetItemString(d
,"MINOR_VERSION", PyInt_FromLong((long)wxMINOR_VERSION
));
43587 PyDict_SetItemString(d
,"RELEASE_VERSION", PyInt_FromLong((long)wxRELEASE_NUMBER
));