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
,int depth
){
1371 wxBitmap
bitmap(*self
, depth
);
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 ;
11488 int arg2
= (int) -1 ;
11490 PyObject
* obj0
= 0 ;
11491 PyObject
* obj1
= 0 ;
11492 char *kwnames
[] = {
11493 (char *) "self",(char *) "depth", NULL
11496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_ConvertToBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
11497 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11498 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11500 arg2
= (int)SWIG_As_int(obj1
);
11501 if (PyErr_Occurred()) SWIG_fail
;
11504 if (!wxPyCheckForApp()) SWIG_fail
;
11505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11506 result
= wxImage_ConvertToBitmap(arg1
,arg2
);
11508 wxPyEndAllowThreads(__tstate
);
11509 if (PyErr_Occurred()) SWIG_fail
;
11512 wxBitmap
* resultptr
;
11513 resultptr
= new wxBitmap((wxBitmap
&) result
);
11514 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
11522 static PyObject
*_wrap_Image_ConvertToMonoBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11523 PyObject
*resultobj
;
11524 wxImage
*arg1
= (wxImage
*) 0 ;
11525 unsigned char arg2
;
11526 unsigned char arg3
;
11527 unsigned char arg4
;
11529 PyObject
* obj0
= 0 ;
11530 PyObject
* obj1
= 0 ;
11531 PyObject
* obj2
= 0 ;
11532 PyObject
* obj3
= 0 ;
11533 char *kwnames
[] = {
11534 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
11537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMonoBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11538 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11539 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11540 arg2
= (unsigned char)SWIG_As_unsigned_SS_char(obj1
);
11541 if (PyErr_Occurred()) SWIG_fail
;
11542 arg3
= (unsigned char)SWIG_As_unsigned_SS_char(obj2
);
11543 if (PyErr_Occurred()) SWIG_fail
;
11544 arg4
= (unsigned char)SWIG_As_unsigned_SS_char(obj3
);
11545 if (PyErr_Occurred()) SWIG_fail
;
11547 if (!wxPyCheckForApp()) SWIG_fail
;
11548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11549 result
= wxImage_ConvertToMonoBitmap(arg1
,arg2
,arg3
,arg4
);
11551 wxPyEndAllowThreads(__tstate
);
11552 if (PyErr_Occurred()) SWIG_fail
;
11555 wxBitmap
* resultptr
;
11556 resultptr
= new wxBitmap((wxBitmap
&) result
);
11557 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
11565 static PyObject
* Image_swigregister(PyObject
*, PyObject
*args
) {
11567 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11568 SWIG_TypeClientData(SWIGTYPE_p_wxImage
, obj
);
11570 return Py_BuildValue((char *)"");
11572 static int _wrap_NullImage_set(PyObject
*) {
11573 PyErr_SetString(PyExc_TypeError
,"Variable NullImage is read-only.");
11578 static PyObject
*_wrap_NullImage_get() {
11581 pyobj
= SWIG_NewPointerObj((void *)(&wxNullImage
), SWIGTYPE_p_wxImage
, 0);
11586 static int _wrap_IMAGE_OPTION_BMP_FORMAT_set(PyObject
*) {
11587 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_BMP_FORMAT is read-only.");
11592 static PyObject
*_wrap_IMAGE_OPTION_BMP_FORMAT_get() {
11597 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
11599 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
11606 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set(PyObject
*) {
11607 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_X is read-only.");
11612 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get() {
11617 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
11619 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
11626 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set(PyObject
*) {
11627 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_Y is read-only.");
11632 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get() {
11637 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
11639 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
11646 static int _wrap_IMAGE_OPTION_RESOLUTION_set(PyObject
*) {
11647 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTION is read-only.");
11652 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTION_get() {
11657 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
11659 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
11666 static int _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set(PyObject
*) {
11667 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTIONUNIT is read-only.");
11672 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get() {
11677 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
11679 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
11686 static PyObject
*_wrap_new_BMPHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11687 PyObject
*resultobj
;
11688 wxBMPHandler
*result
;
11689 char *kwnames
[] = {
11693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_BMPHandler",kwnames
)) goto fail
;
11695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11696 result
= (wxBMPHandler
*)new wxBMPHandler();
11698 wxPyEndAllowThreads(__tstate
);
11699 if (PyErr_Occurred()) SWIG_fail
;
11701 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBMPHandler
, 1);
11708 static PyObject
* BMPHandler_swigregister(PyObject
*, PyObject
*args
) {
11710 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11711 SWIG_TypeClientData(SWIGTYPE_p_wxBMPHandler
, obj
);
11713 return Py_BuildValue((char *)"");
11715 static PyObject
*_wrap_new_ICOHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11716 PyObject
*resultobj
;
11717 wxICOHandler
*result
;
11718 char *kwnames
[] = {
11722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ICOHandler",kwnames
)) goto fail
;
11724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11725 result
= (wxICOHandler
*)new wxICOHandler();
11727 wxPyEndAllowThreads(__tstate
);
11728 if (PyErr_Occurred()) SWIG_fail
;
11730 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxICOHandler
, 1);
11737 static PyObject
* ICOHandler_swigregister(PyObject
*, PyObject
*args
) {
11739 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11740 SWIG_TypeClientData(SWIGTYPE_p_wxICOHandler
, obj
);
11742 return Py_BuildValue((char *)"");
11744 static PyObject
*_wrap_new_CURHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11745 PyObject
*resultobj
;
11746 wxCURHandler
*result
;
11747 char *kwnames
[] = {
11751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_CURHandler",kwnames
)) goto fail
;
11753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11754 result
= (wxCURHandler
*)new wxCURHandler();
11756 wxPyEndAllowThreads(__tstate
);
11757 if (PyErr_Occurred()) SWIG_fail
;
11759 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCURHandler
, 1);
11766 static PyObject
* CURHandler_swigregister(PyObject
*, PyObject
*args
) {
11768 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11769 SWIG_TypeClientData(SWIGTYPE_p_wxCURHandler
, obj
);
11771 return Py_BuildValue((char *)"");
11773 static PyObject
*_wrap_new_ANIHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11774 PyObject
*resultobj
;
11775 wxANIHandler
*result
;
11776 char *kwnames
[] = {
11780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ANIHandler",kwnames
)) goto fail
;
11782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11783 result
= (wxANIHandler
*)new wxANIHandler();
11785 wxPyEndAllowThreads(__tstate
);
11786 if (PyErr_Occurred()) SWIG_fail
;
11788 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxANIHandler
, 1);
11795 static PyObject
* ANIHandler_swigregister(PyObject
*, PyObject
*args
) {
11797 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11798 SWIG_TypeClientData(SWIGTYPE_p_wxANIHandler
, obj
);
11800 return Py_BuildValue((char *)"");
11802 static PyObject
*_wrap_new_PNGHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11803 PyObject
*resultobj
;
11804 wxPNGHandler
*result
;
11805 char *kwnames
[] = {
11809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNGHandler",kwnames
)) goto fail
;
11811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11812 result
= (wxPNGHandler
*)new wxPNGHandler();
11814 wxPyEndAllowThreads(__tstate
);
11815 if (PyErr_Occurred()) SWIG_fail
;
11817 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPNGHandler
, 1);
11824 static PyObject
* PNGHandler_swigregister(PyObject
*, PyObject
*args
) {
11826 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11827 SWIG_TypeClientData(SWIGTYPE_p_wxPNGHandler
, obj
);
11829 return Py_BuildValue((char *)"");
11831 static PyObject
*_wrap_new_GIFHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11832 PyObject
*resultobj
;
11833 wxGIFHandler
*result
;
11834 char *kwnames
[] = {
11838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GIFHandler",kwnames
)) goto fail
;
11840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11841 result
= (wxGIFHandler
*)new wxGIFHandler();
11843 wxPyEndAllowThreads(__tstate
);
11844 if (PyErr_Occurred()) SWIG_fail
;
11846 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGIFHandler
, 1);
11853 static PyObject
* GIFHandler_swigregister(PyObject
*, PyObject
*args
) {
11855 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11856 SWIG_TypeClientData(SWIGTYPE_p_wxGIFHandler
, obj
);
11858 return Py_BuildValue((char *)"");
11860 static PyObject
*_wrap_new_PCXHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11861 PyObject
*resultobj
;
11862 wxPCXHandler
*result
;
11863 char *kwnames
[] = {
11867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PCXHandler",kwnames
)) goto fail
;
11869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11870 result
= (wxPCXHandler
*)new wxPCXHandler();
11872 wxPyEndAllowThreads(__tstate
);
11873 if (PyErr_Occurred()) SWIG_fail
;
11875 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPCXHandler
, 1);
11882 static PyObject
* PCXHandler_swigregister(PyObject
*, PyObject
*args
) {
11884 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11885 SWIG_TypeClientData(SWIGTYPE_p_wxPCXHandler
, obj
);
11887 return Py_BuildValue((char *)"");
11889 static PyObject
*_wrap_new_JPEGHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11890 PyObject
*resultobj
;
11891 wxJPEGHandler
*result
;
11892 char *kwnames
[] = {
11896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_JPEGHandler",kwnames
)) goto fail
;
11898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11899 result
= (wxJPEGHandler
*)new wxJPEGHandler();
11901 wxPyEndAllowThreads(__tstate
);
11902 if (PyErr_Occurred()) SWIG_fail
;
11904 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJPEGHandler
, 1);
11911 static PyObject
* JPEGHandler_swigregister(PyObject
*, PyObject
*args
) {
11913 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11914 SWIG_TypeClientData(SWIGTYPE_p_wxJPEGHandler
, obj
);
11916 return Py_BuildValue((char *)"");
11918 static PyObject
*_wrap_new_PNMHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11919 PyObject
*resultobj
;
11920 wxPNMHandler
*result
;
11921 char *kwnames
[] = {
11925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNMHandler",kwnames
)) goto fail
;
11927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11928 result
= (wxPNMHandler
*)new wxPNMHandler();
11930 wxPyEndAllowThreads(__tstate
);
11931 if (PyErr_Occurred()) SWIG_fail
;
11933 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPNMHandler
, 1);
11940 static PyObject
* PNMHandler_swigregister(PyObject
*, PyObject
*args
) {
11942 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11943 SWIG_TypeClientData(SWIGTYPE_p_wxPNMHandler
, obj
);
11945 return Py_BuildValue((char *)"");
11947 static PyObject
*_wrap_new_XPMHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11948 PyObject
*resultobj
;
11949 wxXPMHandler
*result
;
11950 char *kwnames
[] = {
11954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_XPMHandler",kwnames
)) goto fail
;
11956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11957 result
= (wxXPMHandler
*)new wxXPMHandler();
11959 wxPyEndAllowThreads(__tstate
);
11960 if (PyErr_Occurred()) SWIG_fail
;
11962 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxXPMHandler
, 1);
11969 static PyObject
* XPMHandler_swigregister(PyObject
*, PyObject
*args
) {
11971 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11972 SWIG_TypeClientData(SWIGTYPE_p_wxXPMHandler
, obj
);
11974 return Py_BuildValue((char *)"");
11976 static PyObject
*_wrap_new_TIFFHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11977 PyObject
*resultobj
;
11978 wxTIFFHandler
*result
;
11979 char *kwnames
[] = {
11983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TIFFHandler",kwnames
)) goto fail
;
11985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11986 result
= (wxTIFFHandler
*)new wxTIFFHandler();
11988 wxPyEndAllowThreads(__tstate
);
11989 if (PyErr_Occurred()) SWIG_fail
;
11991 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTIFFHandler
, 1);
11998 static PyObject
* TIFFHandler_swigregister(PyObject
*, PyObject
*args
) {
12000 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12001 SWIG_TypeClientData(SWIGTYPE_p_wxTIFFHandler
, obj
);
12003 return Py_BuildValue((char *)"");
12005 static PyObject
*_wrap_Quantize_Quantize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12006 PyObject
*resultobj
;
12007 wxImage
*arg1
= 0 ;
12008 wxImage
*arg2
= 0 ;
12009 int arg3
= (int) 236 ;
12010 int arg4
= (int) wxQUANTIZE_INCLUDE_WINDOWS_COLOURS
|wxQUANTIZE_FILL_DESTINATION_IMAGE
;
12012 PyObject
* obj0
= 0 ;
12013 PyObject
* obj1
= 0 ;
12014 PyObject
* obj2
= 0 ;
12015 PyObject
* obj3
= 0 ;
12016 char *kwnames
[] = {
12017 (char *) "src",(char *) "dest",(char *) "desiredNoColours",(char *) "flags", NULL
12020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Quantize_Quantize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12021 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
12022 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12024 if (arg1
== NULL
) {
12025 PyErr_SetString(PyExc_TypeError
,"null reference");
12028 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImage
,
12029 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12031 if (arg2
== NULL
) {
12032 PyErr_SetString(PyExc_TypeError
,"null reference");
12036 arg3
= (int)SWIG_As_int(obj2
);
12037 if (PyErr_Occurred()) SWIG_fail
;
12040 arg4
= (int)SWIG_As_int(obj3
);
12041 if (PyErr_Occurred()) SWIG_fail
;
12044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12045 result
= (bool)Quantize_Quantize((wxImage
const &)*arg1
,*arg2
,arg3
,arg4
);
12047 wxPyEndAllowThreads(__tstate
);
12048 if (PyErr_Occurred()) SWIG_fail
;
12051 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12059 static PyObject
* Quantize_swigregister(PyObject
*, PyObject
*args
) {
12061 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12062 SWIG_TypeClientData(SWIGTYPE_p_wxQuantize
, obj
);
12064 return Py_BuildValue((char *)"");
12066 static PyObject
*_wrap_new_EvtHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12067 PyObject
*resultobj
;
12068 wxEvtHandler
*result
;
12069 char *kwnames
[] = {
12073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EvtHandler",kwnames
)) goto fail
;
12075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12076 result
= (wxEvtHandler
*)new wxEvtHandler();
12078 wxPyEndAllowThreads(__tstate
);
12079 if (PyErr_Occurred()) SWIG_fail
;
12081 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvtHandler
, 1);
12088 static PyObject
*_wrap_EvtHandler_GetNextHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12089 PyObject
*resultobj
;
12090 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12091 wxEvtHandler
*result
;
12092 PyObject
* obj0
= 0 ;
12093 char *kwnames
[] = {
12094 (char *) "self", NULL
12097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetNextHandler",kwnames
,&obj0
)) goto fail
;
12098 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12102 result
= (wxEvtHandler
*)(arg1
)->GetNextHandler();
12104 wxPyEndAllowThreads(__tstate
);
12105 if (PyErr_Occurred()) SWIG_fail
;
12108 resultobj
= wxPyMake_wxObject(result
, 0);
12116 static PyObject
*_wrap_EvtHandler_GetPreviousHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12117 PyObject
*resultobj
;
12118 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12119 wxEvtHandler
*result
;
12120 PyObject
* obj0
= 0 ;
12121 char *kwnames
[] = {
12122 (char *) "self", NULL
12125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetPreviousHandler",kwnames
,&obj0
)) goto fail
;
12126 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12127 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12130 result
= (wxEvtHandler
*)(arg1
)->GetPreviousHandler();
12132 wxPyEndAllowThreads(__tstate
);
12133 if (PyErr_Occurred()) SWIG_fail
;
12136 resultobj
= wxPyMake_wxObject(result
, 0);
12144 static PyObject
*_wrap_EvtHandler_SetNextHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12145 PyObject
*resultobj
;
12146 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12147 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
12148 PyObject
* obj0
= 0 ;
12149 PyObject
* obj1
= 0 ;
12150 char *kwnames
[] = {
12151 (char *) "self",(char *) "handler", NULL
12154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetNextHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
12155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12157 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
12158 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12161 (arg1
)->SetNextHandler(arg2
);
12163 wxPyEndAllowThreads(__tstate
);
12164 if (PyErr_Occurred()) SWIG_fail
;
12166 Py_INCREF(Py_None
); resultobj
= Py_None
;
12173 static PyObject
*_wrap_EvtHandler_SetPreviousHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12174 PyObject
*resultobj
;
12175 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12176 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
12177 PyObject
* obj0
= 0 ;
12178 PyObject
* obj1
= 0 ;
12179 char *kwnames
[] = {
12180 (char *) "self",(char *) "handler", NULL
12183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetPreviousHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
12184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12186 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
12187 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12190 (arg1
)->SetPreviousHandler(arg2
);
12192 wxPyEndAllowThreads(__tstate
);
12193 if (PyErr_Occurred()) SWIG_fail
;
12195 Py_INCREF(Py_None
); resultobj
= Py_None
;
12202 static PyObject
*_wrap_EvtHandler_GetEvtHandlerEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12203 PyObject
*resultobj
;
12204 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12206 PyObject
* obj0
= 0 ;
12207 char *kwnames
[] = {
12208 (char *) "self", NULL
12211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetEvtHandlerEnabled",kwnames
,&obj0
)) goto fail
;
12212 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12213 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12216 result
= (bool)(arg1
)->GetEvtHandlerEnabled();
12218 wxPyEndAllowThreads(__tstate
);
12219 if (PyErr_Occurred()) SWIG_fail
;
12222 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12230 static PyObject
*_wrap_EvtHandler_SetEvtHandlerEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12231 PyObject
*resultobj
;
12232 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12234 PyObject
* obj0
= 0 ;
12235 PyObject
* obj1
= 0 ;
12236 char *kwnames
[] = {
12237 (char *) "self",(char *) "enabled", NULL
12240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetEvtHandlerEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
12241 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12242 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12243 arg2
= (bool)SWIG_As_bool(obj1
);
12244 if (PyErr_Occurred()) SWIG_fail
;
12246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12247 (arg1
)->SetEvtHandlerEnabled(arg2
);
12249 wxPyEndAllowThreads(__tstate
);
12250 if (PyErr_Occurred()) SWIG_fail
;
12252 Py_INCREF(Py_None
); resultobj
= Py_None
;
12259 static PyObject
*_wrap_EvtHandler_ProcessEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12260 PyObject
*resultobj
;
12261 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12262 wxEvent
*arg2
= 0 ;
12264 PyObject
* obj0
= 0 ;
12265 PyObject
* obj1
= 0 ;
12266 char *kwnames
[] = {
12267 (char *) "self",(char *) "event", NULL
12270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_ProcessEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
12271 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12272 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12273 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvent
,
12274 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12276 if (arg2
== NULL
) {
12277 PyErr_SetString(PyExc_TypeError
,"null reference");
12281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12282 result
= (bool)(arg1
)->ProcessEvent(*arg2
);
12284 wxPyEndAllowThreads(__tstate
);
12285 if (PyErr_Occurred()) SWIG_fail
;
12288 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12296 static PyObject
*_wrap_EvtHandler_AddPendingEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12297 PyObject
*resultobj
;
12298 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12299 wxEvent
*arg2
= 0 ;
12300 PyObject
* obj0
= 0 ;
12301 PyObject
* obj1
= 0 ;
12302 char *kwnames
[] = {
12303 (char *) "self",(char *) "event", NULL
12306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_AddPendingEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
12307 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12308 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12309 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvent
,
12310 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12312 if (arg2
== NULL
) {
12313 PyErr_SetString(PyExc_TypeError
,"null reference");
12317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12318 (arg1
)->AddPendingEvent(*arg2
);
12320 wxPyEndAllowThreads(__tstate
);
12321 if (PyErr_Occurred()) SWIG_fail
;
12323 Py_INCREF(Py_None
); resultobj
= Py_None
;
12330 static PyObject
*_wrap_EvtHandler_ProcessPendingEvents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12331 PyObject
*resultobj
;
12332 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12333 PyObject
* obj0
= 0 ;
12334 char *kwnames
[] = {
12335 (char *) "self", NULL
12338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
12339 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12343 (arg1
)->ProcessPendingEvents();
12345 wxPyEndAllowThreads(__tstate
);
12346 if (PyErr_Occurred()) SWIG_fail
;
12348 Py_INCREF(Py_None
); resultobj
= Py_None
;
12355 static PyObject
*_wrap_EvtHandler_Connect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12356 PyObject
*resultobj
;
12357 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12361 PyObject
*arg5
= (PyObject
*) 0 ;
12362 PyObject
* obj0
= 0 ;
12363 PyObject
* obj1
= 0 ;
12364 PyObject
* obj2
= 0 ;
12365 PyObject
* obj3
= 0 ;
12366 PyObject
* obj4
= 0 ;
12367 char *kwnames
[] = {
12368 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType",(char *) "func", NULL
12371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:EvtHandler_Connect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12372 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12374 arg2
= (int)SWIG_As_int(obj1
);
12375 if (PyErr_Occurred()) SWIG_fail
;
12376 arg3
= (int)SWIG_As_int(obj2
);
12377 if (PyErr_Occurred()) SWIG_fail
;
12378 arg4
= (int)SWIG_As_int(obj3
);
12379 if (PyErr_Occurred()) SWIG_fail
;
12382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12383 wxEvtHandler_Connect(arg1
,arg2
,arg3
,arg4
,arg5
);
12385 wxPyEndAllowThreads(__tstate
);
12386 if (PyErr_Occurred()) SWIG_fail
;
12388 Py_INCREF(Py_None
); resultobj
= Py_None
;
12395 static PyObject
*_wrap_EvtHandler_Disconnect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12396 PyObject
*resultobj
;
12397 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12399 int arg3
= (int) -1 ;
12400 wxEventType arg4
= (wxEventType
) wxEVT_NULL
;
12402 PyObject
* obj0
= 0 ;
12403 PyObject
* obj1
= 0 ;
12404 PyObject
* obj2
= 0 ;
12405 PyObject
* obj3
= 0 ;
12406 char *kwnames
[] = {
12407 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType", NULL
12410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:EvtHandler_Disconnect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12411 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12413 arg2
= (int)SWIG_As_int(obj1
);
12414 if (PyErr_Occurred()) SWIG_fail
;
12416 arg3
= (int)SWIG_As_int(obj2
);
12417 if (PyErr_Occurred()) SWIG_fail
;
12420 arg4
= (wxEventType
)SWIG_As_int(obj3
);
12421 if (PyErr_Occurred()) SWIG_fail
;
12424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12425 result
= (bool)wxEvtHandler_Disconnect(arg1
,arg2
,arg3
,arg4
);
12427 wxPyEndAllowThreads(__tstate
);
12428 if (PyErr_Occurred()) SWIG_fail
;
12431 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12439 static PyObject
*_wrap_EvtHandler__setOORInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12440 PyObject
*resultobj
;
12441 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12442 PyObject
*arg2
= (PyObject
*) 0 ;
12443 PyObject
* obj0
= 0 ;
12444 PyObject
* obj1
= 0 ;
12445 char *kwnames
[] = {
12446 (char *) "self",(char *) "_self", NULL
12449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
12450 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12451 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12455 wxEvtHandler__setOORInfo(arg1
,arg2
);
12457 wxPyEndAllowThreads(__tstate
);
12458 if (PyErr_Occurred()) SWIG_fail
;
12460 Py_INCREF(Py_None
); resultobj
= Py_None
;
12467 static PyObject
* EvtHandler_swigregister(PyObject
*, PyObject
*args
) {
12469 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12470 SWIG_TypeClientData(SWIGTYPE_p_wxEvtHandler
, obj
);
12472 return Py_BuildValue((char *)"");
12474 static PyObject
*_wrap_NewEventType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12475 PyObject
*resultobj
;
12476 wxEventType result
;
12477 char *kwnames
[] = {
12481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewEventType",kwnames
)) goto fail
;
12483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12484 result
= (wxEventType
)wxNewEventType();
12486 wxPyEndAllowThreads(__tstate
);
12487 if (PyErr_Occurred()) SWIG_fail
;
12489 resultobj
= SWIG_From_int((int)result
);
12496 static PyObject
*_wrap_delete_Event(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12497 PyObject
*resultobj
;
12498 wxEvent
*arg1
= (wxEvent
*) 0 ;
12499 PyObject
* obj0
= 0 ;
12500 char *kwnames
[] = {
12501 (char *) "self", NULL
12504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Event",kwnames
,&obj0
)) goto fail
;
12505 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12511 wxPyEndAllowThreads(__tstate
);
12512 if (PyErr_Occurred()) SWIG_fail
;
12514 Py_INCREF(Py_None
); resultobj
= Py_None
;
12521 static PyObject
*_wrap_Event_SetEventType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12522 PyObject
*resultobj
;
12523 wxEvent
*arg1
= (wxEvent
*) 0 ;
12525 PyObject
* obj0
= 0 ;
12526 PyObject
* obj1
= 0 ;
12527 char *kwnames
[] = {
12528 (char *) "self",(char *) "typ", NULL
12531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventType",kwnames
,&obj0
,&obj1
)) goto fail
;
12532 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12534 arg2
= (wxEventType
)SWIG_As_int(obj1
);
12535 if (PyErr_Occurred()) SWIG_fail
;
12537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12538 (arg1
)->SetEventType(arg2
);
12540 wxPyEndAllowThreads(__tstate
);
12541 if (PyErr_Occurred()) SWIG_fail
;
12543 Py_INCREF(Py_None
); resultobj
= Py_None
;
12550 static PyObject
*_wrap_Event_GetEventType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12551 PyObject
*resultobj
;
12552 wxEvent
*arg1
= (wxEvent
*) 0 ;
12553 wxEventType result
;
12554 PyObject
* obj0
= 0 ;
12555 char *kwnames
[] = {
12556 (char *) "self", NULL
12559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventType",kwnames
,&obj0
)) goto fail
;
12560 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12561 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12564 result
= (wxEventType
)((wxEvent
const *)arg1
)->GetEventType();
12566 wxPyEndAllowThreads(__tstate
);
12567 if (PyErr_Occurred()) SWIG_fail
;
12569 resultobj
= SWIG_From_int((int)result
);
12576 static PyObject
*_wrap_Event_GetEventObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12577 PyObject
*resultobj
;
12578 wxEvent
*arg1
= (wxEvent
*) 0 ;
12580 PyObject
* obj0
= 0 ;
12581 char *kwnames
[] = {
12582 (char *) "self", NULL
12585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventObject",kwnames
,&obj0
)) goto fail
;
12586 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12590 result
= (wxObject
*)((wxEvent
const *)arg1
)->GetEventObject();
12592 wxPyEndAllowThreads(__tstate
);
12593 if (PyErr_Occurred()) SWIG_fail
;
12596 resultobj
= wxPyMake_wxObject(result
, 0);
12604 static PyObject
*_wrap_Event_SetEventObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12605 PyObject
*resultobj
;
12606 wxEvent
*arg1
= (wxEvent
*) 0 ;
12607 wxObject
*arg2
= (wxObject
*) 0 ;
12608 PyObject
* obj0
= 0 ;
12609 PyObject
* obj1
= 0 ;
12610 char *kwnames
[] = {
12611 (char *) "self",(char *) "obj", NULL
12614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventObject",kwnames
,&obj0
,&obj1
)) goto fail
;
12615 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12616 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12617 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxObject
,
12618 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12621 (arg1
)->SetEventObject(arg2
);
12623 wxPyEndAllowThreads(__tstate
);
12624 if (PyErr_Occurred()) SWIG_fail
;
12626 Py_INCREF(Py_None
); resultobj
= Py_None
;
12633 static PyObject
*_wrap_Event_GetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12634 PyObject
*resultobj
;
12635 wxEvent
*arg1
= (wxEvent
*) 0 ;
12637 PyObject
* obj0
= 0 ;
12638 char *kwnames
[] = {
12639 (char *) "self", NULL
12642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetTimestamp",kwnames
,&obj0
)) goto fail
;
12643 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12644 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12647 result
= (long)((wxEvent
const *)arg1
)->GetTimestamp();
12649 wxPyEndAllowThreads(__tstate
);
12650 if (PyErr_Occurred()) SWIG_fail
;
12652 resultobj
= SWIG_From_long((long)result
);
12659 static PyObject
*_wrap_Event_SetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12660 PyObject
*resultobj
;
12661 wxEvent
*arg1
= (wxEvent
*) 0 ;
12662 long arg2
= (long) 0 ;
12663 PyObject
* obj0
= 0 ;
12664 PyObject
* obj1
= 0 ;
12665 char *kwnames
[] = {
12666 (char *) "self",(char *) "ts", NULL
12669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_SetTimestamp",kwnames
,&obj0
,&obj1
)) goto fail
;
12670 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12673 arg2
= (long)SWIG_As_long(obj1
);
12674 if (PyErr_Occurred()) SWIG_fail
;
12677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12678 (arg1
)->SetTimestamp(arg2
);
12680 wxPyEndAllowThreads(__tstate
);
12681 if (PyErr_Occurred()) SWIG_fail
;
12683 Py_INCREF(Py_None
); resultobj
= Py_None
;
12690 static PyObject
*_wrap_Event_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12691 PyObject
*resultobj
;
12692 wxEvent
*arg1
= (wxEvent
*) 0 ;
12694 PyObject
* obj0
= 0 ;
12695 char *kwnames
[] = {
12696 (char *) "self", NULL
12699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetId",kwnames
,&obj0
)) goto fail
;
12700 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12704 result
= (int)((wxEvent
const *)arg1
)->GetId();
12706 wxPyEndAllowThreads(__tstate
);
12707 if (PyErr_Occurred()) SWIG_fail
;
12709 resultobj
= SWIG_From_int((int)result
);
12716 static PyObject
*_wrap_Event_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12717 PyObject
*resultobj
;
12718 wxEvent
*arg1
= (wxEvent
*) 0 ;
12720 PyObject
* obj0
= 0 ;
12721 PyObject
* obj1
= 0 ;
12722 char *kwnames
[] = {
12723 (char *) "self",(char *) "Id", NULL
12726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
12727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12729 arg2
= (int)SWIG_As_int(obj1
);
12730 if (PyErr_Occurred()) SWIG_fail
;
12732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12733 (arg1
)->SetId(arg2
);
12735 wxPyEndAllowThreads(__tstate
);
12736 if (PyErr_Occurred()) SWIG_fail
;
12738 Py_INCREF(Py_None
); resultobj
= Py_None
;
12745 static PyObject
*_wrap_Event_IsCommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12746 PyObject
*resultobj
;
12747 wxEvent
*arg1
= (wxEvent
*) 0 ;
12749 PyObject
* obj0
= 0 ;
12750 char *kwnames
[] = {
12751 (char *) "self", NULL
12754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_IsCommandEvent",kwnames
,&obj0
)) goto fail
;
12755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12759 result
= (bool)((wxEvent
const *)arg1
)->IsCommandEvent();
12761 wxPyEndAllowThreads(__tstate
);
12762 if (PyErr_Occurred()) SWIG_fail
;
12765 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12773 static PyObject
*_wrap_Event_Skip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12774 PyObject
*resultobj
;
12775 wxEvent
*arg1
= (wxEvent
*) 0 ;
12776 bool arg2
= (bool) True
;
12777 PyObject
* obj0
= 0 ;
12778 PyObject
* obj1
= 0 ;
12779 char *kwnames
[] = {
12780 (char *) "self",(char *) "skip", NULL
12783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_Skip",kwnames
,&obj0
,&obj1
)) goto fail
;
12784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12787 arg2
= (bool)SWIG_As_bool(obj1
);
12788 if (PyErr_Occurred()) SWIG_fail
;
12791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12792 (arg1
)->Skip(arg2
);
12794 wxPyEndAllowThreads(__tstate
);
12795 if (PyErr_Occurred()) SWIG_fail
;
12797 Py_INCREF(Py_None
); resultobj
= Py_None
;
12804 static PyObject
*_wrap_Event_GetSkipped(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12805 PyObject
*resultobj
;
12806 wxEvent
*arg1
= (wxEvent
*) 0 ;
12808 PyObject
* obj0
= 0 ;
12809 char *kwnames
[] = {
12810 (char *) "self", NULL
12813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetSkipped",kwnames
,&obj0
)) goto fail
;
12814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12818 result
= (bool)((wxEvent
const *)arg1
)->GetSkipped();
12820 wxPyEndAllowThreads(__tstate
);
12821 if (PyErr_Occurred()) SWIG_fail
;
12824 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12832 static PyObject
*_wrap_Event_ShouldPropagate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12833 PyObject
*resultobj
;
12834 wxEvent
*arg1
= (wxEvent
*) 0 ;
12836 PyObject
* obj0
= 0 ;
12837 char *kwnames
[] = {
12838 (char *) "self", NULL
12841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_ShouldPropagate",kwnames
,&obj0
)) goto fail
;
12842 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12846 result
= (bool)((wxEvent
const *)arg1
)->ShouldPropagate();
12848 wxPyEndAllowThreads(__tstate
);
12849 if (PyErr_Occurred()) SWIG_fail
;
12852 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12860 static PyObject
*_wrap_Event_StopPropagation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12861 PyObject
*resultobj
;
12862 wxEvent
*arg1
= (wxEvent
*) 0 ;
12864 PyObject
* obj0
= 0 ;
12865 char *kwnames
[] = {
12866 (char *) "self", NULL
12869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_StopPropagation",kwnames
,&obj0
)) goto fail
;
12870 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12871 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12874 result
= (int)(arg1
)->StopPropagation();
12876 wxPyEndAllowThreads(__tstate
);
12877 if (PyErr_Occurred()) SWIG_fail
;
12879 resultobj
= SWIG_From_int((int)result
);
12886 static PyObject
*_wrap_Event_ResumePropagation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12887 PyObject
*resultobj
;
12888 wxEvent
*arg1
= (wxEvent
*) 0 ;
12890 PyObject
* obj0
= 0 ;
12891 PyObject
* obj1
= 0 ;
12892 char *kwnames
[] = {
12893 (char *) "self",(char *) "propagationLevel", NULL
12896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_ResumePropagation",kwnames
,&obj0
,&obj1
)) goto fail
;
12897 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12898 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12899 arg2
= (int)SWIG_As_int(obj1
);
12900 if (PyErr_Occurred()) SWIG_fail
;
12902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12903 (arg1
)->ResumePropagation(arg2
);
12905 wxPyEndAllowThreads(__tstate
);
12906 if (PyErr_Occurred()) SWIG_fail
;
12908 Py_INCREF(Py_None
); resultobj
= Py_None
;
12915 static PyObject
*_wrap_Event_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12916 PyObject
*resultobj
;
12917 wxEvent
*arg1
= (wxEvent
*) 0 ;
12919 PyObject
* obj0
= 0 ;
12920 char *kwnames
[] = {
12921 (char *) "self", NULL
12924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_Clone",kwnames
,&obj0
)) goto fail
;
12925 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12929 result
= (wxEvent
*)(arg1
)->Clone();
12931 wxPyEndAllowThreads(__tstate
);
12932 if (PyErr_Occurred()) SWIG_fail
;
12934 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvent
, 0);
12941 static PyObject
* Event_swigregister(PyObject
*, PyObject
*args
) {
12943 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12944 SWIG_TypeClientData(SWIGTYPE_p_wxEvent
, obj
);
12946 return Py_BuildValue((char *)"");
12948 static PyObject
*_wrap_new_PropagationDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12949 PyObject
*resultobj
;
12950 wxEvent
*arg1
= 0 ;
12951 wxPropagationDisabler
*result
;
12952 PyObject
* obj0
= 0 ;
12953 char *kwnames
[] = {
12954 (char *) "event", NULL
12957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
12958 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12959 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12961 if (arg1
== NULL
) {
12962 PyErr_SetString(PyExc_TypeError
,"null reference");
12966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12967 result
= (wxPropagationDisabler
*)new wxPropagationDisabler(*arg1
);
12969 wxPyEndAllowThreads(__tstate
);
12970 if (PyErr_Occurred()) SWIG_fail
;
12972 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPropagationDisabler
, 1);
12979 static PyObject
*_wrap_delete_PropagationDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12980 PyObject
*resultobj
;
12981 wxPropagationDisabler
*arg1
= (wxPropagationDisabler
*) 0 ;
12982 PyObject
* obj0
= 0 ;
12983 char *kwnames
[] = {
12984 (char *) "self", NULL
12987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
12988 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPropagationDisabler
,
12989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12994 wxPyEndAllowThreads(__tstate
);
12995 if (PyErr_Occurred()) SWIG_fail
;
12997 Py_INCREF(Py_None
); resultobj
= Py_None
;
13004 static PyObject
* PropagationDisabler_swigregister(PyObject
*, PyObject
*args
) {
13006 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13007 SWIG_TypeClientData(SWIGTYPE_p_wxPropagationDisabler
, obj
);
13009 return Py_BuildValue((char *)"");
13011 static PyObject
*_wrap_new_PropagateOnce(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13012 PyObject
*resultobj
;
13013 wxEvent
*arg1
= 0 ;
13014 wxPropagateOnce
*result
;
13015 PyObject
* obj0
= 0 ;
13016 char *kwnames
[] = {
13017 (char *) "event", NULL
13020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagateOnce",kwnames
,&obj0
)) goto fail
;
13021 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
13022 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13024 if (arg1
== NULL
) {
13025 PyErr_SetString(PyExc_TypeError
,"null reference");
13029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13030 result
= (wxPropagateOnce
*)new wxPropagateOnce(*arg1
);
13032 wxPyEndAllowThreads(__tstate
);
13033 if (PyErr_Occurred()) SWIG_fail
;
13035 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPropagateOnce
, 1);
13042 static PyObject
*_wrap_delete_PropagateOnce(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13043 PyObject
*resultobj
;
13044 wxPropagateOnce
*arg1
= (wxPropagateOnce
*) 0 ;
13045 PyObject
* obj0
= 0 ;
13046 char *kwnames
[] = {
13047 (char *) "self", NULL
13050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagateOnce",kwnames
,&obj0
)) goto fail
;
13051 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPropagateOnce
,
13052 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13057 wxPyEndAllowThreads(__tstate
);
13058 if (PyErr_Occurred()) SWIG_fail
;
13060 Py_INCREF(Py_None
); resultobj
= Py_None
;
13067 static PyObject
* PropagateOnce_swigregister(PyObject
*, PyObject
*args
) {
13069 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13070 SWIG_TypeClientData(SWIGTYPE_p_wxPropagateOnce
, obj
);
13072 return Py_BuildValue((char *)"");
13074 static PyObject
*_wrap_new_CommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13075 PyObject
*resultobj
;
13076 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13077 int arg2
= (int) 0 ;
13078 wxCommandEvent
*result
;
13079 PyObject
* obj0
= 0 ;
13080 PyObject
* obj1
= 0 ;
13081 char *kwnames
[] = {
13082 (char *) "commandType",(char *) "winid", NULL
13085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CommandEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
13087 arg1
= (wxEventType
)SWIG_As_int(obj0
);
13088 if (PyErr_Occurred()) SWIG_fail
;
13091 arg2
= (int)SWIG_As_int(obj1
);
13092 if (PyErr_Occurred()) SWIG_fail
;
13095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13096 result
= (wxCommandEvent
*)new wxCommandEvent(arg1
,arg2
);
13098 wxPyEndAllowThreads(__tstate
);
13099 if (PyErr_Occurred()) SWIG_fail
;
13101 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCommandEvent
, 1);
13108 static PyObject
*_wrap_CommandEvent_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13109 PyObject
*resultobj
;
13110 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13112 PyObject
* obj0
= 0 ;
13113 char *kwnames
[] = {
13114 (char *) "self", NULL
13117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
13118 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13119 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13122 result
= (int)((wxCommandEvent
const *)arg1
)->GetSelection();
13124 wxPyEndAllowThreads(__tstate
);
13125 if (PyErr_Occurred()) SWIG_fail
;
13127 resultobj
= SWIG_From_int((int)result
);
13134 static PyObject
*_wrap_CommandEvent_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13135 PyObject
*resultobj
;
13136 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13137 wxString
*arg2
= 0 ;
13138 bool temp2
= False
;
13139 PyObject
* obj0
= 0 ;
13140 PyObject
* obj1
= 0 ;
13141 char *kwnames
[] = {
13142 (char *) "self",(char *) "s", NULL
13145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetString",kwnames
,&obj0
,&obj1
)) goto fail
;
13146 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13147 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13149 arg2
= wxString_in_helper(obj1
);
13150 if (arg2
== NULL
) SWIG_fail
;
13154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13155 (arg1
)->SetString((wxString
const &)*arg2
);
13157 wxPyEndAllowThreads(__tstate
);
13158 if (PyErr_Occurred()) SWIG_fail
;
13160 Py_INCREF(Py_None
); resultobj
= Py_None
;
13175 static PyObject
*_wrap_CommandEvent_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13176 PyObject
*resultobj
;
13177 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13179 PyObject
* obj0
= 0 ;
13180 char *kwnames
[] = {
13181 (char *) "self", NULL
13184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetString",kwnames
,&obj0
)) goto fail
;
13185 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13186 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13189 result
= ((wxCommandEvent
const *)arg1
)->GetString();
13191 wxPyEndAllowThreads(__tstate
);
13192 if (PyErr_Occurred()) SWIG_fail
;
13196 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13198 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13207 static PyObject
*_wrap_CommandEvent_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13208 PyObject
*resultobj
;
13209 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13211 PyObject
* obj0
= 0 ;
13212 char *kwnames
[] = {
13213 (char *) "self", NULL
13216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsChecked",kwnames
,&obj0
)) goto fail
;
13217 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13218 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13221 result
= (bool)((wxCommandEvent
const *)arg1
)->IsChecked();
13223 wxPyEndAllowThreads(__tstate
);
13224 if (PyErr_Occurred()) SWIG_fail
;
13227 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13235 static PyObject
*_wrap_CommandEvent_IsSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13236 PyObject
*resultobj
;
13237 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13239 PyObject
* obj0
= 0 ;
13240 char *kwnames
[] = {
13241 (char *) "self", NULL
13244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsSelection",kwnames
,&obj0
)) goto fail
;
13245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13249 result
= (bool)((wxCommandEvent
const *)arg1
)->IsSelection();
13251 wxPyEndAllowThreads(__tstate
);
13252 if (PyErr_Occurred()) SWIG_fail
;
13255 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13263 static PyObject
*_wrap_CommandEvent_SetExtraLong(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13264 PyObject
*resultobj
;
13265 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13267 PyObject
* obj0
= 0 ;
13268 PyObject
* obj1
= 0 ;
13269 char *kwnames
[] = {
13270 (char *) "self",(char *) "extraLong", NULL
13273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetExtraLong",kwnames
,&obj0
,&obj1
)) goto fail
;
13274 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13276 arg2
= (long)SWIG_As_long(obj1
);
13277 if (PyErr_Occurred()) SWIG_fail
;
13279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13280 (arg1
)->SetExtraLong(arg2
);
13282 wxPyEndAllowThreads(__tstate
);
13283 if (PyErr_Occurred()) SWIG_fail
;
13285 Py_INCREF(Py_None
); resultobj
= Py_None
;
13292 static PyObject
*_wrap_CommandEvent_GetExtraLong(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13293 PyObject
*resultobj
;
13294 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13296 PyObject
* obj0
= 0 ;
13297 char *kwnames
[] = {
13298 (char *) "self", NULL
13301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetExtraLong",kwnames
,&obj0
)) goto fail
;
13302 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13303 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13306 result
= (long)((wxCommandEvent
const *)arg1
)->GetExtraLong();
13308 wxPyEndAllowThreads(__tstate
);
13309 if (PyErr_Occurred()) SWIG_fail
;
13311 resultobj
= SWIG_From_long((long)result
);
13318 static PyObject
*_wrap_CommandEvent_SetInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13319 PyObject
*resultobj
;
13320 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13322 PyObject
* obj0
= 0 ;
13323 PyObject
* obj1
= 0 ;
13324 char *kwnames
[] = {
13325 (char *) "self",(char *) "i", NULL
13328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetInt",kwnames
,&obj0
,&obj1
)) goto fail
;
13329 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13330 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13331 arg2
= (int)SWIG_As_int(obj1
);
13332 if (PyErr_Occurred()) SWIG_fail
;
13334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13335 (arg1
)->SetInt(arg2
);
13337 wxPyEndAllowThreads(__tstate
);
13338 if (PyErr_Occurred()) SWIG_fail
;
13340 Py_INCREF(Py_None
); resultobj
= Py_None
;
13347 static PyObject
*_wrap_CommandEvent_GetInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13348 PyObject
*resultobj
;
13349 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13351 PyObject
* obj0
= 0 ;
13352 char *kwnames
[] = {
13353 (char *) "self", NULL
13356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetInt",kwnames
,&obj0
)) goto fail
;
13357 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13358 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13361 result
= (long)((wxCommandEvent
const *)arg1
)->GetInt();
13363 wxPyEndAllowThreads(__tstate
);
13364 if (PyErr_Occurred()) SWIG_fail
;
13366 resultobj
= SWIG_From_long((long)result
);
13373 static PyObject
*_wrap_CommandEvent_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13374 PyObject
*resultobj
;
13375 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13377 PyObject
* obj0
= 0 ;
13378 char *kwnames
[] = {
13379 (char *) "self", NULL
13382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_Clone",kwnames
,&obj0
)) goto fail
;
13383 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13387 result
= (wxEvent
*)((wxCommandEvent
const *)arg1
)->Clone();
13389 wxPyEndAllowThreads(__tstate
);
13390 if (PyErr_Occurred()) SWIG_fail
;
13392 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvent
, 0);
13399 static PyObject
* CommandEvent_swigregister(PyObject
*, PyObject
*args
) {
13401 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13402 SWIG_TypeClientData(SWIGTYPE_p_wxCommandEvent
, obj
);
13404 return Py_BuildValue((char *)"");
13406 static PyObject
*_wrap_new_NotifyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13407 PyObject
*resultobj
;
13408 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13409 int arg2
= (int) 0 ;
13410 wxNotifyEvent
*result
;
13411 PyObject
* obj0
= 0 ;
13412 PyObject
* obj1
= 0 ;
13413 char *kwnames
[] = {
13414 (char *) "commandType",(char *) "winid", NULL
13417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_NotifyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
13419 arg1
= (wxEventType
)SWIG_As_int(obj0
);
13420 if (PyErr_Occurred()) SWIG_fail
;
13423 arg2
= (int)SWIG_As_int(obj1
);
13424 if (PyErr_Occurred()) SWIG_fail
;
13427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13428 result
= (wxNotifyEvent
*)new wxNotifyEvent(arg1
,arg2
);
13430 wxPyEndAllowThreads(__tstate
);
13431 if (PyErr_Occurred()) SWIG_fail
;
13433 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotifyEvent
, 1);
13440 static PyObject
*_wrap_NotifyEvent_Veto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13441 PyObject
*resultobj
;
13442 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
13443 PyObject
* obj0
= 0 ;
13444 char *kwnames
[] = {
13445 (char *) "self", NULL
13448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Veto",kwnames
,&obj0
)) goto fail
;
13449 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotifyEvent
,
13450 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13455 wxPyEndAllowThreads(__tstate
);
13456 if (PyErr_Occurred()) SWIG_fail
;
13458 Py_INCREF(Py_None
); resultobj
= Py_None
;
13465 static PyObject
*_wrap_NotifyEvent_Allow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13466 PyObject
*resultobj
;
13467 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
13468 PyObject
* obj0
= 0 ;
13469 char *kwnames
[] = {
13470 (char *) "self", NULL
13473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Allow",kwnames
,&obj0
)) goto fail
;
13474 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotifyEvent
,
13475 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13480 wxPyEndAllowThreads(__tstate
);
13481 if (PyErr_Occurred()) SWIG_fail
;
13483 Py_INCREF(Py_None
); resultobj
= Py_None
;
13490 static PyObject
*_wrap_NotifyEvent_IsAllowed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13491 PyObject
*resultobj
;
13492 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
13494 PyObject
* obj0
= 0 ;
13495 char *kwnames
[] = {
13496 (char *) "self", NULL
13499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_IsAllowed",kwnames
,&obj0
)) goto fail
;
13500 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotifyEvent
,
13501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13504 result
= (bool)(arg1
)->IsAllowed();
13506 wxPyEndAllowThreads(__tstate
);
13507 if (PyErr_Occurred()) SWIG_fail
;
13510 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13518 static PyObject
* NotifyEvent_swigregister(PyObject
*, PyObject
*args
) {
13520 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13521 SWIG_TypeClientData(SWIGTYPE_p_wxNotifyEvent
, obj
);
13523 return Py_BuildValue((char *)"");
13525 static PyObject
*_wrap_new_ScrollEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13526 PyObject
*resultobj
;
13527 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13528 int arg2
= (int) 0 ;
13529 int arg3
= (int) 0 ;
13530 int arg4
= (int) 0 ;
13531 wxScrollEvent
*result
;
13532 PyObject
* obj0
= 0 ;
13533 PyObject
* obj1
= 0 ;
13534 PyObject
* obj2
= 0 ;
13535 PyObject
* obj3
= 0 ;
13536 char *kwnames
[] = {
13537 (char *) "commandType",(char *) "winid",(char *) "pos",(char *) "orient", NULL
13540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ScrollEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13542 arg1
= (wxEventType
)SWIG_As_int(obj0
);
13543 if (PyErr_Occurred()) SWIG_fail
;
13546 arg2
= (int)SWIG_As_int(obj1
);
13547 if (PyErr_Occurred()) SWIG_fail
;
13550 arg3
= (int)SWIG_As_int(obj2
);
13551 if (PyErr_Occurred()) SWIG_fail
;
13554 arg4
= (int)SWIG_As_int(obj3
);
13555 if (PyErr_Occurred()) SWIG_fail
;
13558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13559 result
= (wxScrollEvent
*)new wxScrollEvent(arg1
,arg2
,arg3
,arg4
);
13561 wxPyEndAllowThreads(__tstate
);
13562 if (PyErr_Occurred()) SWIG_fail
;
13564 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollEvent
, 1);
13571 static PyObject
*_wrap_ScrollEvent_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13572 PyObject
*resultobj
;
13573 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13575 PyObject
* obj0
= 0 ;
13576 char *kwnames
[] = {
13577 (char *) "self", NULL
13580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
13581 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13585 result
= (int)((wxScrollEvent
const *)arg1
)->GetOrientation();
13587 wxPyEndAllowThreads(__tstate
);
13588 if (PyErr_Occurred()) SWIG_fail
;
13590 resultobj
= SWIG_From_int((int)result
);
13597 static PyObject
*_wrap_ScrollEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13598 PyObject
*resultobj
;
13599 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13601 PyObject
* obj0
= 0 ;
13602 char *kwnames
[] = {
13603 (char *) "self", NULL
13606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
13607 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13608 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13611 result
= (int)((wxScrollEvent
const *)arg1
)->GetPosition();
13613 wxPyEndAllowThreads(__tstate
);
13614 if (PyErr_Occurred()) SWIG_fail
;
13616 resultobj
= SWIG_From_int((int)result
);
13623 static PyObject
*_wrap_ScrollEvent_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13624 PyObject
*resultobj
;
13625 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13627 PyObject
* obj0
= 0 ;
13628 PyObject
* obj1
= 0 ;
13629 char *kwnames
[] = {
13630 (char *) "self",(char *) "orient", NULL
13633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
13634 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13635 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13636 arg2
= (int)SWIG_As_int(obj1
);
13637 if (PyErr_Occurred()) SWIG_fail
;
13639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13640 (arg1
)->SetOrientation(arg2
);
13642 wxPyEndAllowThreads(__tstate
);
13643 if (PyErr_Occurred()) SWIG_fail
;
13645 Py_INCREF(Py_None
); resultobj
= Py_None
;
13652 static PyObject
*_wrap_ScrollEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13653 PyObject
*resultobj
;
13654 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13656 PyObject
* obj0
= 0 ;
13657 PyObject
* obj1
= 0 ;
13658 char *kwnames
[] = {
13659 (char *) "self",(char *) "pos", NULL
13662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
13663 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13664 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13665 arg2
= (int)SWIG_As_int(obj1
);
13666 if (PyErr_Occurred()) SWIG_fail
;
13668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13669 (arg1
)->SetPosition(arg2
);
13671 wxPyEndAllowThreads(__tstate
);
13672 if (PyErr_Occurred()) SWIG_fail
;
13674 Py_INCREF(Py_None
); resultobj
= Py_None
;
13681 static PyObject
* ScrollEvent_swigregister(PyObject
*, PyObject
*args
) {
13683 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13684 SWIG_TypeClientData(SWIGTYPE_p_wxScrollEvent
, obj
);
13686 return Py_BuildValue((char *)"");
13688 static PyObject
*_wrap_new_ScrollWinEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13689 PyObject
*resultobj
;
13690 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13691 int arg2
= (int) 0 ;
13692 int arg3
= (int) 0 ;
13693 wxScrollWinEvent
*result
;
13694 PyObject
* obj0
= 0 ;
13695 PyObject
* obj1
= 0 ;
13696 PyObject
* obj2
= 0 ;
13697 char *kwnames
[] = {
13698 (char *) "commandType",(char *) "pos",(char *) "orient", NULL
13701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ScrollWinEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13703 arg1
= (wxEventType
)SWIG_As_int(obj0
);
13704 if (PyErr_Occurred()) SWIG_fail
;
13707 arg2
= (int)SWIG_As_int(obj1
);
13708 if (PyErr_Occurred()) SWIG_fail
;
13711 arg3
= (int)SWIG_As_int(obj2
);
13712 if (PyErr_Occurred()) SWIG_fail
;
13715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13716 result
= (wxScrollWinEvent
*)new wxScrollWinEvent(arg1
,arg2
,arg3
);
13718 wxPyEndAllowThreads(__tstate
);
13719 if (PyErr_Occurred()) SWIG_fail
;
13721 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollWinEvent
, 1);
13728 static PyObject
*_wrap_ScrollWinEvent_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13729 PyObject
*resultobj
;
13730 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13732 PyObject
* obj0
= 0 ;
13733 char *kwnames
[] = {
13734 (char *) "self", NULL
13737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
13738 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
13739 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13742 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetOrientation();
13744 wxPyEndAllowThreads(__tstate
);
13745 if (PyErr_Occurred()) SWIG_fail
;
13747 resultobj
= SWIG_From_int((int)result
);
13754 static PyObject
*_wrap_ScrollWinEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13755 PyObject
*resultobj
;
13756 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13758 PyObject
* obj0
= 0 ;
13759 char *kwnames
[] = {
13760 (char *) "self", NULL
13763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
13764 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
13765 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13768 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetPosition();
13770 wxPyEndAllowThreads(__tstate
);
13771 if (PyErr_Occurred()) SWIG_fail
;
13773 resultobj
= SWIG_From_int((int)result
);
13780 static PyObject
*_wrap_ScrollWinEvent_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13781 PyObject
*resultobj
;
13782 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13784 PyObject
* obj0
= 0 ;
13785 PyObject
* obj1
= 0 ;
13786 char *kwnames
[] = {
13787 (char *) "self",(char *) "orient", NULL
13790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
13791 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
13792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13793 arg2
= (int)SWIG_As_int(obj1
);
13794 if (PyErr_Occurred()) SWIG_fail
;
13796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13797 (arg1
)->SetOrientation(arg2
);
13799 wxPyEndAllowThreads(__tstate
);
13800 if (PyErr_Occurred()) SWIG_fail
;
13802 Py_INCREF(Py_None
); resultobj
= Py_None
;
13809 static PyObject
*_wrap_ScrollWinEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13810 PyObject
*resultobj
;
13811 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13813 PyObject
* obj0
= 0 ;
13814 PyObject
* obj1
= 0 ;
13815 char *kwnames
[] = {
13816 (char *) "self",(char *) "pos", NULL
13819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
13820 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
13821 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13822 arg2
= (int)SWIG_As_int(obj1
);
13823 if (PyErr_Occurred()) SWIG_fail
;
13825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13826 (arg1
)->SetPosition(arg2
);
13828 wxPyEndAllowThreads(__tstate
);
13829 if (PyErr_Occurred()) SWIG_fail
;
13831 Py_INCREF(Py_None
); resultobj
= Py_None
;
13838 static PyObject
* ScrollWinEvent_swigregister(PyObject
*, PyObject
*args
) {
13840 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13841 SWIG_TypeClientData(SWIGTYPE_p_wxScrollWinEvent
, obj
);
13843 return Py_BuildValue((char *)"");
13845 static PyObject
*_wrap_new_MouseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13846 PyObject
*resultobj
;
13847 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13848 wxMouseEvent
*result
;
13849 PyObject
* obj0
= 0 ;
13850 char *kwnames
[] = {
13851 (char *) "mouseType", NULL
13854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MouseEvent",kwnames
,&obj0
)) goto fail
;
13856 arg1
= (wxEventType
)SWIG_As_int(obj0
);
13857 if (PyErr_Occurred()) SWIG_fail
;
13860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13861 result
= (wxMouseEvent
*)new wxMouseEvent(arg1
);
13863 wxPyEndAllowThreads(__tstate
);
13864 if (PyErr_Occurred()) SWIG_fail
;
13867 resultobj
= wxPyMake_wxObject(result
, 1);
13875 static PyObject
*_wrap_MouseEvent_IsButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13876 PyObject
*resultobj
;
13877 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13879 PyObject
* obj0
= 0 ;
13880 char *kwnames
[] = {
13881 (char *) "self", NULL
13884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsButton",kwnames
,&obj0
)) goto fail
;
13885 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13889 result
= (bool)((wxMouseEvent
const *)arg1
)->IsButton();
13891 wxPyEndAllowThreads(__tstate
);
13892 if (PyErr_Occurred()) SWIG_fail
;
13895 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13903 static PyObject
*_wrap_MouseEvent_ButtonDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13904 PyObject
*resultobj
;
13905 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13906 int arg2
= (int) wxMOUSE_BTN_ANY
;
13908 PyObject
* obj0
= 0 ;
13909 PyObject
* obj1
= 0 ;
13910 char *kwnames
[] = {
13911 (char *) "self",(char *) "but", NULL
13914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) goto fail
;
13915 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13918 arg2
= (int)SWIG_As_int(obj1
);
13919 if (PyErr_Occurred()) SWIG_fail
;
13922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13923 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDown(arg2
);
13925 wxPyEndAllowThreads(__tstate
);
13926 if (PyErr_Occurred()) SWIG_fail
;
13929 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13937 static PyObject
*_wrap_MouseEvent_ButtonDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13938 PyObject
*resultobj
;
13939 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13940 int arg2
= (int) wxMOUSE_BTN_ANY
;
13942 PyObject
* obj0
= 0 ;
13943 PyObject
* obj1
= 0 ;
13944 char *kwnames
[] = {
13945 (char *) "self",(char *) "but", NULL
13948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDClick",kwnames
,&obj0
,&obj1
)) goto fail
;
13949 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13952 arg2
= (int)SWIG_As_int(obj1
);
13953 if (PyErr_Occurred()) SWIG_fail
;
13956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13957 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDClick(arg2
);
13959 wxPyEndAllowThreads(__tstate
);
13960 if (PyErr_Occurred()) SWIG_fail
;
13963 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13971 static PyObject
*_wrap_MouseEvent_ButtonUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13972 PyObject
*resultobj
;
13973 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13974 int arg2
= (int) wxMOUSE_BTN_ANY
;
13976 PyObject
* obj0
= 0 ;
13977 PyObject
* obj1
= 0 ;
13978 char *kwnames
[] = {
13979 (char *) "self",(char *) "but", NULL
13982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) goto fail
;
13983 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13984 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13986 arg2
= (int)SWIG_As_int(obj1
);
13987 if (PyErr_Occurred()) SWIG_fail
;
13990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13991 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonUp(arg2
);
13993 wxPyEndAllowThreads(__tstate
);
13994 if (PyErr_Occurred()) SWIG_fail
;
13997 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14005 static PyObject
*_wrap_MouseEvent_Button(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14006 PyObject
*resultobj
;
14007 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14010 PyObject
* obj0
= 0 ;
14011 PyObject
* obj1
= 0 ;
14012 char *kwnames
[] = {
14013 (char *) "self",(char *) "but", NULL
14016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_Button",kwnames
,&obj0
,&obj1
)) goto fail
;
14017 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14019 arg2
= (int)SWIG_As_int(obj1
);
14020 if (PyErr_Occurred()) SWIG_fail
;
14022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14023 result
= (bool)((wxMouseEvent
const *)arg1
)->Button(arg2
);
14025 wxPyEndAllowThreads(__tstate
);
14026 if (PyErr_Occurred()) SWIG_fail
;
14029 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14037 static PyObject
*_wrap_MouseEvent_ButtonIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14038 PyObject
*resultobj
;
14039 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14042 PyObject
* obj0
= 0 ;
14043 PyObject
* obj1
= 0 ;
14044 char *kwnames
[] = {
14045 (char *) "self",(char *) "but", NULL
14048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) goto fail
;
14049 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14050 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14051 arg2
= (int)SWIG_As_int(obj1
);
14052 if (PyErr_Occurred()) SWIG_fail
;
14054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14055 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonIsDown(arg2
);
14057 wxPyEndAllowThreads(__tstate
);
14058 if (PyErr_Occurred()) SWIG_fail
;
14061 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14069 static PyObject
*_wrap_MouseEvent_GetButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14070 PyObject
*resultobj
;
14071 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14073 PyObject
* obj0
= 0 ;
14074 char *kwnames
[] = {
14075 (char *) "self", NULL
14078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetButton",kwnames
,&obj0
)) goto fail
;
14079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14083 result
= (int)((wxMouseEvent
const *)arg1
)->GetButton();
14085 wxPyEndAllowThreads(__tstate
);
14086 if (PyErr_Occurred()) SWIG_fail
;
14088 resultobj
= SWIG_From_int((int)result
);
14095 static PyObject
*_wrap_MouseEvent_ControlDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14096 PyObject
*resultobj
;
14097 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14099 PyObject
* obj0
= 0 ;
14100 char *kwnames
[] = {
14101 (char *) "self", NULL
14104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
14105 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14106 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14109 result
= (bool)((wxMouseEvent
const *)arg1
)->ControlDown();
14111 wxPyEndAllowThreads(__tstate
);
14112 if (PyErr_Occurred()) SWIG_fail
;
14115 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14123 static PyObject
*_wrap_MouseEvent_MetaDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14124 PyObject
*resultobj
;
14125 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14127 PyObject
* obj0
= 0 ;
14128 char *kwnames
[] = {
14129 (char *) "self", NULL
14132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
14133 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14134 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14137 result
= (bool)((wxMouseEvent
const *)arg1
)->MetaDown();
14139 wxPyEndAllowThreads(__tstate
);
14140 if (PyErr_Occurred()) SWIG_fail
;
14143 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14151 static PyObject
*_wrap_MouseEvent_AltDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14152 PyObject
*resultobj
;
14153 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14155 PyObject
* obj0
= 0 ;
14156 char *kwnames
[] = {
14157 (char *) "self", NULL
14160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_AltDown",kwnames
,&obj0
)) goto fail
;
14161 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14165 result
= (bool)((wxMouseEvent
const *)arg1
)->AltDown();
14167 wxPyEndAllowThreads(__tstate
);
14168 if (PyErr_Occurred()) SWIG_fail
;
14171 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14179 static PyObject
*_wrap_MouseEvent_ShiftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14180 PyObject
*resultobj
;
14181 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14183 PyObject
* obj0
= 0 ;
14184 char *kwnames
[] = {
14185 (char *) "self", NULL
14188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
14189 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14190 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14193 result
= (bool)((wxMouseEvent
const *)arg1
)->ShiftDown();
14195 wxPyEndAllowThreads(__tstate
);
14196 if (PyErr_Occurred()) SWIG_fail
;
14199 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14207 static PyObject
*_wrap_MouseEvent_CmdDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14208 PyObject
*resultobj
;
14209 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14211 PyObject
* obj0
= 0 ;
14212 char *kwnames
[] = {
14213 (char *) "self", NULL
14216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_CmdDown",kwnames
,&obj0
)) goto fail
;
14217 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14218 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14221 result
= (bool)((wxMouseEvent
const *)arg1
)->CmdDown();
14223 wxPyEndAllowThreads(__tstate
);
14224 if (PyErr_Occurred()) SWIG_fail
;
14227 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14235 static PyObject
*_wrap_MouseEvent_LeftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14236 PyObject
*resultobj
;
14237 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14239 PyObject
* obj0
= 0 ;
14240 char *kwnames
[] = {
14241 (char *) "self", NULL
14244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDown",kwnames
,&obj0
)) goto fail
;
14245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14249 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDown();
14251 wxPyEndAllowThreads(__tstate
);
14252 if (PyErr_Occurred()) SWIG_fail
;
14255 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14263 static PyObject
*_wrap_MouseEvent_MiddleDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14264 PyObject
*resultobj
;
14265 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14267 PyObject
* obj0
= 0 ;
14268 char *kwnames
[] = {
14269 (char *) "self", NULL
14272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDown",kwnames
,&obj0
)) goto fail
;
14273 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14277 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDown();
14279 wxPyEndAllowThreads(__tstate
);
14280 if (PyErr_Occurred()) SWIG_fail
;
14283 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14291 static PyObject
*_wrap_MouseEvent_RightDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14292 PyObject
*resultobj
;
14293 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14295 PyObject
* obj0
= 0 ;
14296 char *kwnames
[] = {
14297 (char *) "self", NULL
14300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDown",kwnames
,&obj0
)) goto fail
;
14301 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14302 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14305 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDown();
14307 wxPyEndAllowThreads(__tstate
);
14308 if (PyErr_Occurred()) SWIG_fail
;
14311 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14319 static PyObject
*_wrap_MouseEvent_LeftUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14320 PyObject
*resultobj
;
14321 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14323 PyObject
* obj0
= 0 ;
14324 char *kwnames
[] = {
14325 (char *) "self", NULL
14328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftUp",kwnames
,&obj0
)) goto fail
;
14329 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14330 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14333 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftUp();
14335 wxPyEndAllowThreads(__tstate
);
14336 if (PyErr_Occurred()) SWIG_fail
;
14339 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14347 static PyObject
*_wrap_MouseEvent_MiddleUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14348 PyObject
*resultobj
;
14349 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14351 PyObject
* obj0
= 0 ;
14352 char *kwnames
[] = {
14353 (char *) "self", NULL
14356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleUp",kwnames
,&obj0
)) goto fail
;
14357 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14358 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14361 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleUp();
14363 wxPyEndAllowThreads(__tstate
);
14364 if (PyErr_Occurred()) SWIG_fail
;
14367 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14375 static PyObject
*_wrap_MouseEvent_RightUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14376 PyObject
*resultobj
;
14377 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14379 PyObject
* obj0
= 0 ;
14380 char *kwnames
[] = {
14381 (char *) "self", NULL
14384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightUp",kwnames
,&obj0
)) goto fail
;
14385 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14386 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14389 result
= (bool)((wxMouseEvent
const *)arg1
)->RightUp();
14391 wxPyEndAllowThreads(__tstate
);
14392 if (PyErr_Occurred()) SWIG_fail
;
14395 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14403 static PyObject
*_wrap_MouseEvent_LeftDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14404 PyObject
*resultobj
;
14405 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14407 PyObject
* obj0
= 0 ;
14408 char *kwnames
[] = {
14409 (char *) "self", NULL
14412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDClick",kwnames
,&obj0
)) goto fail
;
14413 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14417 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDClick();
14419 wxPyEndAllowThreads(__tstate
);
14420 if (PyErr_Occurred()) SWIG_fail
;
14423 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14431 static PyObject
*_wrap_MouseEvent_MiddleDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14432 PyObject
*resultobj
;
14433 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14435 PyObject
* obj0
= 0 ;
14436 char *kwnames
[] = {
14437 (char *) "self", NULL
14440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDClick",kwnames
,&obj0
)) goto fail
;
14441 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14442 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14445 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDClick();
14447 wxPyEndAllowThreads(__tstate
);
14448 if (PyErr_Occurred()) SWIG_fail
;
14451 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14459 static PyObject
*_wrap_MouseEvent_RightDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14460 PyObject
*resultobj
;
14461 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14463 PyObject
* obj0
= 0 ;
14464 char *kwnames
[] = {
14465 (char *) "self", NULL
14468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDClick",kwnames
,&obj0
)) goto fail
;
14469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14473 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDClick();
14475 wxPyEndAllowThreads(__tstate
);
14476 if (PyErr_Occurred()) SWIG_fail
;
14479 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14487 static PyObject
*_wrap_MouseEvent_LeftIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14488 PyObject
*resultobj
;
14489 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14491 PyObject
* obj0
= 0 ;
14492 char *kwnames
[] = {
14493 (char *) "self", NULL
14496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftIsDown",kwnames
,&obj0
)) goto fail
;
14497 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14498 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14501 result
= (bool)(arg1
)->LeftIsDown();
14503 wxPyEndAllowThreads(__tstate
);
14504 if (PyErr_Occurred()) SWIG_fail
;
14507 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14515 static PyObject
*_wrap_MouseEvent_MiddleIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14516 PyObject
*resultobj
;
14517 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14519 PyObject
* obj0
= 0 ;
14520 char *kwnames
[] = {
14521 (char *) "self", NULL
14524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleIsDown",kwnames
,&obj0
)) goto fail
;
14525 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14526 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14529 result
= (bool)(arg1
)->MiddleIsDown();
14531 wxPyEndAllowThreads(__tstate
);
14532 if (PyErr_Occurred()) SWIG_fail
;
14535 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14543 static PyObject
*_wrap_MouseEvent_RightIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14544 PyObject
*resultobj
;
14545 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14547 PyObject
* obj0
= 0 ;
14548 char *kwnames
[] = {
14549 (char *) "self", NULL
14552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightIsDown",kwnames
,&obj0
)) goto fail
;
14553 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14554 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14557 result
= (bool)(arg1
)->RightIsDown();
14559 wxPyEndAllowThreads(__tstate
);
14560 if (PyErr_Occurred()) SWIG_fail
;
14563 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14571 static PyObject
*_wrap_MouseEvent_Dragging(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14572 PyObject
*resultobj
;
14573 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14575 PyObject
* obj0
= 0 ;
14576 char *kwnames
[] = {
14577 (char *) "self", NULL
14580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Dragging",kwnames
,&obj0
)) goto fail
;
14581 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14585 result
= (bool)((wxMouseEvent
const *)arg1
)->Dragging();
14587 wxPyEndAllowThreads(__tstate
);
14588 if (PyErr_Occurred()) SWIG_fail
;
14591 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14599 static PyObject
*_wrap_MouseEvent_Moving(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14600 PyObject
*resultobj
;
14601 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14603 PyObject
* obj0
= 0 ;
14604 char *kwnames
[] = {
14605 (char *) "self", NULL
14608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Moving",kwnames
,&obj0
)) goto fail
;
14609 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14613 result
= (bool)((wxMouseEvent
const *)arg1
)->Moving();
14615 wxPyEndAllowThreads(__tstate
);
14616 if (PyErr_Occurred()) SWIG_fail
;
14619 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14627 static PyObject
*_wrap_MouseEvent_Entering(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14628 PyObject
*resultobj
;
14629 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14631 PyObject
* obj0
= 0 ;
14632 char *kwnames
[] = {
14633 (char *) "self", NULL
14636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Entering",kwnames
,&obj0
)) goto fail
;
14637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14641 result
= (bool)((wxMouseEvent
const *)arg1
)->Entering();
14643 wxPyEndAllowThreads(__tstate
);
14644 if (PyErr_Occurred()) SWIG_fail
;
14647 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14655 static PyObject
*_wrap_MouseEvent_Leaving(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14656 PyObject
*resultobj
;
14657 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14659 PyObject
* obj0
= 0 ;
14660 char *kwnames
[] = {
14661 (char *) "self", NULL
14664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Leaving",kwnames
,&obj0
)) goto fail
;
14665 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14666 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14669 result
= (bool)((wxMouseEvent
const *)arg1
)->Leaving();
14671 wxPyEndAllowThreads(__tstate
);
14672 if (PyErr_Occurred()) SWIG_fail
;
14675 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14683 static PyObject
*_wrap_MouseEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14684 PyObject
*resultobj
;
14685 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14687 PyObject
* obj0
= 0 ;
14688 char *kwnames
[] = {
14689 (char *) "self", NULL
14692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
14693 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14694 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14697 result
= (arg1
)->GetPosition();
14699 wxPyEndAllowThreads(__tstate
);
14700 if (PyErr_Occurred()) SWIG_fail
;
14703 wxPoint
* resultptr
;
14704 resultptr
= new wxPoint((wxPoint
&) result
);
14705 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
14713 static PyObject
*_wrap_MouseEvent_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14714 PyObject
*resultobj
;
14715 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14716 long *arg2
= (long *) 0 ;
14717 long *arg3
= (long *) 0 ;
14722 PyObject
* obj0
= 0 ;
14723 char *kwnames
[] = {
14724 (char *) "self", NULL
14727 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
14728 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
14729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
14730 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14731 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14734 (arg1
)->GetPosition(arg2
,arg3
);
14736 wxPyEndAllowThreads(__tstate
);
14737 if (PyErr_Occurred()) SWIG_fail
;
14739 Py_INCREF(Py_None
); resultobj
= Py_None
;
14740 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
14741 SWIG_From_long((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, 0)));
14742 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
14743 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
14750 static PyObject
*_wrap_MouseEvent_GetLogicalPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14751 PyObject
*resultobj
;
14752 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14755 PyObject
* obj0
= 0 ;
14756 PyObject
* obj1
= 0 ;
14757 char *kwnames
[] = {
14758 (char *) "self",(char *) "dc", NULL
14761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_GetLogicalPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
14762 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14763 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14764 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
14765 SWIG_POINTER_EXCEPTION
| 0)) == -1)
14767 if (arg2
== NULL
) {
14768 PyErr_SetString(PyExc_TypeError
,"null reference");
14772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14773 result
= ((wxMouseEvent
const *)arg1
)->GetLogicalPosition((wxDC
const &)*arg2
);
14775 wxPyEndAllowThreads(__tstate
);
14776 if (PyErr_Occurred()) SWIG_fail
;
14779 wxPoint
* resultptr
;
14780 resultptr
= new wxPoint((wxPoint
&) result
);
14781 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
14789 static PyObject
*_wrap_MouseEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14790 PyObject
*resultobj
;
14791 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14793 PyObject
* obj0
= 0 ;
14794 char *kwnames
[] = {
14795 (char *) "self", NULL
14798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetX",kwnames
,&obj0
)) goto fail
;
14799 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14800 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14803 result
= (int)((wxMouseEvent
const *)arg1
)->GetX();
14805 wxPyEndAllowThreads(__tstate
);
14806 if (PyErr_Occurred()) SWIG_fail
;
14808 resultobj
= SWIG_From_int((int)result
);
14815 static PyObject
*_wrap_MouseEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14816 PyObject
*resultobj
;
14817 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14819 PyObject
* obj0
= 0 ;
14820 char *kwnames
[] = {
14821 (char *) "self", NULL
14824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetY",kwnames
,&obj0
)) goto fail
;
14825 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14826 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14829 result
= (int)((wxMouseEvent
const *)arg1
)->GetY();
14831 wxPyEndAllowThreads(__tstate
);
14832 if (PyErr_Occurred()) SWIG_fail
;
14834 resultobj
= SWIG_From_int((int)result
);
14841 static PyObject
*_wrap_MouseEvent_GetWheelRotation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14842 PyObject
*resultobj
;
14843 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14845 PyObject
* obj0
= 0 ;
14846 char *kwnames
[] = {
14847 (char *) "self", NULL
14850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelRotation",kwnames
,&obj0
)) goto fail
;
14851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14855 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelRotation();
14857 wxPyEndAllowThreads(__tstate
);
14858 if (PyErr_Occurred()) SWIG_fail
;
14860 resultobj
= SWIG_From_int((int)result
);
14867 static PyObject
*_wrap_MouseEvent_GetWheelDelta(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14868 PyObject
*resultobj
;
14869 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14871 PyObject
* obj0
= 0 ;
14872 char *kwnames
[] = {
14873 (char *) "self", NULL
14876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelDelta",kwnames
,&obj0
)) goto fail
;
14877 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14878 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14881 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelDelta();
14883 wxPyEndAllowThreads(__tstate
);
14884 if (PyErr_Occurred()) SWIG_fail
;
14886 resultobj
= SWIG_From_int((int)result
);
14893 static PyObject
*_wrap_MouseEvent_GetLinesPerAction(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14894 PyObject
*resultobj
;
14895 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14897 PyObject
* obj0
= 0 ;
14898 char *kwnames
[] = {
14899 (char *) "self", NULL
14902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetLinesPerAction",kwnames
,&obj0
)) goto fail
;
14903 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14904 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14907 result
= (int)((wxMouseEvent
const *)arg1
)->GetLinesPerAction();
14909 wxPyEndAllowThreads(__tstate
);
14910 if (PyErr_Occurred()) SWIG_fail
;
14912 resultobj
= SWIG_From_int((int)result
);
14919 static PyObject
*_wrap_MouseEvent_IsPageScroll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14920 PyObject
*resultobj
;
14921 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14923 PyObject
* obj0
= 0 ;
14924 char *kwnames
[] = {
14925 (char *) "self", NULL
14928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsPageScroll",kwnames
,&obj0
)) goto fail
;
14929 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14930 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14933 result
= (bool)((wxMouseEvent
const *)arg1
)->IsPageScroll();
14935 wxPyEndAllowThreads(__tstate
);
14936 if (PyErr_Occurred()) SWIG_fail
;
14939 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14947 static PyObject
*_wrap_MouseEvent_m_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14948 PyObject
*resultobj
;
14949 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14951 PyObject
* obj0
= 0 ;
14952 PyObject
* obj1
= 0 ;
14953 char *kwnames
[] = {
14954 (char *) "self",(char *) "m_x", NULL
14957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14958 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14960 arg2
= (int)SWIG_As_int(obj1
);
14961 if (PyErr_Occurred()) SWIG_fail
;
14962 if (arg1
) (arg1
)->m_x
= arg2
;
14964 Py_INCREF(Py_None
); resultobj
= Py_None
;
14971 static PyObject
*_wrap_MouseEvent_m_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14972 PyObject
*resultobj
;
14973 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14975 PyObject
* obj0
= 0 ;
14976 char *kwnames
[] = {
14977 (char *) "self", NULL
14980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
14981 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14983 result
= (int) ((arg1
)->m_x
);
14985 resultobj
= SWIG_From_int((int)result
);
14992 static PyObject
*_wrap_MouseEvent_m_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14993 PyObject
*resultobj
;
14994 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14996 PyObject
* obj0
= 0 ;
14997 PyObject
* obj1
= 0 ;
14998 char *kwnames
[] = {
14999 (char *) "self",(char *) "m_y", NULL
15002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15003 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15004 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15005 arg2
= (int)SWIG_As_int(obj1
);
15006 if (PyErr_Occurred()) SWIG_fail
;
15007 if (arg1
) (arg1
)->m_y
= arg2
;
15009 Py_INCREF(Py_None
); resultobj
= Py_None
;
15016 static PyObject
*_wrap_MouseEvent_m_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15017 PyObject
*resultobj
;
15018 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15020 PyObject
* obj0
= 0 ;
15021 char *kwnames
[] = {
15022 (char *) "self", NULL
15025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
15026 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15027 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15028 result
= (int) ((arg1
)->m_y
);
15030 resultobj
= SWIG_From_int((int)result
);
15037 static PyObject
*_wrap_MouseEvent_m_leftDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15038 PyObject
*resultobj
;
15039 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15041 PyObject
* obj0
= 0 ;
15042 PyObject
* obj1
= 0 ;
15043 char *kwnames
[] = {
15044 (char *) "self",(char *) "m_leftDown", NULL
15047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_leftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15048 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15049 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15050 arg2
= (bool)SWIG_As_bool(obj1
);
15051 if (PyErr_Occurred()) SWIG_fail
;
15052 if (arg1
) (arg1
)->m_leftDown
= arg2
;
15054 Py_INCREF(Py_None
); resultobj
= Py_None
;
15061 static PyObject
*_wrap_MouseEvent_m_leftDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15062 PyObject
*resultobj
;
15063 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15065 PyObject
* obj0
= 0 ;
15066 char *kwnames
[] = {
15067 (char *) "self", NULL
15070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_leftDown_get",kwnames
,&obj0
)) goto fail
;
15071 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15072 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15073 result
= (bool) ((arg1
)->m_leftDown
);
15076 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15084 static PyObject
*_wrap_MouseEvent_m_middleDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15085 PyObject
*resultobj
;
15086 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15088 PyObject
* obj0
= 0 ;
15089 PyObject
* obj1
= 0 ;
15090 char *kwnames
[] = {
15091 (char *) "self",(char *) "m_middleDown", NULL
15094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_middleDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15095 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15096 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15097 arg2
= (bool)SWIG_As_bool(obj1
);
15098 if (PyErr_Occurred()) SWIG_fail
;
15099 if (arg1
) (arg1
)->m_middleDown
= arg2
;
15101 Py_INCREF(Py_None
); resultobj
= Py_None
;
15108 static PyObject
*_wrap_MouseEvent_m_middleDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15109 PyObject
*resultobj
;
15110 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15112 PyObject
* obj0
= 0 ;
15113 char *kwnames
[] = {
15114 (char *) "self", NULL
15117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_middleDown_get",kwnames
,&obj0
)) goto fail
;
15118 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15119 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15120 result
= (bool) ((arg1
)->m_middleDown
);
15123 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15131 static PyObject
*_wrap_MouseEvent_m_rightDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15132 PyObject
*resultobj
;
15133 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15135 PyObject
* obj0
= 0 ;
15136 PyObject
* obj1
= 0 ;
15137 char *kwnames
[] = {
15138 (char *) "self",(char *) "m_rightDown", NULL
15141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_rightDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15142 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15143 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15144 arg2
= (bool)SWIG_As_bool(obj1
);
15145 if (PyErr_Occurred()) SWIG_fail
;
15146 if (arg1
) (arg1
)->m_rightDown
= arg2
;
15148 Py_INCREF(Py_None
); resultobj
= Py_None
;
15155 static PyObject
*_wrap_MouseEvent_m_rightDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15156 PyObject
*resultobj
;
15157 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15159 PyObject
* obj0
= 0 ;
15160 char *kwnames
[] = {
15161 (char *) "self", NULL
15164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_rightDown_get",kwnames
,&obj0
)) goto fail
;
15165 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15166 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15167 result
= (bool) ((arg1
)->m_rightDown
);
15170 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15178 static PyObject
*_wrap_MouseEvent_m_controlDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15179 PyObject
*resultobj
;
15180 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15182 PyObject
* obj0
= 0 ;
15183 PyObject
* obj1
= 0 ;
15184 char *kwnames
[] = {
15185 (char *) "self",(char *) "m_controlDown", NULL
15188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15189 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15190 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15191 arg2
= (bool)SWIG_As_bool(obj1
);
15192 if (PyErr_Occurred()) SWIG_fail
;
15193 if (arg1
) (arg1
)->m_controlDown
= arg2
;
15195 Py_INCREF(Py_None
); resultobj
= Py_None
;
15202 static PyObject
*_wrap_MouseEvent_m_controlDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15203 PyObject
*resultobj
;
15204 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15206 PyObject
* obj0
= 0 ;
15207 char *kwnames
[] = {
15208 (char *) "self", NULL
15211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
15212 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15213 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15214 result
= (bool) ((arg1
)->m_controlDown
);
15217 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15225 static PyObject
*_wrap_MouseEvent_m_shiftDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15226 PyObject
*resultobj
;
15227 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15229 PyObject
* obj0
= 0 ;
15230 PyObject
* obj1
= 0 ;
15231 char *kwnames
[] = {
15232 (char *) "self",(char *) "m_shiftDown", NULL
15235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15236 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15238 arg2
= (bool)SWIG_As_bool(obj1
);
15239 if (PyErr_Occurred()) SWIG_fail
;
15240 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
15242 Py_INCREF(Py_None
); resultobj
= Py_None
;
15249 static PyObject
*_wrap_MouseEvent_m_shiftDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15250 PyObject
*resultobj
;
15251 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15253 PyObject
* obj0
= 0 ;
15254 char *kwnames
[] = {
15255 (char *) "self", NULL
15258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
15259 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15260 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15261 result
= (bool) ((arg1
)->m_shiftDown
);
15264 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15272 static PyObject
*_wrap_MouseEvent_m_altDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15273 PyObject
*resultobj
;
15274 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15276 PyObject
* obj0
= 0 ;
15277 PyObject
* obj1
= 0 ;
15278 char *kwnames
[] = {
15279 (char *) "self",(char *) "m_altDown", NULL
15282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15283 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15284 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15285 arg2
= (bool)SWIG_As_bool(obj1
);
15286 if (PyErr_Occurred()) SWIG_fail
;
15287 if (arg1
) (arg1
)->m_altDown
= arg2
;
15289 Py_INCREF(Py_None
); resultobj
= Py_None
;
15296 static PyObject
*_wrap_MouseEvent_m_altDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15297 PyObject
*resultobj
;
15298 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15300 PyObject
* obj0
= 0 ;
15301 char *kwnames
[] = {
15302 (char *) "self", NULL
15305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
15306 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15308 result
= (bool) ((arg1
)->m_altDown
);
15311 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15319 static PyObject
*_wrap_MouseEvent_m_metaDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15320 PyObject
*resultobj
;
15321 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15323 PyObject
* obj0
= 0 ;
15324 PyObject
* obj1
= 0 ;
15325 char *kwnames
[] = {
15326 (char *) "self",(char *) "m_metaDown", NULL
15329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15330 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15331 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15332 arg2
= (bool)SWIG_As_bool(obj1
);
15333 if (PyErr_Occurred()) SWIG_fail
;
15334 if (arg1
) (arg1
)->m_metaDown
= arg2
;
15336 Py_INCREF(Py_None
); resultobj
= Py_None
;
15343 static PyObject
*_wrap_MouseEvent_m_metaDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15344 PyObject
*resultobj
;
15345 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15347 PyObject
* obj0
= 0 ;
15348 char *kwnames
[] = {
15349 (char *) "self", NULL
15352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
15353 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15354 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15355 result
= (bool) ((arg1
)->m_metaDown
);
15358 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15366 static PyObject
*_wrap_MouseEvent_m_wheelRotation_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15367 PyObject
*resultobj
;
15368 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15370 PyObject
* obj0
= 0 ;
15371 PyObject
* obj1
= 0 ;
15372 char *kwnames
[] = {
15373 (char *) "self",(char *) "m_wheelRotation", NULL
15376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_wheelRotation_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15377 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15378 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15379 arg2
= (int)SWIG_As_int(obj1
);
15380 if (PyErr_Occurred()) SWIG_fail
;
15381 if (arg1
) (arg1
)->m_wheelRotation
= arg2
;
15383 Py_INCREF(Py_None
); resultobj
= Py_None
;
15390 static PyObject
*_wrap_MouseEvent_m_wheelRotation_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15391 PyObject
*resultobj
;
15392 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15394 PyObject
* obj0
= 0 ;
15395 char *kwnames
[] = {
15396 (char *) "self", NULL
15399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelRotation_get",kwnames
,&obj0
)) goto fail
;
15400 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15402 result
= (int) ((arg1
)->m_wheelRotation
);
15404 resultobj
= SWIG_From_int((int)result
);
15411 static PyObject
*_wrap_MouseEvent_m_wheelDelta_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15412 PyObject
*resultobj
;
15413 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15415 PyObject
* obj0
= 0 ;
15416 PyObject
* obj1
= 0 ;
15417 char *kwnames
[] = {
15418 (char *) "self",(char *) "m_wheelDelta", NULL
15421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_wheelDelta_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15422 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15423 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15424 arg2
= (int)SWIG_As_int(obj1
);
15425 if (PyErr_Occurred()) SWIG_fail
;
15426 if (arg1
) (arg1
)->m_wheelDelta
= arg2
;
15428 Py_INCREF(Py_None
); resultobj
= Py_None
;
15435 static PyObject
*_wrap_MouseEvent_m_wheelDelta_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15436 PyObject
*resultobj
;
15437 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15439 PyObject
* obj0
= 0 ;
15440 char *kwnames
[] = {
15441 (char *) "self", NULL
15444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelDelta_get",kwnames
,&obj0
)) goto fail
;
15445 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15447 result
= (int) ((arg1
)->m_wheelDelta
);
15449 resultobj
= SWIG_From_int((int)result
);
15456 static PyObject
*_wrap_MouseEvent_m_linesPerAction_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15457 PyObject
*resultobj
;
15458 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15460 PyObject
* obj0
= 0 ;
15461 PyObject
* obj1
= 0 ;
15462 char *kwnames
[] = {
15463 (char *) "self",(char *) "m_linesPerAction", NULL
15466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_linesPerAction_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15469 arg2
= (int)SWIG_As_int(obj1
);
15470 if (PyErr_Occurred()) SWIG_fail
;
15471 if (arg1
) (arg1
)->m_linesPerAction
= arg2
;
15473 Py_INCREF(Py_None
); resultobj
= Py_None
;
15480 static PyObject
*_wrap_MouseEvent_m_linesPerAction_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15481 PyObject
*resultobj
;
15482 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15484 PyObject
* obj0
= 0 ;
15485 char *kwnames
[] = {
15486 (char *) "self", NULL
15489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_linesPerAction_get",kwnames
,&obj0
)) goto fail
;
15490 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15491 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15492 result
= (int) ((arg1
)->m_linesPerAction
);
15494 resultobj
= SWIG_From_int((int)result
);
15501 static PyObject
* MouseEvent_swigregister(PyObject
*, PyObject
*args
) {
15503 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15504 SWIG_TypeClientData(SWIGTYPE_p_wxMouseEvent
, obj
);
15506 return Py_BuildValue((char *)"");
15508 static PyObject
*_wrap_new_SetCursorEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15509 PyObject
*resultobj
;
15510 int arg1
= (int) 0 ;
15511 int arg2
= (int) 0 ;
15512 wxSetCursorEvent
*result
;
15513 PyObject
* obj0
= 0 ;
15514 PyObject
* obj1
= 0 ;
15515 char *kwnames
[] = {
15516 (char *) "x",(char *) "y", NULL
15519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SetCursorEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
15521 arg1
= (int)SWIG_As_int(obj0
);
15522 if (PyErr_Occurred()) SWIG_fail
;
15525 arg2
= (int)SWIG_As_int(obj1
);
15526 if (PyErr_Occurred()) SWIG_fail
;
15529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15530 result
= (wxSetCursorEvent
*)new wxSetCursorEvent(arg1
,arg2
);
15532 wxPyEndAllowThreads(__tstate
);
15533 if (PyErr_Occurred()) SWIG_fail
;
15535 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSetCursorEvent
, 1);
15542 static PyObject
*_wrap_SetCursorEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15543 PyObject
*resultobj
;
15544 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15546 PyObject
* obj0
= 0 ;
15547 char *kwnames
[] = {
15548 (char *) "self", NULL
15551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetX",kwnames
,&obj0
)) goto fail
;
15552 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15556 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetX();
15558 wxPyEndAllowThreads(__tstate
);
15559 if (PyErr_Occurred()) SWIG_fail
;
15561 resultobj
= SWIG_From_int((int)result
);
15568 static PyObject
*_wrap_SetCursorEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15569 PyObject
*resultobj
;
15570 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15572 PyObject
* obj0
= 0 ;
15573 char *kwnames
[] = {
15574 (char *) "self", NULL
15577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetY",kwnames
,&obj0
)) goto fail
;
15578 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15579 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15582 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetY();
15584 wxPyEndAllowThreads(__tstate
);
15585 if (PyErr_Occurred()) SWIG_fail
;
15587 resultobj
= SWIG_From_int((int)result
);
15594 static PyObject
*_wrap_SetCursorEvent_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15595 PyObject
*resultobj
;
15596 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15597 wxCursor
*arg2
= 0 ;
15598 PyObject
* obj0
= 0 ;
15599 PyObject
* obj1
= 0 ;
15600 char *kwnames
[] = {
15601 (char *) "self",(char *) "cursor", NULL
15604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SetCursorEvent_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
15605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15607 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
15608 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15610 if (arg2
== NULL
) {
15611 PyErr_SetString(PyExc_TypeError
,"null reference");
15615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15616 (arg1
)->SetCursor((wxCursor
const &)*arg2
);
15618 wxPyEndAllowThreads(__tstate
);
15619 if (PyErr_Occurred()) SWIG_fail
;
15621 Py_INCREF(Py_None
); resultobj
= Py_None
;
15628 static PyObject
*_wrap_SetCursorEvent_GetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15629 PyObject
*resultobj
;
15630 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15632 PyObject
* obj0
= 0 ;
15633 char *kwnames
[] = {
15634 (char *) "self", NULL
15637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetCursor",kwnames
,&obj0
)) goto fail
;
15638 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15639 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15643 wxCursor
const &_result_ref
= ((wxSetCursorEvent
const *)arg1
)->GetCursor();
15644 result
= (wxCursor
*) &_result_ref
;
15647 wxPyEndAllowThreads(__tstate
);
15648 if (PyErr_Occurred()) SWIG_fail
;
15651 wxCursor
* resultptr
= new wxCursor(*result
);
15652 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxCursor
, 1);
15660 static PyObject
*_wrap_SetCursorEvent_HasCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15661 PyObject
*resultobj
;
15662 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15664 PyObject
* obj0
= 0 ;
15665 char *kwnames
[] = {
15666 (char *) "self", NULL
15669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_HasCursor",kwnames
,&obj0
)) goto fail
;
15670 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15674 result
= (bool)((wxSetCursorEvent
const *)arg1
)->HasCursor();
15676 wxPyEndAllowThreads(__tstate
);
15677 if (PyErr_Occurred()) SWIG_fail
;
15680 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15688 static PyObject
* SetCursorEvent_swigregister(PyObject
*, PyObject
*args
) {
15690 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15691 SWIG_TypeClientData(SWIGTYPE_p_wxSetCursorEvent
, obj
);
15693 return Py_BuildValue((char *)"");
15695 static PyObject
*_wrap_new_KeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15696 PyObject
*resultobj
;
15697 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15698 wxKeyEvent
*result
;
15699 PyObject
* obj0
= 0 ;
15700 char *kwnames
[] = {
15701 (char *) "keyType", NULL
15704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_KeyEvent",kwnames
,&obj0
)) goto fail
;
15706 arg1
= (wxEventType
)SWIG_As_int(obj0
);
15707 if (PyErr_Occurred()) SWIG_fail
;
15710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15711 result
= (wxKeyEvent
*)new wxKeyEvent(arg1
);
15713 wxPyEndAllowThreads(__tstate
);
15714 if (PyErr_Occurred()) SWIG_fail
;
15716 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxKeyEvent
, 1);
15723 static PyObject
*_wrap_KeyEvent_ControlDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15724 PyObject
*resultobj
;
15725 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15727 PyObject
* obj0
= 0 ;
15728 char *kwnames
[] = {
15729 (char *) "self", NULL
15732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
15733 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15737 result
= (bool)((wxKeyEvent
const *)arg1
)->ControlDown();
15739 wxPyEndAllowThreads(__tstate
);
15740 if (PyErr_Occurred()) SWIG_fail
;
15743 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15751 static PyObject
*_wrap_KeyEvent_MetaDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15752 PyObject
*resultobj
;
15753 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15755 PyObject
* obj0
= 0 ;
15756 char *kwnames
[] = {
15757 (char *) "self", NULL
15760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
15761 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15765 result
= (bool)((wxKeyEvent
const *)arg1
)->MetaDown();
15767 wxPyEndAllowThreads(__tstate
);
15768 if (PyErr_Occurred()) SWIG_fail
;
15771 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15779 static PyObject
*_wrap_KeyEvent_AltDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15780 PyObject
*resultobj
;
15781 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15783 PyObject
* obj0
= 0 ;
15784 char *kwnames
[] = {
15785 (char *) "self", NULL
15788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_AltDown",kwnames
,&obj0
)) goto fail
;
15789 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15793 result
= (bool)((wxKeyEvent
const *)arg1
)->AltDown();
15795 wxPyEndAllowThreads(__tstate
);
15796 if (PyErr_Occurred()) SWIG_fail
;
15799 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15807 static PyObject
*_wrap_KeyEvent_ShiftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15808 PyObject
*resultobj
;
15809 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15811 PyObject
* obj0
= 0 ;
15812 char *kwnames
[] = {
15813 (char *) "self", NULL
15816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
15817 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15818 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15821 result
= (bool)((wxKeyEvent
const *)arg1
)->ShiftDown();
15823 wxPyEndAllowThreads(__tstate
);
15824 if (PyErr_Occurred()) SWIG_fail
;
15827 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15835 static PyObject
*_wrap_KeyEvent_CmdDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15836 PyObject
*resultobj
;
15837 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15839 PyObject
* obj0
= 0 ;
15840 char *kwnames
[] = {
15841 (char *) "self", NULL
15844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_CmdDown",kwnames
,&obj0
)) goto fail
;
15845 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15849 result
= (bool)((wxKeyEvent
const *)arg1
)->CmdDown();
15851 wxPyEndAllowThreads(__tstate
);
15852 if (PyErr_Occurred()) SWIG_fail
;
15855 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15863 static PyObject
*_wrap_KeyEvent_HasModifiers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15864 PyObject
*resultobj
;
15865 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15867 PyObject
* obj0
= 0 ;
15868 char *kwnames
[] = {
15869 (char *) "self", NULL
15872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_HasModifiers",kwnames
,&obj0
)) goto fail
;
15873 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15874 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15877 result
= (bool)((wxKeyEvent
const *)arg1
)->HasModifiers();
15879 wxPyEndAllowThreads(__tstate
);
15880 if (PyErr_Occurred()) SWIG_fail
;
15883 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15891 static PyObject
*_wrap_KeyEvent_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15892 PyObject
*resultobj
;
15893 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15895 PyObject
* obj0
= 0 ;
15896 char *kwnames
[] = {
15897 (char *) "self", NULL
15900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
15901 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15902 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15905 result
= (int)((wxKeyEvent
const *)arg1
)->GetKeyCode();
15907 wxPyEndAllowThreads(__tstate
);
15908 if (PyErr_Occurred()) SWIG_fail
;
15910 resultobj
= SWIG_From_int((int)result
);
15917 static PyObject
*_wrap_KeyEvent_GetUnicodeKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15918 PyObject
*resultobj
;
15919 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15921 PyObject
* obj0
= 0 ;
15922 char *kwnames
[] = {
15923 (char *) "self", NULL
15926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetUnicodeKey",kwnames
,&obj0
)) goto fail
;
15927 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15931 result
= (int)wxKeyEvent_GetUnicodeKey(arg1
);
15933 wxPyEndAllowThreads(__tstate
);
15934 if (PyErr_Occurred()) SWIG_fail
;
15936 resultobj
= SWIG_From_int((int)result
);
15943 static PyObject
*_wrap_KeyEvent_GetRawKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15944 PyObject
*resultobj
;
15945 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15946 unsigned int result
;
15947 PyObject
* obj0
= 0 ;
15948 char *kwnames
[] = {
15949 (char *) "self", NULL
15952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyCode",kwnames
,&obj0
)) goto fail
;
15953 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15954 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15957 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyCode();
15959 wxPyEndAllowThreads(__tstate
);
15960 if (PyErr_Occurred()) SWIG_fail
;
15962 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)result
);
15969 static PyObject
*_wrap_KeyEvent_GetRawKeyFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15970 PyObject
*resultobj
;
15971 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15972 unsigned int result
;
15973 PyObject
* obj0
= 0 ;
15974 char *kwnames
[] = {
15975 (char *) "self", NULL
15978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyFlags",kwnames
,&obj0
)) goto fail
;
15979 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15980 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15983 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyFlags();
15985 wxPyEndAllowThreads(__tstate
);
15986 if (PyErr_Occurred()) SWIG_fail
;
15988 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)result
);
15995 static PyObject
*_wrap_KeyEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15996 PyObject
*resultobj
;
15997 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15999 PyObject
* obj0
= 0 ;
16000 char *kwnames
[] = {
16001 (char *) "self", NULL
16004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
16005 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16009 result
= (arg1
)->GetPosition();
16011 wxPyEndAllowThreads(__tstate
);
16012 if (PyErr_Occurred()) SWIG_fail
;
16015 wxPoint
* resultptr
;
16016 resultptr
= new wxPoint((wxPoint
&) result
);
16017 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
16025 static PyObject
*_wrap_KeyEvent_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16026 PyObject
*resultobj
;
16027 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16028 long *arg2
= (long *) 0 ;
16029 long *arg3
= (long *) 0 ;
16034 PyObject
* obj0
= 0 ;
16035 char *kwnames
[] = {
16036 (char *) "self", NULL
16039 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
16040 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
16041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
16042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16046 (arg1
)->GetPosition(arg2
,arg3
);
16048 wxPyEndAllowThreads(__tstate
);
16049 if (PyErr_Occurred()) SWIG_fail
;
16051 Py_INCREF(Py_None
); resultobj
= Py_None
;
16052 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
16053 SWIG_From_long((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, 0)));
16054 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
16055 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
16062 static PyObject
*_wrap_KeyEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16063 PyObject
*resultobj
;
16064 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16066 PyObject
* obj0
= 0 ;
16067 char *kwnames
[] = {
16068 (char *) "self", NULL
16071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetX",kwnames
,&obj0
)) goto fail
;
16072 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16073 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16076 result
= (int)((wxKeyEvent
const *)arg1
)->GetX();
16078 wxPyEndAllowThreads(__tstate
);
16079 if (PyErr_Occurred()) SWIG_fail
;
16081 resultobj
= SWIG_From_int((int)result
);
16088 static PyObject
*_wrap_KeyEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16089 PyObject
*resultobj
;
16090 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16092 PyObject
* obj0
= 0 ;
16093 char *kwnames
[] = {
16094 (char *) "self", NULL
16097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetY",kwnames
,&obj0
)) goto fail
;
16098 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16102 result
= (int)((wxKeyEvent
const *)arg1
)->GetY();
16104 wxPyEndAllowThreads(__tstate
);
16105 if (PyErr_Occurred()) SWIG_fail
;
16107 resultobj
= SWIG_From_int((int)result
);
16114 static PyObject
*_wrap_KeyEvent_m_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16115 PyObject
*resultobj
;
16116 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16118 PyObject
* obj0
= 0 ;
16119 PyObject
* obj1
= 0 ;
16120 char *kwnames
[] = {
16121 (char *) "self",(char *) "m_x", NULL
16124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16125 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16126 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16127 arg2
= (int)SWIG_As_int(obj1
);
16128 if (PyErr_Occurred()) SWIG_fail
;
16129 if (arg1
) (arg1
)->m_x
= arg2
;
16131 Py_INCREF(Py_None
); resultobj
= Py_None
;
16138 static PyObject
*_wrap_KeyEvent_m_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16139 PyObject
*resultobj
;
16140 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16142 PyObject
* obj0
= 0 ;
16143 char *kwnames
[] = {
16144 (char *) "self", NULL
16147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
16148 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16149 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16150 result
= (int) ((arg1
)->m_x
);
16152 resultobj
= SWIG_From_int((int)result
);
16159 static PyObject
*_wrap_KeyEvent_m_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16160 PyObject
*resultobj
;
16161 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16163 PyObject
* obj0
= 0 ;
16164 PyObject
* obj1
= 0 ;
16165 char *kwnames
[] = {
16166 (char *) "self",(char *) "m_y", NULL
16169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16172 arg2
= (int)SWIG_As_int(obj1
);
16173 if (PyErr_Occurred()) SWIG_fail
;
16174 if (arg1
) (arg1
)->m_y
= arg2
;
16176 Py_INCREF(Py_None
); resultobj
= Py_None
;
16183 static PyObject
*_wrap_KeyEvent_m_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16184 PyObject
*resultobj
;
16185 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16187 PyObject
* obj0
= 0 ;
16188 char *kwnames
[] = {
16189 (char *) "self", NULL
16192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
16193 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16194 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16195 result
= (int) ((arg1
)->m_y
);
16197 resultobj
= SWIG_From_int((int)result
);
16204 static PyObject
*_wrap_KeyEvent_m_keyCode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16205 PyObject
*resultobj
;
16206 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16208 PyObject
* obj0
= 0 ;
16209 PyObject
* obj1
= 0 ;
16210 char *kwnames
[] = {
16211 (char *) "self",(char *) "m_keyCode", NULL
16214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_keyCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16215 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16216 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16217 arg2
= (long)SWIG_As_long(obj1
);
16218 if (PyErr_Occurred()) SWIG_fail
;
16219 if (arg1
) (arg1
)->m_keyCode
= arg2
;
16221 Py_INCREF(Py_None
); resultobj
= Py_None
;
16228 static PyObject
*_wrap_KeyEvent_m_keyCode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16229 PyObject
*resultobj
;
16230 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16232 PyObject
* obj0
= 0 ;
16233 char *kwnames
[] = {
16234 (char *) "self", NULL
16237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_keyCode_get",kwnames
,&obj0
)) goto fail
;
16238 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16239 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16240 result
= (long) ((arg1
)->m_keyCode
);
16242 resultobj
= SWIG_From_long((long)result
);
16249 static PyObject
*_wrap_KeyEvent_m_controlDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16250 PyObject
*resultobj
;
16251 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16253 PyObject
* obj0
= 0 ;
16254 PyObject
* obj1
= 0 ;
16255 char *kwnames
[] = {
16256 (char *) "self",(char *) "m_controlDown", NULL
16259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16260 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16261 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16262 arg2
= (bool)SWIG_As_bool(obj1
);
16263 if (PyErr_Occurred()) SWIG_fail
;
16264 if (arg1
) (arg1
)->m_controlDown
= arg2
;
16266 Py_INCREF(Py_None
); resultobj
= Py_None
;
16273 static PyObject
*_wrap_KeyEvent_m_controlDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16274 PyObject
*resultobj
;
16275 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16277 PyObject
* obj0
= 0 ;
16278 char *kwnames
[] = {
16279 (char *) "self", NULL
16282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
16283 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16284 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16285 result
= (bool) ((arg1
)->m_controlDown
);
16288 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16296 static PyObject
*_wrap_KeyEvent_m_shiftDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16297 PyObject
*resultobj
;
16298 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16300 PyObject
* obj0
= 0 ;
16301 PyObject
* obj1
= 0 ;
16302 char *kwnames
[] = {
16303 (char *) "self",(char *) "m_shiftDown", NULL
16306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16307 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16308 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16309 arg2
= (bool)SWIG_As_bool(obj1
);
16310 if (PyErr_Occurred()) SWIG_fail
;
16311 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
16313 Py_INCREF(Py_None
); resultobj
= Py_None
;
16320 static PyObject
*_wrap_KeyEvent_m_shiftDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16321 PyObject
*resultobj
;
16322 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16324 PyObject
* obj0
= 0 ;
16325 char *kwnames
[] = {
16326 (char *) "self", NULL
16329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
16330 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16331 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16332 result
= (bool) ((arg1
)->m_shiftDown
);
16335 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16343 static PyObject
*_wrap_KeyEvent_m_altDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16344 PyObject
*resultobj
;
16345 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16347 PyObject
* obj0
= 0 ;
16348 PyObject
* obj1
= 0 ;
16349 char *kwnames
[] = {
16350 (char *) "self",(char *) "m_altDown", NULL
16353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16354 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16356 arg2
= (bool)SWIG_As_bool(obj1
);
16357 if (PyErr_Occurred()) SWIG_fail
;
16358 if (arg1
) (arg1
)->m_altDown
= arg2
;
16360 Py_INCREF(Py_None
); resultobj
= Py_None
;
16367 static PyObject
*_wrap_KeyEvent_m_altDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16368 PyObject
*resultobj
;
16369 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16371 PyObject
* obj0
= 0 ;
16372 char *kwnames
[] = {
16373 (char *) "self", NULL
16376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
16377 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16378 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16379 result
= (bool) ((arg1
)->m_altDown
);
16382 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16390 static PyObject
*_wrap_KeyEvent_m_metaDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16391 PyObject
*resultobj
;
16392 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16394 PyObject
* obj0
= 0 ;
16395 PyObject
* obj1
= 0 ;
16396 char *kwnames
[] = {
16397 (char *) "self",(char *) "m_metaDown", NULL
16400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16401 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16402 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16403 arg2
= (bool)SWIG_As_bool(obj1
);
16404 if (PyErr_Occurred()) SWIG_fail
;
16405 if (arg1
) (arg1
)->m_metaDown
= arg2
;
16407 Py_INCREF(Py_None
); resultobj
= Py_None
;
16414 static PyObject
*_wrap_KeyEvent_m_metaDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16415 PyObject
*resultobj
;
16416 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16418 PyObject
* obj0
= 0 ;
16419 char *kwnames
[] = {
16420 (char *) "self", NULL
16423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
16424 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16425 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16426 result
= (bool) ((arg1
)->m_metaDown
);
16429 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16437 static PyObject
*_wrap_KeyEvent_m_scanCode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16438 PyObject
*resultobj
;
16439 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16441 PyObject
* obj0
= 0 ;
16442 PyObject
* obj1
= 0 ;
16443 char *kwnames
[] = {
16444 (char *) "self",(char *) "m_scanCode", NULL
16447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_scanCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16448 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16450 arg2
= (bool)SWIG_As_bool(obj1
);
16451 if (PyErr_Occurred()) SWIG_fail
;
16452 if (arg1
) (arg1
)->m_scanCode
= arg2
;
16454 Py_INCREF(Py_None
); resultobj
= Py_None
;
16461 static PyObject
*_wrap_KeyEvent_m_scanCode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16462 PyObject
*resultobj
;
16463 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16465 PyObject
* obj0
= 0 ;
16466 char *kwnames
[] = {
16467 (char *) "self", NULL
16470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_scanCode_get",kwnames
,&obj0
)) goto fail
;
16471 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16472 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16473 result
= (bool) ((arg1
)->m_scanCode
);
16476 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16484 static PyObject
*_wrap_KeyEvent_m_rawCode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16485 PyObject
*resultobj
;
16486 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16487 unsigned int arg2
;
16488 PyObject
* obj0
= 0 ;
16489 PyObject
* obj1
= 0 ;
16490 char *kwnames
[] = {
16491 (char *) "self",(char *) "m_rawCode", NULL
16494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16495 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16497 arg2
= (unsigned int)SWIG_As_unsigned_SS_int(obj1
);
16498 if (PyErr_Occurred()) SWIG_fail
;
16499 if (arg1
) (arg1
)->m_rawCode
= arg2
;
16501 Py_INCREF(Py_None
); resultobj
= Py_None
;
16508 static PyObject
*_wrap_KeyEvent_m_rawCode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16509 PyObject
*resultobj
;
16510 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16511 unsigned int result
;
16512 PyObject
* obj0
= 0 ;
16513 char *kwnames
[] = {
16514 (char *) "self", NULL
16517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawCode_get",kwnames
,&obj0
)) goto fail
;
16518 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16519 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16520 result
= (unsigned int) ((arg1
)->m_rawCode
);
16522 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)result
);
16529 static PyObject
*_wrap_KeyEvent_m_rawFlags_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16530 PyObject
*resultobj
;
16531 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16532 unsigned int arg2
;
16533 PyObject
* obj0
= 0 ;
16534 PyObject
* obj1
= 0 ;
16535 char *kwnames
[] = {
16536 (char *) "self",(char *) "m_rawFlags", NULL
16539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawFlags_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16540 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16541 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16542 arg2
= (unsigned int)SWIG_As_unsigned_SS_int(obj1
);
16543 if (PyErr_Occurred()) SWIG_fail
;
16544 if (arg1
) (arg1
)->m_rawFlags
= arg2
;
16546 Py_INCREF(Py_None
); resultobj
= Py_None
;
16553 static PyObject
*_wrap_KeyEvent_m_rawFlags_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16554 PyObject
*resultobj
;
16555 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16556 unsigned int result
;
16557 PyObject
* obj0
= 0 ;
16558 char *kwnames
[] = {
16559 (char *) "self", NULL
16562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawFlags_get",kwnames
,&obj0
)) goto fail
;
16563 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16564 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16565 result
= (unsigned int) ((arg1
)->m_rawFlags
);
16567 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)result
);
16574 static PyObject
* KeyEvent_swigregister(PyObject
*, PyObject
*args
) {
16576 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16577 SWIG_TypeClientData(SWIGTYPE_p_wxKeyEvent
, obj
);
16579 return Py_BuildValue((char *)"");
16581 static PyObject
*_wrap_new_SizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16582 PyObject
*resultobj
;
16583 wxSize
const &arg1_defvalue
= wxDefaultSize
;
16584 wxSize
*arg1
= (wxSize
*) &arg1_defvalue
;
16585 int arg2
= (int) 0 ;
16586 wxSizeEvent
*result
;
16588 PyObject
* obj0
= 0 ;
16589 PyObject
* obj1
= 0 ;
16590 char *kwnames
[] = {
16591 (char *) "sz",(char *) "winid", NULL
16594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SizeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16598 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
16602 arg2
= (int)SWIG_As_int(obj1
);
16603 if (PyErr_Occurred()) SWIG_fail
;
16606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16607 result
= (wxSizeEvent
*)new wxSizeEvent((wxSize
const &)*arg1
,arg2
);
16609 wxPyEndAllowThreads(__tstate
);
16610 if (PyErr_Occurred()) SWIG_fail
;
16612 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizeEvent
, 1);
16619 static PyObject
*_wrap_SizeEvent_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16620 PyObject
*resultobj
;
16621 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16623 PyObject
* obj0
= 0 ;
16624 char *kwnames
[] = {
16625 (char *) "self", NULL
16628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetSize",kwnames
,&obj0
)) goto fail
;
16629 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16630 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16633 result
= ((wxSizeEvent
const *)arg1
)->GetSize();
16635 wxPyEndAllowThreads(__tstate
);
16636 if (PyErr_Occurred()) SWIG_fail
;
16639 wxSize
* resultptr
;
16640 resultptr
= new wxSize((wxSize
&) result
);
16641 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16649 static PyObject
*_wrap_SizeEvent_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16650 PyObject
*resultobj
;
16651 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16653 PyObject
* obj0
= 0 ;
16654 char *kwnames
[] = {
16655 (char *) "self", NULL
16658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetRect",kwnames
,&obj0
)) goto fail
;
16659 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16660 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16663 result
= ((wxSizeEvent
const *)arg1
)->GetRect();
16665 wxPyEndAllowThreads(__tstate
);
16666 if (PyErr_Occurred()) SWIG_fail
;
16669 wxRect
* resultptr
;
16670 resultptr
= new wxRect((wxRect
&) result
);
16671 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
16679 static PyObject
*_wrap_SizeEvent_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16680 PyObject
*resultobj
;
16681 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16684 PyObject
* obj0
= 0 ;
16685 PyObject
* obj1
= 0 ;
16686 char *kwnames
[] = {
16687 (char *) "self",(char *) "rect", NULL
16690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
16691 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16692 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16693 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxRect
,
16694 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
16697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16698 (arg1
)->SetRect(arg2
);
16700 wxPyEndAllowThreads(__tstate
);
16701 if (PyErr_Occurred()) SWIG_fail
;
16703 Py_INCREF(Py_None
); resultobj
= Py_None
;
16710 static PyObject
*_wrap_SizeEvent_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16711 PyObject
*resultobj
;
16712 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16715 PyObject
* obj0
= 0 ;
16716 PyObject
* obj1
= 0 ;
16717 char *kwnames
[] = {
16718 (char *) "self",(char *) "size", NULL
16721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
16722 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16723 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16724 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxSize
,
16725 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
16728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16729 wxSizeEvent_SetSize(arg1
,arg2
);
16731 wxPyEndAllowThreads(__tstate
);
16732 if (PyErr_Occurred()) SWIG_fail
;
16734 Py_INCREF(Py_None
); resultobj
= Py_None
;
16741 static PyObject
*_wrap_SizeEvent_m_size_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16742 PyObject
*resultobj
;
16743 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16744 wxSize
*arg2
= (wxSize
*) 0 ;
16745 PyObject
* obj0
= 0 ;
16746 PyObject
* obj1
= 0 ;
16747 char *kwnames
[] = {
16748 (char *) "self",(char *) "m_size", NULL
16751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_size_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16752 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16753 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16754 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSize
,
16755 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16756 if (arg1
) (arg1
)->m_size
= *arg2
;
16758 Py_INCREF(Py_None
); resultobj
= Py_None
;
16765 static PyObject
*_wrap_SizeEvent_m_size_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16766 PyObject
*resultobj
;
16767 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16769 PyObject
* obj0
= 0 ;
16770 char *kwnames
[] = {
16771 (char *) "self", NULL
16774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_size_get",kwnames
,&obj0
)) goto fail
;
16775 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16776 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16777 result
= (wxSize
*)& ((arg1
)->m_size
);
16779 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
16786 static PyObject
*_wrap_SizeEvent_m_rect_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16787 PyObject
*resultobj
;
16788 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16789 wxRect
*arg2
= (wxRect
*) 0 ;
16790 PyObject
* obj0
= 0 ;
16791 PyObject
* obj1
= 0 ;
16792 char *kwnames
[] = {
16793 (char *) "self",(char *) "m_rect", NULL
16796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_rect_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16797 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16799 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRect
,
16800 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16801 if (arg1
) (arg1
)->m_rect
= *arg2
;
16803 Py_INCREF(Py_None
); resultobj
= Py_None
;
16810 static PyObject
*_wrap_SizeEvent_m_rect_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16811 PyObject
*resultobj
;
16812 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16814 PyObject
* obj0
= 0 ;
16815 char *kwnames
[] = {
16816 (char *) "self", NULL
16819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_rect_get",kwnames
,&obj0
)) goto fail
;
16820 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16821 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16822 result
= (wxRect
*)& ((arg1
)->m_rect
);
16824 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
16831 static PyObject
* SizeEvent_swigregister(PyObject
*, PyObject
*args
) {
16833 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16834 SWIG_TypeClientData(SWIGTYPE_p_wxSizeEvent
, obj
);
16836 return Py_BuildValue((char *)"");
16838 static PyObject
*_wrap_new_MoveEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16839 PyObject
*resultobj
;
16840 wxPoint
const &arg1_defvalue
= wxDefaultPosition
;
16841 wxPoint
*arg1
= (wxPoint
*) &arg1_defvalue
;
16842 int arg2
= (int) 0 ;
16843 wxMoveEvent
*result
;
16845 PyObject
* obj0
= 0 ;
16846 PyObject
* obj1
= 0 ;
16847 char *kwnames
[] = {
16848 (char *) "pos",(char *) "winid", NULL
16851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MoveEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16855 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
16859 arg2
= (int)SWIG_As_int(obj1
);
16860 if (PyErr_Occurred()) SWIG_fail
;
16863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16864 result
= (wxMoveEvent
*)new wxMoveEvent((wxPoint
const &)*arg1
,arg2
);
16866 wxPyEndAllowThreads(__tstate
);
16867 if (PyErr_Occurred()) SWIG_fail
;
16869 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMoveEvent
, 1);
16876 static PyObject
*_wrap_MoveEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16877 PyObject
*resultobj
;
16878 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16880 PyObject
* obj0
= 0 ;
16881 char *kwnames
[] = {
16882 (char *) "self", NULL
16885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
16886 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16890 result
= ((wxMoveEvent
const *)arg1
)->GetPosition();
16892 wxPyEndAllowThreads(__tstate
);
16893 if (PyErr_Occurred()) SWIG_fail
;
16896 wxPoint
* resultptr
;
16897 resultptr
= new wxPoint((wxPoint
&) result
);
16898 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
16906 static PyObject
*_wrap_MoveEvent_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16907 PyObject
*resultobj
;
16908 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16910 PyObject
* obj0
= 0 ;
16911 char *kwnames
[] = {
16912 (char *) "self", NULL
16915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetRect",kwnames
,&obj0
)) goto fail
;
16916 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16917 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16920 result
= ((wxMoveEvent
const *)arg1
)->GetRect();
16922 wxPyEndAllowThreads(__tstate
);
16923 if (PyErr_Occurred()) SWIG_fail
;
16926 wxRect
* resultptr
;
16927 resultptr
= new wxRect((wxRect
&) result
);
16928 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
16936 static PyObject
*_wrap_MoveEvent_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16937 PyObject
*resultobj
;
16938 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16941 PyObject
* obj0
= 0 ;
16942 PyObject
* obj1
= 0 ;
16943 char *kwnames
[] = {
16944 (char *) "self",(char *) "rect", NULL
16947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
16948 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16949 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16950 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxRect
,
16951 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
16954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16955 (arg1
)->SetRect(arg2
);
16957 wxPyEndAllowThreads(__tstate
);
16958 if (PyErr_Occurred()) SWIG_fail
;
16960 Py_INCREF(Py_None
); resultobj
= Py_None
;
16967 static PyObject
*_wrap_MoveEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16968 PyObject
*resultobj
;
16969 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16972 PyObject
* obj0
= 0 ;
16973 PyObject
* obj1
= 0 ;
16974 char *kwnames
[] = {
16975 (char *) "self",(char *) "pos", NULL
16978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
16979 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16980 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16981 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxPoint
,
16982 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
16985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16986 wxMoveEvent_SetPosition(arg1
,arg2
);
16988 wxPyEndAllowThreads(__tstate
);
16989 if (PyErr_Occurred()) SWIG_fail
;
16991 Py_INCREF(Py_None
); resultobj
= Py_None
;
16998 static PyObject
*_wrap_MoveEvent_m_pos_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16999 PyObject
*resultobj
;
17000 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
17001 wxPoint
*arg2
= (wxPoint
*) 0 ;
17002 PyObject
* obj0
= 0 ;
17003 PyObject
* obj1
= 0 ;
17004 char *kwnames
[] = {
17005 (char *) "self",(char *) "m_pos", NULL
17008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_m_pos_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
17010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17011 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPoint
,
17012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17013 if (arg1
) (arg1
)->m_pos
= *arg2
;
17015 Py_INCREF(Py_None
); resultobj
= Py_None
;
17022 static PyObject
*_wrap_MoveEvent_m_pos_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17023 PyObject
*resultobj
;
17024 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
17026 PyObject
* obj0
= 0 ;
17027 char *kwnames
[] = {
17028 (char *) "self", NULL
17031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_m_pos_get",kwnames
,&obj0
)) goto fail
;
17032 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
17033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17034 result
= (wxPoint
*)& ((arg1
)->m_pos
);
17036 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
17043 static PyObject
*_wrap_MoveEvent_m_rect_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17044 PyObject
*resultobj
;
17045 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
17046 wxRect
*arg2
= (wxRect
*) 0 ;
17047 PyObject
* obj0
= 0 ;
17048 PyObject
* obj1
= 0 ;
17049 char *kwnames
[] = {
17050 (char *) "self",(char *) "m_rect", NULL
17053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_m_rect_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17054 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
17055 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17056 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRect
,
17057 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17058 if (arg1
) (arg1
)->m_rect
= *arg2
;
17060 Py_INCREF(Py_None
); resultobj
= Py_None
;
17067 static PyObject
*_wrap_MoveEvent_m_rect_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17068 PyObject
*resultobj
;
17069 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
17071 PyObject
* obj0
= 0 ;
17072 char *kwnames
[] = {
17073 (char *) "self", NULL
17076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_m_rect_get",kwnames
,&obj0
)) goto fail
;
17077 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
17078 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17079 result
= (wxRect
*)& ((arg1
)->m_rect
);
17081 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
17088 static PyObject
* MoveEvent_swigregister(PyObject
*, PyObject
*args
) {
17090 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17091 SWIG_TypeClientData(SWIGTYPE_p_wxMoveEvent
, obj
);
17093 return Py_BuildValue((char *)"");
17095 static PyObject
*_wrap_new_PaintEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17096 PyObject
*resultobj
;
17097 int arg1
= (int) 0 ;
17098 wxPaintEvent
*result
;
17099 PyObject
* obj0
= 0 ;
17100 char *kwnames
[] = {
17101 (char *) "Id", NULL
17104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaintEvent",kwnames
,&obj0
)) goto fail
;
17106 arg1
= (int)SWIG_As_int(obj0
);
17107 if (PyErr_Occurred()) SWIG_fail
;
17110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17111 result
= (wxPaintEvent
*)new wxPaintEvent(arg1
);
17113 wxPyEndAllowThreads(__tstate
);
17114 if (PyErr_Occurred()) SWIG_fail
;
17116 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaintEvent
, 1);
17123 static PyObject
* PaintEvent_swigregister(PyObject
*, PyObject
*args
) {
17125 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17126 SWIG_TypeClientData(SWIGTYPE_p_wxPaintEvent
, obj
);
17128 return Py_BuildValue((char *)"");
17130 static PyObject
*_wrap_new_NcPaintEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17131 PyObject
*resultobj
;
17132 int arg1
= (int) 0 ;
17133 wxNcPaintEvent
*result
;
17134 PyObject
* obj0
= 0 ;
17135 char *kwnames
[] = {
17136 (char *) "winid", NULL
17139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_NcPaintEvent",kwnames
,&obj0
)) goto fail
;
17141 arg1
= (int)SWIG_As_int(obj0
);
17142 if (PyErr_Occurred()) SWIG_fail
;
17145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17146 result
= (wxNcPaintEvent
*)new wxNcPaintEvent(arg1
);
17148 wxPyEndAllowThreads(__tstate
);
17149 if (PyErr_Occurred()) SWIG_fail
;
17151 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNcPaintEvent
, 1);
17158 static PyObject
* NcPaintEvent_swigregister(PyObject
*, PyObject
*args
) {
17160 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17161 SWIG_TypeClientData(SWIGTYPE_p_wxNcPaintEvent
, obj
);
17163 return Py_BuildValue((char *)"");
17165 static PyObject
*_wrap_new_EraseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17166 PyObject
*resultobj
;
17167 int arg1
= (int) 0 ;
17168 wxDC
*arg2
= (wxDC
*) (wxDC
*) NULL
;
17169 wxEraseEvent
*result
;
17170 PyObject
* obj0
= 0 ;
17171 PyObject
* obj1
= 0 ;
17172 char *kwnames
[] = {
17173 (char *) "Id",(char *) "dc", NULL
17176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_EraseEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17178 arg1
= (int)SWIG_As_int(obj0
);
17179 if (PyErr_Occurred()) SWIG_fail
;
17182 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
17183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17187 result
= (wxEraseEvent
*)new wxEraseEvent(arg1
,arg2
);
17189 wxPyEndAllowThreads(__tstate
);
17190 if (PyErr_Occurred()) SWIG_fail
;
17192 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEraseEvent
, 1);
17199 static PyObject
*_wrap_EraseEvent_GetDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17200 PyObject
*resultobj
;
17201 wxEraseEvent
*arg1
= (wxEraseEvent
*) 0 ;
17203 PyObject
* obj0
= 0 ;
17204 char *kwnames
[] = {
17205 (char *) "self", NULL
17208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EraseEvent_GetDC",kwnames
,&obj0
)) goto fail
;
17209 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEraseEvent
,
17210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17213 result
= (wxDC
*)((wxEraseEvent
const *)arg1
)->GetDC();
17215 wxPyEndAllowThreads(__tstate
);
17216 if (PyErr_Occurred()) SWIG_fail
;
17219 resultobj
= wxPyMake_wxObject(result
, 0);
17227 static PyObject
* EraseEvent_swigregister(PyObject
*, PyObject
*args
) {
17229 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17230 SWIG_TypeClientData(SWIGTYPE_p_wxEraseEvent
, obj
);
17232 return Py_BuildValue((char *)"");
17234 static PyObject
*_wrap_new_FocusEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17235 PyObject
*resultobj
;
17236 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17237 int arg2
= (int) 0 ;
17238 wxFocusEvent
*result
;
17239 PyObject
* obj0
= 0 ;
17240 PyObject
* obj1
= 0 ;
17241 char *kwnames
[] = {
17242 (char *) "type",(char *) "winid", NULL
17245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FocusEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17247 arg1
= (wxEventType
)SWIG_As_int(obj0
);
17248 if (PyErr_Occurred()) SWIG_fail
;
17251 arg2
= (int)SWIG_As_int(obj1
);
17252 if (PyErr_Occurred()) SWIG_fail
;
17255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17256 result
= (wxFocusEvent
*)new wxFocusEvent(arg1
,arg2
);
17258 wxPyEndAllowThreads(__tstate
);
17259 if (PyErr_Occurred()) SWIG_fail
;
17261 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFocusEvent
, 1);
17268 static PyObject
*_wrap_FocusEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17269 PyObject
*resultobj
;
17270 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
17272 PyObject
* obj0
= 0 ;
17273 char *kwnames
[] = {
17274 (char *) "self", NULL
17277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
17278 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFocusEvent
,
17279 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17282 result
= (wxWindow
*)((wxFocusEvent
const *)arg1
)->GetWindow();
17284 wxPyEndAllowThreads(__tstate
);
17285 if (PyErr_Occurred()) SWIG_fail
;
17288 resultobj
= wxPyMake_wxObject(result
, 0);
17296 static PyObject
*_wrap_FocusEvent_SetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17297 PyObject
*resultobj
;
17298 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
17299 wxWindow
*arg2
= (wxWindow
*) 0 ;
17300 PyObject
* obj0
= 0 ;
17301 PyObject
* obj1
= 0 ;
17302 char *kwnames
[] = {
17303 (char *) "self",(char *) "win", NULL
17306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FocusEvent_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
17307 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFocusEvent
,
17308 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17309 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
17310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17313 (arg1
)->SetWindow(arg2
);
17315 wxPyEndAllowThreads(__tstate
);
17316 if (PyErr_Occurred()) SWIG_fail
;
17318 Py_INCREF(Py_None
); resultobj
= Py_None
;
17325 static PyObject
* FocusEvent_swigregister(PyObject
*, PyObject
*args
) {
17327 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17328 SWIG_TypeClientData(SWIGTYPE_p_wxFocusEvent
, obj
);
17330 return Py_BuildValue((char *)"");
17332 static PyObject
*_wrap_new_ChildFocusEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17333 PyObject
*resultobj
;
17334 wxWindow
*arg1
= (wxWindow
*) NULL
;
17335 wxChildFocusEvent
*result
;
17336 PyObject
* obj0
= 0 ;
17337 char *kwnames
[] = {
17338 (char *) "win", NULL
17341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ChildFocusEvent",kwnames
,&obj0
)) goto fail
;
17343 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
17344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17348 result
= (wxChildFocusEvent
*)new wxChildFocusEvent(arg1
);
17350 wxPyEndAllowThreads(__tstate
);
17351 if (PyErr_Occurred()) SWIG_fail
;
17353 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChildFocusEvent
, 1);
17360 static PyObject
*_wrap_ChildFocusEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17361 PyObject
*resultobj
;
17362 wxChildFocusEvent
*arg1
= (wxChildFocusEvent
*) 0 ;
17364 PyObject
* obj0
= 0 ;
17365 char *kwnames
[] = {
17366 (char *) "self", NULL
17369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ChildFocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
17370 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChildFocusEvent
,
17371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17374 result
= (wxWindow
*)((wxChildFocusEvent
const *)arg1
)->GetWindow();
17376 wxPyEndAllowThreads(__tstate
);
17377 if (PyErr_Occurred()) SWIG_fail
;
17380 resultobj
= wxPyMake_wxObject(result
, 0);
17388 static PyObject
* ChildFocusEvent_swigregister(PyObject
*, PyObject
*args
) {
17390 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17391 SWIG_TypeClientData(SWIGTYPE_p_wxChildFocusEvent
, obj
);
17393 return Py_BuildValue((char *)"");
17395 static PyObject
*_wrap_new_ActivateEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17396 PyObject
*resultobj
;
17397 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17398 bool arg2
= (bool) True
;
17399 int arg3
= (int) 0 ;
17400 wxActivateEvent
*result
;
17401 PyObject
* obj0
= 0 ;
17402 PyObject
* obj1
= 0 ;
17403 PyObject
* obj2
= 0 ;
17404 char *kwnames
[] = {
17405 (char *) "type",(char *) "active",(char *) "Id", NULL
17408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ActivateEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17410 arg1
= (wxEventType
)SWIG_As_int(obj0
);
17411 if (PyErr_Occurred()) SWIG_fail
;
17414 arg2
= (bool)SWIG_As_bool(obj1
);
17415 if (PyErr_Occurred()) SWIG_fail
;
17418 arg3
= (int)SWIG_As_int(obj2
);
17419 if (PyErr_Occurred()) SWIG_fail
;
17422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17423 result
= (wxActivateEvent
*)new wxActivateEvent(arg1
,arg2
,arg3
);
17425 wxPyEndAllowThreads(__tstate
);
17426 if (PyErr_Occurred()) SWIG_fail
;
17428 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxActivateEvent
, 1);
17435 static PyObject
*_wrap_ActivateEvent_GetActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17436 PyObject
*resultobj
;
17437 wxActivateEvent
*arg1
= (wxActivateEvent
*) 0 ;
17439 PyObject
* obj0
= 0 ;
17440 char *kwnames
[] = {
17441 (char *) "self", NULL
17444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ActivateEvent_GetActive",kwnames
,&obj0
)) goto fail
;
17445 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxActivateEvent
,
17446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17449 result
= (bool)((wxActivateEvent
const *)arg1
)->GetActive();
17451 wxPyEndAllowThreads(__tstate
);
17452 if (PyErr_Occurred()) SWIG_fail
;
17455 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17463 static PyObject
* ActivateEvent_swigregister(PyObject
*, PyObject
*args
) {
17465 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17466 SWIG_TypeClientData(SWIGTYPE_p_wxActivateEvent
, obj
);
17468 return Py_BuildValue((char *)"");
17470 static PyObject
*_wrap_new_InitDialogEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17471 PyObject
*resultobj
;
17472 int arg1
= (int) 0 ;
17473 wxInitDialogEvent
*result
;
17474 PyObject
* obj0
= 0 ;
17475 char *kwnames
[] = {
17476 (char *) "Id", NULL
17479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_InitDialogEvent",kwnames
,&obj0
)) goto fail
;
17481 arg1
= (int)SWIG_As_int(obj0
);
17482 if (PyErr_Occurred()) SWIG_fail
;
17485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17486 result
= (wxInitDialogEvent
*)new wxInitDialogEvent(arg1
);
17488 wxPyEndAllowThreads(__tstate
);
17489 if (PyErr_Occurred()) SWIG_fail
;
17491 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxInitDialogEvent
, 1);
17498 static PyObject
* InitDialogEvent_swigregister(PyObject
*, PyObject
*args
) {
17500 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17501 SWIG_TypeClientData(SWIGTYPE_p_wxInitDialogEvent
, obj
);
17503 return Py_BuildValue((char *)"");
17505 static PyObject
*_wrap_new_MenuEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17506 PyObject
*resultobj
;
17507 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17508 int arg2
= (int) 0 ;
17509 wxMenu
*arg3
= (wxMenu
*) NULL
;
17510 wxMenuEvent
*result
;
17511 PyObject
* obj0
= 0 ;
17512 PyObject
* obj1
= 0 ;
17513 PyObject
* obj2
= 0 ;
17514 char *kwnames
[] = {
17515 (char *) "type",(char *) "winid",(char *) "menu", NULL
17518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_MenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17520 arg1
= (wxEventType
)SWIG_As_int(obj0
);
17521 if (PyErr_Occurred()) SWIG_fail
;
17524 arg2
= (int)SWIG_As_int(obj1
);
17525 if (PyErr_Occurred()) SWIG_fail
;
17528 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenu
,
17529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17533 result
= (wxMenuEvent
*)new wxMenuEvent(arg1
,arg2
,arg3
);
17535 wxPyEndAllowThreads(__tstate
);
17536 if (PyErr_Occurred()) SWIG_fail
;
17538 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenuEvent
, 1);
17545 static PyObject
*_wrap_MenuEvent_GetMenuId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17546 PyObject
*resultobj
;
17547 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
17549 PyObject
* obj0
= 0 ;
17550 char *kwnames
[] = {
17551 (char *) "self", NULL
17554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenuId",kwnames
,&obj0
)) goto fail
;
17555 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuEvent
,
17556 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17559 result
= (int)((wxMenuEvent
const *)arg1
)->GetMenuId();
17561 wxPyEndAllowThreads(__tstate
);
17562 if (PyErr_Occurred()) SWIG_fail
;
17564 resultobj
= SWIG_From_int((int)result
);
17571 static PyObject
*_wrap_MenuEvent_IsPopup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17572 PyObject
*resultobj
;
17573 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
17575 PyObject
* obj0
= 0 ;
17576 char *kwnames
[] = {
17577 (char *) "self", NULL
17580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_IsPopup",kwnames
,&obj0
)) goto fail
;
17581 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuEvent
,
17582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17585 result
= (bool)((wxMenuEvent
const *)arg1
)->IsPopup();
17587 wxPyEndAllowThreads(__tstate
);
17588 if (PyErr_Occurred()) SWIG_fail
;
17591 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17599 static PyObject
*_wrap_MenuEvent_GetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17600 PyObject
*resultobj
;
17601 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
17603 PyObject
* obj0
= 0 ;
17604 char *kwnames
[] = {
17605 (char *) "self", NULL
17608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenu",kwnames
,&obj0
)) goto fail
;
17609 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuEvent
,
17610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17613 result
= (wxMenu
*)((wxMenuEvent
const *)arg1
)->GetMenu();
17615 wxPyEndAllowThreads(__tstate
);
17616 if (PyErr_Occurred()) SWIG_fail
;
17619 resultobj
= wxPyMake_wxObject(result
, 0);
17627 static PyObject
* MenuEvent_swigregister(PyObject
*, PyObject
*args
) {
17629 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17630 SWIG_TypeClientData(SWIGTYPE_p_wxMenuEvent
, obj
);
17632 return Py_BuildValue((char *)"");
17634 static PyObject
*_wrap_new_CloseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17635 PyObject
*resultobj
;
17636 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17637 int arg2
= (int) 0 ;
17638 wxCloseEvent
*result
;
17639 PyObject
* obj0
= 0 ;
17640 PyObject
* obj1
= 0 ;
17641 char *kwnames
[] = {
17642 (char *) "type",(char *) "winid", NULL
17645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CloseEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17647 arg1
= (wxEventType
)SWIG_As_int(obj0
);
17648 if (PyErr_Occurred()) SWIG_fail
;
17651 arg2
= (int)SWIG_As_int(obj1
);
17652 if (PyErr_Occurred()) SWIG_fail
;
17655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17656 result
= (wxCloseEvent
*)new wxCloseEvent(arg1
,arg2
);
17658 wxPyEndAllowThreads(__tstate
);
17659 if (PyErr_Occurred()) SWIG_fail
;
17661 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCloseEvent
, 1);
17668 static PyObject
*_wrap_CloseEvent_SetLoggingOff(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17669 PyObject
*resultobj
;
17670 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17672 PyObject
* obj0
= 0 ;
17673 PyObject
* obj1
= 0 ;
17674 char *kwnames
[] = {
17675 (char *) "self",(char *) "logOff", NULL
17678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetLoggingOff",kwnames
,&obj0
,&obj1
)) goto fail
;
17679 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17680 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17681 arg2
= (bool)SWIG_As_bool(obj1
);
17682 if (PyErr_Occurred()) SWIG_fail
;
17684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17685 (arg1
)->SetLoggingOff(arg2
);
17687 wxPyEndAllowThreads(__tstate
);
17688 if (PyErr_Occurred()) SWIG_fail
;
17690 Py_INCREF(Py_None
); resultobj
= Py_None
;
17697 static PyObject
*_wrap_CloseEvent_GetLoggingOff(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17698 PyObject
*resultobj
;
17699 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17701 PyObject
* obj0
= 0 ;
17702 char *kwnames
[] = {
17703 (char *) "self", NULL
17706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetLoggingOff",kwnames
,&obj0
)) goto fail
;
17707 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17708 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17711 result
= (bool)((wxCloseEvent
const *)arg1
)->GetLoggingOff();
17713 wxPyEndAllowThreads(__tstate
);
17714 if (PyErr_Occurred()) SWIG_fail
;
17717 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17725 static PyObject
*_wrap_CloseEvent_Veto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17726 PyObject
*resultobj
;
17727 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17728 bool arg2
= (bool) True
;
17729 PyObject
* obj0
= 0 ;
17730 PyObject
* obj1
= 0 ;
17731 char *kwnames
[] = {
17732 (char *) "self",(char *) "veto", NULL
17735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CloseEvent_Veto",kwnames
,&obj0
,&obj1
)) goto fail
;
17736 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17737 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17739 arg2
= (bool)SWIG_As_bool(obj1
);
17740 if (PyErr_Occurred()) SWIG_fail
;
17743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17744 (arg1
)->Veto(arg2
);
17746 wxPyEndAllowThreads(__tstate
);
17747 if (PyErr_Occurred()) SWIG_fail
;
17749 Py_INCREF(Py_None
); resultobj
= Py_None
;
17756 static PyObject
*_wrap_CloseEvent_SetCanVeto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17757 PyObject
*resultobj
;
17758 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17760 PyObject
* obj0
= 0 ;
17761 PyObject
* obj1
= 0 ;
17762 char *kwnames
[] = {
17763 (char *) "self",(char *) "canVeto", NULL
17766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetCanVeto",kwnames
,&obj0
,&obj1
)) goto fail
;
17767 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17768 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17769 arg2
= (bool)SWIG_As_bool(obj1
);
17770 if (PyErr_Occurred()) SWIG_fail
;
17772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17773 (arg1
)->SetCanVeto(arg2
);
17775 wxPyEndAllowThreads(__tstate
);
17776 if (PyErr_Occurred()) SWIG_fail
;
17778 Py_INCREF(Py_None
); resultobj
= Py_None
;
17785 static PyObject
*_wrap_CloseEvent_CanVeto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17786 PyObject
*resultobj
;
17787 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17789 PyObject
* obj0
= 0 ;
17790 char *kwnames
[] = {
17791 (char *) "self", NULL
17794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_CanVeto",kwnames
,&obj0
)) goto fail
;
17795 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17796 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17799 result
= (bool)((wxCloseEvent
const *)arg1
)->CanVeto();
17801 wxPyEndAllowThreads(__tstate
);
17802 if (PyErr_Occurred()) SWIG_fail
;
17805 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17813 static PyObject
*_wrap_CloseEvent_GetVeto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17814 PyObject
*resultobj
;
17815 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17817 PyObject
* obj0
= 0 ;
17818 char *kwnames
[] = {
17819 (char *) "self", NULL
17822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetVeto",kwnames
,&obj0
)) goto fail
;
17823 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17824 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17827 result
= (bool)((wxCloseEvent
const *)arg1
)->GetVeto();
17829 wxPyEndAllowThreads(__tstate
);
17830 if (PyErr_Occurred()) SWIG_fail
;
17833 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17841 static PyObject
* CloseEvent_swigregister(PyObject
*, PyObject
*args
) {
17843 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17844 SWIG_TypeClientData(SWIGTYPE_p_wxCloseEvent
, obj
);
17846 return Py_BuildValue((char *)"");
17848 static PyObject
*_wrap_new_ShowEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17849 PyObject
*resultobj
;
17850 int arg1
= (int) 0 ;
17851 bool arg2
= (bool) False
;
17852 wxShowEvent
*result
;
17853 PyObject
* obj0
= 0 ;
17854 PyObject
* obj1
= 0 ;
17855 char *kwnames
[] = {
17856 (char *) "winid",(char *) "show", NULL
17859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ShowEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17861 arg1
= (int)SWIG_As_int(obj0
);
17862 if (PyErr_Occurred()) SWIG_fail
;
17865 arg2
= (bool)SWIG_As_bool(obj1
);
17866 if (PyErr_Occurred()) SWIG_fail
;
17869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17870 result
= (wxShowEvent
*)new wxShowEvent(arg1
,arg2
);
17872 wxPyEndAllowThreads(__tstate
);
17873 if (PyErr_Occurred()) SWIG_fail
;
17875 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxShowEvent
, 1);
17882 static PyObject
*_wrap_ShowEvent_SetShow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17883 PyObject
*resultobj
;
17884 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
17886 PyObject
* obj0
= 0 ;
17887 PyObject
* obj1
= 0 ;
17888 char *kwnames
[] = {
17889 (char *) "self",(char *) "show", NULL
17892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ShowEvent_SetShow",kwnames
,&obj0
,&obj1
)) goto fail
;
17893 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShowEvent
,
17894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17895 arg2
= (bool)SWIG_As_bool(obj1
);
17896 if (PyErr_Occurred()) SWIG_fail
;
17898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17899 (arg1
)->SetShow(arg2
);
17901 wxPyEndAllowThreads(__tstate
);
17902 if (PyErr_Occurred()) SWIG_fail
;
17904 Py_INCREF(Py_None
); resultobj
= Py_None
;
17911 static PyObject
*_wrap_ShowEvent_GetShow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17912 PyObject
*resultobj
;
17913 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
17915 PyObject
* obj0
= 0 ;
17916 char *kwnames
[] = {
17917 (char *) "self", NULL
17920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShowEvent_GetShow",kwnames
,&obj0
)) goto fail
;
17921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShowEvent
,
17922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17925 result
= (bool)((wxShowEvent
const *)arg1
)->GetShow();
17927 wxPyEndAllowThreads(__tstate
);
17928 if (PyErr_Occurred()) SWIG_fail
;
17931 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17939 static PyObject
* ShowEvent_swigregister(PyObject
*, PyObject
*args
) {
17941 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17942 SWIG_TypeClientData(SWIGTYPE_p_wxShowEvent
, obj
);
17944 return Py_BuildValue((char *)"");
17946 static PyObject
*_wrap_new_IconizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17947 PyObject
*resultobj
;
17948 int arg1
= (int) 0 ;
17949 bool arg2
= (bool) True
;
17950 wxIconizeEvent
*result
;
17951 PyObject
* obj0
= 0 ;
17952 PyObject
* obj1
= 0 ;
17953 char *kwnames
[] = {
17954 (char *) "id",(char *) "iconized", NULL
17957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconizeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17959 arg1
= (int)SWIG_As_int(obj0
);
17960 if (PyErr_Occurred()) SWIG_fail
;
17963 arg2
= (bool)SWIG_As_bool(obj1
);
17964 if (PyErr_Occurred()) SWIG_fail
;
17967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17968 result
= (wxIconizeEvent
*)new wxIconizeEvent(arg1
,arg2
);
17970 wxPyEndAllowThreads(__tstate
);
17971 if (PyErr_Occurred()) SWIG_fail
;
17973 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconizeEvent
, 1);
17980 static PyObject
*_wrap_IconizeEvent_Iconized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17981 PyObject
*resultobj
;
17982 wxIconizeEvent
*arg1
= (wxIconizeEvent
*) 0 ;
17984 PyObject
* obj0
= 0 ;
17985 char *kwnames
[] = {
17986 (char *) "self", NULL
17989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconizeEvent_Iconized",kwnames
,&obj0
)) goto fail
;
17990 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconizeEvent
,
17991 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17994 result
= (bool)(arg1
)->Iconized();
17996 wxPyEndAllowThreads(__tstate
);
17997 if (PyErr_Occurred()) SWIG_fail
;
18000 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18008 static PyObject
* IconizeEvent_swigregister(PyObject
*, PyObject
*args
) {
18010 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18011 SWIG_TypeClientData(SWIGTYPE_p_wxIconizeEvent
, obj
);
18013 return Py_BuildValue((char *)"");
18015 static PyObject
*_wrap_new_MaximizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18016 PyObject
*resultobj
;
18017 int arg1
= (int) 0 ;
18018 wxMaximizeEvent
*result
;
18019 PyObject
* obj0
= 0 ;
18020 char *kwnames
[] = {
18021 (char *) "id", NULL
18024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MaximizeEvent",kwnames
,&obj0
)) goto fail
;
18026 arg1
= (int)SWIG_As_int(obj0
);
18027 if (PyErr_Occurred()) SWIG_fail
;
18030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18031 result
= (wxMaximizeEvent
*)new wxMaximizeEvent(arg1
);
18033 wxPyEndAllowThreads(__tstate
);
18034 if (PyErr_Occurred()) SWIG_fail
;
18036 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMaximizeEvent
, 1);
18043 static PyObject
* MaximizeEvent_swigregister(PyObject
*, PyObject
*args
) {
18045 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18046 SWIG_TypeClientData(SWIGTYPE_p_wxMaximizeEvent
, obj
);
18048 return Py_BuildValue((char *)"");
18050 static PyObject
*_wrap_DropFilesEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18051 PyObject
*resultobj
;
18052 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
18054 PyObject
* obj0
= 0 ;
18055 char *kwnames
[] = {
18056 (char *) "self", NULL
18059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
18060 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDropFilesEvent
,
18061 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18064 result
= (arg1
)->GetPosition();
18066 wxPyEndAllowThreads(__tstate
);
18067 if (PyErr_Occurred()) SWIG_fail
;
18070 wxPoint
* resultptr
;
18071 resultptr
= new wxPoint((wxPoint
&) result
);
18072 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
18080 static PyObject
*_wrap_DropFilesEvent_GetNumberOfFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18081 PyObject
*resultobj
;
18082 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
18084 PyObject
* obj0
= 0 ;
18085 char *kwnames
[] = {
18086 (char *) "self", NULL
18089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetNumberOfFiles",kwnames
,&obj0
)) goto fail
;
18090 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDropFilesEvent
,
18091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18094 result
= (int)(arg1
)->GetNumberOfFiles();
18096 wxPyEndAllowThreads(__tstate
);
18097 if (PyErr_Occurred()) SWIG_fail
;
18099 resultobj
= SWIG_From_int((int)result
);
18106 static PyObject
*_wrap_DropFilesEvent_GetFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18107 PyObject
*resultobj
;
18108 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
18110 PyObject
* obj0
= 0 ;
18111 char *kwnames
[] = {
18112 (char *) "self", NULL
18115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetFiles",kwnames
,&obj0
)) goto fail
;
18116 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDropFilesEvent
,
18117 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18120 result
= (PyObject
*)wxDropFilesEvent_GetFiles(arg1
);
18122 wxPyEndAllowThreads(__tstate
);
18123 if (PyErr_Occurred()) SWIG_fail
;
18125 resultobj
= result
;
18132 static PyObject
* DropFilesEvent_swigregister(PyObject
*, PyObject
*args
) {
18134 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18135 SWIG_TypeClientData(SWIGTYPE_p_wxDropFilesEvent
, obj
);
18137 return Py_BuildValue((char *)"");
18139 static PyObject
*_wrap_new_UpdateUIEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18140 PyObject
*resultobj
;
18141 int arg1
= (int) 0 ;
18142 wxUpdateUIEvent
*result
;
18143 PyObject
* obj0
= 0 ;
18144 char *kwnames
[] = {
18145 (char *) "commandId", NULL
18148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_UpdateUIEvent",kwnames
,&obj0
)) goto fail
;
18150 arg1
= (int)SWIG_As_int(obj0
);
18151 if (PyErr_Occurred()) SWIG_fail
;
18154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18155 result
= (wxUpdateUIEvent
*)new wxUpdateUIEvent(arg1
);
18157 wxPyEndAllowThreads(__tstate
);
18158 if (PyErr_Occurred()) SWIG_fail
;
18160 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxUpdateUIEvent
, 1);
18167 static PyObject
*_wrap_UpdateUIEvent_GetChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18168 PyObject
*resultobj
;
18169 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18171 PyObject
* obj0
= 0 ;
18172 char *kwnames
[] = {
18173 (char *) "self", NULL
18176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetChecked",kwnames
,&obj0
)) goto fail
;
18177 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18178 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18181 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetChecked();
18183 wxPyEndAllowThreads(__tstate
);
18184 if (PyErr_Occurred()) SWIG_fail
;
18187 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18195 static PyObject
*_wrap_UpdateUIEvent_GetEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18196 PyObject
*resultobj
;
18197 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18199 PyObject
* obj0
= 0 ;
18200 char *kwnames
[] = {
18201 (char *) "self", NULL
18204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetEnabled",kwnames
,&obj0
)) goto fail
;
18205 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18209 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetEnabled();
18211 wxPyEndAllowThreads(__tstate
);
18212 if (PyErr_Occurred()) SWIG_fail
;
18215 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18223 static PyObject
*_wrap_UpdateUIEvent_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18224 PyObject
*resultobj
;
18225 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18227 PyObject
* obj0
= 0 ;
18228 char *kwnames
[] = {
18229 (char *) "self", NULL
18232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetText",kwnames
,&obj0
)) goto fail
;
18233 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18234 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18237 result
= ((wxUpdateUIEvent
const *)arg1
)->GetText();
18239 wxPyEndAllowThreads(__tstate
);
18240 if (PyErr_Occurred()) SWIG_fail
;
18244 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18246 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18255 static PyObject
*_wrap_UpdateUIEvent_GetSetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18256 PyObject
*resultobj
;
18257 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18259 PyObject
* obj0
= 0 ;
18260 char *kwnames
[] = {
18261 (char *) "self", NULL
18264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetText",kwnames
,&obj0
)) goto fail
;
18265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18269 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetText();
18271 wxPyEndAllowThreads(__tstate
);
18272 if (PyErr_Occurred()) SWIG_fail
;
18275 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18283 static PyObject
*_wrap_UpdateUIEvent_GetSetChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18284 PyObject
*resultobj
;
18285 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18287 PyObject
* obj0
= 0 ;
18288 char *kwnames
[] = {
18289 (char *) "self", NULL
18292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetChecked",kwnames
,&obj0
)) goto fail
;
18293 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18294 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18297 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetChecked();
18299 wxPyEndAllowThreads(__tstate
);
18300 if (PyErr_Occurred()) SWIG_fail
;
18303 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18311 static PyObject
*_wrap_UpdateUIEvent_GetSetEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18312 PyObject
*resultobj
;
18313 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18315 PyObject
* obj0
= 0 ;
18316 char *kwnames
[] = {
18317 (char *) "self", NULL
18320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetEnabled",kwnames
,&obj0
)) goto fail
;
18321 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18322 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18325 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetEnabled();
18327 wxPyEndAllowThreads(__tstate
);
18328 if (PyErr_Occurred()) SWIG_fail
;
18331 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18339 static PyObject
*_wrap_UpdateUIEvent_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18340 PyObject
*resultobj
;
18341 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18343 PyObject
* obj0
= 0 ;
18344 PyObject
* obj1
= 0 ;
18345 char *kwnames
[] = {
18346 (char *) "self",(char *) "check", NULL
18349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
18350 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18351 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18352 arg2
= (bool)SWIG_As_bool(obj1
);
18353 if (PyErr_Occurred()) SWIG_fail
;
18355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18356 (arg1
)->Check(arg2
);
18358 wxPyEndAllowThreads(__tstate
);
18359 if (PyErr_Occurred()) SWIG_fail
;
18361 Py_INCREF(Py_None
); resultobj
= Py_None
;
18368 static PyObject
*_wrap_UpdateUIEvent_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18369 PyObject
*resultobj
;
18370 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18372 PyObject
* obj0
= 0 ;
18373 PyObject
* obj1
= 0 ;
18374 char *kwnames
[] = {
18375 (char *) "self",(char *) "enable", NULL
18378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
18379 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18380 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18381 arg2
= (bool)SWIG_As_bool(obj1
);
18382 if (PyErr_Occurred()) SWIG_fail
;
18384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18385 (arg1
)->Enable(arg2
);
18387 wxPyEndAllowThreads(__tstate
);
18388 if (PyErr_Occurred()) SWIG_fail
;
18390 Py_INCREF(Py_None
); resultobj
= Py_None
;
18397 static PyObject
*_wrap_UpdateUIEvent_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18398 PyObject
*resultobj
;
18399 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18400 wxString
*arg2
= 0 ;
18401 bool temp2
= False
;
18402 PyObject
* obj0
= 0 ;
18403 PyObject
* obj1
= 0 ;
18404 char *kwnames
[] = {
18405 (char *) "self",(char *) "text", NULL
18408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
18409 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18410 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18412 arg2
= wxString_in_helper(obj1
);
18413 if (arg2
== NULL
) SWIG_fail
;
18417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18418 (arg1
)->SetText((wxString
const &)*arg2
);
18420 wxPyEndAllowThreads(__tstate
);
18421 if (PyErr_Occurred()) SWIG_fail
;
18423 Py_INCREF(Py_None
); resultobj
= Py_None
;
18438 static PyObject
*_wrap_UpdateUIEvent_SetUpdateInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18439 PyObject
*resultobj
;
18441 PyObject
* obj0
= 0 ;
18442 char *kwnames
[] = {
18443 (char *) "updateInterval", NULL
18446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetUpdateInterval",kwnames
,&obj0
)) goto fail
;
18447 arg1
= (long)SWIG_As_long(obj0
);
18448 if (PyErr_Occurred()) SWIG_fail
;
18450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18451 wxUpdateUIEvent::SetUpdateInterval(arg1
);
18453 wxPyEndAllowThreads(__tstate
);
18454 if (PyErr_Occurred()) SWIG_fail
;
18456 Py_INCREF(Py_None
); resultobj
= Py_None
;
18463 static PyObject
*_wrap_UpdateUIEvent_GetUpdateInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18464 PyObject
*resultobj
;
18466 char *kwnames
[] = {
18470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetUpdateInterval",kwnames
)) goto fail
;
18472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18473 result
= (long)wxUpdateUIEvent::GetUpdateInterval();
18475 wxPyEndAllowThreads(__tstate
);
18476 if (PyErr_Occurred()) SWIG_fail
;
18478 resultobj
= SWIG_From_long((long)result
);
18485 static PyObject
*_wrap_UpdateUIEvent_CanUpdate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18486 PyObject
*resultobj
;
18487 wxWindow
*arg1
= (wxWindow
*) 0 ;
18489 PyObject
* obj0
= 0 ;
18490 char *kwnames
[] = {
18491 (char *) "win", NULL
18494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_CanUpdate",kwnames
,&obj0
)) goto fail
;
18495 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
18496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18499 result
= (bool)wxUpdateUIEvent::CanUpdate(arg1
);
18501 wxPyEndAllowThreads(__tstate
);
18502 if (PyErr_Occurred()) SWIG_fail
;
18505 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18513 static PyObject
*_wrap_UpdateUIEvent_ResetUpdateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18514 PyObject
*resultobj
;
18515 char *kwnames
[] = {
18519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_ResetUpdateTime",kwnames
)) goto fail
;
18521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18522 wxUpdateUIEvent::ResetUpdateTime();
18524 wxPyEndAllowThreads(__tstate
);
18525 if (PyErr_Occurred()) SWIG_fail
;
18527 Py_INCREF(Py_None
); resultobj
= Py_None
;
18534 static PyObject
*_wrap_UpdateUIEvent_SetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18535 PyObject
*resultobj
;
18537 PyObject
* obj0
= 0 ;
18538 char *kwnames
[] = {
18539 (char *) "mode", NULL
18542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetMode",kwnames
,&obj0
)) goto fail
;
18543 arg1
= (int)SWIG_As_int(obj0
);
18544 if (PyErr_Occurred()) SWIG_fail
;
18546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18547 wxUpdateUIEvent::SetMode((wxUpdateUIMode
)arg1
);
18549 wxPyEndAllowThreads(__tstate
);
18550 if (PyErr_Occurred()) SWIG_fail
;
18552 Py_INCREF(Py_None
); resultobj
= Py_None
;
18559 static PyObject
*_wrap_UpdateUIEvent_GetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18560 PyObject
*resultobj
;
18562 char *kwnames
[] = {
18566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetMode",kwnames
)) goto fail
;
18568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18569 result
= (int)wxUpdateUIEvent::GetMode();
18571 wxPyEndAllowThreads(__tstate
);
18572 if (PyErr_Occurred()) SWIG_fail
;
18574 resultobj
= SWIG_From_int((int)result
);
18581 static PyObject
* UpdateUIEvent_swigregister(PyObject
*, PyObject
*args
) {
18583 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18584 SWIG_TypeClientData(SWIGTYPE_p_wxUpdateUIEvent
, obj
);
18586 return Py_BuildValue((char *)"");
18588 static PyObject
*_wrap_new_SysColourChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18589 PyObject
*resultobj
;
18590 wxSysColourChangedEvent
*result
;
18591 char *kwnames
[] = {
18595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SysColourChangedEvent",kwnames
)) goto fail
;
18597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18598 result
= (wxSysColourChangedEvent
*)new wxSysColourChangedEvent();
18600 wxPyEndAllowThreads(__tstate
);
18601 if (PyErr_Occurred()) SWIG_fail
;
18603 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSysColourChangedEvent
, 1);
18610 static PyObject
* SysColourChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
18612 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18613 SWIG_TypeClientData(SWIGTYPE_p_wxSysColourChangedEvent
, obj
);
18615 return Py_BuildValue((char *)"");
18617 static PyObject
*_wrap_new_MouseCaptureChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18618 PyObject
*resultobj
;
18619 int arg1
= (int) 0 ;
18620 wxWindow
*arg2
= (wxWindow
*) NULL
;
18621 wxMouseCaptureChangedEvent
*result
;
18622 PyObject
* obj0
= 0 ;
18623 PyObject
* obj1
= 0 ;
18624 char *kwnames
[] = {
18625 (char *) "winid",(char *) "gainedCapture", NULL
18628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MouseCaptureChangedEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
18630 arg1
= (int)SWIG_As_int(obj0
);
18631 if (PyErr_Occurred()) SWIG_fail
;
18634 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
18635 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18639 result
= (wxMouseCaptureChangedEvent
*)new wxMouseCaptureChangedEvent(arg1
,arg2
);
18641 wxPyEndAllowThreads(__tstate
);
18642 if (PyErr_Occurred()) SWIG_fail
;
18644 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMouseCaptureChangedEvent
, 1);
18651 static PyObject
*_wrap_MouseCaptureChangedEvent_GetCapturedWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18652 PyObject
*resultobj
;
18653 wxMouseCaptureChangedEvent
*arg1
= (wxMouseCaptureChangedEvent
*) 0 ;
18655 PyObject
* obj0
= 0 ;
18656 char *kwnames
[] = {
18657 (char *) "self", NULL
18660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseCaptureChangedEvent_GetCapturedWindow",kwnames
,&obj0
)) goto fail
;
18661 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseCaptureChangedEvent
,
18662 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18665 result
= (wxWindow
*)((wxMouseCaptureChangedEvent
const *)arg1
)->GetCapturedWindow();
18667 wxPyEndAllowThreads(__tstate
);
18668 if (PyErr_Occurred()) SWIG_fail
;
18671 resultobj
= wxPyMake_wxObject(result
, 0);
18679 static PyObject
* MouseCaptureChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
18681 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18682 SWIG_TypeClientData(SWIGTYPE_p_wxMouseCaptureChangedEvent
, obj
);
18684 return Py_BuildValue((char *)"");
18686 static PyObject
*_wrap_new_DisplayChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18687 PyObject
*resultobj
;
18688 wxDisplayChangedEvent
*result
;
18689 char *kwnames
[] = {
18693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DisplayChangedEvent",kwnames
)) goto fail
;
18695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18696 result
= (wxDisplayChangedEvent
*)new wxDisplayChangedEvent();
18698 wxPyEndAllowThreads(__tstate
);
18699 if (PyErr_Occurred()) SWIG_fail
;
18701 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDisplayChangedEvent
, 1);
18708 static PyObject
* DisplayChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
18710 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18711 SWIG_TypeClientData(SWIGTYPE_p_wxDisplayChangedEvent
, obj
);
18713 return Py_BuildValue((char *)"");
18715 static PyObject
*_wrap_new_PaletteChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18716 PyObject
*resultobj
;
18717 int arg1
= (int) 0 ;
18718 wxPaletteChangedEvent
*result
;
18719 PyObject
* obj0
= 0 ;
18720 char *kwnames
[] = {
18721 (char *) "id", NULL
18724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaletteChangedEvent",kwnames
,&obj0
)) goto fail
;
18726 arg1
= (int)SWIG_As_int(obj0
);
18727 if (PyErr_Occurred()) SWIG_fail
;
18730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18731 result
= (wxPaletteChangedEvent
*)new wxPaletteChangedEvent(arg1
);
18733 wxPyEndAllowThreads(__tstate
);
18734 if (PyErr_Occurred()) SWIG_fail
;
18736 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaletteChangedEvent
, 1);
18743 static PyObject
*_wrap_PaletteChangedEvent_SetChangedWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18744 PyObject
*resultobj
;
18745 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
18746 wxWindow
*arg2
= (wxWindow
*) 0 ;
18747 PyObject
* obj0
= 0 ;
18748 PyObject
* obj1
= 0 ;
18749 char *kwnames
[] = {
18750 (char *) "self",(char *) "win", NULL
18753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PaletteChangedEvent_SetChangedWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
18754 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPaletteChangedEvent
,
18755 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18756 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
18757 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18760 (arg1
)->SetChangedWindow(arg2
);
18762 wxPyEndAllowThreads(__tstate
);
18763 if (PyErr_Occurred()) SWIG_fail
;
18765 Py_INCREF(Py_None
); resultobj
= Py_None
;
18772 static PyObject
*_wrap_PaletteChangedEvent_GetChangedWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18773 PyObject
*resultobj
;
18774 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
18776 PyObject
* obj0
= 0 ;
18777 char *kwnames
[] = {
18778 (char *) "self", NULL
18781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PaletteChangedEvent_GetChangedWindow",kwnames
,&obj0
)) goto fail
;
18782 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPaletteChangedEvent
,
18783 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18786 result
= (wxWindow
*)(arg1
)->GetChangedWindow();
18788 wxPyEndAllowThreads(__tstate
);
18789 if (PyErr_Occurred()) SWIG_fail
;
18792 resultobj
= wxPyMake_wxObject(result
, 0);
18800 static PyObject
* PaletteChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
18802 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18803 SWIG_TypeClientData(SWIGTYPE_p_wxPaletteChangedEvent
, obj
);
18805 return Py_BuildValue((char *)"");
18807 static PyObject
*_wrap_new_QueryNewPaletteEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18808 PyObject
*resultobj
;
18809 int arg1
= (int) 0 ;
18810 wxQueryNewPaletteEvent
*result
;
18811 PyObject
* obj0
= 0 ;
18812 char *kwnames
[] = {
18813 (char *) "winid", NULL
18816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryNewPaletteEvent",kwnames
,&obj0
)) goto fail
;
18818 arg1
= (int)SWIG_As_int(obj0
);
18819 if (PyErr_Occurred()) SWIG_fail
;
18822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18823 result
= (wxQueryNewPaletteEvent
*)new wxQueryNewPaletteEvent(arg1
);
18825 wxPyEndAllowThreads(__tstate
);
18826 if (PyErr_Occurred()) SWIG_fail
;
18828 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxQueryNewPaletteEvent
, 1);
18835 static PyObject
*_wrap_QueryNewPaletteEvent_SetPaletteRealized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18836 PyObject
*resultobj
;
18837 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
18839 PyObject
* obj0
= 0 ;
18840 PyObject
* obj1
= 0 ;
18841 char *kwnames
[] = {
18842 (char *) "self",(char *) "realized", NULL
18845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryNewPaletteEvent_SetPaletteRealized",kwnames
,&obj0
,&obj1
)) goto fail
;
18846 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryNewPaletteEvent
,
18847 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18848 arg2
= (bool)SWIG_As_bool(obj1
);
18849 if (PyErr_Occurred()) SWIG_fail
;
18851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18852 (arg1
)->SetPaletteRealized(arg2
);
18854 wxPyEndAllowThreads(__tstate
);
18855 if (PyErr_Occurred()) SWIG_fail
;
18857 Py_INCREF(Py_None
); resultobj
= Py_None
;
18864 static PyObject
*_wrap_QueryNewPaletteEvent_GetPaletteRealized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18865 PyObject
*resultobj
;
18866 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
18868 PyObject
* obj0
= 0 ;
18869 char *kwnames
[] = {
18870 (char *) "self", NULL
18873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryNewPaletteEvent_GetPaletteRealized",kwnames
,&obj0
)) goto fail
;
18874 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryNewPaletteEvent
,
18875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18878 result
= (bool)((wxQueryNewPaletteEvent
const *)arg1
)->GetPaletteRealized();
18880 wxPyEndAllowThreads(__tstate
);
18881 if (PyErr_Occurred()) SWIG_fail
;
18884 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18892 static PyObject
* QueryNewPaletteEvent_swigregister(PyObject
*, PyObject
*args
) {
18894 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18895 SWIG_TypeClientData(SWIGTYPE_p_wxQueryNewPaletteEvent
, obj
);
18897 return Py_BuildValue((char *)"");
18899 static PyObject
*_wrap_new_NavigationKeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18900 PyObject
*resultobj
;
18901 wxNavigationKeyEvent
*result
;
18902 char *kwnames
[] = {
18906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NavigationKeyEvent",kwnames
)) goto fail
;
18908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18909 result
= (wxNavigationKeyEvent
*)new wxNavigationKeyEvent();
18911 wxPyEndAllowThreads(__tstate
);
18912 if (PyErr_Occurred()) SWIG_fail
;
18914 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNavigationKeyEvent
, 1);
18921 static PyObject
*_wrap_NavigationKeyEvent_GetDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18922 PyObject
*resultobj
;
18923 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18925 PyObject
* obj0
= 0 ;
18926 char *kwnames
[] = {
18927 (char *) "self", NULL
18930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetDirection",kwnames
,&obj0
)) goto fail
;
18931 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18935 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->GetDirection();
18937 wxPyEndAllowThreads(__tstate
);
18938 if (PyErr_Occurred()) SWIG_fail
;
18941 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18949 static PyObject
*_wrap_NavigationKeyEvent_SetDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18950 PyObject
*resultobj
;
18951 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18953 PyObject
* obj0
= 0 ;
18954 PyObject
* obj1
= 0 ;
18955 char *kwnames
[] = {
18956 (char *) "self",(char *) "forward", NULL
18959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetDirection",kwnames
,&obj0
,&obj1
)) goto fail
;
18960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18962 arg2
= (bool)SWIG_As_bool(obj1
);
18963 if (PyErr_Occurred()) SWIG_fail
;
18965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18966 (arg1
)->SetDirection(arg2
);
18968 wxPyEndAllowThreads(__tstate
);
18969 if (PyErr_Occurred()) SWIG_fail
;
18971 Py_INCREF(Py_None
); resultobj
= Py_None
;
18978 static PyObject
*_wrap_NavigationKeyEvent_IsWindowChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18979 PyObject
*resultobj
;
18980 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18982 PyObject
* obj0
= 0 ;
18983 char *kwnames
[] = {
18984 (char *) "self", NULL
18987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_IsWindowChange",kwnames
,&obj0
)) goto fail
;
18988 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18992 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->IsWindowChange();
18994 wxPyEndAllowThreads(__tstate
);
18995 if (PyErr_Occurred()) SWIG_fail
;
18998 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19006 static PyObject
*_wrap_NavigationKeyEvent_SetWindowChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19007 PyObject
*resultobj
;
19008 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
19010 PyObject
* obj0
= 0 ;
19011 PyObject
* obj1
= 0 ;
19012 char *kwnames
[] = {
19013 (char *) "self",(char *) "ischange", NULL
19016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetWindowChange",kwnames
,&obj0
,&obj1
)) goto fail
;
19017 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
19018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19019 arg2
= (bool)SWIG_As_bool(obj1
);
19020 if (PyErr_Occurred()) SWIG_fail
;
19022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19023 (arg1
)->SetWindowChange(arg2
);
19025 wxPyEndAllowThreads(__tstate
);
19026 if (PyErr_Occurred()) SWIG_fail
;
19028 Py_INCREF(Py_None
); resultobj
= Py_None
;
19035 static PyObject
*_wrap_NavigationKeyEvent_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19036 PyObject
*resultobj
;
19037 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
19039 PyObject
* obj0
= 0 ;
19040 PyObject
* obj1
= 0 ;
19041 char *kwnames
[] = {
19042 (char *) "self",(char *) "flags", NULL
19045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
19046 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
19047 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19048 arg2
= (long)SWIG_As_long(obj1
);
19049 if (PyErr_Occurred()) SWIG_fail
;
19051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19052 (arg1
)->SetFlags(arg2
);
19054 wxPyEndAllowThreads(__tstate
);
19055 if (PyErr_Occurred()) SWIG_fail
;
19057 Py_INCREF(Py_None
); resultobj
= Py_None
;
19064 static PyObject
*_wrap_NavigationKeyEvent_GetCurrentFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19065 PyObject
*resultobj
;
19066 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
19068 PyObject
* obj0
= 0 ;
19069 char *kwnames
[] = {
19070 (char *) "self", NULL
19073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetCurrentFocus",kwnames
,&obj0
)) goto fail
;
19074 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
19075 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19078 result
= (wxWindow
*)((wxNavigationKeyEvent
const *)arg1
)->GetCurrentFocus();
19080 wxPyEndAllowThreads(__tstate
);
19081 if (PyErr_Occurred()) SWIG_fail
;
19084 resultobj
= wxPyMake_wxObject(result
, 0);
19092 static PyObject
*_wrap_NavigationKeyEvent_SetCurrentFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19093 PyObject
*resultobj
;
19094 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
19095 wxWindow
*arg2
= (wxWindow
*) 0 ;
19096 PyObject
* obj0
= 0 ;
19097 PyObject
* obj1
= 0 ;
19098 char *kwnames
[] = {
19099 (char *) "self",(char *) "win", NULL
19102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetCurrentFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
19103 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
19104 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19105 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
19106 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19109 (arg1
)->SetCurrentFocus(arg2
);
19111 wxPyEndAllowThreads(__tstate
);
19112 if (PyErr_Occurred()) SWIG_fail
;
19114 Py_INCREF(Py_None
); resultobj
= Py_None
;
19121 static PyObject
* NavigationKeyEvent_swigregister(PyObject
*, PyObject
*args
) {
19123 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19124 SWIG_TypeClientData(SWIGTYPE_p_wxNavigationKeyEvent
, obj
);
19126 return Py_BuildValue((char *)"");
19128 static PyObject
*_wrap_new_WindowCreateEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19129 PyObject
*resultobj
;
19130 wxWindow
*arg1
= (wxWindow
*) NULL
;
19131 wxWindowCreateEvent
*result
;
19132 PyObject
* obj0
= 0 ;
19133 char *kwnames
[] = {
19134 (char *) "win", NULL
19137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowCreateEvent",kwnames
,&obj0
)) goto fail
;
19139 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
19140 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19144 result
= (wxWindowCreateEvent
*)new wxWindowCreateEvent(arg1
);
19146 wxPyEndAllowThreads(__tstate
);
19147 if (PyErr_Occurred()) SWIG_fail
;
19149 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowCreateEvent
, 1);
19156 static PyObject
*_wrap_WindowCreateEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19157 PyObject
*resultobj
;
19158 wxWindowCreateEvent
*arg1
= (wxWindowCreateEvent
*) 0 ;
19160 PyObject
* obj0
= 0 ;
19161 char *kwnames
[] = {
19162 (char *) "self", NULL
19165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowCreateEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
19166 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindowCreateEvent
,
19167 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19170 result
= (wxWindow
*)((wxWindowCreateEvent
const *)arg1
)->GetWindow();
19172 wxPyEndAllowThreads(__tstate
);
19173 if (PyErr_Occurred()) SWIG_fail
;
19176 resultobj
= wxPyMake_wxObject(result
, 0);
19184 static PyObject
* WindowCreateEvent_swigregister(PyObject
*, PyObject
*args
) {
19186 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19187 SWIG_TypeClientData(SWIGTYPE_p_wxWindowCreateEvent
, obj
);
19189 return Py_BuildValue((char *)"");
19191 static PyObject
*_wrap_new_WindowDestroyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19192 PyObject
*resultobj
;
19193 wxWindow
*arg1
= (wxWindow
*) NULL
;
19194 wxWindowDestroyEvent
*result
;
19195 PyObject
* obj0
= 0 ;
19196 char *kwnames
[] = {
19197 (char *) "win", NULL
19200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDestroyEvent",kwnames
,&obj0
)) goto fail
;
19202 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
19203 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19207 result
= (wxWindowDestroyEvent
*)new wxWindowDestroyEvent(arg1
);
19209 wxPyEndAllowThreads(__tstate
);
19210 if (PyErr_Occurred()) SWIG_fail
;
19212 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDestroyEvent
, 1);
19219 static PyObject
*_wrap_WindowDestroyEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19220 PyObject
*resultobj
;
19221 wxWindowDestroyEvent
*arg1
= (wxWindowDestroyEvent
*) 0 ;
19223 PyObject
* obj0
= 0 ;
19224 char *kwnames
[] = {
19225 (char *) "self", NULL
19228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowDestroyEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
19229 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindowDestroyEvent
,
19230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19233 result
= (wxWindow
*)((wxWindowDestroyEvent
const *)arg1
)->GetWindow();
19235 wxPyEndAllowThreads(__tstate
);
19236 if (PyErr_Occurred()) SWIG_fail
;
19239 resultobj
= wxPyMake_wxObject(result
, 0);
19247 static PyObject
* WindowDestroyEvent_swigregister(PyObject
*, PyObject
*args
) {
19249 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19250 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDestroyEvent
, obj
);
19252 return Py_BuildValue((char *)"");
19254 static PyObject
*_wrap_new_ContextMenuEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19255 PyObject
*resultobj
;
19256 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19257 int arg2
= (int) 0 ;
19258 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
19259 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
19260 wxContextMenuEvent
*result
;
19262 PyObject
* obj0
= 0 ;
19263 PyObject
* obj1
= 0 ;
19264 PyObject
* obj2
= 0 ;
19265 char *kwnames
[] = {
19266 (char *) "type",(char *) "winid",(char *) "pt", NULL
19269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ContextMenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19271 arg1
= (wxEventType
)SWIG_As_int(obj0
);
19272 if (PyErr_Occurred()) SWIG_fail
;
19275 arg2
= (int)SWIG_As_int(obj1
);
19276 if (PyErr_Occurred()) SWIG_fail
;
19281 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19286 result
= (wxContextMenuEvent
*)new wxContextMenuEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
19288 wxPyEndAllowThreads(__tstate
);
19289 if (PyErr_Occurred()) SWIG_fail
;
19291 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextMenuEvent
, 1);
19298 static PyObject
*_wrap_ContextMenuEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19299 PyObject
*resultobj
;
19300 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
19302 PyObject
* obj0
= 0 ;
19303 char *kwnames
[] = {
19304 (char *) "self", NULL
19307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextMenuEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
19308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextMenuEvent
,
19309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19313 wxPoint
const &_result_ref
= ((wxContextMenuEvent
const *)arg1
)->GetPosition();
19314 result
= (wxPoint
*) &_result_ref
;
19317 wxPyEndAllowThreads(__tstate
);
19318 if (PyErr_Occurred()) SWIG_fail
;
19320 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
19327 static PyObject
*_wrap_ContextMenuEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19328 PyObject
*resultobj
;
19329 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
19330 wxPoint
*arg2
= 0 ;
19332 PyObject
* obj0
= 0 ;
19333 PyObject
* obj1
= 0 ;
19334 char *kwnames
[] = {
19335 (char *) "self",(char *) "pos", NULL
19338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ContextMenuEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
19339 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextMenuEvent
,
19340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19343 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19347 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
19349 wxPyEndAllowThreads(__tstate
);
19350 if (PyErr_Occurred()) SWIG_fail
;
19352 Py_INCREF(Py_None
); resultobj
= Py_None
;
19359 static PyObject
* ContextMenuEvent_swigregister(PyObject
*, PyObject
*args
) {
19361 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19362 SWIG_TypeClientData(SWIGTYPE_p_wxContextMenuEvent
, obj
);
19364 return Py_BuildValue((char *)"");
19366 static PyObject
*_wrap_new_IdleEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19367 PyObject
*resultobj
;
19368 wxIdleEvent
*result
;
19369 char *kwnames
[] = {
19373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_IdleEvent",kwnames
)) goto fail
;
19375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19376 result
= (wxIdleEvent
*)new wxIdleEvent();
19378 wxPyEndAllowThreads(__tstate
);
19379 if (PyErr_Occurred()) SWIG_fail
;
19381 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIdleEvent
, 1);
19388 static PyObject
*_wrap_IdleEvent_RequestMore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19389 PyObject
*resultobj
;
19390 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
19391 bool arg2
= (bool) True
;
19392 PyObject
* obj0
= 0 ;
19393 PyObject
* obj1
= 0 ;
19394 char *kwnames
[] = {
19395 (char *) "self",(char *) "needMore", NULL
19398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:IdleEvent_RequestMore",kwnames
,&obj0
,&obj1
)) goto fail
;
19399 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIdleEvent
,
19400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19402 arg2
= (bool)SWIG_As_bool(obj1
);
19403 if (PyErr_Occurred()) SWIG_fail
;
19406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19407 (arg1
)->RequestMore(arg2
);
19409 wxPyEndAllowThreads(__tstate
);
19410 if (PyErr_Occurred()) SWIG_fail
;
19412 Py_INCREF(Py_None
); resultobj
= Py_None
;
19419 static PyObject
*_wrap_IdleEvent_MoreRequested(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19420 PyObject
*resultobj
;
19421 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
19423 PyObject
* obj0
= 0 ;
19424 char *kwnames
[] = {
19425 (char *) "self", NULL
19428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_MoreRequested",kwnames
,&obj0
)) goto fail
;
19429 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIdleEvent
,
19430 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19433 result
= (bool)((wxIdleEvent
const *)arg1
)->MoreRequested();
19435 wxPyEndAllowThreads(__tstate
);
19436 if (PyErr_Occurred()) SWIG_fail
;
19439 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19447 static PyObject
*_wrap_IdleEvent_SetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19448 PyObject
*resultobj
;
19450 PyObject
* obj0
= 0 ;
19451 char *kwnames
[] = {
19452 (char *) "mode", NULL
19455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_SetMode",kwnames
,&obj0
)) goto fail
;
19456 arg1
= (int)SWIG_As_int(obj0
);
19457 if (PyErr_Occurred()) SWIG_fail
;
19459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19460 wxIdleEvent::SetMode((wxIdleMode
)arg1
);
19462 wxPyEndAllowThreads(__tstate
);
19463 if (PyErr_Occurred()) SWIG_fail
;
19465 Py_INCREF(Py_None
); resultobj
= Py_None
;
19472 static PyObject
*_wrap_IdleEvent_GetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19473 PyObject
*resultobj
;
19475 char *kwnames
[] = {
19479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IdleEvent_GetMode",kwnames
)) goto fail
;
19481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19482 result
= (int)wxIdleEvent::GetMode();
19484 wxPyEndAllowThreads(__tstate
);
19485 if (PyErr_Occurred()) SWIG_fail
;
19487 resultobj
= SWIG_From_int((int)result
);
19494 static PyObject
*_wrap_IdleEvent_CanSend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19495 PyObject
*resultobj
;
19496 wxWindow
*arg1
= (wxWindow
*) 0 ;
19498 PyObject
* obj0
= 0 ;
19499 char *kwnames
[] = {
19500 (char *) "win", NULL
19503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_CanSend",kwnames
,&obj0
)) goto fail
;
19504 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
19505 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19508 result
= (bool)wxIdleEvent::CanSend(arg1
);
19510 wxPyEndAllowThreads(__tstate
);
19511 if (PyErr_Occurred()) SWIG_fail
;
19514 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19522 static PyObject
* IdleEvent_swigregister(PyObject
*, PyObject
*args
) {
19524 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19525 SWIG_TypeClientData(SWIGTYPE_p_wxIdleEvent
, obj
);
19527 return Py_BuildValue((char *)"");
19529 static PyObject
*_wrap_new_PyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19530 PyObject
*resultobj
;
19531 int arg1
= (int) 0 ;
19532 wxEventType arg2
= (wxEventType
) wxEVT_NULL
;
19534 PyObject
* obj0
= 0 ;
19535 PyObject
* obj1
= 0 ;
19536 char *kwnames
[] = {
19537 (char *) "winid",(char *) "commandType", NULL
19540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19542 arg1
= (int)SWIG_As_int(obj0
);
19543 if (PyErr_Occurred()) SWIG_fail
;
19546 arg2
= (wxEventType
)SWIG_As_int(obj1
);
19547 if (PyErr_Occurred()) SWIG_fail
;
19550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19551 result
= (wxPyEvent
*)new wxPyEvent(arg1
,arg2
);
19553 wxPyEndAllowThreads(__tstate
);
19554 if (PyErr_Occurred()) SWIG_fail
;
19556 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyEvent
, 1);
19563 static PyObject
*_wrap_delete_PyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19564 PyObject
*resultobj
;
19565 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
19566 PyObject
* obj0
= 0 ;
19567 char *kwnames
[] = {
19568 (char *) "self", NULL
19571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyEvent",kwnames
,&obj0
)) goto fail
;
19572 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEvent
,
19573 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19578 wxPyEndAllowThreads(__tstate
);
19579 if (PyErr_Occurred()) SWIG_fail
;
19581 Py_INCREF(Py_None
); resultobj
= Py_None
;
19588 static PyObject
*_wrap_PyEvent_SetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19589 PyObject
*resultobj
;
19590 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
19591 PyObject
*arg2
= (PyObject
*) 0 ;
19592 PyObject
* obj0
= 0 ;
19593 PyObject
* obj1
= 0 ;
19594 char *kwnames
[] = {
19595 (char *) "self",(char *) "self", NULL
19598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEvent_SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
19599 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEvent
,
19600 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19604 (arg1
)->SetSelf(arg2
);
19606 wxPyEndAllowThreads(__tstate
);
19607 if (PyErr_Occurred()) SWIG_fail
;
19609 Py_INCREF(Py_None
); resultobj
= Py_None
;
19616 static PyObject
*_wrap_PyEvent_GetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19617 PyObject
*resultobj
;
19618 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
19620 PyObject
* obj0
= 0 ;
19621 char *kwnames
[] = {
19622 (char *) "self", NULL
19625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyEvent_GetSelf",kwnames
,&obj0
)) goto fail
;
19626 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEvent
,
19627 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19630 result
= (PyObject
*)(arg1
)->GetSelf();
19632 wxPyEndAllowThreads(__tstate
);
19633 if (PyErr_Occurred()) SWIG_fail
;
19635 resultobj
= result
;
19642 static PyObject
* PyEvent_swigregister(PyObject
*, PyObject
*args
) {
19644 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19645 SWIG_TypeClientData(SWIGTYPE_p_wxPyEvent
, obj
);
19647 return Py_BuildValue((char *)"");
19649 static PyObject
*_wrap_new_PyCommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19650 PyObject
*resultobj
;
19651 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19652 int arg2
= (int) 0 ;
19653 wxPyCommandEvent
*result
;
19654 PyObject
* obj0
= 0 ;
19655 PyObject
* obj1
= 0 ;
19656 char *kwnames
[] = {
19657 (char *) "commandType",(char *) "id", NULL
19660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyCommandEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19662 arg1
= (wxEventType
)SWIG_As_int(obj0
);
19663 if (PyErr_Occurred()) SWIG_fail
;
19666 arg2
= (int)SWIG_As_int(obj1
);
19667 if (PyErr_Occurred()) SWIG_fail
;
19670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19671 result
= (wxPyCommandEvent
*)new wxPyCommandEvent(arg1
,arg2
);
19673 wxPyEndAllowThreads(__tstate
);
19674 if (PyErr_Occurred()) SWIG_fail
;
19676 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyCommandEvent
, 1);
19683 static PyObject
*_wrap_delete_PyCommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19684 PyObject
*resultobj
;
19685 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
19686 PyObject
* obj0
= 0 ;
19687 char *kwnames
[] = {
19688 (char *) "self", NULL
19691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyCommandEvent",kwnames
,&obj0
)) goto fail
;
19692 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCommandEvent
,
19693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19698 wxPyEndAllowThreads(__tstate
);
19699 if (PyErr_Occurred()) SWIG_fail
;
19701 Py_INCREF(Py_None
); resultobj
= Py_None
;
19708 static PyObject
*_wrap_PyCommandEvent_SetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19709 PyObject
*resultobj
;
19710 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
19711 PyObject
*arg2
= (PyObject
*) 0 ;
19712 PyObject
* obj0
= 0 ;
19713 PyObject
* obj1
= 0 ;
19714 char *kwnames
[] = {
19715 (char *) "self",(char *) "self", NULL
19718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCommandEvent_SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
19719 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCommandEvent
,
19720 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19724 (arg1
)->SetSelf(arg2
);
19726 wxPyEndAllowThreads(__tstate
);
19727 if (PyErr_Occurred()) SWIG_fail
;
19729 Py_INCREF(Py_None
); resultobj
= Py_None
;
19736 static PyObject
*_wrap_PyCommandEvent_GetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19737 PyObject
*resultobj
;
19738 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
19740 PyObject
* obj0
= 0 ;
19741 char *kwnames
[] = {
19742 (char *) "self", NULL
19745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCommandEvent_GetSelf",kwnames
,&obj0
)) goto fail
;
19746 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCommandEvent
,
19747 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19750 result
= (PyObject
*)(arg1
)->GetSelf();
19752 wxPyEndAllowThreads(__tstate
);
19753 if (PyErr_Occurred()) SWIG_fail
;
19755 resultobj
= result
;
19762 static PyObject
* PyCommandEvent_swigregister(PyObject
*, PyObject
*args
) {
19764 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19765 SWIG_TypeClientData(SWIGTYPE_p_wxPyCommandEvent
, obj
);
19767 return Py_BuildValue((char *)"");
19769 static PyObject
*_wrap_new_PyApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19770 PyObject
*resultobj
;
19772 char *kwnames
[] = {
19776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyApp",kwnames
)) goto fail
;
19778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19779 result
= (wxPyApp
*)new_wxPyApp();
19781 wxPyEndAllowThreads(__tstate
);
19782 if (PyErr_Occurred()) SWIG_fail
;
19784 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyApp
, 1);
19791 static PyObject
*_wrap_delete_PyApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19792 PyObject
*resultobj
;
19793 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19794 PyObject
* obj0
= 0 ;
19795 char *kwnames
[] = {
19796 (char *) "self", NULL
19799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyApp",kwnames
,&obj0
)) goto fail
;
19800 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19801 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19806 wxPyEndAllowThreads(__tstate
);
19807 if (PyErr_Occurred()) SWIG_fail
;
19809 Py_INCREF(Py_None
); resultobj
= Py_None
;
19816 static PyObject
*_wrap_PyApp__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19817 PyObject
*resultobj
;
19818 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19819 PyObject
*arg2
= (PyObject
*) 0 ;
19820 PyObject
*arg3
= (PyObject
*) 0 ;
19821 PyObject
* obj0
= 0 ;
19822 PyObject
* obj1
= 0 ;
19823 PyObject
* obj2
= 0 ;
19824 char *kwnames
[] = {
19825 (char *) "self",(char *) "self",(char *) "_class", NULL
19828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19829 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19835 (arg1
)->_setCallbackInfo(arg2
,arg3
);
19837 wxPyEndAllowThreads(__tstate
);
19838 if (PyErr_Occurred()) SWIG_fail
;
19840 Py_INCREF(Py_None
); resultobj
= Py_None
;
19847 static PyObject
*_wrap_PyApp_GetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19848 PyObject
*resultobj
;
19849 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19851 PyObject
* obj0
= 0 ;
19852 char *kwnames
[] = {
19853 (char *) "self", NULL
19856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAppName",kwnames
,&obj0
)) goto fail
;
19857 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19861 result
= ((wxPyApp
const *)arg1
)->GetAppName();
19863 wxPyEndAllowThreads(__tstate
);
19864 if (PyErr_Occurred()) SWIG_fail
;
19868 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19870 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19879 static PyObject
*_wrap_PyApp_SetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19880 PyObject
*resultobj
;
19881 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19882 wxString
*arg2
= 0 ;
19883 bool temp2
= False
;
19884 PyObject
* obj0
= 0 ;
19885 PyObject
* obj1
= 0 ;
19886 char *kwnames
[] = {
19887 (char *) "self",(char *) "name", NULL
19890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
;
19891 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19892 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19894 arg2
= wxString_in_helper(obj1
);
19895 if (arg2
== NULL
) SWIG_fail
;
19899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19900 (arg1
)->SetAppName((wxString
const &)*arg2
);
19902 wxPyEndAllowThreads(__tstate
);
19903 if (PyErr_Occurred()) SWIG_fail
;
19905 Py_INCREF(Py_None
); resultobj
= Py_None
;
19920 static PyObject
*_wrap_PyApp_GetClassName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19921 PyObject
*resultobj
;
19922 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19924 PyObject
* obj0
= 0 ;
19925 char *kwnames
[] = {
19926 (char *) "self", NULL
19929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetClassName",kwnames
,&obj0
)) goto fail
;
19930 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19934 result
= ((wxPyApp
const *)arg1
)->GetClassName();
19936 wxPyEndAllowThreads(__tstate
);
19937 if (PyErr_Occurred()) SWIG_fail
;
19941 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19943 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19952 static PyObject
*_wrap_PyApp_SetClassName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19953 PyObject
*resultobj
;
19954 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19955 wxString
*arg2
= 0 ;
19956 bool temp2
= False
;
19957 PyObject
* obj0
= 0 ;
19958 PyObject
* obj1
= 0 ;
19959 char *kwnames
[] = {
19960 (char *) "self",(char *) "name", NULL
19963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetClassName",kwnames
,&obj0
,&obj1
)) goto fail
;
19964 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19965 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19967 arg2
= wxString_in_helper(obj1
);
19968 if (arg2
== NULL
) SWIG_fail
;
19972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19973 (arg1
)->SetClassName((wxString
const &)*arg2
);
19975 wxPyEndAllowThreads(__tstate
);
19976 if (PyErr_Occurred()) SWIG_fail
;
19978 Py_INCREF(Py_None
); resultobj
= Py_None
;
19993 static PyObject
*_wrap_PyApp_GetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19994 PyObject
*resultobj
;
19995 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19997 PyObject
* obj0
= 0 ;
19998 char *kwnames
[] = {
19999 (char *) "self", NULL
20002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetVendorName",kwnames
,&obj0
)) goto fail
;
20003 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20004 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20008 wxString
const &_result_ref
= ((wxPyApp
const *)arg1
)->GetVendorName();
20009 result
= (wxString
*) &_result_ref
;
20012 wxPyEndAllowThreads(__tstate
);
20013 if (PyErr_Occurred()) SWIG_fail
;
20017 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20019 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20028 static PyObject
*_wrap_PyApp_SetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20029 PyObject
*resultobj
;
20030 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20031 wxString
*arg2
= 0 ;
20032 bool temp2
= False
;
20033 PyObject
* obj0
= 0 ;
20034 PyObject
* obj1
= 0 ;
20035 char *kwnames
[] = {
20036 (char *) "self",(char *) "name", NULL
20039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
;
20040 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20041 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20043 arg2
= wxString_in_helper(obj1
);
20044 if (arg2
== NULL
) SWIG_fail
;
20048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20049 (arg1
)->SetVendorName((wxString
const &)*arg2
);
20051 wxPyEndAllowThreads(__tstate
);
20052 if (PyErr_Occurred()) SWIG_fail
;
20054 Py_INCREF(Py_None
); resultobj
= Py_None
;
20069 static PyObject
*_wrap_PyApp_GetTraits(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20070 PyObject
*resultobj
;
20071 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20072 wxAppTraits
*result
;
20073 PyObject
* obj0
= 0 ;
20074 char *kwnames
[] = {
20075 (char *) "self", NULL
20078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTraits",kwnames
,&obj0
)) goto fail
;
20079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20083 result
= (wxAppTraits
*)(arg1
)->GetTraits();
20085 wxPyEndAllowThreads(__tstate
);
20086 if (PyErr_Occurred()) SWIG_fail
;
20088 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAppTraits
, 0);
20095 static PyObject
*_wrap_PyApp_ProcessPendingEvents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20096 PyObject
*resultobj
;
20097 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20098 PyObject
* obj0
= 0 ;
20099 char *kwnames
[] = {
20100 (char *) "self", NULL
20103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
20104 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20105 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20108 (arg1
)->ProcessPendingEvents();
20110 wxPyEndAllowThreads(__tstate
);
20111 if (PyErr_Occurred()) SWIG_fail
;
20113 Py_INCREF(Py_None
); resultobj
= Py_None
;
20120 static PyObject
*_wrap_PyApp_Yield(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20121 PyObject
*resultobj
;
20122 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20123 bool arg2
= (bool) False
;
20125 PyObject
* obj0
= 0 ;
20126 PyObject
* obj1
= 0 ;
20127 char *kwnames
[] = {
20128 (char *) "self",(char *) "onlyIfNeeded", NULL
20131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyApp_Yield",kwnames
,&obj0
,&obj1
)) goto fail
;
20132 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20133 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20135 arg2
= (bool)SWIG_As_bool(obj1
);
20136 if (PyErr_Occurred()) SWIG_fail
;
20139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20140 result
= (bool)(arg1
)->Yield(arg2
);
20142 wxPyEndAllowThreads(__tstate
);
20143 if (PyErr_Occurred()) SWIG_fail
;
20146 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20154 static PyObject
*_wrap_PyApp_WakeUpIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20155 PyObject
*resultobj
;
20156 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20157 PyObject
* obj0
= 0 ;
20158 char *kwnames
[] = {
20159 (char *) "self", NULL
20162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_WakeUpIdle",kwnames
,&obj0
)) goto fail
;
20163 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20164 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20167 (arg1
)->WakeUpIdle();
20169 wxPyEndAllowThreads(__tstate
);
20170 if (PyErr_Occurred()) SWIG_fail
;
20172 Py_INCREF(Py_None
); resultobj
= Py_None
;
20179 static PyObject
*_wrap_PyApp_MainLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20180 PyObject
*resultobj
;
20181 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20183 PyObject
* obj0
= 0 ;
20184 char *kwnames
[] = {
20185 (char *) "self", NULL
20188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_MainLoop",kwnames
,&obj0
)) goto fail
;
20189 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20190 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20193 result
= (int)(arg1
)->MainLoop();
20195 wxPyEndAllowThreads(__tstate
);
20196 if (PyErr_Occurred()) SWIG_fail
;
20198 resultobj
= SWIG_From_int((int)result
);
20205 static PyObject
*_wrap_PyApp_Exit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20206 PyObject
*resultobj
;
20207 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20208 PyObject
* obj0
= 0 ;
20209 char *kwnames
[] = {
20210 (char *) "self", NULL
20213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Exit",kwnames
,&obj0
)) goto fail
;
20214 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20215 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20220 wxPyEndAllowThreads(__tstate
);
20221 if (PyErr_Occurred()) SWIG_fail
;
20223 Py_INCREF(Py_None
); resultobj
= Py_None
;
20230 static PyObject
*_wrap_PyApp_ExitMainLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20231 PyObject
*resultobj
;
20232 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20233 PyObject
* obj0
= 0 ;
20234 char *kwnames
[] = {
20235 (char *) "self", NULL
20238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ExitMainLoop",kwnames
,&obj0
)) goto fail
;
20239 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20240 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20243 (arg1
)->ExitMainLoop();
20245 wxPyEndAllowThreads(__tstate
);
20246 if (PyErr_Occurred()) SWIG_fail
;
20248 Py_INCREF(Py_None
); resultobj
= Py_None
;
20255 static PyObject
*_wrap_PyApp_Pending(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20256 PyObject
*resultobj
;
20257 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20259 PyObject
* obj0
= 0 ;
20260 char *kwnames
[] = {
20261 (char *) "self", NULL
20264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Pending",kwnames
,&obj0
)) goto fail
;
20265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20269 result
= (bool)(arg1
)->Pending();
20271 wxPyEndAllowThreads(__tstate
);
20272 if (PyErr_Occurred()) SWIG_fail
;
20275 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20283 static PyObject
*_wrap_PyApp_Dispatch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20284 PyObject
*resultobj
;
20285 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20287 PyObject
* obj0
= 0 ;
20288 char *kwnames
[] = {
20289 (char *) "self", NULL
20292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Dispatch",kwnames
,&obj0
)) goto fail
;
20293 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20294 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20297 result
= (bool)(arg1
)->Dispatch();
20299 wxPyEndAllowThreads(__tstate
);
20300 if (PyErr_Occurred()) SWIG_fail
;
20303 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20311 static PyObject
*_wrap_PyApp_ProcessIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20312 PyObject
*resultobj
;
20313 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20315 PyObject
* obj0
= 0 ;
20316 char *kwnames
[] = {
20317 (char *) "self", NULL
20320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessIdle",kwnames
,&obj0
)) goto fail
;
20321 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20322 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20325 result
= (bool)(arg1
)->ProcessIdle();
20327 wxPyEndAllowThreads(__tstate
);
20328 if (PyErr_Occurred()) SWIG_fail
;
20331 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20339 static PyObject
*_wrap_PyApp_SendIdleEvents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20340 PyObject
*resultobj
;
20341 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20342 wxWindow
*arg2
= (wxWindow
*) 0 ;
20343 wxIdleEvent
*arg3
= 0 ;
20345 PyObject
* obj0
= 0 ;
20346 PyObject
* obj1
= 0 ;
20347 PyObject
* obj2
= 0 ;
20348 char *kwnames
[] = {
20349 (char *) "self",(char *) "win",(char *) "event", NULL
20352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp_SendIdleEvents",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20353 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20354 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20355 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
20356 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20357 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxIdleEvent
,
20358 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20360 if (arg3
== NULL
) {
20361 PyErr_SetString(PyExc_TypeError
,"null reference");
20365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20366 result
= (bool)(arg1
)->SendIdleEvents(arg2
,*arg3
);
20368 wxPyEndAllowThreads(__tstate
);
20369 if (PyErr_Occurred()) SWIG_fail
;
20372 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20380 static PyObject
*_wrap_PyApp_IsActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20381 PyObject
*resultobj
;
20382 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20384 PyObject
* obj0
= 0 ;
20385 char *kwnames
[] = {
20386 (char *) "self", NULL
20389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_IsActive",kwnames
,&obj0
)) goto fail
;
20390 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20391 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20394 result
= (bool)((wxPyApp
const *)arg1
)->IsActive();
20396 wxPyEndAllowThreads(__tstate
);
20397 if (PyErr_Occurred()) SWIG_fail
;
20400 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20408 static PyObject
*_wrap_PyApp_SetTopWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20409 PyObject
*resultobj
;
20410 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20411 wxWindow
*arg2
= (wxWindow
*) 0 ;
20412 PyObject
* obj0
= 0 ;
20413 PyObject
* obj1
= 0 ;
20414 char *kwnames
[] = {
20415 (char *) "self",(char *) "win", NULL
20418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetTopWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
20419 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20420 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20421 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
20422 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20425 (arg1
)->SetTopWindow(arg2
);
20427 wxPyEndAllowThreads(__tstate
);
20428 if (PyErr_Occurred()) SWIG_fail
;
20430 Py_INCREF(Py_None
); resultobj
= Py_None
;
20437 static PyObject
*_wrap_PyApp_GetTopWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20438 PyObject
*resultobj
;
20439 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20441 PyObject
* obj0
= 0 ;
20442 char *kwnames
[] = {
20443 (char *) "self", NULL
20446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTopWindow",kwnames
,&obj0
)) goto fail
;
20447 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20448 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20451 result
= (wxWindow
*)((wxPyApp
const *)arg1
)->GetTopWindow();
20453 wxPyEndAllowThreads(__tstate
);
20454 if (PyErr_Occurred()) SWIG_fail
;
20457 resultobj
= wxPyMake_wxObject(result
, 0);
20465 static PyObject
*_wrap_PyApp_SetExitOnFrameDelete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20466 PyObject
*resultobj
;
20467 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20469 PyObject
* obj0
= 0 ;
20470 PyObject
* obj1
= 0 ;
20471 char *kwnames
[] = {
20472 (char *) "self",(char *) "flag", NULL
20475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetExitOnFrameDelete",kwnames
,&obj0
,&obj1
)) goto fail
;
20476 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20477 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20478 arg2
= (bool)SWIG_As_bool(obj1
);
20479 if (PyErr_Occurred()) SWIG_fail
;
20481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20482 (arg1
)->SetExitOnFrameDelete(arg2
);
20484 wxPyEndAllowThreads(__tstate
);
20485 if (PyErr_Occurred()) SWIG_fail
;
20487 Py_INCREF(Py_None
); resultobj
= Py_None
;
20494 static PyObject
*_wrap_PyApp_GetExitOnFrameDelete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20495 PyObject
*resultobj
;
20496 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20498 PyObject
* obj0
= 0 ;
20499 char *kwnames
[] = {
20500 (char *) "self", NULL
20503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetExitOnFrameDelete",kwnames
,&obj0
)) goto fail
;
20504 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20505 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20508 result
= (bool)((wxPyApp
const *)arg1
)->GetExitOnFrameDelete();
20510 wxPyEndAllowThreads(__tstate
);
20511 if (PyErr_Occurred()) SWIG_fail
;
20514 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20522 static PyObject
*_wrap_PyApp_SetUseBestVisual(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20523 PyObject
*resultobj
;
20524 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20526 PyObject
* obj0
= 0 ;
20527 PyObject
* obj1
= 0 ;
20528 char *kwnames
[] = {
20529 (char *) "self",(char *) "flag", NULL
20532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetUseBestVisual",kwnames
,&obj0
,&obj1
)) goto fail
;
20533 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20534 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20535 arg2
= (bool)SWIG_As_bool(obj1
);
20536 if (PyErr_Occurred()) SWIG_fail
;
20538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20539 (arg1
)->SetUseBestVisual(arg2
);
20541 wxPyEndAllowThreads(__tstate
);
20542 if (PyErr_Occurred()) SWIG_fail
;
20544 Py_INCREF(Py_None
); resultobj
= Py_None
;
20551 static PyObject
*_wrap_PyApp_GetUseBestVisual(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20552 PyObject
*resultobj
;
20553 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20555 PyObject
* obj0
= 0 ;
20556 char *kwnames
[] = {
20557 (char *) "self", NULL
20560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetUseBestVisual",kwnames
,&obj0
)) goto fail
;
20561 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20562 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20565 result
= (bool)((wxPyApp
const *)arg1
)->GetUseBestVisual();
20567 wxPyEndAllowThreads(__tstate
);
20568 if (PyErr_Occurred()) SWIG_fail
;
20571 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20579 static PyObject
*_wrap_PyApp_SetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20580 PyObject
*resultobj
;
20581 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20583 PyObject
* obj0
= 0 ;
20584 PyObject
* obj1
= 0 ;
20585 char *kwnames
[] = {
20586 (char *) "self",(char *) "mode", NULL
20589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetPrintMode",kwnames
,&obj0
,&obj1
)) goto fail
;
20590 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20591 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20592 arg2
= (int)SWIG_As_int(obj1
);
20593 if (PyErr_Occurred()) SWIG_fail
;
20595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20596 (arg1
)->SetPrintMode(arg2
);
20598 wxPyEndAllowThreads(__tstate
);
20599 if (PyErr_Occurred()) SWIG_fail
;
20601 Py_INCREF(Py_None
); resultobj
= Py_None
;
20608 static PyObject
*_wrap_PyApp_GetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20609 PyObject
*resultobj
;
20610 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20612 PyObject
* obj0
= 0 ;
20613 char *kwnames
[] = {
20614 (char *) "self", NULL
20617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetPrintMode",kwnames
,&obj0
)) goto fail
;
20618 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20622 result
= (int)((wxPyApp
const *)arg1
)->GetPrintMode();
20624 wxPyEndAllowThreads(__tstate
);
20625 if (PyErr_Occurred()) SWIG_fail
;
20627 resultobj
= SWIG_From_int((int)result
);
20634 static PyObject
*_wrap_PyApp_SetAssertMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20635 PyObject
*resultobj
;
20636 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20638 PyObject
* obj0
= 0 ;
20639 PyObject
* obj1
= 0 ;
20640 char *kwnames
[] = {
20641 (char *) "self",(char *) "mode", NULL
20644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAssertMode",kwnames
,&obj0
,&obj1
)) goto fail
;
20645 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20646 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20647 arg2
= (int)SWIG_As_int(obj1
);
20648 if (PyErr_Occurred()) SWIG_fail
;
20650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20651 (arg1
)->SetAssertMode(arg2
);
20653 wxPyEndAllowThreads(__tstate
);
20654 if (PyErr_Occurred()) SWIG_fail
;
20656 Py_INCREF(Py_None
); resultobj
= Py_None
;
20663 static PyObject
*_wrap_PyApp_GetAssertMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20664 PyObject
*resultobj
;
20665 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20667 PyObject
* obj0
= 0 ;
20668 char *kwnames
[] = {
20669 (char *) "self", NULL
20672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAssertMode",kwnames
,&obj0
)) goto fail
;
20673 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20674 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20677 result
= (int)(arg1
)->GetAssertMode();
20679 wxPyEndAllowThreads(__tstate
);
20680 if (PyErr_Occurred()) SWIG_fail
;
20682 resultobj
= SWIG_From_int((int)result
);
20689 static PyObject
*_wrap_PyApp_GetMacSupportPCMenuShortcuts(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20690 PyObject
*resultobj
;
20692 char *kwnames
[] = {
20696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacSupportPCMenuShortcuts",kwnames
)) goto fail
;
20698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20699 result
= (bool)wxPyApp::GetMacSupportPCMenuShortcuts();
20701 wxPyEndAllowThreads(__tstate
);
20702 if (PyErr_Occurred()) SWIG_fail
;
20705 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20713 static PyObject
*_wrap_PyApp_GetMacAboutMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20714 PyObject
*resultobj
;
20716 char *kwnames
[] = {
20720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacAboutMenuItemId",kwnames
)) goto fail
;
20722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20723 result
= (long)wxPyApp::GetMacAboutMenuItemId();
20725 wxPyEndAllowThreads(__tstate
);
20726 if (PyErr_Occurred()) SWIG_fail
;
20728 resultobj
= SWIG_From_long((long)result
);
20735 static PyObject
*_wrap_PyApp_GetMacPreferencesMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20736 PyObject
*resultobj
;
20738 char *kwnames
[] = {
20742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacPreferencesMenuItemId",kwnames
)) goto fail
;
20744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20745 result
= (long)wxPyApp::GetMacPreferencesMenuItemId();
20747 wxPyEndAllowThreads(__tstate
);
20748 if (PyErr_Occurred()) SWIG_fail
;
20750 resultobj
= SWIG_From_long((long)result
);
20757 static PyObject
*_wrap_PyApp_GetMacExitMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20758 PyObject
*resultobj
;
20760 char *kwnames
[] = {
20764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacExitMenuItemId",kwnames
)) goto fail
;
20766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20767 result
= (long)wxPyApp::GetMacExitMenuItemId();
20769 wxPyEndAllowThreads(__tstate
);
20770 if (PyErr_Occurred()) SWIG_fail
;
20772 resultobj
= SWIG_From_long((long)result
);
20779 static PyObject
*_wrap_PyApp_GetMacHelpMenuTitleName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20780 PyObject
*resultobj
;
20782 char *kwnames
[] = {
20786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacHelpMenuTitleName",kwnames
)) goto fail
;
20788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20789 result
= wxPyApp::GetMacHelpMenuTitleName();
20791 wxPyEndAllowThreads(__tstate
);
20792 if (PyErr_Occurred()) SWIG_fail
;
20796 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20798 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20807 static PyObject
*_wrap_PyApp_SetMacSupportPCMenuShortcuts(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20808 PyObject
*resultobj
;
20810 PyObject
* obj0
= 0 ;
20811 char *kwnames
[] = {
20812 (char *) "val", NULL
20815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacSupportPCMenuShortcuts",kwnames
,&obj0
)) goto fail
;
20816 arg1
= (bool)SWIG_As_bool(obj0
);
20817 if (PyErr_Occurred()) SWIG_fail
;
20819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20820 wxPyApp::SetMacSupportPCMenuShortcuts(arg1
);
20822 wxPyEndAllowThreads(__tstate
);
20823 if (PyErr_Occurred()) SWIG_fail
;
20825 Py_INCREF(Py_None
); resultobj
= Py_None
;
20832 static PyObject
*_wrap_PyApp_SetMacAboutMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20833 PyObject
*resultobj
;
20835 PyObject
* obj0
= 0 ;
20836 char *kwnames
[] = {
20837 (char *) "val", NULL
20840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacAboutMenuItemId",kwnames
,&obj0
)) goto fail
;
20841 arg1
= (long)SWIG_As_long(obj0
);
20842 if (PyErr_Occurred()) SWIG_fail
;
20844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20845 wxPyApp::SetMacAboutMenuItemId(arg1
);
20847 wxPyEndAllowThreads(__tstate
);
20848 if (PyErr_Occurred()) SWIG_fail
;
20850 Py_INCREF(Py_None
); resultobj
= Py_None
;
20857 static PyObject
*_wrap_PyApp_SetMacPreferencesMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20858 PyObject
*resultobj
;
20860 PyObject
* obj0
= 0 ;
20861 char *kwnames
[] = {
20862 (char *) "val", NULL
20865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacPreferencesMenuItemId",kwnames
,&obj0
)) goto fail
;
20866 arg1
= (long)SWIG_As_long(obj0
);
20867 if (PyErr_Occurred()) SWIG_fail
;
20869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20870 wxPyApp::SetMacPreferencesMenuItemId(arg1
);
20872 wxPyEndAllowThreads(__tstate
);
20873 if (PyErr_Occurred()) SWIG_fail
;
20875 Py_INCREF(Py_None
); resultobj
= Py_None
;
20882 static PyObject
*_wrap_PyApp_SetMacExitMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20883 PyObject
*resultobj
;
20885 PyObject
* obj0
= 0 ;
20886 char *kwnames
[] = {
20887 (char *) "val", NULL
20890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacExitMenuItemId",kwnames
,&obj0
)) goto fail
;
20891 arg1
= (long)SWIG_As_long(obj0
);
20892 if (PyErr_Occurred()) SWIG_fail
;
20894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20895 wxPyApp::SetMacExitMenuItemId(arg1
);
20897 wxPyEndAllowThreads(__tstate
);
20898 if (PyErr_Occurred()) SWIG_fail
;
20900 Py_INCREF(Py_None
); resultobj
= Py_None
;
20907 static PyObject
*_wrap_PyApp_SetMacHelpMenuTitleName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20908 PyObject
*resultobj
;
20909 wxString
*arg1
= 0 ;
20910 bool temp1
= False
;
20911 PyObject
* obj0
= 0 ;
20912 char *kwnames
[] = {
20913 (char *) "val", NULL
20916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacHelpMenuTitleName",kwnames
,&obj0
)) goto fail
;
20918 arg1
= wxString_in_helper(obj0
);
20919 if (arg1
== NULL
) SWIG_fail
;
20923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20924 wxPyApp::SetMacHelpMenuTitleName((wxString
const &)*arg1
);
20926 wxPyEndAllowThreads(__tstate
);
20927 if (PyErr_Occurred()) SWIG_fail
;
20929 Py_INCREF(Py_None
); resultobj
= Py_None
;
20944 static PyObject
*_wrap_PyApp__BootstrapApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20945 PyObject
*resultobj
;
20946 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20947 PyObject
* obj0
= 0 ;
20948 char *kwnames
[] = {
20949 (char *) "self", NULL
20952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp__BootstrapApp",kwnames
,&obj0
)) goto fail
;
20953 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20954 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20957 (arg1
)->_BootstrapApp();
20959 wxPyEndAllowThreads(__tstate
);
20960 if (PyErr_Occurred()) SWIG_fail
;
20962 Py_INCREF(Py_None
); resultobj
= Py_None
;
20969 static PyObject
*_wrap_PyApp_GetComCtl32Version(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20970 PyObject
*resultobj
;
20972 char *kwnames
[] = {
20976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetComCtl32Version",kwnames
)) goto fail
;
20978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20979 result
= (int)wxPyApp::GetComCtl32Version();
20981 wxPyEndAllowThreads(__tstate
);
20982 if (PyErr_Occurred()) SWIG_fail
;
20984 resultobj
= SWIG_From_int((int)result
);
20991 static PyObject
* PyApp_swigregister(PyObject
*, PyObject
*args
) {
20993 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20994 SWIG_TypeClientData(SWIGTYPE_p_wxPyApp
, obj
);
20996 return Py_BuildValue((char *)"");
20998 static PyObject
*_wrap_Exit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20999 PyObject
*resultobj
;
21000 char *kwnames
[] = {
21004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Exit",kwnames
)) goto fail
;
21006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21009 wxPyEndAllowThreads(__tstate
);
21010 if (PyErr_Occurred()) SWIG_fail
;
21012 Py_INCREF(Py_None
); resultobj
= Py_None
;
21019 static PyObject
*_wrap_Yield(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21020 PyObject
*resultobj
;
21022 char *kwnames
[] = {
21026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Yield",kwnames
)) goto fail
;
21028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21029 result
= (bool)wxYield();
21031 wxPyEndAllowThreads(__tstate
);
21032 if (PyErr_Occurred()) SWIG_fail
;
21035 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21043 static PyObject
*_wrap_YieldIfNeeded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21044 PyObject
*resultobj
;
21046 char *kwnames
[] = {
21050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":YieldIfNeeded",kwnames
)) goto fail
;
21052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21053 result
= (bool)wxYieldIfNeeded();
21055 wxPyEndAllowThreads(__tstate
);
21056 if (PyErr_Occurred()) SWIG_fail
;
21059 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21067 static PyObject
*_wrap_SafeYield(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21068 PyObject
*resultobj
;
21069 wxWindow
*arg1
= (wxWindow
*) NULL
;
21070 bool arg2
= (bool) False
;
21072 PyObject
* obj0
= 0 ;
21073 PyObject
* obj1
= 0 ;
21074 char *kwnames
[] = {
21075 (char *) "win",(char *) "onlyIfNeeded", NULL
21078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:SafeYield",kwnames
,&obj0
,&obj1
)) goto fail
;
21080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21084 arg2
= (bool)SWIG_As_bool(obj1
);
21085 if (PyErr_Occurred()) SWIG_fail
;
21088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21089 result
= (bool)wxSafeYield(arg1
,arg2
);
21091 wxPyEndAllowThreads(__tstate
);
21092 if (PyErr_Occurred()) SWIG_fail
;
21095 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21103 static PyObject
*_wrap_WakeUpIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21104 PyObject
*resultobj
;
21105 char *kwnames
[] = {
21109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpIdle",kwnames
)) goto fail
;
21111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21114 wxPyEndAllowThreads(__tstate
);
21115 if (PyErr_Occurred()) SWIG_fail
;
21117 Py_INCREF(Py_None
); resultobj
= Py_None
;
21124 static PyObject
*_wrap_PostEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21125 PyObject
*resultobj
;
21126 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
21127 wxEvent
*arg2
= 0 ;
21128 PyObject
* obj0
= 0 ;
21129 PyObject
* obj1
= 0 ;
21130 char *kwnames
[] = {
21131 (char *) "dest",(char *) "event", NULL
21134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
21135 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
21136 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21137 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvent
,
21138 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21140 if (arg2
== NULL
) {
21141 PyErr_SetString(PyExc_TypeError
,"null reference");
21145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21146 wxPostEvent(arg1
,*arg2
);
21148 wxPyEndAllowThreads(__tstate
);
21149 if (PyErr_Occurred()) SWIG_fail
;
21151 Py_INCREF(Py_None
); resultobj
= Py_None
;
21158 static PyObject
*_wrap_App_CleanUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21159 PyObject
*resultobj
;
21160 char *kwnames
[] = {
21164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":App_CleanUp",kwnames
)) goto fail
;
21166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21169 wxPyEndAllowThreads(__tstate
);
21170 if (PyErr_Occurred()) SWIG_fail
;
21172 Py_INCREF(Py_None
); resultobj
= Py_None
;
21179 static PyObject
*_wrap_GetApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21180 PyObject
*resultobj
;
21182 char *kwnames
[] = {
21186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetApp",kwnames
)) goto fail
;
21188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21189 result
= (wxPyApp
*)wxPyGetApp();
21191 wxPyEndAllowThreads(__tstate
);
21192 if (PyErr_Occurred()) SWIG_fail
;
21195 resultobj
= wxPyMake_wxObject(result
, 0);
21203 static PyObject
*_wrap_new_AcceleratorEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21204 PyObject
*resultobj
;
21205 int arg1
= (int) 0 ;
21206 int arg2
= (int) 0 ;
21207 int arg3
= (int) 0 ;
21208 wxAcceleratorEntry
*result
;
21209 PyObject
* obj0
= 0 ;
21210 PyObject
* obj1
= 0 ;
21211 PyObject
* obj2
= 0 ;
21212 char *kwnames
[] = {
21213 (char *) "flags",(char *) "keyCode",(char *) "cmdID", NULL
21216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_AcceleratorEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21218 arg1
= (int)SWIG_As_int(obj0
);
21219 if (PyErr_Occurred()) SWIG_fail
;
21222 arg2
= (int)SWIG_As_int(obj1
);
21223 if (PyErr_Occurred()) SWIG_fail
;
21226 arg3
= (int)SWIG_As_int(obj2
);
21227 if (PyErr_Occurred()) SWIG_fail
;
21230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21231 result
= (wxAcceleratorEntry
*)new wxAcceleratorEntry(arg1
,arg2
,arg3
);
21233 wxPyEndAllowThreads(__tstate
);
21234 if (PyErr_Occurred()) SWIG_fail
;
21236 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 1);
21243 static PyObject
*_wrap_delete_AcceleratorEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21244 PyObject
*resultobj
;
21245 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
21246 PyObject
* obj0
= 0 ;
21247 char *kwnames
[] = {
21248 (char *) "self", NULL
21251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorEntry",kwnames
,&obj0
)) goto fail
;
21252 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
21253 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21258 wxPyEndAllowThreads(__tstate
);
21259 if (PyErr_Occurred()) SWIG_fail
;
21261 Py_INCREF(Py_None
); resultobj
= Py_None
;
21268 static PyObject
*_wrap_AcceleratorEntry_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21269 PyObject
*resultobj
;
21270 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
21274 PyObject
* obj0
= 0 ;
21275 PyObject
* obj1
= 0 ;
21276 PyObject
* obj2
= 0 ;
21277 PyObject
* obj3
= 0 ;
21278 char *kwnames
[] = {
21279 (char *) "self",(char *) "flags",(char *) "keyCode",(char *) "cmd", NULL
21282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AcceleratorEntry_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21283 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
21284 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21285 arg2
= (int)SWIG_As_int(obj1
);
21286 if (PyErr_Occurred()) SWIG_fail
;
21287 arg3
= (int)SWIG_As_int(obj2
);
21288 if (PyErr_Occurred()) SWIG_fail
;
21289 arg4
= (int)SWIG_As_int(obj3
);
21290 if (PyErr_Occurred()) SWIG_fail
;
21292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21293 (arg1
)->Set(arg2
,arg3
,arg4
);
21295 wxPyEndAllowThreads(__tstate
);
21296 if (PyErr_Occurred()) SWIG_fail
;
21298 Py_INCREF(Py_None
); resultobj
= Py_None
;
21305 static PyObject
*_wrap_AcceleratorEntry_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21306 PyObject
*resultobj
;
21307 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
21309 PyObject
* obj0
= 0 ;
21310 char *kwnames
[] = {
21311 (char *) "self", NULL
21314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetFlags",kwnames
,&obj0
)) goto fail
;
21315 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
21316 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21319 result
= (int)(arg1
)->GetFlags();
21321 wxPyEndAllowThreads(__tstate
);
21322 if (PyErr_Occurred()) SWIG_fail
;
21324 resultobj
= SWIG_From_int((int)result
);
21331 static PyObject
*_wrap_AcceleratorEntry_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21332 PyObject
*resultobj
;
21333 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
21335 PyObject
* obj0
= 0 ;
21336 char *kwnames
[] = {
21337 (char *) "self", NULL
21340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetKeyCode",kwnames
,&obj0
)) goto fail
;
21341 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
21342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21345 result
= (int)(arg1
)->GetKeyCode();
21347 wxPyEndAllowThreads(__tstate
);
21348 if (PyErr_Occurred()) SWIG_fail
;
21350 resultobj
= SWIG_From_int((int)result
);
21357 static PyObject
*_wrap_AcceleratorEntry_GetCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21358 PyObject
*resultobj
;
21359 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
21361 PyObject
* obj0
= 0 ;
21362 char *kwnames
[] = {
21363 (char *) "self", NULL
21366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetCommand",kwnames
,&obj0
)) goto fail
;
21367 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
21368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21371 result
= (int)(arg1
)->GetCommand();
21373 wxPyEndAllowThreads(__tstate
);
21374 if (PyErr_Occurred()) SWIG_fail
;
21376 resultobj
= SWIG_From_int((int)result
);
21383 static PyObject
* AcceleratorEntry_swigregister(PyObject
*, PyObject
*args
) {
21385 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21386 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorEntry
, obj
);
21388 return Py_BuildValue((char *)"");
21390 static PyObject
*_wrap_new_AcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21391 PyObject
*resultobj
;
21393 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
21394 wxAcceleratorTable
*result
;
21395 PyObject
* obj0
= 0 ;
21396 char *kwnames
[] = {
21400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
21402 arg2
= wxAcceleratorEntry_LIST_helper(obj0
);
21403 if (arg2
) arg1
= PyList_Size(obj0
);
21407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21408 result
= (wxAcceleratorTable
*)new wxAcceleratorTable(arg1
,(wxAcceleratorEntry
const *)arg2
);
21410 wxPyEndAllowThreads(__tstate
);
21411 if (PyErr_Occurred()) SWIG_fail
;
21413 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorTable
, 1);
21426 static PyObject
*_wrap_delete_AcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21427 PyObject
*resultobj
;
21428 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
21429 PyObject
* obj0
= 0 ;
21430 char *kwnames
[] = {
21431 (char *) "self", NULL
21434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
21435 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorTable
,
21436 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21441 wxPyEndAllowThreads(__tstate
);
21442 if (PyErr_Occurred()) SWIG_fail
;
21444 Py_INCREF(Py_None
); resultobj
= Py_None
;
21451 static PyObject
*_wrap_AcceleratorTable_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21452 PyObject
*resultobj
;
21453 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
21455 PyObject
* obj0
= 0 ;
21456 char *kwnames
[] = {
21457 (char *) "self", NULL
21460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorTable_Ok",kwnames
,&obj0
)) goto fail
;
21461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorTable
,
21462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21465 result
= (bool)((wxAcceleratorTable
const *)arg1
)->Ok();
21467 wxPyEndAllowThreads(__tstate
);
21468 if (PyErr_Occurred()) SWIG_fail
;
21471 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21479 static PyObject
* AcceleratorTable_swigregister(PyObject
*, PyObject
*args
) {
21481 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21482 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorTable
, obj
);
21484 return Py_BuildValue((char *)"");
21486 static int _wrap_NullAcceleratorTable_set(PyObject
*) {
21487 PyErr_SetString(PyExc_TypeError
,"Variable NullAcceleratorTable is read-only.");
21492 static PyObject
*_wrap_NullAcceleratorTable_get() {
21495 pyobj
= SWIG_NewPointerObj((void *)(&wxNullAcceleratorTable
), SWIGTYPE_p_wxAcceleratorTable
, 0);
21500 static PyObject
*_wrap_GetAccelFromString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21501 PyObject
*resultobj
;
21502 wxString
*arg1
= 0 ;
21503 wxAcceleratorEntry
*result
;
21504 bool temp1
= False
;
21505 PyObject
* obj0
= 0 ;
21506 char *kwnames
[] = {
21507 (char *) "label", NULL
21510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetAccelFromString",kwnames
,&obj0
)) goto fail
;
21512 arg1
= wxString_in_helper(obj0
);
21513 if (arg1
== NULL
) SWIG_fail
;
21517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21518 result
= (wxAcceleratorEntry
*)wxGetAccelFromString((wxString
const &)*arg1
);
21520 wxPyEndAllowThreads(__tstate
);
21521 if (PyErr_Occurred()) SWIG_fail
;
21523 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0);
21538 static int _wrap_PanelNameStr_set(PyObject
*) {
21539 PyErr_SetString(PyExc_TypeError
,"Variable PanelNameStr is read-only.");
21544 static PyObject
*_wrap_PanelNameStr_get() {
21549 pyobj
= PyUnicode_FromWideChar((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
21551 pyobj
= PyString_FromStringAndSize((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
21558 static PyObject
*_wrap_new_VisualAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21559 PyObject
*resultobj
;
21560 wxVisualAttributes
*result
;
21561 char *kwnames
[] = {
21565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_VisualAttributes",kwnames
)) goto fail
;
21567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21568 result
= (wxVisualAttributes
*)new_wxVisualAttributes();
21570 wxPyEndAllowThreads(__tstate
);
21571 if (PyErr_Occurred()) SWIG_fail
;
21573 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxVisualAttributes
, 1);
21580 static PyObject
*_wrap_delete_VisualAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21581 PyObject
*resultobj
;
21582 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21583 PyObject
* obj0
= 0 ;
21584 char *kwnames
[] = {
21585 (char *) "self", NULL
21588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_VisualAttributes",kwnames
,&obj0
)) goto fail
;
21589 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21593 delete_wxVisualAttributes(arg1
);
21595 wxPyEndAllowThreads(__tstate
);
21596 if (PyErr_Occurred()) SWIG_fail
;
21598 Py_INCREF(Py_None
); resultobj
= Py_None
;
21605 static PyObject
*_wrap_VisualAttributes_font_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21606 PyObject
*resultobj
;
21607 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21608 wxFont
*arg2
= (wxFont
*) 0 ;
21609 PyObject
* obj0
= 0 ;
21610 PyObject
* obj1
= 0 ;
21611 char *kwnames
[] = {
21612 (char *) "self",(char *) "font", NULL
21615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_font_set",kwnames
,&obj0
,&obj1
)) goto fail
;
21616 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21617 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21618 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
21619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21620 if (arg1
) (arg1
)->font
= *arg2
;
21622 Py_INCREF(Py_None
); resultobj
= Py_None
;
21629 static PyObject
*_wrap_VisualAttributes_font_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21630 PyObject
*resultobj
;
21631 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21633 PyObject
* obj0
= 0 ;
21634 char *kwnames
[] = {
21635 (char *) "self", NULL
21638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_font_get",kwnames
,&obj0
)) goto fail
;
21639 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21641 result
= (wxFont
*)& ((arg1
)->font
);
21643 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 0);
21650 static PyObject
*_wrap_VisualAttributes_colFg_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21651 PyObject
*resultobj
;
21652 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21653 wxColour
*arg2
= (wxColour
*) 0 ;
21654 PyObject
* obj0
= 0 ;
21655 PyObject
* obj1
= 0 ;
21656 char *kwnames
[] = {
21657 (char *) "self",(char *) "colFg", NULL
21660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_colFg_set",kwnames
,&obj0
,&obj1
)) goto fail
;
21661 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21662 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21663 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxColour
,
21664 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21665 if (arg1
) (arg1
)->colFg
= *arg2
;
21667 Py_INCREF(Py_None
); resultobj
= Py_None
;
21674 static PyObject
*_wrap_VisualAttributes_colFg_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21675 PyObject
*resultobj
;
21676 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21678 PyObject
* obj0
= 0 ;
21679 char *kwnames
[] = {
21680 (char *) "self", NULL
21683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_colFg_get",kwnames
,&obj0
)) goto fail
;
21684 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21685 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21686 result
= (wxColour
*)& ((arg1
)->colFg
);
21688 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
21695 static PyObject
*_wrap_VisualAttributes_colBg_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21696 PyObject
*resultobj
;
21697 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21698 wxColour
*arg2
= (wxColour
*) 0 ;
21699 PyObject
* obj0
= 0 ;
21700 PyObject
* obj1
= 0 ;
21701 char *kwnames
[] = {
21702 (char *) "self",(char *) "colBg", NULL
21705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_colBg_set",kwnames
,&obj0
,&obj1
)) goto fail
;
21706 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21707 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21708 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxColour
,
21709 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21710 if (arg1
) (arg1
)->colBg
= *arg2
;
21712 Py_INCREF(Py_None
); resultobj
= Py_None
;
21719 static PyObject
*_wrap_VisualAttributes_colBg_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21720 PyObject
*resultobj
;
21721 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21723 PyObject
* obj0
= 0 ;
21724 char *kwnames
[] = {
21725 (char *) "self", NULL
21728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_colBg_get",kwnames
,&obj0
)) goto fail
;
21729 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21730 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21731 result
= (wxColour
*)& ((arg1
)->colBg
);
21733 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
21740 static PyObject
* VisualAttributes_swigregister(PyObject
*, PyObject
*args
) {
21742 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21743 SWIG_TypeClientData(SWIGTYPE_p_wxVisualAttributes
, obj
);
21745 return Py_BuildValue((char *)"");
21747 static PyObject
*_wrap_new_Window(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21748 PyObject
*resultobj
;
21749 wxWindow
*arg1
= (wxWindow
*) 0 ;
21750 int arg2
= (int) (int)-1 ;
21751 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21752 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21753 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21754 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21755 long arg5
= (long) 0 ;
21756 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
21757 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21761 bool temp6
= False
;
21762 PyObject
* obj0
= 0 ;
21763 PyObject
* obj1
= 0 ;
21764 PyObject
* obj2
= 0 ;
21765 PyObject
* obj3
= 0 ;
21766 PyObject
* obj4
= 0 ;
21767 PyObject
* obj5
= 0 ;
21768 char *kwnames
[] = {
21769 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Window",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
21773 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21774 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21776 arg2
= (int)SWIG_As_int(obj1
);
21777 if (PyErr_Occurred()) SWIG_fail
;
21782 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21788 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21792 arg5
= (long)SWIG_As_long(obj4
);
21793 if (PyErr_Occurred()) SWIG_fail
;
21797 arg6
= wxString_in_helper(obj5
);
21798 if (arg6
== NULL
) SWIG_fail
;
21803 if (!wxPyCheckForApp()) SWIG_fail
;
21804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21805 result
= (wxWindow
*)new wxWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21807 wxPyEndAllowThreads(__tstate
);
21808 if (PyErr_Occurred()) SWIG_fail
;
21810 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindow
, 1);
21825 static PyObject
*_wrap_new_PreWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21826 PyObject
*resultobj
;
21828 char *kwnames
[] = {
21832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreWindow",kwnames
)) goto fail
;
21834 if (!wxPyCheckForApp()) SWIG_fail
;
21835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21836 result
= (wxWindow
*)new wxWindow();
21838 wxPyEndAllowThreads(__tstate
);
21839 if (PyErr_Occurred()) SWIG_fail
;
21841 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindow
, 1);
21848 static PyObject
*_wrap_Window_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21849 PyObject
*resultobj
;
21850 wxWindow
*arg1
= (wxWindow
*) 0 ;
21851 wxWindow
*arg2
= (wxWindow
*) 0 ;
21852 int arg3
= (int) (int)-1 ;
21853 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21854 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21855 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21856 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21857 long arg6
= (long) 0 ;
21858 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
21859 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21863 bool temp7
= False
;
21864 PyObject
* obj0
= 0 ;
21865 PyObject
* obj1
= 0 ;
21866 PyObject
* obj2
= 0 ;
21867 PyObject
* obj3
= 0 ;
21868 PyObject
* obj4
= 0 ;
21869 PyObject
* obj5
= 0 ;
21870 PyObject
* obj6
= 0 ;
21871 char *kwnames
[] = {
21872 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Window_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
21876 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21878 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21879 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21881 arg3
= (int)SWIG_As_int(obj2
);
21882 if (PyErr_Occurred()) SWIG_fail
;
21887 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21893 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21897 arg6
= (long)SWIG_As_long(obj5
);
21898 if (PyErr_Occurred()) SWIG_fail
;
21902 arg7
= wxString_in_helper(obj6
);
21903 if (arg7
== NULL
) SWIG_fail
;
21908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21909 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21911 wxPyEndAllowThreads(__tstate
);
21912 if (PyErr_Occurred()) SWIG_fail
;
21915 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21931 static PyObject
*_wrap_Window_Close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21932 PyObject
*resultobj
;
21933 wxWindow
*arg1
= (wxWindow
*) 0 ;
21934 bool arg2
= (bool) False
;
21936 PyObject
* obj0
= 0 ;
21937 PyObject
* obj1
= 0 ;
21938 char *kwnames
[] = {
21939 (char *) "self",(char *) "force", NULL
21942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Close",kwnames
,&obj0
,&obj1
)) goto fail
;
21943 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21944 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21946 arg2
= (bool)SWIG_As_bool(obj1
);
21947 if (PyErr_Occurred()) SWIG_fail
;
21950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21951 result
= (bool)(arg1
)->Close(arg2
);
21953 wxPyEndAllowThreads(__tstate
);
21954 if (PyErr_Occurred()) SWIG_fail
;
21957 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21965 static PyObject
*_wrap_Window_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21966 PyObject
*resultobj
;
21967 wxWindow
*arg1
= (wxWindow
*) 0 ;
21969 PyObject
* obj0
= 0 ;
21970 char *kwnames
[] = {
21971 (char *) "self", NULL
21974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Destroy",kwnames
,&obj0
)) goto fail
;
21975 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21979 result
= (bool)(arg1
)->Destroy();
21981 wxPyEndAllowThreads(__tstate
);
21982 if (PyErr_Occurred()) SWIG_fail
;
21985 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21993 static PyObject
*_wrap_Window_DestroyChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21994 PyObject
*resultobj
;
21995 wxWindow
*arg1
= (wxWindow
*) 0 ;
21997 PyObject
* obj0
= 0 ;
21998 char *kwnames
[] = {
21999 (char *) "self", NULL
22002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_DestroyChildren",kwnames
,&obj0
)) goto fail
;
22003 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22004 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22007 result
= (bool)(arg1
)->DestroyChildren();
22009 wxPyEndAllowThreads(__tstate
);
22010 if (PyErr_Occurred()) SWIG_fail
;
22013 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22021 static PyObject
*_wrap_Window_IsBeingDeleted(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22022 PyObject
*resultobj
;
22023 wxWindow
*arg1
= (wxWindow
*) 0 ;
22025 PyObject
* obj0
= 0 ;
22026 char *kwnames
[] = {
22027 (char *) "self", NULL
22030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsBeingDeleted",kwnames
,&obj0
)) goto fail
;
22031 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22032 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22035 result
= (bool)((wxWindow
const *)arg1
)->IsBeingDeleted();
22037 wxPyEndAllowThreads(__tstate
);
22038 if (PyErr_Occurred()) SWIG_fail
;
22041 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22049 static PyObject
*_wrap_Window_SetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22050 PyObject
*resultobj
;
22051 wxWindow
*arg1
= (wxWindow
*) 0 ;
22052 wxString
*arg2
= 0 ;
22053 bool temp2
= False
;
22054 PyObject
* obj0
= 0 ;
22055 PyObject
* obj1
= 0 ;
22056 char *kwnames
[] = {
22057 (char *) "self",(char *) "title", NULL
22060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
22061 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22062 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22064 arg2
= wxString_in_helper(obj1
);
22065 if (arg2
== NULL
) SWIG_fail
;
22069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22070 (arg1
)->SetTitle((wxString
const &)*arg2
);
22072 wxPyEndAllowThreads(__tstate
);
22073 if (PyErr_Occurred()) SWIG_fail
;
22075 Py_INCREF(Py_None
); resultobj
= Py_None
;
22090 static PyObject
*_wrap_Window_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22091 PyObject
*resultobj
;
22092 wxWindow
*arg1
= (wxWindow
*) 0 ;
22094 PyObject
* obj0
= 0 ;
22095 char *kwnames
[] = {
22096 (char *) "self", NULL
22099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetTitle",kwnames
,&obj0
)) goto fail
;
22100 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22101 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22104 result
= ((wxWindow
const *)arg1
)->GetTitle();
22106 wxPyEndAllowThreads(__tstate
);
22107 if (PyErr_Occurred()) SWIG_fail
;
22111 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22113 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22122 static PyObject
*_wrap_Window_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22123 PyObject
*resultobj
;
22124 wxWindow
*arg1
= (wxWindow
*) 0 ;
22125 wxString
*arg2
= 0 ;
22126 bool temp2
= False
;
22127 PyObject
* obj0
= 0 ;
22128 PyObject
* obj1
= 0 ;
22129 char *kwnames
[] = {
22130 (char *) "self",(char *) "label", NULL
22133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
22134 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22135 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22137 arg2
= wxString_in_helper(obj1
);
22138 if (arg2
== NULL
) SWIG_fail
;
22142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22143 (arg1
)->SetLabel((wxString
const &)*arg2
);
22145 wxPyEndAllowThreads(__tstate
);
22146 if (PyErr_Occurred()) SWIG_fail
;
22148 Py_INCREF(Py_None
); resultobj
= Py_None
;
22163 static PyObject
*_wrap_Window_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22164 PyObject
*resultobj
;
22165 wxWindow
*arg1
= (wxWindow
*) 0 ;
22167 PyObject
* obj0
= 0 ;
22168 char *kwnames
[] = {
22169 (char *) "self", NULL
22172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetLabel",kwnames
,&obj0
)) goto fail
;
22173 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22174 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22177 result
= ((wxWindow
const *)arg1
)->GetLabel();
22179 wxPyEndAllowThreads(__tstate
);
22180 if (PyErr_Occurred()) SWIG_fail
;
22184 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22186 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22195 static PyObject
*_wrap_Window_SetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22196 PyObject
*resultobj
;
22197 wxWindow
*arg1
= (wxWindow
*) 0 ;
22198 wxString
*arg2
= 0 ;
22199 bool temp2
= False
;
22200 PyObject
* obj0
= 0 ;
22201 PyObject
* obj1
= 0 ;
22202 char *kwnames
[] = {
22203 (char *) "self",(char *) "name", NULL
22206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
22207 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22210 arg2
= wxString_in_helper(obj1
);
22211 if (arg2
== NULL
) SWIG_fail
;
22215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22216 (arg1
)->SetName((wxString
const &)*arg2
);
22218 wxPyEndAllowThreads(__tstate
);
22219 if (PyErr_Occurred()) SWIG_fail
;
22221 Py_INCREF(Py_None
); resultobj
= Py_None
;
22236 static PyObject
*_wrap_Window_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22237 PyObject
*resultobj
;
22238 wxWindow
*arg1
= (wxWindow
*) 0 ;
22240 PyObject
* obj0
= 0 ;
22241 char *kwnames
[] = {
22242 (char *) "self", NULL
22245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetName",kwnames
,&obj0
)) goto fail
;
22246 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22247 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22250 result
= ((wxWindow
const *)arg1
)->GetName();
22252 wxPyEndAllowThreads(__tstate
);
22253 if (PyErr_Occurred()) SWIG_fail
;
22257 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22259 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22268 static PyObject
*_wrap_Window_SetWindowVariant(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22269 PyObject
*resultobj
;
22270 wxWindow
*arg1
= (wxWindow
*) 0 ;
22272 PyObject
* obj0
= 0 ;
22273 PyObject
* obj1
= 0 ;
22274 char *kwnames
[] = {
22275 (char *) "self",(char *) "variant", NULL
22278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowVariant",kwnames
,&obj0
,&obj1
)) goto fail
;
22279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22281 arg2
= (int)SWIG_As_int(obj1
);
22282 if (PyErr_Occurred()) SWIG_fail
;
22284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22285 (arg1
)->SetWindowVariant((wxWindowVariant
)arg2
);
22287 wxPyEndAllowThreads(__tstate
);
22288 if (PyErr_Occurred()) SWIG_fail
;
22290 Py_INCREF(Py_None
); resultobj
= Py_None
;
22297 static PyObject
*_wrap_Window_GetWindowVariant(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22298 PyObject
*resultobj
;
22299 wxWindow
*arg1
= (wxWindow
*) 0 ;
22301 PyObject
* obj0
= 0 ;
22302 char *kwnames
[] = {
22303 (char *) "self", NULL
22306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowVariant",kwnames
,&obj0
)) goto fail
;
22307 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22308 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22311 result
= (int)((wxWindow
const *)arg1
)->GetWindowVariant();
22313 wxPyEndAllowThreads(__tstate
);
22314 if (PyErr_Occurred()) SWIG_fail
;
22316 resultobj
= SWIG_From_int((int)result
);
22323 static PyObject
*_wrap_Window_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22324 PyObject
*resultobj
;
22325 wxWindow
*arg1
= (wxWindow
*) 0 ;
22327 PyObject
* obj0
= 0 ;
22328 PyObject
* obj1
= 0 ;
22329 char *kwnames
[] = {
22330 (char *) "self",(char *) "winid", NULL
22333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
22334 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22335 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22336 arg2
= (int)SWIG_As_int(obj1
);
22337 if (PyErr_Occurred()) SWIG_fail
;
22339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22340 (arg1
)->SetId(arg2
);
22342 wxPyEndAllowThreads(__tstate
);
22343 if (PyErr_Occurred()) SWIG_fail
;
22345 Py_INCREF(Py_None
); resultobj
= Py_None
;
22352 static PyObject
*_wrap_Window_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22353 PyObject
*resultobj
;
22354 wxWindow
*arg1
= (wxWindow
*) 0 ;
22356 PyObject
* obj0
= 0 ;
22357 char *kwnames
[] = {
22358 (char *) "self", NULL
22361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetId",kwnames
,&obj0
)) goto fail
;
22362 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22366 result
= (int)((wxWindow
const *)arg1
)->GetId();
22368 wxPyEndAllowThreads(__tstate
);
22369 if (PyErr_Occurred()) SWIG_fail
;
22371 resultobj
= SWIG_From_int((int)result
);
22378 static PyObject
*_wrap_Window_NewControlId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22379 PyObject
*resultobj
;
22381 char *kwnames
[] = {
22385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_NewControlId",kwnames
)) goto fail
;
22387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22388 result
= (int)wxWindow::NewControlId();
22390 wxPyEndAllowThreads(__tstate
);
22391 if (PyErr_Occurred()) SWIG_fail
;
22393 resultobj
= SWIG_From_int((int)result
);
22400 static PyObject
*_wrap_Window_NextControlId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22401 PyObject
*resultobj
;
22404 PyObject
* obj0
= 0 ;
22405 char *kwnames
[] = {
22406 (char *) "winid", NULL
22409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_NextControlId",kwnames
,&obj0
)) goto fail
;
22410 arg1
= (int)SWIG_As_int(obj0
);
22411 if (PyErr_Occurred()) SWIG_fail
;
22413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22414 result
= (int)wxWindow::NextControlId(arg1
);
22416 wxPyEndAllowThreads(__tstate
);
22417 if (PyErr_Occurred()) SWIG_fail
;
22419 resultobj
= SWIG_From_int((int)result
);
22426 static PyObject
*_wrap_Window_PrevControlId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22427 PyObject
*resultobj
;
22430 PyObject
* obj0
= 0 ;
22431 char *kwnames
[] = {
22432 (char *) "winid", NULL
22435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PrevControlId",kwnames
,&obj0
)) goto fail
;
22436 arg1
= (int)SWIG_As_int(obj0
);
22437 if (PyErr_Occurred()) SWIG_fail
;
22439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22440 result
= (int)wxWindow::PrevControlId(arg1
);
22442 wxPyEndAllowThreads(__tstate
);
22443 if (PyErr_Occurred()) SWIG_fail
;
22445 resultobj
= SWIG_From_int((int)result
);
22452 static PyObject
*_wrap_Window_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22453 PyObject
*resultobj
;
22454 wxWindow
*arg1
= (wxWindow
*) 0 ;
22457 PyObject
* obj0
= 0 ;
22458 PyObject
* obj1
= 0 ;
22459 char *kwnames
[] = {
22460 (char *) "self",(char *) "size", NULL
22463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
22464 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22465 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22468 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
22471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22472 (arg1
)->SetSize((wxSize
const &)*arg2
);
22474 wxPyEndAllowThreads(__tstate
);
22475 if (PyErr_Occurred()) SWIG_fail
;
22477 Py_INCREF(Py_None
); resultobj
= Py_None
;
22484 static PyObject
*_wrap_Window_SetDimensions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22485 PyObject
*resultobj
;
22486 wxWindow
*arg1
= (wxWindow
*) 0 ;
22491 int arg6
= (int) wxSIZE_AUTO
;
22492 PyObject
* obj0
= 0 ;
22493 PyObject
* obj1
= 0 ;
22494 PyObject
* obj2
= 0 ;
22495 PyObject
* obj3
= 0 ;
22496 PyObject
* obj4
= 0 ;
22497 PyObject
* obj5
= 0 ;
22498 char *kwnames
[] = {
22499 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
22502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetDimensions",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
22503 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22505 arg2
= (int)SWIG_As_int(obj1
);
22506 if (PyErr_Occurred()) SWIG_fail
;
22507 arg3
= (int)SWIG_As_int(obj2
);
22508 if (PyErr_Occurred()) SWIG_fail
;
22509 arg4
= (int)SWIG_As_int(obj3
);
22510 if (PyErr_Occurred()) SWIG_fail
;
22511 arg5
= (int)SWIG_As_int(obj4
);
22512 if (PyErr_Occurred()) SWIG_fail
;
22514 arg6
= (int)SWIG_As_int(obj5
);
22515 if (PyErr_Occurred()) SWIG_fail
;
22518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22519 (arg1
)->SetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
22521 wxPyEndAllowThreads(__tstate
);
22522 if (PyErr_Occurred()) SWIG_fail
;
22524 Py_INCREF(Py_None
); resultobj
= Py_None
;
22531 static PyObject
*_wrap_Window_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22532 PyObject
*resultobj
;
22533 wxWindow
*arg1
= (wxWindow
*) 0 ;
22535 int arg3
= (int) wxSIZE_AUTO
;
22537 PyObject
* obj0
= 0 ;
22538 PyObject
* obj1
= 0 ;
22539 PyObject
* obj2
= 0 ;
22540 char *kwnames
[] = {
22541 (char *) "self",(char *) "rect",(char *) "sizeFlags", NULL
22544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22545 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22546 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22549 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
22552 arg3
= (int)SWIG_As_int(obj2
);
22553 if (PyErr_Occurred()) SWIG_fail
;
22556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22557 (arg1
)->SetSize((wxRect
const &)*arg2
,arg3
);
22559 wxPyEndAllowThreads(__tstate
);
22560 if (PyErr_Occurred()) SWIG_fail
;
22562 Py_INCREF(Py_None
); resultobj
= Py_None
;
22569 static PyObject
*_wrap_Window_SetSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22570 PyObject
*resultobj
;
22571 wxWindow
*arg1
= (wxWindow
*) 0 ;
22574 PyObject
* obj0
= 0 ;
22575 PyObject
* obj1
= 0 ;
22576 PyObject
* obj2
= 0 ;
22577 char *kwnames
[] = {
22578 (char *) "self",(char *) "width",(char *) "height", NULL
22581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22582 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22583 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22584 arg2
= (int)SWIG_As_int(obj1
);
22585 if (PyErr_Occurred()) SWIG_fail
;
22586 arg3
= (int)SWIG_As_int(obj2
);
22587 if (PyErr_Occurred()) SWIG_fail
;
22589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22590 (arg1
)->SetSize(arg2
,arg3
);
22592 wxPyEndAllowThreads(__tstate
);
22593 if (PyErr_Occurred()) SWIG_fail
;
22595 Py_INCREF(Py_None
); resultobj
= Py_None
;
22602 static PyObject
*_wrap_Window_Move(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22603 PyObject
*resultobj
;
22604 wxWindow
*arg1
= (wxWindow
*) 0 ;
22605 wxPoint
*arg2
= 0 ;
22606 int arg3
= (int) wxSIZE_USE_EXISTING
;
22608 PyObject
* obj0
= 0 ;
22609 PyObject
* obj1
= 0 ;
22610 PyObject
* obj2
= 0 ;
22611 char *kwnames
[] = {
22612 (char *) "self",(char *) "pt",(char *) "flags", NULL
22615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_Move",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22616 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22617 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22620 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22623 arg3
= (int)SWIG_As_int(obj2
);
22624 if (PyErr_Occurred()) SWIG_fail
;
22627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22628 (arg1
)->Move((wxPoint
const &)*arg2
,arg3
);
22630 wxPyEndAllowThreads(__tstate
);
22631 if (PyErr_Occurred()) SWIG_fail
;
22633 Py_INCREF(Py_None
); resultobj
= Py_None
;
22640 static PyObject
*_wrap_Window_MoveXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22641 PyObject
*resultobj
;
22642 wxWindow
*arg1
= (wxWindow
*) 0 ;
22645 int arg4
= (int) wxSIZE_USE_EXISTING
;
22646 PyObject
* obj0
= 0 ;
22647 PyObject
* obj1
= 0 ;
22648 PyObject
* obj2
= 0 ;
22649 PyObject
* obj3
= 0 ;
22650 char *kwnames
[] = {
22651 (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL
22654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22655 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22656 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22657 arg2
= (int)SWIG_As_int(obj1
);
22658 if (PyErr_Occurred()) SWIG_fail
;
22659 arg3
= (int)SWIG_As_int(obj2
);
22660 if (PyErr_Occurred()) SWIG_fail
;
22662 arg4
= (int)SWIG_As_int(obj3
);
22663 if (PyErr_Occurred()) SWIG_fail
;
22666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22667 (arg1
)->Move(arg2
,arg3
,arg4
);
22669 wxPyEndAllowThreads(__tstate
);
22670 if (PyErr_Occurred()) SWIG_fail
;
22672 Py_INCREF(Py_None
); resultobj
= Py_None
;
22679 static PyObject
*_wrap_Window_SetBestFittingSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22680 PyObject
*resultobj
;
22681 wxWindow
*arg1
= (wxWindow
*) 0 ;
22682 wxSize
const &arg2_defvalue
= wxDefaultSize
;
22683 wxSize
*arg2
= (wxSize
*) &arg2_defvalue
;
22685 PyObject
* obj0
= 0 ;
22686 PyObject
* obj1
= 0 ;
22687 char *kwnames
[] = {
22688 (char *) "self",(char *) "size", NULL
22691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_SetBestFittingSize",kwnames
,&obj0
,&obj1
)) goto fail
;
22692 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22697 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
22701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22702 (arg1
)->SetBestFittingSize((wxSize
const &)*arg2
);
22704 wxPyEndAllowThreads(__tstate
);
22705 if (PyErr_Occurred()) SWIG_fail
;
22707 Py_INCREF(Py_None
); resultobj
= Py_None
;
22714 static PyObject
*_wrap_Window_Raise(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22715 PyObject
*resultobj
;
22716 wxWindow
*arg1
= (wxWindow
*) 0 ;
22717 PyObject
* obj0
= 0 ;
22718 char *kwnames
[] = {
22719 (char *) "self", NULL
22722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Raise",kwnames
,&obj0
)) goto fail
;
22723 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22724 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22729 wxPyEndAllowThreads(__tstate
);
22730 if (PyErr_Occurred()) SWIG_fail
;
22732 Py_INCREF(Py_None
); resultobj
= Py_None
;
22739 static PyObject
*_wrap_Window_Lower(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22740 PyObject
*resultobj
;
22741 wxWindow
*arg1
= (wxWindow
*) 0 ;
22742 PyObject
* obj0
= 0 ;
22743 char *kwnames
[] = {
22744 (char *) "self", NULL
22747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Lower",kwnames
,&obj0
)) goto fail
;
22748 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22749 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22754 wxPyEndAllowThreads(__tstate
);
22755 if (PyErr_Occurred()) SWIG_fail
;
22757 Py_INCREF(Py_None
); resultobj
= Py_None
;
22764 static PyObject
*_wrap_Window_SetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22765 PyObject
*resultobj
;
22766 wxWindow
*arg1
= (wxWindow
*) 0 ;
22769 PyObject
* obj0
= 0 ;
22770 PyObject
* obj1
= 0 ;
22771 char *kwnames
[] = {
22772 (char *) "self",(char *) "size", NULL
22775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientSize",kwnames
,&obj0
,&obj1
)) goto fail
;
22776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22780 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
22783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22784 (arg1
)->SetClientSize((wxSize
const &)*arg2
);
22786 wxPyEndAllowThreads(__tstate
);
22787 if (PyErr_Occurred()) SWIG_fail
;
22789 Py_INCREF(Py_None
); resultobj
= Py_None
;
22796 static PyObject
*_wrap_Window_SetClientSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22797 PyObject
*resultobj
;
22798 wxWindow
*arg1
= (wxWindow
*) 0 ;
22801 PyObject
* obj0
= 0 ;
22802 PyObject
* obj1
= 0 ;
22803 PyObject
* obj2
= 0 ;
22804 char *kwnames
[] = {
22805 (char *) "self",(char *) "width",(char *) "height", NULL
22808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetClientSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22809 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22810 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22811 arg2
= (int)SWIG_As_int(obj1
);
22812 if (PyErr_Occurred()) SWIG_fail
;
22813 arg3
= (int)SWIG_As_int(obj2
);
22814 if (PyErr_Occurred()) SWIG_fail
;
22816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22817 (arg1
)->SetClientSize(arg2
,arg3
);
22819 wxPyEndAllowThreads(__tstate
);
22820 if (PyErr_Occurred()) SWIG_fail
;
22822 Py_INCREF(Py_None
); resultobj
= Py_None
;
22829 static PyObject
*_wrap_Window_SetClientRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22830 PyObject
*resultobj
;
22831 wxWindow
*arg1
= (wxWindow
*) 0 ;
22834 PyObject
* obj0
= 0 ;
22835 PyObject
* obj1
= 0 ;
22836 char *kwnames
[] = {
22837 (char *) "self",(char *) "rect", NULL
22840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientRect",kwnames
,&obj0
,&obj1
)) goto fail
;
22841 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22842 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22845 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
22848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22849 (arg1
)->SetClientSize((wxRect
const &)*arg2
);
22851 wxPyEndAllowThreads(__tstate
);
22852 if (PyErr_Occurred()) SWIG_fail
;
22854 Py_INCREF(Py_None
); resultobj
= Py_None
;
22861 static PyObject
*_wrap_Window_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22862 PyObject
*resultobj
;
22863 wxWindow
*arg1
= (wxWindow
*) 0 ;
22865 PyObject
* obj0
= 0 ;
22866 char *kwnames
[] = {
22867 (char *) "self", NULL
22870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPosition",kwnames
,&obj0
)) goto fail
;
22871 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22872 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22875 result
= (arg1
)->GetPosition();
22877 wxPyEndAllowThreads(__tstate
);
22878 if (PyErr_Occurred()) SWIG_fail
;
22881 wxPoint
* resultptr
;
22882 resultptr
= new wxPoint((wxPoint
&) result
);
22883 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
22891 static PyObject
*_wrap_Window_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22892 PyObject
*resultobj
;
22893 wxWindow
*arg1
= (wxWindow
*) 0 ;
22894 int *arg2
= (int *) 0 ;
22895 int *arg3
= (int *) 0 ;
22900 PyObject
* obj0
= 0 ;
22901 char *kwnames
[] = {
22902 (char *) "self", NULL
22905 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
22906 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
22907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
22908 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22909 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22912 (arg1
)->GetPosition(arg2
,arg3
);
22914 wxPyEndAllowThreads(__tstate
);
22915 if (PyErr_Occurred()) SWIG_fail
;
22917 Py_INCREF(Py_None
); resultobj
= Py_None
;
22918 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
22919 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
22920 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
22921 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
22928 static PyObject
*_wrap_Window_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22929 PyObject
*resultobj
;
22930 wxWindow
*arg1
= (wxWindow
*) 0 ;
22932 PyObject
* obj0
= 0 ;
22933 char *kwnames
[] = {
22934 (char *) "self", NULL
22937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSize",kwnames
,&obj0
)) goto fail
;
22938 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22939 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22942 result
= ((wxWindow
const *)arg1
)->GetSize();
22944 wxPyEndAllowThreads(__tstate
);
22945 if (PyErr_Occurred()) SWIG_fail
;
22948 wxSize
* resultptr
;
22949 resultptr
= new wxSize((wxSize
&) result
);
22950 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22958 static PyObject
*_wrap_Window_GetSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22959 PyObject
*resultobj
;
22960 wxWindow
*arg1
= (wxWindow
*) 0 ;
22961 int *arg2
= (int *) 0 ;
22962 int *arg3
= (int *) 0 ;
22967 PyObject
* obj0
= 0 ;
22968 char *kwnames
[] = {
22969 (char *) "self", NULL
22972 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
22973 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
22974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
22975 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22979 ((wxWindow
const *)arg1
)->GetSize(arg2
,arg3
);
22981 wxPyEndAllowThreads(__tstate
);
22982 if (PyErr_Occurred()) SWIG_fail
;
22984 Py_INCREF(Py_None
); resultobj
= Py_None
;
22985 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
22986 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
22987 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
22988 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
22995 static PyObject
*_wrap_Window_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22996 PyObject
*resultobj
;
22997 wxWindow
*arg1
= (wxWindow
*) 0 ;
22999 PyObject
* obj0
= 0 ;
23000 char *kwnames
[] = {
23001 (char *) "self", NULL
23004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetRect",kwnames
,&obj0
)) goto fail
;
23005 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23009 result
= ((wxWindow
const *)arg1
)->GetRect();
23011 wxPyEndAllowThreads(__tstate
);
23012 if (PyErr_Occurred()) SWIG_fail
;
23015 wxRect
* resultptr
;
23016 resultptr
= new wxRect((wxRect
&) result
);
23017 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
23025 static PyObject
*_wrap_Window_GetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23026 PyObject
*resultobj
;
23027 wxWindow
*arg1
= (wxWindow
*) 0 ;
23029 PyObject
* obj0
= 0 ;
23030 char *kwnames
[] = {
23031 (char *) "self", NULL
23034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSize",kwnames
,&obj0
)) goto fail
;
23035 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23039 result
= ((wxWindow
const *)arg1
)->GetClientSize();
23041 wxPyEndAllowThreads(__tstate
);
23042 if (PyErr_Occurred()) SWIG_fail
;
23045 wxSize
* resultptr
;
23046 resultptr
= new wxSize((wxSize
&) result
);
23047 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23055 static PyObject
*_wrap_Window_GetClientSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23056 PyObject
*resultobj
;
23057 wxWindow
*arg1
= (wxWindow
*) 0 ;
23058 int *arg2
= (int *) 0 ;
23059 int *arg3
= (int *) 0 ;
23064 PyObject
* obj0
= 0 ;
23065 char *kwnames
[] = {
23066 (char *) "self", NULL
23069 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
23070 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
23071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSizeTuple",kwnames
,&obj0
)) goto fail
;
23072 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23073 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23076 ((wxWindow
const *)arg1
)->GetClientSize(arg2
,arg3
);
23078 wxPyEndAllowThreads(__tstate
);
23079 if (PyErr_Occurred()) SWIG_fail
;
23081 Py_INCREF(Py_None
); resultobj
= Py_None
;
23082 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
23083 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
23084 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
23085 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
23092 static PyObject
*_wrap_Window_GetClientAreaOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23093 PyObject
*resultobj
;
23094 wxWindow
*arg1
= (wxWindow
*) 0 ;
23096 PyObject
* obj0
= 0 ;
23097 char *kwnames
[] = {
23098 (char *) "self", NULL
23101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientAreaOrigin",kwnames
,&obj0
)) goto fail
;
23102 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23103 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23106 result
= ((wxWindow
const *)arg1
)->GetClientAreaOrigin();
23108 wxPyEndAllowThreads(__tstate
);
23109 if (PyErr_Occurred()) SWIG_fail
;
23112 wxPoint
* resultptr
;
23113 resultptr
= new wxPoint((wxPoint
&) result
);
23114 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
23122 static PyObject
*_wrap_Window_GetClientRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23123 PyObject
*resultobj
;
23124 wxWindow
*arg1
= (wxWindow
*) 0 ;
23126 PyObject
* obj0
= 0 ;
23127 char *kwnames
[] = {
23128 (char *) "self", NULL
23131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientRect",kwnames
,&obj0
)) goto fail
;
23132 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23133 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23136 result
= ((wxWindow
const *)arg1
)->GetClientRect();
23138 wxPyEndAllowThreads(__tstate
);
23139 if (PyErr_Occurred()) SWIG_fail
;
23142 wxRect
* resultptr
;
23143 resultptr
= new wxRect((wxRect
&) result
);
23144 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
23152 static PyObject
*_wrap_Window_GetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23153 PyObject
*resultobj
;
23154 wxWindow
*arg1
= (wxWindow
*) 0 ;
23156 PyObject
* obj0
= 0 ;
23157 char *kwnames
[] = {
23158 (char *) "self", NULL
23161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSize",kwnames
,&obj0
)) goto fail
;
23162 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23166 result
= ((wxWindow
const *)arg1
)->GetBestSize();
23168 wxPyEndAllowThreads(__tstate
);
23169 if (PyErr_Occurred()) SWIG_fail
;
23172 wxSize
* resultptr
;
23173 resultptr
= new wxSize((wxSize
&) result
);
23174 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23182 static PyObject
*_wrap_Window_GetBestSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23183 PyObject
*resultobj
;
23184 wxWindow
*arg1
= (wxWindow
*) 0 ;
23185 int *arg2
= (int *) 0 ;
23186 int *arg3
= (int *) 0 ;
23191 PyObject
* obj0
= 0 ;
23192 char *kwnames
[] = {
23193 (char *) "self", NULL
23196 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
23197 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
23198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSizeTuple",kwnames
,&obj0
)) goto fail
;
23199 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23200 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23203 ((wxWindow
const *)arg1
)->GetBestSize(arg2
,arg3
);
23205 wxPyEndAllowThreads(__tstate
);
23206 if (PyErr_Occurred()) SWIG_fail
;
23208 Py_INCREF(Py_None
); resultobj
= Py_None
;
23209 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
23210 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
23211 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
23212 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
23219 static PyObject
*_wrap_Window_InvalidateBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23220 PyObject
*resultobj
;
23221 wxWindow
*arg1
= (wxWindow
*) 0 ;
23222 PyObject
* obj0
= 0 ;
23223 char *kwnames
[] = {
23224 (char *) "self", NULL
23227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InvalidateBestSize",kwnames
,&obj0
)) goto fail
;
23228 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23232 (arg1
)->InvalidateBestSize();
23234 wxPyEndAllowThreads(__tstate
);
23235 if (PyErr_Occurred()) SWIG_fail
;
23237 Py_INCREF(Py_None
); resultobj
= Py_None
;
23244 static PyObject
*_wrap_Window_GetBestFittingSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23245 PyObject
*resultobj
;
23246 wxWindow
*arg1
= (wxWindow
*) 0 ;
23248 PyObject
* obj0
= 0 ;
23249 char *kwnames
[] = {
23250 (char *) "self", NULL
23253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestFittingSize",kwnames
,&obj0
)) goto fail
;
23254 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23255 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23258 result
= ((wxWindow
const *)arg1
)->GetBestFittingSize();
23260 wxPyEndAllowThreads(__tstate
);
23261 if (PyErr_Occurred()) SWIG_fail
;
23264 wxSize
* resultptr
;
23265 resultptr
= new wxSize((wxSize
&) result
);
23266 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23274 static PyObject
*_wrap_Window_GetAdjustedBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23275 PyObject
*resultobj
;
23276 wxWindow
*arg1
= (wxWindow
*) 0 ;
23278 PyObject
* obj0
= 0 ;
23279 char *kwnames
[] = {
23280 (char *) "self", NULL
23283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAdjustedBestSize",kwnames
,&obj0
)) goto fail
;
23284 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23285 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23288 result
= ((wxWindow
const *)arg1
)->GetAdjustedBestSize();
23290 wxPyEndAllowThreads(__tstate
);
23291 if (PyErr_Occurred()) SWIG_fail
;
23294 wxSize
* resultptr
;
23295 resultptr
= new wxSize((wxSize
&) result
);
23296 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23304 static PyObject
*_wrap_Window_Center(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23305 PyObject
*resultobj
;
23306 wxWindow
*arg1
= (wxWindow
*) 0 ;
23307 int arg2
= (int) wxBOTH
;
23308 PyObject
* obj0
= 0 ;
23309 PyObject
* obj1
= 0 ;
23310 char *kwnames
[] = {
23311 (char *) "self",(char *) "direction", NULL
23314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Center",kwnames
,&obj0
,&obj1
)) goto fail
;
23315 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23316 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23318 arg2
= (int)SWIG_As_int(obj1
);
23319 if (PyErr_Occurred()) SWIG_fail
;
23322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23323 (arg1
)->Center(arg2
);
23325 wxPyEndAllowThreads(__tstate
);
23326 if (PyErr_Occurred()) SWIG_fail
;
23328 Py_INCREF(Py_None
); resultobj
= Py_None
;
23335 static PyObject
*_wrap_Window_CenterOnScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23336 PyObject
*resultobj
;
23337 wxWindow
*arg1
= (wxWindow
*) 0 ;
23338 int arg2
= (int) wxBOTH
;
23339 PyObject
* obj0
= 0 ;
23340 PyObject
* obj1
= 0 ;
23341 char *kwnames
[] = {
23342 (char *) "self",(char *) "dir", NULL
23345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_CenterOnScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
23346 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23349 arg2
= (int)SWIG_As_int(obj1
);
23350 if (PyErr_Occurred()) SWIG_fail
;
23353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23354 (arg1
)->CenterOnScreen(arg2
);
23356 wxPyEndAllowThreads(__tstate
);
23357 if (PyErr_Occurred()) SWIG_fail
;
23359 Py_INCREF(Py_None
); resultobj
= Py_None
;
23366 static PyObject
*_wrap_Window_CenterOnParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23367 PyObject
*resultobj
;
23368 wxWindow
*arg1
= (wxWindow
*) 0 ;
23369 int arg2
= (int) wxBOTH
;
23370 PyObject
* obj0
= 0 ;
23371 PyObject
* obj1
= 0 ;
23372 char *kwnames
[] = {
23373 (char *) "self",(char *) "dir", NULL
23376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_CenterOnParent",kwnames
,&obj0
,&obj1
)) goto fail
;
23377 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23378 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23380 arg2
= (int)SWIG_As_int(obj1
);
23381 if (PyErr_Occurred()) SWIG_fail
;
23384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23385 (arg1
)->CenterOnParent(arg2
);
23387 wxPyEndAllowThreads(__tstate
);
23388 if (PyErr_Occurred()) SWIG_fail
;
23390 Py_INCREF(Py_None
); resultobj
= Py_None
;
23397 static PyObject
*_wrap_Window_Fit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23398 PyObject
*resultobj
;
23399 wxWindow
*arg1
= (wxWindow
*) 0 ;
23400 PyObject
* obj0
= 0 ;
23401 char *kwnames
[] = {
23402 (char *) "self", NULL
23405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Fit",kwnames
,&obj0
)) goto fail
;
23406 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23407 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23412 wxPyEndAllowThreads(__tstate
);
23413 if (PyErr_Occurred()) SWIG_fail
;
23415 Py_INCREF(Py_None
); resultobj
= Py_None
;
23422 static PyObject
*_wrap_Window_FitInside(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23423 PyObject
*resultobj
;
23424 wxWindow
*arg1
= (wxWindow
*) 0 ;
23425 PyObject
* obj0
= 0 ;
23426 char *kwnames
[] = {
23427 (char *) "self", NULL
23430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_FitInside",kwnames
,&obj0
)) goto fail
;
23431 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23432 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23435 (arg1
)->FitInside();
23437 wxPyEndAllowThreads(__tstate
);
23438 if (PyErr_Occurred()) SWIG_fail
;
23440 Py_INCREF(Py_None
); resultobj
= Py_None
;
23447 static PyObject
*_wrap_Window_SetSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23448 PyObject
*resultobj
;
23449 wxWindow
*arg1
= (wxWindow
*) 0 ;
23452 int arg4
= (int) -1 ;
23453 int arg5
= (int) -1 ;
23454 int arg6
= (int) -1 ;
23455 int arg7
= (int) -1 ;
23456 PyObject
* obj0
= 0 ;
23457 PyObject
* obj1
= 0 ;
23458 PyObject
* obj2
= 0 ;
23459 PyObject
* obj3
= 0 ;
23460 PyObject
* obj4
= 0 ;
23461 PyObject
* obj5
= 0 ;
23462 PyObject
* obj6
= 0 ;
23463 char *kwnames
[] = {
23464 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH",(char *) "incW",(char *) "incH", NULL
23467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Window_SetSizeHints",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
23468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23470 arg2
= (int)SWIG_As_int(obj1
);
23471 if (PyErr_Occurred()) SWIG_fail
;
23472 arg3
= (int)SWIG_As_int(obj2
);
23473 if (PyErr_Occurred()) SWIG_fail
;
23475 arg4
= (int)SWIG_As_int(obj3
);
23476 if (PyErr_Occurred()) SWIG_fail
;
23479 arg5
= (int)SWIG_As_int(obj4
);
23480 if (PyErr_Occurred()) SWIG_fail
;
23483 arg6
= (int)SWIG_As_int(obj5
);
23484 if (PyErr_Occurred()) SWIG_fail
;
23487 arg7
= (int)SWIG_As_int(obj6
);
23488 if (PyErr_Occurred()) SWIG_fail
;
23491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23492 (arg1
)->SetSizeHints(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
23494 wxPyEndAllowThreads(__tstate
);
23495 if (PyErr_Occurred()) SWIG_fail
;
23497 Py_INCREF(Py_None
); resultobj
= Py_None
;
23504 static PyObject
*_wrap_Window_SetSizeHintsSz(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23505 PyObject
*resultobj
;
23506 wxWindow
*arg1
= (wxWindow
*) 0 ;
23508 wxSize
const &arg3_defvalue
= wxDefaultSize
;
23509 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
23510 wxSize
const &arg4_defvalue
= wxDefaultSize
;
23511 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
23515 PyObject
* obj0
= 0 ;
23516 PyObject
* obj1
= 0 ;
23517 PyObject
* obj2
= 0 ;
23518 PyObject
* obj3
= 0 ;
23519 char *kwnames
[] = {
23520 (char *) "self",(char *) "minSize",(char *) "maxSize",(char *) "incSize", NULL
23523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Window_SetSizeHintsSz",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
23524 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23525 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23528 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
23533 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
23539 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
23543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23544 (arg1
)->SetSizeHints((wxSize
const &)*arg2
,(wxSize
const &)*arg3
,(wxSize
const &)*arg4
);
23546 wxPyEndAllowThreads(__tstate
);
23547 if (PyErr_Occurred()) SWIG_fail
;
23549 Py_INCREF(Py_None
); resultobj
= Py_None
;
23556 static PyObject
*_wrap_Window_SetVirtualSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23557 PyObject
*resultobj
;
23558 wxWindow
*arg1
= (wxWindow
*) 0 ;
23561 int arg4
= (int) -1 ;
23562 int arg5
= (int) -1 ;
23563 PyObject
* obj0
= 0 ;
23564 PyObject
* obj1
= 0 ;
23565 PyObject
* obj2
= 0 ;
23566 PyObject
* obj3
= 0 ;
23567 PyObject
* obj4
= 0 ;
23568 char *kwnames
[] = {
23569 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH", NULL
23572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Window_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
23573 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23574 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23575 arg2
= (int)SWIG_As_int(obj1
);
23576 if (PyErr_Occurred()) SWIG_fail
;
23577 arg3
= (int)SWIG_As_int(obj2
);
23578 if (PyErr_Occurred()) SWIG_fail
;
23580 arg4
= (int)SWIG_As_int(obj3
);
23581 if (PyErr_Occurred()) SWIG_fail
;
23584 arg5
= (int)SWIG_As_int(obj4
);
23585 if (PyErr_Occurred()) SWIG_fail
;
23588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23589 (arg1
)->SetVirtualSizeHints(arg2
,arg3
,arg4
,arg5
);
23591 wxPyEndAllowThreads(__tstate
);
23592 if (PyErr_Occurred()) SWIG_fail
;
23594 Py_INCREF(Py_None
); resultobj
= Py_None
;
23601 static PyObject
*_wrap_Window_SetVirtualSizeHintsSz(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23602 PyObject
*resultobj
;
23603 wxWindow
*arg1
= (wxWindow
*) 0 ;
23605 wxSize
const &arg3_defvalue
= wxDefaultSize
;
23606 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
23609 PyObject
* obj0
= 0 ;
23610 PyObject
* obj1
= 0 ;
23611 PyObject
* obj2
= 0 ;
23612 char *kwnames
[] = {
23613 (char *) "self",(char *) "minSize",(char *) "maxSize", NULL
23616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetVirtualSizeHintsSz",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23617 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23618 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23621 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
23626 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
23630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23631 (arg1
)->SetVirtualSizeHints((wxSize
const &)*arg2
,(wxSize
const &)*arg3
);
23633 wxPyEndAllowThreads(__tstate
);
23634 if (PyErr_Occurred()) SWIG_fail
;
23636 Py_INCREF(Py_None
); resultobj
= Py_None
;
23643 static PyObject
*_wrap_Window_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23644 PyObject
*resultobj
;
23645 wxWindow
*arg1
= (wxWindow
*) 0 ;
23647 PyObject
* obj0
= 0 ;
23648 char *kwnames
[] = {
23649 (char *) "self", NULL
23652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxSize",kwnames
,&obj0
)) goto fail
;
23653 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23657 result
= ((wxWindow
const *)arg1
)->GetMaxSize();
23659 wxPyEndAllowThreads(__tstate
);
23660 if (PyErr_Occurred()) SWIG_fail
;
23663 wxSize
* resultptr
;
23664 resultptr
= new wxSize((wxSize
&) result
);
23665 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23673 static PyObject
*_wrap_Window_GetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23674 PyObject
*resultobj
;
23675 wxWindow
*arg1
= (wxWindow
*) 0 ;
23677 PyObject
* obj0
= 0 ;
23678 char *kwnames
[] = {
23679 (char *) "self", NULL
23682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinSize",kwnames
,&obj0
)) goto fail
;
23683 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23684 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23687 result
= ((wxWindow
const *)arg1
)->GetMinSize();
23689 wxPyEndAllowThreads(__tstate
);
23690 if (PyErr_Occurred()) SWIG_fail
;
23693 wxSize
* resultptr
;
23694 resultptr
= new wxSize((wxSize
&) result
);
23695 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23703 static PyObject
*_wrap_Window_SetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23704 PyObject
*resultobj
;
23705 wxWindow
*arg1
= (wxWindow
*) 0 ;
23708 PyObject
* obj0
= 0 ;
23709 PyObject
* obj1
= 0 ;
23710 char *kwnames
[] = {
23711 (char *) "self",(char *) "minSize", NULL
23714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetMinSize",kwnames
,&obj0
,&obj1
)) goto fail
;
23715 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23716 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23719 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
23722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23723 (arg1
)->SetMinSize((wxSize
const &)*arg2
);
23725 wxPyEndAllowThreads(__tstate
);
23726 if (PyErr_Occurred()) SWIG_fail
;
23728 Py_INCREF(Py_None
); resultobj
= Py_None
;
23735 static PyObject
*_wrap_Window_SetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23736 PyObject
*resultobj
;
23737 wxWindow
*arg1
= (wxWindow
*) 0 ;
23740 PyObject
* obj0
= 0 ;
23741 PyObject
* obj1
= 0 ;
23742 char *kwnames
[] = {
23743 (char *) "self",(char *) "maxSize", NULL
23746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetMaxSize",kwnames
,&obj0
,&obj1
)) goto fail
;
23747 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23748 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23751 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
23754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23755 (arg1
)->SetMaxSize((wxSize
const &)*arg2
);
23757 wxPyEndAllowThreads(__tstate
);
23758 if (PyErr_Occurred()) SWIG_fail
;
23760 Py_INCREF(Py_None
); resultobj
= Py_None
;
23767 static PyObject
*_wrap_Window_GetMinWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23768 PyObject
*resultobj
;
23769 wxWindow
*arg1
= (wxWindow
*) 0 ;
23771 PyObject
* obj0
= 0 ;
23772 char *kwnames
[] = {
23773 (char *) "self", NULL
23776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinWidth",kwnames
,&obj0
)) goto fail
;
23777 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23778 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23781 result
= (int)((wxWindow
const *)arg1
)->GetMinWidth();
23783 wxPyEndAllowThreads(__tstate
);
23784 if (PyErr_Occurred()) SWIG_fail
;
23786 resultobj
= SWIG_From_int((int)result
);
23793 static PyObject
*_wrap_Window_GetMinHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23794 PyObject
*resultobj
;
23795 wxWindow
*arg1
= (wxWindow
*) 0 ;
23797 PyObject
* obj0
= 0 ;
23798 char *kwnames
[] = {
23799 (char *) "self", NULL
23802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinHeight",kwnames
,&obj0
)) goto fail
;
23803 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23804 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23807 result
= (int)((wxWindow
const *)arg1
)->GetMinHeight();
23809 wxPyEndAllowThreads(__tstate
);
23810 if (PyErr_Occurred()) SWIG_fail
;
23812 resultobj
= SWIG_From_int((int)result
);
23819 static PyObject
*_wrap_Window_GetMaxWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23820 PyObject
*resultobj
;
23821 wxWindow
*arg1
= (wxWindow
*) 0 ;
23823 PyObject
* obj0
= 0 ;
23824 char *kwnames
[] = {
23825 (char *) "self", NULL
23828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxWidth",kwnames
,&obj0
)) goto fail
;
23829 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23833 result
= (int)((wxWindow
const *)arg1
)->GetMaxWidth();
23835 wxPyEndAllowThreads(__tstate
);
23836 if (PyErr_Occurred()) SWIG_fail
;
23838 resultobj
= SWIG_From_int((int)result
);
23845 static PyObject
*_wrap_Window_GetMaxHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23846 PyObject
*resultobj
;
23847 wxWindow
*arg1
= (wxWindow
*) 0 ;
23849 PyObject
* obj0
= 0 ;
23850 char *kwnames
[] = {
23851 (char *) "self", NULL
23854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxHeight",kwnames
,&obj0
)) goto fail
;
23855 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23856 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23859 result
= (int)((wxWindow
const *)arg1
)->GetMaxHeight();
23861 wxPyEndAllowThreads(__tstate
);
23862 if (PyErr_Occurred()) SWIG_fail
;
23864 resultobj
= SWIG_From_int((int)result
);
23871 static PyObject
*_wrap_Window_SetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23872 PyObject
*resultobj
;
23873 wxWindow
*arg1
= (wxWindow
*) 0 ;
23876 PyObject
* obj0
= 0 ;
23877 PyObject
* obj1
= 0 ;
23878 char *kwnames
[] = {
23879 (char *) "self",(char *) "size", NULL
23882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetVirtualSize",kwnames
,&obj0
,&obj1
)) goto fail
;
23883 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23884 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23887 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
23890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23891 (arg1
)->SetVirtualSize((wxSize
const &)*arg2
);
23893 wxPyEndAllowThreads(__tstate
);
23894 if (PyErr_Occurred()) SWIG_fail
;
23896 Py_INCREF(Py_None
); resultobj
= Py_None
;
23903 static PyObject
*_wrap_Window_SetVirtualSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23904 PyObject
*resultobj
;
23905 wxWindow
*arg1
= (wxWindow
*) 0 ;
23908 PyObject
* obj0
= 0 ;
23909 PyObject
* obj1
= 0 ;
23910 PyObject
* obj2
= 0 ;
23911 char *kwnames
[] = {
23912 (char *) "self",(char *) "w",(char *) "h", NULL
23915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetVirtualSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23916 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23917 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23918 arg2
= (int)SWIG_As_int(obj1
);
23919 if (PyErr_Occurred()) SWIG_fail
;
23920 arg3
= (int)SWIG_As_int(obj2
);
23921 if (PyErr_Occurred()) SWIG_fail
;
23923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23924 (arg1
)->SetVirtualSize(arg2
,arg3
);
23926 wxPyEndAllowThreads(__tstate
);
23927 if (PyErr_Occurred()) SWIG_fail
;
23929 Py_INCREF(Py_None
); resultobj
= Py_None
;
23936 static PyObject
*_wrap_Window_GetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23937 PyObject
*resultobj
;
23938 wxWindow
*arg1
= (wxWindow
*) 0 ;
23940 PyObject
* obj0
= 0 ;
23941 char *kwnames
[] = {
23942 (char *) "self", NULL
23945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSize",kwnames
,&obj0
)) goto fail
;
23946 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23947 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23950 result
= ((wxWindow
const *)arg1
)->GetVirtualSize();
23952 wxPyEndAllowThreads(__tstate
);
23953 if (PyErr_Occurred()) SWIG_fail
;
23956 wxSize
* resultptr
;
23957 resultptr
= new wxSize((wxSize
&) result
);
23958 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23966 static PyObject
*_wrap_Window_GetVirtualSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23967 PyObject
*resultobj
;
23968 wxWindow
*arg1
= (wxWindow
*) 0 ;
23969 int *arg2
= (int *) 0 ;
23970 int *arg3
= (int *) 0 ;
23975 PyObject
* obj0
= 0 ;
23976 char *kwnames
[] = {
23977 (char *) "self", NULL
23980 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
23981 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
23982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSizeTuple",kwnames
,&obj0
)) goto fail
;
23983 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23984 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23987 ((wxWindow
const *)arg1
)->GetVirtualSize(arg2
,arg3
);
23989 wxPyEndAllowThreads(__tstate
);
23990 if (PyErr_Occurred()) SWIG_fail
;
23992 Py_INCREF(Py_None
); resultobj
= Py_None
;
23993 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
23994 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
23995 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
23996 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
24003 static PyObject
*_wrap_Window_GetBestVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24004 PyObject
*resultobj
;
24005 wxWindow
*arg1
= (wxWindow
*) 0 ;
24007 PyObject
* obj0
= 0 ;
24008 char *kwnames
[] = {
24009 (char *) "self", NULL
24012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestVirtualSize",kwnames
,&obj0
)) goto fail
;
24013 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24014 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24017 result
= ((wxWindow
const *)arg1
)->GetBestVirtualSize();
24019 wxPyEndAllowThreads(__tstate
);
24020 if (PyErr_Occurred()) SWIG_fail
;
24023 wxSize
* resultptr
;
24024 resultptr
= new wxSize((wxSize
&) result
);
24025 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
24033 static PyObject
*_wrap_Window_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24034 PyObject
*resultobj
;
24035 wxWindow
*arg1
= (wxWindow
*) 0 ;
24036 bool arg2
= (bool) True
;
24038 PyObject
* obj0
= 0 ;
24039 PyObject
* obj1
= 0 ;
24040 char *kwnames
[] = {
24041 (char *) "self",(char *) "show", NULL
24044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
24045 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24048 arg2
= (bool)SWIG_As_bool(obj1
);
24049 if (PyErr_Occurred()) SWIG_fail
;
24052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24053 result
= (bool)(arg1
)->Show(arg2
);
24055 wxPyEndAllowThreads(__tstate
);
24056 if (PyErr_Occurred()) SWIG_fail
;
24059 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24067 static PyObject
*_wrap_Window_Hide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24068 PyObject
*resultobj
;
24069 wxWindow
*arg1
= (wxWindow
*) 0 ;
24071 PyObject
* obj0
= 0 ;
24072 char *kwnames
[] = {
24073 (char *) "self", NULL
24076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Hide",kwnames
,&obj0
)) goto fail
;
24077 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24078 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24081 result
= (bool)(arg1
)->Hide();
24083 wxPyEndAllowThreads(__tstate
);
24084 if (PyErr_Occurred()) SWIG_fail
;
24087 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24095 static PyObject
*_wrap_Window_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24096 PyObject
*resultobj
;
24097 wxWindow
*arg1
= (wxWindow
*) 0 ;
24098 bool arg2
= (bool) True
;
24100 PyObject
* obj0
= 0 ;
24101 PyObject
* obj1
= 0 ;
24102 char *kwnames
[] = {
24103 (char *) "self",(char *) "enable", NULL
24106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
24107 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24108 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24110 arg2
= (bool)SWIG_As_bool(obj1
);
24111 if (PyErr_Occurred()) SWIG_fail
;
24114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24115 result
= (bool)(arg1
)->Enable(arg2
);
24117 wxPyEndAllowThreads(__tstate
);
24118 if (PyErr_Occurred()) SWIG_fail
;
24121 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24129 static PyObject
*_wrap_Window_Disable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24130 PyObject
*resultobj
;
24131 wxWindow
*arg1
= (wxWindow
*) 0 ;
24133 PyObject
* obj0
= 0 ;
24134 char *kwnames
[] = {
24135 (char *) "self", NULL
24138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Disable",kwnames
,&obj0
)) goto fail
;
24139 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24140 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24143 result
= (bool)(arg1
)->Disable();
24145 wxPyEndAllowThreads(__tstate
);
24146 if (PyErr_Occurred()) SWIG_fail
;
24149 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24157 static PyObject
*_wrap_Window_IsShown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24158 PyObject
*resultobj
;
24159 wxWindow
*arg1
= (wxWindow
*) 0 ;
24161 PyObject
* obj0
= 0 ;
24162 char *kwnames
[] = {
24163 (char *) "self", NULL
24166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsShown",kwnames
,&obj0
)) goto fail
;
24167 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24168 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24171 result
= (bool)((wxWindow
const *)arg1
)->IsShown();
24173 wxPyEndAllowThreads(__tstate
);
24174 if (PyErr_Occurred()) SWIG_fail
;
24177 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24185 static PyObject
*_wrap_Window_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24186 PyObject
*resultobj
;
24187 wxWindow
*arg1
= (wxWindow
*) 0 ;
24189 PyObject
* obj0
= 0 ;
24190 char *kwnames
[] = {
24191 (char *) "self", NULL
24194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsEnabled",kwnames
,&obj0
)) goto fail
;
24195 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24199 result
= (bool)((wxWindow
const *)arg1
)->IsEnabled();
24201 wxPyEndAllowThreads(__tstate
);
24202 if (PyErr_Occurred()) SWIG_fail
;
24205 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24213 static PyObject
*_wrap_Window_SetWindowStyleFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24214 PyObject
*resultobj
;
24215 wxWindow
*arg1
= (wxWindow
*) 0 ;
24217 PyObject
* obj0
= 0 ;
24218 PyObject
* obj1
= 0 ;
24219 char *kwnames
[] = {
24220 (char *) "self",(char *) "style", NULL
24223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
24224 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24226 arg2
= (long)SWIG_As_long(obj1
);
24227 if (PyErr_Occurred()) SWIG_fail
;
24229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24230 (arg1
)->SetWindowStyleFlag(arg2
);
24232 wxPyEndAllowThreads(__tstate
);
24233 if (PyErr_Occurred()) SWIG_fail
;
24235 Py_INCREF(Py_None
); resultobj
= Py_None
;
24242 static PyObject
*_wrap_Window_GetWindowStyleFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24243 PyObject
*resultobj
;
24244 wxWindow
*arg1
= (wxWindow
*) 0 ;
24246 PyObject
* obj0
= 0 ;
24247 char *kwnames
[] = {
24248 (char *) "self", NULL
24251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowStyleFlag",kwnames
,&obj0
)) goto fail
;
24252 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24253 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24256 result
= (long)((wxWindow
const *)arg1
)->GetWindowStyleFlag();
24258 wxPyEndAllowThreads(__tstate
);
24259 if (PyErr_Occurred()) SWIG_fail
;
24261 resultobj
= SWIG_From_long((long)result
);
24268 static PyObject
*_wrap_Window_HasFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24269 PyObject
*resultobj
;
24270 wxWindow
*arg1
= (wxWindow
*) 0 ;
24273 PyObject
* obj0
= 0 ;
24274 PyObject
* obj1
= 0 ;
24275 char *kwnames
[] = {
24276 (char *) "self",(char *) "flag", NULL
24279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
24280 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24281 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24282 arg2
= (int)SWIG_As_int(obj1
);
24283 if (PyErr_Occurred()) SWIG_fail
;
24285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24286 result
= (bool)((wxWindow
const *)arg1
)->HasFlag(arg2
);
24288 wxPyEndAllowThreads(__tstate
);
24289 if (PyErr_Occurred()) SWIG_fail
;
24292 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24300 static PyObject
*_wrap_Window_IsRetained(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24301 PyObject
*resultobj
;
24302 wxWindow
*arg1
= (wxWindow
*) 0 ;
24304 PyObject
* obj0
= 0 ;
24305 char *kwnames
[] = {
24306 (char *) "self", NULL
24309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsRetained",kwnames
,&obj0
)) goto fail
;
24310 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24311 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24314 result
= (bool)((wxWindow
const *)arg1
)->IsRetained();
24316 wxPyEndAllowThreads(__tstate
);
24317 if (PyErr_Occurred()) SWIG_fail
;
24320 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24328 static PyObject
*_wrap_Window_SetExtraStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24329 PyObject
*resultobj
;
24330 wxWindow
*arg1
= (wxWindow
*) 0 ;
24332 PyObject
* obj0
= 0 ;
24333 PyObject
* obj1
= 0 ;
24334 char *kwnames
[] = {
24335 (char *) "self",(char *) "exStyle", NULL
24338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetExtraStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
24339 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24341 arg2
= (long)SWIG_As_long(obj1
);
24342 if (PyErr_Occurred()) SWIG_fail
;
24344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24345 (arg1
)->SetExtraStyle(arg2
);
24347 wxPyEndAllowThreads(__tstate
);
24348 if (PyErr_Occurred()) SWIG_fail
;
24350 Py_INCREF(Py_None
); resultobj
= Py_None
;
24357 static PyObject
*_wrap_Window_GetExtraStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24358 PyObject
*resultobj
;
24359 wxWindow
*arg1
= (wxWindow
*) 0 ;
24361 PyObject
* obj0
= 0 ;
24362 char *kwnames
[] = {
24363 (char *) "self", NULL
24366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetExtraStyle",kwnames
,&obj0
)) goto fail
;
24367 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24371 result
= (long)((wxWindow
const *)arg1
)->GetExtraStyle();
24373 wxPyEndAllowThreads(__tstate
);
24374 if (PyErr_Occurred()) SWIG_fail
;
24376 resultobj
= SWIG_From_long((long)result
);
24383 static PyObject
*_wrap_Window_MakeModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24384 PyObject
*resultobj
;
24385 wxWindow
*arg1
= (wxWindow
*) 0 ;
24386 bool arg2
= (bool) True
;
24387 PyObject
* obj0
= 0 ;
24388 PyObject
* obj1
= 0 ;
24389 char *kwnames
[] = {
24390 (char *) "self",(char *) "modal", NULL
24393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_MakeModal",kwnames
,&obj0
,&obj1
)) goto fail
;
24394 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24397 arg2
= (bool)SWIG_As_bool(obj1
);
24398 if (PyErr_Occurred()) SWIG_fail
;
24401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24402 (arg1
)->MakeModal(arg2
);
24404 wxPyEndAllowThreads(__tstate
);
24405 if (PyErr_Occurred()) SWIG_fail
;
24407 Py_INCREF(Py_None
); resultobj
= Py_None
;
24414 static PyObject
*_wrap_Window_SetThemeEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24415 PyObject
*resultobj
;
24416 wxWindow
*arg1
= (wxWindow
*) 0 ;
24418 PyObject
* obj0
= 0 ;
24419 PyObject
* obj1
= 0 ;
24420 char *kwnames
[] = {
24421 (char *) "self",(char *) "enableTheme", NULL
24424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetThemeEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
24425 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24426 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24427 arg2
= (bool)SWIG_As_bool(obj1
);
24428 if (PyErr_Occurred()) SWIG_fail
;
24430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24431 (arg1
)->SetThemeEnabled(arg2
);
24433 wxPyEndAllowThreads(__tstate
);
24434 if (PyErr_Occurred()) SWIG_fail
;
24436 Py_INCREF(Py_None
); resultobj
= Py_None
;
24443 static PyObject
*_wrap_Window_GetThemeEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24444 PyObject
*resultobj
;
24445 wxWindow
*arg1
= (wxWindow
*) 0 ;
24447 PyObject
* obj0
= 0 ;
24448 char *kwnames
[] = {
24449 (char *) "self", NULL
24452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetThemeEnabled",kwnames
,&obj0
)) goto fail
;
24453 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24457 result
= (bool)((wxWindow
const *)arg1
)->GetThemeEnabled();
24459 wxPyEndAllowThreads(__tstate
);
24460 if (PyErr_Occurred()) SWIG_fail
;
24463 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24471 static PyObject
*_wrap_Window_SetFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24472 PyObject
*resultobj
;
24473 wxWindow
*arg1
= (wxWindow
*) 0 ;
24474 PyObject
* obj0
= 0 ;
24475 char *kwnames
[] = {
24476 (char *) "self", NULL
24479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocus",kwnames
,&obj0
)) goto fail
;
24480 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24481 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24484 (arg1
)->SetFocus();
24486 wxPyEndAllowThreads(__tstate
);
24487 if (PyErr_Occurred()) SWIG_fail
;
24489 Py_INCREF(Py_None
); resultobj
= Py_None
;
24496 static PyObject
*_wrap_Window_SetFocusFromKbd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24497 PyObject
*resultobj
;
24498 wxWindow
*arg1
= (wxWindow
*) 0 ;
24499 PyObject
* obj0
= 0 ;
24500 char *kwnames
[] = {
24501 (char *) "self", NULL
24504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocusFromKbd",kwnames
,&obj0
)) goto fail
;
24505 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24509 (arg1
)->SetFocusFromKbd();
24511 wxPyEndAllowThreads(__tstate
);
24512 if (PyErr_Occurred()) SWIG_fail
;
24514 Py_INCREF(Py_None
); resultobj
= Py_None
;
24521 static PyObject
*_wrap_Window_FindFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24522 PyObject
*resultobj
;
24524 char *kwnames
[] = {
24528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_FindFocus",kwnames
)) goto fail
;
24530 if (!wxPyCheckForApp()) SWIG_fail
;
24531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24532 result
= (wxWindow
*)wxWindow::FindFocus();
24534 wxPyEndAllowThreads(__tstate
);
24535 if (PyErr_Occurred()) SWIG_fail
;
24538 resultobj
= wxPyMake_wxObject(result
, 0);
24546 static PyObject
*_wrap_Window_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24547 PyObject
*resultobj
;
24548 wxWindow
*arg1
= (wxWindow
*) 0 ;
24550 PyObject
* obj0
= 0 ;
24551 char *kwnames
[] = {
24552 (char *) "self", NULL
24555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
24556 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24560 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocus();
24562 wxPyEndAllowThreads(__tstate
);
24563 if (PyErr_Occurred()) SWIG_fail
;
24566 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24574 static PyObject
*_wrap_Window_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24575 PyObject
*resultobj
;
24576 wxWindow
*arg1
= (wxWindow
*) 0 ;
24578 PyObject
* obj0
= 0 ;
24579 char *kwnames
[] = {
24580 (char *) "self", NULL
24583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
24584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24588 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocusFromKeyboard();
24590 wxPyEndAllowThreads(__tstate
);
24591 if (PyErr_Occurred()) SWIG_fail
;
24594 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24602 static PyObject
*_wrap_Window_GetDefaultItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24603 PyObject
*resultobj
;
24604 wxWindow
*arg1
= (wxWindow
*) 0 ;
24606 PyObject
* obj0
= 0 ;
24607 char *kwnames
[] = {
24608 (char *) "self", NULL
24611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDefaultItem",kwnames
,&obj0
)) goto fail
;
24612 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24613 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24616 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetDefaultItem();
24618 wxPyEndAllowThreads(__tstate
);
24619 if (PyErr_Occurred()) SWIG_fail
;
24622 resultobj
= wxPyMake_wxObject(result
, 0);
24630 static PyObject
*_wrap_Window_SetDefaultItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24631 PyObject
*resultobj
;
24632 wxWindow
*arg1
= (wxWindow
*) 0 ;
24633 wxWindow
*arg2
= (wxWindow
*) 0 ;
24635 PyObject
* obj0
= 0 ;
24636 PyObject
* obj1
= 0 ;
24637 char *kwnames
[] = {
24638 (char *) "self",(char *) "child", NULL
24641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
24642 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24643 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24644 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24645 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24648 result
= (wxWindow
*)(arg1
)->SetDefaultItem(arg2
);
24650 wxPyEndAllowThreads(__tstate
);
24651 if (PyErr_Occurred()) SWIG_fail
;
24654 resultobj
= wxPyMake_wxObject(result
, 0);
24662 static PyObject
*_wrap_Window_SetTmpDefaultItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24663 PyObject
*resultobj
;
24664 wxWindow
*arg1
= (wxWindow
*) 0 ;
24665 wxWindow
*arg2
= (wxWindow
*) 0 ;
24666 PyObject
* obj0
= 0 ;
24667 PyObject
* obj1
= 0 ;
24668 char *kwnames
[] = {
24669 (char *) "self",(char *) "win", NULL
24672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTmpDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
24673 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24674 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24675 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24676 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24679 (arg1
)->SetTmpDefaultItem(arg2
);
24681 wxPyEndAllowThreads(__tstate
);
24682 if (PyErr_Occurred()) SWIG_fail
;
24684 Py_INCREF(Py_None
); resultobj
= Py_None
;
24691 static PyObject
*_wrap_Window_Navigate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24692 PyObject
*resultobj
;
24693 wxWindow
*arg1
= (wxWindow
*) 0 ;
24694 int arg2
= (int) wxNavigationKeyEvent::IsForward
;
24696 PyObject
* obj0
= 0 ;
24697 PyObject
* obj1
= 0 ;
24698 char *kwnames
[] = {
24699 (char *) "self",(char *) "flags", NULL
24702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Navigate",kwnames
,&obj0
,&obj1
)) goto fail
;
24703 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24704 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24706 arg2
= (int)SWIG_As_int(obj1
);
24707 if (PyErr_Occurred()) SWIG_fail
;
24710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24711 result
= (bool)(arg1
)->Navigate(arg2
);
24713 wxPyEndAllowThreads(__tstate
);
24714 if (PyErr_Occurred()) SWIG_fail
;
24717 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24725 static PyObject
*_wrap_Window_MoveAfterInTabOrder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24726 PyObject
*resultobj
;
24727 wxWindow
*arg1
= (wxWindow
*) 0 ;
24728 wxWindow
*arg2
= (wxWindow
*) 0 ;
24729 PyObject
* obj0
= 0 ;
24730 PyObject
* obj1
= 0 ;
24731 char *kwnames
[] = {
24732 (char *) "self",(char *) "win", NULL
24735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_MoveAfterInTabOrder",kwnames
,&obj0
,&obj1
)) goto fail
;
24736 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24737 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24738 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24739 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24742 (arg1
)->MoveAfterInTabOrder(arg2
);
24744 wxPyEndAllowThreads(__tstate
);
24745 if (PyErr_Occurred()) SWIG_fail
;
24747 Py_INCREF(Py_None
); resultobj
= Py_None
;
24754 static PyObject
*_wrap_Window_MoveBeforeInTabOrder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24755 PyObject
*resultobj
;
24756 wxWindow
*arg1
= (wxWindow
*) 0 ;
24757 wxWindow
*arg2
= (wxWindow
*) 0 ;
24758 PyObject
* obj0
= 0 ;
24759 PyObject
* obj1
= 0 ;
24760 char *kwnames
[] = {
24761 (char *) "self",(char *) "win", NULL
24764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_MoveBeforeInTabOrder",kwnames
,&obj0
,&obj1
)) goto fail
;
24765 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24766 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24767 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24768 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24771 (arg1
)->MoveBeforeInTabOrder(arg2
);
24773 wxPyEndAllowThreads(__tstate
);
24774 if (PyErr_Occurred()) SWIG_fail
;
24776 Py_INCREF(Py_None
); resultobj
= Py_None
;
24783 static PyObject
*_wrap_Window_GetChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24784 PyObject
*resultobj
;
24785 wxWindow
*arg1
= (wxWindow
*) 0 ;
24787 PyObject
* obj0
= 0 ;
24788 char *kwnames
[] = {
24789 (char *) "self", NULL
24792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetChildren",kwnames
,&obj0
)) goto fail
;
24793 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24794 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24797 result
= (PyObject
*)wxWindow_GetChildren(arg1
);
24799 wxPyEndAllowThreads(__tstate
);
24800 if (PyErr_Occurred()) SWIG_fail
;
24802 resultobj
= result
;
24809 static PyObject
*_wrap_Window_GetParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24810 PyObject
*resultobj
;
24811 wxWindow
*arg1
= (wxWindow
*) 0 ;
24813 PyObject
* obj0
= 0 ;
24814 char *kwnames
[] = {
24815 (char *) "self", NULL
24818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetParent",kwnames
,&obj0
)) goto fail
;
24819 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24820 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24823 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetParent();
24825 wxPyEndAllowThreads(__tstate
);
24826 if (PyErr_Occurred()) SWIG_fail
;
24829 resultobj
= wxPyMake_wxObject(result
, 0);
24837 static PyObject
*_wrap_Window_GetGrandParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24838 PyObject
*resultobj
;
24839 wxWindow
*arg1
= (wxWindow
*) 0 ;
24841 PyObject
* obj0
= 0 ;
24842 char *kwnames
[] = {
24843 (char *) "self", NULL
24846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetGrandParent",kwnames
,&obj0
)) goto fail
;
24847 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24848 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24851 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetGrandParent();
24853 wxPyEndAllowThreads(__tstate
);
24854 if (PyErr_Occurred()) SWIG_fail
;
24857 resultobj
= wxPyMake_wxObject(result
, 0);
24865 static PyObject
*_wrap_Window_IsTopLevel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24866 PyObject
*resultobj
;
24867 wxWindow
*arg1
= (wxWindow
*) 0 ;
24869 PyObject
* obj0
= 0 ;
24870 char *kwnames
[] = {
24871 (char *) "self", NULL
24874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsTopLevel",kwnames
,&obj0
)) goto fail
;
24875 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24876 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24879 result
= (bool)((wxWindow
const *)arg1
)->IsTopLevel();
24881 wxPyEndAllowThreads(__tstate
);
24882 if (PyErr_Occurred()) SWIG_fail
;
24885 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24893 static PyObject
*_wrap_Window_Reparent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24894 PyObject
*resultobj
;
24895 wxWindow
*arg1
= (wxWindow
*) 0 ;
24896 wxWindow
*arg2
= (wxWindow
*) 0 ;
24898 PyObject
* obj0
= 0 ;
24899 PyObject
* obj1
= 0 ;
24900 char *kwnames
[] = {
24901 (char *) "self",(char *) "newParent", NULL
24904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_Reparent",kwnames
,&obj0
,&obj1
)) goto fail
;
24905 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24906 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24907 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24908 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24911 result
= (bool)(arg1
)->Reparent(arg2
);
24913 wxPyEndAllowThreads(__tstate
);
24914 if (PyErr_Occurred()) SWIG_fail
;
24917 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24925 static PyObject
*_wrap_Window_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24926 PyObject
*resultobj
;
24927 wxWindow
*arg1
= (wxWindow
*) 0 ;
24928 wxWindow
*arg2
= (wxWindow
*) 0 ;
24929 PyObject
* obj0
= 0 ;
24930 PyObject
* obj1
= 0 ;
24931 char *kwnames
[] = {
24932 (char *) "self",(char *) "child", NULL
24935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
24936 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24937 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24938 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24939 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24942 (arg1
)->AddChild(arg2
);
24944 wxPyEndAllowThreads(__tstate
);
24945 if (PyErr_Occurred()) SWIG_fail
;
24947 Py_INCREF(Py_None
); resultobj
= Py_None
;
24954 static PyObject
*_wrap_Window_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24955 PyObject
*resultobj
;
24956 wxWindow
*arg1
= (wxWindow
*) 0 ;
24957 wxWindow
*arg2
= (wxWindow
*) 0 ;
24958 PyObject
* obj0
= 0 ;
24959 PyObject
* obj1
= 0 ;
24960 char *kwnames
[] = {
24961 (char *) "self",(char *) "child", NULL
24964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
24965 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24966 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24967 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24968 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24971 (arg1
)->RemoveChild(arg2
);
24973 wxPyEndAllowThreads(__tstate
);
24974 if (PyErr_Occurred()) SWIG_fail
;
24976 Py_INCREF(Py_None
); resultobj
= Py_None
;
24983 static PyObject
*_wrap_Window_FindWindowById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24984 PyObject
*resultobj
;
24985 wxWindow
*arg1
= (wxWindow
*) 0 ;
24988 PyObject
* obj0
= 0 ;
24989 PyObject
* obj1
= 0 ;
24990 char *kwnames
[] = {
24991 (char *) "self",(char *) "winid", NULL
24994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowById",kwnames
,&obj0
,&obj1
)) goto fail
;
24995 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24996 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24997 arg2
= (long)SWIG_As_long(obj1
);
24998 if (PyErr_Occurred()) SWIG_fail
;
25000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25001 result
= (wxWindow
*)(arg1
)->FindWindow(arg2
);
25003 wxPyEndAllowThreads(__tstate
);
25004 if (PyErr_Occurred()) SWIG_fail
;
25007 resultobj
= wxPyMake_wxObject(result
, 0);
25015 static PyObject
*_wrap_Window_FindWindowByName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25016 PyObject
*resultobj
;
25017 wxWindow
*arg1
= (wxWindow
*) 0 ;
25018 wxString
*arg2
= 0 ;
25020 bool temp2
= False
;
25021 PyObject
* obj0
= 0 ;
25022 PyObject
* obj1
= 0 ;
25023 char *kwnames
[] = {
25024 (char *) "self",(char *) "name", NULL
25027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
25028 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25029 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25031 arg2
= wxString_in_helper(obj1
);
25032 if (arg2
== NULL
) SWIG_fail
;
25036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25037 result
= (wxWindow
*)(arg1
)->FindWindow((wxString
const &)*arg2
);
25039 wxPyEndAllowThreads(__tstate
);
25040 if (PyErr_Occurred()) SWIG_fail
;
25043 resultobj
= wxPyMake_wxObject(result
, 0);
25059 static PyObject
*_wrap_Window_GetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25060 PyObject
*resultobj
;
25061 wxWindow
*arg1
= (wxWindow
*) 0 ;
25062 wxEvtHandler
*result
;
25063 PyObject
* obj0
= 0 ;
25064 char *kwnames
[] = {
25065 (char *) "self", NULL
25068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetEventHandler",kwnames
,&obj0
)) goto fail
;
25069 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25070 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25073 result
= (wxEvtHandler
*)((wxWindow
const *)arg1
)->GetEventHandler();
25075 wxPyEndAllowThreads(__tstate
);
25076 if (PyErr_Occurred()) SWIG_fail
;
25079 resultobj
= wxPyMake_wxObject(result
, 0);
25087 static PyObject
*_wrap_Window_SetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25088 PyObject
*resultobj
;
25089 wxWindow
*arg1
= (wxWindow
*) 0 ;
25090 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
25091 PyObject
* obj0
= 0 ;
25092 PyObject
* obj1
= 0 ;
25093 char *kwnames
[] = {
25094 (char *) "self",(char *) "handler", NULL
25097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
25098 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25100 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
25101 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25104 (arg1
)->SetEventHandler(arg2
);
25106 wxPyEndAllowThreads(__tstate
);
25107 if (PyErr_Occurred()) SWIG_fail
;
25109 Py_INCREF(Py_None
); resultobj
= Py_None
;
25116 static PyObject
*_wrap_Window_PushEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25117 PyObject
*resultobj
;
25118 wxWindow
*arg1
= (wxWindow
*) 0 ;
25119 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
25120 PyObject
* obj0
= 0 ;
25121 PyObject
* obj1
= 0 ;
25122 char *kwnames
[] = {
25123 (char *) "self",(char *) "handler", NULL
25126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PushEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
25127 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25128 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25129 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
25130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25133 (arg1
)->PushEventHandler(arg2
);
25135 wxPyEndAllowThreads(__tstate
);
25136 if (PyErr_Occurred()) SWIG_fail
;
25138 Py_INCREF(Py_None
); resultobj
= Py_None
;
25145 static PyObject
*_wrap_Window_PopEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25146 PyObject
*resultobj
;
25147 wxWindow
*arg1
= (wxWindow
*) 0 ;
25148 bool arg2
= (bool) False
;
25149 wxEvtHandler
*result
;
25150 PyObject
* obj0
= 0 ;
25151 PyObject
* obj1
= 0 ;
25152 char *kwnames
[] = {
25153 (char *) "self",(char *) "deleteHandler", NULL
25156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_PopEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
25157 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25158 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25160 arg2
= (bool)SWIG_As_bool(obj1
);
25161 if (PyErr_Occurred()) SWIG_fail
;
25164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25165 result
= (wxEvtHandler
*)(arg1
)->PopEventHandler(arg2
);
25167 wxPyEndAllowThreads(__tstate
);
25168 if (PyErr_Occurred()) SWIG_fail
;
25171 resultobj
= wxPyMake_wxObject(result
, 0);
25179 static PyObject
*_wrap_Window_RemoveEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25180 PyObject
*resultobj
;
25181 wxWindow
*arg1
= (wxWindow
*) 0 ;
25182 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
25184 PyObject
* obj0
= 0 ;
25185 PyObject
* obj1
= 0 ;
25186 char *kwnames
[] = {
25187 (char *) "self",(char *) "handler", NULL
25190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
25191 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25192 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25193 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
25194 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25197 result
= (bool)(arg1
)->RemoveEventHandler(arg2
);
25199 wxPyEndAllowThreads(__tstate
);
25200 if (PyErr_Occurred()) SWIG_fail
;
25203 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25211 static PyObject
*_wrap_Window_SetValidator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25212 PyObject
*resultobj
;
25213 wxWindow
*arg1
= (wxWindow
*) 0 ;
25214 wxValidator
*arg2
= 0 ;
25215 PyObject
* obj0
= 0 ;
25216 PyObject
* obj1
= 0 ;
25217 char *kwnames
[] = {
25218 (char *) "self",(char *) "validator", NULL
25221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetValidator",kwnames
,&obj0
,&obj1
)) goto fail
;
25222 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25223 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25224 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxValidator
,
25225 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25227 if (arg2
== NULL
) {
25228 PyErr_SetString(PyExc_TypeError
,"null reference");
25232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25233 (arg1
)->SetValidator((wxValidator
const &)*arg2
);
25235 wxPyEndAllowThreads(__tstate
);
25236 if (PyErr_Occurred()) SWIG_fail
;
25238 Py_INCREF(Py_None
); resultobj
= Py_None
;
25245 static PyObject
*_wrap_Window_GetValidator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25246 PyObject
*resultobj
;
25247 wxWindow
*arg1
= (wxWindow
*) 0 ;
25248 wxValidator
*result
;
25249 PyObject
* obj0
= 0 ;
25250 char *kwnames
[] = {
25251 (char *) "self", NULL
25254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetValidator",kwnames
,&obj0
)) goto fail
;
25255 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25256 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25259 result
= (wxValidator
*)(arg1
)->GetValidator();
25261 wxPyEndAllowThreads(__tstate
);
25262 if (PyErr_Occurred()) SWIG_fail
;
25265 resultobj
= wxPyMake_wxObject(result
, 0);
25273 static PyObject
*_wrap_Window_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25274 PyObject
*resultobj
;
25275 wxWindow
*arg1
= (wxWindow
*) 0 ;
25277 PyObject
* obj0
= 0 ;
25278 char *kwnames
[] = {
25279 (char *) "self", NULL
25282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Validate",kwnames
,&obj0
)) goto fail
;
25283 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25284 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25287 result
= (bool)(arg1
)->Validate();
25289 wxPyEndAllowThreads(__tstate
);
25290 if (PyErr_Occurred()) SWIG_fail
;
25293 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25301 static PyObject
*_wrap_Window_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25302 PyObject
*resultobj
;
25303 wxWindow
*arg1
= (wxWindow
*) 0 ;
25305 PyObject
* obj0
= 0 ;
25306 char *kwnames
[] = {
25307 (char *) "self", NULL
25310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
25311 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25315 result
= (bool)(arg1
)->TransferDataToWindow();
25317 wxPyEndAllowThreads(__tstate
);
25318 if (PyErr_Occurred()) SWIG_fail
;
25321 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25329 static PyObject
*_wrap_Window_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25330 PyObject
*resultobj
;
25331 wxWindow
*arg1
= (wxWindow
*) 0 ;
25333 PyObject
* obj0
= 0 ;
25334 char *kwnames
[] = {
25335 (char *) "self", NULL
25338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
25339 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25343 result
= (bool)(arg1
)->TransferDataFromWindow();
25345 wxPyEndAllowThreads(__tstate
);
25346 if (PyErr_Occurred()) SWIG_fail
;
25349 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25357 static PyObject
*_wrap_Window_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25358 PyObject
*resultobj
;
25359 wxWindow
*arg1
= (wxWindow
*) 0 ;
25360 PyObject
* obj0
= 0 ;
25361 char *kwnames
[] = {
25362 (char *) "self", NULL
25365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InitDialog",kwnames
,&obj0
)) goto fail
;
25366 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25367 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25370 (arg1
)->InitDialog();
25372 wxPyEndAllowThreads(__tstate
);
25373 if (PyErr_Occurred()) SWIG_fail
;
25375 Py_INCREF(Py_None
); resultobj
= Py_None
;
25382 static PyObject
*_wrap_Window_SetAcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25383 PyObject
*resultobj
;
25384 wxWindow
*arg1
= (wxWindow
*) 0 ;
25385 wxAcceleratorTable
*arg2
= 0 ;
25386 PyObject
* obj0
= 0 ;
25387 PyObject
* obj1
= 0 ;
25388 char *kwnames
[] = {
25389 (char *) "self",(char *) "accel", NULL
25392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAcceleratorTable",kwnames
,&obj0
,&obj1
)) goto fail
;
25393 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25394 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25395 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxAcceleratorTable
,
25396 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25398 if (arg2
== NULL
) {
25399 PyErr_SetString(PyExc_TypeError
,"null reference");
25403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25404 (arg1
)->SetAcceleratorTable((wxAcceleratorTable
const &)*arg2
);
25406 wxPyEndAllowThreads(__tstate
);
25407 if (PyErr_Occurred()) SWIG_fail
;
25409 Py_INCREF(Py_None
); resultobj
= Py_None
;
25416 static PyObject
*_wrap_Window_GetAcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25417 PyObject
*resultobj
;
25418 wxWindow
*arg1
= (wxWindow
*) 0 ;
25419 wxAcceleratorTable
*result
;
25420 PyObject
* obj0
= 0 ;
25421 char *kwnames
[] = {
25422 (char *) "self", NULL
25425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAcceleratorTable",kwnames
,&obj0
)) goto fail
;
25426 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25427 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25430 result
= (wxAcceleratorTable
*)(arg1
)->GetAcceleratorTable();
25432 wxPyEndAllowThreads(__tstate
);
25433 if (PyErr_Occurred()) SWIG_fail
;
25435 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorTable
, 0);
25442 static PyObject
*_wrap_Window_RegisterHotKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25443 PyObject
*resultobj
;
25444 wxWindow
*arg1
= (wxWindow
*) 0 ;
25449 PyObject
* obj0
= 0 ;
25450 PyObject
* obj1
= 0 ;
25451 PyObject
* obj2
= 0 ;
25452 PyObject
* obj3
= 0 ;
25453 char *kwnames
[] = {
25454 (char *) "self",(char *) "hotkeyId",(char *) "modifiers",(char *) "keycode", NULL
25457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Window_RegisterHotKey",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25458 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25459 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25460 arg2
= (int)SWIG_As_int(obj1
);
25461 if (PyErr_Occurred()) SWIG_fail
;
25462 arg3
= (int)SWIG_As_int(obj2
);
25463 if (PyErr_Occurred()) SWIG_fail
;
25464 arg4
= (int)SWIG_As_int(obj3
);
25465 if (PyErr_Occurred()) SWIG_fail
;
25467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25468 result
= (bool)wxWindow_RegisterHotKey(arg1
,arg2
,arg3
,arg4
);
25470 wxPyEndAllowThreads(__tstate
);
25471 if (PyErr_Occurred()) SWIG_fail
;
25474 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25482 static PyObject
*_wrap_Window_UnregisterHotKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25483 PyObject
*resultobj
;
25484 wxWindow
*arg1
= (wxWindow
*) 0 ;
25487 PyObject
* obj0
= 0 ;
25488 PyObject
* obj1
= 0 ;
25489 char *kwnames
[] = {
25490 (char *) "self",(char *) "hotkeyId", NULL
25493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_UnregisterHotKey",kwnames
,&obj0
,&obj1
)) goto fail
;
25494 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25495 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25496 arg2
= (int)SWIG_As_int(obj1
);
25497 if (PyErr_Occurred()) SWIG_fail
;
25499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25500 result
= (bool)wxWindow_UnregisterHotKey(arg1
,arg2
);
25502 wxPyEndAllowThreads(__tstate
);
25503 if (PyErr_Occurred()) SWIG_fail
;
25506 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25514 static PyObject
*_wrap_Window_ConvertDialogPointToPixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25515 PyObject
*resultobj
;
25516 wxWindow
*arg1
= (wxWindow
*) 0 ;
25517 wxPoint
*arg2
= 0 ;
25520 PyObject
* obj0
= 0 ;
25521 PyObject
* obj1
= 0 ;
25522 char *kwnames
[] = {
25523 (char *) "self",(char *) "pt", NULL
25526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogPointToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
25527 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25528 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25531 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25535 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
25537 wxPyEndAllowThreads(__tstate
);
25538 if (PyErr_Occurred()) SWIG_fail
;
25541 wxPoint
* resultptr
;
25542 resultptr
= new wxPoint((wxPoint
&) result
);
25543 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
25551 static PyObject
*_wrap_Window_ConvertDialogSizeToPixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25552 PyObject
*resultobj
;
25553 wxWindow
*arg1
= (wxWindow
*) 0 ;
25557 PyObject
* obj0
= 0 ;
25558 PyObject
* obj1
= 0 ;
25559 char *kwnames
[] = {
25560 (char *) "self",(char *) "sz", NULL
25563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogSizeToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
25564 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25568 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25572 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
25574 wxPyEndAllowThreads(__tstate
);
25575 if (PyErr_Occurred()) SWIG_fail
;
25578 wxSize
* resultptr
;
25579 resultptr
= new wxSize((wxSize
&) result
);
25580 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
25588 static PyObject
*_wrap_Window_DLG_PNT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25589 PyObject
*resultobj
;
25590 wxWindow
*arg1
= (wxWindow
*) 0 ;
25591 wxPoint
*arg2
= 0 ;
25594 PyObject
* obj0
= 0 ;
25595 PyObject
* obj1
= 0 ;
25596 char *kwnames
[] = {
25597 (char *) "self",(char *) "pt", NULL
25600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_PNT",kwnames
,&obj0
,&obj1
)) goto fail
;
25601 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25602 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25605 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25609 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
25611 wxPyEndAllowThreads(__tstate
);
25612 if (PyErr_Occurred()) SWIG_fail
;
25615 wxPoint
* resultptr
;
25616 resultptr
= new wxPoint((wxPoint
&) result
);
25617 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
25625 static PyObject
*_wrap_Window_DLG_SZE(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25626 PyObject
*resultobj
;
25627 wxWindow
*arg1
= (wxWindow
*) 0 ;
25631 PyObject
* obj0
= 0 ;
25632 PyObject
* obj1
= 0 ;
25633 char *kwnames
[] = {
25634 (char *) "self",(char *) "sz", NULL
25637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_SZE",kwnames
,&obj0
,&obj1
)) goto fail
;
25638 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25639 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25642 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25646 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
25648 wxPyEndAllowThreads(__tstate
);
25649 if (PyErr_Occurred()) SWIG_fail
;
25652 wxSize
* resultptr
;
25653 resultptr
= new wxSize((wxSize
&) result
);
25654 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
25662 static PyObject
*_wrap_Window_ConvertPixelPointToDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25663 PyObject
*resultobj
;
25664 wxWindow
*arg1
= (wxWindow
*) 0 ;
25665 wxPoint
*arg2
= 0 ;
25668 PyObject
* obj0
= 0 ;
25669 PyObject
* obj1
= 0 ;
25670 char *kwnames
[] = {
25671 (char *) "self",(char *) "pt", NULL
25674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelPointToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
25675 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25676 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25679 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25683 result
= (arg1
)->ConvertPixelsToDialog((wxPoint
const &)*arg2
);
25685 wxPyEndAllowThreads(__tstate
);
25686 if (PyErr_Occurred()) SWIG_fail
;
25689 wxPoint
* resultptr
;
25690 resultptr
= new wxPoint((wxPoint
&) result
);
25691 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
25699 static PyObject
*_wrap_Window_ConvertPixelSizeToDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25700 PyObject
*resultobj
;
25701 wxWindow
*arg1
= (wxWindow
*) 0 ;
25705 PyObject
* obj0
= 0 ;
25706 PyObject
* obj1
= 0 ;
25707 char *kwnames
[] = {
25708 (char *) "self",(char *) "sz", NULL
25711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelSizeToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
25712 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25713 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25716 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25720 result
= (arg1
)->ConvertPixelsToDialog((wxSize
const &)*arg2
);
25722 wxPyEndAllowThreads(__tstate
);
25723 if (PyErr_Occurred()) SWIG_fail
;
25726 wxSize
* resultptr
;
25727 resultptr
= new wxSize((wxSize
&) result
);
25728 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
25736 static PyObject
*_wrap_Window_WarpPointer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25737 PyObject
*resultobj
;
25738 wxWindow
*arg1
= (wxWindow
*) 0 ;
25741 PyObject
* obj0
= 0 ;
25742 PyObject
* obj1
= 0 ;
25743 PyObject
* obj2
= 0 ;
25744 char *kwnames
[] = {
25745 (char *) "self",(char *) "x",(char *) "y", NULL
25748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_WarpPointer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25749 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25750 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25751 arg2
= (int)SWIG_As_int(obj1
);
25752 if (PyErr_Occurred()) SWIG_fail
;
25753 arg3
= (int)SWIG_As_int(obj2
);
25754 if (PyErr_Occurred()) SWIG_fail
;
25756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25757 (arg1
)->WarpPointer(arg2
,arg3
);
25759 wxPyEndAllowThreads(__tstate
);
25760 if (PyErr_Occurred()) SWIG_fail
;
25762 Py_INCREF(Py_None
); resultobj
= Py_None
;
25769 static PyObject
*_wrap_Window_CaptureMouse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25770 PyObject
*resultobj
;
25771 wxWindow
*arg1
= (wxWindow
*) 0 ;
25772 PyObject
* obj0
= 0 ;
25773 char *kwnames
[] = {
25774 (char *) "self", NULL
25777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_CaptureMouse",kwnames
,&obj0
)) goto fail
;
25778 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25779 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25782 (arg1
)->CaptureMouse();
25784 wxPyEndAllowThreads(__tstate
);
25785 if (PyErr_Occurred()) SWIG_fail
;
25787 Py_INCREF(Py_None
); resultobj
= Py_None
;
25794 static PyObject
*_wrap_Window_ReleaseMouse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25795 PyObject
*resultobj
;
25796 wxWindow
*arg1
= (wxWindow
*) 0 ;
25797 PyObject
* obj0
= 0 ;
25798 char *kwnames
[] = {
25799 (char *) "self", NULL
25802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ReleaseMouse",kwnames
,&obj0
)) goto fail
;
25803 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25804 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25807 (arg1
)->ReleaseMouse();
25809 wxPyEndAllowThreads(__tstate
);
25810 if (PyErr_Occurred()) SWIG_fail
;
25812 Py_INCREF(Py_None
); resultobj
= Py_None
;
25819 static PyObject
*_wrap_Window_GetCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25820 PyObject
*resultobj
;
25822 char *kwnames
[] = {
25826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_GetCapture",kwnames
)) goto fail
;
25828 if (!wxPyCheckForApp()) SWIG_fail
;
25829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25830 result
= (wxWindow
*)wxWindow::GetCapture();
25832 wxPyEndAllowThreads(__tstate
);
25833 if (PyErr_Occurred()) SWIG_fail
;
25836 resultobj
= wxPyMake_wxObject(result
, 0);
25844 static PyObject
*_wrap_Window_HasCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25845 PyObject
*resultobj
;
25846 wxWindow
*arg1
= (wxWindow
*) 0 ;
25848 PyObject
* obj0
= 0 ;
25849 char *kwnames
[] = {
25850 (char *) "self", NULL
25853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_HasCapture",kwnames
,&obj0
)) goto fail
;
25854 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25855 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25858 result
= (bool)((wxWindow
const *)arg1
)->HasCapture();
25860 wxPyEndAllowThreads(__tstate
);
25861 if (PyErr_Occurred()) SWIG_fail
;
25864 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25872 static PyObject
*_wrap_Window_Refresh(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25873 PyObject
*resultobj
;
25874 wxWindow
*arg1
= (wxWindow
*) 0 ;
25875 bool arg2
= (bool) True
;
25876 wxRect
*arg3
= (wxRect
*) NULL
;
25877 PyObject
* obj0
= 0 ;
25878 PyObject
* obj1
= 0 ;
25879 PyObject
* obj2
= 0 ;
25880 char *kwnames
[] = {
25881 (char *) "self",(char *) "eraseBackground",(char *) "rect", NULL
25884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Window_Refresh",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25885 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25888 arg2
= (bool)SWIG_As_bool(obj1
);
25889 if (PyErr_Occurred()) SWIG_fail
;
25892 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxRect
,
25893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25897 (arg1
)->Refresh(arg2
,(wxRect
const *)arg3
);
25899 wxPyEndAllowThreads(__tstate
);
25900 if (PyErr_Occurred()) SWIG_fail
;
25902 Py_INCREF(Py_None
); resultobj
= Py_None
;
25909 static PyObject
*_wrap_Window_RefreshRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25910 PyObject
*resultobj
;
25911 wxWindow
*arg1
= (wxWindow
*) 0 ;
25914 PyObject
* obj0
= 0 ;
25915 PyObject
* obj1
= 0 ;
25916 char *kwnames
[] = {
25917 (char *) "self",(char *) "rect", NULL
25920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RefreshRect",kwnames
,&obj0
,&obj1
)) goto fail
;
25921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25925 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
25928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25929 (arg1
)->RefreshRect((wxRect
const &)*arg2
);
25931 wxPyEndAllowThreads(__tstate
);
25932 if (PyErr_Occurred()) SWIG_fail
;
25934 Py_INCREF(Py_None
); resultobj
= Py_None
;
25941 static PyObject
*_wrap_Window_Update(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25942 PyObject
*resultobj
;
25943 wxWindow
*arg1
= (wxWindow
*) 0 ;
25944 PyObject
* obj0
= 0 ;
25945 char *kwnames
[] = {
25946 (char *) "self", NULL
25949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Update",kwnames
,&obj0
)) goto fail
;
25950 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25956 wxPyEndAllowThreads(__tstate
);
25957 if (PyErr_Occurred()) SWIG_fail
;
25959 Py_INCREF(Py_None
); resultobj
= Py_None
;
25966 static PyObject
*_wrap_Window_ClearBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25967 PyObject
*resultobj
;
25968 wxWindow
*arg1
= (wxWindow
*) 0 ;
25969 PyObject
* obj0
= 0 ;
25970 char *kwnames
[] = {
25971 (char *) "self", NULL
25974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ClearBackground",kwnames
,&obj0
)) goto fail
;
25975 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25979 (arg1
)->ClearBackground();
25981 wxPyEndAllowThreads(__tstate
);
25982 if (PyErr_Occurred()) SWIG_fail
;
25984 Py_INCREF(Py_None
); resultobj
= Py_None
;
25991 static PyObject
*_wrap_Window_Freeze(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25992 PyObject
*resultobj
;
25993 wxWindow
*arg1
= (wxWindow
*) 0 ;
25994 PyObject
* obj0
= 0 ;
25995 char *kwnames
[] = {
25996 (char *) "self", NULL
25999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Freeze",kwnames
,&obj0
)) goto fail
;
26000 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26001 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26006 wxPyEndAllowThreads(__tstate
);
26007 if (PyErr_Occurred()) SWIG_fail
;
26009 Py_INCREF(Py_None
); resultobj
= Py_None
;
26016 static PyObject
*_wrap_Window_Thaw(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26017 PyObject
*resultobj
;
26018 wxWindow
*arg1
= (wxWindow
*) 0 ;
26019 PyObject
* obj0
= 0 ;
26020 char *kwnames
[] = {
26021 (char *) "self", NULL
26024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Thaw",kwnames
,&obj0
)) goto fail
;
26025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26031 wxPyEndAllowThreads(__tstate
);
26032 if (PyErr_Occurred()) SWIG_fail
;
26034 Py_INCREF(Py_None
); resultobj
= Py_None
;
26041 static PyObject
*_wrap_Window_PrepareDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26042 PyObject
*resultobj
;
26043 wxWindow
*arg1
= (wxWindow
*) 0 ;
26045 PyObject
* obj0
= 0 ;
26046 PyObject
* obj1
= 0 ;
26047 char *kwnames
[] = {
26048 (char *) "self",(char *) "dc", NULL
26051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PrepareDC",kwnames
,&obj0
,&obj1
)) goto fail
;
26052 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26053 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26054 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
26055 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26057 if (arg2
== NULL
) {
26058 PyErr_SetString(PyExc_TypeError
,"null reference");
26062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26063 (arg1
)->PrepareDC(*arg2
);
26065 wxPyEndAllowThreads(__tstate
);
26066 if (PyErr_Occurred()) SWIG_fail
;
26068 Py_INCREF(Py_None
); resultobj
= Py_None
;
26075 static PyObject
*_wrap_Window_GetUpdateRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26076 PyObject
*resultobj
;
26077 wxWindow
*arg1
= (wxWindow
*) 0 ;
26079 PyObject
* obj0
= 0 ;
26080 char *kwnames
[] = {
26081 (char *) "self", NULL
26084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateRegion",kwnames
,&obj0
)) goto fail
;
26085 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26086 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26090 wxRegion
&_result_ref
= (arg1
)->GetUpdateRegion();
26091 result
= (wxRegion
*) &_result_ref
;
26094 wxPyEndAllowThreads(__tstate
);
26095 if (PyErr_Occurred()) SWIG_fail
;
26097 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 0);
26104 static PyObject
*_wrap_Window_GetUpdateClientRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26105 PyObject
*resultobj
;
26106 wxWindow
*arg1
= (wxWindow
*) 0 ;
26108 PyObject
* obj0
= 0 ;
26109 char *kwnames
[] = {
26110 (char *) "self", NULL
26113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateClientRect",kwnames
,&obj0
)) goto fail
;
26114 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26115 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26118 result
= ((wxWindow
const *)arg1
)->GetUpdateClientRect();
26120 wxPyEndAllowThreads(__tstate
);
26121 if (PyErr_Occurred()) SWIG_fail
;
26124 wxRect
* resultptr
;
26125 resultptr
= new wxRect((wxRect
&) result
);
26126 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
26134 static PyObject
*_wrap_Window_IsExposed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26135 PyObject
*resultobj
;
26136 wxWindow
*arg1
= (wxWindow
*) 0 ;
26139 int arg4
= (int) 1 ;
26140 int arg5
= (int) 1 ;
26142 PyObject
* obj0
= 0 ;
26143 PyObject
* obj1
= 0 ;
26144 PyObject
* obj2
= 0 ;
26145 PyObject
* obj3
= 0 ;
26146 PyObject
* obj4
= 0 ;
26147 char *kwnames
[] = {
26148 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
26151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Window_IsExposed",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
26152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26154 arg2
= (int)SWIG_As_int(obj1
);
26155 if (PyErr_Occurred()) SWIG_fail
;
26156 arg3
= (int)SWIG_As_int(obj2
);
26157 if (PyErr_Occurred()) SWIG_fail
;
26159 arg4
= (int)SWIG_As_int(obj3
);
26160 if (PyErr_Occurred()) SWIG_fail
;
26163 arg5
= (int)SWIG_As_int(obj4
);
26164 if (PyErr_Occurred()) SWIG_fail
;
26167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26168 result
= (bool)((wxWindow
const *)arg1
)->IsExposed(arg2
,arg3
,arg4
,arg5
);
26170 wxPyEndAllowThreads(__tstate
);
26171 if (PyErr_Occurred()) SWIG_fail
;
26174 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26182 static PyObject
*_wrap_Window_IsExposedPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26183 PyObject
*resultobj
;
26184 wxWindow
*arg1
= (wxWindow
*) 0 ;
26185 wxPoint
*arg2
= 0 ;
26188 PyObject
* obj0
= 0 ;
26189 PyObject
* obj1
= 0 ;
26190 char *kwnames
[] = {
26191 (char *) "self",(char *) "pt", NULL
26194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
26195 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26199 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26203 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxPoint
const &)*arg2
);
26205 wxPyEndAllowThreads(__tstate
);
26206 if (PyErr_Occurred()) SWIG_fail
;
26209 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26217 static PyObject
*_wrap_Window_IsExposedRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26218 PyObject
*resultobj
;
26219 wxWindow
*arg1
= (wxWindow
*) 0 ;
26223 PyObject
* obj0
= 0 ;
26224 PyObject
* obj1
= 0 ;
26225 char *kwnames
[] = {
26226 (char *) "self",(char *) "rect", NULL
26229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedRect",kwnames
,&obj0
,&obj1
)) goto fail
;
26230 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26234 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
26237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26238 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxRect
const &)*arg2
);
26240 wxPyEndAllowThreads(__tstate
);
26241 if (PyErr_Occurred()) SWIG_fail
;
26244 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26252 static PyObject
*_wrap_Window_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26253 PyObject
*resultobj
;
26254 wxWindow
*arg1
= (wxWindow
*) 0 ;
26255 wxVisualAttributes result
;
26256 PyObject
* obj0
= 0 ;
26257 char *kwnames
[] = {
26258 (char *) "self", NULL
26261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
26262 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26263 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26266 result
= ((wxWindow
const *)arg1
)->GetDefaultAttributes();
26268 wxPyEndAllowThreads(__tstate
);
26269 if (PyErr_Occurred()) SWIG_fail
;
26272 wxVisualAttributes
* resultptr
;
26273 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
26274 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
26282 static PyObject
*_wrap_Window_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26283 PyObject
*resultobj
;
26284 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
26285 wxVisualAttributes result
;
26286 PyObject
* obj0
= 0 ;
26287 char *kwnames
[] = {
26288 (char *) "variant", NULL
26291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Window_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
26293 arg1
= (int)SWIG_As_int(obj0
);
26294 if (PyErr_Occurred()) SWIG_fail
;
26297 if (!wxPyCheckForApp()) SWIG_fail
;
26298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26299 result
= wxWindow::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
26301 wxPyEndAllowThreads(__tstate
);
26302 if (PyErr_Occurred()) SWIG_fail
;
26305 wxVisualAttributes
* resultptr
;
26306 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
26307 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
26315 static PyObject
*_wrap_Window_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26316 PyObject
*resultobj
;
26317 wxWindow
*arg1
= (wxWindow
*) 0 ;
26318 wxColour
*arg2
= 0 ;
26321 PyObject
* obj0
= 0 ;
26322 PyObject
* obj1
= 0 ;
26323 char *kwnames
[] = {
26324 (char *) "self",(char *) "colour", NULL
26327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
26328 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26329 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26332 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26336 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
26338 wxPyEndAllowThreads(__tstate
);
26339 if (PyErr_Occurred()) SWIG_fail
;
26342 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26350 static PyObject
*_wrap_Window_SetOwnBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26351 PyObject
*resultobj
;
26352 wxWindow
*arg1
= (wxWindow
*) 0 ;
26353 wxColour
*arg2
= 0 ;
26355 PyObject
* obj0
= 0 ;
26356 PyObject
* obj1
= 0 ;
26357 char *kwnames
[] = {
26358 (char *) "self",(char *) "colour", NULL
26361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
26362 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26366 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26370 (arg1
)->SetOwnBackgroundColour((wxColour
const &)*arg2
);
26372 wxPyEndAllowThreads(__tstate
);
26373 if (PyErr_Occurred()) SWIG_fail
;
26375 Py_INCREF(Py_None
); resultobj
= Py_None
;
26382 static PyObject
*_wrap_Window_SetForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26383 PyObject
*resultobj
;
26384 wxWindow
*arg1
= (wxWindow
*) 0 ;
26385 wxColour
*arg2
= 0 ;
26388 PyObject
* obj0
= 0 ;
26389 PyObject
* obj1
= 0 ;
26390 char *kwnames
[] = {
26391 (char *) "self",(char *) "colour", NULL
26394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
26395 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26396 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26399 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26403 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
26405 wxPyEndAllowThreads(__tstate
);
26406 if (PyErr_Occurred()) SWIG_fail
;
26409 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26417 static PyObject
*_wrap_Window_SetOwnForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26418 PyObject
*resultobj
;
26419 wxWindow
*arg1
= (wxWindow
*) 0 ;
26420 wxColour
*arg2
= 0 ;
26422 PyObject
* obj0
= 0 ;
26423 PyObject
* obj1
= 0 ;
26424 char *kwnames
[] = {
26425 (char *) "self",(char *) "colour", NULL
26428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
26429 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26430 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26433 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26437 (arg1
)->SetOwnForegroundColour((wxColour
const &)*arg2
);
26439 wxPyEndAllowThreads(__tstate
);
26440 if (PyErr_Occurred()) SWIG_fail
;
26442 Py_INCREF(Py_None
); resultobj
= Py_None
;
26449 static PyObject
*_wrap_Window_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26450 PyObject
*resultobj
;
26451 wxWindow
*arg1
= (wxWindow
*) 0 ;
26453 PyObject
* obj0
= 0 ;
26454 char *kwnames
[] = {
26455 (char *) "self", NULL
26458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
26459 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26460 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26463 result
= ((wxWindow
const *)arg1
)->GetBackgroundColour();
26465 wxPyEndAllowThreads(__tstate
);
26466 if (PyErr_Occurred()) SWIG_fail
;
26469 wxColour
* resultptr
;
26470 resultptr
= new wxColour((wxColour
&) result
);
26471 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
26479 static PyObject
*_wrap_Window_GetForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26480 PyObject
*resultobj
;
26481 wxWindow
*arg1
= (wxWindow
*) 0 ;
26483 PyObject
* obj0
= 0 ;
26484 char *kwnames
[] = {
26485 (char *) "self", NULL
26488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetForegroundColour",kwnames
,&obj0
)) goto fail
;
26489 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26490 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26493 result
= ((wxWindow
const *)arg1
)->GetForegroundColour();
26495 wxPyEndAllowThreads(__tstate
);
26496 if (PyErr_Occurred()) SWIG_fail
;
26499 wxColour
* resultptr
;
26500 resultptr
= new wxColour((wxColour
&) result
);
26501 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
26509 static PyObject
*_wrap_Window_SetBackgroundStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26510 PyObject
*resultobj
;
26511 wxWindow
*arg1
= (wxWindow
*) 0 ;
26514 PyObject
* obj0
= 0 ;
26515 PyObject
* obj1
= 0 ;
26516 char *kwnames
[] = {
26517 (char *) "self",(char *) "style", NULL
26520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetBackgroundStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
26521 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26522 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26523 arg2
= (int)SWIG_As_int(obj1
);
26524 if (PyErr_Occurred()) SWIG_fail
;
26526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26527 result
= (bool)(arg1
)->SetBackgroundStyle((wxBackgroundStyle
)arg2
);
26529 wxPyEndAllowThreads(__tstate
);
26530 if (PyErr_Occurred()) SWIG_fail
;
26533 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26541 static PyObject
*_wrap_Window_GetBackgroundStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26542 PyObject
*resultobj
;
26543 wxWindow
*arg1
= (wxWindow
*) 0 ;
26545 PyObject
* obj0
= 0 ;
26546 char *kwnames
[] = {
26547 (char *) "self", NULL
26550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBackgroundStyle",kwnames
,&obj0
)) goto fail
;
26551 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26552 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26555 result
= (int)((wxWindow
const *)arg1
)->GetBackgroundStyle();
26557 wxPyEndAllowThreads(__tstate
);
26558 if (PyErr_Occurred()) SWIG_fail
;
26560 resultobj
= SWIG_From_int((int)result
);
26567 static PyObject
*_wrap_Window_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26568 PyObject
*resultobj
;
26569 wxWindow
*arg1
= (wxWindow
*) 0 ;
26570 wxCursor
*arg2
= 0 ;
26572 PyObject
* obj0
= 0 ;
26573 PyObject
* obj1
= 0 ;
26574 char *kwnames
[] = {
26575 (char *) "self",(char *) "cursor", NULL
26578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
26579 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26581 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
26582 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26584 if (arg2
== NULL
) {
26585 PyErr_SetString(PyExc_TypeError
,"null reference");
26589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26590 result
= (bool)(arg1
)->SetCursor((wxCursor
const &)*arg2
);
26592 wxPyEndAllowThreads(__tstate
);
26593 if (PyErr_Occurred()) SWIG_fail
;
26596 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26604 static PyObject
*_wrap_Window_GetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26605 PyObject
*resultobj
;
26606 wxWindow
*arg1
= (wxWindow
*) 0 ;
26608 PyObject
* obj0
= 0 ;
26609 char *kwnames
[] = {
26610 (char *) "self", NULL
26613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCursor",kwnames
,&obj0
)) goto fail
;
26614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26618 result
= (arg1
)->GetCursor();
26620 wxPyEndAllowThreads(__tstate
);
26621 if (PyErr_Occurred()) SWIG_fail
;
26624 wxCursor
* resultptr
;
26625 resultptr
= new wxCursor((wxCursor
&) result
);
26626 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxCursor
, 1);
26634 static PyObject
*_wrap_Window_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26635 PyObject
*resultobj
;
26636 wxWindow
*arg1
= (wxWindow
*) 0 ;
26639 PyObject
* obj0
= 0 ;
26640 PyObject
* obj1
= 0 ;
26641 char *kwnames
[] = {
26642 (char *) "self",(char *) "font", NULL
26645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
26646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26648 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
26649 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26651 if (arg2
== NULL
) {
26652 PyErr_SetString(PyExc_TypeError
,"null reference");
26656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26657 result
= (bool)(arg1
)->SetFont((wxFont
const &)*arg2
);
26659 wxPyEndAllowThreads(__tstate
);
26660 if (PyErr_Occurred()) SWIG_fail
;
26663 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26671 static PyObject
*_wrap_Window_SetOwnFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26672 PyObject
*resultobj
;
26673 wxWindow
*arg1
= (wxWindow
*) 0 ;
26675 PyObject
* obj0
= 0 ;
26676 PyObject
* obj1
= 0 ;
26677 char *kwnames
[] = {
26678 (char *) "self",(char *) "font", NULL
26681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnFont",kwnames
,&obj0
,&obj1
)) goto fail
;
26682 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26684 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
26685 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26687 if (arg2
== NULL
) {
26688 PyErr_SetString(PyExc_TypeError
,"null reference");
26692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26693 (arg1
)->SetOwnFont((wxFont
const &)*arg2
);
26695 wxPyEndAllowThreads(__tstate
);
26696 if (PyErr_Occurred()) SWIG_fail
;
26698 Py_INCREF(Py_None
); resultobj
= Py_None
;
26705 static PyObject
*_wrap_Window_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26706 PyObject
*resultobj
;
26707 wxWindow
*arg1
= (wxWindow
*) 0 ;
26709 PyObject
* obj0
= 0 ;
26710 char *kwnames
[] = {
26711 (char *) "self", NULL
26714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetFont",kwnames
,&obj0
)) goto fail
;
26715 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26716 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26719 result
= (arg1
)->GetFont();
26721 wxPyEndAllowThreads(__tstate
);
26722 if (PyErr_Occurred()) SWIG_fail
;
26725 wxFont
* resultptr
;
26726 resultptr
= new wxFont((wxFont
&) result
);
26727 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
26735 static PyObject
*_wrap_Window_SetCaret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26736 PyObject
*resultobj
;
26737 wxWindow
*arg1
= (wxWindow
*) 0 ;
26738 wxCaret
*arg2
= (wxCaret
*) 0 ;
26739 PyObject
* obj0
= 0 ;
26740 PyObject
* obj1
= 0 ;
26741 char *kwnames
[] = {
26742 (char *) "self",(char *) "caret", NULL
26745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCaret",kwnames
,&obj0
,&obj1
)) goto fail
;
26746 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26747 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26748 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCaret
,
26749 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26752 (arg1
)->SetCaret(arg2
);
26754 wxPyEndAllowThreads(__tstate
);
26755 if (PyErr_Occurred()) SWIG_fail
;
26757 Py_INCREF(Py_None
); resultobj
= Py_None
;
26764 static PyObject
*_wrap_Window_GetCaret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26765 PyObject
*resultobj
;
26766 wxWindow
*arg1
= (wxWindow
*) 0 ;
26768 PyObject
* obj0
= 0 ;
26769 char *kwnames
[] = {
26770 (char *) "self", NULL
26773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCaret",kwnames
,&obj0
)) goto fail
;
26774 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26775 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26778 result
= (wxCaret
*)((wxWindow
const *)arg1
)->GetCaret();
26780 wxPyEndAllowThreads(__tstate
);
26781 if (PyErr_Occurred()) SWIG_fail
;
26783 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCaret
, 0);
26790 static PyObject
*_wrap_Window_GetCharHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26791 PyObject
*resultobj
;
26792 wxWindow
*arg1
= (wxWindow
*) 0 ;
26794 PyObject
* obj0
= 0 ;
26795 char *kwnames
[] = {
26796 (char *) "self", NULL
26799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharHeight",kwnames
,&obj0
)) goto fail
;
26800 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26801 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26804 result
= (int)((wxWindow
const *)arg1
)->GetCharHeight();
26806 wxPyEndAllowThreads(__tstate
);
26807 if (PyErr_Occurred()) SWIG_fail
;
26809 resultobj
= SWIG_From_int((int)result
);
26816 static PyObject
*_wrap_Window_GetCharWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26817 PyObject
*resultobj
;
26818 wxWindow
*arg1
= (wxWindow
*) 0 ;
26820 PyObject
* obj0
= 0 ;
26821 char *kwnames
[] = {
26822 (char *) "self", NULL
26825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharWidth",kwnames
,&obj0
)) goto fail
;
26826 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26827 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26830 result
= (int)((wxWindow
const *)arg1
)->GetCharWidth();
26832 wxPyEndAllowThreads(__tstate
);
26833 if (PyErr_Occurred()) SWIG_fail
;
26835 resultobj
= SWIG_From_int((int)result
);
26842 static PyObject
*_wrap_Window_GetTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26843 PyObject
*resultobj
;
26844 wxWindow
*arg1
= (wxWindow
*) 0 ;
26845 wxString
*arg2
= 0 ;
26846 int *arg3
= (int *) 0 ;
26847 int *arg4
= (int *) 0 ;
26848 bool temp2
= False
;
26853 PyObject
* obj0
= 0 ;
26854 PyObject
* obj1
= 0 ;
26855 char *kwnames
[] = {
26856 (char *) "self",(char *) "string", NULL
26859 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
26860 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
26861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetTextExtent",kwnames
,&obj0
,&obj1
)) goto fail
;
26862 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26863 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26865 arg2
= wxString_in_helper(obj1
);
26866 if (arg2
== NULL
) SWIG_fail
;
26870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26871 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
26873 wxPyEndAllowThreads(__tstate
);
26874 if (PyErr_Occurred()) SWIG_fail
;
26876 Py_INCREF(Py_None
); resultobj
= Py_None
;
26877 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
26878 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
26879 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
26880 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
26895 static PyObject
*_wrap_Window_GetFullTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26896 PyObject
*resultobj
;
26897 wxWindow
*arg1
= (wxWindow
*) 0 ;
26898 wxString
*arg2
= 0 ;
26899 int *arg3
= (int *) 0 ;
26900 int *arg4
= (int *) 0 ;
26901 int *arg5
= (int *) 0 ;
26902 int *arg6
= (int *) 0 ;
26903 wxFont
*arg7
= (wxFont
*) NULL
;
26904 bool temp2
= False
;
26913 PyObject
* obj0
= 0 ;
26914 PyObject
* obj1
= 0 ;
26915 PyObject
* obj2
= 0 ;
26916 char *kwnames
[] = {
26917 (char *) "self",(char *) "string",(char *) "font", NULL
26920 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
26921 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
26922 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
26923 arg6
= &temp6
; res6
= SWIG_NEWOBJ
;
26924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26925 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26928 arg2
= wxString_in_helper(obj1
);
26929 if (arg2
== NULL
) SWIG_fail
;
26933 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg7
),SWIGTYPE_p_wxFont
,
26934 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26938 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,(wxFont
const *)arg7
);
26940 wxPyEndAllowThreads(__tstate
);
26941 if (PyErr_Occurred()) SWIG_fail
;
26943 Py_INCREF(Py_None
); resultobj
= Py_None
;
26944 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
26945 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
26946 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
26947 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
26948 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
26949 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
26950 resultobj
= t_output_helper(resultobj
, ((res6
== SWIG_NEWOBJ
) ?
26951 SWIG_From_int((*arg6
)) : SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_int
, 0)));
26966 static PyObject
*_wrap_Window_ClientToScreenXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26967 PyObject
*resultobj
;
26968 wxWindow
*arg1
= (wxWindow
*) 0 ;
26969 int *arg2
= (int *) 0 ;
26970 int *arg3
= (int *) 0 ;
26975 PyObject
* obj0
= 0 ;
26976 PyObject
* obj1
= 0 ;
26977 PyObject
* obj2
= 0 ;
26978 char *kwnames
[] = {
26979 (char *) "self",(char *) "x",(char *) "y", NULL
26982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ClientToScreenXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26983 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26984 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26986 if (!(SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_int
,0) != -1)) {
26987 temp2
= SWIG_As_int(obj1
);
26988 if (PyErr_Occurred()) SWIG_fail
;
26990 res2
= SWIG_NEWOBJ
;
26994 if (!(SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_int
,0) != -1)) {
26995 temp3
= SWIG_As_int(obj2
);
26996 if (PyErr_Occurred()) SWIG_fail
;
26998 res3
= SWIG_NEWOBJ
;
27002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27003 ((wxWindow
const *)arg1
)->ClientToScreen(arg2
,arg3
);
27005 wxPyEndAllowThreads(__tstate
);
27006 if (PyErr_Occurred()) SWIG_fail
;
27008 Py_INCREF(Py_None
); resultobj
= Py_None
;
27009 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
27010 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
27011 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
27012 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
27019 static PyObject
*_wrap_Window_ScreenToClientXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27020 PyObject
*resultobj
;
27021 wxWindow
*arg1
= (wxWindow
*) 0 ;
27022 int *arg2
= (int *) 0 ;
27023 int *arg3
= (int *) 0 ;
27028 PyObject
* obj0
= 0 ;
27029 PyObject
* obj1
= 0 ;
27030 PyObject
* obj2
= 0 ;
27031 char *kwnames
[] = {
27032 (char *) "self",(char *) "x",(char *) "y", NULL
27035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ScreenToClientXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27036 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27037 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27039 if (!(SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_int
,0) != -1)) {
27040 temp2
= SWIG_As_int(obj1
);
27041 if (PyErr_Occurred()) SWIG_fail
;
27043 res2
= SWIG_NEWOBJ
;
27047 if (!(SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_int
,0) != -1)) {
27048 temp3
= SWIG_As_int(obj2
);
27049 if (PyErr_Occurred()) SWIG_fail
;
27051 res3
= SWIG_NEWOBJ
;
27055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27056 ((wxWindow
const *)arg1
)->ScreenToClient(arg2
,arg3
);
27058 wxPyEndAllowThreads(__tstate
);
27059 if (PyErr_Occurred()) SWIG_fail
;
27061 Py_INCREF(Py_None
); resultobj
= Py_None
;
27062 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
27063 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
27064 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
27065 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
27072 static PyObject
*_wrap_Window_ClientToScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27073 PyObject
*resultobj
;
27074 wxWindow
*arg1
= (wxWindow
*) 0 ;
27075 wxPoint
*arg2
= 0 ;
27078 PyObject
* obj0
= 0 ;
27079 PyObject
* obj1
= 0 ;
27080 char *kwnames
[] = {
27081 (char *) "self",(char *) "pt", NULL
27084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ClientToScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
27085 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27086 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27089 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
27092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27093 result
= ((wxWindow
const *)arg1
)->ClientToScreen((wxPoint
const &)*arg2
);
27095 wxPyEndAllowThreads(__tstate
);
27096 if (PyErr_Occurred()) SWIG_fail
;
27099 wxPoint
* resultptr
;
27100 resultptr
= new wxPoint((wxPoint
&) result
);
27101 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
27109 static PyObject
*_wrap_Window_ScreenToClient(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27110 PyObject
*resultobj
;
27111 wxWindow
*arg1
= (wxWindow
*) 0 ;
27112 wxPoint
*arg2
= 0 ;
27115 PyObject
* obj0
= 0 ;
27116 PyObject
* obj1
= 0 ;
27117 char *kwnames
[] = {
27118 (char *) "self",(char *) "pt", NULL
27121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScreenToClient",kwnames
,&obj0
,&obj1
)) goto fail
;
27122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27126 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
27129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27130 result
= ((wxWindow
const *)arg1
)->ScreenToClient((wxPoint
const &)*arg2
);
27132 wxPyEndAllowThreads(__tstate
);
27133 if (PyErr_Occurred()) SWIG_fail
;
27136 wxPoint
* resultptr
;
27137 resultptr
= new wxPoint((wxPoint
&) result
);
27138 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
27146 static PyObject
*_wrap_Window_HitTestXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27147 PyObject
*resultobj
;
27148 wxWindow
*arg1
= (wxWindow
*) 0 ;
27152 PyObject
* obj0
= 0 ;
27153 PyObject
* obj1
= 0 ;
27154 PyObject
* obj2
= 0 ;
27155 char *kwnames
[] = {
27156 (char *) "self",(char *) "x",(char *) "y", NULL
27159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27160 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27161 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27162 arg2
= (int)SWIG_As_int(obj1
);
27163 if (PyErr_Occurred()) SWIG_fail
;
27164 arg3
= (int)SWIG_As_int(obj2
);
27165 if (PyErr_Occurred()) SWIG_fail
;
27167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27168 result
= (int)((wxWindow
const *)arg1
)->HitTest(arg2
,arg3
);
27170 wxPyEndAllowThreads(__tstate
);
27171 if (PyErr_Occurred()) SWIG_fail
;
27173 resultobj
= SWIG_From_int((int)result
);
27180 static PyObject
*_wrap_Window_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27181 PyObject
*resultobj
;
27182 wxWindow
*arg1
= (wxWindow
*) 0 ;
27183 wxPoint
*arg2
= 0 ;
27186 PyObject
* obj0
= 0 ;
27187 PyObject
* obj1
= 0 ;
27188 char *kwnames
[] = {
27189 (char *) "self",(char *) "pt", NULL
27192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
27193 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27194 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27197 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
27200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27201 result
= (int)((wxWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
27203 wxPyEndAllowThreads(__tstate
);
27204 if (PyErr_Occurred()) SWIG_fail
;
27206 resultobj
= SWIG_From_int((int)result
);
27213 static PyObject
*_wrap_Window_GetBorder__SWIG_0(PyObject
*, PyObject
*args
) {
27214 PyObject
*resultobj
;
27215 wxWindow
*arg1
= (wxWindow
*) 0 ;
27218 PyObject
* obj0
= 0 ;
27219 PyObject
* obj1
= 0 ;
27221 if(!PyArg_ParseTuple(args
,(char *)"OO:Window_GetBorder",&obj0
,&obj1
)) goto fail
;
27222 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27223 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27224 arg2
= (long)SWIG_As_long(obj1
);
27225 if (PyErr_Occurred()) SWIG_fail
;
27227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27228 result
= (int)((wxWindow
const *)arg1
)->GetBorder(arg2
);
27230 wxPyEndAllowThreads(__tstate
);
27231 if (PyErr_Occurred()) SWIG_fail
;
27233 resultobj
= SWIG_From_int((int)result
);
27240 static PyObject
*_wrap_Window_GetBorder__SWIG_1(PyObject
*, PyObject
*args
) {
27241 PyObject
*resultobj
;
27242 wxWindow
*arg1
= (wxWindow
*) 0 ;
27244 PyObject
* obj0
= 0 ;
27246 if(!PyArg_ParseTuple(args
,(char *)"O:Window_GetBorder",&obj0
)) goto fail
;
27247 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27251 result
= (int)((wxWindow
const *)arg1
)->GetBorder();
27253 wxPyEndAllowThreads(__tstate
);
27254 if (PyErr_Occurred()) SWIG_fail
;
27256 resultobj
= SWIG_From_int((int)result
);
27263 static PyObject
*_wrap_Window_GetBorder(PyObject
*self
, PyObject
*args
) {
27268 argc
= PyObject_Length(args
);
27269 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
27270 argv
[ii
] = PyTuple_GetItem(args
,ii
);
27276 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
27284 return _wrap_Window_GetBorder__SWIG_1(self
,args
);
27291 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
27299 _v
= SWIG_Check_long(argv
[1]);
27301 return _wrap_Window_GetBorder__SWIG_0(self
,args
);
27306 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'Window_GetBorder'");
27311 static PyObject
*_wrap_Window_UpdateWindowUI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27312 PyObject
*resultobj
;
27313 wxWindow
*arg1
= (wxWindow
*) 0 ;
27314 long arg2
= (long) wxUPDATE_UI_NONE
;
27315 PyObject
* obj0
= 0 ;
27316 PyObject
* obj1
= 0 ;
27317 char *kwnames
[] = {
27318 (char *) "self",(char *) "flags", NULL
27321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_UpdateWindowUI",kwnames
,&obj0
,&obj1
)) goto fail
;
27322 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27325 arg2
= (long)SWIG_As_long(obj1
);
27326 if (PyErr_Occurred()) SWIG_fail
;
27329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27330 (arg1
)->UpdateWindowUI(arg2
);
27332 wxPyEndAllowThreads(__tstate
);
27333 if (PyErr_Occurred()) SWIG_fail
;
27335 Py_INCREF(Py_None
); resultobj
= Py_None
;
27342 static PyObject
*_wrap_Window_PopupMenuXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27343 PyObject
*resultobj
;
27344 wxWindow
*arg1
= (wxWindow
*) 0 ;
27345 wxMenu
*arg2
= (wxMenu
*) 0 ;
27346 int arg3
= (int) -1 ;
27347 int arg4
= (int) -1 ;
27349 PyObject
* obj0
= 0 ;
27350 PyObject
* obj1
= 0 ;
27351 PyObject
* obj2
= 0 ;
27352 PyObject
* obj3
= 0 ;
27353 char *kwnames
[] = {
27354 (char *) "self",(char *) "menu",(char *) "x",(char *) "y", NULL
27357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Window_PopupMenuXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27360 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
27361 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27363 arg3
= (int)SWIG_As_int(obj2
);
27364 if (PyErr_Occurred()) SWIG_fail
;
27367 arg4
= (int)SWIG_As_int(obj3
);
27368 if (PyErr_Occurred()) SWIG_fail
;
27371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27372 result
= (bool)(arg1
)->PopupMenu(arg2
,arg3
,arg4
);
27374 wxPyEndAllowThreads(__tstate
);
27375 if (PyErr_Occurred()) SWIG_fail
;
27378 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27386 static PyObject
*_wrap_Window_PopupMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27387 PyObject
*resultobj
;
27388 wxWindow
*arg1
= (wxWindow
*) 0 ;
27389 wxMenu
*arg2
= (wxMenu
*) 0 ;
27390 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
27391 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
27394 PyObject
* obj0
= 0 ;
27395 PyObject
* obj1
= 0 ;
27396 PyObject
* obj2
= 0 ;
27397 char *kwnames
[] = {
27398 (char *) "self",(char *) "menu",(char *) "pos", NULL
27401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_PopupMenu",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27402 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27403 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27404 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
27405 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27409 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
27413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27414 result
= (bool)(arg1
)->PopupMenu(arg2
,(wxPoint
const &)*arg3
);
27416 wxPyEndAllowThreads(__tstate
);
27417 if (PyErr_Occurred()) SWIG_fail
;
27420 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27428 static PyObject
*_wrap_Window_GetHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27429 PyObject
*resultobj
;
27430 wxWindow
*arg1
= (wxWindow
*) 0 ;
27432 PyObject
* obj0
= 0 ;
27433 char *kwnames
[] = {
27434 (char *) "self", NULL
27437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHandle",kwnames
,&obj0
)) goto fail
;
27438 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27442 result
= (long)wxWindow_GetHandle(arg1
);
27444 wxPyEndAllowThreads(__tstate
);
27445 if (PyErr_Occurred()) SWIG_fail
;
27447 resultobj
= SWIG_From_long((long)result
);
27454 static PyObject
*_wrap_Window_OnPaint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27455 PyObject
*resultobj
;
27456 wxWindow
*arg1
= (wxWindow
*) 0 ;
27457 wxPaintEvent
*arg2
= 0 ;
27458 PyObject
* obj0
= 0 ;
27459 PyObject
* obj1
= 0 ;
27460 char *kwnames
[] = {
27461 (char *) "self",(char *) "event", NULL
27464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_OnPaint",kwnames
,&obj0
,&obj1
)) goto fail
;
27465 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27466 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27467 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPaintEvent
,
27468 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27470 if (arg2
== NULL
) {
27471 PyErr_SetString(PyExc_TypeError
,"null reference");
27475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27476 (arg1
)->OnPaint(*arg2
);
27478 wxPyEndAllowThreads(__tstate
);
27479 if (PyErr_Occurred()) SWIG_fail
;
27481 Py_INCREF(Py_None
); resultobj
= Py_None
;
27488 static PyObject
*_wrap_Window_HasScrollbar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27489 PyObject
*resultobj
;
27490 wxWindow
*arg1
= (wxWindow
*) 0 ;
27493 PyObject
* obj0
= 0 ;
27494 PyObject
* obj1
= 0 ;
27495 char *kwnames
[] = {
27496 (char *) "self",(char *) "orient", NULL
27499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasScrollbar",kwnames
,&obj0
,&obj1
)) goto fail
;
27500 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27502 arg2
= (int)SWIG_As_int(obj1
);
27503 if (PyErr_Occurred()) SWIG_fail
;
27505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27506 result
= (bool)((wxWindow
const *)arg1
)->HasScrollbar(arg2
);
27508 wxPyEndAllowThreads(__tstate
);
27509 if (PyErr_Occurred()) SWIG_fail
;
27512 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27520 static PyObject
*_wrap_Window_SetScrollbar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27521 PyObject
*resultobj
;
27522 wxWindow
*arg1
= (wxWindow
*) 0 ;
27527 bool arg6
= (bool) True
;
27528 PyObject
* obj0
= 0 ;
27529 PyObject
* obj1
= 0 ;
27530 PyObject
* obj2
= 0 ;
27531 PyObject
* obj3
= 0 ;
27532 PyObject
* obj4
= 0 ;
27533 PyObject
* obj5
= 0 ;
27534 char *kwnames
[] = {
27535 (char *) "self",(char *) "orientation",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "refresh", NULL
27538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
27539 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27540 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27541 arg2
= (int)SWIG_As_int(obj1
);
27542 if (PyErr_Occurred()) SWIG_fail
;
27543 arg3
= (int)SWIG_As_int(obj2
);
27544 if (PyErr_Occurred()) SWIG_fail
;
27545 arg4
= (int)SWIG_As_int(obj3
);
27546 if (PyErr_Occurred()) SWIG_fail
;
27547 arg5
= (int)SWIG_As_int(obj4
);
27548 if (PyErr_Occurred()) SWIG_fail
;
27550 arg6
= (bool)SWIG_As_bool(obj5
);
27551 if (PyErr_Occurred()) SWIG_fail
;
27554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27555 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
27557 wxPyEndAllowThreads(__tstate
);
27558 if (PyErr_Occurred()) SWIG_fail
;
27560 Py_INCREF(Py_None
); resultobj
= Py_None
;
27567 static PyObject
*_wrap_Window_SetScrollPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27568 PyObject
*resultobj
;
27569 wxWindow
*arg1
= (wxWindow
*) 0 ;
27572 bool arg4
= (bool) True
;
27573 PyObject
* obj0
= 0 ;
27574 PyObject
* obj1
= 0 ;
27575 PyObject
* obj2
= 0 ;
27576 PyObject
* obj3
= 0 ;
27577 char *kwnames
[] = {
27578 (char *) "self",(char *) "orientation",(char *) "pos",(char *) "refresh", NULL
27581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_SetScrollPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27582 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27583 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27584 arg2
= (int)SWIG_As_int(obj1
);
27585 if (PyErr_Occurred()) SWIG_fail
;
27586 arg3
= (int)SWIG_As_int(obj2
);
27587 if (PyErr_Occurred()) SWIG_fail
;
27589 arg4
= (bool)SWIG_As_bool(obj3
);
27590 if (PyErr_Occurred()) SWIG_fail
;
27593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27594 (arg1
)->SetScrollPos(arg2
,arg3
,arg4
);
27596 wxPyEndAllowThreads(__tstate
);
27597 if (PyErr_Occurred()) SWIG_fail
;
27599 Py_INCREF(Py_None
); resultobj
= Py_None
;
27606 static PyObject
*_wrap_Window_GetScrollPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27607 PyObject
*resultobj
;
27608 wxWindow
*arg1
= (wxWindow
*) 0 ;
27611 PyObject
* obj0
= 0 ;
27612 PyObject
* obj1
= 0 ;
27613 char *kwnames
[] = {
27614 (char *) "self",(char *) "orientation", NULL
27617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollPos",kwnames
,&obj0
,&obj1
)) goto fail
;
27618 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27620 arg2
= (int)SWIG_As_int(obj1
);
27621 if (PyErr_Occurred()) SWIG_fail
;
27623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27624 result
= (int)((wxWindow
const *)arg1
)->GetScrollPos(arg2
);
27626 wxPyEndAllowThreads(__tstate
);
27627 if (PyErr_Occurred()) SWIG_fail
;
27629 resultobj
= SWIG_From_int((int)result
);
27636 static PyObject
*_wrap_Window_GetScrollThumb(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27637 PyObject
*resultobj
;
27638 wxWindow
*arg1
= (wxWindow
*) 0 ;
27641 PyObject
* obj0
= 0 ;
27642 PyObject
* obj1
= 0 ;
27643 char *kwnames
[] = {
27644 (char *) "self",(char *) "orientation", NULL
27647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollThumb",kwnames
,&obj0
,&obj1
)) goto fail
;
27648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27650 arg2
= (int)SWIG_As_int(obj1
);
27651 if (PyErr_Occurred()) SWIG_fail
;
27653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27654 result
= (int)((wxWindow
const *)arg1
)->GetScrollThumb(arg2
);
27656 wxPyEndAllowThreads(__tstate
);
27657 if (PyErr_Occurred()) SWIG_fail
;
27659 resultobj
= SWIG_From_int((int)result
);
27666 static PyObject
*_wrap_Window_GetScrollRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27667 PyObject
*resultobj
;
27668 wxWindow
*arg1
= (wxWindow
*) 0 ;
27671 PyObject
* obj0
= 0 ;
27672 PyObject
* obj1
= 0 ;
27673 char *kwnames
[] = {
27674 (char *) "self",(char *) "orientation", NULL
27677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollRange",kwnames
,&obj0
,&obj1
)) goto fail
;
27678 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27679 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27680 arg2
= (int)SWIG_As_int(obj1
);
27681 if (PyErr_Occurred()) SWIG_fail
;
27683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27684 result
= (int)((wxWindow
const *)arg1
)->GetScrollRange(arg2
);
27686 wxPyEndAllowThreads(__tstate
);
27687 if (PyErr_Occurred()) SWIG_fail
;
27689 resultobj
= SWIG_From_int((int)result
);
27696 static PyObject
*_wrap_Window_ScrollWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27697 PyObject
*resultobj
;
27698 wxWindow
*arg1
= (wxWindow
*) 0 ;
27701 wxRect
*arg4
= (wxRect
*) NULL
;
27702 PyObject
* obj0
= 0 ;
27703 PyObject
* obj1
= 0 ;
27704 PyObject
* obj2
= 0 ;
27705 PyObject
* obj3
= 0 ;
27706 char *kwnames
[] = {
27707 (char *) "self",(char *) "dx",(char *) "dy",(char *) "rect", NULL
27710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_ScrollWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27711 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27712 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27713 arg2
= (int)SWIG_As_int(obj1
);
27714 if (PyErr_Occurred()) SWIG_fail
;
27715 arg3
= (int)SWIG_As_int(obj2
);
27716 if (PyErr_Occurred()) SWIG_fail
;
27718 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxRect
,
27719 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27723 (arg1
)->ScrollWindow(arg2
,arg3
,(wxRect
const *)arg4
);
27725 wxPyEndAllowThreads(__tstate
);
27726 if (PyErr_Occurred()) SWIG_fail
;
27728 Py_INCREF(Py_None
); resultobj
= Py_None
;
27735 static PyObject
*_wrap_Window_ScrollLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27736 PyObject
*resultobj
;
27737 wxWindow
*arg1
= (wxWindow
*) 0 ;
27740 PyObject
* obj0
= 0 ;
27741 PyObject
* obj1
= 0 ;
27742 char *kwnames
[] = {
27743 (char *) "self",(char *) "lines", NULL
27746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollLines",kwnames
,&obj0
,&obj1
)) goto fail
;
27747 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27748 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27749 arg2
= (int)SWIG_As_int(obj1
);
27750 if (PyErr_Occurred()) SWIG_fail
;
27752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27753 result
= (bool)(arg1
)->ScrollLines(arg2
);
27755 wxPyEndAllowThreads(__tstate
);
27756 if (PyErr_Occurred()) SWIG_fail
;
27759 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27767 static PyObject
*_wrap_Window_ScrollPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27768 PyObject
*resultobj
;
27769 wxWindow
*arg1
= (wxWindow
*) 0 ;
27772 PyObject
* obj0
= 0 ;
27773 PyObject
* obj1
= 0 ;
27774 char *kwnames
[] = {
27775 (char *) "self",(char *) "pages", NULL
27778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollPages",kwnames
,&obj0
,&obj1
)) goto fail
;
27779 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27780 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27781 arg2
= (int)SWIG_As_int(obj1
);
27782 if (PyErr_Occurred()) SWIG_fail
;
27784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27785 result
= (bool)(arg1
)->ScrollPages(arg2
);
27787 wxPyEndAllowThreads(__tstate
);
27788 if (PyErr_Occurred()) SWIG_fail
;
27791 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27799 static PyObject
*_wrap_Window_LineUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27800 PyObject
*resultobj
;
27801 wxWindow
*arg1
= (wxWindow
*) 0 ;
27803 PyObject
* obj0
= 0 ;
27804 char *kwnames
[] = {
27805 (char *) "self", NULL
27808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineUp",kwnames
,&obj0
)) goto fail
;
27809 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27810 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27813 result
= (bool)(arg1
)->LineUp();
27815 wxPyEndAllowThreads(__tstate
);
27816 if (PyErr_Occurred()) SWIG_fail
;
27819 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27827 static PyObject
*_wrap_Window_LineDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27828 PyObject
*resultobj
;
27829 wxWindow
*arg1
= (wxWindow
*) 0 ;
27831 PyObject
* obj0
= 0 ;
27832 char *kwnames
[] = {
27833 (char *) "self", NULL
27836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineDown",kwnames
,&obj0
)) goto fail
;
27837 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27841 result
= (bool)(arg1
)->LineDown();
27843 wxPyEndAllowThreads(__tstate
);
27844 if (PyErr_Occurred()) SWIG_fail
;
27847 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27855 static PyObject
*_wrap_Window_PageUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27856 PyObject
*resultobj
;
27857 wxWindow
*arg1
= (wxWindow
*) 0 ;
27859 PyObject
* obj0
= 0 ;
27860 char *kwnames
[] = {
27861 (char *) "self", NULL
27864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageUp",kwnames
,&obj0
)) goto fail
;
27865 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27866 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27869 result
= (bool)(arg1
)->PageUp();
27871 wxPyEndAllowThreads(__tstate
);
27872 if (PyErr_Occurred()) SWIG_fail
;
27875 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27883 static PyObject
*_wrap_Window_PageDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27884 PyObject
*resultobj
;
27885 wxWindow
*arg1
= (wxWindow
*) 0 ;
27887 PyObject
* obj0
= 0 ;
27888 char *kwnames
[] = {
27889 (char *) "self", NULL
27892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageDown",kwnames
,&obj0
)) goto fail
;
27893 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27897 result
= (bool)(arg1
)->PageDown();
27899 wxPyEndAllowThreads(__tstate
);
27900 if (PyErr_Occurred()) SWIG_fail
;
27903 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27911 static PyObject
*_wrap_Window_SetHelpText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27912 PyObject
*resultobj
;
27913 wxWindow
*arg1
= (wxWindow
*) 0 ;
27914 wxString
*arg2
= 0 ;
27915 bool temp2
= False
;
27916 PyObject
* obj0
= 0 ;
27917 PyObject
* obj1
= 0 ;
27918 char *kwnames
[] = {
27919 (char *) "self",(char *) "text", NULL
27922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpText",kwnames
,&obj0
,&obj1
)) goto fail
;
27923 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27926 arg2
= wxString_in_helper(obj1
);
27927 if (arg2
== NULL
) SWIG_fail
;
27931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27932 (arg1
)->SetHelpText((wxString
const &)*arg2
);
27934 wxPyEndAllowThreads(__tstate
);
27935 if (PyErr_Occurred()) SWIG_fail
;
27937 Py_INCREF(Py_None
); resultobj
= Py_None
;
27952 static PyObject
*_wrap_Window_SetHelpTextForId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27953 PyObject
*resultobj
;
27954 wxWindow
*arg1
= (wxWindow
*) 0 ;
27955 wxString
*arg2
= 0 ;
27956 bool temp2
= False
;
27957 PyObject
* obj0
= 0 ;
27958 PyObject
* obj1
= 0 ;
27959 char *kwnames
[] = {
27960 (char *) "self",(char *) "text", NULL
27963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpTextForId",kwnames
,&obj0
,&obj1
)) goto fail
;
27964 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27965 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27967 arg2
= wxString_in_helper(obj1
);
27968 if (arg2
== NULL
) SWIG_fail
;
27972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27973 (arg1
)->SetHelpTextForId((wxString
const &)*arg2
);
27975 wxPyEndAllowThreads(__tstate
);
27976 if (PyErr_Occurred()) SWIG_fail
;
27978 Py_INCREF(Py_None
); resultobj
= Py_None
;
27993 static PyObject
*_wrap_Window_GetHelpText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27994 PyObject
*resultobj
;
27995 wxWindow
*arg1
= (wxWindow
*) 0 ;
27997 PyObject
* obj0
= 0 ;
27998 char *kwnames
[] = {
27999 (char *) "self", NULL
28002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHelpText",kwnames
,&obj0
)) goto fail
;
28003 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28004 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28007 result
= ((wxWindow
const *)arg1
)->GetHelpText();
28009 wxPyEndAllowThreads(__tstate
);
28010 if (PyErr_Occurred()) SWIG_fail
;
28014 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28016 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28025 static PyObject
*_wrap_Window_SetToolTipString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28026 PyObject
*resultobj
;
28027 wxWindow
*arg1
= (wxWindow
*) 0 ;
28028 wxString
*arg2
= 0 ;
28029 bool temp2
= False
;
28030 PyObject
* obj0
= 0 ;
28031 PyObject
* obj1
= 0 ;
28032 char *kwnames
[] = {
28033 (char *) "self",(char *) "tip", NULL
28036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTipString",kwnames
,&obj0
,&obj1
)) goto fail
;
28037 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28038 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28040 arg2
= wxString_in_helper(obj1
);
28041 if (arg2
== NULL
) SWIG_fail
;
28045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28046 (arg1
)->SetToolTip((wxString
const &)*arg2
);
28048 wxPyEndAllowThreads(__tstate
);
28049 if (PyErr_Occurred()) SWIG_fail
;
28051 Py_INCREF(Py_None
); resultobj
= Py_None
;
28066 static PyObject
*_wrap_Window_SetToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28067 PyObject
*resultobj
;
28068 wxWindow
*arg1
= (wxWindow
*) 0 ;
28069 wxToolTip
*arg2
= (wxToolTip
*) 0 ;
28070 PyObject
* obj0
= 0 ;
28071 PyObject
* obj1
= 0 ;
28072 char *kwnames
[] = {
28073 (char *) "self",(char *) "tip", NULL
28076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
28077 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28078 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28079 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolTip
,
28080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28083 (arg1
)->SetToolTip(arg2
);
28085 wxPyEndAllowThreads(__tstate
);
28086 if (PyErr_Occurred()) SWIG_fail
;
28088 Py_INCREF(Py_None
); resultobj
= Py_None
;
28095 static PyObject
*_wrap_Window_GetToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28096 PyObject
*resultobj
;
28097 wxWindow
*arg1
= (wxWindow
*) 0 ;
28099 PyObject
* obj0
= 0 ;
28100 char *kwnames
[] = {
28101 (char *) "self", NULL
28104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetToolTip",kwnames
,&obj0
)) goto fail
;
28105 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28106 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28109 result
= (wxToolTip
*)((wxWindow
const *)arg1
)->GetToolTip();
28111 wxPyEndAllowThreads(__tstate
);
28112 if (PyErr_Occurred()) SWIG_fail
;
28115 resultobj
= wxPyMake_wxObject(result
, 0);
28123 static PyObject
*_wrap_Window_SetDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28124 PyObject
*resultobj
;
28125 wxWindow
*arg1
= (wxWindow
*) 0 ;
28126 wxPyDropTarget
*arg2
= (wxPyDropTarget
*) 0 ;
28127 PyObject
* obj0
= 0 ;
28128 PyObject
* obj1
= 0 ;
28129 char *kwnames
[] = {
28130 (char *) "self",(char *) "dropTarget", NULL
28133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDropTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
28134 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28135 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28136 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyDropTarget
,
28137 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
28139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28140 (arg1
)->SetDropTarget(arg2
);
28142 wxPyEndAllowThreads(__tstate
);
28143 if (PyErr_Occurred()) SWIG_fail
;
28145 Py_INCREF(Py_None
); resultobj
= Py_None
;
28152 static PyObject
*_wrap_Window_GetDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28153 PyObject
*resultobj
;
28154 wxWindow
*arg1
= (wxWindow
*) 0 ;
28155 wxPyDropTarget
*result
;
28156 PyObject
* obj0
= 0 ;
28157 char *kwnames
[] = {
28158 (char *) "self", NULL
28161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDropTarget",kwnames
,&obj0
)) goto fail
;
28162 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28166 result
= (wxPyDropTarget
*)((wxWindow
const *)arg1
)->GetDropTarget();
28168 wxPyEndAllowThreads(__tstate
);
28169 if (PyErr_Occurred()) SWIG_fail
;
28171 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropTarget
, 0);
28178 static PyObject
*_wrap_Window_DragAcceptFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28179 PyObject
*resultobj
;
28180 wxWindow
*arg1
= (wxWindow
*) 0 ;
28182 PyObject
* obj0
= 0 ;
28183 PyObject
* obj1
= 0 ;
28184 char *kwnames
[] = {
28185 (char *) "self",(char *) "accept", NULL
28188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DragAcceptFiles",kwnames
,&obj0
,&obj1
)) goto fail
;
28189 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28190 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28191 arg2
= (bool)SWIG_As_bool(obj1
);
28192 if (PyErr_Occurred()) SWIG_fail
;
28194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28195 (arg1
)->DragAcceptFiles(arg2
);
28197 wxPyEndAllowThreads(__tstate
);
28198 if (PyErr_Occurred()) SWIG_fail
;
28200 Py_INCREF(Py_None
); resultobj
= Py_None
;
28207 static PyObject
*_wrap_Window_SetConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28208 PyObject
*resultobj
;
28209 wxWindow
*arg1
= (wxWindow
*) 0 ;
28210 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
28211 PyObject
* obj0
= 0 ;
28212 PyObject
* obj1
= 0 ;
28213 char *kwnames
[] = {
28214 (char *) "self",(char *) "constraints", NULL
28217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
28218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28220 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxLayoutConstraints
,
28221 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28224 (arg1
)->SetConstraints(arg2
);
28226 wxPyEndAllowThreads(__tstate
);
28227 if (PyErr_Occurred()) SWIG_fail
;
28229 Py_INCREF(Py_None
); resultobj
= Py_None
;
28236 static PyObject
*_wrap_Window_GetConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28237 PyObject
*resultobj
;
28238 wxWindow
*arg1
= (wxWindow
*) 0 ;
28239 wxLayoutConstraints
*result
;
28240 PyObject
* obj0
= 0 ;
28241 char *kwnames
[] = {
28242 (char *) "self", NULL
28245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetConstraints",kwnames
,&obj0
)) goto fail
;
28246 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28247 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28250 result
= (wxLayoutConstraints
*)((wxWindow
const *)arg1
)->GetConstraints();
28252 wxPyEndAllowThreads(__tstate
);
28253 if (PyErr_Occurred()) SWIG_fail
;
28255 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutConstraints
, 0);
28262 static PyObject
*_wrap_Window_SetAutoLayout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28263 PyObject
*resultobj
;
28264 wxWindow
*arg1
= (wxWindow
*) 0 ;
28266 PyObject
* obj0
= 0 ;
28267 PyObject
* obj1
= 0 ;
28268 char *kwnames
[] = {
28269 (char *) "self",(char *) "autoLayout", NULL
28272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAutoLayout",kwnames
,&obj0
,&obj1
)) goto fail
;
28273 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28275 arg2
= (bool)SWIG_As_bool(obj1
);
28276 if (PyErr_Occurred()) SWIG_fail
;
28278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28279 (arg1
)->SetAutoLayout(arg2
);
28281 wxPyEndAllowThreads(__tstate
);
28282 if (PyErr_Occurred()) SWIG_fail
;
28284 Py_INCREF(Py_None
); resultobj
= Py_None
;
28291 static PyObject
*_wrap_Window_GetAutoLayout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28292 PyObject
*resultobj
;
28293 wxWindow
*arg1
= (wxWindow
*) 0 ;
28295 PyObject
* obj0
= 0 ;
28296 char *kwnames
[] = {
28297 (char *) "self", NULL
28300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAutoLayout",kwnames
,&obj0
)) goto fail
;
28301 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28302 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28305 result
= (bool)((wxWindow
const *)arg1
)->GetAutoLayout();
28307 wxPyEndAllowThreads(__tstate
);
28308 if (PyErr_Occurred()) SWIG_fail
;
28311 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28319 static PyObject
*_wrap_Window_Layout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28320 PyObject
*resultobj
;
28321 wxWindow
*arg1
= (wxWindow
*) 0 ;
28323 PyObject
* obj0
= 0 ;
28324 char *kwnames
[] = {
28325 (char *) "self", NULL
28328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Layout",kwnames
,&obj0
)) goto fail
;
28329 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28330 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28333 result
= (bool)(arg1
)->Layout();
28335 wxPyEndAllowThreads(__tstate
);
28336 if (PyErr_Occurred()) SWIG_fail
;
28339 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28347 static PyObject
*_wrap_Window_SetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28348 PyObject
*resultobj
;
28349 wxWindow
*arg1
= (wxWindow
*) 0 ;
28350 wxSizer
*arg2
= (wxSizer
*) 0 ;
28351 bool arg3
= (bool) True
;
28352 PyObject
* obj0
= 0 ;
28353 PyObject
* obj1
= 0 ;
28354 PyObject
* obj2
= 0 ;
28355 char *kwnames
[] = {
28356 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
28359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28360 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28361 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28362 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
28363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28365 arg3
= (bool)SWIG_As_bool(obj2
);
28366 if (PyErr_Occurred()) SWIG_fail
;
28369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28370 (arg1
)->SetSizer(arg2
,arg3
);
28372 wxPyEndAllowThreads(__tstate
);
28373 if (PyErr_Occurred()) SWIG_fail
;
28375 Py_INCREF(Py_None
); resultobj
= Py_None
;
28382 static PyObject
*_wrap_Window_SetSizerAndFit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28383 PyObject
*resultobj
;
28384 wxWindow
*arg1
= (wxWindow
*) 0 ;
28385 wxSizer
*arg2
= (wxSizer
*) 0 ;
28386 bool arg3
= (bool) True
;
28387 PyObject
* obj0
= 0 ;
28388 PyObject
* obj1
= 0 ;
28389 PyObject
* obj2
= 0 ;
28390 char *kwnames
[] = {
28391 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
28394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizerAndFit",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28395 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28396 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28397 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
28398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28400 arg3
= (bool)SWIG_As_bool(obj2
);
28401 if (PyErr_Occurred()) SWIG_fail
;
28404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28405 (arg1
)->SetSizerAndFit(arg2
,arg3
);
28407 wxPyEndAllowThreads(__tstate
);
28408 if (PyErr_Occurred()) SWIG_fail
;
28410 Py_INCREF(Py_None
); resultobj
= Py_None
;
28417 static PyObject
*_wrap_Window_GetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28418 PyObject
*resultobj
;
28419 wxWindow
*arg1
= (wxWindow
*) 0 ;
28421 PyObject
* obj0
= 0 ;
28422 char *kwnames
[] = {
28423 (char *) "self", NULL
28426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizer",kwnames
,&obj0
)) goto fail
;
28427 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28428 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28431 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetSizer();
28433 wxPyEndAllowThreads(__tstate
);
28434 if (PyErr_Occurred()) SWIG_fail
;
28437 resultobj
= wxPyMake_wxSizer(result
, 0);
28445 static PyObject
*_wrap_Window_SetContainingSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28446 PyObject
*resultobj
;
28447 wxWindow
*arg1
= (wxWindow
*) 0 ;
28448 wxSizer
*arg2
= (wxSizer
*) 0 ;
28449 PyObject
* obj0
= 0 ;
28450 PyObject
* obj1
= 0 ;
28451 char *kwnames
[] = {
28452 (char *) "self",(char *) "sizer", NULL
28455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetContainingSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
28456 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28457 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28458 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
28459 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28462 (arg1
)->SetContainingSizer(arg2
);
28464 wxPyEndAllowThreads(__tstate
);
28465 if (PyErr_Occurred()) SWIG_fail
;
28467 Py_INCREF(Py_None
); resultobj
= Py_None
;
28474 static PyObject
*_wrap_Window_GetContainingSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28475 PyObject
*resultobj
;
28476 wxWindow
*arg1
= (wxWindow
*) 0 ;
28478 PyObject
* obj0
= 0 ;
28479 char *kwnames
[] = {
28480 (char *) "self", NULL
28483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetContainingSizer",kwnames
,&obj0
)) goto fail
;
28484 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28485 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28488 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetContainingSizer();
28490 wxPyEndAllowThreads(__tstate
);
28491 if (PyErr_Occurred()) SWIG_fail
;
28494 resultobj
= wxPyMake_wxSizer(result
, 0);
28502 static PyObject
*_wrap_Window_InheritAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28503 PyObject
*resultobj
;
28504 wxWindow
*arg1
= (wxWindow
*) 0 ;
28505 PyObject
* obj0
= 0 ;
28506 char *kwnames
[] = {
28507 (char *) "self", NULL
28510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InheritAttributes",kwnames
,&obj0
)) goto fail
;
28511 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28512 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28515 (arg1
)->InheritAttributes();
28517 wxPyEndAllowThreads(__tstate
);
28518 if (PyErr_Occurred()) SWIG_fail
;
28520 Py_INCREF(Py_None
); resultobj
= Py_None
;
28527 static PyObject
*_wrap_Window_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28528 PyObject
*resultobj
;
28529 wxWindow
*arg1
= (wxWindow
*) 0 ;
28531 PyObject
* obj0
= 0 ;
28532 char *kwnames
[] = {
28533 (char *) "self", NULL
28536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
28537 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28541 result
= (bool)((wxWindow
const *)arg1
)->ShouldInheritColours();
28543 wxPyEndAllowThreads(__tstate
);
28544 if (PyErr_Occurred()) SWIG_fail
;
28547 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28555 static PyObject
* Window_swigregister(PyObject
*, PyObject
*args
) {
28557 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28558 SWIG_TypeClientData(SWIGTYPE_p_wxWindow
, obj
);
28560 return Py_BuildValue((char *)"");
28562 static PyObject
*_wrap_FindWindowById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28563 PyObject
*resultobj
;
28565 wxWindow
*arg2
= (wxWindow
*) NULL
;
28567 PyObject
* obj0
= 0 ;
28568 PyObject
* obj1
= 0 ;
28569 char *kwnames
[] = {
28570 (char *) "id",(char *) "parent", NULL
28573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowById",kwnames
,&obj0
,&obj1
)) goto fail
;
28574 arg1
= (long)SWIG_As_long(obj0
);
28575 if (PyErr_Occurred()) SWIG_fail
;
28577 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28578 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28581 if (!wxPyCheckForApp()) SWIG_fail
;
28582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28583 result
= (wxWindow
*)wxFindWindowById(arg1
,(wxWindow
const *)arg2
);
28585 wxPyEndAllowThreads(__tstate
);
28586 if (PyErr_Occurred()) SWIG_fail
;
28589 resultobj
= wxPyMake_wxObject(result
, 0);
28597 static PyObject
*_wrap_FindWindowByName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28598 PyObject
*resultobj
;
28599 wxString
*arg1
= 0 ;
28600 wxWindow
*arg2
= (wxWindow
*) NULL
;
28602 bool temp1
= False
;
28603 PyObject
* obj0
= 0 ;
28604 PyObject
* obj1
= 0 ;
28605 char *kwnames
[] = {
28606 (char *) "name",(char *) "parent", NULL
28609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
28611 arg1
= wxString_in_helper(obj0
);
28612 if (arg1
== NULL
) SWIG_fail
;
28616 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28617 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28620 if (!wxPyCheckForApp()) SWIG_fail
;
28621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28622 result
= (wxWindow
*)wxFindWindowByName((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
28624 wxPyEndAllowThreads(__tstate
);
28625 if (PyErr_Occurred()) SWIG_fail
;
28628 resultobj
= wxPyMake_wxObject(result
, 0);
28644 static PyObject
*_wrap_FindWindowByLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28645 PyObject
*resultobj
;
28646 wxString
*arg1
= 0 ;
28647 wxWindow
*arg2
= (wxWindow
*) NULL
;
28649 bool temp1
= False
;
28650 PyObject
* obj0
= 0 ;
28651 PyObject
* obj1
= 0 ;
28652 char *kwnames
[] = {
28653 (char *) "label",(char *) "parent", NULL
28656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
28658 arg1
= wxString_in_helper(obj0
);
28659 if (arg1
== NULL
) SWIG_fail
;
28663 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28664 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28667 if (!wxPyCheckForApp()) SWIG_fail
;
28668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28669 result
= (wxWindow
*)wxFindWindowByLabel((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
28671 wxPyEndAllowThreads(__tstate
);
28672 if (PyErr_Occurred()) SWIG_fail
;
28675 resultobj
= wxPyMake_wxObject(result
, 0);
28691 static PyObject
*_wrap_Window_FromHWND(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28692 PyObject
*resultobj
;
28693 wxWindow
*arg1
= (wxWindow
*) 0 ;
28694 unsigned long arg2
;
28696 PyObject
* obj0
= 0 ;
28697 PyObject
* obj1
= 0 ;
28698 char *kwnames
[] = {
28699 (char *) "parent",(char *) "_hWnd", NULL
28702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FromHWND",kwnames
,&obj0
,&obj1
)) goto fail
;
28703 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28704 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28705 arg2
= (unsigned long)SWIG_As_unsigned_SS_long(obj1
);
28706 if (PyErr_Occurred()) SWIG_fail
;
28708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28709 result
= (wxWindow
*)wxWindow_FromHWND(arg1
,arg2
);
28711 wxPyEndAllowThreads(__tstate
);
28712 if (PyErr_Occurred()) SWIG_fail
;
28715 resultobj
= wxPyMake_wxObject(result
, 0);
28723 static PyObject
*_wrap_new_Validator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28724 PyObject
*resultobj
;
28725 wxValidator
*result
;
28726 char *kwnames
[] = {
28730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Validator",kwnames
)) goto fail
;
28732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28733 result
= (wxValidator
*)new wxValidator();
28735 wxPyEndAllowThreads(__tstate
);
28736 if (PyErr_Occurred()) SWIG_fail
;
28738 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxValidator
, 1);
28745 static PyObject
*_wrap_Validator_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28746 PyObject
*resultobj
;
28747 wxValidator
*arg1
= (wxValidator
*) 0 ;
28748 wxValidator
*result
;
28749 PyObject
* obj0
= 0 ;
28750 char *kwnames
[] = {
28751 (char *) "self", NULL
28754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_Clone",kwnames
,&obj0
)) goto fail
;
28755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
28756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28759 result
= (wxValidator
*)(arg1
)->Clone();
28761 wxPyEndAllowThreads(__tstate
);
28762 if (PyErr_Occurred()) SWIG_fail
;
28765 resultobj
= wxPyMake_wxObject(result
, 0);
28773 static PyObject
*_wrap_Validator_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28774 PyObject
*resultobj
;
28775 wxValidator
*arg1
= (wxValidator
*) 0 ;
28776 wxWindow
*arg2
= (wxWindow
*) 0 ;
28778 PyObject
* obj0
= 0 ;
28779 PyObject
* obj1
= 0 ;
28780 char *kwnames
[] = {
28781 (char *) "self",(char *) "parent", NULL
28784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_Validate",kwnames
,&obj0
,&obj1
)) goto fail
;
28785 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
28786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28787 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28788 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28791 result
= (bool)(arg1
)->Validate(arg2
);
28793 wxPyEndAllowThreads(__tstate
);
28794 if (PyErr_Occurred()) SWIG_fail
;
28797 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28805 static PyObject
*_wrap_Validator_TransferToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28806 PyObject
*resultobj
;
28807 wxValidator
*arg1
= (wxValidator
*) 0 ;
28809 PyObject
* obj0
= 0 ;
28810 char *kwnames
[] = {
28811 (char *) "self", NULL
28814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferToWindow",kwnames
,&obj0
)) goto fail
;
28815 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
28816 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28819 result
= (bool)(arg1
)->TransferToWindow();
28821 wxPyEndAllowThreads(__tstate
);
28822 if (PyErr_Occurred()) SWIG_fail
;
28825 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28833 static PyObject
*_wrap_Validator_TransferFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28834 PyObject
*resultobj
;
28835 wxValidator
*arg1
= (wxValidator
*) 0 ;
28837 PyObject
* obj0
= 0 ;
28838 char *kwnames
[] = {
28839 (char *) "self", NULL
28842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferFromWindow",kwnames
,&obj0
)) goto fail
;
28843 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
28844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28847 result
= (bool)(arg1
)->TransferFromWindow();
28849 wxPyEndAllowThreads(__tstate
);
28850 if (PyErr_Occurred()) SWIG_fail
;
28853 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28861 static PyObject
*_wrap_Validator_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28862 PyObject
*resultobj
;
28863 wxValidator
*arg1
= (wxValidator
*) 0 ;
28865 PyObject
* obj0
= 0 ;
28866 char *kwnames
[] = {
28867 (char *) "self", NULL
28870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_GetWindow",kwnames
,&obj0
)) goto fail
;
28871 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
28872 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28875 result
= (wxWindow
*)(arg1
)->GetWindow();
28877 wxPyEndAllowThreads(__tstate
);
28878 if (PyErr_Occurred()) SWIG_fail
;
28881 resultobj
= wxPyMake_wxObject(result
, 0);
28889 static PyObject
*_wrap_Validator_SetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28890 PyObject
*resultobj
;
28891 wxValidator
*arg1
= (wxValidator
*) 0 ;
28892 wxWindow
*arg2
= (wxWindow
*) 0 ;
28893 PyObject
* obj0
= 0 ;
28894 PyObject
* obj1
= 0 ;
28895 char *kwnames
[] = {
28896 (char *) "self",(char *) "window", NULL
28899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
28900 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
28901 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28902 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28903 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28906 (arg1
)->SetWindow(arg2
);
28908 wxPyEndAllowThreads(__tstate
);
28909 if (PyErr_Occurred()) SWIG_fail
;
28911 Py_INCREF(Py_None
); resultobj
= Py_None
;
28918 static PyObject
*_wrap_Validator_IsSilent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28919 PyObject
*resultobj
;
28921 char *kwnames
[] = {
28925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Validator_IsSilent",kwnames
)) goto fail
;
28927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28928 result
= (bool)wxValidator::IsSilent();
28930 wxPyEndAllowThreads(__tstate
);
28931 if (PyErr_Occurred()) SWIG_fail
;
28934 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28942 static PyObject
*_wrap_Validator_SetBellOnError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28943 PyObject
*resultobj
;
28944 int arg1
= (int) True
;
28945 PyObject
* obj0
= 0 ;
28946 char *kwnames
[] = {
28947 (char *) "doIt", NULL
28950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Validator_SetBellOnError",kwnames
,&obj0
)) goto fail
;
28952 arg1
= (int)SWIG_As_int(obj0
);
28953 if (PyErr_Occurred()) SWIG_fail
;
28956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28957 wxValidator::SetBellOnError(arg1
);
28959 wxPyEndAllowThreads(__tstate
);
28960 if (PyErr_Occurred()) SWIG_fail
;
28962 Py_INCREF(Py_None
); resultobj
= Py_None
;
28969 static PyObject
* Validator_swigregister(PyObject
*, PyObject
*args
) {
28971 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28972 SWIG_TypeClientData(SWIGTYPE_p_wxValidator
, obj
);
28974 return Py_BuildValue((char *)"");
28976 static PyObject
*_wrap_new_PyValidator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28977 PyObject
*resultobj
;
28978 wxPyValidator
*result
;
28979 char *kwnames
[] = {
28983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyValidator",kwnames
)) goto fail
;
28985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28986 result
= (wxPyValidator
*)new wxPyValidator();
28988 wxPyEndAllowThreads(__tstate
);
28989 if (PyErr_Occurred()) SWIG_fail
;
28991 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyValidator
, 1);
28998 static PyObject
*_wrap_PyValidator__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28999 PyObject
*resultobj
;
29000 wxPyValidator
*arg1
= (wxPyValidator
*) 0 ;
29001 PyObject
*arg2
= (PyObject
*) 0 ;
29002 PyObject
*arg3
= (PyObject
*) 0 ;
29003 int arg4
= (int) True
;
29004 PyObject
* obj0
= 0 ;
29005 PyObject
* obj1
= 0 ;
29006 PyObject
* obj2
= 0 ;
29007 PyObject
* obj3
= 0 ;
29008 char *kwnames
[] = {
29009 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
29012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyValidator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29013 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyValidator
,
29014 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29018 arg4
= (int)SWIG_As_int(obj3
);
29019 if (PyErr_Occurred()) SWIG_fail
;
29022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29023 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
29025 wxPyEndAllowThreads(__tstate
);
29026 if (PyErr_Occurred()) SWIG_fail
;
29028 Py_INCREF(Py_None
); resultobj
= Py_None
;
29035 static PyObject
* PyValidator_swigregister(PyObject
*, PyObject
*args
) {
29037 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29038 SWIG_TypeClientData(SWIGTYPE_p_wxPyValidator
, obj
);
29040 return Py_BuildValue((char *)"");
29042 static int _wrap_DefaultValidator_set(PyObject
*) {
29043 PyErr_SetString(PyExc_TypeError
,"Variable DefaultValidator is read-only.");
29048 static PyObject
*_wrap_DefaultValidator_get() {
29051 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultValidator
), SWIGTYPE_p_wxValidator
, 0);
29056 static PyObject
*_wrap_new_Menu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29057 PyObject
*resultobj
;
29058 wxString
const &arg1_defvalue
= wxPyEmptyString
;
29059 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
29060 long arg2
= (long) 0 ;
29062 bool temp1
= False
;
29063 PyObject
* obj0
= 0 ;
29064 PyObject
* obj1
= 0 ;
29065 char *kwnames
[] = {
29066 (char *) "title",(char *) "style", NULL
29069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Menu",kwnames
,&obj0
,&obj1
)) goto fail
;
29072 arg1
= wxString_in_helper(obj0
);
29073 if (arg1
== NULL
) SWIG_fail
;
29078 arg2
= (long)SWIG_As_long(obj1
);
29079 if (PyErr_Occurred()) SWIG_fail
;
29082 if (!wxPyCheckForApp()) SWIG_fail
;
29083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29084 result
= (wxMenu
*)new wxMenu((wxString
const &)*arg1
,arg2
);
29086 wxPyEndAllowThreads(__tstate
);
29087 if (PyErr_Occurred()) SWIG_fail
;
29089 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenu
, 1);
29104 static PyObject
*_wrap_Menu_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29105 PyObject
*resultobj
;
29106 wxMenu
*arg1
= (wxMenu
*) 0 ;
29108 wxString
*arg3
= 0 ;
29109 wxString
const &arg4_defvalue
= wxPyEmptyString
;
29110 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
29111 int arg5
= (int) wxITEM_NORMAL
;
29112 wxMenuItem
*result
;
29113 bool temp3
= False
;
29114 bool temp4
= False
;
29115 PyObject
* obj0
= 0 ;
29116 PyObject
* obj1
= 0 ;
29117 PyObject
* obj2
= 0 ;
29118 PyObject
* obj3
= 0 ;
29119 PyObject
* obj4
= 0 ;
29120 char *kwnames
[] = {
29121 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
29124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29125 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29126 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29127 arg2
= (int)SWIG_As_int(obj1
);
29128 if (PyErr_Occurred()) SWIG_fail
;
29130 arg3
= wxString_in_helper(obj2
);
29131 if (arg3
== NULL
) SWIG_fail
;
29136 arg4
= wxString_in_helper(obj3
);
29137 if (arg4
== NULL
) SWIG_fail
;
29142 arg5
= (int)SWIG_As_int(obj4
);
29143 if (PyErr_Occurred()) SWIG_fail
;
29146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29147 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
29149 wxPyEndAllowThreads(__tstate
);
29150 if (PyErr_Occurred()) SWIG_fail
;
29153 resultobj
= wxPyMake_wxObject(result
, 0);
29177 static PyObject
*_wrap_Menu_AppendSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29178 PyObject
*resultobj
;
29179 wxMenu
*arg1
= (wxMenu
*) 0 ;
29180 wxMenuItem
*result
;
29181 PyObject
* obj0
= 0 ;
29182 char *kwnames
[] = {
29183 (char *) "self", NULL
29186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_AppendSeparator",kwnames
,&obj0
)) goto fail
;
29187 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29188 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29191 result
= (wxMenuItem
*)(arg1
)->AppendSeparator();
29193 wxPyEndAllowThreads(__tstate
);
29194 if (PyErr_Occurred()) SWIG_fail
;
29197 resultobj
= wxPyMake_wxObject(result
, 0);
29205 static PyObject
*_wrap_Menu_AppendCheckItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29206 PyObject
*resultobj
;
29207 wxMenu
*arg1
= (wxMenu
*) 0 ;
29209 wxString
*arg3
= 0 ;
29210 wxString
const &arg4_defvalue
= wxPyEmptyString
;
29211 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
29212 wxMenuItem
*result
;
29213 bool temp3
= False
;
29214 bool temp4
= False
;
29215 PyObject
* obj0
= 0 ;
29216 PyObject
* obj1
= 0 ;
29217 PyObject
* obj2
= 0 ;
29218 PyObject
* obj3
= 0 ;
29219 char *kwnames
[] = {
29220 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
29223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29224 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29226 arg2
= (int)SWIG_As_int(obj1
);
29227 if (PyErr_Occurred()) SWIG_fail
;
29229 arg3
= wxString_in_helper(obj2
);
29230 if (arg3
== NULL
) SWIG_fail
;
29235 arg4
= wxString_in_helper(obj3
);
29236 if (arg4
== NULL
) SWIG_fail
;
29241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29242 result
= (wxMenuItem
*)(arg1
)->AppendCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
29244 wxPyEndAllowThreads(__tstate
);
29245 if (PyErr_Occurred()) SWIG_fail
;
29248 resultobj
= wxPyMake_wxObject(result
, 0);
29272 static PyObject
*_wrap_Menu_AppendRadioItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29273 PyObject
*resultobj
;
29274 wxMenu
*arg1
= (wxMenu
*) 0 ;
29276 wxString
*arg3
= 0 ;
29277 wxString
const &arg4_defvalue
= wxPyEmptyString
;
29278 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
29279 wxMenuItem
*result
;
29280 bool temp3
= False
;
29281 bool temp4
= False
;
29282 PyObject
* obj0
= 0 ;
29283 PyObject
* obj1
= 0 ;
29284 PyObject
* obj2
= 0 ;
29285 PyObject
* obj3
= 0 ;
29286 char *kwnames
[] = {
29287 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
29290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29291 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29292 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29293 arg2
= (int)SWIG_As_int(obj1
);
29294 if (PyErr_Occurred()) SWIG_fail
;
29296 arg3
= wxString_in_helper(obj2
);
29297 if (arg3
== NULL
) SWIG_fail
;
29302 arg4
= wxString_in_helper(obj3
);
29303 if (arg4
== NULL
) SWIG_fail
;
29308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29309 result
= (wxMenuItem
*)(arg1
)->AppendRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
29311 wxPyEndAllowThreads(__tstate
);
29312 if (PyErr_Occurred()) SWIG_fail
;
29315 resultobj
= wxPyMake_wxObject(result
, 0);
29339 static PyObject
*_wrap_Menu_AppendMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29340 PyObject
*resultobj
;
29341 wxMenu
*arg1
= (wxMenu
*) 0 ;
29343 wxString
*arg3
= 0 ;
29344 wxMenu
*arg4
= (wxMenu
*) 0 ;
29345 wxString
const &arg5_defvalue
= wxPyEmptyString
;
29346 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
29347 wxMenuItem
*result
;
29348 bool temp3
= False
;
29349 bool temp5
= False
;
29350 PyObject
* obj0
= 0 ;
29351 PyObject
* obj1
= 0 ;
29352 PyObject
* obj2
= 0 ;
29353 PyObject
* obj3
= 0 ;
29354 PyObject
* obj4
= 0 ;
29355 char *kwnames
[] = {
29356 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
29359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_AppendMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29360 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29361 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29362 arg2
= (int)SWIG_As_int(obj1
);
29363 if (PyErr_Occurred()) SWIG_fail
;
29365 arg3
= wxString_in_helper(obj2
);
29366 if (arg3
== NULL
) SWIG_fail
;
29369 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxMenu
,
29370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29373 arg5
= wxString_in_helper(obj4
);
29374 if (arg5
== NULL
) SWIG_fail
;
29379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29380 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
29382 wxPyEndAllowThreads(__tstate
);
29383 if (PyErr_Occurred()) SWIG_fail
;
29386 resultobj
= wxPyMake_wxObject(result
, 0);
29410 static PyObject
*_wrap_Menu_AppendItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29411 PyObject
*resultobj
;
29412 wxMenu
*arg1
= (wxMenu
*) 0 ;
29413 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
29414 wxMenuItem
*result
;
29415 PyObject
* obj0
= 0 ;
29416 PyObject
* obj1
= 0 ;
29417 char *kwnames
[] = {
29418 (char *) "self",(char *) "item", NULL
29421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_AppendItem",kwnames
,&obj0
,&obj1
)) goto fail
;
29422 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29423 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29424 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
29425 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29428 result
= (wxMenuItem
*)(arg1
)->Append(arg2
);
29430 wxPyEndAllowThreads(__tstate
);
29431 if (PyErr_Occurred()) SWIG_fail
;
29434 resultobj
= wxPyMake_wxObject(result
, 0);
29442 static PyObject
*_wrap_Menu_Break(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29443 PyObject
*resultobj
;
29444 wxMenu
*arg1
= (wxMenu
*) 0 ;
29445 PyObject
* obj0
= 0 ;
29446 char *kwnames
[] = {
29447 (char *) "self", NULL
29450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Break",kwnames
,&obj0
)) goto fail
;
29451 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29452 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29457 wxPyEndAllowThreads(__tstate
);
29458 if (PyErr_Occurred()) SWIG_fail
;
29460 Py_INCREF(Py_None
); resultobj
= Py_None
;
29467 static PyObject
*_wrap_Menu_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29468 PyObject
*resultobj
;
29469 wxMenu
*arg1
= (wxMenu
*) 0 ;
29471 wxMenuItem
*arg3
= (wxMenuItem
*) 0 ;
29472 wxMenuItem
*result
;
29473 PyObject
* obj0
= 0 ;
29474 PyObject
* obj1
= 0 ;
29475 PyObject
* obj2
= 0 ;
29476 char *kwnames
[] = {
29477 (char *) "self",(char *) "pos",(char *) "item", NULL
29480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29481 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29482 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29483 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
29484 if (PyErr_Occurred()) SWIG_fail
;
29485 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenuItem
,
29486 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29489 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
);
29491 wxPyEndAllowThreads(__tstate
);
29492 if (PyErr_Occurred()) SWIG_fail
;
29495 resultobj
= wxPyMake_wxObject(result
, 0);
29503 static PyObject
*_wrap_Menu_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29504 PyObject
*resultobj
;
29505 wxMenu
*arg1
= (wxMenu
*) 0 ;
29508 wxString
*arg4
= 0 ;
29509 wxString
const &arg5_defvalue
= wxPyEmptyString
;
29510 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
29511 int arg6
= (int) wxITEM_NORMAL
;
29512 wxMenuItem
*result
;
29513 bool temp4
= False
;
29514 bool temp5
= False
;
29515 PyObject
* obj0
= 0 ;
29516 PyObject
* obj1
= 0 ;
29517 PyObject
* obj2
= 0 ;
29518 PyObject
* obj3
= 0 ;
29519 PyObject
* obj4
= 0 ;
29520 PyObject
* obj5
= 0 ;
29521 char *kwnames
[] = {
29522 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
29525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:Menu_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
29526 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29527 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29528 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
29529 if (PyErr_Occurred()) SWIG_fail
;
29530 arg3
= (int)SWIG_As_int(obj2
);
29531 if (PyErr_Occurred()) SWIG_fail
;
29533 arg4
= wxString_in_helper(obj3
);
29534 if (arg4
== NULL
) SWIG_fail
;
29539 arg5
= wxString_in_helper(obj4
);
29540 if (arg5
== NULL
) SWIG_fail
;
29545 arg6
= (int)SWIG_As_int(obj5
);
29546 if (PyErr_Occurred()) SWIG_fail
;
29549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29550 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,(wxItemKind
)arg6
);
29552 wxPyEndAllowThreads(__tstate
);
29553 if (PyErr_Occurred()) SWIG_fail
;
29556 resultobj
= wxPyMake_wxObject(result
, 0);
29580 static PyObject
*_wrap_Menu_InsertSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29581 PyObject
*resultobj
;
29582 wxMenu
*arg1
= (wxMenu
*) 0 ;
29584 wxMenuItem
*result
;
29585 PyObject
* obj0
= 0 ;
29586 PyObject
* obj1
= 0 ;
29587 char *kwnames
[] = {
29588 (char *) "self",(char *) "pos", NULL
29591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
29592 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29594 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
29595 if (PyErr_Occurred()) SWIG_fail
;
29597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29598 result
= (wxMenuItem
*)(arg1
)->InsertSeparator(arg2
);
29600 wxPyEndAllowThreads(__tstate
);
29601 if (PyErr_Occurred()) SWIG_fail
;
29604 resultobj
= wxPyMake_wxObject(result
, 0);
29612 static PyObject
*_wrap_Menu_InsertCheckItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29613 PyObject
*resultobj
;
29614 wxMenu
*arg1
= (wxMenu
*) 0 ;
29617 wxString
*arg4
= 0 ;
29618 wxString
const &arg5_defvalue
= wxPyEmptyString
;
29619 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
29620 wxMenuItem
*result
;
29621 bool temp4
= False
;
29622 bool temp5
= False
;
29623 PyObject
* obj0
= 0 ;
29624 PyObject
* obj1
= 0 ;
29625 PyObject
* obj2
= 0 ;
29626 PyObject
* obj3
= 0 ;
29627 PyObject
* obj4
= 0 ;
29628 char *kwnames
[] = {
29629 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
29632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29633 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29634 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29635 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
29636 if (PyErr_Occurred()) SWIG_fail
;
29637 arg3
= (int)SWIG_As_int(obj2
);
29638 if (PyErr_Occurred()) SWIG_fail
;
29640 arg4
= wxString_in_helper(obj3
);
29641 if (arg4
== NULL
) SWIG_fail
;
29646 arg5
= wxString_in_helper(obj4
);
29647 if (arg5
== NULL
) SWIG_fail
;
29652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29653 result
= (wxMenuItem
*)(arg1
)->InsertCheckItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
29655 wxPyEndAllowThreads(__tstate
);
29656 if (PyErr_Occurred()) SWIG_fail
;
29659 resultobj
= wxPyMake_wxObject(result
, 0);
29683 static PyObject
*_wrap_Menu_InsertRadioItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29684 PyObject
*resultobj
;
29685 wxMenu
*arg1
= (wxMenu
*) 0 ;
29688 wxString
*arg4
= 0 ;
29689 wxString
const &arg5_defvalue
= wxPyEmptyString
;
29690 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
29691 wxMenuItem
*result
;
29692 bool temp4
= False
;
29693 bool temp5
= False
;
29694 PyObject
* obj0
= 0 ;
29695 PyObject
* obj1
= 0 ;
29696 PyObject
* obj2
= 0 ;
29697 PyObject
* obj3
= 0 ;
29698 PyObject
* obj4
= 0 ;
29699 char *kwnames
[] = {
29700 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
29703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29704 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29706 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
29707 if (PyErr_Occurred()) SWIG_fail
;
29708 arg3
= (int)SWIG_As_int(obj2
);
29709 if (PyErr_Occurred()) SWIG_fail
;
29711 arg4
= wxString_in_helper(obj3
);
29712 if (arg4
== NULL
) SWIG_fail
;
29717 arg5
= wxString_in_helper(obj4
);
29718 if (arg5
== NULL
) SWIG_fail
;
29723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29724 result
= (wxMenuItem
*)(arg1
)->InsertRadioItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
29726 wxPyEndAllowThreads(__tstate
);
29727 if (PyErr_Occurred()) SWIG_fail
;
29730 resultobj
= wxPyMake_wxObject(result
, 0);
29754 static PyObject
*_wrap_Menu_InsertMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29755 PyObject
*resultobj
;
29756 wxMenu
*arg1
= (wxMenu
*) 0 ;
29759 wxString
*arg4
= 0 ;
29760 wxMenu
*arg5
= (wxMenu
*) 0 ;
29761 wxString
const &arg6_defvalue
= wxPyEmptyString
;
29762 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
29763 wxMenuItem
*result
;
29764 bool temp4
= False
;
29765 bool temp6
= False
;
29766 PyObject
* obj0
= 0 ;
29767 PyObject
* obj1
= 0 ;
29768 PyObject
* obj2
= 0 ;
29769 PyObject
* obj3
= 0 ;
29770 PyObject
* obj4
= 0 ;
29771 PyObject
* obj5
= 0 ;
29772 char *kwnames
[] = {
29773 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
29776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Menu_InsertMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
29777 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29778 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29779 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
29780 if (PyErr_Occurred()) SWIG_fail
;
29781 arg3
= (int)SWIG_As_int(obj2
);
29782 if (PyErr_Occurred()) SWIG_fail
;
29784 arg4
= wxString_in_helper(obj3
);
29785 if (arg4
== NULL
) SWIG_fail
;
29788 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxMenu
,
29789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29792 arg6
= wxString_in_helper(obj5
);
29793 if (arg6
== NULL
) SWIG_fail
;
29798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29799 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
29801 wxPyEndAllowThreads(__tstate
);
29802 if (PyErr_Occurred()) SWIG_fail
;
29805 resultobj
= wxPyMake_wxObject(result
, 0);
29829 static PyObject
*_wrap_Menu_PrependItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29830 PyObject
*resultobj
;
29831 wxMenu
*arg1
= (wxMenu
*) 0 ;
29832 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
29833 wxMenuItem
*result
;
29834 PyObject
* obj0
= 0 ;
29835 PyObject
* obj1
= 0 ;
29836 char *kwnames
[] = {
29837 (char *) "self",(char *) "item", NULL
29840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
29841 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29842 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29843 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
29844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29847 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
);
29849 wxPyEndAllowThreads(__tstate
);
29850 if (PyErr_Occurred()) SWIG_fail
;
29853 resultobj
= wxPyMake_wxObject(result
, 0);
29861 static PyObject
*_wrap_Menu_Prepend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29862 PyObject
*resultobj
;
29863 wxMenu
*arg1
= (wxMenu
*) 0 ;
29865 wxString
*arg3
= 0 ;
29866 wxString
const &arg4_defvalue
= wxPyEmptyString
;
29867 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
29868 int arg5
= (int) wxITEM_NORMAL
;
29869 wxMenuItem
*result
;
29870 bool temp3
= False
;
29871 bool temp4
= False
;
29872 PyObject
* obj0
= 0 ;
29873 PyObject
* obj1
= 0 ;
29874 PyObject
* obj2
= 0 ;
29875 PyObject
* obj3
= 0 ;
29876 PyObject
* obj4
= 0 ;
29877 char *kwnames
[] = {
29878 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
29881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29884 arg2
= (int)SWIG_As_int(obj1
);
29885 if (PyErr_Occurred()) SWIG_fail
;
29887 arg3
= wxString_in_helper(obj2
);
29888 if (arg3
== NULL
) SWIG_fail
;
29893 arg4
= wxString_in_helper(obj3
);
29894 if (arg4
== NULL
) SWIG_fail
;
29899 arg5
= (int)SWIG_As_int(obj4
);
29900 if (PyErr_Occurred()) SWIG_fail
;
29903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29904 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
29906 wxPyEndAllowThreads(__tstate
);
29907 if (PyErr_Occurred()) SWIG_fail
;
29910 resultobj
= wxPyMake_wxObject(result
, 0);
29934 static PyObject
*_wrap_Menu_PrependSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29935 PyObject
*resultobj
;
29936 wxMenu
*arg1
= (wxMenu
*) 0 ;
29937 wxMenuItem
*result
;
29938 PyObject
* obj0
= 0 ;
29939 char *kwnames
[] = {
29940 (char *) "self", NULL
29943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_PrependSeparator",kwnames
,&obj0
)) goto fail
;
29944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29948 result
= (wxMenuItem
*)(arg1
)->PrependSeparator();
29950 wxPyEndAllowThreads(__tstate
);
29951 if (PyErr_Occurred()) SWIG_fail
;
29954 resultobj
= wxPyMake_wxObject(result
, 0);
29962 static PyObject
*_wrap_Menu_PrependCheckItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29963 PyObject
*resultobj
;
29964 wxMenu
*arg1
= (wxMenu
*) 0 ;
29966 wxString
*arg3
= 0 ;
29967 wxString
const &arg4_defvalue
= wxPyEmptyString
;
29968 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
29969 wxMenuItem
*result
;
29970 bool temp3
= False
;
29971 bool temp4
= False
;
29972 PyObject
* obj0
= 0 ;
29973 PyObject
* obj1
= 0 ;
29974 PyObject
* obj2
= 0 ;
29975 PyObject
* obj3
= 0 ;
29976 char *kwnames
[] = {
29977 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
29980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29981 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29983 arg2
= (int)SWIG_As_int(obj1
);
29984 if (PyErr_Occurred()) SWIG_fail
;
29986 arg3
= wxString_in_helper(obj2
);
29987 if (arg3
== NULL
) SWIG_fail
;
29992 arg4
= wxString_in_helper(obj3
);
29993 if (arg4
== NULL
) SWIG_fail
;
29998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29999 result
= (wxMenuItem
*)(arg1
)->PrependCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
30001 wxPyEndAllowThreads(__tstate
);
30002 if (PyErr_Occurred()) SWIG_fail
;
30005 resultobj
= wxPyMake_wxObject(result
, 0);
30029 static PyObject
*_wrap_Menu_PrependRadioItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30030 PyObject
*resultobj
;
30031 wxMenu
*arg1
= (wxMenu
*) 0 ;
30033 wxString
*arg3
= 0 ;
30034 wxString
const &arg4_defvalue
= wxPyEmptyString
;
30035 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
30036 wxMenuItem
*result
;
30037 bool temp3
= False
;
30038 bool temp4
= False
;
30039 PyObject
* obj0
= 0 ;
30040 PyObject
* obj1
= 0 ;
30041 PyObject
* obj2
= 0 ;
30042 PyObject
* obj3
= 0 ;
30043 char *kwnames
[] = {
30044 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
30047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30048 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30049 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30050 arg2
= (int)SWIG_As_int(obj1
);
30051 if (PyErr_Occurred()) SWIG_fail
;
30053 arg3
= wxString_in_helper(obj2
);
30054 if (arg3
== NULL
) SWIG_fail
;
30059 arg4
= wxString_in_helper(obj3
);
30060 if (arg4
== NULL
) SWIG_fail
;
30065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30066 result
= (wxMenuItem
*)(arg1
)->PrependRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
30068 wxPyEndAllowThreads(__tstate
);
30069 if (PyErr_Occurred()) SWIG_fail
;
30072 resultobj
= wxPyMake_wxObject(result
, 0);
30096 static PyObject
*_wrap_Menu_PrependMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30097 PyObject
*resultobj
;
30098 wxMenu
*arg1
= (wxMenu
*) 0 ;
30100 wxString
*arg3
= 0 ;
30101 wxMenu
*arg4
= (wxMenu
*) 0 ;
30102 wxString
const &arg5_defvalue
= wxPyEmptyString
;
30103 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
30104 wxMenuItem
*result
;
30105 bool temp3
= False
;
30106 bool temp5
= False
;
30107 PyObject
* obj0
= 0 ;
30108 PyObject
* obj1
= 0 ;
30109 PyObject
* obj2
= 0 ;
30110 PyObject
* obj3
= 0 ;
30111 PyObject
* obj4
= 0 ;
30112 char *kwnames
[] = {
30113 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
30116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_PrependMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30117 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30118 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30119 arg2
= (int)SWIG_As_int(obj1
);
30120 if (PyErr_Occurred()) SWIG_fail
;
30122 arg3
= wxString_in_helper(obj2
);
30123 if (arg3
== NULL
) SWIG_fail
;
30126 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxMenu
,
30127 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30130 arg5
= wxString_in_helper(obj4
);
30131 if (arg5
== NULL
) SWIG_fail
;
30136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30137 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
30139 wxPyEndAllowThreads(__tstate
);
30140 if (PyErr_Occurred()) SWIG_fail
;
30143 resultobj
= wxPyMake_wxObject(result
, 0);
30167 static PyObject
*_wrap_Menu_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30168 PyObject
*resultobj
;
30169 wxMenu
*arg1
= (wxMenu
*) 0 ;
30171 wxMenuItem
*result
;
30172 PyObject
* obj0
= 0 ;
30173 PyObject
* obj1
= 0 ;
30174 char *kwnames
[] = {
30175 (char *) "self",(char *) "id", NULL
30178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
30179 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30180 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30181 arg2
= (int)SWIG_As_int(obj1
);
30182 if (PyErr_Occurred()) SWIG_fail
;
30184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30185 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
30187 wxPyEndAllowThreads(__tstate
);
30188 if (PyErr_Occurred()) SWIG_fail
;
30191 resultobj
= wxPyMake_wxObject(result
, 0);
30199 static PyObject
*_wrap_Menu_RemoveItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30200 PyObject
*resultobj
;
30201 wxMenu
*arg1
= (wxMenu
*) 0 ;
30202 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
30203 wxMenuItem
*result
;
30204 PyObject
* obj0
= 0 ;
30205 PyObject
* obj1
= 0 ;
30206 char *kwnames
[] = {
30207 (char *) "self",(char *) "item", NULL
30210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_RemoveItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30211 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30213 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
30214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30217 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
30219 wxPyEndAllowThreads(__tstate
);
30220 if (PyErr_Occurred()) SWIG_fail
;
30223 resultobj
= wxPyMake_wxObject(result
, 0);
30231 static PyObject
*_wrap_Menu_Delete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30232 PyObject
*resultobj
;
30233 wxMenu
*arg1
= (wxMenu
*) 0 ;
30236 PyObject
* obj0
= 0 ;
30237 PyObject
* obj1
= 0 ;
30238 char *kwnames
[] = {
30239 (char *) "self",(char *) "id", NULL
30242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
30243 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30244 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30245 arg2
= (int)SWIG_As_int(obj1
);
30246 if (PyErr_Occurred()) SWIG_fail
;
30248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30249 result
= (bool)(arg1
)->Delete(arg2
);
30251 wxPyEndAllowThreads(__tstate
);
30252 if (PyErr_Occurred()) SWIG_fail
;
30255 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30263 static PyObject
*_wrap_Menu_DeleteItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30264 PyObject
*resultobj
;
30265 wxMenu
*arg1
= (wxMenu
*) 0 ;
30266 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
30268 PyObject
* obj0
= 0 ;
30269 PyObject
* obj1
= 0 ;
30270 char *kwnames
[] = {
30271 (char *) "self",(char *) "item", NULL
30274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30275 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30276 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30277 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
30278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30281 result
= (bool)(arg1
)->Delete(arg2
);
30283 wxPyEndAllowThreads(__tstate
);
30284 if (PyErr_Occurred()) SWIG_fail
;
30287 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30295 static PyObject
*_wrap_Menu_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30296 PyObject
*resultobj
;
30297 wxMenu
*arg1
= (wxMenu
*) 0 ;
30298 PyObject
* obj0
= 0 ;
30299 char *kwnames
[] = {
30300 (char *) "self", NULL
30303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Destroy",kwnames
,&obj0
)) goto fail
;
30304 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30308 wxMenu_Destroy(arg1
);
30310 wxPyEndAllowThreads(__tstate
);
30311 if (PyErr_Occurred()) SWIG_fail
;
30313 Py_INCREF(Py_None
); resultobj
= Py_None
;
30320 static PyObject
*_wrap_Menu_DestroyId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30321 PyObject
*resultobj
;
30322 wxMenu
*arg1
= (wxMenu
*) 0 ;
30325 PyObject
* obj0
= 0 ;
30326 PyObject
* obj1
= 0 ;
30327 char *kwnames
[] = {
30328 (char *) "self",(char *) "id", NULL
30331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyId",kwnames
,&obj0
,&obj1
)) goto fail
;
30332 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30333 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30334 arg2
= (int)SWIG_As_int(obj1
);
30335 if (PyErr_Occurred()) SWIG_fail
;
30337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30338 result
= (bool)(arg1
)->Destroy(arg2
);
30340 wxPyEndAllowThreads(__tstate
);
30341 if (PyErr_Occurred()) SWIG_fail
;
30344 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30352 static PyObject
*_wrap_Menu_DestroyItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30353 PyObject
*resultobj
;
30354 wxMenu
*arg1
= (wxMenu
*) 0 ;
30355 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
30357 PyObject
* obj0
= 0 ;
30358 PyObject
* obj1
= 0 ;
30359 char *kwnames
[] = {
30360 (char *) "self",(char *) "item", NULL
30363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30366 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
30367 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30370 result
= (bool)(arg1
)->Destroy(arg2
);
30372 wxPyEndAllowThreads(__tstate
);
30373 if (PyErr_Occurred()) SWIG_fail
;
30376 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30384 static PyObject
*_wrap_Menu_GetMenuItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30385 PyObject
*resultobj
;
30386 wxMenu
*arg1
= (wxMenu
*) 0 ;
30388 PyObject
* obj0
= 0 ;
30389 char *kwnames
[] = {
30390 (char *) "self", NULL
30393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItemCount",kwnames
,&obj0
)) goto fail
;
30394 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30398 result
= (size_t)((wxMenu
const *)arg1
)->GetMenuItemCount();
30400 wxPyEndAllowThreads(__tstate
);
30401 if (PyErr_Occurred()) SWIG_fail
;
30403 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
30410 static PyObject
*_wrap_Menu_GetMenuItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30411 PyObject
*resultobj
;
30412 wxMenu
*arg1
= (wxMenu
*) 0 ;
30414 PyObject
* obj0
= 0 ;
30415 char *kwnames
[] = {
30416 (char *) "self", NULL
30419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItems",kwnames
,&obj0
)) goto fail
;
30420 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30421 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30424 result
= (PyObject
*)wxMenu_GetMenuItems(arg1
);
30426 wxPyEndAllowThreads(__tstate
);
30427 if (PyErr_Occurred()) SWIG_fail
;
30429 resultobj
= result
;
30436 static PyObject
*_wrap_Menu_FindItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30437 PyObject
*resultobj
;
30438 wxMenu
*arg1
= (wxMenu
*) 0 ;
30439 wxString
*arg2
= 0 ;
30441 bool temp2
= False
;
30442 PyObject
* obj0
= 0 ;
30443 PyObject
* obj1
= 0 ;
30444 char *kwnames
[] = {
30445 (char *) "self",(char *) "item", NULL
30448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30449 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30450 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30452 arg2
= wxString_in_helper(obj1
);
30453 if (arg2
== NULL
) SWIG_fail
;
30457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30458 result
= (int)((wxMenu
const *)arg1
)->FindItem((wxString
const &)*arg2
);
30460 wxPyEndAllowThreads(__tstate
);
30461 if (PyErr_Occurred()) SWIG_fail
;
30463 resultobj
= SWIG_From_int((int)result
);
30478 static PyObject
*_wrap_Menu_FindItemById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30479 PyObject
*resultobj
;
30480 wxMenu
*arg1
= (wxMenu
*) 0 ;
30482 wxMenuItem
*result
;
30483 PyObject
* obj0
= 0 ;
30484 PyObject
* obj1
= 0 ;
30485 char *kwnames
[] = {
30486 (char *) "self",(char *) "id", NULL
30489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemById",kwnames
,&obj0
,&obj1
)) goto fail
;
30490 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30491 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30492 arg2
= (int)SWIG_As_int(obj1
);
30493 if (PyErr_Occurred()) SWIG_fail
;
30495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30496 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItem(arg2
);
30498 wxPyEndAllowThreads(__tstate
);
30499 if (PyErr_Occurred()) SWIG_fail
;
30502 resultobj
= wxPyMake_wxObject(result
, 0);
30510 static PyObject
*_wrap_Menu_FindItemByPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30511 PyObject
*resultobj
;
30512 wxMenu
*arg1
= (wxMenu
*) 0 ;
30514 wxMenuItem
*result
;
30515 PyObject
* obj0
= 0 ;
30516 PyObject
* obj1
= 0 ;
30517 char *kwnames
[] = {
30518 (char *) "self",(char *) "position", NULL
30521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemByPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
30522 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30523 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30524 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
30525 if (PyErr_Occurred()) SWIG_fail
;
30527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30528 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItemByPosition(arg2
);
30530 wxPyEndAllowThreads(__tstate
);
30531 if (PyErr_Occurred()) SWIG_fail
;
30534 resultobj
= wxPyMake_wxObject(result
, 0);
30542 static PyObject
*_wrap_Menu_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30543 PyObject
*resultobj
;
30544 wxMenu
*arg1
= (wxMenu
*) 0 ;
30547 PyObject
* obj0
= 0 ;
30548 PyObject
* obj1
= 0 ;
30549 PyObject
* obj2
= 0 ;
30550 char *kwnames
[] = {
30551 (char *) "self",(char *) "id",(char *) "enable", NULL
30554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30555 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30556 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30557 arg2
= (int)SWIG_As_int(obj1
);
30558 if (PyErr_Occurred()) SWIG_fail
;
30559 arg3
= (bool)SWIG_As_bool(obj2
);
30560 if (PyErr_Occurred()) SWIG_fail
;
30562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30563 (arg1
)->Enable(arg2
,arg3
);
30565 wxPyEndAllowThreads(__tstate
);
30566 if (PyErr_Occurred()) SWIG_fail
;
30568 Py_INCREF(Py_None
); resultobj
= Py_None
;
30575 static PyObject
*_wrap_Menu_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30576 PyObject
*resultobj
;
30577 wxMenu
*arg1
= (wxMenu
*) 0 ;
30580 PyObject
* obj0
= 0 ;
30581 PyObject
* obj1
= 0 ;
30582 char *kwnames
[] = {
30583 (char *) "self",(char *) "id", NULL
30586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
30587 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30589 arg2
= (int)SWIG_As_int(obj1
);
30590 if (PyErr_Occurred()) SWIG_fail
;
30592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30593 result
= (bool)((wxMenu
const *)arg1
)->IsEnabled(arg2
);
30595 wxPyEndAllowThreads(__tstate
);
30596 if (PyErr_Occurred()) SWIG_fail
;
30599 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30607 static PyObject
*_wrap_Menu_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30608 PyObject
*resultobj
;
30609 wxMenu
*arg1
= (wxMenu
*) 0 ;
30612 PyObject
* obj0
= 0 ;
30613 PyObject
* obj1
= 0 ;
30614 PyObject
* obj2
= 0 ;
30615 char *kwnames
[] = {
30616 (char *) "self",(char *) "id",(char *) "check", NULL
30619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30622 arg2
= (int)SWIG_As_int(obj1
);
30623 if (PyErr_Occurred()) SWIG_fail
;
30624 arg3
= (bool)SWIG_As_bool(obj2
);
30625 if (PyErr_Occurred()) SWIG_fail
;
30627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30628 (arg1
)->Check(arg2
,arg3
);
30630 wxPyEndAllowThreads(__tstate
);
30631 if (PyErr_Occurred()) SWIG_fail
;
30633 Py_INCREF(Py_None
); resultobj
= Py_None
;
30640 static PyObject
*_wrap_Menu_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30641 PyObject
*resultobj
;
30642 wxMenu
*arg1
= (wxMenu
*) 0 ;
30645 PyObject
* obj0
= 0 ;
30646 PyObject
* obj1
= 0 ;
30647 char *kwnames
[] = {
30648 (char *) "self",(char *) "id", NULL
30651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
30652 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30653 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30654 arg2
= (int)SWIG_As_int(obj1
);
30655 if (PyErr_Occurred()) SWIG_fail
;
30657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30658 result
= (bool)((wxMenu
const *)arg1
)->IsChecked(arg2
);
30660 wxPyEndAllowThreads(__tstate
);
30661 if (PyErr_Occurred()) SWIG_fail
;
30664 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30672 static PyObject
*_wrap_Menu_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30673 PyObject
*resultobj
;
30674 wxMenu
*arg1
= (wxMenu
*) 0 ;
30676 wxString
*arg3
= 0 ;
30677 bool temp3
= False
;
30678 PyObject
* obj0
= 0 ;
30679 PyObject
* obj1
= 0 ;
30680 PyObject
* obj2
= 0 ;
30681 char *kwnames
[] = {
30682 (char *) "self",(char *) "id",(char *) "label", NULL
30685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30686 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30687 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30688 arg2
= (int)SWIG_As_int(obj1
);
30689 if (PyErr_Occurred()) SWIG_fail
;
30691 arg3
= wxString_in_helper(obj2
);
30692 if (arg3
== NULL
) SWIG_fail
;
30696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30697 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
30699 wxPyEndAllowThreads(__tstate
);
30700 if (PyErr_Occurred()) SWIG_fail
;
30702 Py_INCREF(Py_None
); resultobj
= Py_None
;
30717 static PyObject
*_wrap_Menu_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30718 PyObject
*resultobj
;
30719 wxMenu
*arg1
= (wxMenu
*) 0 ;
30722 PyObject
* obj0
= 0 ;
30723 PyObject
* obj1
= 0 ;
30724 char *kwnames
[] = {
30725 (char *) "self",(char *) "id", NULL
30728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
30729 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30730 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30731 arg2
= (int)SWIG_As_int(obj1
);
30732 if (PyErr_Occurred()) SWIG_fail
;
30734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30735 result
= ((wxMenu
const *)arg1
)->GetLabel(arg2
);
30737 wxPyEndAllowThreads(__tstate
);
30738 if (PyErr_Occurred()) SWIG_fail
;
30742 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30744 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30753 static PyObject
*_wrap_Menu_SetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30754 PyObject
*resultobj
;
30755 wxMenu
*arg1
= (wxMenu
*) 0 ;
30757 wxString
*arg3
= 0 ;
30758 bool temp3
= False
;
30759 PyObject
* obj0
= 0 ;
30760 PyObject
* obj1
= 0 ;
30761 PyObject
* obj2
= 0 ;
30762 char *kwnames
[] = {
30763 (char *) "self",(char *) "id",(char *) "helpString", NULL
30766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30767 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30768 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30769 arg2
= (int)SWIG_As_int(obj1
);
30770 if (PyErr_Occurred()) SWIG_fail
;
30772 arg3
= wxString_in_helper(obj2
);
30773 if (arg3
== NULL
) SWIG_fail
;
30777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30778 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
30780 wxPyEndAllowThreads(__tstate
);
30781 if (PyErr_Occurred()) SWIG_fail
;
30783 Py_INCREF(Py_None
); resultobj
= Py_None
;
30798 static PyObject
*_wrap_Menu_GetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30799 PyObject
*resultobj
;
30800 wxMenu
*arg1
= (wxMenu
*) 0 ;
30803 PyObject
* obj0
= 0 ;
30804 PyObject
* obj1
= 0 ;
30805 char *kwnames
[] = {
30806 (char *) "self",(char *) "id", NULL
30809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetHelpString",kwnames
,&obj0
,&obj1
)) goto fail
;
30810 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30812 arg2
= (int)SWIG_As_int(obj1
);
30813 if (PyErr_Occurred()) SWIG_fail
;
30815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30816 result
= ((wxMenu
const *)arg1
)->GetHelpString(arg2
);
30818 wxPyEndAllowThreads(__tstate
);
30819 if (PyErr_Occurred()) SWIG_fail
;
30823 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30825 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30834 static PyObject
*_wrap_Menu_SetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30835 PyObject
*resultobj
;
30836 wxMenu
*arg1
= (wxMenu
*) 0 ;
30837 wxString
*arg2
= 0 ;
30838 bool temp2
= False
;
30839 PyObject
* obj0
= 0 ;
30840 PyObject
* obj1
= 0 ;
30841 char *kwnames
[] = {
30842 (char *) "self",(char *) "title", NULL
30845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
30846 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30847 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30849 arg2
= wxString_in_helper(obj1
);
30850 if (arg2
== NULL
) SWIG_fail
;
30854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30855 (arg1
)->SetTitle((wxString
const &)*arg2
);
30857 wxPyEndAllowThreads(__tstate
);
30858 if (PyErr_Occurred()) SWIG_fail
;
30860 Py_INCREF(Py_None
); resultobj
= Py_None
;
30875 static PyObject
*_wrap_Menu_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30876 PyObject
*resultobj
;
30877 wxMenu
*arg1
= (wxMenu
*) 0 ;
30879 PyObject
* obj0
= 0 ;
30880 char *kwnames
[] = {
30881 (char *) "self", NULL
30884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetTitle",kwnames
,&obj0
)) goto fail
;
30885 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30889 result
= ((wxMenu
const *)arg1
)->GetTitle();
30891 wxPyEndAllowThreads(__tstate
);
30892 if (PyErr_Occurred()) SWIG_fail
;
30896 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30898 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30907 static PyObject
*_wrap_Menu_SetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30908 PyObject
*resultobj
;
30909 wxMenu
*arg1
= (wxMenu
*) 0 ;
30910 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
30911 PyObject
* obj0
= 0 ;
30912 PyObject
* obj1
= 0 ;
30913 char *kwnames
[] = {
30914 (char *) "self",(char *) "handler", NULL
30917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
30918 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30919 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30920 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
30921 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30924 (arg1
)->SetEventHandler(arg2
);
30926 wxPyEndAllowThreads(__tstate
);
30927 if (PyErr_Occurred()) SWIG_fail
;
30929 Py_INCREF(Py_None
); resultobj
= Py_None
;
30936 static PyObject
*_wrap_Menu_GetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30937 PyObject
*resultobj
;
30938 wxMenu
*arg1
= (wxMenu
*) 0 ;
30939 wxEvtHandler
*result
;
30940 PyObject
* obj0
= 0 ;
30941 char *kwnames
[] = {
30942 (char *) "self", NULL
30945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetEventHandler",kwnames
,&obj0
)) goto fail
;
30946 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30947 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30950 result
= (wxEvtHandler
*)((wxMenu
const *)arg1
)->GetEventHandler();
30952 wxPyEndAllowThreads(__tstate
);
30953 if (PyErr_Occurred()) SWIG_fail
;
30956 resultobj
= wxPyMake_wxObject(result
, 0);
30964 static PyObject
*_wrap_Menu_SetInvokingWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30965 PyObject
*resultobj
;
30966 wxMenu
*arg1
= (wxMenu
*) 0 ;
30967 wxWindow
*arg2
= (wxWindow
*) 0 ;
30968 PyObject
* obj0
= 0 ;
30969 PyObject
* obj1
= 0 ;
30970 char *kwnames
[] = {
30971 (char *) "self",(char *) "win", NULL
30974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetInvokingWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
30975 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30977 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30978 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30981 (arg1
)->SetInvokingWindow(arg2
);
30983 wxPyEndAllowThreads(__tstate
);
30984 if (PyErr_Occurred()) SWIG_fail
;
30986 Py_INCREF(Py_None
); resultobj
= Py_None
;
30993 static PyObject
*_wrap_Menu_GetInvokingWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30994 PyObject
*resultobj
;
30995 wxMenu
*arg1
= (wxMenu
*) 0 ;
30997 PyObject
* obj0
= 0 ;
30998 char *kwnames
[] = {
30999 (char *) "self", NULL
31002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetInvokingWindow",kwnames
,&obj0
)) goto fail
;
31003 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31004 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31007 result
= (wxWindow
*)((wxMenu
const *)arg1
)->GetInvokingWindow();
31009 wxPyEndAllowThreads(__tstate
);
31010 if (PyErr_Occurred()) SWIG_fail
;
31013 resultobj
= wxPyMake_wxObject(result
, 0);
31021 static PyObject
*_wrap_Menu_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31022 PyObject
*resultobj
;
31023 wxMenu
*arg1
= (wxMenu
*) 0 ;
31025 PyObject
* obj0
= 0 ;
31026 char *kwnames
[] = {
31027 (char *) "self", NULL
31030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetStyle",kwnames
,&obj0
)) goto fail
;
31031 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31032 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31035 result
= (long)((wxMenu
const *)arg1
)->GetStyle();
31037 wxPyEndAllowThreads(__tstate
);
31038 if (PyErr_Occurred()) SWIG_fail
;
31040 resultobj
= SWIG_From_long((long)result
);
31047 static PyObject
*_wrap_Menu_UpdateUI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31048 PyObject
*resultobj
;
31049 wxMenu
*arg1
= (wxMenu
*) 0 ;
31050 wxEvtHandler
*arg2
= (wxEvtHandler
*) NULL
;
31051 PyObject
* obj0
= 0 ;
31052 PyObject
* obj1
= 0 ;
31053 char *kwnames
[] = {
31054 (char *) "self",(char *) "source", NULL
31057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Menu_UpdateUI",kwnames
,&obj0
,&obj1
)) goto fail
;
31058 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31059 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31061 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
31062 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31066 (arg1
)->UpdateUI(arg2
);
31068 wxPyEndAllowThreads(__tstate
);
31069 if (PyErr_Occurred()) SWIG_fail
;
31071 Py_INCREF(Py_None
); resultobj
= Py_None
;
31078 static PyObject
*_wrap_Menu_GetMenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31079 PyObject
*resultobj
;
31080 wxMenu
*arg1
= (wxMenu
*) 0 ;
31082 PyObject
* obj0
= 0 ;
31083 char *kwnames
[] = {
31084 (char *) "self", NULL
31087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuBar",kwnames
,&obj0
)) goto fail
;
31088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31092 result
= (wxMenuBar
*)((wxMenu
const *)arg1
)->GetMenuBar();
31094 wxPyEndAllowThreads(__tstate
);
31095 if (PyErr_Occurred()) SWIG_fail
;
31098 resultobj
= wxPyMake_wxObject(result
, 0);
31106 static PyObject
*_wrap_Menu_Attach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31107 PyObject
*resultobj
;
31108 wxMenu
*arg1
= (wxMenu
*) 0 ;
31109 wxMenuBarBase
*arg2
= (wxMenuBarBase
*) 0 ;
31110 PyObject
* obj0
= 0 ;
31111 PyObject
* obj1
= 0 ;
31112 char *kwnames
[] = {
31113 (char *) "self",(char *) "menubar", NULL
31116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
31117 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31118 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31119 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuBarBase
,
31120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31123 (arg1
)->Attach(arg2
);
31125 wxPyEndAllowThreads(__tstate
);
31126 if (PyErr_Occurred()) SWIG_fail
;
31128 Py_INCREF(Py_None
); resultobj
= Py_None
;
31135 static PyObject
*_wrap_Menu_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31136 PyObject
*resultobj
;
31137 wxMenu
*arg1
= (wxMenu
*) 0 ;
31138 PyObject
* obj0
= 0 ;
31139 char *kwnames
[] = {
31140 (char *) "self", NULL
31143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Detach",kwnames
,&obj0
)) goto fail
;
31144 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31145 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31150 wxPyEndAllowThreads(__tstate
);
31151 if (PyErr_Occurred()) SWIG_fail
;
31153 Py_INCREF(Py_None
); resultobj
= Py_None
;
31160 static PyObject
*_wrap_Menu_IsAttached(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31161 PyObject
*resultobj
;
31162 wxMenu
*arg1
= (wxMenu
*) 0 ;
31164 PyObject
* obj0
= 0 ;
31165 char *kwnames
[] = {
31166 (char *) "self", NULL
31169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_IsAttached",kwnames
,&obj0
)) goto fail
;
31170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31174 result
= (bool)((wxMenu
const *)arg1
)->IsAttached();
31176 wxPyEndAllowThreads(__tstate
);
31177 if (PyErr_Occurred()) SWIG_fail
;
31180 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31188 static PyObject
*_wrap_Menu_SetParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31189 PyObject
*resultobj
;
31190 wxMenu
*arg1
= (wxMenu
*) 0 ;
31191 wxMenu
*arg2
= (wxMenu
*) 0 ;
31192 PyObject
* obj0
= 0 ;
31193 PyObject
* obj1
= 0 ;
31194 char *kwnames
[] = {
31195 (char *) "self",(char *) "parent", NULL
31198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetParent",kwnames
,&obj0
,&obj1
)) goto fail
;
31199 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31200 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31201 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
31202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31205 (arg1
)->SetParent(arg2
);
31207 wxPyEndAllowThreads(__tstate
);
31208 if (PyErr_Occurred()) SWIG_fail
;
31210 Py_INCREF(Py_None
); resultobj
= Py_None
;
31217 static PyObject
*_wrap_Menu_GetParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31218 PyObject
*resultobj
;
31219 wxMenu
*arg1
= (wxMenu
*) 0 ;
31221 PyObject
* obj0
= 0 ;
31222 char *kwnames
[] = {
31223 (char *) "self", NULL
31226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetParent",kwnames
,&obj0
)) goto fail
;
31227 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31231 result
= (wxMenu
*)((wxMenu
const *)arg1
)->GetParent();
31233 wxPyEndAllowThreads(__tstate
);
31234 if (PyErr_Occurred()) SWIG_fail
;
31237 resultobj
= wxPyMake_wxObject(result
, 0);
31245 static PyObject
* Menu_swigregister(PyObject
*, PyObject
*args
) {
31247 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31248 SWIG_TypeClientData(SWIGTYPE_p_wxMenu
, obj
);
31250 return Py_BuildValue((char *)"");
31252 static PyObject
*_wrap_new_MenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31253 PyObject
*resultobj
;
31254 long arg1
= (long) 0 ;
31256 PyObject
* obj0
= 0 ;
31257 char *kwnames
[] = {
31258 (char *) "style", NULL
31261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MenuBar",kwnames
,&obj0
)) goto fail
;
31263 arg1
= (long)SWIG_As_long(obj0
);
31264 if (PyErr_Occurred()) SWIG_fail
;
31267 if (!wxPyCheckForApp()) SWIG_fail
;
31268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31269 result
= (wxMenuBar
*)new wxMenuBar(arg1
);
31271 wxPyEndAllowThreads(__tstate
);
31272 if (PyErr_Occurred()) SWIG_fail
;
31274 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenuBar
, 1);
31281 static PyObject
*_wrap_MenuBar_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31282 PyObject
*resultobj
;
31283 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31284 wxMenu
*arg2
= (wxMenu
*) 0 ;
31285 wxString
*arg3
= 0 ;
31287 bool temp3
= False
;
31288 PyObject
* obj0
= 0 ;
31289 PyObject
* obj1
= 0 ;
31290 PyObject
* obj2
= 0 ;
31291 char *kwnames
[] = {
31292 (char *) "self",(char *) "menu",(char *) "title", NULL
31295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31296 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31298 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
31299 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31301 arg3
= wxString_in_helper(obj2
);
31302 if (arg3
== NULL
) SWIG_fail
;
31306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31307 result
= (bool)(arg1
)->Append(arg2
,(wxString
const &)*arg3
);
31309 wxPyEndAllowThreads(__tstate
);
31310 if (PyErr_Occurred()) SWIG_fail
;
31313 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31329 static PyObject
*_wrap_MenuBar_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31330 PyObject
*resultobj
;
31331 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31333 wxMenu
*arg3
= (wxMenu
*) 0 ;
31334 wxString
*arg4
= 0 ;
31336 bool temp4
= False
;
31337 PyObject
* obj0
= 0 ;
31338 PyObject
* obj1
= 0 ;
31339 PyObject
* obj2
= 0 ;
31340 PyObject
* obj3
= 0 ;
31341 char *kwnames
[] = {
31342 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
31345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
31346 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31348 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
31349 if (PyErr_Occurred()) SWIG_fail
;
31350 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenu
,
31351 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31353 arg4
= wxString_in_helper(obj3
);
31354 if (arg4
== NULL
) SWIG_fail
;
31358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31359 result
= (bool)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
);
31361 wxPyEndAllowThreads(__tstate
);
31362 if (PyErr_Occurred()) SWIG_fail
;
31365 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31381 static PyObject
*_wrap_MenuBar_GetMenuCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31382 PyObject
*resultobj
;
31383 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31385 PyObject
* obj0
= 0 ;
31386 char *kwnames
[] = {
31387 (char *) "self", NULL
31390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetMenuCount",kwnames
,&obj0
)) goto fail
;
31391 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31395 result
= (size_t)((wxMenuBar
const *)arg1
)->GetMenuCount();
31397 wxPyEndAllowThreads(__tstate
);
31398 if (PyErr_Occurred()) SWIG_fail
;
31400 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
31407 static PyObject
*_wrap_MenuBar_GetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31408 PyObject
*resultobj
;
31409 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31412 PyObject
* obj0
= 0 ;
31413 PyObject
* obj1
= 0 ;
31414 char *kwnames
[] = {
31415 (char *) "self",(char *) "pos", NULL
31418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
31419 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31420 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31421 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
31422 if (PyErr_Occurred()) SWIG_fail
;
31424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31425 result
= (wxMenu
*)((wxMenuBar
const *)arg1
)->GetMenu(arg2
);
31427 wxPyEndAllowThreads(__tstate
);
31428 if (PyErr_Occurred()) SWIG_fail
;
31431 resultobj
= wxPyMake_wxObject(result
, 0);
31439 static PyObject
*_wrap_MenuBar_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31440 PyObject
*resultobj
;
31441 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31443 wxMenu
*arg3
= (wxMenu
*) 0 ;
31444 wxString
*arg4
= 0 ;
31446 bool temp4
= False
;
31447 PyObject
* obj0
= 0 ;
31448 PyObject
* obj1
= 0 ;
31449 PyObject
* obj2
= 0 ;
31450 PyObject
* obj3
= 0 ;
31451 char *kwnames
[] = {
31452 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
31455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
31456 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31457 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31458 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
31459 if (PyErr_Occurred()) SWIG_fail
;
31460 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenu
,
31461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31463 arg4
= wxString_in_helper(obj3
);
31464 if (arg4
== NULL
) SWIG_fail
;
31468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31469 result
= (wxMenu
*)(arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
31471 wxPyEndAllowThreads(__tstate
);
31472 if (PyErr_Occurred()) SWIG_fail
;
31475 resultobj
= wxPyMake_wxObject(result
, 0);
31491 static PyObject
*_wrap_MenuBar_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31492 PyObject
*resultobj
;
31493 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31496 PyObject
* obj0
= 0 ;
31497 PyObject
* obj1
= 0 ;
31498 char *kwnames
[] = {
31499 (char *) "self",(char *) "pos", NULL
31502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
31503 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31505 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
31506 if (PyErr_Occurred()) SWIG_fail
;
31508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31509 result
= (wxMenu
*)(arg1
)->Remove(arg2
);
31511 wxPyEndAllowThreads(__tstate
);
31512 if (PyErr_Occurred()) SWIG_fail
;
31515 resultobj
= wxPyMake_wxObject(result
, 0);
31523 static PyObject
*_wrap_MenuBar_EnableTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31524 PyObject
*resultobj
;
31525 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31528 PyObject
* obj0
= 0 ;
31529 PyObject
* obj1
= 0 ;
31530 PyObject
* obj2
= 0 ;
31531 char *kwnames
[] = {
31532 (char *) "self",(char *) "pos",(char *) "enable", NULL
31535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_EnableTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31536 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31537 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31538 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
31539 if (PyErr_Occurred()) SWIG_fail
;
31540 arg3
= (bool)SWIG_As_bool(obj2
);
31541 if (PyErr_Occurred()) SWIG_fail
;
31543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31544 (arg1
)->EnableTop(arg2
,arg3
);
31546 wxPyEndAllowThreads(__tstate
);
31547 if (PyErr_Occurred()) SWIG_fail
;
31549 Py_INCREF(Py_None
); resultobj
= Py_None
;
31556 static PyObject
*_wrap_MenuBar_IsEnabledTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31557 PyObject
*resultobj
;
31558 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31561 PyObject
* obj0
= 0 ;
31562 PyObject
* obj1
= 0 ;
31563 char *kwnames
[] = {
31564 (char *) "self",(char *) "pos", NULL
31567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabledTop",kwnames
,&obj0
,&obj1
)) goto fail
;
31568 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31570 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
31571 if (PyErr_Occurred()) SWIG_fail
;
31573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31574 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabledTop(arg2
);
31576 wxPyEndAllowThreads(__tstate
);
31577 if (PyErr_Occurred()) SWIG_fail
;
31580 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31588 static PyObject
*_wrap_MenuBar_SetLabelTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31589 PyObject
*resultobj
;
31590 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31592 wxString
*arg3
= 0 ;
31593 bool temp3
= False
;
31594 PyObject
* obj0
= 0 ;
31595 PyObject
* obj1
= 0 ;
31596 PyObject
* obj2
= 0 ;
31597 char *kwnames
[] = {
31598 (char *) "self",(char *) "pos",(char *) "label", NULL
31601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabelTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31602 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31603 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31604 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
31605 if (PyErr_Occurred()) SWIG_fail
;
31607 arg3
= wxString_in_helper(obj2
);
31608 if (arg3
== NULL
) SWIG_fail
;
31612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31613 (arg1
)->SetLabelTop(arg2
,(wxString
const &)*arg3
);
31615 wxPyEndAllowThreads(__tstate
);
31616 if (PyErr_Occurred()) SWIG_fail
;
31618 Py_INCREF(Py_None
); resultobj
= Py_None
;
31633 static PyObject
*_wrap_MenuBar_GetLabelTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31634 PyObject
*resultobj
;
31635 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31638 PyObject
* obj0
= 0 ;
31639 PyObject
* obj1
= 0 ;
31640 char *kwnames
[] = {
31641 (char *) "self",(char *) "pos", NULL
31644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabelTop",kwnames
,&obj0
,&obj1
)) goto fail
;
31645 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31646 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31647 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
31648 if (PyErr_Occurred()) SWIG_fail
;
31650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31651 result
= ((wxMenuBar
const *)arg1
)->GetLabelTop(arg2
);
31653 wxPyEndAllowThreads(__tstate
);
31654 if (PyErr_Occurred()) SWIG_fail
;
31658 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31660 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31669 static PyObject
*_wrap_MenuBar_FindMenuItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31670 PyObject
*resultobj
;
31671 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31672 wxString
*arg2
= 0 ;
31673 wxString
*arg3
= 0 ;
31675 bool temp2
= False
;
31676 bool temp3
= False
;
31677 PyObject
* obj0
= 0 ;
31678 PyObject
* obj1
= 0 ;
31679 PyObject
* obj2
= 0 ;
31680 char *kwnames
[] = {
31681 (char *) "self",(char *) "menu",(char *) "item", NULL
31684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_FindMenuItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31685 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31686 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31688 arg2
= wxString_in_helper(obj1
);
31689 if (arg2
== NULL
) SWIG_fail
;
31693 arg3
= wxString_in_helper(obj2
);
31694 if (arg3
== NULL
) SWIG_fail
;
31698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31699 result
= (int)((wxMenuBar
const *)arg1
)->FindMenuItem((wxString
const &)*arg2
,(wxString
const &)*arg3
);
31701 wxPyEndAllowThreads(__tstate
);
31702 if (PyErr_Occurred()) SWIG_fail
;
31704 resultobj
= SWIG_From_int((int)result
);
31727 static PyObject
*_wrap_MenuBar_FindItemById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31728 PyObject
*resultobj
;
31729 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31731 wxMenuItem
*result
;
31732 PyObject
* obj0
= 0 ;
31733 PyObject
* obj1
= 0 ;
31734 char *kwnames
[] = {
31735 (char *) "self",(char *) "id", NULL
31738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindItemById",kwnames
,&obj0
,&obj1
)) goto fail
;
31739 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31740 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31741 arg2
= (int)SWIG_As_int(obj1
);
31742 if (PyErr_Occurred()) SWIG_fail
;
31744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31745 result
= (wxMenuItem
*)((wxMenuBar
const *)arg1
)->FindItem(arg2
);
31747 wxPyEndAllowThreads(__tstate
);
31748 if (PyErr_Occurred()) SWIG_fail
;
31751 resultobj
= wxPyMake_wxObject(result
, 0);
31759 static PyObject
*_wrap_MenuBar_FindMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31760 PyObject
*resultobj
;
31761 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31762 wxString
*arg2
= 0 ;
31764 bool temp2
= False
;
31765 PyObject
* obj0
= 0 ;
31766 PyObject
* obj1
= 0 ;
31767 char *kwnames
[] = {
31768 (char *) "self",(char *) "title", NULL
31771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
31772 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31775 arg2
= wxString_in_helper(obj1
);
31776 if (arg2
== NULL
) SWIG_fail
;
31780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31781 result
= (int)((wxMenuBar
const *)arg1
)->FindMenu((wxString
const &)*arg2
);
31783 wxPyEndAllowThreads(__tstate
);
31784 if (PyErr_Occurred()) SWIG_fail
;
31786 resultobj
= SWIG_From_int((int)result
);
31801 static PyObject
*_wrap_MenuBar_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31802 PyObject
*resultobj
;
31803 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31806 PyObject
* obj0
= 0 ;
31807 PyObject
* obj1
= 0 ;
31808 PyObject
* obj2
= 0 ;
31809 char *kwnames
[] = {
31810 (char *) "self",(char *) "id",(char *) "enable", NULL
31813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31816 arg2
= (int)SWIG_As_int(obj1
);
31817 if (PyErr_Occurred()) SWIG_fail
;
31818 arg3
= (bool)SWIG_As_bool(obj2
);
31819 if (PyErr_Occurred()) SWIG_fail
;
31821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31822 (arg1
)->Enable(arg2
,arg3
);
31824 wxPyEndAllowThreads(__tstate
);
31825 if (PyErr_Occurred()) SWIG_fail
;
31827 Py_INCREF(Py_None
); resultobj
= Py_None
;
31834 static PyObject
*_wrap_MenuBar_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31835 PyObject
*resultobj
;
31836 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31839 PyObject
* obj0
= 0 ;
31840 PyObject
* obj1
= 0 ;
31841 PyObject
* obj2
= 0 ;
31842 char *kwnames
[] = {
31843 (char *) "self",(char *) "id",(char *) "check", NULL
31846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31847 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31848 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31849 arg2
= (int)SWIG_As_int(obj1
);
31850 if (PyErr_Occurred()) SWIG_fail
;
31851 arg3
= (bool)SWIG_As_bool(obj2
);
31852 if (PyErr_Occurred()) SWIG_fail
;
31854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31855 (arg1
)->Check(arg2
,arg3
);
31857 wxPyEndAllowThreads(__tstate
);
31858 if (PyErr_Occurred()) SWIG_fail
;
31860 Py_INCREF(Py_None
); resultobj
= Py_None
;
31867 static PyObject
*_wrap_MenuBar_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31868 PyObject
*resultobj
;
31869 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31872 PyObject
* obj0
= 0 ;
31873 PyObject
* obj1
= 0 ;
31874 char *kwnames
[] = {
31875 (char *) "self",(char *) "id", NULL
31878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
31879 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31880 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31881 arg2
= (int)SWIG_As_int(obj1
);
31882 if (PyErr_Occurred()) SWIG_fail
;
31884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31885 result
= (bool)((wxMenuBar
const *)arg1
)->IsChecked(arg2
);
31887 wxPyEndAllowThreads(__tstate
);
31888 if (PyErr_Occurred()) SWIG_fail
;
31891 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31899 static PyObject
*_wrap_MenuBar_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31900 PyObject
*resultobj
;
31901 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31904 PyObject
* obj0
= 0 ;
31905 PyObject
* obj1
= 0 ;
31906 char *kwnames
[] = {
31907 (char *) "self",(char *) "id", NULL
31910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
31911 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31912 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31913 arg2
= (int)SWIG_As_int(obj1
);
31914 if (PyErr_Occurred()) SWIG_fail
;
31916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31917 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabled(arg2
);
31919 wxPyEndAllowThreads(__tstate
);
31920 if (PyErr_Occurred()) SWIG_fail
;
31923 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31931 static PyObject
*_wrap_MenuBar_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31932 PyObject
*resultobj
;
31933 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31935 wxString
*arg3
= 0 ;
31936 bool temp3
= False
;
31937 PyObject
* obj0
= 0 ;
31938 PyObject
* obj1
= 0 ;
31939 PyObject
* obj2
= 0 ;
31940 char *kwnames
[] = {
31941 (char *) "self",(char *) "id",(char *) "label", NULL
31944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31945 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31946 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31947 arg2
= (int)SWIG_As_int(obj1
);
31948 if (PyErr_Occurred()) SWIG_fail
;
31950 arg3
= wxString_in_helper(obj2
);
31951 if (arg3
== NULL
) SWIG_fail
;
31955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31956 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
31958 wxPyEndAllowThreads(__tstate
);
31959 if (PyErr_Occurred()) SWIG_fail
;
31961 Py_INCREF(Py_None
); resultobj
= Py_None
;
31976 static PyObject
*_wrap_MenuBar_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31977 PyObject
*resultobj
;
31978 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31981 PyObject
* obj0
= 0 ;
31982 PyObject
* obj1
= 0 ;
31983 char *kwnames
[] = {
31984 (char *) "self",(char *) "id", NULL
31987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
31988 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31990 arg2
= (int)SWIG_As_int(obj1
);
31991 if (PyErr_Occurred()) SWIG_fail
;
31993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31994 result
= ((wxMenuBar
const *)arg1
)->GetLabel(arg2
);
31996 wxPyEndAllowThreads(__tstate
);
31997 if (PyErr_Occurred()) SWIG_fail
;
32001 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32003 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32012 static PyObject
*_wrap_MenuBar_SetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32013 PyObject
*resultobj
;
32014 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32016 wxString
*arg3
= 0 ;
32017 bool temp3
= False
;
32018 PyObject
* obj0
= 0 ;
32019 PyObject
* obj1
= 0 ;
32020 PyObject
* obj2
= 0 ;
32021 char *kwnames
[] = {
32022 (char *) "self",(char *) "id",(char *) "helpString", NULL
32025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32026 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32027 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32028 arg2
= (int)SWIG_As_int(obj1
);
32029 if (PyErr_Occurred()) SWIG_fail
;
32031 arg3
= wxString_in_helper(obj2
);
32032 if (arg3
== NULL
) SWIG_fail
;
32036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32037 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
32039 wxPyEndAllowThreads(__tstate
);
32040 if (PyErr_Occurred()) SWIG_fail
;
32042 Py_INCREF(Py_None
); resultobj
= Py_None
;
32057 static PyObject
*_wrap_MenuBar_GetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32058 PyObject
*resultobj
;
32059 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32062 PyObject
* obj0
= 0 ;
32063 PyObject
* obj1
= 0 ;
32064 char *kwnames
[] = {
32065 (char *) "self",(char *) "id", NULL
32068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetHelpString",kwnames
,&obj0
,&obj1
)) goto fail
;
32069 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32070 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32071 arg2
= (int)SWIG_As_int(obj1
);
32072 if (PyErr_Occurred()) SWIG_fail
;
32074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32075 result
= ((wxMenuBar
const *)arg1
)->GetHelpString(arg2
);
32077 wxPyEndAllowThreads(__tstate
);
32078 if (PyErr_Occurred()) SWIG_fail
;
32082 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32084 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32093 static PyObject
*_wrap_MenuBar_GetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32094 PyObject
*resultobj
;
32095 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32097 PyObject
* obj0
= 0 ;
32098 char *kwnames
[] = {
32099 (char *) "self", NULL
32102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetFrame",kwnames
,&obj0
)) goto fail
;
32103 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32104 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32107 result
= (wxFrame
*)((wxMenuBar
const *)arg1
)->GetFrame();
32109 wxPyEndAllowThreads(__tstate
);
32110 if (PyErr_Occurred()) SWIG_fail
;
32113 resultobj
= wxPyMake_wxObject(result
, 0);
32121 static PyObject
*_wrap_MenuBar_IsAttached(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32122 PyObject
*resultobj
;
32123 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32125 PyObject
* obj0
= 0 ;
32126 char *kwnames
[] = {
32127 (char *) "self", NULL
32130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_IsAttached",kwnames
,&obj0
)) goto fail
;
32131 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32132 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32135 result
= (bool)((wxMenuBar
const *)arg1
)->IsAttached();
32137 wxPyEndAllowThreads(__tstate
);
32138 if (PyErr_Occurred()) SWIG_fail
;
32141 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32149 static PyObject
*_wrap_MenuBar_Attach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32150 PyObject
*resultobj
;
32151 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32152 wxFrame
*arg2
= (wxFrame
*) 0 ;
32153 PyObject
* obj0
= 0 ;
32154 PyObject
* obj1
= 0 ;
32155 char *kwnames
[] = {
32156 (char *) "self",(char *) "frame", NULL
32159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
32160 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32161 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32162 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
32163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32166 (arg1
)->Attach(arg2
);
32168 wxPyEndAllowThreads(__tstate
);
32169 if (PyErr_Occurred()) SWIG_fail
;
32171 Py_INCREF(Py_None
); resultobj
= Py_None
;
32178 static PyObject
*_wrap_MenuBar_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32179 PyObject
*resultobj
;
32180 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32181 PyObject
* obj0
= 0 ;
32182 char *kwnames
[] = {
32183 (char *) "self", NULL
32186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_Detach",kwnames
,&obj0
)) goto fail
;
32187 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32188 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32193 wxPyEndAllowThreads(__tstate
);
32194 if (PyErr_Occurred()) SWIG_fail
;
32196 Py_INCREF(Py_None
); resultobj
= Py_None
;
32203 static PyObject
* MenuBar_swigregister(PyObject
*, PyObject
*args
) {
32205 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32206 SWIG_TypeClientData(SWIGTYPE_p_wxMenuBar
, obj
);
32208 return Py_BuildValue((char *)"");
32210 static PyObject
*_wrap_new_MenuItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32211 PyObject
*resultobj
;
32212 wxMenu
*arg1
= (wxMenu
*) NULL
;
32213 int arg2
= (int) wxID_ANY
;
32214 wxString
const &arg3_defvalue
= wxPyEmptyString
;
32215 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
32216 wxString
const &arg4_defvalue
= wxPyEmptyString
;
32217 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
32218 int arg5
= (int) wxITEM_NORMAL
;
32219 wxMenu
*arg6
= (wxMenu
*) NULL
;
32220 wxMenuItem
*result
;
32221 bool temp3
= False
;
32222 bool temp4
= False
;
32223 PyObject
* obj0
= 0 ;
32224 PyObject
* obj1
= 0 ;
32225 PyObject
* obj2
= 0 ;
32226 PyObject
* obj3
= 0 ;
32227 PyObject
* obj4
= 0 ;
32228 PyObject
* obj5
= 0 ;
32229 char *kwnames
[] = {
32230 (char *) "parentMenu",(char *) "id",(char *) "text",(char *) "help",(char *) "kind",(char *) "subMenu", NULL
32233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOO:new_MenuItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
32235 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
32236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32239 arg2
= (int)SWIG_As_int(obj1
);
32240 if (PyErr_Occurred()) SWIG_fail
;
32244 arg3
= wxString_in_helper(obj2
);
32245 if (arg3
== NULL
) SWIG_fail
;
32251 arg4
= wxString_in_helper(obj3
);
32252 if (arg4
== NULL
) SWIG_fail
;
32257 arg5
= (int)SWIG_As_int(obj4
);
32258 if (PyErr_Occurred()) SWIG_fail
;
32261 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxMenu
,
32262 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32266 result
= (wxMenuItem
*)new wxMenuItem(arg1
,arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
,arg6
);
32268 wxPyEndAllowThreads(__tstate
);
32269 if (PyErr_Occurred()) SWIG_fail
;
32272 resultobj
= wxPyMake_wxObject(result
, 1);
32296 static PyObject
*_wrap_MenuItem_GetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32297 PyObject
*resultobj
;
32298 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32300 PyObject
* obj0
= 0 ;
32301 char *kwnames
[] = {
32302 (char *) "self", NULL
32305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetMenu",kwnames
,&obj0
)) goto fail
;
32306 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32310 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetMenu();
32312 wxPyEndAllowThreads(__tstate
);
32313 if (PyErr_Occurred()) SWIG_fail
;
32316 resultobj
= wxPyMake_wxObject(result
, 0);
32324 static PyObject
*_wrap_MenuItem_SetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32325 PyObject
*resultobj
;
32326 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32327 wxMenu
*arg2
= (wxMenu
*) 0 ;
32328 PyObject
* obj0
= 0 ;
32329 PyObject
* obj1
= 0 ;
32330 char *kwnames
[] = {
32331 (char *) "self",(char *) "menu", NULL
32334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
32335 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32337 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
32338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32341 (arg1
)->SetMenu(arg2
);
32343 wxPyEndAllowThreads(__tstate
);
32344 if (PyErr_Occurred()) SWIG_fail
;
32346 Py_INCREF(Py_None
); resultobj
= Py_None
;
32353 static PyObject
*_wrap_MenuItem_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32354 PyObject
*resultobj
;
32355 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32357 PyObject
* obj0
= 0 ;
32358 PyObject
* obj1
= 0 ;
32359 char *kwnames
[] = {
32360 (char *) "self",(char *) "id", NULL
32363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
32364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32366 arg2
= (int)SWIG_As_int(obj1
);
32367 if (PyErr_Occurred()) SWIG_fail
;
32369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32370 (arg1
)->SetId(arg2
);
32372 wxPyEndAllowThreads(__tstate
);
32373 if (PyErr_Occurred()) SWIG_fail
;
32375 Py_INCREF(Py_None
); resultobj
= Py_None
;
32382 static PyObject
*_wrap_MenuItem_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32383 PyObject
*resultobj
;
32384 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32386 PyObject
* obj0
= 0 ;
32387 char *kwnames
[] = {
32388 (char *) "self", NULL
32391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetId",kwnames
,&obj0
)) goto fail
;
32392 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32393 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32396 result
= (int)((wxMenuItem
const *)arg1
)->GetId();
32398 wxPyEndAllowThreads(__tstate
);
32399 if (PyErr_Occurred()) SWIG_fail
;
32401 resultobj
= SWIG_From_int((int)result
);
32408 static PyObject
*_wrap_MenuItem_IsSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32409 PyObject
*resultobj
;
32410 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32412 PyObject
* obj0
= 0 ;
32413 char *kwnames
[] = {
32414 (char *) "self", NULL
32417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSeparator",kwnames
,&obj0
)) goto fail
;
32418 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32419 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32422 result
= (bool)((wxMenuItem
const *)arg1
)->IsSeparator();
32424 wxPyEndAllowThreads(__tstate
);
32425 if (PyErr_Occurred()) SWIG_fail
;
32428 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32436 static PyObject
*_wrap_MenuItem_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32437 PyObject
*resultobj
;
32438 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32439 wxString
*arg2
= 0 ;
32440 bool temp2
= False
;
32441 PyObject
* obj0
= 0 ;
32442 PyObject
* obj1
= 0 ;
32443 char *kwnames
[] = {
32444 (char *) "self",(char *) "str", NULL
32447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
32448 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32451 arg2
= wxString_in_helper(obj1
);
32452 if (arg2
== NULL
) SWIG_fail
;
32456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32457 (arg1
)->SetText((wxString
const &)*arg2
);
32459 wxPyEndAllowThreads(__tstate
);
32460 if (PyErr_Occurred()) SWIG_fail
;
32462 Py_INCREF(Py_None
); resultobj
= Py_None
;
32477 static PyObject
*_wrap_MenuItem_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32478 PyObject
*resultobj
;
32479 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32481 PyObject
* obj0
= 0 ;
32482 char *kwnames
[] = {
32483 (char *) "self", NULL
32486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabel",kwnames
,&obj0
)) goto fail
;
32487 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32488 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32491 result
= ((wxMenuItem
const *)arg1
)->GetLabel();
32493 wxPyEndAllowThreads(__tstate
);
32494 if (PyErr_Occurred()) SWIG_fail
;
32498 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32500 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32509 static PyObject
*_wrap_MenuItem_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32510 PyObject
*resultobj
;
32511 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32513 PyObject
* obj0
= 0 ;
32514 char *kwnames
[] = {
32515 (char *) "self", NULL
32518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetText",kwnames
,&obj0
)) goto fail
;
32519 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32520 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32524 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetText();
32525 result
= (wxString
*) &_result_ref
;
32528 wxPyEndAllowThreads(__tstate
);
32529 if (PyErr_Occurred()) SWIG_fail
;
32533 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
32535 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
32544 static PyObject
*_wrap_MenuItem_GetLabelFromText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32545 PyObject
*resultobj
;
32546 wxString
*arg1
= 0 ;
32548 bool temp1
= False
;
32549 PyObject
* obj0
= 0 ;
32550 char *kwnames
[] = {
32551 (char *) "text", NULL
32554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabelFromText",kwnames
,&obj0
)) goto fail
;
32556 arg1
= wxString_in_helper(obj0
);
32557 if (arg1
== NULL
) SWIG_fail
;
32561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32562 result
= wxMenuItem::GetLabelFromText((wxString
const &)*arg1
);
32564 wxPyEndAllowThreads(__tstate
);
32565 if (PyErr_Occurred()) SWIG_fail
;
32569 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32571 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32588 static PyObject
*_wrap_MenuItem_GetKind(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32589 PyObject
*resultobj
;
32590 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32592 PyObject
* obj0
= 0 ;
32593 char *kwnames
[] = {
32594 (char *) "self", NULL
32597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetKind",kwnames
,&obj0
)) goto fail
;
32598 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32599 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32602 result
= (int)((wxMenuItem
const *)arg1
)->GetKind();
32604 wxPyEndAllowThreads(__tstate
);
32605 if (PyErr_Occurred()) SWIG_fail
;
32607 resultobj
= SWIG_From_int((int)result
);
32614 static PyObject
*_wrap_MenuItem_SetKind(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32615 PyObject
*resultobj
;
32616 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32618 PyObject
* obj0
= 0 ;
32619 PyObject
* obj1
= 0 ;
32620 char *kwnames
[] = {
32621 (char *) "self",(char *) "kind", NULL
32624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetKind",kwnames
,&obj0
,&obj1
)) goto fail
;
32625 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32627 arg2
= (int)SWIG_As_int(obj1
);
32628 if (PyErr_Occurred()) SWIG_fail
;
32630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32631 (arg1
)->SetKind((wxItemKind
)arg2
);
32633 wxPyEndAllowThreads(__tstate
);
32634 if (PyErr_Occurred()) SWIG_fail
;
32636 Py_INCREF(Py_None
); resultobj
= Py_None
;
32643 static PyObject
*_wrap_MenuItem_SetCheckable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32644 PyObject
*resultobj
;
32645 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32647 PyObject
* obj0
= 0 ;
32648 PyObject
* obj1
= 0 ;
32649 char *kwnames
[] = {
32650 (char *) "self",(char *) "checkable", NULL
32653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetCheckable",kwnames
,&obj0
,&obj1
)) goto fail
;
32654 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32655 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32656 arg2
= (bool)SWIG_As_bool(obj1
);
32657 if (PyErr_Occurred()) SWIG_fail
;
32659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32660 (arg1
)->SetCheckable(arg2
);
32662 wxPyEndAllowThreads(__tstate
);
32663 if (PyErr_Occurred()) SWIG_fail
;
32665 Py_INCREF(Py_None
); resultobj
= Py_None
;
32672 static PyObject
*_wrap_MenuItem_IsCheckable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32673 PyObject
*resultobj
;
32674 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32676 PyObject
* obj0
= 0 ;
32677 char *kwnames
[] = {
32678 (char *) "self", NULL
32681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsCheckable",kwnames
,&obj0
)) goto fail
;
32682 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32686 result
= (bool)((wxMenuItem
const *)arg1
)->IsCheckable();
32688 wxPyEndAllowThreads(__tstate
);
32689 if (PyErr_Occurred()) SWIG_fail
;
32692 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32700 static PyObject
*_wrap_MenuItem_IsSubMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32701 PyObject
*resultobj
;
32702 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32704 PyObject
* obj0
= 0 ;
32705 char *kwnames
[] = {
32706 (char *) "self", NULL
32709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSubMenu",kwnames
,&obj0
)) goto fail
;
32710 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32714 result
= (bool)((wxMenuItem
const *)arg1
)->IsSubMenu();
32716 wxPyEndAllowThreads(__tstate
);
32717 if (PyErr_Occurred()) SWIG_fail
;
32720 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32728 static PyObject
*_wrap_MenuItem_SetSubMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32729 PyObject
*resultobj
;
32730 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32731 wxMenu
*arg2
= (wxMenu
*) 0 ;
32732 PyObject
* obj0
= 0 ;
32733 PyObject
* obj1
= 0 ;
32734 char *kwnames
[] = {
32735 (char *) "self",(char *) "menu", NULL
32738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetSubMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
32739 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32740 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32741 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
32742 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32745 (arg1
)->SetSubMenu(arg2
);
32747 wxPyEndAllowThreads(__tstate
);
32748 if (PyErr_Occurred()) SWIG_fail
;
32750 Py_INCREF(Py_None
); resultobj
= Py_None
;
32757 static PyObject
*_wrap_MenuItem_GetSubMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32758 PyObject
*resultobj
;
32759 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32761 PyObject
* obj0
= 0 ;
32762 char *kwnames
[] = {
32763 (char *) "self", NULL
32766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetSubMenu",kwnames
,&obj0
)) goto fail
;
32767 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32768 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32771 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetSubMenu();
32773 wxPyEndAllowThreads(__tstate
);
32774 if (PyErr_Occurred()) SWIG_fail
;
32777 resultobj
= wxPyMake_wxObject(result
, 0);
32785 static PyObject
*_wrap_MenuItem_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32786 PyObject
*resultobj
;
32787 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32788 bool arg2
= (bool) True
;
32789 PyObject
* obj0
= 0 ;
32790 PyObject
* obj1
= 0 ;
32791 char *kwnames
[] = {
32792 (char *) "self",(char *) "enable", NULL
32795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
32796 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32797 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32799 arg2
= (bool)SWIG_As_bool(obj1
);
32800 if (PyErr_Occurred()) SWIG_fail
;
32803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32804 (arg1
)->Enable(arg2
);
32806 wxPyEndAllowThreads(__tstate
);
32807 if (PyErr_Occurred()) SWIG_fail
;
32809 Py_INCREF(Py_None
); resultobj
= Py_None
;
32816 static PyObject
*_wrap_MenuItem_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32817 PyObject
*resultobj
;
32818 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32820 PyObject
* obj0
= 0 ;
32821 char *kwnames
[] = {
32822 (char *) "self", NULL
32825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsEnabled",kwnames
,&obj0
)) goto fail
;
32826 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32827 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32830 result
= (bool)((wxMenuItem
const *)arg1
)->IsEnabled();
32832 wxPyEndAllowThreads(__tstate
);
32833 if (PyErr_Occurred()) SWIG_fail
;
32836 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32844 static PyObject
*_wrap_MenuItem_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32845 PyObject
*resultobj
;
32846 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32847 bool arg2
= (bool) True
;
32848 PyObject
* obj0
= 0 ;
32849 PyObject
* obj1
= 0 ;
32850 char *kwnames
[] = {
32851 (char *) "self",(char *) "check", NULL
32854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
32855 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32856 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32858 arg2
= (bool)SWIG_As_bool(obj1
);
32859 if (PyErr_Occurred()) SWIG_fail
;
32862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32863 (arg1
)->Check(arg2
);
32865 wxPyEndAllowThreads(__tstate
);
32866 if (PyErr_Occurred()) SWIG_fail
;
32868 Py_INCREF(Py_None
); resultobj
= Py_None
;
32875 static PyObject
*_wrap_MenuItem_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32876 PyObject
*resultobj
;
32877 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32879 PyObject
* obj0
= 0 ;
32880 char *kwnames
[] = {
32881 (char *) "self", NULL
32884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsChecked",kwnames
,&obj0
)) goto fail
;
32885 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32889 result
= (bool)((wxMenuItem
const *)arg1
)->IsChecked();
32891 wxPyEndAllowThreads(__tstate
);
32892 if (PyErr_Occurred()) SWIG_fail
;
32895 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32903 static PyObject
*_wrap_MenuItem_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32904 PyObject
*resultobj
;
32905 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32906 PyObject
* obj0
= 0 ;
32907 char *kwnames
[] = {
32908 (char *) "self", NULL
32911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_Toggle",kwnames
,&obj0
)) goto fail
;
32912 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32918 wxPyEndAllowThreads(__tstate
);
32919 if (PyErr_Occurred()) SWIG_fail
;
32921 Py_INCREF(Py_None
); resultobj
= Py_None
;
32928 static PyObject
*_wrap_MenuItem_SetHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32929 PyObject
*resultobj
;
32930 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32931 wxString
*arg2
= 0 ;
32932 bool temp2
= False
;
32933 PyObject
* obj0
= 0 ;
32934 PyObject
* obj1
= 0 ;
32935 char *kwnames
[] = {
32936 (char *) "self",(char *) "str", NULL
32939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
32940 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32941 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32943 arg2
= wxString_in_helper(obj1
);
32944 if (arg2
== NULL
) SWIG_fail
;
32948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32949 (arg1
)->SetHelp((wxString
const &)*arg2
);
32951 wxPyEndAllowThreads(__tstate
);
32952 if (PyErr_Occurred()) SWIG_fail
;
32954 Py_INCREF(Py_None
); resultobj
= Py_None
;
32969 static PyObject
*_wrap_MenuItem_GetHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32970 PyObject
*resultobj
;
32971 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32973 PyObject
* obj0
= 0 ;
32974 char *kwnames
[] = {
32975 (char *) "self", NULL
32978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetHelp",kwnames
,&obj0
)) goto fail
;
32979 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32980 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32984 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetHelp();
32985 result
= (wxString
*) &_result_ref
;
32988 wxPyEndAllowThreads(__tstate
);
32989 if (PyErr_Occurred()) SWIG_fail
;
32993 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
32995 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
33004 static PyObject
*_wrap_MenuItem_GetAccel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33005 PyObject
*resultobj
;
33006 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33007 wxAcceleratorEntry
*result
;
33008 PyObject
* obj0
= 0 ;
33009 char *kwnames
[] = {
33010 (char *) "self", NULL
33013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetAccel",kwnames
,&obj0
)) goto fail
;
33014 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33018 result
= (wxAcceleratorEntry
*)((wxMenuItem
const *)arg1
)->GetAccel();
33020 wxPyEndAllowThreads(__tstate
);
33021 if (PyErr_Occurred()) SWIG_fail
;
33023 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0);
33030 static PyObject
*_wrap_MenuItem_SetAccel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33031 PyObject
*resultobj
;
33032 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33033 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
33034 PyObject
* obj0
= 0 ;
33035 PyObject
* obj1
= 0 ;
33036 char *kwnames
[] = {
33037 (char *) "self",(char *) "accel", NULL
33040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetAccel",kwnames
,&obj0
,&obj1
)) goto fail
;
33041 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33042 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33043 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxAcceleratorEntry
,
33044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33047 (arg1
)->SetAccel(arg2
);
33049 wxPyEndAllowThreads(__tstate
);
33050 if (PyErr_Occurred()) SWIG_fail
;
33052 Py_INCREF(Py_None
); resultobj
= Py_None
;
33059 static PyObject
*_wrap_MenuItem_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33060 PyObject
*resultobj
;
33061 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33063 PyObject
* obj0
= 0 ;
33064 PyObject
* obj1
= 0 ;
33065 char *kwnames
[] = {
33066 (char *) "self",(char *) "font", NULL
33069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
33070 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33071 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33072 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
33073 SWIG_POINTER_EXCEPTION
| 0)) == -1)
33075 if (arg2
== NULL
) {
33076 PyErr_SetString(PyExc_TypeError
,"null reference");
33080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33081 (arg1
)->SetFont((wxFont
const &)*arg2
);
33083 wxPyEndAllowThreads(__tstate
);
33084 if (PyErr_Occurred()) SWIG_fail
;
33086 Py_INCREF(Py_None
); resultobj
= Py_None
;
33093 static PyObject
*_wrap_MenuItem_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33094 PyObject
*resultobj
;
33095 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33097 PyObject
* obj0
= 0 ;
33098 char *kwnames
[] = {
33099 (char *) "self", NULL
33102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetFont",kwnames
,&obj0
)) goto fail
;
33103 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33104 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33107 result
= (arg1
)->GetFont();
33109 wxPyEndAllowThreads(__tstate
);
33110 if (PyErr_Occurred()) SWIG_fail
;
33113 wxFont
* resultptr
;
33114 resultptr
= new wxFont((wxFont
&) result
);
33115 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
33123 static PyObject
*_wrap_MenuItem_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33124 PyObject
*resultobj
;
33125 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33126 wxColour
*arg2
= 0 ;
33128 PyObject
* obj0
= 0 ;
33129 PyObject
* obj1
= 0 ;
33130 char *kwnames
[] = {
33131 (char *) "self",(char *) "colText", NULL
33134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
33135 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33136 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33139 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33143 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
33145 wxPyEndAllowThreads(__tstate
);
33146 if (PyErr_Occurred()) SWIG_fail
;
33148 Py_INCREF(Py_None
); resultobj
= Py_None
;
33155 static PyObject
*_wrap_MenuItem_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33156 PyObject
*resultobj
;
33157 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33159 PyObject
* obj0
= 0 ;
33160 char *kwnames
[] = {
33161 (char *) "self", NULL
33164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetTextColour",kwnames
,&obj0
)) goto fail
;
33165 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33166 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33169 result
= (arg1
)->GetTextColour();
33171 wxPyEndAllowThreads(__tstate
);
33172 if (PyErr_Occurred()) SWIG_fail
;
33175 wxColour
* resultptr
;
33176 resultptr
= new wxColour((wxColour
&) result
);
33177 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
33185 static PyObject
*_wrap_MenuItem_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33186 PyObject
*resultobj
;
33187 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33188 wxColour
*arg2
= 0 ;
33190 PyObject
* obj0
= 0 ;
33191 PyObject
* obj1
= 0 ;
33192 char *kwnames
[] = {
33193 (char *) "self",(char *) "colBack", NULL
33196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
33197 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33198 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33201 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33205 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
33207 wxPyEndAllowThreads(__tstate
);
33208 if (PyErr_Occurred()) SWIG_fail
;
33210 Py_INCREF(Py_None
); resultobj
= Py_None
;
33217 static PyObject
*_wrap_MenuItem_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33218 PyObject
*resultobj
;
33219 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33221 PyObject
* obj0
= 0 ;
33222 char *kwnames
[] = {
33223 (char *) "self", NULL
33226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
33227 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33231 result
= (arg1
)->GetBackgroundColour();
33233 wxPyEndAllowThreads(__tstate
);
33234 if (PyErr_Occurred()) SWIG_fail
;
33237 wxColour
* resultptr
;
33238 resultptr
= new wxColour((wxColour
&) result
);
33239 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
33247 static PyObject
*_wrap_MenuItem_SetBitmaps(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33248 PyObject
*resultobj
;
33249 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33250 wxBitmap
*arg2
= 0 ;
33251 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
33252 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
33253 PyObject
* obj0
= 0 ;
33254 PyObject
* obj1
= 0 ;
33255 PyObject
* obj2
= 0 ;
33256 char *kwnames
[] = {
33257 (char *) "self",(char *) "bmpChecked",(char *) "bmpUnchecked", NULL
33260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MenuItem_SetBitmaps",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33261 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33262 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33263 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
33264 SWIG_POINTER_EXCEPTION
| 0)) == -1)
33266 if (arg2
== NULL
) {
33267 PyErr_SetString(PyExc_TypeError
,"null reference");
33271 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
33272 SWIG_POINTER_EXCEPTION
| 0)) == -1)
33274 if (arg3
== NULL
) {
33275 PyErr_SetString(PyExc_TypeError
,"null reference");
33280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33281 (arg1
)->SetBitmaps((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
33283 wxPyEndAllowThreads(__tstate
);
33284 if (PyErr_Occurred()) SWIG_fail
;
33286 Py_INCREF(Py_None
); resultobj
= Py_None
;
33293 static PyObject
*_wrap_MenuItem_SetDisabledBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33294 PyObject
*resultobj
;
33295 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33296 wxBitmap
*arg2
= 0 ;
33297 PyObject
* obj0
= 0 ;
33298 PyObject
* obj1
= 0 ;
33299 char *kwnames
[] = {
33300 (char *) "self",(char *) "bmpDisabled", NULL
33303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
33304 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33306 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
33307 SWIG_POINTER_EXCEPTION
| 0)) == -1)
33309 if (arg2
== NULL
) {
33310 PyErr_SetString(PyExc_TypeError
,"null reference");
33314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33315 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
33317 wxPyEndAllowThreads(__tstate
);
33318 if (PyErr_Occurred()) SWIG_fail
;
33320 Py_INCREF(Py_None
); resultobj
= Py_None
;
33327 static PyObject
*_wrap_MenuItem_GetDisabledBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33328 PyObject
*resultobj
;
33329 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33331 PyObject
* obj0
= 0 ;
33332 char *kwnames
[] = {
33333 (char *) "self", NULL
33336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetDisabledBitmap",kwnames
,&obj0
)) goto fail
;
33337 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33342 wxBitmap
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetDisabledBitmap();
33343 result
= (wxBitmap
*) &_result_ref
;
33346 wxPyEndAllowThreads(__tstate
);
33347 if (PyErr_Occurred()) SWIG_fail
;
33350 wxBitmap
* resultptr
= new wxBitmap(*result
);
33351 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
33359 static PyObject
*_wrap_MenuItem_SetMarginWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33360 PyObject
*resultobj
;
33361 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33363 PyObject
* obj0
= 0 ;
33364 PyObject
* obj1
= 0 ;
33365 char *kwnames
[] = {
33366 (char *) "self",(char *) "nWidth", NULL
33369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetMarginWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
33370 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33372 arg2
= (int)SWIG_As_int(obj1
);
33373 if (PyErr_Occurred()) SWIG_fail
;
33375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33376 (arg1
)->SetMarginWidth(arg2
);
33378 wxPyEndAllowThreads(__tstate
);
33379 if (PyErr_Occurred()) SWIG_fail
;
33381 Py_INCREF(Py_None
); resultobj
= Py_None
;
33388 static PyObject
*_wrap_MenuItem_GetMarginWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33389 PyObject
*resultobj
;
33390 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33392 PyObject
* obj0
= 0 ;
33393 char *kwnames
[] = {
33394 (char *) "self", NULL
33397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetMarginWidth",kwnames
,&obj0
)) goto fail
;
33398 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33399 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33402 result
= (int)(arg1
)->GetMarginWidth();
33404 wxPyEndAllowThreads(__tstate
);
33405 if (PyErr_Occurred()) SWIG_fail
;
33407 resultobj
= SWIG_From_int((int)result
);
33414 static PyObject
*_wrap_MenuItem_GetDefaultMarginWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33415 PyObject
*resultobj
;
33417 char *kwnames
[] = {
33421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MenuItem_GetDefaultMarginWidth",kwnames
)) goto fail
;
33423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33424 result
= (int)wxMenuItem::GetDefaultMarginWidth();
33426 wxPyEndAllowThreads(__tstate
);
33427 if (PyErr_Occurred()) SWIG_fail
;
33429 resultobj
= SWIG_From_int((int)result
);
33436 static PyObject
*_wrap_MenuItem_IsOwnerDrawn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33437 PyObject
*resultobj
;
33438 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33440 PyObject
* obj0
= 0 ;
33441 char *kwnames
[] = {
33442 (char *) "self", NULL
33445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsOwnerDrawn",kwnames
,&obj0
)) goto fail
;
33446 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33447 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33450 result
= (bool)(arg1
)->IsOwnerDrawn();
33452 wxPyEndAllowThreads(__tstate
);
33453 if (PyErr_Occurred()) SWIG_fail
;
33456 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33464 static PyObject
*_wrap_MenuItem_SetOwnerDrawn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33465 PyObject
*resultobj
;
33466 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33467 bool arg2
= (bool) True
;
33468 PyObject
* obj0
= 0 ;
33469 PyObject
* obj1
= 0 ;
33470 char *kwnames
[] = {
33471 (char *) "self",(char *) "ownerDrawn", NULL
33474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_SetOwnerDrawn",kwnames
,&obj0
,&obj1
)) goto fail
;
33475 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33476 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33478 arg2
= (bool)SWIG_As_bool(obj1
);
33479 if (PyErr_Occurred()) SWIG_fail
;
33482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33483 (arg1
)->SetOwnerDrawn(arg2
);
33485 wxPyEndAllowThreads(__tstate
);
33486 if (PyErr_Occurred()) SWIG_fail
;
33488 Py_INCREF(Py_None
); resultobj
= Py_None
;
33495 static PyObject
*_wrap_MenuItem_ResetOwnerDrawn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33496 PyObject
*resultobj
;
33497 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33498 PyObject
* obj0
= 0 ;
33499 char *kwnames
[] = {
33500 (char *) "self", NULL
33503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_ResetOwnerDrawn",kwnames
,&obj0
)) goto fail
;
33504 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33505 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33508 (arg1
)->ResetOwnerDrawn();
33510 wxPyEndAllowThreads(__tstate
);
33511 if (PyErr_Occurred()) SWIG_fail
;
33513 Py_INCREF(Py_None
); resultobj
= Py_None
;
33520 static PyObject
*_wrap_MenuItem_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33521 PyObject
*resultobj
;
33522 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33523 wxBitmap
*arg2
= 0 ;
33524 PyObject
* obj0
= 0 ;
33525 PyObject
* obj1
= 0 ;
33526 char *kwnames
[] = {
33527 (char *) "self",(char *) "bitmap", NULL
33530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
33531 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33532 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33533 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
33534 SWIG_POINTER_EXCEPTION
| 0)) == -1)
33536 if (arg2
== NULL
) {
33537 PyErr_SetString(PyExc_TypeError
,"null reference");
33541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33542 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
33544 wxPyEndAllowThreads(__tstate
);
33545 if (PyErr_Occurred()) SWIG_fail
;
33547 Py_INCREF(Py_None
); resultobj
= Py_None
;
33554 static PyObject
*_wrap_MenuItem_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33555 PyObject
*resultobj
;
33556 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33558 PyObject
* obj0
= 0 ;
33559 char *kwnames
[] = {
33560 (char *) "self", NULL
33563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetBitmap",kwnames
,&obj0
)) goto fail
;
33564 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33569 wxBitmap
const &_result_ref
= (arg1
)->GetBitmap();
33570 result
= (wxBitmap
*) &_result_ref
;
33573 wxPyEndAllowThreads(__tstate
);
33574 if (PyErr_Occurred()) SWIG_fail
;
33577 wxBitmap
* resultptr
= new wxBitmap(*result
);
33578 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
33586 static PyObject
* MenuItem_swigregister(PyObject
*, PyObject
*args
) {
33588 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33589 SWIG_TypeClientData(SWIGTYPE_p_wxMenuItem
, obj
);
33591 return Py_BuildValue((char *)"");
33593 static int _wrap_ControlNameStr_set(PyObject
*) {
33594 PyErr_SetString(PyExc_TypeError
,"Variable ControlNameStr is read-only.");
33599 static PyObject
*_wrap_ControlNameStr_get() {
33604 pyobj
= PyUnicode_FromWideChar((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
33606 pyobj
= PyString_FromStringAndSize((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
33613 static PyObject
*_wrap_new_Control(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33614 PyObject
*resultobj
;
33615 wxWindow
*arg1
= (wxWindow
*) 0 ;
33616 int arg2
= (int) -1 ;
33617 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
33618 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
33619 wxSize
const &arg4_defvalue
= wxDefaultSize
;
33620 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
33621 long arg5
= (long) 0 ;
33622 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
33623 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
33624 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
33625 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
33629 bool temp7
= False
;
33630 PyObject
* obj0
= 0 ;
33631 PyObject
* obj1
= 0 ;
33632 PyObject
* obj2
= 0 ;
33633 PyObject
* obj3
= 0 ;
33634 PyObject
* obj4
= 0 ;
33635 PyObject
* obj5
= 0 ;
33636 PyObject
* obj6
= 0 ;
33637 char *kwnames
[] = {
33638 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
33641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Control",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
33642 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
33643 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33645 arg2
= (int)SWIG_As_int(obj1
);
33646 if (PyErr_Occurred()) SWIG_fail
;
33651 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
33657 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
33661 arg5
= (long)SWIG_As_long(obj4
);
33662 if (PyErr_Occurred()) SWIG_fail
;
33665 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
33666 SWIG_POINTER_EXCEPTION
| 0)) == -1)
33668 if (arg6
== NULL
) {
33669 PyErr_SetString(PyExc_TypeError
,"null reference");
33675 arg7
= wxString_in_helper(obj6
);
33676 if (arg7
== NULL
) SWIG_fail
;
33681 if (!wxPyCheckForApp()) SWIG_fail
;
33682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33683 result
= (wxControl
*)new wxControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
33685 wxPyEndAllowThreads(__tstate
);
33686 if (PyErr_Occurred()) SWIG_fail
;
33688 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxControl
, 1);
33703 static PyObject
*_wrap_new_PreControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33704 PyObject
*resultobj
;
33706 char *kwnames
[] = {
33710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreControl",kwnames
)) goto fail
;
33712 if (!wxPyCheckForApp()) SWIG_fail
;
33713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33714 result
= (wxControl
*)new wxControl();
33716 wxPyEndAllowThreads(__tstate
);
33717 if (PyErr_Occurred()) SWIG_fail
;
33719 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxControl
, 1);
33726 static PyObject
*_wrap_Control_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33727 PyObject
*resultobj
;
33728 wxControl
*arg1
= (wxControl
*) 0 ;
33729 wxWindow
*arg2
= (wxWindow
*) 0 ;
33730 int arg3
= (int) -1 ;
33731 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
33732 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
33733 wxSize
const &arg5_defvalue
= wxDefaultSize
;
33734 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
33735 long arg6
= (long) 0 ;
33736 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
33737 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
33738 wxString
const &arg8_defvalue
= wxPyControlNameStr
;
33739 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
33743 bool temp8
= False
;
33744 PyObject
* obj0
= 0 ;
33745 PyObject
* obj1
= 0 ;
33746 PyObject
* obj2
= 0 ;
33747 PyObject
* obj3
= 0 ;
33748 PyObject
* obj4
= 0 ;
33749 PyObject
* obj5
= 0 ;
33750 PyObject
* obj6
= 0 ;
33751 PyObject
* obj7
= 0 ;
33752 char *kwnames
[] = {
33753 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
33756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Control_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
33757 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
33758 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33759 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
33760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33762 arg3
= (int)SWIG_As_int(obj2
);
33763 if (PyErr_Occurred()) SWIG_fail
;
33768 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
33774 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
33778 arg6
= (long)SWIG_As_long(obj5
);
33779 if (PyErr_Occurred()) SWIG_fail
;
33782 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
33783 SWIG_POINTER_EXCEPTION
| 0)) == -1)
33785 if (arg7
== NULL
) {
33786 PyErr_SetString(PyExc_TypeError
,"null reference");
33792 arg8
= wxString_in_helper(obj7
);
33793 if (arg8
== NULL
) SWIG_fail
;
33798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33799 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
33801 wxPyEndAllowThreads(__tstate
);
33802 if (PyErr_Occurred()) SWIG_fail
;
33805 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33821 static PyObject
*_wrap_Control_Command(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33822 PyObject
*resultobj
;
33823 wxControl
*arg1
= (wxControl
*) 0 ;
33824 wxCommandEvent
*arg2
= 0 ;
33825 PyObject
* obj0
= 0 ;
33826 PyObject
* obj1
= 0 ;
33827 char *kwnames
[] = {
33828 (char *) "self",(char *) "event", NULL
33831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_Command",kwnames
,&obj0
,&obj1
)) goto fail
;
33832 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
33833 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33834 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCommandEvent
,
33835 SWIG_POINTER_EXCEPTION
| 0)) == -1)
33837 if (arg2
== NULL
) {
33838 PyErr_SetString(PyExc_TypeError
,"null reference");
33842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33843 (arg1
)->Command(*arg2
);
33845 wxPyEndAllowThreads(__tstate
);
33846 if (PyErr_Occurred()) SWIG_fail
;
33848 Py_INCREF(Py_None
); resultobj
= Py_None
;
33855 static PyObject
*_wrap_Control_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33856 PyObject
*resultobj
;
33857 wxControl
*arg1
= (wxControl
*) 0 ;
33859 PyObject
* obj0
= 0 ;
33860 char *kwnames
[] = {
33861 (char *) "self", NULL
33864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Control_GetLabel",kwnames
,&obj0
)) goto fail
;
33865 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
33866 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33869 result
= (arg1
)->GetLabel();
33871 wxPyEndAllowThreads(__tstate
);
33872 if (PyErr_Occurred()) SWIG_fail
;
33876 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33878 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33887 static PyObject
*_wrap_Control_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33888 PyObject
*resultobj
;
33889 wxControl
*arg1
= (wxControl
*) 0 ;
33890 wxString
*arg2
= 0 ;
33891 bool temp2
= False
;
33892 PyObject
* obj0
= 0 ;
33893 PyObject
* obj1
= 0 ;
33894 char *kwnames
[] = {
33895 (char *) "self",(char *) "label", NULL
33898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
33899 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
33900 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33902 arg2
= wxString_in_helper(obj1
);
33903 if (arg2
== NULL
) SWIG_fail
;
33907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33908 (arg1
)->SetLabel((wxString
const &)*arg2
);
33910 wxPyEndAllowThreads(__tstate
);
33911 if (PyErr_Occurred()) SWIG_fail
;
33913 Py_INCREF(Py_None
); resultobj
= Py_None
;
33928 static PyObject
*_wrap_Control_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33929 PyObject
*resultobj
;
33930 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
33931 wxVisualAttributes result
;
33932 PyObject
* obj0
= 0 ;
33933 char *kwnames
[] = {
33934 (char *) "variant", NULL
33937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Control_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
33939 arg1
= (int)SWIG_As_int(obj0
);
33940 if (PyErr_Occurred()) SWIG_fail
;
33943 if (!wxPyCheckForApp()) SWIG_fail
;
33944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33945 result
= wxControl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
33947 wxPyEndAllowThreads(__tstate
);
33948 if (PyErr_Occurred()) SWIG_fail
;
33951 wxVisualAttributes
* resultptr
;
33952 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
33953 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
33961 static PyObject
* Control_swigregister(PyObject
*, PyObject
*args
) {
33963 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33964 SWIG_TypeClientData(SWIGTYPE_p_wxControl
, obj
);
33966 return Py_BuildValue((char *)"");
33968 static PyObject
*_wrap_ItemContainer_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33969 PyObject
*resultobj
;
33970 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33971 wxString
*arg2
= 0 ;
33972 PyObject
*arg3
= (PyObject
*) NULL
;
33974 bool temp2
= False
;
33975 PyObject
* obj0
= 0 ;
33976 PyObject
* obj1
= 0 ;
33977 PyObject
* obj2
= 0 ;
33978 char *kwnames
[] = {
33979 (char *) "self",(char *) "item",(char *) "clientData", NULL
33982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ItemContainer_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33983 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33984 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33986 arg2
= wxString_in_helper(obj1
);
33987 if (arg2
== NULL
) SWIG_fail
;
33994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33995 result
= (int)wxItemContainer_Append(arg1
,(wxString
const &)*arg2
,arg3
);
33997 wxPyEndAllowThreads(__tstate
);
33998 if (PyErr_Occurred()) SWIG_fail
;
34000 resultobj
= SWIG_From_int((int)result
);
34015 static PyObject
*_wrap_ItemContainer_AppendItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34016 PyObject
*resultobj
;
34017 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34018 wxArrayString
*arg2
= 0 ;
34019 bool temp2
= False
;
34020 PyObject
* obj0
= 0 ;
34021 PyObject
* obj1
= 0 ;
34022 char *kwnames
[] = {
34023 (char *) "self",(char *) "strings", NULL
34026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_AppendItems",kwnames
,&obj0
,&obj1
)) goto fail
;
34027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34030 if (! PySequence_Check(obj1
)) {
34031 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
34034 arg2
= new wxArrayString
;
34036 int i
, len
=PySequence_Length(obj1
);
34037 for (i
=0; i
<len
; i
++) {
34038 PyObject
* item
= PySequence_GetItem(obj1
, i
);
34040 PyObject
* str
= PyObject_Unicode(item
);
34042 PyObject
* str
= PyObject_Str(item
);
34044 if (PyErr_Occurred()) SWIG_fail
;
34045 arg2
->Add(Py2wxString(str
));
34051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34052 (arg1
)->Append((wxArrayString
const &)*arg2
);
34054 wxPyEndAllowThreads(__tstate
);
34055 if (PyErr_Occurred()) SWIG_fail
;
34057 Py_INCREF(Py_None
); resultobj
= Py_None
;
34059 if (temp2
) delete arg2
;
34064 if (temp2
) delete arg2
;
34070 static PyObject
*_wrap_ItemContainer_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34071 PyObject
*resultobj
;
34072 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34073 wxString
*arg2
= 0 ;
34075 PyObject
*arg4
= (PyObject
*) NULL
;
34077 bool temp2
= False
;
34078 PyObject
* obj0
= 0 ;
34079 PyObject
* obj1
= 0 ;
34080 PyObject
* obj2
= 0 ;
34081 PyObject
* obj3
= 0 ;
34082 char *kwnames
[] = {
34083 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
34086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ItemContainer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
34087 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34090 arg2
= wxString_in_helper(obj1
);
34091 if (arg2
== NULL
) SWIG_fail
;
34094 arg3
= (int)SWIG_As_int(obj2
);
34095 if (PyErr_Occurred()) SWIG_fail
;
34100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34101 result
= (int)wxItemContainer_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
34103 wxPyEndAllowThreads(__tstate
);
34104 if (PyErr_Occurred()) SWIG_fail
;
34106 resultobj
= SWIG_From_int((int)result
);
34121 static PyObject
*_wrap_ItemContainer_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34122 PyObject
*resultobj
;
34123 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34124 PyObject
* obj0
= 0 ;
34125 char *kwnames
[] = {
34126 (char *) "self", NULL
34129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_Clear",kwnames
,&obj0
)) goto fail
;
34130 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34131 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34136 wxPyEndAllowThreads(__tstate
);
34137 if (PyErr_Occurred()) SWIG_fail
;
34139 Py_INCREF(Py_None
); resultobj
= Py_None
;
34146 static PyObject
*_wrap_ItemContainer_Delete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34147 PyObject
*resultobj
;
34148 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34150 PyObject
* obj0
= 0 ;
34151 PyObject
* obj1
= 0 ;
34152 char *kwnames
[] = {
34153 (char *) "self",(char *) "n", NULL
34156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
34157 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34158 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34159 arg2
= (int)SWIG_As_int(obj1
);
34160 if (PyErr_Occurred()) SWIG_fail
;
34162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34163 (arg1
)->Delete(arg2
);
34165 wxPyEndAllowThreads(__tstate
);
34166 if (PyErr_Occurred()) SWIG_fail
;
34168 Py_INCREF(Py_None
); resultobj
= Py_None
;
34175 static PyObject
*_wrap_ItemContainer_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34176 PyObject
*resultobj
;
34177 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34179 PyObject
* obj0
= 0 ;
34180 char *kwnames
[] = {
34181 (char *) "self", NULL
34184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetCount",kwnames
,&obj0
)) goto fail
;
34185 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34186 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34189 result
= (int)((wxItemContainer
const *)arg1
)->GetCount();
34191 wxPyEndAllowThreads(__tstate
);
34192 if (PyErr_Occurred()) SWIG_fail
;
34194 resultobj
= SWIG_From_int((int)result
);
34201 static PyObject
*_wrap_ItemContainer_IsEmpty(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34202 PyObject
*resultobj
;
34203 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34205 PyObject
* obj0
= 0 ;
34206 char *kwnames
[] = {
34207 (char *) "self", NULL
34210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_IsEmpty",kwnames
,&obj0
)) goto fail
;
34211 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34215 result
= (bool)((wxItemContainer
const *)arg1
)->IsEmpty();
34217 wxPyEndAllowThreads(__tstate
);
34218 if (PyErr_Occurred()) SWIG_fail
;
34221 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34229 static PyObject
*_wrap_ItemContainer_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34230 PyObject
*resultobj
;
34231 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34234 PyObject
* obj0
= 0 ;
34235 PyObject
* obj1
= 0 ;
34236 char *kwnames
[] = {
34237 (char *) "self",(char *) "n", NULL
34240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetString",kwnames
,&obj0
,&obj1
)) goto fail
;
34241 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34242 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34243 arg2
= (int)SWIG_As_int(obj1
);
34244 if (PyErr_Occurred()) SWIG_fail
;
34246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34247 result
= ((wxItemContainer
const *)arg1
)->GetString(arg2
);
34249 wxPyEndAllowThreads(__tstate
);
34250 if (PyErr_Occurred()) SWIG_fail
;
34254 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
34256 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34265 static PyObject
*_wrap_ItemContainer_GetStrings(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34266 PyObject
*resultobj
;
34267 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34268 wxArrayString result
;
34269 PyObject
* obj0
= 0 ;
34270 char *kwnames
[] = {
34271 (char *) "self", NULL
34274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStrings",kwnames
,&obj0
)) goto fail
;
34275 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34276 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34279 result
= ((wxItemContainer
const *)arg1
)->GetStrings();
34281 wxPyEndAllowThreads(__tstate
);
34282 if (PyErr_Occurred()) SWIG_fail
;
34285 resultobj
= wxArrayString2PyList_helper(result
);
34293 static PyObject
*_wrap_ItemContainer_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34294 PyObject
*resultobj
;
34295 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34297 wxString
*arg3
= 0 ;
34298 bool temp3
= False
;
34299 PyObject
* obj0
= 0 ;
34300 PyObject
* obj1
= 0 ;
34301 PyObject
* obj2
= 0 ;
34302 char *kwnames
[] = {
34303 (char *) "self",(char *) "n",(char *) "s", NULL
34306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34307 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34308 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34309 arg2
= (int)SWIG_As_int(obj1
);
34310 if (PyErr_Occurred()) SWIG_fail
;
34312 arg3
= wxString_in_helper(obj2
);
34313 if (arg3
== NULL
) SWIG_fail
;
34317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34318 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
34320 wxPyEndAllowThreads(__tstate
);
34321 if (PyErr_Occurred()) SWIG_fail
;
34323 Py_INCREF(Py_None
); resultobj
= Py_None
;
34338 static PyObject
*_wrap_ItemContainer_FindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34339 PyObject
*resultobj
;
34340 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34341 wxString
*arg2
= 0 ;
34343 bool temp2
= False
;
34344 PyObject
* obj0
= 0 ;
34345 PyObject
* obj1
= 0 ;
34346 char *kwnames
[] = {
34347 (char *) "self",(char *) "s", NULL
34350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
34351 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34352 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34354 arg2
= wxString_in_helper(obj1
);
34355 if (arg2
== NULL
) SWIG_fail
;
34359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34360 result
= (int)((wxItemContainer
const *)arg1
)->FindString((wxString
const &)*arg2
);
34362 wxPyEndAllowThreads(__tstate
);
34363 if (PyErr_Occurred()) SWIG_fail
;
34365 resultobj
= SWIG_From_int((int)result
);
34380 static PyObject
*_wrap_ItemContainer_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34381 PyObject
*resultobj
;
34382 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34384 PyObject
* obj0
= 0 ;
34385 PyObject
* obj1
= 0 ;
34386 char *kwnames
[] = {
34387 (char *) "self",(char *) "n", NULL
34390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Select",kwnames
,&obj0
,&obj1
)) goto fail
;
34391 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34393 arg2
= (int)SWIG_As_int(obj1
);
34394 if (PyErr_Occurred()) SWIG_fail
;
34396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34397 (arg1
)->Select(arg2
);
34399 wxPyEndAllowThreads(__tstate
);
34400 if (PyErr_Occurred()) SWIG_fail
;
34402 Py_INCREF(Py_None
); resultobj
= Py_None
;
34409 static PyObject
*_wrap_ItemContainer_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34410 PyObject
*resultobj
;
34411 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34413 PyObject
* obj0
= 0 ;
34414 char *kwnames
[] = {
34415 (char *) "self", NULL
34418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetSelection",kwnames
,&obj0
)) goto fail
;
34419 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34420 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34423 result
= (int)((wxItemContainer
const *)arg1
)->GetSelection();
34425 wxPyEndAllowThreads(__tstate
);
34426 if (PyErr_Occurred()) SWIG_fail
;
34428 resultobj
= SWIG_From_int((int)result
);
34435 static PyObject
*_wrap_ItemContainer_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34436 PyObject
*resultobj
;
34437 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34439 PyObject
* obj0
= 0 ;
34440 char *kwnames
[] = {
34441 (char *) "self", NULL
34444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStringSelection",kwnames
,&obj0
)) goto fail
;
34445 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34449 result
= ((wxItemContainer
const *)arg1
)->GetStringSelection();
34451 wxPyEndAllowThreads(__tstate
);
34452 if (PyErr_Occurred()) SWIG_fail
;
34456 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
34458 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34467 static PyObject
*_wrap_ItemContainer_GetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34468 PyObject
*resultobj
;
34469 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34472 PyObject
* obj0
= 0 ;
34473 PyObject
* obj1
= 0 ;
34474 char *kwnames
[] = {
34475 (char *) "self",(char *) "n", NULL
34478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
34479 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34480 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34481 arg2
= (int)SWIG_As_int(obj1
);
34482 if (PyErr_Occurred()) SWIG_fail
;
34484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34485 result
= (PyObject
*)wxItemContainer_GetClientData(arg1
,arg2
);
34487 wxPyEndAllowThreads(__tstate
);
34488 if (PyErr_Occurred()) SWIG_fail
;
34490 resultobj
= result
;
34497 static PyObject
*_wrap_ItemContainer_SetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34498 PyObject
*resultobj
;
34499 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34501 PyObject
*arg3
= (PyObject
*) 0 ;
34502 PyObject
* obj0
= 0 ;
34503 PyObject
* obj1
= 0 ;
34504 PyObject
* obj2
= 0 ;
34505 char *kwnames
[] = {
34506 (char *) "self",(char *) "n",(char *) "clientData", NULL
34509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34510 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34511 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34512 arg2
= (int)SWIG_As_int(obj1
);
34513 if (PyErr_Occurred()) SWIG_fail
;
34516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34517 wxItemContainer_SetClientData(arg1
,arg2
,arg3
);
34519 wxPyEndAllowThreads(__tstate
);
34520 if (PyErr_Occurred()) SWIG_fail
;
34522 Py_INCREF(Py_None
); resultobj
= Py_None
;
34529 static PyObject
* ItemContainer_swigregister(PyObject
*, PyObject
*args
) {
34531 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34532 SWIG_TypeClientData(SWIGTYPE_p_wxItemContainer
, obj
);
34534 return Py_BuildValue((char *)"");
34536 static PyObject
* ControlWithItems_swigregister(PyObject
*, PyObject
*args
) {
34538 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34539 SWIG_TypeClientData(SWIGTYPE_p_wxControlWithItems
, obj
);
34541 return Py_BuildValue((char *)"");
34543 static PyObject
*_wrap_new_SizerItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34544 PyObject
*resultobj
;
34545 wxSizerItem
*result
;
34546 char *kwnames
[] = {
34550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SizerItem",kwnames
)) goto fail
;
34552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34553 result
= (wxSizerItem
*)new wxSizerItem();
34555 wxPyEndAllowThreads(__tstate
);
34556 if (PyErr_Occurred()) SWIG_fail
;
34558 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
34565 static PyObject
*_wrap_new_SizerItemWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34566 PyObject
*resultobj
;
34567 wxWindow
*arg1
= (wxWindow
*) 0 ;
34571 PyObject
*arg5
= (PyObject
*) NULL
;
34572 wxSizerItem
*result
;
34573 PyObject
* obj0
= 0 ;
34574 PyObject
* obj1
= 0 ;
34575 PyObject
* obj2
= 0 ;
34576 PyObject
* obj3
= 0 ;
34577 PyObject
* obj4
= 0 ;
34578 char *kwnames
[] = {
34579 (char *) "window",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
34582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:new_SizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
34583 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
34584 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34585 arg2
= (int)SWIG_As_int(obj1
);
34586 if (PyErr_Occurred()) SWIG_fail
;
34587 arg3
= (int)SWIG_As_int(obj2
);
34588 if (PyErr_Occurred()) SWIG_fail
;
34589 arg4
= (int)SWIG_As_int(obj3
);
34590 if (PyErr_Occurred()) SWIG_fail
;
34595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34596 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
34598 wxPyEndAllowThreads(__tstate
);
34599 if (PyErr_Occurred()) SWIG_fail
;
34601 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
34608 static PyObject
*_wrap_new_SizerItemSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34609 PyObject
*resultobj
;
34615 PyObject
*arg6
= (PyObject
*) NULL
;
34616 wxSizerItem
*result
;
34617 PyObject
* obj0
= 0 ;
34618 PyObject
* obj1
= 0 ;
34619 PyObject
* obj2
= 0 ;
34620 PyObject
* obj3
= 0 ;
34621 PyObject
* obj4
= 0 ;
34622 PyObject
* obj5
= 0 ;
34623 char *kwnames
[] = {
34624 (char *) "width",(char *) "height",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
34627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_SizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
34628 arg1
= (int)SWIG_As_int(obj0
);
34629 if (PyErr_Occurred()) SWIG_fail
;
34630 arg2
= (int)SWIG_As_int(obj1
);
34631 if (PyErr_Occurred()) SWIG_fail
;
34632 arg3
= (int)SWIG_As_int(obj2
);
34633 if (PyErr_Occurred()) SWIG_fail
;
34634 arg4
= (int)SWIG_As_int(obj3
);
34635 if (PyErr_Occurred()) SWIG_fail
;
34636 arg5
= (int)SWIG_As_int(obj4
);
34637 if (PyErr_Occurred()) SWIG_fail
;
34642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34643 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
34645 wxPyEndAllowThreads(__tstate
);
34646 if (PyErr_Occurred()) SWIG_fail
;
34648 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
34655 static PyObject
*_wrap_new_SizerItemSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34656 PyObject
*resultobj
;
34657 wxSizer
*arg1
= (wxSizer
*) 0 ;
34661 PyObject
*arg5
= (PyObject
*) NULL
;
34662 wxSizerItem
*result
;
34663 PyObject
* obj0
= 0 ;
34664 PyObject
* obj1
= 0 ;
34665 PyObject
* obj2
= 0 ;
34666 PyObject
* obj3
= 0 ;
34667 PyObject
* obj4
= 0 ;
34668 char *kwnames
[] = {
34669 (char *) "sizer",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
34672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:new_SizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
34673 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34674 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34675 arg2
= (int)SWIG_As_int(obj1
);
34676 if (PyErr_Occurred()) SWIG_fail
;
34677 arg3
= (int)SWIG_As_int(obj2
);
34678 if (PyErr_Occurred()) SWIG_fail
;
34679 arg4
= (int)SWIG_As_int(obj3
);
34680 if (PyErr_Occurred()) SWIG_fail
;
34685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34686 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
34688 wxPyEndAllowThreads(__tstate
);
34689 if (PyErr_Occurred()) SWIG_fail
;
34691 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
34698 static PyObject
*_wrap_SizerItem_DeleteWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34699 PyObject
*resultobj
;
34700 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34701 PyObject
* obj0
= 0 ;
34702 char *kwnames
[] = {
34703 (char *) "self", NULL
34706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DeleteWindows",kwnames
,&obj0
)) goto fail
;
34707 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34708 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34711 (arg1
)->DeleteWindows();
34713 wxPyEndAllowThreads(__tstate
);
34714 if (PyErr_Occurred()) SWIG_fail
;
34716 Py_INCREF(Py_None
); resultobj
= Py_None
;
34723 static PyObject
*_wrap_SizerItem_DetachSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34724 PyObject
*resultobj
;
34725 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34726 PyObject
* obj0
= 0 ;
34727 char *kwnames
[] = {
34728 (char *) "self", NULL
34731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DetachSizer",kwnames
,&obj0
)) goto fail
;
34732 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34736 (arg1
)->DetachSizer();
34738 wxPyEndAllowThreads(__tstate
);
34739 if (PyErr_Occurred()) SWIG_fail
;
34741 Py_INCREF(Py_None
); resultobj
= Py_None
;
34748 static PyObject
*_wrap_SizerItem_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34749 PyObject
*resultobj
;
34750 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34752 PyObject
* obj0
= 0 ;
34753 char *kwnames
[] = {
34754 (char *) "self", NULL
34757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSize",kwnames
,&obj0
)) goto fail
;
34758 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34759 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34762 result
= (arg1
)->GetSize();
34764 wxPyEndAllowThreads(__tstate
);
34765 if (PyErr_Occurred()) SWIG_fail
;
34768 wxSize
* resultptr
;
34769 resultptr
= new wxSize((wxSize
&) result
);
34770 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
34778 static PyObject
*_wrap_SizerItem_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34779 PyObject
*resultobj
;
34780 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34782 PyObject
* obj0
= 0 ;
34783 char *kwnames
[] = {
34784 (char *) "self", NULL
34787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_CalcMin",kwnames
,&obj0
)) goto fail
;
34788 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34792 result
= (arg1
)->CalcMin();
34794 wxPyEndAllowThreads(__tstate
);
34795 if (PyErr_Occurred()) SWIG_fail
;
34798 wxSize
* resultptr
;
34799 resultptr
= new wxSize((wxSize
&) result
);
34800 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
34808 static PyObject
*_wrap_SizerItem_SetDimension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34809 PyObject
*resultobj
;
34810 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34815 PyObject
* obj0
= 0 ;
34816 PyObject
* obj1
= 0 ;
34817 PyObject
* obj2
= 0 ;
34818 char *kwnames
[] = {
34819 (char *) "self",(char *) "pos",(char *) "size", NULL
34822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34823 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34824 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34825 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxPoint
,
34826 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
34828 if ((SWIG_ConvertPtr(obj2
,(void **)(&argp3
),SWIGTYPE_p_wxSize
,
34829 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
34832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34833 (arg1
)->SetDimension(arg2
,arg3
);
34835 wxPyEndAllowThreads(__tstate
);
34836 if (PyErr_Occurred()) SWIG_fail
;
34838 Py_INCREF(Py_None
); resultobj
= Py_None
;
34845 static PyObject
*_wrap_SizerItem_GetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34846 PyObject
*resultobj
;
34847 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34849 PyObject
* obj0
= 0 ;
34850 char *kwnames
[] = {
34851 (char *) "self", NULL
34854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetMinSize",kwnames
,&obj0
)) goto fail
;
34855 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34856 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34859 result
= (arg1
)->GetMinSize();
34861 wxPyEndAllowThreads(__tstate
);
34862 if (PyErr_Occurred()) SWIG_fail
;
34865 wxSize
* resultptr
;
34866 resultptr
= new wxSize((wxSize
&) result
);
34867 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
34875 static PyObject
*_wrap_SizerItem_GetMinSizeWithBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34876 PyObject
*resultobj
;
34877 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34879 PyObject
* obj0
= 0 ;
34880 char *kwnames
[] = {
34881 (char *) "self", NULL
34884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetMinSizeWithBorder",kwnames
,&obj0
)) goto fail
;
34885 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34889 result
= ((wxSizerItem
const *)arg1
)->GetMinSizeWithBorder();
34891 wxPyEndAllowThreads(__tstate
);
34892 if (PyErr_Occurred()) SWIG_fail
;
34895 wxSize
* resultptr
;
34896 resultptr
= new wxSize((wxSize
&) result
);
34897 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
34905 static PyObject
*_wrap_SizerItem_SetInitSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34906 PyObject
*resultobj
;
34907 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34910 PyObject
* obj0
= 0 ;
34911 PyObject
* obj1
= 0 ;
34912 PyObject
* obj2
= 0 ;
34913 char *kwnames
[] = {
34914 (char *) "self",(char *) "x",(char *) "y", NULL
34917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetInitSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34918 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34919 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34920 arg2
= (int)SWIG_As_int(obj1
);
34921 if (PyErr_Occurred()) SWIG_fail
;
34922 arg3
= (int)SWIG_As_int(obj2
);
34923 if (PyErr_Occurred()) SWIG_fail
;
34925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34926 (arg1
)->SetInitSize(arg2
,arg3
);
34928 wxPyEndAllowThreads(__tstate
);
34929 if (PyErr_Occurred()) SWIG_fail
;
34931 Py_INCREF(Py_None
); resultobj
= Py_None
;
34938 static PyObject
*_wrap_SizerItem_SetRatioWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34939 PyObject
*resultobj
;
34940 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34943 PyObject
* obj0
= 0 ;
34944 PyObject
* obj1
= 0 ;
34945 PyObject
* obj2
= 0 ;
34946 char *kwnames
[] = {
34947 (char *) "self",(char *) "width",(char *) "height", NULL
34950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetRatioWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34951 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34952 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34953 arg2
= (int)SWIG_As_int(obj1
);
34954 if (PyErr_Occurred()) SWIG_fail
;
34955 arg3
= (int)SWIG_As_int(obj2
);
34956 if (PyErr_Occurred()) SWIG_fail
;
34958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34959 (arg1
)->SetRatio(arg2
,arg3
);
34961 wxPyEndAllowThreads(__tstate
);
34962 if (PyErr_Occurred()) SWIG_fail
;
34964 Py_INCREF(Py_None
); resultobj
= Py_None
;
34971 static PyObject
*_wrap_SizerItem_SetRatioSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34972 PyObject
*resultobj
;
34973 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34976 PyObject
* obj0
= 0 ;
34977 PyObject
* obj1
= 0 ;
34978 char *kwnames
[] = {
34979 (char *) "self",(char *) "size", NULL
34982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatioSize",kwnames
,&obj0
,&obj1
)) goto fail
;
34983 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34984 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34985 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxSize
,
34986 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
34989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34990 (arg1
)->SetRatio(arg2
);
34992 wxPyEndAllowThreads(__tstate
);
34993 if (PyErr_Occurred()) SWIG_fail
;
34995 Py_INCREF(Py_None
); resultobj
= Py_None
;
35002 static PyObject
*_wrap_SizerItem_SetRatio(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35003 PyObject
*resultobj
;
35004 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35006 PyObject
* obj0
= 0 ;
35007 PyObject
* obj1
= 0 ;
35008 char *kwnames
[] = {
35009 (char *) "self",(char *) "ratio", NULL
35012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatio",kwnames
,&obj0
,&obj1
)) goto fail
;
35013 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35014 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35015 arg2
= (float)SWIG_As_float(obj1
);
35016 if (PyErr_Occurred()) SWIG_fail
;
35018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35019 (arg1
)->SetRatio(arg2
);
35021 wxPyEndAllowThreads(__tstate
);
35022 if (PyErr_Occurred()) SWIG_fail
;
35024 Py_INCREF(Py_None
); resultobj
= Py_None
;
35031 static PyObject
*_wrap_SizerItem_GetRatio(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35032 PyObject
*resultobj
;
35033 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35035 PyObject
* obj0
= 0 ;
35036 char *kwnames
[] = {
35037 (char *) "self", NULL
35040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetRatio",kwnames
,&obj0
)) goto fail
;
35041 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35042 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35045 result
= (float)(arg1
)->GetRatio();
35047 wxPyEndAllowThreads(__tstate
);
35048 if (PyErr_Occurred()) SWIG_fail
;
35050 resultobj
= SWIG_From_float((float)result
);
35057 static PyObject
*_wrap_SizerItem_IsWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35058 PyObject
*resultobj
;
35059 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35061 PyObject
* obj0
= 0 ;
35062 char *kwnames
[] = {
35063 (char *) "self", NULL
35066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsWindow",kwnames
,&obj0
)) goto fail
;
35067 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35068 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35071 result
= (bool)(arg1
)->IsWindow();
35073 wxPyEndAllowThreads(__tstate
);
35074 if (PyErr_Occurred()) SWIG_fail
;
35077 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35085 static PyObject
*_wrap_SizerItem_IsSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35086 PyObject
*resultobj
;
35087 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35089 PyObject
* obj0
= 0 ;
35090 char *kwnames
[] = {
35091 (char *) "self", NULL
35094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSizer",kwnames
,&obj0
)) goto fail
;
35095 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35096 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35099 result
= (bool)(arg1
)->IsSizer();
35101 wxPyEndAllowThreads(__tstate
);
35102 if (PyErr_Occurred()) SWIG_fail
;
35105 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35113 static PyObject
*_wrap_SizerItem_IsSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35114 PyObject
*resultobj
;
35115 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35117 PyObject
* obj0
= 0 ;
35118 char *kwnames
[] = {
35119 (char *) "self", NULL
35122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSpacer",kwnames
,&obj0
)) goto fail
;
35123 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35124 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35127 result
= (bool)(arg1
)->IsSpacer();
35129 wxPyEndAllowThreads(__tstate
);
35130 if (PyErr_Occurred()) SWIG_fail
;
35133 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35141 static PyObject
*_wrap_SizerItem_SetProportion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35142 PyObject
*resultobj
;
35143 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35145 PyObject
* obj0
= 0 ;
35146 PyObject
* obj1
= 0 ;
35147 char *kwnames
[] = {
35148 (char *) "self",(char *) "proportion", NULL
35151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetProportion",kwnames
,&obj0
,&obj1
)) goto fail
;
35152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35154 arg2
= (int)SWIG_As_int(obj1
);
35155 if (PyErr_Occurred()) SWIG_fail
;
35157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35158 (arg1
)->SetProportion(arg2
);
35160 wxPyEndAllowThreads(__tstate
);
35161 if (PyErr_Occurred()) SWIG_fail
;
35163 Py_INCREF(Py_None
); resultobj
= Py_None
;
35170 static PyObject
*_wrap_SizerItem_GetProportion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35171 PyObject
*resultobj
;
35172 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35174 PyObject
* obj0
= 0 ;
35175 char *kwnames
[] = {
35176 (char *) "self", NULL
35179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetProportion",kwnames
,&obj0
)) goto fail
;
35180 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35184 result
= (int)(arg1
)->GetProportion();
35186 wxPyEndAllowThreads(__tstate
);
35187 if (PyErr_Occurred()) SWIG_fail
;
35189 resultobj
= SWIG_From_int((int)result
);
35196 static PyObject
*_wrap_SizerItem_SetFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35197 PyObject
*resultobj
;
35198 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35200 PyObject
* obj0
= 0 ;
35201 PyObject
* obj1
= 0 ;
35202 char *kwnames
[] = {
35203 (char *) "self",(char *) "flag", NULL
35206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
35207 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35209 arg2
= (int)SWIG_As_int(obj1
);
35210 if (PyErr_Occurred()) SWIG_fail
;
35212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35213 (arg1
)->SetFlag(arg2
);
35215 wxPyEndAllowThreads(__tstate
);
35216 if (PyErr_Occurred()) SWIG_fail
;
35218 Py_INCREF(Py_None
); resultobj
= Py_None
;
35225 static PyObject
*_wrap_SizerItem_GetFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35226 PyObject
*resultobj
;
35227 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35229 PyObject
* obj0
= 0 ;
35230 char *kwnames
[] = {
35231 (char *) "self", NULL
35234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetFlag",kwnames
,&obj0
)) goto fail
;
35235 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35239 result
= (int)(arg1
)->GetFlag();
35241 wxPyEndAllowThreads(__tstate
);
35242 if (PyErr_Occurred()) SWIG_fail
;
35244 resultobj
= SWIG_From_int((int)result
);
35251 static PyObject
*_wrap_SizerItem_SetBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35252 PyObject
*resultobj
;
35253 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35255 PyObject
* obj0
= 0 ;
35256 PyObject
* obj1
= 0 ;
35257 char *kwnames
[] = {
35258 (char *) "self",(char *) "border", NULL
35261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetBorder",kwnames
,&obj0
,&obj1
)) goto fail
;
35262 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35263 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35264 arg2
= (int)SWIG_As_int(obj1
);
35265 if (PyErr_Occurred()) SWIG_fail
;
35267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35268 (arg1
)->SetBorder(arg2
);
35270 wxPyEndAllowThreads(__tstate
);
35271 if (PyErr_Occurred()) SWIG_fail
;
35273 Py_INCREF(Py_None
); resultobj
= Py_None
;
35280 static PyObject
*_wrap_SizerItem_GetBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35281 PyObject
*resultobj
;
35282 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35284 PyObject
* obj0
= 0 ;
35285 char *kwnames
[] = {
35286 (char *) "self", NULL
35289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetBorder",kwnames
,&obj0
)) goto fail
;
35290 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35294 result
= (int)(arg1
)->GetBorder();
35296 wxPyEndAllowThreads(__tstate
);
35297 if (PyErr_Occurred()) SWIG_fail
;
35299 resultobj
= SWIG_From_int((int)result
);
35306 static PyObject
*_wrap_SizerItem_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35307 PyObject
*resultobj
;
35308 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35310 PyObject
* obj0
= 0 ;
35311 char *kwnames
[] = {
35312 (char *) "self", NULL
35315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetWindow",kwnames
,&obj0
)) goto fail
;
35316 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35317 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35320 result
= (wxWindow
*)(arg1
)->GetWindow();
35322 wxPyEndAllowThreads(__tstate
);
35323 if (PyErr_Occurred()) SWIG_fail
;
35326 resultobj
= wxPyMake_wxObject(result
, 0);
35334 static PyObject
*_wrap_SizerItem_SetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35335 PyObject
*resultobj
;
35336 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35337 wxWindow
*arg2
= (wxWindow
*) 0 ;
35338 PyObject
* obj0
= 0 ;
35339 PyObject
* obj1
= 0 ;
35340 char *kwnames
[] = {
35341 (char *) "self",(char *) "window", NULL
35344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
35345 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35346 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35347 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
35348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35351 (arg1
)->SetWindow(arg2
);
35353 wxPyEndAllowThreads(__tstate
);
35354 if (PyErr_Occurred()) SWIG_fail
;
35356 Py_INCREF(Py_None
); resultobj
= Py_None
;
35363 static PyObject
*_wrap_SizerItem_GetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35364 PyObject
*resultobj
;
35365 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35367 PyObject
* obj0
= 0 ;
35368 char *kwnames
[] = {
35369 (char *) "self", NULL
35372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSizer",kwnames
,&obj0
)) goto fail
;
35373 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35374 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35377 result
= (wxSizer
*)(arg1
)->GetSizer();
35379 wxPyEndAllowThreads(__tstate
);
35380 if (PyErr_Occurred()) SWIG_fail
;
35383 resultobj
= wxPyMake_wxSizer(result
, 0);
35391 static PyObject
*_wrap_SizerItem_SetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35392 PyObject
*resultobj
;
35393 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35394 wxSizer
*arg2
= (wxSizer
*) 0 ;
35395 PyObject
* obj0
= 0 ;
35396 PyObject
* obj1
= 0 ;
35397 char *kwnames
[] = {
35398 (char *) "self",(char *) "sizer", NULL
35401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
35402 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35403 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35404 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
35405 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35408 (arg1
)->SetSizer(arg2
);
35410 wxPyEndAllowThreads(__tstate
);
35411 if (PyErr_Occurred()) SWIG_fail
;
35413 Py_INCREF(Py_None
); resultobj
= Py_None
;
35420 static PyObject
*_wrap_SizerItem_GetSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35421 PyObject
*resultobj
;
35422 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35424 PyObject
* obj0
= 0 ;
35425 char *kwnames
[] = {
35426 (char *) "self", NULL
35429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSpacer",kwnames
,&obj0
)) goto fail
;
35430 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35431 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35435 wxSize
const &_result_ref
= (arg1
)->GetSpacer();
35436 result
= (wxSize
*) &_result_ref
;
35439 wxPyEndAllowThreads(__tstate
);
35440 if (PyErr_Occurred()) SWIG_fail
;
35442 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
35449 static PyObject
*_wrap_SizerItem_SetSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35450 PyObject
*resultobj
;
35451 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35454 PyObject
* obj0
= 0 ;
35455 PyObject
* obj1
= 0 ;
35456 char *kwnames
[] = {
35457 (char *) "self",(char *) "size", NULL
35460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSpacer",kwnames
,&obj0
,&obj1
)) goto fail
;
35461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35465 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
35468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35469 (arg1
)->SetSpacer((wxSize
const &)*arg2
);
35471 wxPyEndAllowThreads(__tstate
);
35472 if (PyErr_Occurred()) SWIG_fail
;
35474 Py_INCREF(Py_None
); resultobj
= Py_None
;
35481 static PyObject
*_wrap_SizerItem_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35482 PyObject
*resultobj
;
35483 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35485 PyObject
* obj0
= 0 ;
35486 PyObject
* obj1
= 0 ;
35487 char *kwnames
[] = {
35488 (char *) "self",(char *) "show", NULL
35491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
35492 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35493 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35494 arg2
= (bool)SWIG_As_bool(obj1
);
35495 if (PyErr_Occurred()) SWIG_fail
;
35497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35498 (arg1
)->Show(arg2
);
35500 wxPyEndAllowThreads(__tstate
);
35501 if (PyErr_Occurred()) SWIG_fail
;
35503 Py_INCREF(Py_None
); resultobj
= Py_None
;
35510 static PyObject
*_wrap_SizerItem_IsShown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35511 PyObject
*resultobj
;
35512 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35514 PyObject
* obj0
= 0 ;
35515 char *kwnames
[] = {
35516 (char *) "self", NULL
35519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsShown",kwnames
,&obj0
)) goto fail
;
35520 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35524 result
= (bool)(arg1
)->IsShown();
35526 wxPyEndAllowThreads(__tstate
);
35527 if (PyErr_Occurred()) SWIG_fail
;
35530 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35538 static PyObject
*_wrap_SizerItem_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35539 PyObject
*resultobj
;
35540 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35542 PyObject
* obj0
= 0 ;
35543 char *kwnames
[] = {
35544 (char *) "self", NULL
35547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetPosition",kwnames
,&obj0
)) goto fail
;
35548 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35549 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35552 result
= (arg1
)->GetPosition();
35554 wxPyEndAllowThreads(__tstate
);
35555 if (PyErr_Occurred()) SWIG_fail
;
35558 wxPoint
* resultptr
;
35559 resultptr
= new wxPoint((wxPoint
&) result
);
35560 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
35568 static PyObject
*_wrap_SizerItem_GetUserData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35569 PyObject
*resultobj
;
35570 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35572 PyObject
* obj0
= 0 ;
35573 char *kwnames
[] = {
35574 (char *) "self", NULL
35577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetUserData",kwnames
,&obj0
)) goto fail
;
35578 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35579 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35582 result
= (PyObject
*)wxSizerItem_GetUserData(arg1
);
35584 wxPyEndAllowThreads(__tstate
);
35585 if (PyErr_Occurred()) SWIG_fail
;
35587 resultobj
= result
;
35594 static PyObject
* SizerItem_swigregister(PyObject
*, PyObject
*args
) {
35596 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35597 SWIG_TypeClientData(SWIGTYPE_p_wxSizerItem
, obj
);
35599 return Py_BuildValue((char *)"");
35601 static PyObject
*_wrap_Sizer__setOORInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35602 PyObject
*resultobj
;
35603 wxSizer
*arg1
= (wxSizer
*) 0 ;
35604 PyObject
*arg2
= (PyObject
*) 0 ;
35605 PyObject
* obj0
= 0 ;
35606 PyObject
* obj1
= 0 ;
35607 char *kwnames
[] = {
35608 (char *) "self",(char *) "_self", NULL
35611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
35612 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35613 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35617 wxSizer__setOORInfo(arg1
,arg2
);
35619 wxPyEndAllowThreads(__tstate
);
35620 if (PyErr_Occurred()) SWIG_fail
;
35622 Py_INCREF(Py_None
); resultobj
= Py_None
;
35629 static PyObject
*_wrap_Sizer_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35630 PyObject
*resultobj
;
35631 wxSizer
*arg1
= (wxSizer
*) 0 ;
35632 PyObject
*arg2
= (PyObject
*) 0 ;
35633 int arg3
= (int) 0 ;
35634 int arg4
= (int) 0 ;
35635 int arg5
= (int) 0 ;
35636 PyObject
*arg6
= (PyObject
*) NULL
;
35637 PyObject
* obj0
= 0 ;
35638 PyObject
* obj1
= 0 ;
35639 PyObject
* obj2
= 0 ;
35640 PyObject
* obj3
= 0 ;
35641 PyObject
* obj4
= 0 ;
35642 PyObject
* obj5
= 0 ;
35643 char *kwnames
[] = {
35644 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
35647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
35648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35652 arg3
= (int)SWIG_As_int(obj2
);
35653 if (PyErr_Occurred()) SWIG_fail
;
35656 arg4
= (int)SWIG_As_int(obj3
);
35657 if (PyErr_Occurred()) SWIG_fail
;
35660 arg5
= (int)SWIG_As_int(obj4
);
35661 if (PyErr_Occurred()) SWIG_fail
;
35667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35668 wxSizer_Add(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
35670 wxPyEndAllowThreads(__tstate
);
35671 if (PyErr_Occurred()) SWIG_fail
;
35673 Py_INCREF(Py_None
); resultobj
= Py_None
;
35680 static PyObject
*_wrap_Sizer_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35681 PyObject
*resultobj
;
35682 wxSizer
*arg1
= (wxSizer
*) 0 ;
35684 PyObject
*arg3
= (PyObject
*) 0 ;
35685 int arg4
= (int) 0 ;
35686 int arg5
= (int) 0 ;
35687 int arg6
= (int) 0 ;
35688 PyObject
*arg7
= (PyObject
*) NULL
;
35689 PyObject
* obj0
= 0 ;
35690 PyObject
* obj1
= 0 ;
35691 PyObject
* obj2
= 0 ;
35692 PyObject
* obj3
= 0 ;
35693 PyObject
* obj4
= 0 ;
35694 PyObject
* obj5
= 0 ;
35695 PyObject
* obj6
= 0 ;
35696 char *kwnames
[] = {
35697 (char *) "self",(char *) "before",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
35700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Sizer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
35701 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35702 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35703 arg2
= (int)SWIG_As_int(obj1
);
35704 if (PyErr_Occurred()) SWIG_fail
;
35707 arg4
= (int)SWIG_As_int(obj3
);
35708 if (PyErr_Occurred()) SWIG_fail
;
35711 arg5
= (int)SWIG_As_int(obj4
);
35712 if (PyErr_Occurred()) SWIG_fail
;
35715 arg6
= (int)SWIG_As_int(obj5
);
35716 if (PyErr_Occurred()) SWIG_fail
;
35722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35723 wxSizer_Insert(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
35725 wxPyEndAllowThreads(__tstate
);
35726 if (PyErr_Occurred()) SWIG_fail
;
35728 Py_INCREF(Py_None
); resultobj
= Py_None
;
35735 static PyObject
*_wrap_Sizer_Prepend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35736 PyObject
*resultobj
;
35737 wxSizer
*arg1
= (wxSizer
*) 0 ;
35738 PyObject
*arg2
= (PyObject
*) 0 ;
35739 int arg3
= (int) 0 ;
35740 int arg4
= (int) 0 ;
35741 int arg5
= (int) 0 ;
35742 PyObject
*arg6
= (PyObject
*) NULL
;
35743 PyObject
* obj0
= 0 ;
35744 PyObject
* obj1
= 0 ;
35745 PyObject
* obj2
= 0 ;
35746 PyObject
* obj3
= 0 ;
35747 PyObject
* obj4
= 0 ;
35748 PyObject
* obj5
= 0 ;
35749 char *kwnames
[] = {
35750 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
35753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
35754 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35755 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35758 arg3
= (int)SWIG_As_int(obj2
);
35759 if (PyErr_Occurred()) SWIG_fail
;
35762 arg4
= (int)SWIG_As_int(obj3
);
35763 if (PyErr_Occurred()) SWIG_fail
;
35766 arg5
= (int)SWIG_As_int(obj4
);
35767 if (PyErr_Occurred()) SWIG_fail
;
35773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35774 wxSizer_Prepend(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
35776 wxPyEndAllowThreads(__tstate
);
35777 if (PyErr_Occurred()) SWIG_fail
;
35779 Py_INCREF(Py_None
); resultobj
= Py_None
;
35786 static PyObject
*_wrap_Sizer_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35787 PyObject
*resultobj
;
35788 wxSizer
*arg1
= (wxSizer
*) 0 ;
35789 PyObject
*arg2
= (PyObject
*) 0 ;
35791 PyObject
* obj0
= 0 ;
35792 PyObject
* obj1
= 0 ;
35793 char *kwnames
[] = {
35794 (char *) "self",(char *) "item", NULL
35797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
35798 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35799 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35803 result
= (bool)wxSizer_Remove(arg1
,arg2
);
35805 wxPyEndAllowThreads(__tstate
);
35806 if (PyErr_Occurred()) SWIG_fail
;
35809 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35817 static PyObject
*_wrap_Sizer_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35818 PyObject
*resultobj
;
35819 wxSizer
*arg1
= (wxSizer
*) 0 ;
35820 PyObject
*arg2
= (PyObject
*) 0 ;
35822 PyObject
* obj0
= 0 ;
35823 PyObject
* obj1
= 0 ;
35824 char *kwnames
[] = {
35825 (char *) "self",(char *) "item", NULL
35828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Detach",kwnames
,&obj0
,&obj1
)) goto fail
;
35829 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35834 result
= (bool)wxSizer_Detach(arg1
,arg2
);
35836 wxPyEndAllowThreads(__tstate
);
35837 if (PyErr_Occurred()) SWIG_fail
;
35840 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35848 static PyObject
*_wrap_Sizer__SetItemMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35849 PyObject
*resultobj
;
35850 wxSizer
*arg1
= (wxSizer
*) 0 ;
35851 PyObject
*arg2
= (PyObject
*) 0 ;
35854 PyObject
* obj0
= 0 ;
35855 PyObject
* obj1
= 0 ;
35856 PyObject
* obj2
= 0 ;
35857 char *kwnames
[] = {
35858 (char *) "self",(char *) "item",(char *) "size", NULL
35861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer__SetItemMinSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35862 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35863 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35867 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
35870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35871 wxSizer__SetItemMinSize(arg1
,arg2
,(wxSize
const &)*arg3
);
35873 wxPyEndAllowThreads(__tstate
);
35874 if (PyErr_Occurred()) SWIG_fail
;
35876 Py_INCREF(Py_None
); resultobj
= Py_None
;
35883 static PyObject
*_wrap_Sizer_AddItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35884 PyObject
*resultobj
;
35885 wxSizer
*arg1
= (wxSizer
*) 0 ;
35886 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
35887 PyObject
* obj0
= 0 ;
35888 PyObject
* obj1
= 0 ;
35889 char *kwnames
[] = {
35890 (char *) "self",(char *) "item", NULL
35893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
35894 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35896 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizerItem
,
35897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35902 wxPyEndAllowThreads(__tstate
);
35903 if (PyErr_Occurred()) SWIG_fail
;
35905 Py_INCREF(Py_None
); resultobj
= Py_None
;
35912 static PyObject
*_wrap_Sizer_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35913 PyObject
*resultobj
;
35914 wxSizer
*arg1
= (wxSizer
*) 0 ;
35916 wxSizerItem
*arg3
= (wxSizerItem
*) 0 ;
35917 PyObject
* obj0
= 0 ;
35918 PyObject
* obj1
= 0 ;
35919 PyObject
* obj2
= 0 ;
35920 char *kwnames
[] = {
35921 (char *) "self",(char *) "index",(char *) "item", NULL
35924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35925 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35927 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
35928 if (PyErr_Occurred()) SWIG_fail
;
35929 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxSizerItem
,
35930 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35933 (arg1
)->Insert(arg2
,arg3
);
35935 wxPyEndAllowThreads(__tstate
);
35936 if (PyErr_Occurred()) SWIG_fail
;
35938 Py_INCREF(Py_None
); resultobj
= Py_None
;
35945 static PyObject
*_wrap_Sizer_PrependItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35946 PyObject
*resultobj
;
35947 wxSizer
*arg1
= (wxSizer
*) 0 ;
35948 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
35949 PyObject
* obj0
= 0 ;
35950 PyObject
* obj1
= 0 ;
35951 char *kwnames
[] = {
35952 (char *) "self",(char *) "item", NULL
35955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
35956 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35957 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35958 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizerItem
,
35959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35962 (arg1
)->Prepend(arg2
);
35964 wxPyEndAllowThreads(__tstate
);
35965 if (PyErr_Occurred()) SWIG_fail
;
35967 Py_INCREF(Py_None
); resultobj
= Py_None
;
35974 static PyObject
*_wrap_Sizer_SetDimension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35975 PyObject
*resultobj
;
35976 wxSizer
*arg1
= (wxSizer
*) 0 ;
35981 PyObject
* obj0
= 0 ;
35982 PyObject
* obj1
= 0 ;
35983 PyObject
* obj2
= 0 ;
35984 PyObject
* obj3
= 0 ;
35985 PyObject
* obj4
= 0 ;
35986 char *kwnames
[] = {
35987 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
35990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Sizer_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
35991 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35993 arg2
= (int)SWIG_As_int(obj1
);
35994 if (PyErr_Occurred()) SWIG_fail
;
35995 arg3
= (int)SWIG_As_int(obj2
);
35996 if (PyErr_Occurred()) SWIG_fail
;
35997 arg4
= (int)SWIG_As_int(obj3
);
35998 if (PyErr_Occurred()) SWIG_fail
;
35999 arg5
= (int)SWIG_As_int(obj4
);
36000 if (PyErr_Occurred()) SWIG_fail
;
36002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36003 (arg1
)->SetDimension(arg2
,arg3
,arg4
,arg5
);
36005 wxPyEndAllowThreads(__tstate
);
36006 if (PyErr_Occurred()) SWIG_fail
;
36008 Py_INCREF(Py_None
); resultobj
= Py_None
;
36015 static PyObject
*_wrap_Sizer_SetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36016 PyObject
*resultobj
;
36017 wxSizer
*arg1
= (wxSizer
*) 0 ;
36020 PyObject
* obj0
= 0 ;
36021 PyObject
* obj1
= 0 ;
36022 char *kwnames
[] = {
36023 (char *) "self",(char *) "size", NULL
36026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetMinSize",kwnames
,&obj0
,&obj1
)) goto fail
;
36027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36031 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
36034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36035 (arg1
)->SetMinSize((wxSize
const &)*arg2
);
36037 wxPyEndAllowThreads(__tstate
);
36038 if (PyErr_Occurred()) SWIG_fail
;
36040 Py_INCREF(Py_None
); resultobj
= Py_None
;
36047 static PyObject
*_wrap_Sizer_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36048 PyObject
*resultobj
;
36049 wxSizer
*arg1
= (wxSizer
*) 0 ;
36051 PyObject
* obj0
= 0 ;
36052 char *kwnames
[] = {
36053 (char *) "self", NULL
36056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetSize",kwnames
,&obj0
)) goto fail
;
36057 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36058 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36061 result
= (arg1
)->GetSize();
36063 wxPyEndAllowThreads(__tstate
);
36064 if (PyErr_Occurred()) SWIG_fail
;
36067 wxSize
* resultptr
;
36068 resultptr
= new wxSize((wxSize
&) result
);
36069 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
36077 static PyObject
*_wrap_Sizer_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36078 PyObject
*resultobj
;
36079 wxSizer
*arg1
= (wxSizer
*) 0 ;
36081 PyObject
* obj0
= 0 ;
36082 char *kwnames
[] = {
36083 (char *) "self", NULL
36086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetPosition",kwnames
,&obj0
)) goto fail
;
36087 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36091 result
= (arg1
)->GetPosition();
36093 wxPyEndAllowThreads(__tstate
);
36094 if (PyErr_Occurred()) SWIG_fail
;
36097 wxPoint
* resultptr
;
36098 resultptr
= new wxPoint((wxPoint
&) result
);
36099 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
36107 static PyObject
*_wrap_Sizer_GetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36108 PyObject
*resultobj
;
36109 wxSizer
*arg1
= (wxSizer
*) 0 ;
36111 PyObject
* obj0
= 0 ;
36112 char *kwnames
[] = {
36113 (char *) "self", NULL
36116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetMinSize",kwnames
,&obj0
)) goto fail
;
36117 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36118 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36121 result
= (arg1
)->GetMinSize();
36123 wxPyEndAllowThreads(__tstate
);
36124 if (PyErr_Occurred()) SWIG_fail
;
36127 wxSize
* resultptr
;
36128 resultptr
= new wxSize((wxSize
&) result
);
36129 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
36137 static PyObject
*_wrap_Sizer_RecalcSizes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36138 PyObject
*resultobj
;
36139 wxSizer
*arg1
= (wxSizer
*) 0 ;
36140 PyObject
* obj0
= 0 ;
36141 char *kwnames
[] = {
36142 (char *) "self", NULL
36145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
36146 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36147 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36150 (arg1
)->RecalcSizes();
36152 wxPyEndAllowThreads(__tstate
);
36153 if (PyErr_Occurred()) SWIG_fail
;
36155 Py_INCREF(Py_None
); resultobj
= Py_None
;
36162 static PyObject
*_wrap_Sizer_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36163 PyObject
*resultobj
;
36164 wxSizer
*arg1
= (wxSizer
*) 0 ;
36166 PyObject
* obj0
= 0 ;
36167 char *kwnames
[] = {
36168 (char *) "self", NULL
36171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_CalcMin",kwnames
,&obj0
)) goto fail
;
36172 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36176 result
= (arg1
)->CalcMin();
36178 wxPyEndAllowThreads(__tstate
);
36179 if (PyErr_Occurred()) SWIG_fail
;
36182 wxSize
* resultptr
;
36183 resultptr
= new wxSize((wxSize
&) result
);
36184 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
36192 static PyObject
*_wrap_Sizer_Layout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36193 PyObject
*resultobj
;
36194 wxSizer
*arg1
= (wxSizer
*) 0 ;
36195 PyObject
* obj0
= 0 ;
36196 char *kwnames
[] = {
36197 (char *) "self", NULL
36200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_Layout",kwnames
,&obj0
)) goto fail
;
36201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36207 wxPyEndAllowThreads(__tstate
);
36208 if (PyErr_Occurred()) SWIG_fail
;
36210 Py_INCREF(Py_None
); resultobj
= Py_None
;
36217 static PyObject
*_wrap_Sizer_Fit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36218 PyObject
*resultobj
;
36219 wxSizer
*arg1
= (wxSizer
*) 0 ;
36220 wxWindow
*arg2
= (wxWindow
*) 0 ;
36222 PyObject
* obj0
= 0 ;
36223 PyObject
* obj1
= 0 ;
36224 char *kwnames
[] = {
36225 (char *) "self",(char *) "window", NULL
36228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Fit",kwnames
,&obj0
,&obj1
)) goto fail
;
36229 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36231 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
36232 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36235 result
= (arg1
)->Fit(arg2
);
36237 wxPyEndAllowThreads(__tstate
);
36238 if (PyErr_Occurred()) SWIG_fail
;
36241 wxSize
* resultptr
;
36242 resultptr
= new wxSize((wxSize
&) result
);
36243 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
36251 static PyObject
*_wrap_Sizer_FitInside(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36252 PyObject
*resultobj
;
36253 wxSizer
*arg1
= (wxSizer
*) 0 ;
36254 wxWindow
*arg2
= (wxWindow
*) 0 ;
36255 PyObject
* obj0
= 0 ;
36256 PyObject
* obj1
= 0 ;
36257 char *kwnames
[] = {
36258 (char *) "self",(char *) "window", NULL
36261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_FitInside",kwnames
,&obj0
,&obj1
)) goto fail
;
36262 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36263 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36264 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
36265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36268 (arg1
)->FitInside(arg2
);
36270 wxPyEndAllowThreads(__tstate
);
36271 if (PyErr_Occurred()) SWIG_fail
;
36273 Py_INCREF(Py_None
); resultobj
= Py_None
;
36280 static PyObject
*_wrap_Sizer_SetSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36281 PyObject
*resultobj
;
36282 wxSizer
*arg1
= (wxSizer
*) 0 ;
36283 wxWindow
*arg2
= (wxWindow
*) 0 ;
36284 PyObject
* obj0
= 0 ;
36285 PyObject
* obj1
= 0 ;
36286 char *kwnames
[] = {
36287 (char *) "self",(char *) "window", NULL
36290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
36291 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36292 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36293 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
36294 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36297 (arg1
)->SetSizeHints(arg2
);
36299 wxPyEndAllowThreads(__tstate
);
36300 if (PyErr_Occurred()) SWIG_fail
;
36302 Py_INCREF(Py_None
); resultobj
= Py_None
;
36309 static PyObject
*_wrap_Sizer_SetVirtualSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36310 PyObject
*resultobj
;
36311 wxSizer
*arg1
= (wxSizer
*) 0 ;
36312 wxWindow
*arg2
= (wxWindow
*) 0 ;
36313 PyObject
* obj0
= 0 ;
36314 PyObject
* obj1
= 0 ;
36315 char *kwnames
[] = {
36316 (char *) "self",(char *) "window", NULL
36319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
36320 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36322 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
36323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36326 (arg1
)->SetVirtualSizeHints(arg2
);
36328 wxPyEndAllowThreads(__tstate
);
36329 if (PyErr_Occurred()) SWIG_fail
;
36331 Py_INCREF(Py_None
); resultobj
= Py_None
;
36338 static PyObject
*_wrap_Sizer_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36339 PyObject
*resultobj
;
36340 wxSizer
*arg1
= (wxSizer
*) 0 ;
36341 bool arg2
= (bool) False
;
36342 PyObject
* obj0
= 0 ;
36343 PyObject
* obj1
= 0 ;
36344 char *kwnames
[] = {
36345 (char *) "self",(char *) "deleteWindows", NULL
36348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sizer_Clear",kwnames
,&obj0
,&obj1
)) goto fail
;
36349 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36352 arg2
= (bool)SWIG_As_bool(obj1
);
36353 if (PyErr_Occurred()) SWIG_fail
;
36356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36357 (arg1
)->Clear(arg2
);
36359 wxPyEndAllowThreads(__tstate
);
36360 if (PyErr_Occurred()) SWIG_fail
;
36362 Py_INCREF(Py_None
); resultobj
= Py_None
;
36369 static PyObject
*_wrap_Sizer_DeleteWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36370 PyObject
*resultobj
;
36371 wxSizer
*arg1
= (wxSizer
*) 0 ;
36372 PyObject
* obj0
= 0 ;
36373 char *kwnames
[] = {
36374 (char *) "self", NULL
36377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_DeleteWindows",kwnames
,&obj0
)) goto fail
;
36378 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36379 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36382 (arg1
)->DeleteWindows();
36384 wxPyEndAllowThreads(__tstate
);
36385 if (PyErr_Occurred()) SWIG_fail
;
36387 Py_INCREF(Py_None
); resultobj
= Py_None
;
36394 static PyObject
*_wrap_Sizer_GetChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36395 PyObject
*resultobj
;
36396 wxSizer
*arg1
= (wxSizer
*) 0 ;
36398 PyObject
* obj0
= 0 ;
36399 char *kwnames
[] = {
36400 (char *) "self", NULL
36403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetChildren",kwnames
,&obj0
)) goto fail
;
36404 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36405 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36408 result
= (PyObject
*)wxSizer_GetChildren(arg1
);
36410 wxPyEndAllowThreads(__tstate
);
36411 if (PyErr_Occurred()) SWIG_fail
;
36413 resultobj
= result
;
36420 static PyObject
*_wrap_Sizer_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36421 PyObject
*resultobj
;
36422 wxSizer
*arg1
= (wxSizer
*) 0 ;
36423 PyObject
*arg2
= (PyObject
*) 0 ;
36424 bool arg3
= (bool) True
;
36425 PyObject
* obj0
= 0 ;
36426 PyObject
* obj1
= 0 ;
36427 PyObject
* obj2
= 0 ;
36428 char *kwnames
[] = {
36429 (char *) "self",(char *) "item",(char *) "show", NULL
36432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Sizer_Show",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
36433 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36437 arg3
= (bool)SWIG_As_bool(obj2
);
36438 if (PyErr_Occurred()) SWIG_fail
;
36441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36442 wxSizer_Show(arg1
,arg2
,arg3
);
36444 wxPyEndAllowThreads(__tstate
);
36445 if (PyErr_Occurred()) SWIG_fail
;
36447 Py_INCREF(Py_None
); resultobj
= Py_None
;
36454 static PyObject
*_wrap_Sizer_IsShown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36455 PyObject
*resultobj
;
36456 wxSizer
*arg1
= (wxSizer
*) 0 ;
36457 PyObject
*arg2
= (PyObject
*) 0 ;
36459 PyObject
* obj0
= 0 ;
36460 PyObject
* obj1
= 0 ;
36461 char *kwnames
[] = {
36462 (char *) "self",(char *) "item", NULL
36465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_IsShown",kwnames
,&obj0
,&obj1
)) goto fail
;
36466 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36467 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36471 result
= (bool)wxSizer_IsShown(arg1
,arg2
);
36473 wxPyEndAllowThreads(__tstate
);
36474 if (PyErr_Occurred()) SWIG_fail
;
36477 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36485 static PyObject
*_wrap_Sizer_ShowItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36486 PyObject
*resultobj
;
36487 wxSizer
*arg1
= (wxSizer
*) 0 ;
36489 PyObject
* obj0
= 0 ;
36490 PyObject
* obj1
= 0 ;
36491 char *kwnames
[] = {
36492 (char *) "self",(char *) "show", NULL
36495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_ShowItems",kwnames
,&obj0
,&obj1
)) goto fail
;
36496 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36497 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36498 arg2
= (bool)SWIG_As_bool(obj1
);
36499 if (PyErr_Occurred()) SWIG_fail
;
36501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36502 (arg1
)->ShowItems(arg2
);
36504 wxPyEndAllowThreads(__tstate
);
36505 if (PyErr_Occurred()) SWIG_fail
;
36507 Py_INCREF(Py_None
); resultobj
= Py_None
;
36514 static PyObject
* Sizer_swigregister(PyObject
*, PyObject
*args
) {
36516 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36517 SWIG_TypeClientData(SWIGTYPE_p_wxSizer
, obj
);
36519 return Py_BuildValue((char *)"");
36521 static PyObject
*_wrap_new_PySizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36522 PyObject
*resultobj
;
36524 char *kwnames
[] = {
36528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PySizer",kwnames
)) goto fail
;
36530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36531 result
= (wxPySizer
*)new wxPySizer();
36533 wxPyEndAllowThreads(__tstate
);
36534 if (PyErr_Occurred()) SWIG_fail
;
36536 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPySizer
, 1);
36543 static PyObject
*_wrap_PySizer__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36544 PyObject
*resultobj
;
36545 wxPySizer
*arg1
= (wxPySizer
*) 0 ;
36546 PyObject
*arg2
= (PyObject
*) 0 ;
36547 PyObject
*arg3
= (PyObject
*) 0 ;
36548 PyObject
* obj0
= 0 ;
36549 PyObject
* obj1
= 0 ;
36550 PyObject
* obj2
= 0 ;
36551 char *kwnames
[] = {
36552 (char *) "self",(char *) "self",(char *) "_class", NULL
36555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PySizer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
36556 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPySizer
,
36557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36562 (arg1
)->_setCallbackInfo(arg2
,arg3
);
36564 wxPyEndAllowThreads(__tstate
);
36565 if (PyErr_Occurred()) SWIG_fail
;
36567 Py_INCREF(Py_None
); resultobj
= Py_None
;
36574 static PyObject
* PySizer_swigregister(PyObject
*, PyObject
*args
) {
36576 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36577 SWIG_TypeClientData(SWIGTYPE_p_wxPySizer
, obj
);
36579 return Py_BuildValue((char *)"");
36581 static PyObject
*_wrap_new_BoxSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36582 PyObject
*resultobj
;
36583 int arg1
= (int) wxHORIZONTAL
;
36584 wxBoxSizer
*result
;
36585 PyObject
* obj0
= 0 ;
36586 char *kwnames
[] = {
36587 (char *) "orient", NULL
36590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BoxSizer",kwnames
,&obj0
)) goto fail
;
36592 arg1
= (int)SWIG_As_int(obj0
);
36593 if (PyErr_Occurred()) SWIG_fail
;
36596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36597 result
= (wxBoxSizer
*)new wxBoxSizer(arg1
);
36599 wxPyEndAllowThreads(__tstate
);
36600 if (PyErr_Occurred()) SWIG_fail
;
36602 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBoxSizer
, 1);
36609 static PyObject
*_wrap_BoxSizer_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36610 PyObject
*resultobj
;
36611 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
36613 PyObject
* obj0
= 0 ;
36614 char *kwnames
[] = {
36615 (char *) "self", NULL
36618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BoxSizer_GetOrientation",kwnames
,&obj0
)) goto fail
;
36619 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBoxSizer
,
36620 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36623 result
= (int)(arg1
)->GetOrientation();
36625 wxPyEndAllowThreads(__tstate
);
36626 if (PyErr_Occurred()) SWIG_fail
;
36628 resultobj
= SWIG_From_int((int)result
);
36635 static PyObject
*_wrap_BoxSizer_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36636 PyObject
*resultobj
;
36637 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
36639 PyObject
* obj0
= 0 ;
36640 PyObject
* obj1
= 0 ;
36641 char *kwnames
[] = {
36642 (char *) "self",(char *) "orient", NULL
36645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BoxSizer_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
36646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBoxSizer
,
36647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36648 arg2
= (int)SWIG_As_int(obj1
);
36649 if (PyErr_Occurred()) SWIG_fail
;
36651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36652 (arg1
)->SetOrientation(arg2
);
36654 wxPyEndAllowThreads(__tstate
);
36655 if (PyErr_Occurred()) SWIG_fail
;
36657 Py_INCREF(Py_None
); resultobj
= Py_None
;
36664 static PyObject
* BoxSizer_swigregister(PyObject
*, PyObject
*args
) {
36666 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36667 SWIG_TypeClientData(SWIGTYPE_p_wxBoxSizer
, obj
);
36669 return Py_BuildValue((char *)"");
36671 static PyObject
*_wrap_new_StaticBoxSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36672 PyObject
*resultobj
;
36673 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
36674 int arg2
= (int) wxHORIZONTAL
;
36675 wxStaticBoxSizer
*result
;
36676 PyObject
* obj0
= 0 ;
36677 PyObject
* obj1
= 0 ;
36678 char *kwnames
[] = {
36679 (char *) "box",(char *) "orient", NULL
36682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_StaticBoxSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
36683 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBox
,
36684 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36686 arg2
= (int)SWIG_As_int(obj1
);
36687 if (PyErr_Occurred()) SWIG_fail
;
36690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36691 result
= (wxStaticBoxSizer
*)new wxStaticBoxSizer(arg1
,arg2
);
36693 wxPyEndAllowThreads(__tstate
);
36694 if (PyErr_Occurred()) SWIG_fail
;
36696 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBoxSizer
, 1);
36703 static PyObject
*_wrap_StaticBoxSizer_GetStaticBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36704 PyObject
*resultobj
;
36705 wxStaticBoxSizer
*arg1
= (wxStaticBoxSizer
*) 0 ;
36706 wxStaticBox
*result
;
36707 PyObject
* obj0
= 0 ;
36708 char *kwnames
[] = {
36709 (char *) "self", NULL
36712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBoxSizer_GetStaticBox",kwnames
,&obj0
)) goto fail
;
36713 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBoxSizer
,
36714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36717 result
= (wxStaticBox
*)(arg1
)->GetStaticBox();
36719 wxPyEndAllowThreads(__tstate
);
36720 if (PyErr_Occurred()) SWIG_fail
;
36723 resultobj
= wxPyMake_wxObject(result
, 0);
36731 static PyObject
* StaticBoxSizer_swigregister(PyObject
*, PyObject
*args
) {
36733 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36734 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBoxSizer
, obj
);
36736 return Py_BuildValue((char *)"");
36738 static PyObject
*_wrap_new_GridSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36739 PyObject
*resultobj
;
36740 int arg1
= (int) 1 ;
36741 int arg2
= (int) 0 ;
36742 int arg3
= (int) 0 ;
36743 int arg4
= (int) 0 ;
36744 wxGridSizer
*result
;
36745 PyObject
* obj0
= 0 ;
36746 PyObject
* obj1
= 0 ;
36747 PyObject
* obj2
= 0 ;
36748 PyObject
* obj3
= 0 ;
36749 char *kwnames
[] = {
36750 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
36753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_GridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
36755 arg1
= (int)SWIG_As_int(obj0
);
36756 if (PyErr_Occurred()) SWIG_fail
;
36759 arg2
= (int)SWIG_As_int(obj1
);
36760 if (PyErr_Occurred()) SWIG_fail
;
36763 arg3
= (int)SWIG_As_int(obj2
);
36764 if (PyErr_Occurred()) SWIG_fail
;
36767 arg4
= (int)SWIG_As_int(obj3
);
36768 if (PyErr_Occurred()) SWIG_fail
;
36771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36772 result
= (wxGridSizer
*)new wxGridSizer(arg1
,arg2
,arg3
,arg4
);
36774 wxPyEndAllowThreads(__tstate
);
36775 if (PyErr_Occurred()) SWIG_fail
;
36777 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridSizer
, 1);
36784 static PyObject
*_wrap_GridSizer_SetCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36785 PyObject
*resultobj
;
36786 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36788 PyObject
* obj0
= 0 ;
36789 PyObject
* obj1
= 0 ;
36790 char *kwnames
[] = {
36791 (char *) "self",(char *) "cols", NULL
36794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetCols",kwnames
,&obj0
,&obj1
)) goto fail
;
36795 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36796 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36797 arg2
= (int)SWIG_As_int(obj1
);
36798 if (PyErr_Occurred()) SWIG_fail
;
36800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36801 (arg1
)->SetCols(arg2
);
36803 wxPyEndAllowThreads(__tstate
);
36804 if (PyErr_Occurred()) SWIG_fail
;
36806 Py_INCREF(Py_None
); resultobj
= Py_None
;
36813 static PyObject
*_wrap_GridSizer_SetRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36814 PyObject
*resultobj
;
36815 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36817 PyObject
* obj0
= 0 ;
36818 PyObject
* obj1
= 0 ;
36819 char *kwnames
[] = {
36820 (char *) "self",(char *) "rows", NULL
36823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
;
36824 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36825 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36826 arg2
= (int)SWIG_As_int(obj1
);
36827 if (PyErr_Occurred()) SWIG_fail
;
36829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36830 (arg1
)->SetRows(arg2
);
36832 wxPyEndAllowThreads(__tstate
);
36833 if (PyErr_Occurred()) SWIG_fail
;
36835 Py_INCREF(Py_None
); resultobj
= Py_None
;
36842 static PyObject
*_wrap_GridSizer_SetVGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36843 PyObject
*resultobj
;
36844 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36846 PyObject
* obj0
= 0 ;
36847 PyObject
* obj1
= 0 ;
36848 char *kwnames
[] = {
36849 (char *) "self",(char *) "gap", NULL
36852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetVGap",kwnames
,&obj0
,&obj1
)) goto fail
;
36853 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36855 arg2
= (int)SWIG_As_int(obj1
);
36856 if (PyErr_Occurred()) SWIG_fail
;
36858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36859 (arg1
)->SetVGap(arg2
);
36861 wxPyEndAllowThreads(__tstate
);
36862 if (PyErr_Occurred()) SWIG_fail
;
36864 Py_INCREF(Py_None
); resultobj
= Py_None
;
36871 static PyObject
*_wrap_GridSizer_SetHGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36872 PyObject
*resultobj
;
36873 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36875 PyObject
* obj0
= 0 ;
36876 PyObject
* obj1
= 0 ;
36877 char *kwnames
[] = {
36878 (char *) "self",(char *) "gap", NULL
36881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetHGap",kwnames
,&obj0
,&obj1
)) goto fail
;
36882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36884 arg2
= (int)SWIG_As_int(obj1
);
36885 if (PyErr_Occurred()) SWIG_fail
;
36887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36888 (arg1
)->SetHGap(arg2
);
36890 wxPyEndAllowThreads(__tstate
);
36891 if (PyErr_Occurred()) SWIG_fail
;
36893 Py_INCREF(Py_None
); resultobj
= Py_None
;
36900 static PyObject
*_wrap_GridSizer_GetCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36901 PyObject
*resultobj
;
36902 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36904 PyObject
* obj0
= 0 ;
36905 char *kwnames
[] = {
36906 (char *) "self", NULL
36909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetCols",kwnames
,&obj0
)) goto fail
;
36910 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36911 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36914 result
= (int)(arg1
)->GetCols();
36916 wxPyEndAllowThreads(__tstate
);
36917 if (PyErr_Occurred()) SWIG_fail
;
36919 resultobj
= SWIG_From_int((int)result
);
36926 static PyObject
*_wrap_GridSizer_GetRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36927 PyObject
*resultobj
;
36928 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36930 PyObject
* obj0
= 0 ;
36931 char *kwnames
[] = {
36932 (char *) "self", NULL
36935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetRows",kwnames
,&obj0
)) goto fail
;
36936 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36937 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36940 result
= (int)(arg1
)->GetRows();
36942 wxPyEndAllowThreads(__tstate
);
36943 if (PyErr_Occurred()) SWIG_fail
;
36945 resultobj
= SWIG_From_int((int)result
);
36952 static PyObject
*_wrap_GridSizer_GetVGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36953 PyObject
*resultobj
;
36954 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36956 PyObject
* obj0
= 0 ;
36957 char *kwnames
[] = {
36958 (char *) "self", NULL
36961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetVGap",kwnames
,&obj0
)) goto fail
;
36962 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36963 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36966 result
= (int)(arg1
)->GetVGap();
36968 wxPyEndAllowThreads(__tstate
);
36969 if (PyErr_Occurred()) SWIG_fail
;
36971 resultobj
= SWIG_From_int((int)result
);
36978 static PyObject
*_wrap_GridSizer_GetHGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36979 PyObject
*resultobj
;
36980 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36982 PyObject
* obj0
= 0 ;
36983 char *kwnames
[] = {
36984 (char *) "self", NULL
36987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetHGap",kwnames
,&obj0
)) goto fail
;
36988 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36992 result
= (int)(arg1
)->GetHGap();
36994 wxPyEndAllowThreads(__tstate
);
36995 if (PyErr_Occurred()) SWIG_fail
;
36997 resultobj
= SWIG_From_int((int)result
);
37004 static PyObject
* GridSizer_swigregister(PyObject
*, PyObject
*args
) {
37006 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37007 SWIG_TypeClientData(SWIGTYPE_p_wxGridSizer
, obj
);
37009 return Py_BuildValue((char *)"");
37011 static PyObject
*_wrap_new_FlexGridSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37012 PyObject
*resultobj
;
37013 int arg1
= (int) 1 ;
37014 int arg2
= (int) 0 ;
37015 int arg3
= (int) 0 ;
37016 int arg4
= (int) 0 ;
37017 wxFlexGridSizer
*result
;
37018 PyObject
* obj0
= 0 ;
37019 PyObject
* obj1
= 0 ;
37020 PyObject
* obj2
= 0 ;
37021 PyObject
* obj3
= 0 ;
37022 char *kwnames
[] = {
37023 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
37026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_FlexGridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
37028 arg1
= (int)SWIG_As_int(obj0
);
37029 if (PyErr_Occurred()) SWIG_fail
;
37032 arg2
= (int)SWIG_As_int(obj1
);
37033 if (PyErr_Occurred()) SWIG_fail
;
37036 arg3
= (int)SWIG_As_int(obj2
);
37037 if (PyErr_Occurred()) SWIG_fail
;
37040 arg4
= (int)SWIG_As_int(obj3
);
37041 if (PyErr_Occurred()) SWIG_fail
;
37044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37045 result
= (wxFlexGridSizer
*)new wxFlexGridSizer(arg1
,arg2
,arg3
,arg4
);
37047 wxPyEndAllowThreads(__tstate
);
37048 if (PyErr_Occurred()) SWIG_fail
;
37050 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFlexGridSizer
, 1);
37057 static PyObject
*_wrap_FlexGridSizer_AddGrowableRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37058 PyObject
*resultobj
;
37059 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
37061 int arg3
= (int) 0 ;
37062 PyObject
* obj0
= 0 ;
37063 PyObject
* obj1
= 0 ;
37064 PyObject
* obj2
= 0 ;
37065 char *kwnames
[] = {
37066 (char *) "self",(char *) "idx",(char *) "proportion", NULL
37069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableRow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37070 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
37071 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37072 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
37073 if (PyErr_Occurred()) SWIG_fail
;
37075 arg3
= (int)SWIG_As_int(obj2
);
37076 if (PyErr_Occurred()) SWIG_fail
;
37079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37080 (arg1
)->AddGrowableRow(arg2
,arg3
);
37082 wxPyEndAllowThreads(__tstate
);
37083 if (PyErr_Occurred()) SWIG_fail
;
37085 Py_INCREF(Py_None
); resultobj
= Py_None
;
37092 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37093 PyObject
*resultobj
;
37094 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
37096 PyObject
* obj0
= 0 ;
37097 PyObject
* obj1
= 0 ;
37098 char *kwnames
[] = {
37099 (char *) "self",(char *) "idx", NULL
37102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableRow",kwnames
,&obj0
,&obj1
)) goto fail
;
37103 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
37104 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37105 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
37106 if (PyErr_Occurred()) SWIG_fail
;
37108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37109 (arg1
)->RemoveGrowableRow(arg2
);
37111 wxPyEndAllowThreads(__tstate
);
37112 if (PyErr_Occurred()) SWIG_fail
;
37114 Py_INCREF(Py_None
); resultobj
= Py_None
;
37121 static PyObject
*_wrap_FlexGridSizer_AddGrowableCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37122 PyObject
*resultobj
;
37123 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
37125 int arg3
= (int) 0 ;
37126 PyObject
* obj0
= 0 ;
37127 PyObject
* obj1
= 0 ;
37128 PyObject
* obj2
= 0 ;
37129 char *kwnames
[] = {
37130 (char *) "self",(char *) "idx",(char *) "proportion", NULL
37133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableCol",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37134 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
37135 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37136 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
37137 if (PyErr_Occurred()) SWIG_fail
;
37139 arg3
= (int)SWIG_As_int(obj2
);
37140 if (PyErr_Occurred()) SWIG_fail
;
37143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37144 (arg1
)->AddGrowableCol(arg2
,arg3
);
37146 wxPyEndAllowThreads(__tstate
);
37147 if (PyErr_Occurred()) SWIG_fail
;
37149 Py_INCREF(Py_None
); resultobj
= Py_None
;
37156 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37157 PyObject
*resultobj
;
37158 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
37160 PyObject
* obj0
= 0 ;
37161 PyObject
* obj1
= 0 ;
37162 char *kwnames
[] = {
37163 (char *) "self",(char *) "idx", NULL
37166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableCol",kwnames
,&obj0
,&obj1
)) goto fail
;
37167 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
37168 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37169 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
37170 if (PyErr_Occurred()) SWIG_fail
;
37172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37173 (arg1
)->RemoveGrowableCol(arg2
);
37175 wxPyEndAllowThreads(__tstate
);
37176 if (PyErr_Occurred()) SWIG_fail
;
37178 Py_INCREF(Py_None
); resultobj
= Py_None
;
37185 static PyObject
*_wrap_FlexGridSizer_SetFlexibleDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37186 PyObject
*resultobj
;
37187 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
37189 PyObject
* obj0
= 0 ;
37190 PyObject
* obj1
= 0 ;
37191 char *kwnames
[] = {
37192 (char *) "self",(char *) "direction", NULL
37195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetFlexibleDirection",kwnames
,&obj0
,&obj1
)) goto fail
;
37196 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
37197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37198 arg2
= (int)SWIG_As_int(obj1
);
37199 if (PyErr_Occurred()) SWIG_fail
;
37201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37202 (arg1
)->SetFlexibleDirection(arg2
);
37204 wxPyEndAllowThreads(__tstate
);
37205 if (PyErr_Occurred()) SWIG_fail
;
37207 Py_INCREF(Py_None
); resultobj
= Py_None
;
37214 static PyObject
*_wrap_FlexGridSizer_GetFlexibleDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37215 PyObject
*resultobj
;
37216 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
37218 PyObject
* obj0
= 0 ;
37219 char *kwnames
[] = {
37220 (char *) "self", NULL
37223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetFlexibleDirection",kwnames
,&obj0
)) goto fail
;
37224 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
37225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37228 result
= (int)(arg1
)->GetFlexibleDirection();
37230 wxPyEndAllowThreads(__tstate
);
37231 if (PyErr_Occurred()) SWIG_fail
;
37233 resultobj
= SWIG_From_int((int)result
);
37240 static PyObject
*_wrap_FlexGridSizer_SetNonFlexibleGrowMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37241 PyObject
*resultobj
;
37242 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
37244 PyObject
* obj0
= 0 ;
37245 PyObject
* obj1
= 0 ;
37246 char *kwnames
[] = {
37247 (char *) "self",(char *) "mode", NULL
37250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetNonFlexibleGrowMode",kwnames
,&obj0
,&obj1
)) goto fail
;
37251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
37252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37253 arg2
= (int)SWIG_As_int(obj1
);
37254 if (PyErr_Occurred()) SWIG_fail
;
37256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37257 (arg1
)->SetNonFlexibleGrowMode((wxFlexSizerGrowMode
)arg2
);
37259 wxPyEndAllowThreads(__tstate
);
37260 if (PyErr_Occurred()) SWIG_fail
;
37262 Py_INCREF(Py_None
); resultobj
= Py_None
;
37269 static PyObject
*_wrap_FlexGridSizer_GetNonFlexibleGrowMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37270 PyObject
*resultobj
;
37271 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
37273 PyObject
* obj0
= 0 ;
37274 char *kwnames
[] = {
37275 (char *) "self", NULL
37278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetNonFlexibleGrowMode",kwnames
,&obj0
)) goto fail
;
37279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
37280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37283 result
= (int)(arg1
)->GetNonFlexibleGrowMode();
37285 wxPyEndAllowThreads(__tstate
);
37286 if (PyErr_Occurred()) SWIG_fail
;
37288 resultobj
= SWIG_From_int((int)result
);
37295 static PyObject
*_wrap_FlexGridSizer_GetRowHeights(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37296 PyObject
*resultobj
;
37297 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
37298 wxArrayInt
*result
;
37299 PyObject
* obj0
= 0 ;
37300 char *kwnames
[] = {
37301 (char *) "self", NULL
37304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetRowHeights",kwnames
,&obj0
)) goto fail
;
37305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
37306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37310 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetRowHeights();
37311 result
= (wxArrayInt
*) &_result_ref
;
37314 wxPyEndAllowThreads(__tstate
);
37315 if (PyErr_Occurred()) SWIG_fail
;
37318 resultobj
= PyList_New(0);
37320 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
37321 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
37322 PyList_Append(resultobj
, val
);
37332 static PyObject
*_wrap_FlexGridSizer_GetColWidths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37333 PyObject
*resultobj
;
37334 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
37335 wxArrayInt
*result
;
37336 PyObject
* obj0
= 0 ;
37337 char *kwnames
[] = {
37338 (char *) "self", NULL
37341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetColWidths",kwnames
,&obj0
)) goto fail
;
37342 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
37343 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37347 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetColWidths();
37348 result
= (wxArrayInt
*) &_result_ref
;
37351 wxPyEndAllowThreads(__tstate
);
37352 if (PyErr_Occurred()) SWIG_fail
;
37355 resultobj
= PyList_New(0);
37357 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
37358 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
37359 PyList_Append(resultobj
, val
);
37369 static PyObject
* FlexGridSizer_swigregister(PyObject
*, PyObject
*args
) {
37371 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37372 SWIG_TypeClientData(SWIGTYPE_p_wxFlexGridSizer
, obj
);
37374 return Py_BuildValue((char *)"");
37376 static PyObject
*_wrap_new_GBPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37377 PyObject
*resultobj
;
37378 int arg1
= (int) 0 ;
37379 int arg2
= (int) 0 ;
37380 wxGBPosition
*result
;
37381 PyObject
* obj0
= 0 ;
37382 PyObject
* obj1
= 0 ;
37383 char *kwnames
[] = {
37384 (char *) "row",(char *) "col", NULL
37387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
37389 arg1
= (int)SWIG_As_int(obj0
);
37390 if (PyErr_Occurred()) SWIG_fail
;
37393 arg2
= (int)SWIG_As_int(obj1
);
37394 if (PyErr_Occurred()) SWIG_fail
;
37397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37398 result
= (wxGBPosition
*)new wxGBPosition(arg1
,arg2
);
37400 wxPyEndAllowThreads(__tstate
);
37401 if (PyErr_Occurred()) SWIG_fail
;
37403 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBPosition
, 1);
37410 static PyObject
*_wrap_GBPosition_GetRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37411 PyObject
*resultobj
;
37412 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37414 PyObject
* obj0
= 0 ;
37415 char *kwnames
[] = {
37416 (char *) "self", NULL
37419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetRow",kwnames
,&obj0
)) goto fail
;
37420 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37421 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37424 result
= (int)((wxGBPosition
const *)arg1
)->GetRow();
37426 wxPyEndAllowThreads(__tstate
);
37427 if (PyErr_Occurred()) SWIG_fail
;
37429 resultobj
= SWIG_From_int((int)result
);
37436 static PyObject
*_wrap_GBPosition_GetCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37437 PyObject
*resultobj
;
37438 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37440 PyObject
* obj0
= 0 ;
37441 char *kwnames
[] = {
37442 (char *) "self", NULL
37445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetCol",kwnames
,&obj0
)) goto fail
;
37446 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37447 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37450 result
= (int)((wxGBPosition
const *)arg1
)->GetCol();
37452 wxPyEndAllowThreads(__tstate
);
37453 if (PyErr_Occurred()) SWIG_fail
;
37455 resultobj
= SWIG_From_int((int)result
);
37462 static PyObject
*_wrap_GBPosition_SetRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37463 PyObject
*resultobj
;
37464 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37466 PyObject
* obj0
= 0 ;
37467 PyObject
* obj1
= 0 ;
37468 char *kwnames
[] = {
37469 (char *) "self",(char *) "row", NULL
37472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetRow",kwnames
,&obj0
,&obj1
)) goto fail
;
37473 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37475 arg2
= (int)SWIG_As_int(obj1
);
37476 if (PyErr_Occurred()) SWIG_fail
;
37478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37479 (arg1
)->SetRow(arg2
);
37481 wxPyEndAllowThreads(__tstate
);
37482 if (PyErr_Occurred()) SWIG_fail
;
37484 Py_INCREF(Py_None
); resultobj
= Py_None
;
37491 static PyObject
*_wrap_GBPosition_SetCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37492 PyObject
*resultobj
;
37493 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37495 PyObject
* obj0
= 0 ;
37496 PyObject
* obj1
= 0 ;
37497 char *kwnames
[] = {
37498 (char *) "self",(char *) "col", NULL
37501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetCol",kwnames
,&obj0
,&obj1
)) goto fail
;
37502 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37503 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37504 arg2
= (int)SWIG_As_int(obj1
);
37505 if (PyErr_Occurred()) SWIG_fail
;
37507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37508 (arg1
)->SetCol(arg2
);
37510 wxPyEndAllowThreads(__tstate
);
37511 if (PyErr_Occurred()) SWIG_fail
;
37513 Py_INCREF(Py_None
); resultobj
= Py_None
;
37520 static PyObject
*_wrap_GBPosition___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37521 PyObject
*resultobj
;
37522 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37523 wxGBPosition
*arg2
= 0 ;
37525 wxGBPosition temp2
;
37526 PyObject
* obj0
= 0 ;
37527 PyObject
* obj1
= 0 ;
37528 char *kwnames
[] = {
37529 (char *) "self",(char *) "other", NULL
37532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
37533 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37534 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37537 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
37540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37541 result
= (bool)(arg1
)->operator ==((wxGBPosition
const &)*arg2
);
37543 wxPyEndAllowThreads(__tstate
);
37544 if (PyErr_Occurred()) SWIG_fail
;
37547 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37555 static PyObject
*_wrap_GBPosition___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37556 PyObject
*resultobj
;
37557 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37558 wxGBPosition
*arg2
= 0 ;
37560 wxGBPosition temp2
;
37561 PyObject
* obj0
= 0 ;
37562 PyObject
* obj1
= 0 ;
37563 char *kwnames
[] = {
37564 (char *) "self",(char *) "other", NULL
37567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
37568 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37572 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
37575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37576 result
= (bool)(arg1
)->operator !=((wxGBPosition
const &)*arg2
);
37578 wxPyEndAllowThreads(__tstate
);
37579 if (PyErr_Occurred()) SWIG_fail
;
37582 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37590 static PyObject
*_wrap_GBPosition_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37591 PyObject
*resultobj
;
37592 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37593 int arg2
= (int) 0 ;
37594 int arg3
= (int) 0 ;
37595 PyObject
* obj0
= 0 ;
37596 PyObject
* obj1
= 0 ;
37597 PyObject
* obj2
= 0 ;
37598 char *kwnames
[] = {
37599 (char *) "self",(char *) "row",(char *) "col", NULL
37602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBPosition_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37603 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37606 arg2
= (int)SWIG_As_int(obj1
);
37607 if (PyErr_Occurred()) SWIG_fail
;
37610 arg3
= (int)SWIG_As_int(obj2
);
37611 if (PyErr_Occurred()) SWIG_fail
;
37614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37615 wxGBPosition_Set(arg1
,arg2
,arg3
);
37617 wxPyEndAllowThreads(__tstate
);
37618 if (PyErr_Occurred()) SWIG_fail
;
37620 Py_INCREF(Py_None
); resultobj
= Py_None
;
37627 static PyObject
*_wrap_GBPosition_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37628 PyObject
*resultobj
;
37629 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37631 PyObject
* obj0
= 0 ;
37632 char *kwnames
[] = {
37633 (char *) "self", NULL
37636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_Get",kwnames
,&obj0
)) goto fail
;
37637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37641 result
= (PyObject
*)wxGBPosition_Get(arg1
);
37643 wxPyEndAllowThreads(__tstate
);
37644 if (PyErr_Occurred()) SWIG_fail
;
37646 resultobj
= result
;
37653 static PyObject
* GBPosition_swigregister(PyObject
*, PyObject
*args
) {
37655 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37656 SWIG_TypeClientData(SWIGTYPE_p_wxGBPosition
, obj
);
37658 return Py_BuildValue((char *)"");
37660 static PyObject
*_wrap_new_GBSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37661 PyObject
*resultobj
;
37662 int arg1
= (int) 1 ;
37663 int arg2
= (int) 1 ;
37665 PyObject
* obj0
= 0 ;
37666 PyObject
* obj1
= 0 ;
37667 char *kwnames
[] = {
37668 (char *) "rowspan",(char *) "colspan", NULL
37671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
37673 arg1
= (int)SWIG_As_int(obj0
);
37674 if (PyErr_Occurred()) SWIG_fail
;
37677 arg2
= (int)SWIG_As_int(obj1
);
37678 if (PyErr_Occurred()) SWIG_fail
;
37681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37682 result
= (wxGBSpan
*)new wxGBSpan(arg1
,arg2
);
37684 wxPyEndAllowThreads(__tstate
);
37685 if (PyErr_Occurred()) SWIG_fail
;
37687 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSpan
, 1);
37694 static PyObject
*_wrap_GBSpan_GetRowspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37695 PyObject
*resultobj
;
37696 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37698 PyObject
* obj0
= 0 ;
37699 char *kwnames
[] = {
37700 (char *) "self", NULL
37703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetRowspan",kwnames
,&obj0
)) goto fail
;
37704 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37708 result
= (int)((wxGBSpan
const *)arg1
)->GetRowspan();
37710 wxPyEndAllowThreads(__tstate
);
37711 if (PyErr_Occurred()) SWIG_fail
;
37713 resultobj
= SWIG_From_int((int)result
);
37720 static PyObject
*_wrap_GBSpan_GetColspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37721 PyObject
*resultobj
;
37722 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37724 PyObject
* obj0
= 0 ;
37725 char *kwnames
[] = {
37726 (char *) "self", NULL
37729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetColspan",kwnames
,&obj0
)) goto fail
;
37730 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37731 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37734 result
= (int)((wxGBSpan
const *)arg1
)->GetColspan();
37736 wxPyEndAllowThreads(__tstate
);
37737 if (PyErr_Occurred()) SWIG_fail
;
37739 resultobj
= SWIG_From_int((int)result
);
37746 static PyObject
*_wrap_GBSpan_SetRowspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37747 PyObject
*resultobj
;
37748 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37750 PyObject
* obj0
= 0 ;
37751 PyObject
* obj1
= 0 ;
37752 char *kwnames
[] = {
37753 (char *) "self",(char *) "rowspan", NULL
37756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetRowspan",kwnames
,&obj0
,&obj1
)) goto fail
;
37757 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37758 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37759 arg2
= (int)SWIG_As_int(obj1
);
37760 if (PyErr_Occurred()) SWIG_fail
;
37762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37763 (arg1
)->SetRowspan(arg2
);
37765 wxPyEndAllowThreads(__tstate
);
37766 if (PyErr_Occurred()) SWIG_fail
;
37768 Py_INCREF(Py_None
); resultobj
= Py_None
;
37775 static PyObject
*_wrap_GBSpan_SetColspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37776 PyObject
*resultobj
;
37777 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37779 PyObject
* obj0
= 0 ;
37780 PyObject
* obj1
= 0 ;
37781 char *kwnames
[] = {
37782 (char *) "self",(char *) "colspan", NULL
37785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetColspan",kwnames
,&obj0
,&obj1
)) goto fail
;
37786 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37788 arg2
= (int)SWIG_As_int(obj1
);
37789 if (PyErr_Occurred()) SWIG_fail
;
37791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37792 (arg1
)->SetColspan(arg2
);
37794 wxPyEndAllowThreads(__tstate
);
37795 if (PyErr_Occurred()) SWIG_fail
;
37797 Py_INCREF(Py_None
); resultobj
= Py_None
;
37804 static PyObject
*_wrap_GBSpan___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37805 PyObject
*resultobj
;
37806 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37807 wxGBSpan
*arg2
= 0 ;
37810 PyObject
* obj0
= 0 ;
37811 PyObject
* obj1
= 0 ;
37812 char *kwnames
[] = {
37813 (char *) "self",(char *) "other", NULL
37816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
37817 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37818 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37821 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
37824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37825 result
= (bool)(arg1
)->operator ==((wxGBSpan
const &)*arg2
);
37827 wxPyEndAllowThreads(__tstate
);
37828 if (PyErr_Occurred()) SWIG_fail
;
37831 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37839 static PyObject
*_wrap_GBSpan___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37840 PyObject
*resultobj
;
37841 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37842 wxGBSpan
*arg2
= 0 ;
37845 PyObject
* obj0
= 0 ;
37846 PyObject
* obj1
= 0 ;
37847 char *kwnames
[] = {
37848 (char *) "self",(char *) "other", NULL
37851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
37852 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37856 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
37859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37860 result
= (bool)(arg1
)->operator !=((wxGBSpan
const &)*arg2
);
37862 wxPyEndAllowThreads(__tstate
);
37863 if (PyErr_Occurred()) SWIG_fail
;
37866 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37874 static PyObject
*_wrap_GBSpan_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37875 PyObject
*resultobj
;
37876 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37877 int arg2
= (int) 1 ;
37878 int arg3
= (int) 1 ;
37879 PyObject
* obj0
= 0 ;
37880 PyObject
* obj1
= 0 ;
37881 PyObject
* obj2
= 0 ;
37882 char *kwnames
[] = {
37883 (char *) "self",(char *) "rowspan",(char *) "colspan", NULL
37886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBSpan_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37887 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37888 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37890 arg2
= (int)SWIG_As_int(obj1
);
37891 if (PyErr_Occurred()) SWIG_fail
;
37894 arg3
= (int)SWIG_As_int(obj2
);
37895 if (PyErr_Occurred()) SWIG_fail
;
37898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37899 wxGBSpan_Set(arg1
,arg2
,arg3
);
37901 wxPyEndAllowThreads(__tstate
);
37902 if (PyErr_Occurred()) SWIG_fail
;
37904 Py_INCREF(Py_None
); resultobj
= Py_None
;
37911 static PyObject
*_wrap_GBSpan_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37912 PyObject
*resultobj
;
37913 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37915 PyObject
* obj0
= 0 ;
37916 char *kwnames
[] = {
37917 (char *) "self", NULL
37920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_Get",kwnames
,&obj0
)) goto fail
;
37921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37925 result
= (PyObject
*)wxGBSpan_Get(arg1
);
37927 wxPyEndAllowThreads(__tstate
);
37928 if (PyErr_Occurred()) SWIG_fail
;
37930 resultobj
= result
;
37937 static PyObject
* GBSpan_swigregister(PyObject
*, PyObject
*args
) {
37939 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37940 SWIG_TypeClientData(SWIGTYPE_p_wxGBSpan
, obj
);
37942 return Py_BuildValue((char *)"");
37944 static int _wrap_DefaultSpan_set(PyObject
*) {
37945 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSpan is read-only.");
37950 static PyObject
*_wrap_DefaultSpan_get() {
37953 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultSpan
), SWIGTYPE_p_wxGBSpan
, 0);
37958 static PyObject
*_wrap_new_GBSizerItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37959 PyObject
*resultobj
;
37960 wxGBSizerItem
*result
;
37961 char *kwnames
[] = {
37965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GBSizerItem",kwnames
)) goto fail
;
37967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37968 result
= (wxGBSizerItem
*)new wxGBSizerItem();
37970 wxPyEndAllowThreads(__tstate
);
37971 if (PyErr_Occurred()) SWIG_fail
;
37973 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
37980 static PyObject
*_wrap_new_GBSizerItemWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37981 PyObject
*resultobj
;
37982 wxWindow
*arg1
= (wxWindow
*) 0 ;
37983 wxGBPosition
*arg2
= 0 ;
37984 wxGBSpan
*arg3
= 0 ;
37987 PyObject
*arg6
= (PyObject
*) NULL
;
37988 wxGBSizerItem
*result
;
37989 wxGBPosition temp2
;
37991 PyObject
* obj0
= 0 ;
37992 PyObject
* obj1
= 0 ;
37993 PyObject
* obj2
= 0 ;
37994 PyObject
* obj3
= 0 ;
37995 PyObject
* obj4
= 0 ;
37996 PyObject
* obj5
= 0 ;
37997 char *kwnames
[] = {
37998 (char *) "window",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
38001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_GBSizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
38002 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
38003 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38006 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
38010 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
38012 arg4
= (int)SWIG_As_int(obj3
);
38013 if (PyErr_Occurred()) SWIG_fail
;
38014 arg5
= (int)SWIG_As_int(obj4
);
38015 if (PyErr_Occurred()) SWIG_fail
;
38020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38021 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
38023 wxPyEndAllowThreads(__tstate
);
38024 if (PyErr_Occurred()) SWIG_fail
;
38026 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
38033 static PyObject
*_wrap_new_GBSizerItemSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38034 PyObject
*resultobj
;
38035 wxSizer
*arg1
= (wxSizer
*) 0 ;
38036 wxGBPosition
*arg2
= 0 ;
38037 wxGBSpan
*arg3
= 0 ;
38040 PyObject
*arg6
= (PyObject
*) NULL
;
38041 wxGBSizerItem
*result
;
38042 wxGBPosition temp2
;
38044 PyObject
* obj0
= 0 ;
38045 PyObject
* obj1
= 0 ;
38046 PyObject
* obj2
= 0 ;
38047 PyObject
* obj3
= 0 ;
38048 PyObject
* obj4
= 0 ;
38049 PyObject
* obj5
= 0 ;
38050 char *kwnames
[] = {
38051 (char *) "sizer",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
38054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_GBSizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
38055 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
38056 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38059 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
38063 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
38065 arg4
= (int)SWIG_As_int(obj3
);
38066 if (PyErr_Occurred()) SWIG_fail
;
38067 arg5
= (int)SWIG_As_int(obj4
);
38068 if (PyErr_Occurred()) SWIG_fail
;
38073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38074 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
38076 wxPyEndAllowThreads(__tstate
);
38077 if (PyErr_Occurred()) SWIG_fail
;
38079 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
38086 static PyObject
*_wrap_new_GBSizerItemSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38087 PyObject
*resultobj
;
38090 wxGBPosition
*arg3
= 0 ;
38091 wxGBSpan
*arg4
= 0 ;
38094 PyObject
*arg7
= (PyObject
*) NULL
;
38095 wxGBSizerItem
*result
;
38096 wxGBPosition temp3
;
38098 PyObject
* obj0
= 0 ;
38099 PyObject
* obj1
= 0 ;
38100 PyObject
* obj2
= 0 ;
38101 PyObject
* obj3
= 0 ;
38102 PyObject
* obj4
= 0 ;
38103 PyObject
* obj5
= 0 ;
38104 PyObject
* obj6
= 0 ;
38105 char *kwnames
[] = {
38106 (char *) "width",(char *) "height",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
38109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:new_GBSizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
38110 arg1
= (int)SWIG_As_int(obj0
);
38111 if (PyErr_Occurred()) SWIG_fail
;
38112 arg2
= (int)SWIG_As_int(obj1
);
38113 if (PyErr_Occurred()) SWIG_fail
;
38116 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
38120 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
38122 arg5
= (int)SWIG_As_int(obj4
);
38123 if (PyErr_Occurred()) SWIG_fail
;
38124 arg6
= (int)SWIG_As_int(obj5
);
38125 if (PyErr_Occurred()) SWIG_fail
;
38130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38131 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
38133 wxPyEndAllowThreads(__tstate
);
38134 if (PyErr_Occurred()) SWIG_fail
;
38136 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
38143 static PyObject
*_wrap_GBSizerItem_GetPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38144 PyObject
*resultobj
;
38145 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
38146 wxGBPosition result
;
38147 PyObject
* obj0
= 0 ;
38148 char *kwnames
[] = {
38149 (char *) "self", NULL
38152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetPos",kwnames
,&obj0
)) goto fail
;
38153 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
38154 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38157 result
= ((wxGBSizerItem
const *)arg1
)->GetPos();
38159 wxPyEndAllowThreads(__tstate
);
38160 if (PyErr_Occurred()) SWIG_fail
;
38163 wxGBPosition
* resultptr
;
38164 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
38165 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
38173 static PyObject
*_wrap_GBSizerItem_GetSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38174 PyObject
*resultobj
;
38175 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
38177 PyObject
* obj0
= 0 ;
38178 char *kwnames
[] = {
38179 (char *) "self", NULL
38182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetSpan",kwnames
,&obj0
)) goto fail
;
38183 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
38184 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38187 result
= ((wxGBSizerItem
const *)arg1
)->GetSpan();
38189 wxPyEndAllowThreads(__tstate
);
38190 if (PyErr_Occurred()) SWIG_fail
;
38193 wxGBSpan
* resultptr
;
38194 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
38195 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
38203 static PyObject
*_wrap_GBSizerItem_SetPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38204 PyObject
*resultobj
;
38205 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
38206 wxGBPosition
*arg2
= 0 ;
38208 wxGBPosition temp2
;
38209 PyObject
* obj0
= 0 ;
38210 PyObject
* obj1
= 0 ;
38211 char *kwnames
[] = {
38212 (char *) "self",(char *) "pos", NULL
38215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetPos",kwnames
,&obj0
,&obj1
)) goto fail
;
38216 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
38217 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38220 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
38223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38224 result
= (bool)(arg1
)->SetPos((wxGBPosition
const &)*arg2
);
38226 wxPyEndAllowThreads(__tstate
);
38227 if (PyErr_Occurred()) SWIG_fail
;
38230 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38238 static PyObject
*_wrap_GBSizerItem_SetSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38239 PyObject
*resultobj
;
38240 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
38241 wxGBSpan
*arg2
= 0 ;
38244 PyObject
* obj0
= 0 ;
38245 PyObject
* obj1
= 0 ;
38246 char *kwnames
[] = {
38247 (char *) "self",(char *) "span", NULL
38250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
38251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
38252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38255 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
38258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38259 result
= (bool)(arg1
)->SetSpan((wxGBSpan
const &)*arg2
);
38261 wxPyEndAllowThreads(__tstate
);
38262 if (PyErr_Occurred()) SWIG_fail
;
38265 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38273 static PyObject
*_wrap_GBSizerItem_Intersects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38274 PyObject
*resultobj
;
38275 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
38276 wxGBSizerItem
*arg2
= 0 ;
38278 PyObject
* obj0
= 0 ;
38279 PyObject
* obj1
= 0 ;
38280 char *kwnames
[] = {
38281 (char *) "self",(char *) "other", NULL
38284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_Intersects",kwnames
,&obj0
,&obj1
)) goto fail
;
38285 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
38286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38287 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGBSizerItem
,
38288 SWIG_POINTER_EXCEPTION
| 0)) == -1)
38290 if (arg2
== NULL
) {
38291 PyErr_SetString(PyExc_TypeError
,"null reference");
38295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38296 result
= (bool)(arg1
)->Intersects((wxGBSizerItem
const &)*arg2
);
38298 wxPyEndAllowThreads(__tstate
);
38299 if (PyErr_Occurred()) SWIG_fail
;
38302 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38310 static PyObject
*_wrap_GBSizerItem_IntersectsPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38311 PyObject
*resultobj
;
38312 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
38313 wxGBPosition
*arg2
= 0 ;
38314 wxGBSpan
*arg3
= 0 ;
38316 wxGBPosition temp2
;
38318 PyObject
* obj0
= 0 ;
38319 PyObject
* obj1
= 0 ;
38320 PyObject
* obj2
= 0 ;
38321 char *kwnames
[] = {
38322 (char *) "self",(char *) "pos",(char *) "span", NULL
38325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GBSizerItem_IntersectsPos",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38326 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
38327 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38330 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
38334 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
38337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38338 result
= (bool)(arg1
)->Intersects((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
);
38340 wxPyEndAllowThreads(__tstate
);
38341 if (PyErr_Occurred()) SWIG_fail
;
38344 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38352 static PyObject
*_wrap_GBSizerItem_GetEndPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38353 PyObject
*resultobj
;
38354 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
38355 wxGBPosition result
;
38356 PyObject
* obj0
= 0 ;
38357 char *kwnames
[] = {
38358 (char *) "self", NULL
38361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetEndPos",kwnames
,&obj0
)) goto fail
;
38362 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
38363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38366 result
= wxGBSizerItem_GetEndPos(arg1
);
38368 wxPyEndAllowThreads(__tstate
);
38369 if (PyErr_Occurred()) SWIG_fail
;
38372 wxGBPosition
* resultptr
;
38373 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
38374 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
38382 static PyObject
*_wrap_GBSizerItem_GetGBSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38383 PyObject
*resultobj
;
38384 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
38385 wxGridBagSizer
*result
;
38386 PyObject
* obj0
= 0 ;
38387 char *kwnames
[] = {
38388 (char *) "self", NULL
38391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetGBSizer",kwnames
,&obj0
)) goto fail
;
38392 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
38393 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38396 result
= (wxGridBagSizer
*)((wxGBSizerItem
const *)arg1
)->GetGBSizer();
38398 wxPyEndAllowThreads(__tstate
);
38399 if (PyErr_Occurred()) SWIG_fail
;
38401 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridBagSizer
, 0);
38408 static PyObject
*_wrap_GBSizerItem_SetGBSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38409 PyObject
*resultobj
;
38410 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
38411 wxGridBagSizer
*arg2
= (wxGridBagSizer
*) 0 ;
38412 PyObject
* obj0
= 0 ;
38413 PyObject
* obj1
= 0 ;
38414 char *kwnames
[] = {
38415 (char *) "self",(char *) "sizer", NULL
38418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetGBSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
38419 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
38420 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38421 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridBagSizer
,
38422 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38425 (arg1
)->SetGBSizer(arg2
);
38427 wxPyEndAllowThreads(__tstate
);
38428 if (PyErr_Occurred()) SWIG_fail
;
38430 Py_INCREF(Py_None
); resultobj
= Py_None
;
38437 static PyObject
* GBSizerItem_swigregister(PyObject
*, PyObject
*args
) {
38439 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
38440 SWIG_TypeClientData(SWIGTYPE_p_wxGBSizerItem
, obj
);
38442 return Py_BuildValue((char *)"");
38444 static PyObject
*_wrap_new_GridBagSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38445 PyObject
*resultobj
;
38446 int arg1
= (int) 0 ;
38447 int arg2
= (int) 0 ;
38448 wxGridBagSizer
*result
;
38449 PyObject
* obj0
= 0 ;
38450 PyObject
* obj1
= 0 ;
38451 char *kwnames
[] = {
38452 (char *) "vgap",(char *) "hgap", NULL
38455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridBagSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
38457 arg1
= (int)SWIG_As_int(obj0
);
38458 if (PyErr_Occurred()) SWIG_fail
;
38461 arg2
= (int)SWIG_As_int(obj1
);
38462 if (PyErr_Occurred()) SWIG_fail
;
38465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38466 result
= (wxGridBagSizer
*)new wxGridBagSizer(arg1
,arg2
);
38468 wxPyEndAllowThreads(__tstate
);
38469 if (PyErr_Occurred()) SWIG_fail
;
38471 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridBagSizer
, 1);
38478 static PyObject
*_wrap_GridBagSizer_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38479 PyObject
*resultobj
;
38480 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38481 PyObject
*arg2
= (PyObject
*) 0 ;
38482 wxGBPosition
*arg3
= 0 ;
38483 wxGBSpan
const &arg4_defvalue
= wxDefaultSpan
;
38484 wxGBSpan
*arg4
= (wxGBSpan
*) &arg4_defvalue
;
38485 int arg5
= (int) 0 ;
38486 int arg6
= (int) 0 ;
38487 PyObject
*arg7
= (PyObject
*) NULL
;
38489 wxGBPosition temp3
;
38491 PyObject
* obj0
= 0 ;
38492 PyObject
* obj1
= 0 ;
38493 PyObject
* obj2
= 0 ;
38494 PyObject
* obj3
= 0 ;
38495 PyObject
* obj4
= 0 ;
38496 PyObject
* obj5
= 0 ;
38497 PyObject
* obj6
= 0 ;
38498 char *kwnames
[] = {
38499 (char *) "self",(char *) "item",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
38502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:GridBagSizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
38503 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38508 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
38513 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
38517 arg5
= (int)SWIG_As_int(obj4
);
38518 if (PyErr_Occurred()) SWIG_fail
;
38521 arg6
= (int)SWIG_As_int(obj5
);
38522 if (PyErr_Occurred()) SWIG_fail
;
38528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38529 result
= (bool)wxGridBagSizer_Add(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
38531 wxPyEndAllowThreads(__tstate
);
38532 if (PyErr_Occurred()) SWIG_fail
;
38535 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38543 static PyObject
*_wrap_GridBagSizer_AddItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38544 PyObject
*resultobj
;
38545 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38546 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
38548 PyObject
* obj0
= 0 ;
38549 PyObject
* obj1
= 0 ;
38550 char *kwnames
[] = {
38551 (char *) "self",(char *) "item", NULL
38554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
38555 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38556 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38557 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGBSizerItem
,
38558 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38561 result
= (bool)(arg1
)->Add(arg2
);
38563 wxPyEndAllowThreads(__tstate
);
38564 if (PyErr_Occurred()) SWIG_fail
;
38567 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38575 static PyObject
*_wrap_GridBagSizer_GetEmptyCellSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38576 PyObject
*resultobj
;
38577 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38579 PyObject
* obj0
= 0 ;
38580 char *kwnames
[] = {
38581 (char *) "self", NULL
38584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridBagSizer_GetEmptyCellSize",kwnames
,&obj0
)) goto fail
;
38585 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38589 result
= ((wxGridBagSizer
const *)arg1
)->GetEmptyCellSize();
38591 wxPyEndAllowThreads(__tstate
);
38592 if (PyErr_Occurred()) SWIG_fail
;
38595 wxSize
* resultptr
;
38596 resultptr
= new wxSize((wxSize
&) result
);
38597 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
38605 static PyObject
*_wrap_GridBagSizer_SetEmptyCellSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38606 PyObject
*resultobj
;
38607 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38610 PyObject
* obj0
= 0 ;
38611 PyObject
* obj1
= 0 ;
38612 char *kwnames
[] = {
38613 (char *) "self",(char *) "sz", NULL
38616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_SetEmptyCellSize",kwnames
,&obj0
,&obj1
)) goto fail
;
38617 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38618 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38621 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
38624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38625 (arg1
)->SetEmptyCellSize((wxSize
const &)*arg2
);
38627 wxPyEndAllowThreads(__tstate
);
38628 if (PyErr_Occurred()) SWIG_fail
;
38630 Py_INCREF(Py_None
); resultobj
= Py_None
;
38637 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_0(PyObject
*, PyObject
*args
) {
38638 PyObject
*resultobj
;
38639 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38640 wxWindow
*arg2
= (wxWindow
*) 0 ;
38641 wxGBPosition result
;
38642 PyObject
* obj0
= 0 ;
38643 PyObject
* obj1
= 0 ;
38645 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
38646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38648 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
38649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38652 result
= (arg1
)->GetItemPosition(arg2
);
38654 wxPyEndAllowThreads(__tstate
);
38655 if (PyErr_Occurred()) SWIG_fail
;
38658 wxGBPosition
* resultptr
;
38659 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
38660 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
38668 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_1(PyObject
*, PyObject
*args
) {
38669 PyObject
*resultobj
;
38670 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38671 wxSizer
*arg2
= (wxSizer
*) 0 ;
38672 wxGBPosition result
;
38673 PyObject
* obj0
= 0 ;
38674 PyObject
* obj1
= 0 ;
38676 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
38677 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38678 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38679 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
38680 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38683 result
= (arg1
)->GetItemPosition(arg2
);
38685 wxPyEndAllowThreads(__tstate
);
38686 if (PyErr_Occurred()) SWIG_fail
;
38689 wxGBPosition
* resultptr
;
38690 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
38691 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
38699 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_2(PyObject
*, PyObject
*args
) {
38700 PyObject
*resultobj
;
38701 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38703 wxGBPosition result
;
38704 PyObject
* obj0
= 0 ;
38705 PyObject
* obj1
= 0 ;
38707 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
38708 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38709 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38710 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
38711 if (PyErr_Occurred()) SWIG_fail
;
38713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38714 result
= (arg1
)->GetItemPosition(arg2
);
38716 wxPyEndAllowThreads(__tstate
);
38717 if (PyErr_Occurred()) SWIG_fail
;
38720 wxGBPosition
* resultptr
;
38721 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
38722 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
38730 static PyObject
*_wrap_GridBagSizer_GetItemPosition(PyObject
*self
, PyObject
*args
) {
38735 argc
= PyObject_Length(args
);
38736 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
38737 argv
[ii
] = PyTuple_GetItem(args
,ii
);
38743 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38753 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
38761 return _wrap_GridBagSizer_GetItemPosition__SWIG_0(self
,args
);
38769 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38779 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
38787 return _wrap_GridBagSizer_GetItemPosition__SWIG_1(self
,args
);
38795 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38803 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
38805 return _wrap_GridBagSizer_GetItemPosition__SWIG_2(self
,args
);
38810 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_GetItemPosition'");
38815 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_0(PyObject
*, PyObject
*args
) {
38816 PyObject
*resultobj
;
38817 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38818 wxWindow
*arg2
= (wxWindow
*) 0 ;
38819 wxGBPosition
*arg3
= 0 ;
38821 wxGBPosition temp3
;
38822 PyObject
* obj0
= 0 ;
38823 PyObject
* obj1
= 0 ;
38824 PyObject
* obj2
= 0 ;
38826 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
38827 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38828 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38829 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
38830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38833 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
38836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38837 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
38839 wxPyEndAllowThreads(__tstate
);
38840 if (PyErr_Occurred()) SWIG_fail
;
38843 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38851 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_1(PyObject
*, PyObject
*args
) {
38852 PyObject
*resultobj
;
38853 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38854 wxSizer
*arg2
= (wxSizer
*) 0 ;
38855 wxGBPosition
*arg3
= 0 ;
38857 wxGBPosition temp3
;
38858 PyObject
* obj0
= 0 ;
38859 PyObject
* obj1
= 0 ;
38860 PyObject
* obj2
= 0 ;
38862 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
38863 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38864 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38865 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
38866 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38869 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
38872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38873 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
38875 wxPyEndAllowThreads(__tstate
);
38876 if (PyErr_Occurred()) SWIG_fail
;
38879 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38887 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_2(PyObject
*, PyObject
*args
) {
38888 PyObject
*resultobj
;
38889 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38891 wxGBPosition
*arg3
= 0 ;
38893 wxGBPosition temp3
;
38894 PyObject
* obj0
= 0 ;
38895 PyObject
* obj1
= 0 ;
38896 PyObject
* obj2
= 0 ;
38898 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
38899 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38900 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38901 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
38902 if (PyErr_Occurred()) SWIG_fail
;
38905 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
38908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38909 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
38911 wxPyEndAllowThreads(__tstate
);
38912 if (PyErr_Occurred()) SWIG_fail
;
38915 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38923 static PyObject
*_wrap_GridBagSizer_SetItemPosition(PyObject
*self
, PyObject
*args
) {
38928 argc
= PyObject_Length(args
);
38929 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
38930 argv
[ii
] = PyTuple_GetItem(args
,ii
);
38936 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38946 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
38955 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
38958 return _wrap_GridBagSizer_SetItemPosition__SWIG_0(self
,args
);
38967 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38977 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
38986 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
38989 return _wrap_GridBagSizer_SetItemPosition__SWIG_1(self
,args
);
38998 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39006 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
39009 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
39012 return _wrap_GridBagSizer_SetItemPosition__SWIG_2(self
,args
);
39018 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_SetItemPosition'");
39023 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_0(PyObject
*, PyObject
*args
) {
39024 PyObject
*resultobj
;
39025 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39026 wxWindow
*arg2
= (wxWindow
*) 0 ;
39028 PyObject
* obj0
= 0 ;
39029 PyObject
* obj1
= 0 ;
39031 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
39032 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39034 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39035 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39038 result
= (arg1
)->GetItemSpan(arg2
);
39040 wxPyEndAllowThreads(__tstate
);
39041 if (PyErr_Occurred()) SWIG_fail
;
39044 wxGBSpan
* resultptr
;
39045 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
39046 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
39054 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_1(PyObject
*, PyObject
*args
) {
39055 PyObject
*resultobj
;
39056 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39057 wxSizer
*arg2
= (wxSizer
*) 0 ;
39059 PyObject
* obj0
= 0 ;
39060 PyObject
* obj1
= 0 ;
39062 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
39063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39065 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
39066 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39069 result
= (arg1
)->GetItemSpan(arg2
);
39071 wxPyEndAllowThreads(__tstate
);
39072 if (PyErr_Occurred()) SWIG_fail
;
39075 wxGBSpan
* resultptr
;
39076 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
39077 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
39085 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_2(PyObject
*, PyObject
*args
) {
39086 PyObject
*resultobj
;
39087 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39090 PyObject
* obj0
= 0 ;
39091 PyObject
* obj1
= 0 ;
39093 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
39094 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39095 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39096 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
39097 if (PyErr_Occurred()) SWIG_fail
;
39099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39100 result
= (arg1
)->GetItemSpan(arg2
);
39102 wxPyEndAllowThreads(__tstate
);
39103 if (PyErr_Occurred()) SWIG_fail
;
39106 wxGBSpan
* resultptr
;
39107 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
39108 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
39116 static PyObject
*_wrap_GridBagSizer_GetItemSpan(PyObject
*self
, PyObject
*args
) {
39121 argc
= PyObject_Length(args
);
39122 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
39123 argv
[ii
] = PyTuple_GetItem(args
,ii
);
39129 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39139 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
39147 return _wrap_GridBagSizer_GetItemSpan__SWIG_0(self
,args
);
39155 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39165 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
39173 return _wrap_GridBagSizer_GetItemSpan__SWIG_1(self
,args
);
39181 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39189 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
39191 return _wrap_GridBagSizer_GetItemSpan__SWIG_2(self
,args
);
39196 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_GetItemSpan'");
39201 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_0(PyObject
*, PyObject
*args
) {
39202 PyObject
*resultobj
;
39203 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39204 wxWindow
*arg2
= (wxWindow
*) 0 ;
39205 wxGBSpan
*arg3
= 0 ;
39208 PyObject
* obj0
= 0 ;
39209 PyObject
* obj1
= 0 ;
39210 PyObject
* obj2
= 0 ;
39212 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
39213 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39215 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39216 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39219 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
39222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39223 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
39225 wxPyEndAllowThreads(__tstate
);
39226 if (PyErr_Occurred()) SWIG_fail
;
39229 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39237 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_1(PyObject
*, PyObject
*args
) {
39238 PyObject
*resultobj
;
39239 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39240 wxSizer
*arg2
= (wxSizer
*) 0 ;
39241 wxGBSpan
*arg3
= 0 ;
39244 PyObject
* obj0
= 0 ;
39245 PyObject
* obj1
= 0 ;
39246 PyObject
* obj2
= 0 ;
39248 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
39249 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39251 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
39252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39255 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
39258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39259 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
39261 wxPyEndAllowThreads(__tstate
);
39262 if (PyErr_Occurred()) SWIG_fail
;
39265 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39273 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_2(PyObject
*, PyObject
*args
) {
39274 PyObject
*resultobj
;
39275 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39277 wxGBSpan
*arg3
= 0 ;
39280 PyObject
* obj0
= 0 ;
39281 PyObject
* obj1
= 0 ;
39282 PyObject
* obj2
= 0 ;
39284 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
39285 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39287 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
39288 if (PyErr_Occurred()) SWIG_fail
;
39291 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
39294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39295 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
39297 wxPyEndAllowThreads(__tstate
);
39298 if (PyErr_Occurred()) SWIG_fail
;
39301 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39309 static PyObject
*_wrap_GridBagSizer_SetItemSpan(PyObject
*self
, PyObject
*args
) {
39314 argc
= PyObject_Length(args
);
39315 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
39316 argv
[ii
] = PyTuple_GetItem(args
,ii
);
39322 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39332 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
39341 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
39344 return _wrap_GridBagSizer_SetItemSpan__SWIG_0(self
,args
);
39353 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39363 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
39372 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
39375 return _wrap_GridBagSizer_SetItemSpan__SWIG_1(self
,args
);
39384 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39392 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
39395 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
39398 return _wrap_GridBagSizer_SetItemSpan__SWIG_2(self
,args
);
39404 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_SetItemSpan'");
39409 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_0(PyObject
*, PyObject
*args
) {
39410 PyObject
*resultobj
;
39411 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39412 wxWindow
*arg2
= (wxWindow
*) 0 ;
39413 wxGBSizerItem
*result
;
39414 PyObject
* obj0
= 0 ;
39415 PyObject
* obj1
= 0 ;
39417 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
39418 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39419 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39420 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39421 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39424 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
39426 wxPyEndAllowThreads(__tstate
);
39427 if (PyErr_Occurred()) SWIG_fail
;
39429 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
39436 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_1(PyObject
*, PyObject
*args
) {
39437 PyObject
*resultobj
;
39438 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39439 wxSizer
*arg2
= (wxSizer
*) 0 ;
39440 wxGBSizerItem
*result
;
39441 PyObject
* obj0
= 0 ;
39442 PyObject
* obj1
= 0 ;
39444 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
39445 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39447 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
39448 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39451 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
39453 wxPyEndAllowThreads(__tstate
);
39454 if (PyErr_Occurred()) SWIG_fail
;
39456 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
39463 static PyObject
*_wrap_GridBagSizer_FindItem(PyObject
*self
, PyObject
*args
) {
39468 argc
= PyObject_Length(args
);
39469 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
39470 argv
[ii
] = PyTuple_GetItem(args
,ii
);
39476 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39486 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
39494 return _wrap_GridBagSizer_FindItem__SWIG_0(self
,args
);
39502 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39512 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
39520 return _wrap_GridBagSizer_FindItem__SWIG_1(self
,args
);
39525 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_FindItem'");
39530 static PyObject
*_wrap_GridBagSizer_FindItemAtPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39531 PyObject
*resultobj
;
39532 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39533 wxGBPosition
*arg2
= 0 ;
39534 wxGBSizerItem
*result
;
39535 wxGBPosition temp2
;
39536 PyObject
* obj0
= 0 ;
39537 PyObject
* obj1
= 0 ;
39538 char *kwnames
[] = {
39539 (char *) "self",(char *) "pos", NULL
39542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
39543 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39544 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39547 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
39550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39551 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPosition((wxGBPosition
const &)*arg2
);
39553 wxPyEndAllowThreads(__tstate
);
39554 if (PyErr_Occurred()) SWIG_fail
;
39556 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
39563 static PyObject
*_wrap_GridBagSizer_FindItemAtPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39564 PyObject
*resultobj
;
39565 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39566 wxPoint
*arg2
= 0 ;
39567 wxGBSizerItem
*result
;
39569 PyObject
* obj0
= 0 ;
39570 PyObject
* obj1
= 0 ;
39571 char *kwnames
[] = {
39572 (char *) "self",(char *) "pt", NULL
39575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
39576 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39580 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
39583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39584 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPoint((wxPoint
const &)*arg2
);
39586 wxPyEndAllowThreads(__tstate
);
39587 if (PyErr_Occurred()) SWIG_fail
;
39589 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
39596 static PyObject
*_wrap_GridBagSizer_CheckForIntersection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39597 PyObject
*resultobj
;
39598 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39599 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
39600 wxGBSizerItem
*arg3
= (wxGBSizerItem
*) NULL
;
39602 PyObject
* obj0
= 0 ;
39603 PyObject
* obj1
= 0 ;
39604 PyObject
* obj2
= 0 ;
39605 char *kwnames
[] = {
39606 (char *) "self",(char *) "item",(char *) "excludeItem", NULL
39609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GridBagSizer_CheckForIntersection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39610 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39611 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39612 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGBSizerItem
,
39613 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39615 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxGBSizerItem
,
39616 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39620 result
= (bool)(arg1
)->CheckForIntersection(arg2
,arg3
);
39622 wxPyEndAllowThreads(__tstate
);
39623 if (PyErr_Occurred()) SWIG_fail
;
39626 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39634 static PyObject
*_wrap_GridBagSizer_CheckForIntersectionPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39635 PyObject
*resultobj
;
39636 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39637 wxGBPosition
*arg2
= 0 ;
39638 wxGBSpan
*arg3
= 0 ;
39639 wxGBSizerItem
*arg4
= (wxGBSizerItem
*) NULL
;
39641 wxGBPosition temp2
;
39643 PyObject
* obj0
= 0 ;
39644 PyObject
* obj1
= 0 ;
39645 PyObject
* obj2
= 0 ;
39646 PyObject
* obj3
= 0 ;
39647 char *kwnames
[] = {
39648 (char *) "self",(char *) "pos",(char *) "span",(char *) "excludeItem", NULL
39651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:GridBagSizer_CheckForIntersectionPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
39652 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39653 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39656 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
39660 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
39663 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxGBSizerItem
,
39664 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39668 result
= (bool)(arg1
)->CheckForIntersection((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
);
39670 wxPyEndAllowThreads(__tstate
);
39671 if (PyErr_Occurred()) SWIG_fail
;
39674 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39682 static PyObject
* GridBagSizer_swigregister(PyObject
*, PyObject
*args
) {
39684 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
39685 SWIG_TypeClientData(SWIGTYPE_p_wxGridBagSizer
, obj
);
39687 return Py_BuildValue((char *)"");
39689 static PyObject
*_wrap_IndividualLayoutConstraint_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39690 PyObject
*resultobj
;
39691 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39693 wxWindow
*arg3
= (wxWindow
*) 0 ;
39695 int arg5
= (int) 0 ;
39696 int arg6
= (int) wxLAYOUT_DEFAULT_MARGIN
;
39697 PyObject
* obj0
= 0 ;
39698 PyObject
* obj1
= 0 ;
39699 PyObject
* obj2
= 0 ;
39700 PyObject
* obj3
= 0 ;
39701 PyObject
* obj4
= 0 ;
39702 PyObject
* obj5
= 0 ;
39703 char *kwnames
[] = {
39704 (char *) "self",(char *) "rel",(char *) "otherW",(char *) "otherE",(char *) "val",(char *) "marg", NULL
39707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:IndividualLayoutConstraint_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
39708 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39709 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39710 arg2
= (int)SWIG_As_int(obj1
);
39711 if (PyErr_Occurred()) SWIG_fail
;
39712 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
39713 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39714 arg4
= (int)SWIG_As_int(obj3
);
39715 if (PyErr_Occurred()) SWIG_fail
;
39717 arg5
= (int)SWIG_As_int(obj4
);
39718 if (PyErr_Occurred()) SWIG_fail
;
39721 arg6
= (int)SWIG_As_int(obj5
);
39722 if (PyErr_Occurred()) SWIG_fail
;
39725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39726 (arg1
)->Set((wxRelationship
)arg2
,arg3
,(wxEdge
)arg4
,arg5
,arg6
);
39728 wxPyEndAllowThreads(__tstate
);
39729 if (PyErr_Occurred()) SWIG_fail
;
39731 Py_INCREF(Py_None
); resultobj
= Py_None
;
39738 static PyObject
*_wrap_IndividualLayoutConstraint_LeftOf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39739 PyObject
*resultobj
;
39740 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39741 wxWindow
*arg2
= (wxWindow
*) 0 ;
39742 int arg3
= (int) 0 ;
39743 PyObject
* obj0
= 0 ;
39744 PyObject
* obj1
= 0 ;
39745 PyObject
* obj2
= 0 ;
39746 char *kwnames
[] = {
39747 (char *) "self",(char *) "sibling",(char *) "marg", NULL
39750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_LeftOf",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39751 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39752 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39753 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39754 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39756 arg3
= (int)SWIG_As_int(obj2
);
39757 if (PyErr_Occurred()) SWIG_fail
;
39760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39761 (arg1
)->LeftOf(arg2
,arg3
);
39763 wxPyEndAllowThreads(__tstate
);
39764 if (PyErr_Occurred()) SWIG_fail
;
39766 Py_INCREF(Py_None
); resultobj
= Py_None
;
39773 static PyObject
*_wrap_IndividualLayoutConstraint_RightOf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39774 PyObject
*resultobj
;
39775 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39776 wxWindow
*arg2
= (wxWindow
*) 0 ;
39777 int arg3
= (int) 0 ;
39778 PyObject
* obj0
= 0 ;
39779 PyObject
* obj1
= 0 ;
39780 PyObject
* obj2
= 0 ;
39781 char *kwnames
[] = {
39782 (char *) "self",(char *) "sibling",(char *) "marg", NULL
39785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_RightOf",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39786 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39788 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39791 arg3
= (int)SWIG_As_int(obj2
);
39792 if (PyErr_Occurred()) SWIG_fail
;
39795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39796 (arg1
)->RightOf(arg2
,arg3
);
39798 wxPyEndAllowThreads(__tstate
);
39799 if (PyErr_Occurred()) SWIG_fail
;
39801 Py_INCREF(Py_None
); resultobj
= Py_None
;
39808 static PyObject
*_wrap_IndividualLayoutConstraint_Above(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39809 PyObject
*resultobj
;
39810 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39811 wxWindow
*arg2
= (wxWindow
*) 0 ;
39812 int arg3
= (int) 0 ;
39813 PyObject
* obj0
= 0 ;
39814 PyObject
* obj1
= 0 ;
39815 PyObject
* obj2
= 0 ;
39816 char *kwnames
[] = {
39817 (char *) "self",(char *) "sibling",(char *) "marg", NULL
39820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Above",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39821 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39823 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39824 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39826 arg3
= (int)SWIG_As_int(obj2
);
39827 if (PyErr_Occurred()) SWIG_fail
;
39830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39831 (arg1
)->Above(arg2
,arg3
);
39833 wxPyEndAllowThreads(__tstate
);
39834 if (PyErr_Occurred()) SWIG_fail
;
39836 Py_INCREF(Py_None
); resultobj
= Py_None
;
39843 static PyObject
*_wrap_IndividualLayoutConstraint_Below(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39844 PyObject
*resultobj
;
39845 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39846 wxWindow
*arg2
= (wxWindow
*) 0 ;
39847 int arg3
= (int) 0 ;
39848 PyObject
* obj0
= 0 ;
39849 PyObject
* obj1
= 0 ;
39850 PyObject
* obj2
= 0 ;
39851 char *kwnames
[] = {
39852 (char *) "self",(char *) "sibling",(char *) "marg", NULL
39855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Below",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39856 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39857 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39858 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39859 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39861 arg3
= (int)SWIG_As_int(obj2
);
39862 if (PyErr_Occurred()) SWIG_fail
;
39865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39866 (arg1
)->Below(arg2
,arg3
);
39868 wxPyEndAllowThreads(__tstate
);
39869 if (PyErr_Occurred()) SWIG_fail
;
39871 Py_INCREF(Py_None
); resultobj
= Py_None
;
39878 static PyObject
*_wrap_IndividualLayoutConstraint_SameAs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39879 PyObject
*resultobj
;
39880 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39881 wxWindow
*arg2
= (wxWindow
*) 0 ;
39883 int arg4
= (int) 0 ;
39884 PyObject
* obj0
= 0 ;
39885 PyObject
* obj1
= 0 ;
39886 PyObject
* obj2
= 0 ;
39887 PyObject
* obj3
= 0 ;
39888 char *kwnames
[] = {
39889 (char *) "self",(char *) "otherW",(char *) "edge",(char *) "marg", NULL
39892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:IndividualLayoutConstraint_SameAs",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
39893 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39895 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39897 arg3
= (int)SWIG_As_int(obj2
);
39898 if (PyErr_Occurred()) SWIG_fail
;
39900 arg4
= (int)SWIG_As_int(obj3
);
39901 if (PyErr_Occurred()) SWIG_fail
;
39904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39905 (arg1
)->SameAs(arg2
,(wxEdge
)arg3
,arg4
);
39907 wxPyEndAllowThreads(__tstate
);
39908 if (PyErr_Occurred()) SWIG_fail
;
39910 Py_INCREF(Py_None
); resultobj
= Py_None
;
39917 static PyObject
*_wrap_IndividualLayoutConstraint_PercentOf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39918 PyObject
*resultobj
;
39919 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39920 wxWindow
*arg2
= (wxWindow
*) 0 ;
39923 PyObject
* obj0
= 0 ;
39924 PyObject
* obj1
= 0 ;
39925 PyObject
* obj2
= 0 ;
39926 PyObject
* obj3
= 0 ;
39927 char *kwnames
[] = {
39928 (char *) "self",(char *) "otherW",(char *) "wh",(char *) "per", NULL
39931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_PercentOf",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
39932 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39933 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39934 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39935 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39936 arg3
= (int)SWIG_As_int(obj2
);
39937 if (PyErr_Occurred()) SWIG_fail
;
39938 arg4
= (int)SWIG_As_int(obj3
);
39939 if (PyErr_Occurred()) SWIG_fail
;
39941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39942 (arg1
)->PercentOf(arg2
,(wxEdge
)arg3
,arg4
);
39944 wxPyEndAllowThreads(__tstate
);
39945 if (PyErr_Occurred()) SWIG_fail
;
39947 Py_INCREF(Py_None
); resultobj
= Py_None
;
39954 static PyObject
*_wrap_IndividualLayoutConstraint_Absolute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39955 PyObject
*resultobj
;
39956 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39958 PyObject
* obj0
= 0 ;
39959 PyObject
* obj1
= 0 ;
39960 char *kwnames
[] = {
39961 (char *) "self",(char *) "val", NULL
39964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_Absolute",kwnames
,&obj0
,&obj1
)) goto fail
;
39965 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39966 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39967 arg2
= (int)SWIG_As_int(obj1
);
39968 if (PyErr_Occurred()) SWIG_fail
;
39970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39971 (arg1
)->Absolute(arg2
);
39973 wxPyEndAllowThreads(__tstate
);
39974 if (PyErr_Occurred()) SWIG_fail
;
39976 Py_INCREF(Py_None
); resultobj
= Py_None
;
39983 static PyObject
*_wrap_IndividualLayoutConstraint_Unconstrained(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39984 PyObject
*resultobj
;
39985 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39986 PyObject
* obj0
= 0 ;
39987 char *kwnames
[] = {
39988 (char *) "self", NULL
39991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_Unconstrained",kwnames
,&obj0
)) goto fail
;
39992 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39993 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39996 (arg1
)->Unconstrained();
39998 wxPyEndAllowThreads(__tstate
);
39999 if (PyErr_Occurred()) SWIG_fail
;
40001 Py_INCREF(Py_None
); resultobj
= Py_None
;
40008 static PyObject
*_wrap_IndividualLayoutConstraint_AsIs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40009 PyObject
*resultobj
;
40010 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40011 PyObject
* obj0
= 0 ;
40012 char *kwnames
[] = {
40013 (char *) "self", NULL
40016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_AsIs",kwnames
,&obj0
)) goto fail
;
40017 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40023 wxPyEndAllowThreads(__tstate
);
40024 if (PyErr_Occurred()) SWIG_fail
;
40026 Py_INCREF(Py_None
); resultobj
= Py_None
;
40033 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40034 PyObject
*resultobj
;
40035 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40037 PyObject
* obj0
= 0 ;
40038 char *kwnames
[] = {
40039 (char *) "self", NULL
40042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherWindow",kwnames
,&obj0
)) goto fail
;
40043 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40047 result
= (wxWindow
*)(arg1
)->GetOtherWindow();
40049 wxPyEndAllowThreads(__tstate
);
40050 if (PyErr_Occurred()) SWIG_fail
;
40053 resultobj
= wxPyMake_wxObject(result
, 0);
40061 static PyObject
*_wrap_IndividualLayoutConstraint_GetMyEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40062 PyObject
*resultobj
;
40063 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40065 PyObject
* obj0
= 0 ;
40066 char *kwnames
[] = {
40067 (char *) "self", NULL
40070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMyEdge",kwnames
,&obj0
)) goto fail
;
40071 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40072 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40075 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetMyEdge();
40077 wxPyEndAllowThreads(__tstate
);
40078 if (PyErr_Occurred()) SWIG_fail
;
40080 resultobj
= SWIG_From_int((int)result
);
40087 static PyObject
*_wrap_IndividualLayoutConstraint_SetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40088 PyObject
*resultobj
;
40089 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40091 PyObject
* obj0
= 0 ;
40092 PyObject
* obj1
= 0 ;
40093 char *kwnames
[] = {
40094 (char *) "self",(char *) "which", NULL
40097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetEdge",kwnames
,&obj0
,&obj1
)) goto fail
;
40098 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40100 arg2
= (int)SWIG_As_int(obj1
);
40101 if (PyErr_Occurred()) SWIG_fail
;
40103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40104 (arg1
)->SetEdge((wxEdge
)arg2
);
40106 wxPyEndAllowThreads(__tstate
);
40107 if (PyErr_Occurred()) SWIG_fail
;
40109 Py_INCREF(Py_None
); resultobj
= Py_None
;
40116 static PyObject
*_wrap_IndividualLayoutConstraint_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40117 PyObject
*resultobj
;
40118 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40120 PyObject
* obj0
= 0 ;
40121 PyObject
* obj1
= 0 ;
40122 char *kwnames
[] = {
40123 (char *) "self",(char *) "v", NULL
40126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
40127 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40128 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40129 arg2
= (int)SWIG_As_int(obj1
);
40130 if (PyErr_Occurred()) SWIG_fail
;
40132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40133 (arg1
)->SetValue(arg2
);
40135 wxPyEndAllowThreads(__tstate
);
40136 if (PyErr_Occurred()) SWIG_fail
;
40138 Py_INCREF(Py_None
); resultobj
= Py_None
;
40145 static PyObject
*_wrap_IndividualLayoutConstraint_GetMargin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40146 PyObject
*resultobj
;
40147 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40149 PyObject
* obj0
= 0 ;
40150 char *kwnames
[] = {
40151 (char *) "self", NULL
40154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMargin",kwnames
,&obj0
)) goto fail
;
40155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40159 result
= (int)(arg1
)->GetMargin();
40161 wxPyEndAllowThreads(__tstate
);
40162 if (PyErr_Occurred()) SWIG_fail
;
40164 resultobj
= SWIG_From_int((int)result
);
40171 static PyObject
*_wrap_IndividualLayoutConstraint_SetMargin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40172 PyObject
*resultobj
;
40173 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40175 PyObject
* obj0
= 0 ;
40176 PyObject
* obj1
= 0 ;
40177 char *kwnames
[] = {
40178 (char *) "self",(char *) "m", NULL
40181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetMargin",kwnames
,&obj0
,&obj1
)) goto fail
;
40182 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40184 arg2
= (int)SWIG_As_int(obj1
);
40185 if (PyErr_Occurred()) SWIG_fail
;
40187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40188 (arg1
)->SetMargin(arg2
);
40190 wxPyEndAllowThreads(__tstate
);
40191 if (PyErr_Occurred()) SWIG_fail
;
40193 Py_INCREF(Py_None
); resultobj
= Py_None
;
40200 static PyObject
*_wrap_IndividualLayoutConstraint_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40201 PyObject
*resultobj
;
40202 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40204 PyObject
* obj0
= 0 ;
40205 char *kwnames
[] = {
40206 (char *) "self", NULL
40209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetValue",kwnames
,&obj0
)) goto fail
;
40210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40214 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetValue();
40216 wxPyEndAllowThreads(__tstate
);
40217 if (PyErr_Occurred()) SWIG_fail
;
40219 resultobj
= SWIG_From_int((int)result
);
40226 static PyObject
*_wrap_IndividualLayoutConstraint_GetPercent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40227 PyObject
*resultobj
;
40228 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40230 PyObject
* obj0
= 0 ;
40231 char *kwnames
[] = {
40232 (char *) "self", NULL
40235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetPercent",kwnames
,&obj0
)) goto fail
;
40236 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40240 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetPercent();
40242 wxPyEndAllowThreads(__tstate
);
40243 if (PyErr_Occurred()) SWIG_fail
;
40245 resultobj
= SWIG_From_int((int)result
);
40252 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40253 PyObject
*resultobj
;
40254 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40256 PyObject
* obj0
= 0 ;
40257 char *kwnames
[] = {
40258 (char *) "self", NULL
40261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherEdge",kwnames
,&obj0
)) goto fail
;
40262 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40263 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40266 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetOtherEdge();
40268 wxPyEndAllowThreads(__tstate
);
40269 if (PyErr_Occurred()) SWIG_fail
;
40271 resultobj
= SWIG_From_int((int)result
);
40278 static PyObject
*_wrap_IndividualLayoutConstraint_GetDone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40279 PyObject
*resultobj
;
40280 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40282 PyObject
* obj0
= 0 ;
40283 char *kwnames
[] = {
40284 (char *) "self", NULL
40287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetDone",kwnames
,&obj0
)) goto fail
;
40288 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40289 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40292 result
= (bool)((wxIndividualLayoutConstraint
const *)arg1
)->GetDone();
40294 wxPyEndAllowThreads(__tstate
);
40295 if (PyErr_Occurred()) SWIG_fail
;
40298 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40306 static PyObject
*_wrap_IndividualLayoutConstraint_SetDone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40307 PyObject
*resultobj
;
40308 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40310 PyObject
* obj0
= 0 ;
40311 PyObject
* obj1
= 0 ;
40312 char *kwnames
[] = {
40313 (char *) "self",(char *) "d", NULL
40316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetDone",kwnames
,&obj0
,&obj1
)) goto fail
;
40317 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40319 arg2
= (bool)SWIG_As_bool(obj1
);
40320 if (PyErr_Occurred()) SWIG_fail
;
40322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40323 (arg1
)->SetDone(arg2
);
40325 wxPyEndAllowThreads(__tstate
);
40326 if (PyErr_Occurred()) SWIG_fail
;
40328 Py_INCREF(Py_None
); resultobj
= Py_None
;
40335 static PyObject
*_wrap_IndividualLayoutConstraint_GetRelationship(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40336 PyObject
*resultobj
;
40337 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40339 PyObject
* obj0
= 0 ;
40340 char *kwnames
[] = {
40341 (char *) "self", NULL
40344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetRelationship",kwnames
,&obj0
)) goto fail
;
40345 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40346 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40349 result
= (int)(arg1
)->GetRelationship();
40351 wxPyEndAllowThreads(__tstate
);
40352 if (PyErr_Occurred()) SWIG_fail
;
40354 resultobj
= SWIG_From_int((int)result
);
40361 static PyObject
*_wrap_IndividualLayoutConstraint_SetRelationship(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40362 PyObject
*resultobj
;
40363 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40365 PyObject
* obj0
= 0 ;
40366 PyObject
* obj1
= 0 ;
40367 char *kwnames
[] = {
40368 (char *) "self",(char *) "r", NULL
40371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetRelationship",kwnames
,&obj0
,&obj1
)) goto fail
;
40372 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40374 arg2
= (int)SWIG_As_int(obj1
);
40375 if (PyErr_Occurred()) SWIG_fail
;
40377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40378 (arg1
)->SetRelationship((wxRelationship
)arg2
);
40380 wxPyEndAllowThreads(__tstate
);
40381 if (PyErr_Occurred()) SWIG_fail
;
40383 Py_INCREF(Py_None
); resultobj
= Py_None
;
40390 static PyObject
*_wrap_IndividualLayoutConstraint_ResetIfWin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40391 PyObject
*resultobj
;
40392 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40393 wxWindow
*arg2
= (wxWindow
*) 0 ;
40395 PyObject
* obj0
= 0 ;
40396 PyObject
* obj1
= 0 ;
40397 char *kwnames
[] = {
40398 (char *) "self",(char *) "otherW", NULL
40401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_ResetIfWin",kwnames
,&obj0
,&obj1
)) goto fail
;
40402 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40403 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40404 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
40405 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40408 result
= (bool)(arg1
)->ResetIfWin(arg2
);
40410 wxPyEndAllowThreads(__tstate
);
40411 if (PyErr_Occurred()) SWIG_fail
;
40414 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40422 static PyObject
*_wrap_IndividualLayoutConstraint_SatisfyConstraint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40423 PyObject
*resultobj
;
40424 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40425 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
40426 wxWindow
*arg3
= (wxWindow
*) 0 ;
40428 PyObject
* obj0
= 0 ;
40429 PyObject
* obj1
= 0 ;
40430 PyObject
* obj2
= 0 ;
40431 char *kwnames
[] = {
40432 (char *) "self",(char *) "constraints",(char *) "win", NULL
40435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IndividualLayoutConstraint_SatisfyConstraint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
40436 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40438 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxLayoutConstraints
,
40439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40440 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
40441 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40444 result
= (bool)(arg1
)->SatisfyConstraint(arg2
,arg3
);
40446 wxPyEndAllowThreads(__tstate
);
40447 if (PyErr_Occurred()) SWIG_fail
;
40450 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40458 static PyObject
*_wrap_IndividualLayoutConstraint_GetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40459 PyObject
*resultobj
;
40460 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40462 wxWindow
*arg3
= (wxWindow
*) 0 ;
40463 wxWindow
*arg4
= (wxWindow
*) 0 ;
40465 PyObject
* obj0
= 0 ;
40466 PyObject
* obj1
= 0 ;
40467 PyObject
* obj2
= 0 ;
40468 PyObject
* obj3
= 0 ;
40469 char *kwnames
[] = {
40470 (char *) "self",(char *) "which",(char *) "thisWin",(char *) "other", NULL
40473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_GetEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
40474 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40475 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40476 arg2
= (int)SWIG_As_int(obj1
);
40477 if (PyErr_Occurred()) SWIG_fail
;
40478 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
40479 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40480 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
40481 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40484 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetEdge((wxEdge
)arg2
,arg3
,arg4
);
40486 wxPyEndAllowThreads(__tstate
);
40487 if (PyErr_Occurred()) SWIG_fail
;
40489 resultobj
= SWIG_From_int((int)result
);
40496 static PyObject
* IndividualLayoutConstraint_swigregister(PyObject
*, PyObject
*args
) {
40498 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40499 SWIG_TypeClientData(SWIGTYPE_p_wxIndividualLayoutConstraint
, obj
);
40501 return Py_BuildValue((char *)"");
40503 static PyObject
*_wrap_LayoutConstraints_left_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40504 PyObject
*resultobj
;
40505 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40506 wxIndividualLayoutConstraint
*result
;
40507 PyObject
* obj0
= 0 ;
40508 char *kwnames
[] = {
40509 (char *) "self", NULL
40512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_left_get",kwnames
,&obj0
)) goto fail
;
40513 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40514 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40515 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->left
);
40517 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40524 static PyObject
*_wrap_LayoutConstraints_top_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40525 PyObject
*resultobj
;
40526 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40527 wxIndividualLayoutConstraint
*result
;
40528 PyObject
* obj0
= 0 ;
40529 char *kwnames
[] = {
40530 (char *) "self", NULL
40533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_top_get",kwnames
,&obj0
)) goto fail
;
40534 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40536 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->top
);
40538 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40545 static PyObject
*_wrap_LayoutConstraints_right_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40546 PyObject
*resultobj
;
40547 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40548 wxIndividualLayoutConstraint
*result
;
40549 PyObject
* obj0
= 0 ;
40550 char *kwnames
[] = {
40551 (char *) "self", NULL
40554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_right_get",kwnames
,&obj0
)) goto fail
;
40555 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40556 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40557 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->right
);
40559 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40566 static PyObject
*_wrap_LayoutConstraints_bottom_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40567 PyObject
*resultobj
;
40568 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40569 wxIndividualLayoutConstraint
*result
;
40570 PyObject
* obj0
= 0 ;
40571 char *kwnames
[] = {
40572 (char *) "self", NULL
40575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_bottom_get",kwnames
,&obj0
)) goto fail
;
40576 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40578 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->bottom
);
40580 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40587 static PyObject
*_wrap_LayoutConstraints_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40588 PyObject
*resultobj
;
40589 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40590 wxIndividualLayoutConstraint
*result
;
40591 PyObject
* obj0
= 0 ;
40592 char *kwnames
[] = {
40593 (char *) "self", NULL
40596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_width_get",kwnames
,&obj0
)) goto fail
;
40597 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40598 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40599 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->width
);
40601 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40608 static PyObject
*_wrap_LayoutConstraints_height_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40609 PyObject
*resultobj
;
40610 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40611 wxIndividualLayoutConstraint
*result
;
40612 PyObject
* obj0
= 0 ;
40613 char *kwnames
[] = {
40614 (char *) "self", NULL
40617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_height_get",kwnames
,&obj0
)) goto fail
;
40618 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40620 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->height
);
40622 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40629 static PyObject
*_wrap_LayoutConstraints_centreX_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40630 PyObject
*resultobj
;
40631 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40632 wxIndividualLayoutConstraint
*result
;
40633 PyObject
* obj0
= 0 ;
40634 char *kwnames
[] = {
40635 (char *) "self", NULL
40638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreX_get",kwnames
,&obj0
)) goto fail
;
40639 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40641 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreX
);
40643 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40650 static PyObject
*_wrap_LayoutConstraints_centreY_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40651 PyObject
*resultobj
;
40652 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40653 wxIndividualLayoutConstraint
*result
;
40654 PyObject
* obj0
= 0 ;
40655 char *kwnames
[] = {
40656 (char *) "self", NULL
40659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreY_get",kwnames
,&obj0
)) goto fail
;
40660 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40661 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40662 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreY
);
40664 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40671 static PyObject
*_wrap_new_LayoutConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40672 PyObject
*resultobj
;
40673 wxLayoutConstraints
*result
;
40674 char *kwnames
[] = {
40678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutConstraints",kwnames
)) goto fail
;
40680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40681 result
= (wxLayoutConstraints
*)new wxLayoutConstraints();
40683 wxPyEndAllowThreads(__tstate
);
40684 if (PyErr_Occurred()) SWIG_fail
;
40686 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutConstraints
, 1);
40693 static PyObject
*_wrap_LayoutConstraints_SatisfyConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40694 PyObject
*resultobj
;
40695 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40696 wxWindow
*arg2
= (wxWindow
*) 0 ;
40697 int *arg3
= (int *) 0 ;
40701 PyObject
* obj0
= 0 ;
40702 PyObject
* obj1
= 0 ;
40703 char *kwnames
[] = {
40704 (char *) "self",(char *) "win", NULL
40707 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
40708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LayoutConstraints_SatisfyConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
40709 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40710 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40711 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
40712 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40715 result
= (bool)(arg1
)->SatisfyConstraints(arg2
,arg3
);
40717 wxPyEndAllowThreads(__tstate
);
40718 if (PyErr_Occurred()) SWIG_fail
;
40721 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40723 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
40724 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
40731 static PyObject
*_wrap_LayoutConstraints_AreSatisfied(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40732 PyObject
*resultobj
;
40733 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40735 PyObject
* obj0
= 0 ;
40736 char *kwnames
[] = {
40737 (char *) "self", NULL
40740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_AreSatisfied",kwnames
,&obj0
)) goto fail
;
40741 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40742 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40745 result
= (bool)((wxLayoutConstraints
const *)arg1
)->AreSatisfied();
40747 wxPyEndAllowThreads(__tstate
);
40748 if (PyErr_Occurred()) SWIG_fail
;
40751 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40759 static PyObject
* LayoutConstraints_swigregister(PyObject
*, PyObject
*args
) {
40761 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40762 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutConstraints
, obj
);
40764 return Py_BuildValue((char *)"");
40766 static PyMethodDef SwigMethods
[] = {
40767 { (char *)"_wxPySetDictionary", __wxPySetDictionary
, METH_VARARGS
, NULL
},
40768 { (char *)"_wxPyFixStockObjects", __wxPyFixStockObjects
, METH_VARARGS
, NULL
},
40769 { (char *)"Object_GetClassName", (PyCFunction
) _wrap_Object_GetClassName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40770 { (char *)"Object_Destroy", (PyCFunction
) _wrap_Object_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40771 { (char *)"Object_swigregister", Object_swigregister
, METH_VARARGS
, NULL
},
40772 { (char *)"Size_width_set", (PyCFunction
) _wrap_Size_width_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40773 { (char *)"Size_width_get", (PyCFunction
) _wrap_Size_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40774 { (char *)"Size_height_set", (PyCFunction
) _wrap_Size_height_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40775 { (char *)"Size_height_get", (PyCFunction
) _wrap_Size_height_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40776 { (char *)"new_Size", (PyCFunction
) _wrap_new_Size
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40777 { (char *)"delete_Size", (PyCFunction
) _wrap_delete_Size
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40778 { (char *)"Size___eq__", (PyCFunction
) _wrap_Size___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40779 { (char *)"Size___ne__", (PyCFunction
) _wrap_Size___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40780 { (char *)"Size___add__", (PyCFunction
) _wrap_Size___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40781 { (char *)"Size___sub__", (PyCFunction
) _wrap_Size___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40782 { (char *)"Size_IncTo", (PyCFunction
) _wrap_Size_IncTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40783 { (char *)"Size_DecTo", (PyCFunction
) _wrap_Size_DecTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40784 { (char *)"Size_Set", (PyCFunction
) _wrap_Size_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40785 { (char *)"Size_SetWidth", (PyCFunction
) _wrap_Size_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40786 { (char *)"Size_SetHeight", (PyCFunction
) _wrap_Size_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40787 { (char *)"Size_GetWidth", (PyCFunction
) _wrap_Size_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40788 { (char *)"Size_GetHeight", (PyCFunction
) _wrap_Size_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40789 { (char *)"Size_IsFullySpecified", (PyCFunction
) _wrap_Size_IsFullySpecified
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40790 { (char *)"Size_SetDefaults", (PyCFunction
) _wrap_Size_SetDefaults
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40791 { (char *)"Size_Get", (PyCFunction
) _wrap_Size_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40792 { (char *)"Size_swigregister", Size_swigregister
, METH_VARARGS
, NULL
},
40793 { (char *)"RealPoint_x_set", (PyCFunction
) _wrap_RealPoint_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40794 { (char *)"RealPoint_x_get", (PyCFunction
) _wrap_RealPoint_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40795 { (char *)"RealPoint_y_set", (PyCFunction
) _wrap_RealPoint_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40796 { (char *)"RealPoint_y_get", (PyCFunction
) _wrap_RealPoint_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40797 { (char *)"new_RealPoint", (PyCFunction
) _wrap_new_RealPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40798 { (char *)"delete_RealPoint", (PyCFunction
) _wrap_delete_RealPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40799 { (char *)"RealPoint___eq__", (PyCFunction
) _wrap_RealPoint___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40800 { (char *)"RealPoint___ne__", (PyCFunction
) _wrap_RealPoint___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40801 { (char *)"RealPoint___add__", (PyCFunction
) _wrap_RealPoint___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40802 { (char *)"RealPoint___sub__", (PyCFunction
) _wrap_RealPoint___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40803 { (char *)"RealPoint_Set", (PyCFunction
) _wrap_RealPoint_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40804 { (char *)"RealPoint_Get", (PyCFunction
) _wrap_RealPoint_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40805 { (char *)"RealPoint_swigregister", RealPoint_swigregister
, METH_VARARGS
, NULL
},
40806 { (char *)"Point_x_set", (PyCFunction
) _wrap_Point_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40807 { (char *)"Point_x_get", (PyCFunction
) _wrap_Point_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40808 { (char *)"Point_y_set", (PyCFunction
) _wrap_Point_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40809 { (char *)"Point_y_get", (PyCFunction
) _wrap_Point_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40810 { (char *)"new_Point", (PyCFunction
) _wrap_new_Point
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40811 { (char *)"delete_Point", (PyCFunction
) _wrap_delete_Point
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40812 { (char *)"Point___eq__", (PyCFunction
) _wrap_Point___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40813 { (char *)"Point___ne__", (PyCFunction
) _wrap_Point___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40814 { (char *)"Point___add__", (PyCFunction
) _wrap_Point___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40815 { (char *)"Point___sub__", (PyCFunction
) _wrap_Point___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40816 { (char *)"Point___iadd__", (PyCFunction
) _wrap_Point___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40817 { (char *)"Point___isub__", (PyCFunction
) _wrap_Point___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40818 { (char *)"Point_Set", (PyCFunction
) _wrap_Point_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40819 { (char *)"Point_Get", (PyCFunction
) _wrap_Point_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40820 { (char *)"Point_swigregister", Point_swigregister
, METH_VARARGS
, NULL
},
40821 { (char *)"new_Rect", (PyCFunction
) _wrap_new_Rect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40822 { (char *)"new_RectPP", (PyCFunction
) _wrap_new_RectPP
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40823 { (char *)"new_RectPS", (PyCFunction
) _wrap_new_RectPS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40824 { (char *)"delete_Rect", (PyCFunction
) _wrap_delete_Rect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40825 { (char *)"Rect_GetX", (PyCFunction
) _wrap_Rect_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40826 { (char *)"Rect_SetX", (PyCFunction
) _wrap_Rect_SetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40827 { (char *)"Rect_GetY", (PyCFunction
) _wrap_Rect_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40828 { (char *)"Rect_SetY", (PyCFunction
) _wrap_Rect_SetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40829 { (char *)"Rect_GetWidth", (PyCFunction
) _wrap_Rect_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40830 { (char *)"Rect_SetWidth", (PyCFunction
) _wrap_Rect_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40831 { (char *)"Rect_GetHeight", (PyCFunction
) _wrap_Rect_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40832 { (char *)"Rect_SetHeight", (PyCFunction
) _wrap_Rect_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40833 { (char *)"Rect_GetPosition", (PyCFunction
) _wrap_Rect_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40834 { (char *)"Rect_SetPosition", (PyCFunction
) _wrap_Rect_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40835 { (char *)"Rect_GetSize", (PyCFunction
) _wrap_Rect_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40836 { (char *)"Rect_SetSize", (PyCFunction
) _wrap_Rect_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40837 { (char *)"Rect_GetTopLeft", (PyCFunction
) _wrap_Rect_GetTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40838 { (char *)"Rect_SetTopLeft", (PyCFunction
) _wrap_Rect_SetTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40839 { (char *)"Rect_GetBottomRight", (PyCFunction
) _wrap_Rect_GetBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40840 { (char *)"Rect_SetBottomRight", (PyCFunction
) _wrap_Rect_SetBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40841 { (char *)"Rect_GetLeft", (PyCFunction
) _wrap_Rect_GetLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40842 { (char *)"Rect_GetTop", (PyCFunction
) _wrap_Rect_GetTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40843 { (char *)"Rect_GetBottom", (PyCFunction
) _wrap_Rect_GetBottom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40844 { (char *)"Rect_GetRight", (PyCFunction
) _wrap_Rect_GetRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40845 { (char *)"Rect_SetLeft", (PyCFunction
) _wrap_Rect_SetLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40846 { (char *)"Rect_SetRight", (PyCFunction
) _wrap_Rect_SetRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40847 { (char *)"Rect_SetTop", (PyCFunction
) _wrap_Rect_SetTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40848 { (char *)"Rect_SetBottom", (PyCFunction
) _wrap_Rect_SetBottom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40849 { (char *)"Rect_Inflate", (PyCFunction
) _wrap_Rect_Inflate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40850 { (char *)"Rect_Deflate", (PyCFunction
) _wrap_Rect_Deflate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40851 { (char *)"Rect_OffsetXY", (PyCFunction
) _wrap_Rect_OffsetXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40852 { (char *)"Rect_Offset", (PyCFunction
) _wrap_Rect_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40853 { (char *)"Rect_Intersect", (PyCFunction
) _wrap_Rect_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40854 { (char *)"Rect___add__", (PyCFunction
) _wrap_Rect___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40855 { (char *)"Rect___iadd__", (PyCFunction
) _wrap_Rect___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40856 { (char *)"Rect___eq__", (PyCFunction
) _wrap_Rect___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40857 { (char *)"Rect___ne__", (PyCFunction
) _wrap_Rect___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40858 { (char *)"Rect_InsideXY", (PyCFunction
) _wrap_Rect_InsideXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40859 { (char *)"Rect_Inside", (PyCFunction
) _wrap_Rect_Inside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40860 { (char *)"Rect_Intersects", (PyCFunction
) _wrap_Rect_Intersects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40861 { (char *)"Rect_x_set", (PyCFunction
) _wrap_Rect_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40862 { (char *)"Rect_x_get", (PyCFunction
) _wrap_Rect_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40863 { (char *)"Rect_y_set", (PyCFunction
) _wrap_Rect_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40864 { (char *)"Rect_y_get", (PyCFunction
) _wrap_Rect_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40865 { (char *)"Rect_width_set", (PyCFunction
) _wrap_Rect_width_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40866 { (char *)"Rect_width_get", (PyCFunction
) _wrap_Rect_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40867 { (char *)"Rect_height_set", (PyCFunction
) _wrap_Rect_height_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40868 { (char *)"Rect_height_get", (PyCFunction
) _wrap_Rect_height_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40869 { (char *)"Rect_Set", (PyCFunction
) _wrap_Rect_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40870 { (char *)"Rect_Get", (PyCFunction
) _wrap_Rect_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40871 { (char *)"Rect_swigregister", Rect_swigregister
, METH_VARARGS
, NULL
},
40872 { (char *)"IntersectRect", (PyCFunction
) _wrap_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40873 { (char *)"new_Point2D", (PyCFunction
) _wrap_new_Point2D
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40874 { (char *)"new_Point2DCopy", (PyCFunction
) _wrap_new_Point2DCopy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40875 { (char *)"new_Point2DFromPoint", (PyCFunction
) _wrap_new_Point2DFromPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40876 { (char *)"Point2D_GetFloor", (PyCFunction
) _wrap_Point2D_GetFloor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40877 { (char *)"Point2D_GetRounded", (PyCFunction
) _wrap_Point2D_GetRounded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40878 { (char *)"Point2D_GetVectorLength", (PyCFunction
) _wrap_Point2D_GetVectorLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40879 { (char *)"Point2D_GetVectorAngle", (PyCFunction
) _wrap_Point2D_GetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40880 { (char *)"Point2D_SetVectorLength", (PyCFunction
) _wrap_Point2D_SetVectorLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40881 { (char *)"Point2D_SetVectorAngle", (PyCFunction
) _wrap_Point2D_SetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40882 { (char *)"Point2D_GetDistance", (PyCFunction
) _wrap_Point2D_GetDistance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40883 { (char *)"Point2D_GetDistanceSquare", (PyCFunction
) _wrap_Point2D_GetDistanceSquare
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40884 { (char *)"Point2D_GetDotProduct", (PyCFunction
) _wrap_Point2D_GetDotProduct
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40885 { (char *)"Point2D_GetCrossProduct", (PyCFunction
) _wrap_Point2D_GetCrossProduct
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40886 { (char *)"Point2D___neg__", (PyCFunction
) _wrap_Point2D___neg__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40887 { (char *)"Point2D___iadd__", (PyCFunction
) _wrap_Point2D___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40888 { (char *)"Point2D___isub__", (PyCFunction
) _wrap_Point2D___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40889 { (char *)"Point2D___imul__", (PyCFunction
) _wrap_Point2D___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40890 { (char *)"Point2D___idiv__", (PyCFunction
) _wrap_Point2D___idiv__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40891 { (char *)"Point2D___eq__", (PyCFunction
) _wrap_Point2D___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40892 { (char *)"Point2D___ne__", (PyCFunction
) _wrap_Point2D___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40893 { (char *)"Point2D_x_set", (PyCFunction
) _wrap_Point2D_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40894 { (char *)"Point2D_x_get", (PyCFunction
) _wrap_Point2D_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40895 { (char *)"Point2D_y_set", (PyCFunction
) _wrap_Point2D_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40896 { (char *)"Point2D_y_get", (PyCFunction
) _wrap_Point2D_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40897 { (char *)"Point2D_Set", (PyCFunction
) _wrap_Point2D_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40898 { (char *)"Point2D_Get", (PyCFunction
) _wrap_Point2D_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40899 { (char *)"Point2D_swigregister", Point2D_swigregister
, METH_VARARGS
, NULL
},
40900 { (char *)"new_InputStream", (PyCFunction
) _wrap_new_InputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40901 { (char *)"InputStream_close", (PyCFunction
) _wrap_InputStream_close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40902 { (char *)"InputStream_flush", (PyCFunction
) _wrap_InputStream_flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40903 { (char *)"InputStream_eof", (PyCFunction
) _wrap_InputStream_eof
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40904 { (char *)"InputStream_read", (PyCFunction
) _wrap_InputStream_read
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40905 { (char *)"InputStream_readline", (PyCFunction
) _wrap_InputStream_readline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40906 { (char *)"InputStream_readlines", (PyCFunction
) _wrap_InputStream_readlines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40907 { (char *)"InputStream_seek", (PyCFunction
) _wrap_InputStream_seek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40908 { (char *)"InputStream_tell", (PyCFunction
) _wrap_InputStream_tell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40909 { (char *)"InputStream_Peek", (PyCFunction
) _wrap_InputStream_Peek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40910 { (char *)"InputStream_GetC", (PyCFunction
) _wrap_InputStream_GetC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40911 { (char *)"InputStream_LastRead", (PyCFunction
) _wrap_InputStream_LastRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40912 { (char *)"InputStream_CanRead", (PyCFunction
) _wrap_InputStream_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40913 { (char *)"InputStream_Eof", (PyCFunction
) _wrap_InputStream_Eof
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40914 { (char *)"InputStream_Ungetch", (PyCFunction
) _wrap_InputStream_Ungetch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40915 { (char *)"InputStream_SeekI", (PyCFunction
) _wrap_InputStream_SeekI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40916 { (char *)"InputStream_TellI", (PyCFunction
) _wrap_InputStream_TellI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40917 { (char *)"InputStream_swigregister", InputStream_swigregister
, METH_VARARGS
, NULL
},
40918 { (char *)"OutputStream_write", (PyCFunction
) _wrap_OutputStream_write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40919 { (char *)"OutputStream_swigregister", OutputStream_swigregister
, METH_VARARGS
, NULL
},
40920 { (char *)"new_FSFile", (PyCFunction
) _wrap_new_FSFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40921 { (char *)"delete_FSFile", (PyCFunction
) _wrap_delete_FSFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40922 { (char *)"FSFile_GetStream", (PyCFunction
) _wrap_FSFile_GetStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40923 { (char *)"FSFile_GetMimeType", (PyCFunction
) _wrap_FSFile_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40924 { (char *)"FSFile_GetLocation", (PyCFunction
) _wrap_FSFile_GetLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40925 { (char *)"FSFile_GetAnchor", (PyCFunction
) _wrap_FSFile_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40926 { (char *)"FSFile_GetModificationTime", (PyCFunction
) _wrap_FSFile_GetModificationTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40927 { (char *)"FSFile_swigregister", FSFile_swigregister
, METH_VARARGS
, NULL
},
40928 { (char *)"CPPFileSystemHandler_swigregister", CPPFileSystemHandler_swigregister
, METH_VARARGS
, NULL
},
40929 { (char *)"new_FileSystemHandler", (PyCFunction
) _wrap_new_FileSystemHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40930 { (char *)"FileSystemHandler__setCallbackInfo", (PyCFunction
) _wrap_FileSystemHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40931 { (char *)"FileSystemHandler_CanOpen", (PyCFunction
) _wrap_FileSystemHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40932 { (char *)"FileSystemHandler_OpenFile", (PyCFunction
) _wrap_FileSystemHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40933 { (char *)"FileSystemHandler_FindFirst", (PyCFunction
) _wrap_FileSystemHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40934 { (char *)"FileSystemHandler_FindNext", (PyCFunction
) _wrap_FileSystemHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40935 { (char *)"FileSystemHandler_GetProtocol", (PyCFunction
) _wrap_FileSystemHandler_GetProtocol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40936 { (char *)"FileSystemHandler_GetLeftLocation", (PyCFunction
) _wrap_FileSystemHandler_GetLeftLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40937 { (char *)"FileSystemHandler_GetAnchor", (PyCFunction
) _wrap_FileSystemHandler_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40938 { (char *)"FileSystemHandler_GetRightLocation", (PyCFunction
) _wrap_FileSystemHandler_GetRightLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40939 { (char *)"FileSystemHandler_GetMimeTypeFromExt", (PyCFunction
) _wrap_FileSystemHandler_GetMimeTypeFromExt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40940 { (char *)"FileSystemHandler_swigregister", FileSystemHandler_swigregister
, METH_VARARGS
, NULL
},
40941 { (char *)"new_FileSystem", (PyCFunction
) _wrap_new_FileSystem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40942 { (char *)"delete_FileSystem", (PyCFunction
) _wrap_delete_FileSystem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40943 { (char *)"FileSystem_ChangePathTo", (PyCFunction
) _wrap_FileSystem_ChangePathTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40944 { (char *)"FileSystem_GetPath", (PyCFunction
) _wrap_FileSystem_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40945 { (char *)"FileSystem_OpenFile", (PyCFunction
) _wrap_FileSystem_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40946 { (char *)"FileSystem_FindFirst", (PyCFunction
) _wrap_FileSystem_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40947 { (char *)"FileSystem_FindNext", (PyCFunction
) _wrap_FileSystem_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40948 { (char *)"FileSystem_AddHandler", (PyCFunction
) _wrap_FileSystem_AddHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40949 { (char *)"FileSystem_CleanUpHandlers", (PyCFunction
) _wrap_FileSystem_CleanUpHandlers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40950 { (char *)"FileSystem_FileNameToURL", (PyCFunction
) _wrap_FileSystem_FileNameToURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40951 { (char *)"FileSystem_swigregister", FileSystem_swigregister
, METH_VARARGS
, NULL
},
40952 { (char *)"FileSystem_URLToFileName", (PyCFunction
) _wrap_FileSystem_URLToFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40953 { (char *)"new_InternetFSHandler", (PyCFunction
) _wrap_new_InternetFSHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40954 { (char *)"InternetFSHandler_CanOpen", (PyCFunction
) _wrap_InternetFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40955 { (char *)"InternetFSHandler_OpenFile", (PyCFunction
) _wrap_InternetFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40956 { (char *)"InternetFSHandler_swigregister", InternetFSHandler_swigregister
, METH_VARARGS
, NULL
},
40957 { (char *)"new_ZipFSHandler", (PyCFunction
) _wrap_new_ZipFSHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40958 { (char *)"ZipFSHandler_CanOpen", (PyCFunction
) _wrap_ZipFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40959 { (char *)"ZipFSHandler_OpenFile", (PyCFunction
) _wrap_ZipFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40960 { (char *)"ZipFSHandler_FindFirst", (PyCFunction
) _wrap_ZipFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40961 { (char *)"ZipFSHandler_FindNext", (PyCFunction
) _wrap_ZipFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40962 { (char *)"ZipFSHandler_swigregister", ZipFSHandler_swigregister
, METH_VARARGS
, NULL
},
40963 { (char *)"__wxMemoryFSHandler_AddFile_wxImage", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40964 { (char *)"__wxMemoryFSHandler_AddFile_wxBitmap", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40965 { (char *)"__wxMemoryFSHandler_AddFile_Data", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_Data
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40966 { (char *)"new_MemoryFSHandler", (PyCFunction
) _wrap_new_MemoryFSHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40967 { (char *)"MemoryFSHandler_RemoveFile", (PyCFunction
) _wrap_MemoryFSHandler_RemoveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40968 { (char *)"MemoryFSHandler_CanOpen", (PyCFunction
) _wrap_MemoryFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40969 { (char *)"MemoryFSHandler_OpenFile", (PyCFunction
) _wrap_MemoryFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40970 { (char *)"MemoryFSHandler_FindFirst", (PyCFunction
) _wrap_MemoryFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40971 { (char *)"MemoryFSHandler_FindNext", (PyCFunction
) _wrap_MemoryFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40972 { (char *)"MemoryFSHandler_swigregister", MemoryFSHandler_swigregister
, METH_VARARGS
, NULL
},
40973 { (char *)"ImageHandler_GetName", (PyCFunction
) _wrap_ImageHandler_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40974 { (char *)"ImageHandler_GetExtension", (PyCFunction
) _wrap_ImageHandler_GetExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40975 { (char *)"ImageHandler_GetType", (PyCFunction
) _wrap_ImageHandler_GetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40976 { (char *)"ImageHandler_GetMimeType", (PyCFunction
) _wrap_ImageHandler_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40977 { (char *)"ImageHandler_CanRead", (PyCFunction
) _wrap_ImageHandler_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40978 { (char *)"ImageHandler_SetName", (PyCFunction
) _wrap_ImageHandler_SetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40979 { (char *)"ImageHandler_SetExtension", (PyCFunction
) _wrap_ImageHandler_SetExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40980 { (char *)"ImageHandler_SetType", (PyCFunction
) _wrap_ImageHandler_SetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40981 { (char *)"ImageHandler_SetMimeType", (PyCFunction
) _wrap_ImageHandler_SetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40982 { (char *)"ImageHandler_swigregister", ImageHandler_swigregister
, METH_VARARGS
, NULL
},
40983 { (char *)"new_ImageHistogram", (PyCFunction
) _wrap_new_ImageHistogram
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40984 { (char *)"ImageHistogram_MakeKey", (PyCFunction
) _wrap_ImageHistogram_MakeKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40985 { (char *)"ImageHistogram_FindFirstUnusedColour", (PyCFunction
) _wrap_ImageHistogram_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40986 { (char *)"ImageHistogram_swigregister", ImageHistogram_swigregister
, METH_VARARGS
, NULL
},
40987 { (char *)"new_Image", (PyCFunction
) _wrap_new_Image
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40988 { (char *)"delete_Image", (PyCFunction
) _wrap_delete_Image
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40989 { (char *)"new_ImageFromMime", (PyCFunction
) _wrap_new_ImageFromMime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40990 { (char *)"new_ImageFromStream", (PyCFunction
) _wrap_new_ImageFromStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40991 { (char *)"new_ImageFromStreamMime", (PyCFunction
) _wrap_new_ImageFromStreamMime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40992 { (char *)"new_EmptyImage", (PyCFunction
) _wrap_new_EmptyImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40993 { (char *)"new_ImageFromBitmap", (PyCFunction
) _wrap_new_ImageFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40994 { (char *)"new_ImageFromData", (PyCFunction
) _wrap_new_ImageFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40995 { (char *)"Image_Create", (PyCFunction
) _wrap_Image_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40996 { (char *)"Image_Destroy", (PyCFunction
) _wrap_Image_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40997 { (char *)"Image_Scale", (PyCFunction
) _wrap_Image_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40998 { (char *)"Image_ShrinkBy", (PyCFunction
) _wrap_Image_ShrinkBy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40999 { (char *)"Image_Rescale", (PyCFunction
) _wrap_Image_Rescale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41000 { (char *)"Image_SetRGB", (PyCFunction
) _wrap_Image_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41001 { (char *)"Image_GetRed", (PyCFunction
) _wrap_Image_GetRed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41002 { (char *)"Image_GetGreen", (PyCFunction
) _wrap_Image_GetGreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41003 { (char *)"Image_GetBlue", (PyCFunction
) _wrap_Image_GetBlue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41004 { (char *)"Image_SetAlpha", (PyCFunction
) _wrap_Image_SetAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41005 { (char *)"Image_GetAlpha", (PyCFunction
) _wrap_Image_GetAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41006 { (char *)"Image_HasAlpha", (PyCFunction
) _wrap_Image_HasAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41007 { (char *)"Image_FindFirstUnusedColour", (PyCFunction
) _wrap_Image_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41008 { (char *)"Image_ConvertAlphaToMask", (PyCFunction
) _wrap_Image_ConvertAlphaToMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41009 { (char *)"Image_SetMaskFromImage", (PyCFunction
) _wrap_Image_SetMaskFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41010 { (char *)"Image_CanRead", (PyCFunction
) _wrap_Image_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41011 { (char *)"Image_GetImageCount", (PyCFunction
) _wrap_Image_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41012 { (char *)"Image_LoadFile", (PyCFunction
) _wrap_Image_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41013 { (char *)"Image_LoadMimeFile", (PyCFunction
) _wrap_Image_LoadMimeFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41014 { (char *)"Image_SaveFile", (PyCFunction
) _wrap_Image_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41015 { (char *)"Image_SaveMimeFile", (PyCFunction
) _wrap_Image_SaveMimeFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41016 { (char *)"Image_CanReadStream", (PyCFunction
) _wrap_Image_CanReadStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41017 { (char *)"Image_LoadStream", (PyCFunction
) _wrap_Image_LoadStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41018 { (char *)"Image_LoadMimeStream", (PyCFunction
) _wrap_Image_LoadMimeStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41019 { (char *)"Image_Ok", (PyCFunction
) _wrap_Image_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41020 { (char *)"Image_GetWidth", (PyCFunction
) _wrap_Image_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41021 { (char *)"Image_GetHeight", (PyCFunction
) _wrap_Image_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41022 { (char *)"Image_GetSize", (PyCFunction
) _wrap_Image_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41023 { (char *)"Image_GetSubImage", (PyCFunction
) _wrap_Image_GetSubImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41024 { (char *)"Image_Copy", (PyCFunction
) _wrap_Image_Copy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41025 { (char *)"Image_Paste", (PyCFunction
) _wrap_Image_Paste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41026 { (char *)"Image_GetData", (PyCFunction
) _wrap_Image_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41027 { (char *)"Image_SetData", (PyCFunction
) _wrap_Image_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41028 { (char *)"Image_GetDataBuffer", (PyCFunction
) _wrap_Image_GetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41029 { (char *)"Image_SetDataBuffer", (PyCFunction
) _wrap_Image_SetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41030 { (char *)"Image_GetAlphaData", (PyCFunction
) _wrap_Image_GetAlphaData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41031 { (char *)"Image_SetAlphaData", (PyCFunction
) _wrap_Image_SetAlphaData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41032 { (char *)"Image_GetAlphaBuffer", (PyCFunction
) _wrap_Image_GetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41033 { (char *)"Image_SetAlphaBuffer", (PyCFunction
) _wrap_Image_SetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41034 { (char *)"Image_SetMaskColour", (PyCFunction
) _wrap_Image_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41035 { (char *)"Image_GetMaskRed", (PyCFunction
) _wrap_Image_GetMaskRed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41036 { (char *)"Image_GetMaskGreen", (PyCFunction
) _wrap_Image_GetMaskGreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41037 { (char *)"Image_GetMaskBlue", (PyCFunction
) _wrap_Image_GetMaskBlue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41038 { (char *)"Image_SetMask", (PyCFunction
) _wrap_Image_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41039 { (char *)"Image_HasMask", (PyCFunction
) _wrap_Image_HasMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41040 { (char *)"Image_Rotate", (PyCFunction
) _wrap_Image_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41041 { (char *)"Image_Rotate90", (PyCFunction
) _wrap_Image_Rotate90
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41042 { (char *)"Image_Mirror", (PyCFunction
) _wrap_Image_Mirror
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41043 { (char *)"Image_Replace", (PyCFunction
) _wrap_Image_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41044 { (char *)"Image_ConvertToMono", (PyCFunction
) _wrap_Image_ConvertToMono
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41045 { (char *)"Image_SetOption", (PyCFunction
) _wrap_Image_SetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41046 { (char *)"Image_SetOptionInt", (PyCFunction
) _wrap_Image_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41047 { (char *)"Image_GetOption", (PyCFunction
) _wrap_Image_GetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41048 { (char *)"Image_GetOptionInt", (PyCFunction
) _wrap_Image_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41049 { (char *)"Image_HasOption", (PyCFunction
) _wrap_Image_HasOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41050 { (char *)"Image_CountColours", (PyCFunction
) _wrap_Image_CountColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41051 { (char *)"Image_ComputeHistogram", (PyCFunction
) _wrap_Image_ComputeHistogram
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41052 { (char *)"Image_AddHandler", (PyCFunction
) _wrap_Image_AddHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41053 { (char *)"Image_InsertHandler", (PyCFunction
) _wrap_Image_InsertHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41054 { (char *)"Image_RemoveHandler", (PyCFunction
) _wrap_Image_RemoveHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41055 { (char *)"Image_GetImageExtWildcard", (PyCFunction
) _wrap_Image_GetImageExtWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41056 { (char *)"Image_ConvertToBitmap", (PyCFunction
) _wrap_Image_ConvertToBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41057 { (char *)"Image_ConvertToMonoBitmap", (PyCFunction
) _wrap_Image_ConvertToMonoBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41058 { (char *)"Image_swigregister", Image_swigregister
, METH_VARARGS
, NULL
},
41059 { (char *)"new_BMPHandler", (PyCFunction
) _wrap_new_BMPHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41060 { (char *)"BMPHandler_swigregister", BMPHandler_swigregister
, METH_VARARGS
, NULL
},
41061 { (char *)"new_ICOHandler", (PyCFunction
) _wrap_new_ICOHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41062 { (char *)"ICOHandler_swigregister", ICOHandler_swigregister
, METH_VARARGS
, NULL
},
41063 { (char *)"new_CURHandler", (PyCFunction
) _wrap_new_CURHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41064 { (char *)"CURHandler_swigregister", CURHandler_swigregister
, METH_VARARGS
, NULL
},
41065 { (char *)"new_ANIHandler", (PyCFunction
) _wrap_new_ANIHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41066 { (char *)"ANIHandler_swigregister", ANIHandler_swigregister
, METH_VARARGS
, NULL
},
41067 { (char *)"new_PNGHandler", (PyCFunction
) _wrap_new_PNGHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41068 { (char *)"PNGHandler_swigregister", PNGHandler_swigregister
, METH_VARARGS
, NULL
},
41069 { (char *)"new_GIFHandler", (PyCFunction
) _wrap_new_GIFHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41070 { (char *)"GIFHandler_swigregister", GIFHandler_swigregister
, METH_VARARGS
, NULL
},
41071 { (char *)"new_PCXHandler", (PyCFunction
) _wrap_new_PCXHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41072 { (char *)"PCXHandler_swigregister", PCXHandler_swigregister
, METH_VARARGS
, NULL
},
41073 { (char *)"new_JPEGHandler", (PyCFunction
) _wrap_new_JPEGHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41074 { (char *)"JPEGHandler_swigregister", JPEGHandler_swigregister
, METH_VARARGS
, NULL
},
41075 { (char *)"new_PNMHandler", (PyCFunction
) _wrap_new_PNMHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41076 { (char *)"PNMHandler_swigregister", PNMHandler_swigregister
, METH_VARARGS
, NULL
},
41077 { (char *)"new_XPMHandler", (PyCFunction
) _wrap_new_XPMHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41078 { (char *)"XPMHandler_swigregister", XPMHandler_swigregister
, METH_VARARGS
, NULL
},
41079 { (char *)"new_TIFFHandler", (PyCFunction
) _wrap_new_TIFFHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41080 { (char *)"TIFFHandler_swigregister", TIFFHandler_swigregister
, METH_VARARGS
, NULL
},
41081 { (char *)"Quantize_Quantize", (PyCFunction
) _wrap_Quantize_Quantize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41082 { (char *)"Quantize_swigregister", Quantize_swigregister
, METH_VARARGS
, NULL
},
41083 { (char *)"new_EvtHandler", (PyCFunction
) _wrap_new_EvtHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41084 { (char *)"EvtHandler_GetNextHandler", (PyCFunction
) _wrap_EvtHandler_GetNextHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41085 { (char *)"EvtHandler_GetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_GetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41086 { (char *)"EvtHandler_SetNextHandler", (PyCFunction
) _wrap_EvtHandler_SetNextHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41087 { (char *)"EvtHandler_SetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_SetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41088 { (char *)"EvtHandler_GetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_GetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41089 { (char *)"EvtHandler_SetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_SetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41090 { (char *)"EvtHandler_ProcessEvent", (PyCFunction
) _wrap_EvtHandler_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41091 { (char *)"EvtHandler_AddPendingEvent", (PyCFunction
) _wrap_EvtHandler_AddPendingEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41092 { (char *)"EvtHandler_ProcessPendingEvents", (PyCFunction
) _wrap_EvtHandler_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41093 { (char *)"EvtHandler_Connect", (PyCFunction
) _wrap_EvtHandler_Connect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41094 { (char *)"EvtHandler_Disconnect", (PyCFunction
) _wrap_EvtHandler_Disconnect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41095 { (char *)"EvtHandler__setOORInfo", (PyCFunction
) _wrap_EvtHandler__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41096 { (char *)"EvtHandler_swigregister", EvtHandler_swigregister
, METH_VARARGS
, NULL
},
41097 { (char *)"NewEventType", (PyCFunction
) _wrap_NewEventType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41098 { (char *)"delete_Event", (PyCFunction
) _wrap_delete_Event
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41099 { (char *)"Event_SetEventType", (PyCFunction
) _wrap_Event_SetEventType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41100 { (char *)"Event_GetEventType", (PyCFunction
) _wrap_Event_GetEventType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41101 { (char *)"Event_GetEventObject", (PyCFunction
) _wrap_Event_GetEventObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41102 { (char *)"Event_SetEventObject", (PyCFunction
) _wrap_Event_SetEventObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41103 { (char *)"Event_GetTimestamp", (PyCFunction
) _wrap_Event_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41104 { (char *)"Event_SetTimestamp", (PyCFunction
) _wrap_Event_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41105 { (char *)"Event_GetId", (PyCFunction
) _wrap_Event_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41106 { (char *)"Event_SetId", (PyCFunction
) _wrap_Event_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41107 { (char *)"Event_IsCommandEvent", (PyCFunction
) _wrap_Event_IsCommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41108 { (char *)"Event_Skip", (PyCFunction
) _wrap_Event_Skip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41109 { (char *)"Event_GetSkipped", (PyCFunction
) _wrap_Event_GetSkipped
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41110 { (char *)"Event_ShouldPropagate", (PyCFunction
) _wrap_Event_ShouldPropagate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41111 { (char *)"Event_StopPropagation", (PyCFunction
) _wrap_Event_StopPropagation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41112 { (char *)"Event_ResumePropagation", (PyCFunction
) _wrap_Event_ResumePropagation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41113 { (char *)"Event_Clone", (PyCFunction
) _wrap_Event_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41114 { (char *)"Event_swigregister", Event_swigregister
, METH_VARARGS
, NULL
},
41115 { (char *)"new_PropagationDisabler", (PyCFunction
) _wrap_new_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41116 { (char *)"delete_PropagationDisabler", (PyCFunction
) _wrap_delete_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41117 { (char *)"PropagationDisabler_swigregister", PropagationDisabler_swigregister
, METH_VARARGS
, NULL
},
41118 { (char *)"new_PropagateOnce", (PyCFunction
) _wrap_new_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41119 { (char *)"delete_PropagateOnce", (PyCFunction
) _wrap_delete_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41120 { (char *)"PropagateOnce_swigregister", PropagateOnce_swigregister
, METH_VARARGS
, NULL
},
41121 { (char *)"new_CommandEvent", (PyCFunction
) _wrap_new_CommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41122 { (char *)"CommandEvent_GetSelection", (PyCFunction
) _wrap_CommandEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41123 { (char *)"CommandEvent_SetString", (PyCFunction
) _wrap_CommandEvent_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41124 { (char *)"CommandEvent_GetString", (PyCFunction
) _wrap_CommandEvent_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41125 { (char *)"CommandEvent_IsChecked", (PyCFunction
) _wrap_CommandEvent_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41126 { (char *)"CommandEvent_IsSelection", (PyCFunction
) _wrap_CommandEvent_IsSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41127 { (char *)"CommandEvent_SetExtraLong", (PyCFunction
) _wrap_CommandEvent_SetExtraLong
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41128 { (char *)"CommandEvent_GetExtraLong", (PyCFunction
) _wrap_CommandEvent_GetExtraLong
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41129 { (char *)"CommandEvent_SetInt", (PyCFunction
) _wrap_CommandEvent_SetInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41130 { (char *)"CommandEvent_GetInt", (PyCFunction
) _wrap_CommandEvent_GetInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41131 { (char *)"CommandEvent_Clone", (PyCFunction
) _wrap_CommandEvent_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41132 { (char *)"CommandEvent_swigregister", CommandEvent_swigregister
, METH_VARARGS
, NULL
},
41133 { (char *)"new_NotifyEvent", (PyCFunction
) _wrap_new_NotifyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41134 { (char *)"NotifyEvent_Veto", (PyCFunction
) _wrap_NotifyEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41135 { (char *)"NotifyEvent_Allow", (PyCFunction
) _wrap_NotifyEvent_Allow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41136 { (char *)"NotifyEvent_IsAllowed", (PyCFunction
) _wrap_NotifyEvent_IsAllowed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41137 { (char *)"NotifyEvent_swigregister", NotifyEvent_swigregister
, METH_VARARGS
, NULL
},
41138 { (char *)"new_ScrollEvent", (PyCFunction
) _wrap_new_ScrollEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41139 { (char *)"ScrollEvent_GetOrientation", (PyCFunction
) _wrap_ScrollEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41140 { (char *)"ScrollEvent_GetPosition", (PyCFunction
) _wrap_ScrollEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41141 { (char *)"ScrollEvent_SetOrientation", (PyCFunction
) _wrap_ScrollEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41142 { (char *)"ScrollEvent_SetPosition", (PyCFunction
) _wrap_ScrollEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41143 { (char *)"ScrollEvent_swigregister", ScrollEvent_swigregister
, METH_VARARGS
, NULL
},
41144 { (char *)"new_ScrollWinEvent", (PyCFunction
) _wrap_new_ScrollWinEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41145 { (char *)"ScrollWinEvent_GetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41146 { (char *)"ScrollWinEvent_GetPosition", (PyCFunction
) _wrap_ScrollWinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41147 { (char *)"ScrollWinEvent_SetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41148 { (char *)"ScrollWinEvent_SetPosition", (PyCFunction
) _wrap_ScrollWinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41149 { (char *)"ScrollWinEvent_swigregister", ScrollWinEvent_swigregister
, METH_VARARGS
, NULL
},
41150 { (char *)"new_MouseEvent", (PyCFunction
) _wrap_new_MouseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41151 { (char *)"MouseEvent_IsButton", (PyCFunction
) _wrap_MouseEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41152 { (char *)"MouseEvent_ButtonDown", (PyCFunction
) _wrap_MouseEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41153 { (char *)"MouseEvent_ButtonDClick", (PyCFunction
) _wrap_MouseEvent_ButtonDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41154 { (char *)"MouseEvent_ButtonUp", (PyCFunction
) _wrap_MouseEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41155 { (char *)"MouseEvent_Button", (PyCFunction
) _wrap_MouseEvent_Button
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41156 { (char *)"MouseEvent_ButtonIsDown", (PyCFunction
) _wrap_MouseEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41157 { (char *)"MouseEvent_GetButton", (PyCFunction
) _wrap_MouseEvent_GetButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41158 { (char *)"MouseEvent_ControlDown", (PyCFunction
) _wrap_MouseEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41159 { (char *)"MouseEvent_MetaDown", (PyCFunction
) _wrap_MouseEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41160 { (char *)"MouseEvent_AltDown", (PyCFunction
) _wrap_MouseEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41161 { (char *)"MouseEvent_ShiftDown", (PyCFunction
) _wrap_MouseEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41162 { (char *)"MouseEvent_CmdDown", (PyCFunction
) _wrap_MouseEvent_CmdDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41163 { (char *)"MouseEvent_LeftDown", (PyCFunction
) _wrap_MouseEvent_LeftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41164 { (char *)"MouseEvent_MiddleDown", (PyCFunction
) _wrap_MouseEvent_MiddleDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41165 { (char *)"MouseEvent_RightDown", (PyCFunction
) _wrap_MouseEvent_RightDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41166 { (char *)"MouseEvent_LeftUp", (PyCFunction
) _wrap_MouseEvent_LeftUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41167 { (char *)"MouseEvent_MiddleUp", (PyCFunction
) _wrap_MouseEvent_MiddleUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41168 { (char *)"MouseEvent_RightUp", (PyCFunction
) _wrap_MouseEvent_RightUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41169 { (char *)"MouseEvent_LeftDClick", (PyCFunction
) _wrap_MouseEvent_LeftDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41170 { (char *)"MouseEvent_MiddleDClick", (PyCFunction
) _wrap_MouseEvent_MiddleDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41171 { (char *)"MouseEvent_RightDClick", (PyCFunction
) _wrap_MouseEvent_RightDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41172 { (char *)"MouseEvent_LeftIsDown", (PyCFunction
) _wrap_MouseEvent_LeftIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41173 { (char *)"MouseEvent_MiddleIsDown", (PyCFunction
) _wrap_MouseEvent_MiddleIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41174 { (char *)"MouseEvent_RightIsDown", (PyCFunction
) _wrap_MouseEvent_RightIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41175 { (char *)"MouseEvent_Dragging", (PyCFunction
) _wrap_MouseEvent_Dragging
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41176 { (char *)"MouseEvent_Moving", (PyCFunction
) _wrap_MouseEvent_Moving
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41177 { (char *)"MouseEvent_Entering", (PyCFunction
) _wrap_MouseEvent_Entering
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41178 { (char *)"MouseEvent_Leaving", (PyCFunction
) _wrap_MouseEvent_Leaving
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41179 { (char *)"MouseEvent_GetPosition", (PyCFunction
) _wrap_MouseEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41180 { (char *)"MouseEvent_GetPositionTuple", (PyCFunction
) _wrap_MouseEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41181 { (char *)"MouseEvent_GetLogicalPosition", (PyCFunction
) _wrap_MouseEvent_GetLogicalPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41182 { (char *)"MouseEvent_GetX", (PyCFunction
) _wrap_MouseEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41183 { (char *)"MouseEvent_GetY", (PyCFunction
) _wrap_MouseEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41184 { (char *)"MouseEvent_GetWheelRotation", (PyCFunction
) _wrap_MouseEvent_GetWheelRotation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41185 { (char *)"MouseEvent_GetWheelDelta", (PyCFunction
) _wrap_MouseEvent_GetWheelDelta
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41186 { (char *)"MouseEvent_GetLinesPerAction", (PyCFunction
) _wrap_MouseEvent_GetLinesPerAction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41187 { (char *)"MouseEvent_IsPageScroll", (PyCFunction
) _wrap_MouseEvent_IsPageScroll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41188 { (char *)"MouseEvent_m_x_set", (PyCFunction
) _wrap_MouseEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41189 { (char *)"MouseEvent_m_x_get", (PyCFunction
) _wrap_MouseEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41190 { (char *)"MouseEvent_m_y_set", (PyCFunction
) _wrap_MouseEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41191 { (char *)"MouseEvent_m_y_get", (PyCFunction
) _wrap_MouseEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41192 { (char *)"MouseEvent_m_leftDown_set", (PyCFunction
) _wrap_MouseEvent_m_leftDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41193 { (char *)"MouseEvent_m_leftDown_get", (PyCFunction
) _wrap_MouseEvent_m_leftDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41194 { (char *)"MouseEvent_m_middleDown_set", (PyCFunction
) _wrap_MouseEvent_m_middleDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41195 { (char *)"MouseEvent_m_middleDown_get", (PyCFunction
) _wrap_MouseEvent_m_middleDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41196 { (char *)"MouseEvent_m_rightDown_set", (PyCFunction
) _wrap_MouseEvent_m_rightDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41197 { (char *)"MouseEvent_m_rightDown_get", (PyCFunction
) _wrap_MouseEvent_m_rightDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41198 { (char *)"MouseEvent_m_controlDown_set", (PyCFunction
) _wrap_MouseEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41199 { (char *)"MouseEvent_m_controlDown_get", (PyCFunction
) _wrap_MouseEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41200 { (char *)"MouseEvent_m_shiftDown_set", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41201 { (char *)"MouseEvent_m_shiftDown_get", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41202 { (char *)"MouseEvent_m_altDown_set", (PyCFunction
) _wrap_MouseEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41203 { (char *)"MouseEvent_m_altDown_get", (PyCFunction
) _wrap_MouseEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41204 { (char *)"MouseEvent_m_metaDown_set", (PyCFunction
) _wrap_MouseEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41205 { (char *)"MouseEvent_m_metaDown_get", (PyCFunction
) _wrap_MouseEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41206 { (char *)"MouseEvent_m_wheelRotation_set", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41207 { (char *)"MouseEvent_m_wheelRotation_get", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41208 { (char *)"MouseEvent_m_wheelDelta_set", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41209 { (char *)"MouseEvent_m_wheelDelta_get", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41210 { (char *)"MouseEvent_m_linesPerAction_set", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41211 { (char *)"MouseEvent_m_linesPerAction_get", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41212 { (char *)"MouseEvent_swigregister", MouseEvent_swigregister
, METH_VARARGS
, NULL
},
41213 { (char *)"new_SetCursorEvent", (PyCFunction
) _wrap_new_SetCursorEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41214 { (char *)"SetCursorEvent_GetX", (PyCFunction
) _wrap_SetCursorEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41215 { (char *)"SetCursorEvent_GetY", (PyCFunction
) _wrap_SetCursorEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41216 { (char *)"SetCursorEvent_SetCursor", (PyCFunction
) _wrap_SetCursorEvent_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41217 { (char *)"SetCursorEvent_GetCursor", (PyCFunction
) _wrap_SetCursorEvent_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41218 { (char *)"SetCursorEvent_HasCursor", (PyCFunction
) _wrap_SetCursorEvent_HasCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41219 { (char *)"SetCursorEvent_swigregister", SetCursorEvent_swigregister
, METH_VARARGS
, NULL
},
41220 { (char *)"new_KeyEvent", (PyCFunction
) _wrap_new_KeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41221 { (char *)"KeyEvent_ControlDown", (PyCFunction
) _wrap_KeyEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41222 { (char *)"KeyEvent_MetaDown", (PyCFunction
) _wrap_KeyEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41223 { (char *)"KeyEvent_AltDown", (PyCFunction
) _wrap_KeyEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41224 { (char *)"KeyEvent_ShiftDown", (PyCFunction
) _wrap_KeyEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41225 { (char *)"KeyEvent_CmdDown", (PyCFunction
) _wrap_KeyEvent_CmdDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41226 { (char *)"KeyEvent_HasModifiers", (PyCFunction
) _wrap_KeyEvent_HasModifiers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41227 { (char *)"KeyEvent_GetKeyCode", (PyCFunction
) _wrap_KeyEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41228 { (char *)"KeyEvent_GetUnicodeKey", (PyCFunction
) _wrap_KeyEvent_GetUnicodeKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41229 { (char *)"KeyEvent_GetRawKeyCode", (PyCFunction
) _wrap_KeyEvent_GetRawKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41230 { (char *)"KeyEvent_GetRawKeyFlags", (PyCFunction
) _wrap_KeyEvent_GetRawKeyFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41231 { (char *)"KeyEvent_GetPosition", (PyCFunction
) _wrap_KeyEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41232 { (char *)"KeyEvent_GetPositionTuple", (PyCFunction
) _wrap_KeyEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41233 { (char *)"KeyEvent_GetX", (PyCFunction
) _wrap_KeyEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41234 { (char *)"KeyEvent_GetY", (PyCFunction
) _wrap_KeyEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41235 { (char *)"KeyEvent_m_x_set", (PyCFunction
) _wrap_KeyEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41236 { (char *)"KeyEvent_m_x_get", (PyCFunction
) _wrap_KeyEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41237 { (char *)"KeyEvent_m_y_set", (PyCFunction
) _wrap_KeyEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41238 { (char *)"KeyEvent_m_y_get", (PyCFunction
) _wrap_KeyEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41239 { (char *)"KeyEvent_m_keyCode_set", (PyCFunction
) _wrap_KeyEvent_m_keyCode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41240 { (char *)"KeyEvent_m_keyCode_get", (PyCFunction
) _wrap_KeyEvent_m_keyCode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41241 { (char *)"KeyEvent_m_controlDown_set", (PyCFunction
) _wrap_KeyEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41242 { (char *)"KeyEvent_m_controlDown_get", (PyCFunction
) _wrap_KeyEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41243 { (char *)"KeyEvent_m_shiftDown_set", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41244 { (char *)"KeyEvent_m_shiftDown_get", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41245 { (char *)"KeyEvent_m_altDown_set", (PyCFunction
) _wrap_KeyEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41246 { (char *)"KeyEvent_m_altDown_get", (PyCFunction
) _wrap_KeyEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41247 { (char *)"KeyEvent_m_metaDown_set", (PyCFunction
) _wrap_KeyEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41248 { (char *)"KeyEvent_m_metaDown_get", (PyCFunction
) _wrap_KeyEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41249 { (char *)"KeyEvent_m_scanCode_set", (PyCFunction
) _wrap_KeyEvent_m_scanCode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41250 { (char *)"KeyEvent_m_scanCode_get", (PyCFunction
) _wrap_KeyEvent_m_scanCode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41251 { (char *)"KeyEvent_m_rawCode_set", (PyCFunction
) _wrap_KeyEvent_m_rawCode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41252 { (char *)"KeyEvent_m_rawCode_get", (PyCFunction
) _wrap_KeyEvent_m_rawCode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41253 { (char *)"KeyEvent_m_rawFlags_set", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41254 { (char *)"KeyEvent_m_rawFlags_get", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41255 { (char *)"KeyEvent_swigregister", KeyEvent_swigregister
, METH_VARARGS
, NULL
},
41256 { (char *)"new_SizeEvent", (PyCFunction
) _wrap_new_SizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41257 { (char *)"SizeEvent_GetSize", (PyCFunction
) _wrap_SizeEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41258 { (char *)"SizeEvent_GetRect", (PyCFunction
) _wrap_SizeEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41259 { (char *)"SizeEvent_SetRect", (PyCFunction
) _wrap_SizeEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41260 { (char *)"SizeEvent_SetSize", (PyCFunction
) _wrap_SizeEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41261 { (char *)"SizeEvent_m_size_set", (PyCFunction
) _wrap_SizeEvent_m_size_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41262 { (char *)"SizeEvent_m_size_get", (PyCFunction
) _wrap_SizeEvent_m_size_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41263 { (char *)"SizeEvent_m_rect_set", (PyCFunction
) _wrap_SizeEvent_m_rect_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41264 { (char *)"SizeEvent_m_rect_get", (PyCFunction
) _wrap_SizeEvent_m_rect_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41265 { (char *)"SizeEvent_swigregister", SizeEvent_swigregister
, METH_VARARGS
, NULL
},
41266 { (char *)"new_MoveEvent", (PyCFunction
) _wrap_new_MoveEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41267 { (char *)"MoveEvent_GetPosition", (PyCFunction
) _wrap_MoveEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41268 { (char *)"MoveEvent_GetRect", (PyCFunction
) _wrap_MoveEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41269 { (char *)"MoveEvent_SetRect", (PyCFunction
) _wrap_MoveEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41270 { (char *)"MoveEvent_SetPosition", (PyCFunction
) _wrap_MoveEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41271 { (char *)"MoveEvent_m_pos_set", (PyCFunction
) _wrap_MoveEvent_m_pos_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41272 { (char *)"MoveEvent_m_pos_get", (PyCFunction
) _wrap_MoveEvent_m_pos_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41273 { (char *)"MoveEvent_m_rect_set", (PyCFunction
) _wrap_MoveEvent_m_rect_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41274 { (char *)"MoveEvent_m_rect_get", (PyCFunction
) _wrap_MoveEvent_m_rect_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41275 { (char *)"MoveEvent_swigregister", MoveEvent_swigregister
, METH_VARARGS
, NULL
},
41276 { (char *)"new_PaintEvent", (PyCFunction
) _wrap_new_PaintEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41277 { (char *)"PaintEvent_swigregister", PaintEvent_swigregister
, METH_VARARGS
, NULL
},
41278 { (char *)"new_NcPaintEvent", (PyCFunction
) _wrap_new_NcPaintEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41279 { (char *)"NcPaintEvent_swigregister", NcPaintEvent_swigregister
, METH_VARARGS
, NULL
},
41280 { (char *)"new_EraseEvent", (PyCFunction
) _wrap_new_EraseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41281 { (char *)"EraseEvent_GetDC", (PyCFunction
) _wrap_EraseEvent_GetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41282 { (char *)"EraseEvent_swigregister", EraseEvent_swigregister
, METH_VARARGS
, NULL
},
41283 { (char *)"new_FocusEvent", (PyCFunction
) _wrap_new_FocusEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41284 { (char *)"FocusEvent_GetWindow", (PyCFunction
) _wrap_FocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41285 { (char *)"FocusEvent_SetWindow", (PyCFunction
) _wrap_FocusEvent_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41286 { (char *)"FocusEvent_swigregister", FocusEvent_swigregister
, METH_VARARGS
, NULL
},
41287 { (char *)"new_ChildFocusEvent", (PyCFunction
) _wrap_new_ChildFocusEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41288 { (char *)"ChildFocusEvent_GetWindow", (PyCFunction
) _wrap_ChildFocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41289 { (char *)"ChildFocusEvent_swigregister", ChildFocusEvent_swigregister
, METH_VARARGS
, NULL
},
41290 { (char *)"new_ActivateEvent", (PyCFunction
) _wrap_new_ActivateEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41291 { (char *)"ActivateEvent_GetActive", (PyCFunction
) _wrap_ActivateEvent_GetActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41292 { (char *)"ActivateEvent_swigregister", ActivateEvent_swigregister
, METH_VARARGS
, NULL
},
41293 { (char *)"new_InitDialogEvent", (PyCFunction
) _wrap_new_InitDialogEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41294 { (char *)"InitDialogEvent_swigregister", InitDialogEvent_swigregister
, METH_VARARGS
, NULL
},
41295 { (char *)"new_MenuEvent", (PyCFunction
) _wrap_new_MenuEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41296 { (char *)"MenuEvent_GetMenuId", (PyCFunction
) _wrap_MenuEvent_GetMenuId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41297 { (char *)"MenuEvent_IsPopup", (PyCFunction
) _wrap_MenuEvent_IsPopup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41298 { (char *)"MenuEvent_GetMenu", (PyCFunction
) _wrap_MenuEvent_GetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41299 { (char *)"MenuEvent_swigregister", MenuEvent_swigregister
, METH_VARARGS
, NULL
},
41300 { (char *)"new_CloseEvent", (PyCFunction
) _wrap_new_CloseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41301 { (char *)"CloseEvent_SetLoggingOff", (PyCFunction
) _wrap_CloseEvent_SetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41302 { (char *)"CloseEvent_GetLoggingOff", (PyCFunction
) _wrap_CloseEvent_GetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41303 { (char *)"CloseEvent_Veto", (PyCFunction
) _wrap_CloseEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41304 { (char *)"CloseEvent_SetCanVeto", (PyCFunction
) _wrap_CloseEvent_SetCanVeto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41305 { (char *)"CloseEvent_CanVeto", (PyCFunction
) _wrap_CloseEvent_CanVeto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41306 { (char *)"CloseEvent_GetVeto", (PyCFunction
) _wrap_CloseEvent_GetVeto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41307 { (char *)"CloseEvent_swigregister", CloseEvent_swigregister
, METH_VARARGS
, NULL
},
41308 { (char *)"new_ShowEvent", (PyCFunction
) _wrap_new_ShowEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41309 { (char *)"ShowEvent_SetShow", (PyCFunction
) _wrap_ShowEvent_SetShow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41310 { (char *)"ShowEvent_GetShow", (PyCFunction
) _wrap_ShowEvent_GetShow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41311 { (char *)"ShowEvent_swigregister", ShowEvent_swigregister
, METH_VARARGS
, NULL
},
41312 { (char *)"new_IconizeEvent", (PyCFunction
) _wrap_new_IconizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41313 { (char *)"IconizeEvent_Iconized", (PyCFunction
) _wrap_IconizeEvent_Iconized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41314 { (char *)"IconizeEvent_swigregister", IconizeEvent_swigregister
, METH_VARARGS
, NULL
},
41315 { (char *)"new_MaximizeEvent", (PyCFunction
) _wrap_new_MaximizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41316 { (char *)"MaximizeEvent_swigregister", MaximizeEvent_swigregister
, METH_VARARGS
, NULL
},
41317 { (char *)"DropFilesEvent_GetPosition", (PyCFunction
) _wrap_DropFilesEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41318 { (char *)"DropFilesEvent_GetNumberOfFiles", (PyCFunction
) _wrap_DropFilesEvent_GetNumberOfFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41319 { (char *)"DropFilesEvent_GetFiles", (PyCFunction
) _wrap_DropFilesEvent_GetFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41320 { (char *)"DropFilesEvent_swigregister", DropFilesEvent_swigregister
, METH_VARARGS
, NULL
},
41321 { (char *)"new_UpdateUIEvent", (PyCFunction
) _wrap_new_UpdateUIEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41322 { (char *)"UpdateUIEvent_GetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41323 { (char *)"UpdateUIEvent_GetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41324 { (char *)"UpdateUIEvent_GetText", (PyCFunction
) _wrap_UpdateUIEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41325 { (char *)"UpdateUIEvent_GetSetText", (PyCFunction
) _wrap_UpdateUIEvent_GetSetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41326 { (char *)"UpdateUIEvent_GetSetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetSetChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41327 { (char *)"UpdateUIEvent_GetSetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetSetEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41328 { (char *)"UpdateUIEvent_Check", (PyCFunction
) _wrap_UpdateUIEvent_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41329 { (char *)"UpdateUIEvent_Enable", (PyCFunction
) _wrap_UpdateUIEvent_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41330 { (char *)"UpdateUIEvent_SetText", (PyCFunction
) _wrap_UpdateUIEvent_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41331 { (char *)"UpdateUIEvent_SetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_SetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41332 { (char *)"UpdateUIEvent_GetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_GetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41333 { (char *)"UpdateUIEvent_CanUpdate", (PyCFunction
) _wrap_UpdateUIEvent_CanUpdate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41334 { (char *)"UpdateUIEvent_ResetUpdateTime", (PyCFunction
) _wrap_UpdateUIEvent_ResetUpdateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41335 { (char *)"UpdateUIEvent_SetMode", (PyCFunction
) _wrap_UpdateUIEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41336 { (char *)"UpdateUIEvent_GetMode", (PyCFunction
) _wrap_UpdateUIEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41337 { (char *)"UpdateUIEvent_swigregister", UpdateUIEvent_swigregister
, METH_VARARGS
, NULL
},
41338 { (char *)"new_SysColourChangedEvent", (PyCFunction
) _wrap_new_SysColourChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41339 { (char *)"SysColourChangedEvent_swigregister", SysColourChangedEvent_swigregister
, METH_VARARGS
, NULL
},
41340 { (char *)"new_MouseCaptureChangedEvent", (PyCFunction
) _wrap_new_MouseCaptureChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41341 { (char *)"MouseCaptureChangedEvent_GetCapturedWindow", (PyCFunction
) _wrap_MouseCaptureChangedEvent_GetCapturedWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41342 { (char *)"MouseCaptureChangedEvent_swigregister", MouseCaptureChangedEvent_swigregister
, METH_VARARGS
, NULL
},
41343 { (char *)"new_DisplayChangedEvent", (PyCFunction
) _wrap_new_DisplayChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41344 { (char *)"DisplayChangedEvent_swigregister", DisplayChangedEvent_swigregister
, METH_VARARGS
, NULL
},
41345 { (char *)"new_PaletteChangedEvent", (PyCFunction
) _wrap_new_PaletteChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41346 { (char *)"PaletteChangedEvent_SetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_SetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41347 { (char *)"PaletteChangedEvent_GetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_GetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41348 { (char *)"PaletteChangedEvent_swigregister", PaletteChangedEvent_swigregister
, METH_VARARGS
, NULL
},
41349 { (char *)"new_QueryNewPaletteEvent", (PyCFunction
) _wrap_new_QueryNewPaletteEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41350 { (char *)"QueryNewPaletteEvent_SetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_SetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41351 { (char *)"QueryNewPaletteEvent_GetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_GetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41352 { (char *)"QueryNewPaletteEvent_swigregister", QueryNewPaletteEvent_swigregister
, METH_VARARGS
, NULL
},
41353 { (char *)"new_NavigationKeyEvent", (PyCFunction
) _wrap_new_NavigationKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41354 { (char *)"NavigationKeyEvent_GetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_GetDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41355 { (char *)"NavigationKeyEvent_SetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_SetDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41356 { (char *)"NavigationKeyEvent_IsWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_IsWindowChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41357 { (char *)"NavigationKeyEvent_SetWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_SetWindowChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41358 { (char *)"NavigationKeyEvent_SetFlags", (PyCFunction
) _wrap_NavigationKeyEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41359 { (char *)"NavigationKeyEvent_GetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_GetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41360 { (char *)"NavigationKeyEvent_SetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_SetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41361 { (char *)"NavigationKeyEvent_swigregister", NavigationKeyEvent_swigregister
, METH_VARARGS
, NULL
},
41362 { (char *)"new_WindowCreateEvent", (PyCFunction
) _wrap_new_WindowCreateEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41363 { (char *)"WindowCreateEvent_GetWindow", (PyCFunction
) _wrap_WindowCreateEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41364 { (char *)"WindowCreateEvent_swigregister", WindowCreateEvent_swigregister
, METH_VARARGS
, NULL
},
41365 { (char *)"new_WindowDestroyEvent", (PyCFunction
) _wrap_new_WindowDestroyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41366 { (char *)"WindowDestroyEvent_GetWindow", (PyCFunction
) _wrap_WindowDestroyEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41367 { (char *)"WindowDestroyEvent_swigregister", WindowDestroyEvent_swigregister
, METH_VARARGS
, NULL
},
41368 { (char *)"new_ContextMenuEvent", (PyCFunction
) _wrap_new_ContextMenuEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41369 { (char *)"ContextMenuEvent_GetPosition", (PyCFunction
) _wrap_ContextMenuEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41370 { (char *)"ContextMenuEvent_SetPosition", (PyCFunction
) _wrap_ContextMenuEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41371 { (char *)"ContextMenuEvent_swigregister", ContextMenuEvent_swigregister
, METH_VARARGS
, NULL
},
41372 { (char *)"new_IdleEvent", (PyCFunction
) _wrap_new_IdleEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41373 { (char *)"IdleEvent_RequestMore", (PyCFunction
) _wrap_IdleEvent_RequestMore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41374 { (char *)"IdleEvent_MoreRequested", (PyCFunction
) _wrap_IdleEvent_MoreRequested
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41375 { (char *)"IdleEvent_SetMode", (PyCFunction
) _wrap_IdleEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41376 { (char *)"IdleEvent_GetMode", (PyCFunction
) _wrap_IdleEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41377 { (char *)"IdleEvent_CanSend", (PyCFunction
) _wrap_IdleEvent_CanSend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41378 { (char *)"IdleEvent_swigregister", IdleEvent_swigregister
, METH_VARARGS
, NULL
},
41379 { (char *)"new_PyEvent", (PyCFunction
) _wrap_new_PyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41380 { (char *)"delete_PyEvent", (PyCFunction
) _wrap_delete_PyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41381 { (char *)"PyEvent_SetSelf", (PyCFunction
) _wrap_PyEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41382 { (char *)"PyEvent_GetSelf", (PyCFunction
) _wrap_PyEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41383 { (char *)"PyEvent_swigregister", PyEvent_swigregister
, METH_VARARGS
, NULL
},
41384 { (char *)"new_PyCommandEvent", (PyCFunction
) _wrap_new_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41385 { (char *)"delete_PyCommandEvent", (PyCFunction
) _wrap_delete_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41386 { (char *)"PyCommandEvent_SetSelf", (PyCFunction
) _wrap_PyCommandEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41387 { (char *)"PyCommandEvent_GetSelf", (PyCFunction
) _wrap_PyCommandEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41388 { (char *)"PyCommandEvent_swigregister", PyCommandEvent_swigregister
, METH_VARARGS
, NULL
},
41389 { (char *)"new_PyApp", (PyCFunction
) _wrap_new_PyApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41390 { (char *)"delete_PyApp", (PyCFunction
) _wrap_delete_PyApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41391 { (char *)"PyApp__setCallbackInfo", (PyCFunction
) _wrap_PyApp__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41392 { (char *)"PyApp_GetAppName", (PyCFunction
) _wrap_PyApp_GetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41393 { (char *)"PyApp_SetAppName", (PyCFunction
) _wrap_PyApp_SetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41394 { (char *)"PyApp_GetClassName", (PyCFunction
) _wrap_PyApp_GetClassName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41395 { (char *)"PyApp_SetClassName", (PyCFunction
) _wrap_PyApp_SetClassName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41396 { (char *)"PyApp_GetVendorName", (PyCFunction
) _wrap_PyApp_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41397 { (char *)"PyApp_SetVendorName", (PyCFunction
) _wrap_PyApp_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41398 { (char *)"PyApp_GetTraits", (PyCFunction
) _wrap_PyApp_GetTraits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41399 { (char *)"PyApp_ProcessPendingEvents", (PyCFunction
) _wrap_PyApp_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41400 { (char *)"PyApp_Yield", (PyCFunction
) _wrap_PyApp_Yield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41401 { (char *)"PyApp_WakeUpIdle", (PyCFunction
) _wrap_PyApp_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41402 { (char *)"PyApp_MainLoop", (PyCFunction
) _wrap_PyApp_MainLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41403 { (char *)"PyApp_Exit", (PyCFunction
) _wrap_PyApp_Exit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41404 { (char *)"PyApp_ExitMainLoop", (PyCFunction
) _wrap_PyApp_ExitMainLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41405 { (char *)"PyApp_Pending", (PyCFunction
) _wrap_PyApp_Pending
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41406 { (char *)"PyApp_Dispatch", (PyCFunction
) _wrap_PyApp_Dispatch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41407 { (char *)"PyApp_ProcessIdle", (PyCFunction
) _wrap_PyApp_ProcessIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41408 { (char *)"PyApp_SendIdleEvents", (PyCFunction
) _wrap_PyApp_SendIdleEvents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41409 { (char *)"PyApp_IsActive", (PyCFunction
) _wrap_PyApp_IsActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41410 { (char *)"PyApp_SetTopWindow", (PyCFunction
) _wrap_PyApp_SetTopWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41411 { (char *)"PyApp_GetTopWindow", (PyCFunction
) _wrap_PyApp_GetTopWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41412 { (char *)"PyApp_SetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_SetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41413 { (char *)"PyApp_GetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_GetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41414 { (char *)"PyApp_SetUseBestVisual", (PyCFunction
) _wrap_PyApp_SetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41415 { (char *)"PyApp_GetUseBestVisual", (PyCFunction
) _wrap_PyApp_GetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41416 { (char *)"PyApp_SetPrintMode", (PyCFunction
) _wrap_PyApp_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41417 { (char *)"PyApp_GetPrintMode", (PyCFunction
) _wrap_PyApp_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41418 { (char *)"PyApp_SetAssertMode", (PyCFunction
) _wrap_PyApp_SetAssertMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41419 { (char *)"PyApp_GetAssertMode", (PyCFunction
) _wrap_PyApp_GetAssertMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41420 { (char *)"PyApp_GetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_GetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41421 { (char *)"PyApp_GetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41422 { (char *)"PyApp_GetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41423 { (char *)"PyApp_GetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41424 { (char *)"PyApp_GetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_GetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41425 { (char *)"PyApp_SetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_SetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41426 { (char *)"PyApp_SetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41427 { (char *)"PyApp_SetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41428 { (char *)"PyApp_SetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41429 { (char *)"PyApp_SetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_SetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41430 { (char *)"PyApp__BootstrapApp", (PyCFunction
) _wrap_PyApp__BootstrapApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41431 { (char *)"PyApp_GetComCtl32Version", (PyCFunction
) _wrap_PyApp_GetComCtl32Version
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41432 { (char *)"PyApp_swigregister", PyApp_swigregister
, METH_VARARGS
, NULL
},
41433 { (char *)"Exit", (PyCFunction
) _wrap_Exit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41434 { (char *)"Yield", (PyCFunction
) _wrap_Yield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41435 { (char *)"YieldIfNeeded", (PyCFunction
) _wrap_YieldIfNeeded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41436 { (char *)"SafeYield", (PyCFunction
) _wrap_SafeYield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41437 { (char *)"WakeUpIdle", (PyCFunction
) _wrap_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41438 { (char *)"PostEvent", (PyCFunction
) _wrap_PostEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41439 { (char *)"App_CleanUp", (PyCFunction
) _wrap_App_CleanUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41440 { (char *)"GetApp", (PyCFunction
) _wrap_GetApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41441 { (char *)"new_AcceleratorEntry", (PyCFunction
) _wrap_new_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41442 { (char *)"delete_AcceleratorEntry", (PyCFunction
) _wrap_delete_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41443 { (char *)"AcceleratorEntry_Set", (PyCFunction
) _wrap_AcceleratorEntry_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41444 { (char *)"AcceleratorEntry_GetFlags", (PyCFunction
) _wrap_AcceleratorEntry_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41445 { (char *)"AcceleratorEntry_GetKeyCode", (PyCFunction
) _wrap_AcceleratorEntry_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41446 { (char *)"AcceleratorEntry_GetCommand", (PyCFunction
) _wrap_AcceleratorEntry_GetCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41447 { (char *)"AcceleratorEntry_swigregister", AcceleratorEntry_swigregister
, METH_VARARGS
, NULL
},
41448 { (char *)"new_AcceleratorTable", (PyCFunction
) _wrap_new_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41449 { (char *)"delete_AcceleratorTable", (PyCFunction
) _wrap_delete_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41450 { (char *)"AcceleratorTable_Ok", (PyCFunction
) _wrap_AcceleratorTable_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41451 { (char *)"AcceleratorTable_swigregister", AcceleratorTable_swigregister
, METH_VARARGS
, NULL
},
41452 { (char *)"GetAccelFromString", (PyCFunction
) _wrap_GetAccelFromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41453 { (char *)"new_VisualAttributes", (PyCFunction
) _wrap_new_VisualAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41454 { (char *)"delete_VisualAttributes", (PyCFunction
) _wrap_delete_VisualAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41455 { (char *)"VisualAttributes_font_set", (PyCFunction
) _wrap_VisualAttributes_font_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41456 { (char *)"VisualAttributes_font_get", (PyCFunction
) _wrap_VisualAttributes_font_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41457 { (char *)"VisualAttributes_colFg_set", (PyCFunction
) _wrap_VisualAttributes_colFg_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41458 { (char *)"VisualAttributes_colFg_get", (PyCFunction
) _wrap_VisualAttributes_colFg_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41459 { (char *)"VisualAttributes_colBg_set", (PyCFunction
) _wrap_VisualAttributes_colBg_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41460 { (char *)"VisualAttributes_colBg_get", (PyCFunction
) _wrap_VisualAttributes_colBg_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41461 { (char *)"VisualAttributes_swigregister", VisualAttributes_swigregister
, METH_VARARGS
, NULL
},
41462 { (char *)"new_Window", (PyCFunction
) _wrap_new_Window
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41463 { (char *)"new_PreWindow", (PyCFunction
) _wrap_new_PreWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41464 { (char *)"Window_Create", (PyCFunction
) _wrap_Window_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41465 { (char *)"Window_Close", (PyCFunction
) _wrap_Window_Close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41466 { (char *)"Window_Destroy", (PyCFunction
) _wrap_Window_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41467 { (char *)"Window_DestroyChildren", (PyCFunction
) _wrap_Window_DestroyChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41468 { (char *)"Window_IsBeingDeleted", (PyCFunction
) _wrap_Window_IsBeingDeleted
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41469 { (char *)"Window_SetTitle", (PyCFunction
) _wrap_Window_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41470 { (char *)"Window_GetTitle", (PyCFunction
) _wrap_Window_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41471 { (char *)"Window_SetLabel", (PyCFunction
) _wrap_Window_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41472 { (char *)"Window_GetLabel", (PyCFunction
) _wrap_Window_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41473 { (char *)"Window_SetName", (PyCFunction
) _wrap_Window_SetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41474 { (char *)"Window_GetName", (PyCFunction
) _wrap_Window_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41475 { (char *)"Window_SetWindowVariant", (PyCFunction
) _wrap_Window_SetWindowVariant
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41476 { (char *)"Window_GetWindowVariant", (PyCFunction
) _wrap_Window_GetWindowVariant
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41477 { (char *)"Window_SetId", (PyCFunction
) _wrap_Window_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41478 { (char *)"Window_GetId", (PyCFunction
) _wrap_Window_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41479 { (char *)"Window_NewControlId", (PyCFunction
) _wrap_Window_NewControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41480 { (char *)"Window_NextControlId", (PyCFunction
) _wrap_Window_NextControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41481 { (char *)"Window_PrevControlId", (PyCFunction
) _wrap_Window_PrevControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41482 { (char *)"Window_SetSize", (PyCFunction
) _wrap_Window_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41483 { (char *)"Window_SetDimensions", (PyCFunction
) _wrap_Window_SetDimensions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41484 { (char *)"Window_SetRect", (PyCFunction
) _wrap_Window_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41485 { (char *)"Window_SetSizeWH", (PyCFunction
) _wrap_Window_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41486 { (char *)"Window_Move", (PyCFunction
) _wrap_Window_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41487 { (char *)"Window_MoveXY", (PyCFunction
) _wrap_Window_MoveXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41488 { (char *)"Window_SetBestFittingSize", (PyCFunction
) _wrap_Window_SetBestFittingSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41489 { (char *)"Window_Raise", (PyCFunction
) _wrap_Window_Raise
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41490 { (char *)"Window_Lower", (PyCFunction
) _wrap_Window_Lower
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41491 { (char *)"Window_SetClientSize", (PyCFunction
) _wrap_Window_SetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41492 { (char *)"Window_SetClientSizeWH", (PyCFunction
) _wrap_Window_SetClientSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41493 { (char *)"Window_SetClientRect", (PyCFunction
) _wrap_Window_SetClientRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41494 { (char *)"Window_GetPosition", (PyCFunction
) _wrap_Window_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41495 { (char *)"Window_GetPositionTuple", (PyCFunction
) _wrap_Window_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41496 { (char *)"Window_GetSize", (PyCFunction
) _wrap_Window_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41497 { (char *)"Window_GetSizeTuple", (PyCFunction
) _wrap_Window_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41498 { (char *)"Window_GetRect", (PyCFunction
) _wrap_Window_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41499 { (char *)"Window_GetClientSize", (PyCFunction
) _wrap_Window_GetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41500 { (char *)"Window_GetClientSizeTuple", (PyCFunction
) _wrap_Window_GetClientSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41501 { (char *)"Window_GetClientAreaOrigin", (PyCFunction
) _wrap_Window_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41502 { (char *)"Window_GetClientRect", (PyCFunction
) _wrap_Window_GetClientRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41503 { (char *)"Window_GetBestSize", (PyCFunction
) _wrap_Window_GetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41504 { (char *)"Window_GetBestSizeTuple", (PyCFunction
) _wrap_Window_GetBestSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41505 { (char *)"Window_InvalidateBestSize", (PyCFunction
) _wrap_Window_InvalidateBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41506 { (char *)"Window_GetBestFittingSize", (PyCFunction
) _wrap_Window_GetBestFittingSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41507 { (char *)"Window_GetAdjustedBestSize", (PyCFunction
) _wrap_Window_GetAdjustedBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41508 { (char *)"Window_Center", (PyCFunction
) _wrap_Window_Center
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41509 { (char *)"Window_CenterOnScreen", (PyCFunction
) _wrap_Window_CenterOnScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41510 { (char *)"Window_CenterOnParent", (PyCFunction
) _wrap_Window_CenterOnParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41511 { (char *)"Window_Fit", (PyCFunction
) _wrap_Window_Fit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41512 { (char *)"Window_FitInside", (PyCFunction
) _wrap_Window_FitInside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41513 { (char *)"Window_SetSizeHints", (PyCFunction
) _wrap_Window_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41514 { (char *)"Window_SetSizeHintsSz", (PyCFunction
) _wrap_Window_SetSizeHintsSz
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41515 { (char *)"Window_SetVirtualSizeHints", (PyCFunction
) _wrap_Window_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41516 { (char *)"Window_SetVirtualSizeHintsSz", (PyCFunction
) _wrap_Window_SetVirtualSizeHintsSz
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41517 { (char *)"Window_GetMaxSize", (PyCFunction
) _wrap_Window_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41518 { (char *)"Window_GetMinSize", (PyCFunction
) _wrap_Window_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41519 { (char *)"Window_SetMinSize", (PyCFunction
) _wrap_Window_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41520 { (char *)"Window_SetMaxSize", (PyCFunction
) _wrap_Window_SetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41521 { (char *)"Window_GetMinWidth", (PyCFunction
) _wrap_Window_GetMinWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41522 { (char *)"Window_GetMinHeight", (PyCFunction
) _wrap_Window_GetMinHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41523 { (char *)"Window_GetMaxWidth", (PyCFunction
) _wrap_Window_GetMaxWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41524 { (char *)"Window_GetMaxHeight", (PyCFunction
) _wrap_Window_GetMaxHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41525 { (char *)"Window_SetVirtualSize", (PyCFunction
) _wrap_Window_SetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41526 { (char *)"Window_SetVirtualSizeWH", (PyCFunction
) _wrap_Window_SetVirtualSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41527 { (char *)"Window_GetVirtualSize", (PyCFunction
) _wrap_Window_GetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41528 { (char *)"Window_GetVirtualSizeTuple", (PyCFunction
) _wrap_Window_GetVirtualSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41529 { (char *)"Window_GetBestVirtualSize", (PyCFunction
) _wrap_Window_GetBestVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41530 { (char *)"Window_Show", (PyCFunction
) _wrap_Window_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41531 { (char *)"Window_Hide", (PyCFunction
) _wrap_Window_Hide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41532 { (char *)"Window_Enable", (PyCFunction
) _wrap_Window_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41533 { (char *)"Window_Disable", (PyCFunction
) _wrap_Window_Disable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41534 { (char *)"Window_IsShown", (PyCFunction
) _wrap_Window_IsShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41535 { (char *)"Window_IsEnabled", (PyCFunction
) _wrap_Window_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41536 { (char *)"Window_SetWindowStyleFlag", (PyCFunction
) _wrap_Window_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41537 { (char *)"Window_GetWindowStyleFlag", (PyCFunction
) _wrap_Window_GetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41538 { (char *)"Window_HasFlag", (PyCFunction
) _wrap_Window_HasFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41539 { (char *)"Window_IsRetained", (PyCFunction
) _wrap_Window_IsRetained
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41540 { (char *)"Window_SetExtraStyle", (PyCFunction
) _wrap_Window_SetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41541 { (char *)"Window_GetExtraStyle", (PyCFunction
) _wrap_Window_GetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41542 { (char *)"Window_MakeModal", (PyCFunction
) _wrap_Window_MakeModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41543 { (char *)"Window_SetThemeEnabled", (PyCFunction
) _wrap_Window_SetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41544 { (char *)"Window_GetThemeEnabled", (PyCFunction
) _wrap_Window_GetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41545 { (char *)"Window_SetFocus", (PyCFunction
) _wrap_Window_SetFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41546 { (char *)"Window_SetFocusFromKbd", (PyCFunction
) _wrap_Window_SetFocusFromKbd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41547 { (char *)"Window_FindFocus", (PyCFunction
) _wrap_Window_FindFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41548 { (char *)"Window_AcceptsFocus", (PyCFunction
) _wrap_Window_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41549 { (char *)"Window_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_Window_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41550 { (char *)"Window_GetDefaultItem", (PyCFunction
) _wrap_Window_GetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41551 { (char *)"Window_SetDefaultItem", (PyCFunction
) _wrap_Window_SetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41552 { (char *)"Window_SetTmpDefaultItem", (PyCFunction
) _wrap_Window_SetTmpDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41553 { (char *)"Window_Navigate", (PyCFunction
) _wrap_Window_Navigate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41554 { (char *)"Window_MoveAfterInTabOrder", (PyCFunction
) _wrap_Window_MoveAfterInTabOrder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41555 { (char *)"Window_MoveBeforeInTabOrder", (PyCFunction
) _wrap_Window_MoveBeforeInTabOrder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41556 { (char *)"Window_GetChildren", (PyCFunction
) _wrap_Window_GetChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41557 { (char *)"Window_GetParent", (PyCFunction
) _wrap_Window_GetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41558 { (char *)"Window_GetGrandParent", (PyCFunction
) _wrap_Window_GetGrandParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41559 { (char *)"Window_IsTopLevel", (PyCFunction
) _wrap_Window_IsTopLevel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41560 { (char *)"Window_Reparent", (PyCFunction
) _wrap_Window_Reparent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41561 { (char *)"Window_AddChild", (PyCFunction
) _wrap_Window_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41562 { (char *)"Window_RemoveChild", (PyCFunction
) _wrap_Window_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41563 { (char *)"Window_FindWindowById", (PyCFunction
) _wrap_Window_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41564 { (char *)"Window_FindWindowByName", (PyCFunction
) _wrap_Window_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41565 { (char *)"Window_GetEventHandler", (PyCFunction
) _wrap_Window_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41566 { (char *)"Window_SetEventHandler", (PyCFunction
) _wrap_Window_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41567 { (char *)"Window_PushEventHandler", (PyCFunction
) _wrap_Window_PushEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41568 { (char *)"Window_PopEventHandler", (PyCFunction
) _wrap_Window_PopEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41569 { (char *)"Window_RemoveEventHandler", (PyCFunction
) _wrap_Window_RemoveEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41570 { (char *)"Window_SetValidator", (PyCFunction
) _wrap_Window_SetValidator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41571 { (char *)"Window_GetValidator", (PyCFunction
) _wrap_Window_GetValidator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41572 { (char *)"Window_Validate", (PyCFunction
) _wrap_Window_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41573 { (char *)"Window_TransferDataToWindow", (PyCFunction
) _wrap_Window_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41574 { (char *)"Window_TransferDataFromWindow", (PyCFunction
) _wrap_Window_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41575 { (char *)"Window_InitDialog", (PyCFunction
) _wrap_Window_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41576 { (char *)"Window_SetAcceleratorTable", (PyCFunction
) _wrap_Window_SetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41577 { (char *)"Window_GetAcceleratorTable", (PyCFunction
) _wrap_Window_GetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41578 { (char *)"Window_RegisterHotKey", (PyCFunction
) _wrap_Window_RegisterHotKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41579 { (char *)"Window_UnregisterHotKey", (PyCFunction
) _wrap_Window_UnregisterHotKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41580 { (char *)"Window_ConvertDialogPointToPixels", (PyCFunction
) _wrap_Window_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41581 { (char *)"Window_ConvertDialogSizeToPixels", (PyCFunction
) _wrap_Window_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41582 { (char *)"Window_DLG_PNT", (PyCFunction
) _wrap_Window_DLG_PNT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41583 { (char *)"Window_DLG_SZE", (PyCFunction
) _wrap_Window_DLG_SZE
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41584 { (char *)"Window_ConvertPixelPointToDialog", (PyCFunction
) _wrap_Window_ConvertPixelPointToDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41585 { (char *)"Window_ConvertPixelSizeToDialog", (PyCFunction
) _wrap_Window_ConvertPixelSizeToDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41586 { (char *)"Window_WarpPointer", (PyCFunction
) _wrap_Window_WarpPointer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41587 { (char *)"Window_CaptureMouse", (PyCFunction
) _wrap_Window_CaptureMouse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41588 { (char *)"Window_ReleaseMouse", (PyCFunction
) _wrap_Window_ReleaseMouse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41589 { (char *)"Window_GetCapture", (PyCFunction
) _wrap_Window_GetCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41590 { (char *)"Window_HasCapture", (PyCFunction
) _wrap_Window_HasCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41591 { (char *)"Window_Refresh", (PyCFunction
) _wrap_Window_Refresh
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41592 { (char *)"Window_RefreshRect", (PyCFunction
) _wrap_Window_RefreshRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41593 { (char *)"Window_Update", (PyCFunction
) _wrap_Window_Update
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41594 { (char *)"Window_ClearBackground", (PyCFunction
) _wrap_Window_ClearBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41595 { (char *)"Window_Freeze", (PyCFunction
) _wrap_Window_Freeze
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41596 { (char *)"Window_Thaw", (PyCFunction
) _wrap_Window_Thaw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41597 { (char *)"Window_PrepareDC", (PyCFunction
) _wrap_Window_PrepareDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41598 { (char *)"Window_GetUpdateRegion", (PyCFunction
) _wrap_Window_GetUpdateRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41599 { (char *)"Window_GetUpdateClientRect", (PyCFunction
) _wrap_Window_GetUpdateClientRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41600 { (char *)"Window_IsExposed", (PyCFunction
) _wrap_Window_IsExposed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41601 { (char *)"Window_IsExposedPoint", (PyCFunction
) _wrap_Window_IsExposedPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41602 { (char *)"Window_IsExposedRect", (PyCFunction
) _wrap_Window_IsExposedRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41603 { (char *)"Window_GetDefaultAttributes", (PyCFunction
) _wrap_Window_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41604 { (char *)"Window_GetClassDefaultAttributes", (PyCFunction
) _wrap_Window_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41605 { (char *)"Window_SetBackgroundColour", (PyCFunction
) _wrap_Window_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41606 { (char *)"Window_SetOwnBackgroundColour", (PyCFunction
) _wrap_Window_SetOwnBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41607 { (char *)"Window_SetForegroundColour", (PyCFunction
) _wrap_Window_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41608 { (char *)"Window_SetOwnForegroundColour", (PyCFunction
) _wrap_Window_SetOwnForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41609 { (char *)"Window_GetBackgroundColour", (PyCFunction
) _wrap_Window_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41610 { (char *)"Window_GetForegroundColour", (PyCFunction
) _wrap_Window_GetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41611 { (char *)"Window_SetBackgroundStyle", (PyCFunction
) _wrap_Window_SetBackgroundStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41612 { (char *)"Window_GetBackgroundStyle", (PyCFunction
) _wrap_Window_GetBackgroundStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41613 { (char *)"Window_SetCursor", (PyCFunction
) _wrap_Window_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41614 { (char *)"Window_GetCursor", (PyCFunction
) _wrap_Window_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41615 { (char *)"Window_SetFont", (PyCFunction
) _wrap_Window_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41616 { (char *)"Window_SetOwnFont", (PyCFunction
) _wrap_Window_SetOwnFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41617 { (char *)"Window_GetFont", (PyCFunction
) _wrap_Window_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41618 { (char *)"Window_SetCaret", (PyCFunction
) _wrap_Window_SetCaret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41619 { (char *)"Window_GetCaret", (PyCFunction
) _wrap_Window_GetCaret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41620 { (char *)"Window_GetCharHeight", (PyCFunction
) _wrap_Window_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41621 { (char *)"Window_GetCharWidth", (PyCFunction
) _wrap_Window_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41622 { (char *)"Window_GetTextExtent", (PyCFunction
) _wrap_Window_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41623 { (char *)"Window_GetFullTextExtent", (PyCFunction
) _wrap_Window_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41624 { (char *)"Window_ClientToScreenXY", (PyCFunction
) _wrap_Window_ClientToScreenXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41625 { (char *)"Window_ScreenToClientXY", (PyCFunction
) _wrap_Window_ScreenToClientXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41626 { (char *)"Window_ClientToScreen", (PyCFunction
) _wrap_Window_ClientToScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41627 { (char *)"Window_ScreenToClient", (PyCFunction
) _wrap_Window_ScreenToClient
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41628 { (char *)"Window_HitTestXY", (PyCFunction
) _wrap_Window_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41629 { (char *)"Window_HitTest", (PyCFunction
) _wrap_Window_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41630 { (char *)"Window_GetBorder", _wrap_Window_GetBorder
, METH_VARARGS
, NULL
},
41631 { (char *)"Window_UpdateWindowUI", (PyCFunction
) _wrap_Window_UpdateWindowUI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41632 { (char *)"Window_PopupMenuXY", (PyCFunction
) _wrap_Window_PopupMenuXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41633 { (char *)"Window_PopupMenu", (PyCFunction
) _wrap_Window_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41634 { (char *)"Window_GetHandle", (PyCFunction
) _wrap_Window_GetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41635 { (char *)"Window_OnPaint", (PyCFunction
) _wrap_Window_OnPaint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41636 { (char *)"Window_HasScrollbar", (PyCFunction
) _wrap_Window_HasScrollbar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41637 { (char *)"Window_SetScrollbar", (PyCFunction
) _wrap_Window_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41638 { (char *)"Window_SetScrollPos", (PyCFunction
) _wrap_Window_SetScrollPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41639 { (char *)"Window_GetScrollPos", (PyCFunction
) _wrap_Window_GetScrollPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41640 { (char *)"Window_GetScrollThumb", (PyCFunction
) _wrap_Window_GetScrollThumb
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41641 { (char *)"Window_GetScrollRange", (PyCFunction
) _wrap_Window_GetScrollRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41642 { (char *)"Window_ScrollWindow", (PyCFunction
) _wrap_Window_ScrollWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41643 { (char *)"Window_ScrollLines", (PyCFunction
) _wrap_Window_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41644 { (char *)"Window_ScrollPages", (PyCFunction
) _wrap_Window_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41645 { (char *)"Window_LineUp", (PyCFunction
) _wrap_Window_LineUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41646 { (char *)"Window_LineDown", (PyCFunction
) _wrap_Window_LineDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41647 { (char *)"Window_PageUp", (PyCFunction
) _wrap_Window_PageUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41648 { (char *)"Window_PageDown", (PyCFunction
) _wrap_Window_PageDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41649 { (char *)"Window_SetHelpText", (PyCFunction
) _wrap_Window_SetHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41650 { (char *)"Window_SetHelpTextForId", (PyCFunction
) _wrap_Window_SetHelpTextForId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41651 { (char *)"Window_GetHelpText", (PyCFunction
) _wrap_Window_GetHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41652 { (char *)"Window_SetToolTipString", (PyCFunction
) _wrap_Window_SetToolTipString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41653 { (char *)"Window_SetToolTip", (PyCFunction
) _wrap_Window_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41654 { (char *)"Window_GetToolTip", (PyCFunction
) _wrap_Window_GetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41655 { (char *)"Window_SetDropTarget", (PyCFunction
) _wrap_Window_SetDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41656 { (char *)"Window_GetDropTarget", (PyCFunction
) _wrap_Window_GetDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41657 { (char *)"Window_DragAcceptFiles", (PyCFunction
) _wrap_Window_DragAcceptFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41658 { (char *)"Window_SetConstraints", (PyCFunction
) _wrap_Window_SetConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41659 { (char *)"Window_GetConstraints", (PyCFunction
) _wrap_Window_GetConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41660 { (char *)"Window_SetAutoLayout", (PyCFunction
) _wrap_Window_SetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41661 { (char *)"Window_GetAutoLayout", (PyCFunction
) _wrap_Window_GetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41662 { (char *)"Window_Layout", (PyCFunction
) _wrap_Window_Layout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41663 { (char *)"Window_SetSizer", (PyCFunction
) _wrap_Window_SetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41664 { (char *)"Window_SetSizerAndFit", (PyCFunction
) _wrap_Window_SetSizerAndFit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41665 { (char *)"Window_GetSizer", (PyCFunction
) _wrap_Window_GetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41666 { (char *)"Window_SetContainingSizer", (PyCFunction
) _wrap_Window_SetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41667 { (char *)"Window_GetContainingSizer", (PyCFunction
) _wrap_Window_GetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41668 { (char *)"Window_InheritAttributes", (PyCFunction
) _wrap_Window_InheritAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41669 { (char *)"Window_ShouldInheritColours", (PyCFunction
) _wrap_Window_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41670 { (char *)"Window_swigregister", Window_swigregister
, METH_VARARGS
, NULL
},
41671 { (char *)"FindWindowById", (PyCFunction
) _wrap_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41672 { (char *)"FindWindowByName", (PyCFunction
) _wrap_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41673 { (char *)"FindWindowByLabel", (PyCFunction
) _wrap_FindWindowByLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41674 { (char *)"Window_FromHWND", (PyCFunction
) _wrap_Window_FromHWND
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41675 { (char *)"new_Validator", (PyCFunction
) _wrap_new_Validator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41676 { (char *)"Validator_Clone", (PyCFunction
) _wrap_Validator_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41677 { (char *)"Validator_Validate", (PyCFunction
) _wrap_Validator_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41678 { (char *)"Validator_TransferToWindow", (PyCFunction
) _wrap_Validator_TransferToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41679 { (char *)"Validator_TransferFromWindow", (PyCFunction
) _wrap_Validator_TransferFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41680 { (char *)"Validator_GetWindow", (PyCFunction
) _wrap_Validator_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41681 { (char *)"Validator_SetWindow", (PyCFunction
) _wrap_Validator_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41682 { (char *)"Validator_IsSilent", (PyCFunction
) _wrap_Validator_IsSilent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41683 { (char *)"Validator_SetBellOnError", (PyCFunction
) _wrap_Validator_SetBellOnError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41684 { (char *)"Validator_swigregister", Validator_swigregister
, METH_VARARGS
, NULL
},
41685 { (char *)"new_PyValidator", (PyCFunction
) _wrap_new_PyValidator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41686 { (char *)"PyValidator__setCallbackInfo", (PyCFunction
) _wrap_PyValidator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41687 { (char *)"PyValidator_swigregister", PyValidator_swigregister
, METH_VARARGS
, NULL
},
41688 { (char *)"new_Menu", (PyCFunction
) _wrap_new_Menu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41689 { (char *)"Menu_Append", (PyCFunction
) _wrap_Menu_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41690 { (char *)"Menu_AppendSeparator", (PyCFunction
) _wrap_Menu_AppendSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41691 { (char *)"Menu_AppendCheckItem", (PyCFunction
) _wrap_Menu_AppendCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41692 { (char *)"Menu_AppendRadioItem", (PyCFunction
) _wrap_Menu_AppendRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41693 { (char *)"Menu_AppendMenu", (PyCFunction
) _wrap_Menu_AppendMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41694 { (char *)"Menu_AppendItem", (PyCFunction
) _wrap_Menu_AppendItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41695 { (char *)"Menu_Break", (PyCFunction
) _wrap_Menu_Break
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41696 { (char *)"Menu_InsertItem", (PyCFunction
) _wrap_Menu_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41697 { (char *)"Menu_Insert", (PyCFunction
) _wrap_Menu_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41698 { (char *)"Menu_InsertSeparator", (PyCFunction
) _wrap_Menu_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41699 { (char *)"Menu_InsertCheckItem", (PyCFunction
) _wrap_Menu_InsertCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41700 { (char *)"Menu_InsertRadioItem", (PyCFunction
) _wrap_Menu_InsertRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41701 { (char *)"Menu_InsertMenu", (PyCFunction
) _wrap_Menu_InsertMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41702 { (char *)"Menu_PrependItem", (PyCFunction
) _wrap_Menu_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41703 { (char *)"Menu_Prepend", (PyCFunction
) _wrap_Menu_Prepend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41704 { (char *)"Menu_PrependSeparator", (PyCFunction
) _wrap_Menu_PrependSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41705 { (char *)"Menu_PrependCheckItem", (PyCFunction
) _wrap_Menu_PrependCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41706 { (char *)"Menu_PrependRadioItem", (PyCFunction
) _wrap_Menu_PrependRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41707 { (char *)"Menu_PrependMenu", (PyCFunction
) _wrap_Menu_PrependMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41708 { (char *)"Menu_Remove", (PyCFunction
) _wrap_Menu_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41709 { (char *)"Menu_RemoveItem", (PyCFunction
) _wrap_Menu_RemoveItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41710 { (char *)"Menu_Delete", (PyCFunction
) _wrap_Menu_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41711 { (char *)"Menu_DeleteItem", (PyCFunction
) _wrap_Menu_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41712 { (char *)"Menu_Destroy", (PyCFunction
) _wrap_Menu_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41713 { (char *)"Menu_DestroyId", (PyCFunction
) _wrap_Menu_DestroyId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41714 { (char *)"Menu_DestroyItem", (PyCFunction
) _wrap_Menu_DestroyItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41715 { (char *)"Menu_GetMenuItemCount", (PyCFunction
) _wrap_Menu_GetMenuItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41716 { (char *)"Menu_GetMenuItems", (PyCFunction
) _wrap_Menu_GetMenuItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41717 { (char *)"Menu_FindItem", (PyCFunction
) _wrap_Menu_FindItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41718 { (char *)"Menu_FindItemById", (PyCFunction
) _wrap_Menu_FindItemById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41719 { (char *)"Menu_FindItemByPosition", (PyCFunction
) _wrap_Menu_FindItemByPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41720 { (char *)"Menu_Enable", (PyCFunction
) _wrap_Menu_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41721 { (char *)"Menu_IsEnabled", (PyCFunction
) _wrap_Menu_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41722 { (char *)"Menu_Check", (PyCFunction
) _wrap_Menu_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41723 { (char *)"Menu_IsChecked", (PyCFunction
) _wrap_Menu_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41724 { (char *)"Menu_SetLabel", (PyCFunction
) _wrap_Menu_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41725 { (char *)"Menu_GetLabel", (PyCFunction
) _wrap_Menu_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41726 { (char *)"Menu_SetHelpString", (PyCFunction
) _wrap_Menu_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41727 { (char *)"Menu_GetHelpString", (PyCFunction
) _wrap_Menu_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41728 { (char *)"Menu_SetTitle", (PyCFunction
) _wrap_Menu_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41729 { (char *)"Menu_GetTitle", (PyCFunction
) _wrap_Menu_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41730 { (char *)"Menu_SetEventHandler", (PyCFunction
) _wrap_Menu_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41731 { (char *)"Menu_GetEventHandler", (PyCFunction
) _wrap_Menu_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41732 { (char *)"Menu_SetInvokingWindow", (PyCFunction
) _wrap_Menu_SetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41733 { (char *)"Menu_GetInvokingWindow", (PyCFunction
) _wrap_Menu_GetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41734 { (char *)"Menu_GetStyle", (PyCFunction
) _wrap_Menu_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41735 { (char *)"Menu_UpdateUI", (PyCFunction
) _wrap_Menu_UpdateUI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41736 { (char *)"Menu_GetMenuBar", (PyCFunction
) _wrap_Menu_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41737 { (char *)"Menu_Attach", (PyCFunction
) _wrap_Menu_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41738 { (char *)"Menu_Detach", (PyCFunction
) _wrap_Menu_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41739 { (char *)"Menu_IsAttached", (PyCFunction
) _wrap_Menu_IsAttached
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41740 { (char *)"Menu_SetParent", (PyCFunction
) _wrap_Menu_SetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41741 { (char *)"Menu_GetParent", (PyCFunction
) _wrap_Menu_GetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41742 { (char *)"Menu_swigregister", Menu_swigregister
, METH_VARARGS
, NULL
},
41743 { (char *)"new_MenuBar", (PyCFunction
) _wrap_new_MenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41744 { (char *)"MenuBar_Append", (PyCFunction
) _wrap_MenuBar_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41745 { (char *)"MenuBar_Insert", (PyCFunction
) _wrap_MenuBar_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41746 { (char *)"MenuBar_GetMenuCount", (PyCFunction
) _wrap_MenuBar_GetMenuCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41747 { (char *)"MenuBar_GetMenu", (PyCFunction
) _wrap_MenuBar_GetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41748 { (char *)"MenuBar_Replace", (PyCFunction
) _wrap_MenuBar_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41749 { (char *)"MenuBar_Remove", (PyCFunction
) _wrap_MenuBar_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41750 { (char *)"MenuBar_EnableTop", (PyCFunction
) _wrap_MenuBar_EnableTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41751 { (char *)"MenuBar_IsEnabledTop", (PyCFunction
) _wrap_MenuBar_IsEnabledTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41752 { (char *)"MenuBar_SetLabelTop", (PyCFunction
) _wrap_MenuBar_SetLabelTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41753 { (char *)"MenuBar_GetLabelTop", (PyCFunction
) _wrap_MenuBar_GetLabelTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41754 { (char *)"MenuBar_FindMenuItem", (PyCFunction
) _wrap_MenuBar_FindMenuItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41755 { (char *)"MenuBar_FindItemById", (PyCFunction
) _wrap_MenuBar_FindItemById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41756 { (char *)"MenuBar_FindMenu", (PyCFunction
) _wrap_MenuBar_FindMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41757 { (char *)"MenuBar_Enable", (PyCFunction
) _wrap_MenuBar_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41758 { (char *)"MenuBar_Check", (PyCFunction
) _wrap_MenuBar_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41759 { (char *)"MenuBar_IsChecked", (PyCFunction
) _wrap_MenuBar_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41760 { (char *)"MenuBar_IsEnabled", (PyCFunction
) _wrap_MenuBar_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41761 { (char *)"MenuBar_SetLabel", (PyCFunction
) _wrap_MenuBar_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41762 { (char *)"MenuBar_GetLabel", (PyCFunction
) _wrap_MenuBar_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41763 { (char *)"MenuBar_SetHelpString", (PyCFunction
) _wrap_MenuBar_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41764 { (char *)"MenuBar_GetHelpString", (PyCFunction
) _wrap_MenuBar_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41765 { (char *)"MenuBar_GetFrame", (PyCFunction
) _wrap_MenuBar_GetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41766 { (char *)"MenuBar_IsAttached", (PyCFunction
) _wrap_MenuBar_IsAttached
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41767 { (char *)"MenuBar_Attach", (PyCFunction
) _wrap_MenuBar_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41768 { (char *)"MenuBar_Detach", (PyCFunction
) _wrap_MenuBar_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41769 { (char *)"MenuBar_swigregister", MenuBar_swigregister
, METH_VARARGS
, NULL
},
41770 { (char *)"new_MenuItem", (PyCFunction
) _wrap_new_MenuItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41771 { (char *)"MenuItem_GetMenu", (PyCFunction
) _wrap_MenuItem_GetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41772 { (char *)"MenuItem_SetMenu", (PyCFunction
) _wrap_MenuItem_SetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41773 { (char *)"MenuItem_SetId", (PyCFunction
) _wrap_MenuItem_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41774 { (char *)"MenuItem_GetId", (PyCFunction
) _wrap_MenuItem_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41775 { (char *)"MenuItem_IsSeparator", (PyCFunction
) _wrap_MenuItem_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41776 { (char *)"MenuItem_SetText", (PyCFunction
) _wrap_MenuItem_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41777 { (char *)"MenuItem_GetLabel", (PyCFunction
) _wrap_MenuItem_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41778 { (char *)"MenuItem_GetText", (PyCFunction
) _wrap_MenuItem_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41779 { (char *)"MenuItem_GetLabelFromText", (PyCFunction
) _wrap_MenuItem_GetLabelFromText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41780 { (char *)"MenuItem_GetKind", (PyCFunction
) _wrap_MenuItem_GetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41781 { (char *)"MenuItem_SetKind", (PyCFunction
) _wrap_MenuItem_SetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41782 { (char *)"MenuItem_SetCheckable", (PyCFunction
) _wrap_MenuItem_SetCheckable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41783 { (char *)"MenuItem_IsCheckable", (PyCFunction
) _wrap_MenuItem_IsCheckable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41784 { (char *)"MenuItem_IsSubMenu", (PyCFunction
) _wrap_MenuItem_IsSubMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41785 { (char *)"MenuItem_SetSubMenu", (PyCFunction
) _wrap_MenuItem_SetSubMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41786 { (char *)"MenuItem_GetSubMenu", (PyCFunction
) _wrap_MenuItem_GetSubMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41787 { (char *)"MenuItem_Enable", (PyCFunction
) _wrap_MenuItem_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41788 { (char *)"MenuItem_IsEnabled", (PyCFunction
) _wrap_MenuItem_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41789 { (char *)"MenuItem_Check", (PyCFunction
) _wrap_MenuItem_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41790 { (char *)"MenuItem_IsChecked", (PyCFunction
) _wrap_MenuItem_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41791 { (char *)"MenuItem_Toggle", (PyCFunction
) _wrap_MenuItem_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41792 { (char *)"MenuItem_SetHelp", (PyCFunction
) _wrap_MenuItem_SetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41793 { (char *)"MenuItem_GetHelp", (PyCFunction
) _wrap_MenuItem_GetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41794 { (char *)"MenuItem_GetAccel", (PyCFunction
) _wrap_MenuItem_GetAccel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41795 { (char *)"MenuItem_SetAccel", (PyCFunction
) _wrap_MenuItem_SetAccel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41796 { (char *)"MenuItem_SetFont", (PyCFunction
) _wrap_MenuItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41797 { (char *)"MenuItem_GetFont", (PyCFunction
) _wrap_MenuItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41798 { (char *)"MenuItem_SetTextColour", (PyCFunction
) _wrap_MenuItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41799 { (char *)"MenuItem_GetTextColour", (PyCFunction
) _wrap_MenuItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41800 { (char *)"MenuItem_SetBackgroundColour", (PyCFunction
) _wrap_MenuItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41801 { (char *)"MenuItem_GetBackgroundColour", (PyCFunction
) _wrap_MenuItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41802 { (char *)"MenuItem_SetBitmaps", (PyCFunction
) _wrap_MenuItem_SetBitmaps
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41803 { (char *)"MenuItem_SetDisabledBitmap", (PyCFunction
) _wrap_MenuItem_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41804 { (char *)"MenuItem_GetDisabledBitmap", (PyCFunction
) _wrap_MenuItem_GetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41805 { (char *)"MenuItem_SetMarginWidth", (PyCFunction
) _wrap_MenuItem_SetMarginWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41806 { (char *)"MenuItem_GetMarginWidth", (PyCFunction
) _wrap_MenuItem_GetMarginWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41807 { (char *)"MenuItem_GetDefaultMarginWidth", (PyCFunction
) _wrap_MenuItem_GetDefaultMarginWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41808 { (char *)"MenuItem_IsOwnerDrawn", (PyCFunction
) _wrap_MenuItem_IsOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41809 { (char *)"MenuItem_SetOwnerDrawn", (PyCFunction
) _wrap_MenuItem_SetOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41810 { (char *)"MenuItem_ResetOwnerDrawn", (PyCFunction
) _wrap_MenuItem_ResetOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41811 { (char *)"MenuItem_SetBitmap", (PyCFunction
) _wrap_MenuItem_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41812 { (char *)"MenuItem_GetBitmap", (PyCFunction
) _wrap_MenuItem_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41813 { (char *)"MenuItem_swigregister", MenuItem_swigregister
, METH_VARARGS
, NULL
},
41814 { (char *)"new_Control", (PyCFunction
) _wrap_new_Control
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41815 { (char *)"new_PreControl", (PyCFunction
) _wrap_new_PreControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41816 { (char *)"Control_Create", (PyCFunction
) _wrap_Control_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41817 { (char *)"Control_Command", (PyCFunction
) _wrap_Control_Command
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41818 { (char *)"Control_GetLabel", (PyCFunction
) _wrap_Control_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41819 { (char *)"Control_SetLabel", (PyCFunction
) _wrap_Control_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41820 { (char *)"Control_GetClassDefaultAttributes", (PyCFunction
) _wrap_Control_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41821 { (char *)"Control_swigregister", Control_swigregister
, METH_VARARGS
, NULL
},
41822 { (char *)"ItemContainer_Append", (PyCFunction
) _wrap_ItemContainer_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41823 { (char *)"ItemContainer_AppendItems", (PyCFunction
) _wrap_ItemContainer_AppendItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41824 { (char *)"ItemContainer_Insert", (PyCFunction
) _wrap_ItemContainer_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41825 { (char *)"ItemContainer_Clear", (PyCFunction
) _wrap_ItemContainer_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41826 { (char *)"ItemContainer_Delete", (PyCFunction
) _wrap_ItemContainer_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41827 { (char *)"ItemContainer_GetCount", (PyCFunction
) _wrap_ItemContainer_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41828 { (char *)"ItemContainer_IsEmpty", (PyCFunction
) _wrap_ItemContainer_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41829 { (char *)"ItemContainer_GetString", (PyCFunction
) _wrap_ItemContainer_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41830 { (char *)"ItemContainer_GetStrings", (PyCFunction
) _wrap_ItemContainer_GetStrings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41831 { (char *)"ItemContainer_SetString", (PyCFunction
) _wrap_ItemContainer_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41832 { (char *)"ItemContainer_FindString", (PyCFunction
) _wrap_ItemContainer_FindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41833 { (char *)"ItemContainer_Select", (PyCFunction
) _wrap_ItemContainer_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41834 { (char *)"ItemContainer_GetSelection", (PyCFunction
) _wrap_ItemContainer_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41835 { (char *)"ItemContainer_GetStringSelection", (PyCFunction
) _wrap_ItemContainer_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41836 { (char *)"ItemContainer_GetClientData", (PyCFunction
) _wrap_ItemContainer_GetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41837 { (char *)"ItemContainer_SetClientData", (PyCFunction
) _wrap_ItemContainer_SetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41838 { (char *)"ItemContainer_swigregister", ItemContainer_swigregister
, METH_VARARGS
, NULL
},
41839 { (char *)"ControlWithItems_swigregister", ControlWithItems_swigregister
, METH_VARARGS
, NULL
},
41840 { (char *)"new_SizerItem", (PyCFunction
) _wrap_new_SizerItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41841 { (char *)"new_SizerItemWindow", (PyCFunction
) _wrap_new_SizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41842 { (char *)"new_SizerItemSpacer", (PyCFunction
) _wrap_new_SizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41843 { (char *)"new_SizerItemSizer", (PyCFunction
) _wrap_new_SizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41844 { (char *)"SizerItem_DeleteWindows", (PyCFunction
) _wrap_SizerItem_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41845 { (char *)"SizerItem_DetachSizer", (PyCFunction
) _wrap_SizerItem_DetachSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41846 { (char *)"SizerItem_GetSize", (PyCFunction
) _wrap_SizerItem_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41847 { (char *)"SizerItem_CalcMin", (PyCFunction
) _wrap_SizerItem_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41848 { (char *)"SizerItem_SetDimension", (PyCFunction
) _wrap_SizerItem_SetDimension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41849 { (char *)"SizerItem_GetMinSize", (PyCFunction
) _wrap_SizerItem_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41850 { (char *)"SizerItem_GetMinSizeWithBorder", (PyCFunction
) _wrap_SizerItem_GetMinSizeWithBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41851 { (char *)"SizerItem_SetInitSize", (PyCFunction
) _wrap_SizerItem_SetInitSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41852 { (char *)"SizerItem_SetRatioWH", (PyCFunction
) _wrap_SizerItem_SetRatioWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41853 { (char *)"SizerItem_SetRatioSize", (PyCFunction
) _wrap_SizerItem_SetRatioSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41854 { (char *)"SizerItem_SetRatio", (PyCFunction
) _wrap_SizerItem_SetRatio
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41855 { (char *)"SizerItem_GetRatio", (PyCFunction
) _wrap_SizerItem_GetRatio
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41856 { (char *)"SizerItem_IsWindow", (PyCFunction
) _wrap_SizerItem_IsWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41857 { (char *)"SizerItem_IsSizer", (PyCFunction
) _wrap_SizerItem_IsSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41858 { (char *)"SizerItem_IsSpacer", (PyCFunction
) _wrap_SizerItem_IsSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41859 { (char *)"SizerItem_SetProportion", (PyCFunction
) _wrap_SizerItem_SetProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41860 { (char *)"SizerItem_GetProportion", (PyCFunction
) _wrap_SizerItem_GetProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41861 { (char *)"SizerItem_SetFlag", (PyCFunction
) _wrap_SizerItem_SetFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41862 { (char *)"SizerItem_GetFlag", (PyCFunction
) _wrap_SizerItem_GetFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41863 { (char *)"SizerItem_SetBorder", (PyCFunction
) _wrap_SizerItem_SetBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41864 { (char *)"SizerItem_GetBorder", (PyCFunction
) _wrap_SizerItem_GetBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41865 { (char *)"SizerItem_GetWindow", (PyCFunction
) _wrap_SizerItem_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41866 { (char *)"SizerItem_SetWindow", (PyCFunction
) _wrap_SizerItem_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41867 { (char *)"SizerItem_GetSizer", (PyCFunction
) _wrap_SizerItem_GetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41868 { (char *)"SizerItem_SetSizer", (PyCFunction
) _wrap_SizerItem_SetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41869 { (char *)"SizerItem_GetSpacer", (PyCFunction
) _wrap_SizerItem_GetSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41870 { (char *)"SizerItem_SetSpacer", (PyCFunction
) _wrap_SizerItem_SetSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41871 { (char *)"SizerItem_Show", (PyCFunction
) _wrap_SizerItem_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41872 { (char *)"SizerItem_IsShown", (PyCFunction
) _wrap_SizerItem_IsShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41873 { (char *)"SizerItem_GetPosition", (PyCFunction
) _wrap_SizerItem_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41874 { (char *)"SizerItem_GetUserData", (PyCFunction
) _wrap_SizerItem_GetUserData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41875 { (char *)"SizerItem_swigregister", SizerItem_swigregister
, METH_VARARGS
, NULL
},
41876 { (char *)"Sizer__setOORInfo", (PyCFunction
) _wrap_Sizer__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41877 { (char *)"Sizer_Add", (PyCFunction
) _wrap_Sizer_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41878 { (char *)"Sizer_Insert", (PyCFunction
) _wrap_Sizer_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41879 { (char *)"Sizer_Prepend", (PyCFunction
) _wrap_Sizer_Prepend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41880 { (char *)"Sizer_Remove", (PyCFunction
) _wrap_Sizer_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41881 { (char *)"Sizer_Detach", (PyCFunction
) _wrap_Sizer_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41882 { (char *)"Sizer__SetItemMinSize", (PyCFunction
) _wrap_Sizer__SetItemMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41883 { (char *)"Sizer_AddItem", (PyCFunction
) _wrap_Sizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41884 { (char *)"Sizer_InsertItem", (PyCFunction
) _wrap_Sizer_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41885 { (char *)"Sizer_PrependItem", (PyCFunction
) _wrap_Sizer_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41886 { (char *)"Sizer_SetDimension", (PyCFunction
) _wrap_Sizer_SetDimension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41887 { (char *)"Sizer_SetMinSize", (PyCFunction
) _wrap_Sizer_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41888 { (char *)"Sizer_GetSize", (PyCFunction
) _wrap_Sizer_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41889 { (char *)"Sizer_GetPosition", (PyCFunction
) _wrap_Sizer_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41890 { (char *)"Sizer_GetMinSize", (PyCFunction
) _wrap_Sizer_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41891 { (char *)"Sizer_RecalcSizes", (PyCFunction
) _wrap_Sizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41892 { (char *)"Sizer_CalcMin", (PyCFunction
) _wrap_Sizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41893 { (char *)"Sizer_Layout", (PyCFunction
) _wrap_Sizer_Layout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41894 { (char *)"Sizer_Fit", (PyCFunction
) _wrap_Sizer_Fit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41895 { (char *)"Sizer_FitInside", (PyCFunction
) _wrap_Sizer_FitInside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41896 { (char *)"Sizer_SetSizeHints", (PyCFunction
) _wrap_Sizer_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41897 { (char *)"Sizer_SetVirtualSizeHints", (PyCFunction
) _wrap_Sizer_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41898 { (char *)"Sizer_Clear", (PyCFunction
) _wrap_Sizer_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41899 { (char *)"Sizer_DeleteWindows", (PyCFunction
) _wrap_Sizer_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41900 { (char *)"Sizer_GetChildren", (PyCFunction
) _wrap_Sizer_GetChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41901 { (char *)"Sizer_Show", (PyCFunction
) _wrap_Sizer_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41902 { (char *)"Sizer_IsShown", (PyCFunction
) _wrap_Sizer_IsShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41903 { (char *)"Sizer_ShowItems", (PyCFunction
) _wrap_Sizer_ShowItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41904 { (char *)"Sizer_swigregister", Sizer_swigregister
, METH_VARARGS
, NULL
},
41905 { (char *)"new_PySizer", (PyCFunction
) _wrap_new_PySizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41906 { (char *)"PySizer__setCallbackInfo", (PyCFunction
) _wrap_PySizer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41907 { (char *)"PySizer_swigregister", PySizer_swigregister
, METH_VARARGS
, NULL
},
41908 { (char *)"new_BoxSizer", (PyCFunction
) _wrap_new_BoxSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41909 { (char *)"BoxSizer_GetOrientation", (PyCFunction
) _wrap_BoxSizer_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41910 { (char *)"BoxSizer_SetOrientation", (PyCFunction
) _wrap_BoxSizer_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41911 { (char *)"BoxSizer_swigregister", BoxSizer_swigregister
, METH_VARARGS
, NULL
},
41912 { (char *)"new_StaticBoxSizer", (PyCFunction
) _wrap_new_StaticBoxSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41913 { (char *)"StaticBoxSizer_GetStaticBox", (PyCFunction
) _wrap_StaticBoxSizer_GetStaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41914 { (char *)"StaticBoxSizer_swigregister", StaticBoxSizer_swigregister
, METH_VARARGS
, NULL
},
41915 { (char *)"new_GridSizer", (PyCFunction
) _wrap_new_GridSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41916 { (char *)"GridSizer_SetCols", (PyCFunction
) _wrap_GridSizer_SetCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41917 { (char *)"GridSizer_SetRows", (PyCFunction
) _wrap_GridSizer_SetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41918 { (char *)"GridSizer_SetVGap", (PyCFunction
) _wrap_GridSizer_SetVGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41919 { (char *)"GridSizer_SetHGap", (PyCFunction
) _wrap_GridSizer_SetHGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41920 { (char *)"GridSizer_GetCols", (PyCFunction
) _wrap_GridSizer_GetCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41921 { (char *)"GridSizer_GetRows", (PyCFunction
) _wrap_GridSizer_GetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41922 { (char *)"GridSizer_GetVGap", (PyCFunction
) _wrap_GridSizer_GetVGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41923 { (char *)"GridSizer_GetHGap", (PyCFunction
) _wrap_GridSizer_GetHGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41924 { (char *)"GridSizer_swigregister", GridSizer_swigregister
, METH_VARARGS
, NULL
},
41925 { (char *)"new_FlexGridSizer", (PyCFunction
) _wrap_new_FlexGridSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41926 { (char *)"FlexGridSizer_AddGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41927 { (char *)"FlexGridSizer_RemoveGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41928 { (char *)"FlexGridSizer_AddGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41929 { (char *)"FlexGridSizer_RemoveGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41930 { (char *)"FlexGridSizer_SetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_SetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41931 { (char *)"FlexGridSizer_GetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_GetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41932 { (char *)"FlexGridSizer_SetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_SetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41933 { (char *)"FlexGridSizer_GetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_GetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41934 { (char *)"FlexGridSizer_GetRowHeights", (PyCFunction
) _wrap_FlexGridSizer_GetRowHeights
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41935 { (char *)"FlexGridSizer_GetColWidths", (PyCFunction
) _wrap_FlexGridSizer_GetColWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41936 { (char *)"FlexGridSizer_swigregister", FlexGridSizer_swigregister
, METH_VARARGS
, NULL
},
41937 { (char *)"new_GBPosition", (PyCFunction
) _wrap_new_GBPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41938 { (char *)"GBPosition_GetRow", (PyCFunction
) _wrap_GBPosition_GetRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41939 { (char *)"GBPosition_GetCol", (PyCFunction
) _wrap_GBPosition_GetCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41940 { (char *)"GBPosition_SetRow", (PyCFunction
) _wrap_GBPosition_SetRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41941 { (char *)"GBPosition_SetCol", (PyCFunction
) _wrap_GBPosition_SetCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41942 { (char *)"GBPosition___eq__", (PyCFunction
) _wrap_GBPosition___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41943 { (char *)"GBPosition___ne__", (PyCFunction
) _wrap_GBPosition___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41944 { (char *)"GBPosition_Set", (PyCFunction
) _wrap_GBPosition_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41945 { (char *)"GBPosition_Get", (PyCFunction
) _wrap_GBPosition_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41946 { (char *)"GBPosition_swigregister", GBPosition_swigregister
, METH_VARARGS
, NULL
},
41947 { (char *)"new_GBSpan", (PyCFunction
) _wrap_new_GBSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41948 { (char *)"GBSpan_GetRowspan", (PyCFunction
) _wrap_GBSpan_GetRowspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41949 { (char *)"GBSpan_GetColspan", (PyCFunction
) _wrap_GBSpan_GetColspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41950 { (char *)"GBSpan_SetRowspan", (PyCFunction
) _wrap_GBSpan_SetRowspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41951 { (char *)"GBSpan_SetColspan", (PyCFunction
) _wrap_GBSpan_SetColspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41952 { (char *)"GBSpan___eq__", (PyCFunction
) _wrap_GBSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41953 { (char *)"GBSpan___ne__", (PyCFunction
) _wrap_GBSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41954 { (char *)"GBSpan_Set", (PyCFunction
) _wrap_GBSpan_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41955 { (char *)"GBSpan_Get", (PyCFunction
) _wrap_GBSpan_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41956 { (char *)"GBSpan_swigregister", GBSpan_swigregister
, METH_VARARGS
, NULL
},
41957 { (char *)"new_GBSizerItem", (PyCFunction
) _wrap_new_GBSizerItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41958 { (char *)"new_GBSizerItemWindow", (PyCFunction
) _wrap_new_GBSizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41959 { (char *)"new_GBSizerItemSizer", (PyCFunction
) _wrap_new_GBSizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41960 { (char *)"new_GBSizerItemSpacer", (PyCFunction
) _wrap_new_GBSizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41961 { (char *)"GBSizerItem_GetPos", (PyCFunction
) _wrap_GBSizerItem_GetPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41962 { (char *)"GBSizerItem_GetSpan", (PyCFunction
) _wrap_GBSizerItem_GetSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41963 { (char *)"GBSizerItem_SetPos", (PyCFunction
) _wrap_GBSizerItem_SetPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41964 { (char *)"GBSizerItem_SetSpan", (PyCFunction
) _wrap_GBSizerItem_SetSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41965 { (char *)"GBSizerItem_Intersects", (PyCFunction
) _wrap_GBSizerItem_Intersects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41966 { (char *)"GBSizerItem_IntersectsPos", (PyCFunction
) _wrap_GBSizerItem_IntersectsPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41967 { (char *)"GBSizerItem_GetEndPos", (PyCFunction
) _wrap_GBSizerItem_GetEndPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41968 { (char *)"GBSizerItem_GetGBSizer", (PyCFunction
) _wrap_GBSizerItem_GetGBSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41969 { (char *)"GBSizerItem_SetGBSizer", (PyCFunction
) _wrap_GBSizerItem_SetGBSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41970 { (char *)"GBSizerItem_swigregister", GBSizerItem_swigregister
, METH_VARARGS
, NULL
},
41971 { (char *)"new_GridBagSizer", (PyCFunction
) _wrap_new_GridBagSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41972 { (char *)"GridBagSizer_Add", (PyCFunction
) _wrap_GridBagSizer_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41973 { (char *)"GridBagSizer_AddItem", (PyCFunction
) _wrap_GridBagSizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41974 { (char *)"GridBagSizer_GetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_GetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41975 { (char *)"GridBagSizer_SetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_SetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41976 { (char *)"GridBagSizer_GetItemPosition", _wrap_GridBagSizer_GetItemPosition
, METH_VARARGS
, NULL
},
41977 { (char *)"GridBagSizer_SetItemPosition", _wrap_GridBagSizer_SetItemPosition
, METH_VARARGS
, NULL
},
41978 { (char *)"GridBagSizer_GetItemSpan", _wrap_GridBagSizer_GetItemSpan
, METH_VARARGS
, NULL
},
41979 { (char *)"GridBagSizer_SetItemSpan", _wrap_GridBagSizer_SetItemSpan
, METH_VARARGS
, NULL
},
41980 { (char *)"GridBagSizer_FindItem", _wrap_GridBagSizer_FindItem
, METH_VARARGS
, NULL
},
41981 { (char *)"GridBagSizer_FindItemAtPosition", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41982 { (char *)"GridBagSizer_FindItemAtPoint", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41983 { (char *)"GridBagSizer_CheckForIntersection", (PyCFunction
) _wrap_GridBagSizer_CheckForIntersection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41984 { (char *)"GridBagSizer_CheckForIntersectionPos", (PyCFunction
) _wrap_GridBagSizer_CheckForIntersectionPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41985 { (char *)"GridBagSizer_swigregister", GridBagSizer_swigregister
, METH_VARARGS
, NULL
},
41986 { (char *)"IndividualLayoutConstraint_Set", (PyCFunction
) _wrap_IndividualLayoutConstraint_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41987 { (char *)"IndividualLayoutConstraint_LeftOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_LeftOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41988 { (char *)"IndividualLayoutConstraint_RightOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_RightOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41989 { (char *)"IndividualLayoutConstraint_Above", (PyCFunction
) _wrap_IndividualLayoutConstraint_Above
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41990 { (char *)"IndividualLayoutConstraint_Below", (PyCFunction
) _wrap_IndividualLayoutConstraint_Below
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41991 { (char *)"IndividualLayoutConstraint_SameAs", (PyCFunction
) _wrap_IndividualLayoutConstraint_SameAs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41992 { (char *)"IndividualLayoutConstraint_PercentOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_PercentOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41993 { (char *)"IndividualLayoutConstraint_Absolute", (PyCFunction
) _wrap_IndividualLayoutConstraint_Absolute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41994 { (char *)"IndividualLayoutConstraint_Unconstrained", (PyCFunction
) _wrap_IndividualLayoutConstraint_Unconstrained
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41995 { (char *)"IndividualLayoutConstraint_AsIs", (PyCFunction
) _wrap_IndividualLayoutConstraint_AsIs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41996 { (char *)"IndividualLayoutConstraint_GetOtherWindow", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41997 { (char *)"IndividualLayoutConstraint_GetMyEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMyEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41998 { (char *)"IndividualLayoutConstraint_SetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41999 { (char *)"IndividualLayoutConstraint_SetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42000 { (char *)"IndividualLayoutConstraint_GetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42001 { (char *)"IndividualLayoutConstraint_SetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42002 { (char *)"IndividualLayoutConstraint_GetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42003 { (char *)"IndividualLayoutConstraint_GetPercent", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetPercent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42004 { (char *)"IndividualLayoutConstraint_GetOtherEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42005 { (char *)"IndividualLayoutConstraint_GetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetDone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42006 { (char *)"IndividualLayoutConstraint_SetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetDone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42007 { (char *)"IndividualLayoutConstraint_GetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetRelationship
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42008 { (char *)"IndividualLayoutConstraint_SetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetRelationship
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42009 { (char *)"IndividualLayoutConstraint_ResetIfWin", (PyCFunction
) _wrap_IndividualLayoutConstraint_ResetIfWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42010 { (char *)"IndividualLayoutConstraint_SatisfyConstraint", (PyCFunction
) _wrap_IndividualLayoutConstraint_SatisfyConstraint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42011 { (char *)"IndividualLayoutConstraint_GetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42012 { (char *)"IndividualLayoutConstraint_swigregister", IndividualLayoutConstraint_swigregister
, METH_VARARGS
, NULL
},
42013 { (char *)"LayoutConstraints_left_get", (PyCFunction
) _wrap_LayoutConstraints_left_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42014 { (char *)"LayoutConstraints_top_get", (PyCFunction
) _wrap_LayoutConstraints_top_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42015 { (char *)"LayoutConstraints_right_get", (PyCFunction
) _wrap_LayoutConstraints_right_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42016 { (char *)"LayoutConstraints_bottom_get", (PyCFunction
) _wrap_LayoutConstraints_bottom_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42017 { (char *)"LayoutConstraints_width_get", (PyCFunction
) _wrap_LayoutConstraints_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42018 { (char *)"LayoutConstraints_height_get", (PyCFunction
) _wrap_LayoutConstraints_height_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42019 { (char *)"LayoutConstraints_centreX_get", (PyCFunction
) _wrap_LayoutConstraints_centreX_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42020 { (char *)"LayoutConstraints_centreY_get", (PyCFunction
) _wrap_LayoutConstraints_centreY_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42021 { (char *)"new_LayoutConstraints", (PyCFunction
) _wrap_new_LayoutConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42022 { (char *)"LayoutConstraints_SatisfyConstraints", (PyCFunction
) _wrap_LayoutConstraints_SatisfyConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42023 { (char *)"LayoutConstraints_AreSatisfied", (PyCFunction
) _wrap_LayoutConstraints_AreSatisfied
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42024 { (char *)"LayoutConstraints_swigregister", LayoutConstraints_swigregister
, METH_VARARGS
, NULL
},
42025 { NULL
, NULL
, 0, NULL
}
42029 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
42031 static void *_p_wxGBSizerItemTo_p_wxSizerItem(void *x
) {
42032 return (void *)((wxSizerItem
*) ((wxGBSizerItem
*) x
));
42034 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
42035 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
42037 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
42038 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
42040 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
42041 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
42043 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
42044 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
42046 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
42047 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
42049 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
42050 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
42052 static void *_p_wxStaticBoxSizerTo_p_wxBoxSizer(void *x
) {
42053 return (void *)((wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
42055 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
42056 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
42058 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
42059 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
42061 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
42062 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
42064 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
42065 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
42067 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
42068 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
42070 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
42071 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
42073 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
42074 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
42076 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
42077 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
42079 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
42080 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
42082 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
42083 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
42085 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
42086 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
42088 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
42089 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
42091 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
42092 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
42094 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
42095 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
42097 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
42098 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
42100 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
42101 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
42103 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
42104 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
42106 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
42107 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
42109 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
42110 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
42112 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
42113 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
42115 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
42116 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
42118 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
42119 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
42121 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
42122 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
42124 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
42125 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
42127 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
42128 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
42130 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
42131 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
42133 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
42134 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
42136 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
42137 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
42139 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
42140 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
42142 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
42143 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
42145 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
42146 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
42148 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
42149 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
42151 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
42152 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
42154 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
42155 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
42157 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
42158 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
42160 static void *_p_wxGridBagSizerTo_p_wxGridSizer(void *x
) {
42161 return (void *)((wxGridSizer
*) (wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
42163 static void *_p_wxFlexGridSizerTo_p_wxGridSizer(void *x
) {
42164 return (void *)((wxGridSizer
*) ((wxFlexGridSizer
*) x
));
42166 static void *_p_wxGridBagSizerTo_p_wxFlexGridSizer(void *x
) {
42167 return (void *)((wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
42169 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
42170 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
42172 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
42173 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
42175 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
42176 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
42178 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
42179 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
42181 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
42182 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
42184 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
42185 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
42187 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
42188 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
42190 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
42191 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
42193 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
42194 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
42196 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
42197 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
42199 static void *_p_wxANIHandlerTo_p_wxCURHandler(void *x
) {
42200 return (void *)((wxCURHandler
*) ((wxANIHandler
*) x
));
42202 static void *_p_wxCURHandlerTo_p_wxICOHandler(void *x
) {
42203 return (void *)((wxICOHandler
*) ((wxCURHandler
*) x
));
42205 static void *_p_wxANIHandlerTo_p_wxICOHandler(void *x
) {
42206 return (void *)((wxICOHandler
*) (wxCURHandler
*) ((wxANIHandler
*) x
));
42208 static void *_p_wxICOHandlerTo_p_wxBMPHandler(void *x
) {
42209 return (void *)((wxBMPHandler
*) ((wxICOHandler
*) x
));
42211 static void *_p_wxCURHandlerTo_p_wxBMPHandler(void *x
) {
42212 return (void *)((wxBMPHandler
*) (wxICOHandler
*) ((wxCURHandler
*) x
));
42214 static void *_p_wxANIHandlerTo_p_wxBMPHandler(void *x
) {
42215 return (void *)((wxBMPHandler
*) (wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
42217 static void *_p_wxBMPHandlerTo_p_wxImageHandler(void *x
) {
42218 return (void *)((wxImageHandler
*) ((wxBMPHandler
*) x
));
42220 static void *_p_wxICOHandlerTo_p_wxImageHandler(void *x
) {
42221 return (void *)((wxImageHandler
*) (wxBMPHandler
*) ((wxICOHandler
*) x
));
42223 static void *_p_wxCURHandlerTo_p_wxImageHandler(void *x
) {
42224 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
42226 static void *_p_wxANIHandlerTo_p_wxImageHandler(void *x
) {
42227 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
42229 static void *_p_wxPNGHandlerTo_p_wxImageHandler(void *x
) {
42230 return (void *)((wxImageHandler
*) ((wxPNGHandler
*) x
));
42232 static void *_p_wxGIFHandlerTo_p_wxImageHandler(void *x
) {
42233 return (void *)((wxImageHandler
*) ((wxGIFHandler
*) x
));
42235 static void *_p_wxPCXHandlerTo_p_wxImageHandler(void *x
) {
42236 return (void *)((wxImageHandler
*) ((wxPCXHandler
*) x
));
42238 static void *_p_wxJPEGHandlerTo_p_wxImageHandler(void *x
) {
42239 return (void *)((wxImageHandler
*) ((wxJPEGHandler
*) x
));
42241 static void *_p_wxPNMHandlerTo_p_wxImageHandler(void *x
) {
42242 return (void *)((wxImageHandler
*) ((wxPNMHandler
*) x
));
42244 static void *_p_wxXPMHandlerTo_p_wxImageHandler(void *x
) {
42245 return (void *)((wxImageHandler
*) ((wxXPMHandler
*) x
));
42247 static void *_p_wxTIFFHandlerTo_p_wxImageHandler(void *x
) {
42248 return (void *)((wxImageHandler
*) ((wxTIFFHandler
*) x
));
42250 static void *_p_wxPyFileSystemHandlerTo_p_wxFileSystemHandler(void *x
) {
42251 return (void *)((wxFileSystemHandler
*) ((wxPyFileSystemHandler
*) x
));
42253 static void *_p_wxInternetFSHandlerTo_p_wxFileSystemHandler(void *x
) {
42254 return (void *)((wxFileSystemHandler
*) ((wxInternetFSHandler
*) x
));
42256 static void *_p_wxZipFSHandlerTo_p_wxFileSystemHandler(void *x
) {
42257 return (void *)((wxFileSystemHandler
*) ((wxZipFSHandler
*) x
));
42259 static void *_p_wxMemoryFSHandlerTo_p_wxFileSystemHandler(void *x
) {
42260 return (void *)((wxFileSystemHandler
*) ((wxMemoryFSHandler
*) x
));
42262 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
42263 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
42265 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
42266 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
42268 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
42269 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
42271 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
42272 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
42274 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
42275 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
42277 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
42278 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
42280 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
42281 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
42283 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
42284 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
42286 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
42287 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
42289 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
42290 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
42292 static void *_p_wxSizerTo_p_wxObject(void *x
) {
42293 return (void *)((wxObject
*) ((wxSizer
*) x
));
42295 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
42296 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
42298 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
42299 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
42301 static void *_p_wxMenuTo_p_wxObject(void *x
) {
42302 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
42304 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
42305 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
42307 static void *_p_wxImageTo_p_wxObject(void *x
) {
42308 return (void *)((wxObject
*) ((wxImage
*) x
));
42310 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
42311 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
42313 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
42314 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
42316 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
42317 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
42319 static void *_p_wxWindowTo_p_wxObject(void *x
) {
42320 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
42322 static void *_p_wxControlTo_p_wxObject(void *x
) {
42323 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
42325 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
42326 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
42328 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
42329 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
42331 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
42332 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
42334 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
42335 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
42337 static void *_p_wxEventTo_p_wxObject(void *x
) {
42338 return (void *)((wxObject
*) ((wxEvent
*) x
));
42340 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
42341 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
42343 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
42344 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
42346 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
42347 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
42349 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
42350 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
42352 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
42353 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
42355 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
42356 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
42358 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
42359 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
42361 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
42362 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
42364 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
42365 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
42367 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
42368 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
42370 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
42371 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
42373 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
42374 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
42376 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
42377 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
42379 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
42380 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
42382 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
42383 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
42385 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
42386 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
42388 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
42389 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
42391 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
42392 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
42394 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
42395 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
42397 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
42398 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
42400 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
42401 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
42403 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
42404 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
42406 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
42407 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
42409 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
42410 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
42412 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
42413 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
42415 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
42416 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
42418 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
42419 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
42421 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
42422 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
42424 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
42425 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
42427 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
42428 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
42430 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
42431 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
42433 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
42434 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
42436 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
42437 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
42439 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
42440 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
42442 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
42443 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
42445 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
42446 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
42448 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
42449 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
42451 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
42452 return (void *)((wxObject
*) ((wxFSFile
*) x
));
42454 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
42455 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
42457 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
42458 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
42460 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
42461 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
42463 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
42464 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
42466 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
42467 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
42469 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
42470 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
42472 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
42473 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
42475 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
42476 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
42478 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
42479 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
42481 static void *_p_wxControlTo_p_wxWindow(void *x
) {
42482 return (void *)((wxWindow
*) ((wxControl
*) x
));
42484 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
42485 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
42487 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
42488 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
42490 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
42491 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
42493 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
42494 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
42496 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
42497 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
42499 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
42500 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
42502 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
42503 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
42505 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
42506 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
42508 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
42509 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
42511 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
42512 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
42514 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
42515 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
42517 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}};
42518 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}};
42519 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}};
42520 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}};
42521 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}};
42522 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}};
42523 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}};
42524 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}};
42525 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}};
42526 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}};
42527 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}};
42528 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}};
42529 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}};
42530 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}};
42531 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}};
42532 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}};
42533 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}};
42534 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}};
42535 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}};
42536 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}};
42537 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}};
42538 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}};
42539 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}};
42540 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}};
42541 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}};
42542 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}};
42543 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}};
42544 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}};
42545 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}};
42546 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}};
42547 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}};
42548 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}};
42549 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}};
42550 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}};
42551 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}};
42552 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}};
42553 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}};
42554 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}};
42555 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}};
42556 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}};
42557 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}};
42558 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}};
42559 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}};
42560 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}};
42561 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}};
42562 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}};
42563 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}};
42564 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}};
42565 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}};
42566 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}};
42567 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}};
42568 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}};
42569 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}};
42570 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}};
42571 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}};
42572 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}};
42573 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}};
42574 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}};
42575 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}};
42576 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}};
42577 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}};
42578 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}};
42579 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}};
42580 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}};
42581 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}};
42582 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}};
42583 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}};
42584 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}};
42585 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}};
42586 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}};
42587 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}};
42588 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}};
42589 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}};
42590 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}};
42591 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}};
42592 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}};
42593 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}};
42594 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}};
42595 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}};
42596 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}};
42597 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}};
42598 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}};
42599 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}};
42600 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}};
42601 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}};
42602 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}};
42603 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}};
42604 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}};
42605 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}};
42606 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}};
42607 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}};
42608 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}};
42609 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}};
42610 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}};
42611 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}};
42612 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}};
42613 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}};
42614 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}};
42615 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}};
42616 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}};
42617 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}};
42618 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}};
42619 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}};
42620 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}};
42621 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}};
42622 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}};
42623 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}};
42624 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}};
42625 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}};
42626 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}};
42627 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}};
42628 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}};
42629 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}};
42630 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}};
42631 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}};
42632 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}};
42634 static swig_type_info
*swig_types_initial
[] = {
42635 _swigt__p_wxLayoutConstraints
,
42636 _swigt__p_wxRealPoint
,
42637 _swigt__p_wxSizerItem
,
42638 _swigt__p_wxGBSizerItem
,
42639 _swigt__p_wxScrollEvent
,
42640 _swigt__p_wxIndividualLayoutConstraint
,
42642 _swigt__p_wxBoxSizer
,
42643 _swigt__p_wxStaticBoxSizer
,
42644 _swigt__p_wxGridBagSizer
,
42645 _swigt__p_wxAcceleratorEntry
,
42646 _swigt__p_wxUpdateUIEvent
,
42649 _swigt__p_wxGridSizer
,
42650 _swigt__p_wxFlexGridSizer
,
42651 _swigt__p_wxInitDialogEvent
,
42652 _swigt__p_wxItemContainer
,
42653 _swigt__p_wxNcPaintEvent
,
42654 _swigt__p_wxPaintEvent
,
42655 _swigt__p_wxSysColourChangedEvent
,
42656 _swigt__p_wxMouseCaptureChangedEvent
,
42657 _swigt__p_wxDisplayChangedEvent
,
42658 _swigt__p_wxPaletteChangedEvent
,
42659 _swigt__p_wxControl
,
42661 _swigt__p_wxMenuBarBase
,
42662 _swigt__p_wxSetCursorEvent
,
42663 _swigt__p_wxFSFile
,
42665 _swigt__p_wxRegion
,
42666 _swigt__p_wxPoint2D
,
42670 _swigt__p_wxPySizer
,
42671 _swigt__p_wxVisualAttributes
,
42672 _swigt__p_wxNotifyEvent
,
42673 _swigt__p_wxPyEvent
,
42674 _swigt__p_wxPropagationDisabler
,
42675 _swigt__p_wxAppTraits
,
42676 _swigt__p_wxArrayString
,
42677 _swigt__p_wxShowEvent
,
42678 _swigt__p_wxToolTip
,
42679 _swigt__p_wxIconizeEvent
,
42680 _swigt__p_wxActivateEvent
,
42681 _swigt__p_wxMoveEvent
,
42682 _swigt__p_wxSizeEvent
,
42683 _swigt__p_wxMaximizeEvent
,
42684 _swigt__p_wxQueryNewPaletteEvent
,
42685 _swigt__p_wxWindowCreateEvent
,
42686 _swigt__p_wxIdleEvent
,
42687 _swigt__p_wxMenuItem
,
42688 _swigt__p_wxStaticBox
,
42690 _swigt__p_wxTIFFHandler
,
42691 _swigt__p_wxXPMHandler
,
42692 _swigt__p_wxPNMHandler
,
42693 _swigt__p_wxJPEGHandler
,
42694 _swigt__p_wxPCXHandler
,
42695 _swigt__p_wxGIFHandler
,
42696 _swigt__p_wxPNGHandler
,
42697 _swigt__p_wxANIHandler
,
42698 _swigt__p_wxMemoryFSHandler
,
42699 _swigt__p_wxEvtHandler
,
42700 _swigt__p_wxCURHandler
,
42701 _swigt__p_wxICOHandler
,
42702 _swigt__p_wxBMPHandler
,
42703 _swigt__p_wxImageHandler
,
42704 _swigt__p_wxFileSystemHandler
,
42705 _swigt__p_wxPyFileSystemHandler
,
42706 _swigt__p_wxInternetFSHandler
,
42707 _swigt__p_wxZipFSHandler
,
42709 _swigt__p_wxGBSpan
,
42710 _swigt__p_wxPropagateOnce
,
42711 _swigt__p_wxAcceleratorTable
,
42713 _swigt__p_wxGBPosition
,
42716 _swigt__p_wxScrollWinEvent
,
42717 _swigt__p_wxImageHistogram
,
42720 _swigt__p_wxCursor
,
42721 _swigt__p_wxObject
,
42722 _swigt__p_wxPyInputStream
,
42723 _swigt__p_wxOutputStream
,
42724 _swigt__p_wxInputStream
,
42725 _swigt__p_wxDateTime
,
42726 _swigt__p_wxKeyEvent
,
42727 _swigt__p_wxNavigationKeyEvent
,
42728 _swigt__p_wxWindowDestroyEvent
,
42729 _swigt__p_wxWindow
,
42730 _swigt__p_wxMenuBar
,
42731 _swigt__p_wxFileSystem
,
42732 _swigt__p_wxBitmap
,
42733 _swigt__p_wxMenuEvent
,
42734 _swigt__p_wxContextMenuEvent
,
42735 _swigt__p_unsigned_char
,
42736 _swigt__p_wxCloseEvent
,
42737 _swigt__p_wxEraseEvent
,
42738 _swigt__p_wxMouseEvent
,
42740 _swigt__p_wxCommandEvent
,
42741 _swigt__p_wxPyCommandEvent
,
42742 _swigt__p_wxPyDropTarget
,
42743 _swigt__p_wxQuantize
,
42744 _swigt__p_wxChildFocusEvent
,
42745 _swigt__p_wxFocusEvent
,
42746 _swigt__p_wxDropFilesEvent
,
42747 _swigt__p_wxControlWithItems
,
42748 _swigt__p_wxColour
,
42749 _swigt__p_wxValidator
,
42750 _swigt__p_wxPyValidator
,
42755 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
42757 static swig_const_info swig_const_table
[] = {
42758 {0, 0, 0, 0.0, 0, 0}};
42767 SWIGEXPORT(void) SWIG_init(void) {
42768 static PyObject
*SWIG_globals
= 0;
42769 static int typeinit
= 0;
42772 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
42773 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
42774 d
= PyModule_GetDict(m
);
42777 for (i
= 0; swig_types_initial
[i
]; i
++) {
42778 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
42782 SWIG_InstallConstants(d
,swig_const_table
);
42785 #ifndef wxPyUSE_EXPORT
42786 // Make our API structure a CObject so other modules can import it
42787 // from this module.
42788 PyObject
* cobj
= PyCObject_FromVoidPtr(&API
, NULL
);
42789 PyDict_SetItemString(d
,"_wxPyCoreAPI", cobj
);
42793 PyDict_SetItemString(d
,"NOT_FOUND", SWIG_From_int((int)wxNOT_FOUND
));
42794 PyDict_SetItemString(d
,"VSCROLL", SWIG_From_int((int)wxVSCROLL
));
42795 PyDict_SetItemString(d
,"HSCROLL", SWIG_From_int((int)wxHSCROLL
));
42796 PyDict_SetItemString(d
,"CAPTION", SWIG_From_int((int)wxCAPTION
));
42797 PyDict_SetItemString(d
,"DOUBLE_BORDER", SWIG_From_int((int)wxDOUBLE_BORDER
));
42798 PyDict_SetItemString(d
,"SUNKEN_BORDER", SWIG_From_int((int)wxSUNKEN_BORDER
));
42799 PyDict_SetItemString(d
,"RAISED_BORDER", SWIG_From_int((int)wxRAISED_BORDER
));
42800 PyDict_SetItemString(d
,"BORDER", SWIG_From_int((int)wxBORDER
));
42801 PyDict_SetItemString(d
,"SIMPLE_BORDER", SWIG_From_int((int)wxSIMPLE_BORDER
));
42802 PyDict_SetItemString(d
,"STATIC_BORDER", SWIG_From_int((int)wxSTATIC_BORDER
));
42803 PyDict_SetItemString(d
,"TRANSPARENT_WINDOW", SWIG_From_int((int)wxTRANSPARENT_WINDOW
));
42804 PyDict_SetItemString(d
,"NO_BORDER", SWIG_From_int((int)wxNO_BORDER
));
42805 PyDict_SetItemString(d
,"TAB_TRAVERSAL", SWIG_From_int((int)wxTAB_TRAVERSAL
));
42806 PyDict_SetItemString(d
,"WANTS_CHARS", SWIG_From_int((int)wxWANTS_CHARS
));
42807 PyDict_SetItemString(d
,"POPUP_WINDOW", SWIG_From_int((int)wxPOPUP_WINDOW
));
42808 PyDict_SetItemString(d
,"CENTER_FRAME", SWIG_From_int((int)wxCENTER_FRAME
));
42809 PyDict_SetItemString(d
,"CENTRE_ON_SCREEN", SWIG_From_int((int)wxCENTRE_ON_SCREEN
));
42810 PyDict_SetItemString(d
,"CENTER_ON_SCREEN", SWIG_From_int((int)wxCENTER_ON_SCREEN
));
42811 PyDict_SetItemString(d
,"ED_CLIENT_MARGIN", SWIG_From_int((int)wxED_CLIENT_MARGIN
));
42812 PyDict_SetItemString(d
,"ED_BUTTONS_BOTTOM", SWIG_From_int((int)wxED_BUTTONS_BOTTOM
));
42813 PyDict_SetItemString(d
,"ED_BUTTONS_RIGHT", SWIG_From_int((int)wxED_BUTTONS_RIGHT
));
42814 PyDict_SetItemString(d
,"ED_STATIC_LINE", SWIG_From_int((int)wxED_STATIC_LINE
));
42815 PyDict_SetItemString(d
,"EXT_DIALOG_STYLE", SWIG_From_int((int)wxEXT_DIALOG_STYLE
));
42816 PyDict_SetItemString(d
,"CLIP_CHILDREN", SWIG_From_int((int)wxCLIP_CHILDREN
));
42817 PyDict_SetItemString(d
,"CLIP_SIBLINGS", SWIG_From_int((int)wxCLIP_SIBLINGS
));
42818 PyDict_SetItemString(d
,"ALWAYS_SHOW_SB", SWIG_From_int((int)wxALWAYS_SHOW_SB
));
42819 PyDict_SetItemString(d
,"RETAINED", SWIG_From_int((int)wxRETAINED
));
42820 PyDict_SetItemString(d
,"BACKINGSTORE", SWIG_From_int((int)wxBACKINGSTORE
));
42821 PyDict_SetItemString(d
,"COLOURED", SWIG_From_int((int)wxCOLOURED
));
42822 PyDict_SetItemString(d
,"FIXED_LENGTH", SWIG_From_int((int)wxFIXED_LENGTH
));
42823 PyDict_SetItemString(d
,"LB_NEEDED_SB", SWIG_From_int((int)wxLB_NEEDED_SB
));
42824 PyDict_SetItemString(d
,"LB_ALWAYS_SB", SWIG_From_int((int)wxLB_ALWAYS_SB
));
42825 PyDict_SetItemString(d
,"LB_SORT", SWIG_From_int((int)wxLB_SORT
));
42826 PyDict_SetItemString(d
,"LB_SINGLE", SWIG_From_int((int)wxLB_SINGLE
));
42827 PyDict_SetItemString(d
,"LB_MULTIPLE", SWIG_From_int((int)wxLB_MULTIPLE
));
42828 PyDict_SetItemString(d
,"LB_EXTENDED", SWIG_From_int((int)wxLB_EXTENDED
));
42829 PyDict_SetItemString(d
,"LB_OWNERDRAW", SWIG_From_int((int)wxLB_OWNERDRAW
));
42830 PyDict_SetItemString(d
,"LB_HSCROLL", SWIG_From_int((int)wxLB_HSCROLL
));
42831 PyDict_SetItemString(d
,"PROCESS_ENTER", SWIG_From_int((int)wxPROCESS_ENTER
));
42832 PyDict_SetItemString(d
,"PASSWORD", SWIG_From_int((int)wxPASSWORD
));
42833 PyDict_SetItemString(d
,"CB_SIMPLE", SWIG_From_int((int)wxCB_SIMPLE
));
42834 PyDict_SetItemString(d
,"CB_DROPDOWN", SWIG_From_int((int)wxCB_DROPDOWN
));
42835 PyDict_SetItemString(d
,"CB_SORT", SWIG_From_int((int)wxCB_SORT
));
42836 PyDict_SetItemString(d
,"CB_READONLY", SWIG_From_int((int)wxCB_READONLY
));
42837 PyDict_SetItemString(d
,"RA_HORIZONTAL", SWIG_From_int((int)wxRA_HORIZONTAL
));
42838 PyDict_SetItemString(d
,"RA_VERTICAL", SWIG_From_int((int)wxRA_VERTICAL
));
42839 PyDict_SetItemString(d
,"RA_SPECIFY_ROWS", SWIG_From_int((int)wxRA_SPECIFY_ROWS
));
42840 PyDict_SetItemString(d
,"RA_SPECIFY_COLS", SWIG_From_int((int)wxRA_SPECIFY_COLS
));
42841 PyDict_SetItemString(d
,"RB_GROUP", SWIG_From_int((int)wxRB_GROUP
));
42842 PyDict_SetItemString(d
,"RB_SINGLE", SWIG_From_int((int)wxRB_SINGLE
));
42843 PyDict_SetItemString(d
,"SL_HORIZONTAL", SWIG_From_int((int)wxSL_HORIZONTAL
));
42844 PyDict_SetItemString(d
,"SL_VERTICAL", SWIG_From_int((int)wxSL_VERTICAL
));
42845 PyDict_SetItemString(d
,"SL_AUTOTICKS", SWIG_From_int((int)wxSL_AUTOTICKS
));
42846 PyDict_SetItemString(d
,"SL_LABELS", SWIG_From_int((int)wxSL_LABELS
));
42847 PyDict_SetItemString(d
,"SL_LEFT", SWIG_From_int((int)wxSL_LEFT
));
42848 PyDict_SetItemString(d
,"SL_TOP", SWIG_From_int((int)wxSL_TOP
));
42849 PyDict_SetItemString(d
,"SL_RIGHT", SWIG_From_int((int)wxSL_RIGHT
));
42850 PyDict_SetItemString(d
,"SL_BOTTOM", SWIG_From_int((int)wxSL_BOTTOM
));
42851 PyDict_SetItemString(d
,"SL_BOTH", SWIG_From_int((int)wxSL_BOTH
));
42852 PyDict_SetItemString(d
,"SL_SELRANGE", SWIG_From_int((int)wxSL_SELRANGE
));
42853 PyDict_SetItemString(d
,"SB_HORIZONTAL", SWIG_From_int((int)wxSB_HORIZONTAL
));
42854 PyDict_SetItemString(d
,"SB_VERTICAL", SWIG_From_int((int)wxSB_VERTICAL
));
42855 PyDict_SetItemString(d
,"ST_SIZEGRIP", SWIG_From_int((int)wxST_SIZEGRIP
));
42856 PyDict_SetItemString(d
,"ST_NO_AUTORESIZE", SWIG_From_int((int)wxST_NO_AUTORESIZE
));
42857 PyDict_SetItemString(d
,"FLOOD_SURFACE", SWIG_From_int((int)wxFLOOD_SURFACE
));
42858 PyDict_SetItemString(d
,"FLOOD_BORDER", SWIG_From_int((int)wxFLOOD_BORDER
));
42859 PyDict_SetItemString(d
,"ODDEVEN_RULE", SWIG_From_int((int)wxODDEVEN_RULE
));
42860 PyDict_SetItemString(d
,"WINDING_RULE", SWIG_From_int((int)wxWINDING_RULE
));
42861 PyDict_SetItemString(d
,"TOOL_TOP", SWIG_From_int((int)wxTOOL_TOP
));
42862 PyDict_SetItemString(d
,"TOOL_BOTTOM", SWIG_From_int((int)wxTOOL_BOTTOM
));
42863 PyDict_SetItemString(d
,"TOOL_LEFT", SWIG_From_int((int)wxTOOL_LEFT
));
42864 PyDict_SetItemString(d
,"TOOL_RIGHT", SWIG_From_int((int)wxTOOL_RIGHT
));
42865 PyDict_SetItemString(d
,"OK", SWIG_From_int((int)wxOK
));
42866 PyDict_SetItemString(d
,"YES_NO", SWIG_From_int((int)wxYES_NO
));
42867 PyDict_SetItemString(d
,"CANCEL", SWIG_From_int((int)wxCANCEL
));
42868 PyDict_SetItemString(d
,"YES", SWIG_From_int((int)wxYES
));
42869 PyDict_SetItemString(d
,"NO", SWIG_From_int((int)wxNO
));
42870 PyDict_SetItemString(d
,"NO_DEFAULT", SWIG_From_int((int)wxNO_DEFAULT
));
42871 PyDict_SetItemString(d
,"YES_DEFAULT", SWIG_From_int((int)wxYES_DEFAULT
));
42872 PyDict_SetItemString(d
,"ICON_EXCLAMATION", SWIG_From_int((int)wxICON_EXCLAMATION
));
42873 PyDict_SetItemString(d
,"ICON_HAND", SWIG_From_int((int)wxICON_HAND
));
42874 PyDict_SetItemString(d
,"ICON_QUESTION", SWIG_From_int((int)wxICON_QUESTION
));
42875 PyDict_SetItemString(d
,"ICON_INFORMATION", SWIG_From_int((int)wxICON_INFORMATION
));
42876 PyDict_SetItemString(d
,"ICON_STOP", SWIG_From_int((int)wxICON_STOP
));
42877 PyDict_SetItemString(d
,"ICON_ASTERISK", SWIG_From_int((int)wxICON_ASTERISK
));
42878 PyDict_SetItemString(d
,"ICON_MASK", SWIG_From_int((int)wxICON_MASK
));
42879 PyDict_SetItemString(d
,"ICON_WARNING", SWIG_From_int((int)wxICON_WARNING
));
42880 PyDict_SetItemString(d
,"ICON_ERROR", SWIG_From_int((int)wxICON_ERROR
));
42881 PyDict_SetItemString(d
,"FORWARD", SWIG_From_int((int)wxFORWARD
));
42882 PyDict_SetItemString(d
,"BACKWARD", SWIG_From_int((int)wxBACKWARD
));
42883 PyDict_SetItemString(d
,"RESET", SWIG_From_int((int)wxRESET
));
42884 PyDict_SetItemString(d
,"HELP", SWIG_From_int((int)wxHELP
));
42885 PyDict_SetItemString(d
,"MORE", SWIG_From_int((int)wxMORE
));
42886 PyDict_SetItemString(d
,"SETUP", SWIG_From_int((int)wxSETUP
));
42887 PyDict_SetItemString(d
,"SIZE_AUTO_WIDTH", SWIG_From_int((int)wxSIZE_AUTO_WIDTH
));
42888 PyDict_SetItemString(d
,"SIZE_AUTO_HEIGHT", SWIG_From_int((int)wxSIZE_AUTO_HEIGHT
));
42889 PyDict_SetItemString(d
,"SIZE_AUTO", SWIG_From_int((int)wxSIZE_AUTO
));
42890 PyDict_SetItemString(d
,"SIZE_USE_EXISTING", SWIG_From_int((int)wxSIZE_USE_EXISTING
));
42891 PyDict_SetItemString(d
,"SIZE_ALLOW_MINUS_ONE", SWIG_From_int((int)wxSIZE_ALLOW_MINUS_ONE
));
42892 PyDict_SetItemString(d
,"PORTRAIT", SWIG_From_int((int)wxPORTRAIT
));
42893 PyDict_SetItemString(d
,"LANDSCAPE", SWIG_From_int((int)wxLANDSCAPE
));
42894 PyDict_SetItemString(d
,"PRINT_QUALITY_HIGH", SWIG_From_int((int)wxPRINT_QUALITY_HIGH
));
42895 PyDict_SetItemString(d
,"PRINT_QUALITY_MEDIUM", SWIG_From_int((int)wxPRINT_QUALITY_MEDIUM
));
42896 PyDict_SetItemString(d
,"PRINT_QUALITY_LOW", SWIG_From_int((int)wxPRINT_QUALITY_LOW
));
42897 PyDict_SetItemString(d
,"PRINT_QUALITY_DRAFT", SWIG_From_int((int)wxPRINT_QUALITY_DRAFT
));
42898 PyDict_SetItemString(d
,"ID_ANY", SWIG_From_int((int)wxID_ANY
));
42899 PyDict_SetItemString(d
,"ID_SEPARATOR", SWIG_From_int((int)wxID_SEPARATOR
));
42900 PyDict_SetItemString(d
,"ID_LOWEST", SWIG_From_int((int)wxID_LOWEST
));
42901 PyDict_SetItemString(d
,"ID_OPEN", SWIG_From_int((int)wxID_OPEN
));
42902 PyDict_SetItemString(d
,"ID_CLOSE", SWIG_From_int((int)wxID_CLOSE
));
42903 PyDict_SetItemString(d
,"ID_NEW", SWIG_From_int((int)wxID_NEW
));
42904 PyDict_SetItemString(d
,"ID_SAVE", SWIG_From_int((int)wxID_SAVE
));
42905 PyDict_SetItemString(d
,"ID_SAVEAS", SWIG_From_int((int)wxID_SAVEAS
));
42906 PyDict_SetItemString(d
,"ID_REVERT", SWIG_From_int((int)wxID_REVERT
));
42907 PyDict_SetItemString(d
,"ID_EXIT", SWIG_From_int((int)wxID_EXIT
));
42908 PyDict_SetItemString(d
,"ID_UNDO", SWIG_From_int((int)wxID_UNDO
));
42909 PyDict_SetItemString(d
,"ID_REDO", SWIG_From_int((int)wxID_REDO
));
42910 PyDict_SetItemString(d
,"ID_HELP", SWIG_From_int((int)wxID_HELP
));
42911 PyDict_SetItemString(d
,"ID_PRINT", SWIG_From_int((int)wxID_PRINT
));
42912 PyDict_SetItemString(d
,"ID_PRINT_SETUP", SWIG_From_int((int)wxID_PRINT_SETUP
));
42913 PyDict_SetItemString(d
,"ID_PREVIEW", SWIG_From_int((int)wxID_PREVIEW
));
42914 PyDict_SetItemString(d
,"ID_ABOUT", SWIG_From_int((int)wxID_ABOUT
));
42915 PyDict_SetItemString(d
,"ID_HELP_CONTENTS", SWIG_From_int((int)wxID_HELP_CONTENTS
));
42916 PyDict_SetItemString(d
,"ID_HELP_COMMANDS", SWIG_From_int((int)wxID_HELP_COMMANDS
));
42917 PyDict_SetItemString(d
,"ID_HELP_PROCEDURES", SWIG_From_int((int)wxID_HELP_PROCEDURES
));
42918 PyDict_SetItemString(d
,"ID_HELP_CONTEXT", SWIG_From_int((int)wxID_HELP_CONTEXT
));
42919 PyDict_SetItemString(d
,"ID_CLOSE_ALL", SWIG_From_int((int)wxID_CLOSE_ALL
));
42920 PyDict_SetItemString(d
,"ID_PREFERENCES", SWIG_From_int((int)wxID_PREFERENCES
));
42921 PyDict_SetItemString(d
,"ID_CUT", SWIG_From_int((int)wxID_CUT
));
42922 PyDict_SetItemString(d
,"ID_COPY", SWIG_From_int((int)wxID_COPY
));
42923 PyDict_SetItemString(d
,"ID_PASTE", SWIG_From_int((int)wxID_PASTE
));
42924 PyDict_SetItemString(d
,"ID_CLEAR", SWIG_From_int((int)wxID_CLEAR
));
42925 PyDict_SetItemString(d
,"ID_FIND", SWIG_From_int((int)wxID_FIND
));
42926 PyDict_SetItemString(d
,"ID_DUPLICATE", SWIG_From_int((int)wxID_DUPLICATE
));
42927 PyDict_SetItemString(d
,"ID_SELECTALL", SWIG_From_int((int)wxID_SELECTALL
));
42928 PyDict_SetItemString(d
,"ID_DELETE", SWIG_From_int((int)wxID_DELETE
));
42929 PyDict_SetItemString(d
,"ID_REPLACE", SWIG_From_int((int)wxID_REPLACE
));
42930 PyDict_SetItemString(d
,"ID_REPLACE_ALL", SWIG_From_int((int)wxID_REPLACE_ALL
));
42931 PyDict_SetItemString(d
,"ID_PROPERTIES", SWIG_From_int((int)wxID_PROPERTIES
));
42932 PyDict_SetItemString(d
,"ID_VIEW_DETAILS", SWIG_From_int((int)wxID_VIEW_DETAILS
));
42933 PyDict_SetItemString(d
,"ID_VIEW_LARGEICONS", SWIG_From_int((int)wxID_VIEW_LARGEICONS
));
42934 PyDict_SetItemString(d
,"ID_VIEW_SMALLICONS", SWIG_From_int((int)wxID_VIEW_SMALLICONS
));
42935 PyDict_SetItemString(d
,"ID_VIEW_LIST", SWIG_From_int((int)wxID_VIEW_LIST
));
42936 PyDict_SetItemString(d
,"ID_VIEW_SORTDATE", SWIG_From_int((int)wxID_VIEW_SORTDATE
));
42937 PyDict_SetItemString(d
,"ID_VIEW_SORTNAME", SWIG_From_int((int)wxID_VIEW_SORTNAME
));
42938 PyDict_SetItemString(d
,"ID_VIEW_SORTSIZE", SWIG_From_int((int)wxID_VIEW_SORTSIZE
));
42939 PyDict_SetItemString(d
,"ID_VIEW_SORTTYPE", SWIG_From_int((int)wxID_VIEW_SORTTYPE
));
42940 PyDict_SetItemString(d
,"ID_FILE1", SWIG_From_int((int)wxID_FILE1
));
42941 PyDict_SetItemString(d
,"ID_FILE2", SWIG_From_int((int)wxID_FILE2
));
42942 PyDict_SetItemString(d
,"ID_FILE3", SWIG_From_int((int)wxID_FILE3
));
42943 PyDict_SetItemString(d
,"ID_FILE4", SWIG_From_int((int)wxID_FILE4
));
42944 PyDict_SetItemString(d
,"ID_FILE5", SWIG_From_int((int)wxID_FILE5
));
42945 PyDict_SetItemString(d
,"ID_FILE6", SWIG_From_int((int)wxID_FILE6
));
42946 PyDict_SetItemString(d
,"ID_FILE7", SWIG_From_int((int)wxID_FILE7
));
42947 PyDict_SetItemString(d
,"ID_FILE8", SWIG_From_int((int)wxID_FILE8
));
42948 PyDict_SetItemString(d
,"ID_FILE9", SWIG_From_int((int)wxID_FILE9
));
42949 PyDict_SetItemString(d
,"ID_OK", SWIG_From_int((int)wxID_OK
));
42950 PyDict_SetItemString(d
,"ID_CANCEL", SWIG_From_int((int)wxID_CANCEL
));
42951 PyDict_SetItemString(d
,"ID_APPLY", SWIG_From_int((int)wxID_APPLY
));
42952 PyDict_SetItemString(d
,"ID_YES", SWIG_From_int((int)wxID_YES
));
42953 PyDict_SetItemString(d
,"ID_NO", SWIG_From_int((int)wxID_NO
));
42954 PyDict_SetItemString(d
,"ID_STATIC", SWIG_From_int((int)wxID_STATIC
));
42955 PyDict_SetItemString(d
,"ID_FORWARD", SWIG_From_int((int)wxID_FORWARD
));
42956 PyDict_SetItemString(d
,"ID_BACKWARD", SWIG_From_int((int)wxID_BACKWARD
));
42957 PyDict_SetItemString(d
,"ID_DEFAULT", SWIG_From_int((int)wxID_DEFAULT
));
42958 PyDict_SetItemString(d
,"ID_MORE", SWIG_From_int((int)wxID_MORE
));
42959 PyDict_SetItemString(d
,"ID_SETUP", SWIG_From_int((int)wxID_SETUP
));
42960 PyDict_SetItemString(d
,"ID_RESET", SWIG_From_int((int)wxID_RESET
));
42961 PyDict_SetItemString(d
,"ID_CONTEXT_HELP", SWIG_From_int((int)wxID_CONTEXT_HELP
));
42962 PyDict_SetItemString(d
,"ID_YESTOALL", SWIG_From_int((int)wxID_YESTOALL
));
42963 PyDict_SetItemString(d
,"ID_NOTOALL", SWIG_From_int((int)wxID_NOTOALL
));
42964 PyDict_SetItemString(d
,"ID_ABORT", SWIG_From_int((int)wxID_ABORT
));
42965 PyDict_SetItemString(d
,"ID_RETRY", SWIG_From_int((int)wxID_RETRY
));
42966 PyDict_SetItemString(d
,"ID_IGNORE", SWIG_From_int((int)wxID_IGNORE
));
42967 PyDict_SetItemString(d
,"ID_ADD", SWIG_From_int((int)wxID_ADD
));
42968 PyDict_SetItemString(d
,"ID_REMOVE", SWIG_From_int((int)wxID_REMOVE
));
42969 PyDict_SetItemString(d
,"ID_UP", SWIG_From_int((int)wxID_UP
));
42970 PyDict_SetItemString(d
,"ID_DOWN", SWIG_From_int((int)wxID_DOWN
));
42971 PyDict_SetItemString(d
,"ID_HOME", SWIG_From_int((int)wxID_HOME
));
42972 PyDict_SetItemString(d
,"ID_REFRESH", SWIG_From_int((int)wxID_REFRESH
));
42973 PyDict_SetItemString(d
,"ID_STOP", SWIG_From_int((int)wxID_STOP
));
42974 PyDict_SetItemString(d
,"ID_INDEX", SWIG_From_int((int)wxID_INDEX
));
42975 PyDict_SetItemString(d
,"ID_BOLD", SWIG_From_int((int)wxID_BOLD
));
42976 PyDict_SetItemString(d
,"ID_ITALIC", SWIG_From_int((int)wxID_ITALIC
));
42977 PyDict_SetItemString(d
,"ID_JUSTIFY_CENTER", SWIG_From_int((int)wxID_JUSTIFY_CENTER
));
42978 PyDict_SetItemString(d
,"ID_JUSTIFY_FILL", SWIG_From_int((int)wxID_JUSTIFY_FILL
));
42979 PyDict_SetItemString(d
,"ID_JUSTIFY_RIGHT", SWIG_From_int((int)wxID_JUSTIFY_RIGHT
));
42980 PyDict_SetItemString(d
,"ID_JUSTIFY_LEFT", SWIG_From_int((int)wxID_JUSTIFY_LEFT
));
42981 PyDict_SetItemString(d
,"ID_UNDERLINE", SWIG_From_int((int)wxID_UNDERLINE
));
42982 PyDict_SetItemString(d
,"ID_INDENT", SWIG_From_int((int)wxID_INDENT
));
42983 PyDict_SetItemString(d
,"ID_UNINDENT", SWIG_From_int((int)wxID_UNINDENT
));
42984 PyDict_SetItemString(d
,"ID_ZOOM_100", SWIG_From_int((int)wxID_ZOOM_100
));
42985 PyDict_SetItemString(d
,"ID_ZOOM_FIT", SWIG_From_int((int)wxID_ZOOM_FIT
));
42986 PyDict_SetItemString(d
,"ID_ZOOM_IN", SWIG_From_int((int)wxID_ZOOM_IN
));
42987 PyDict_SetItemString(d
,"ID_ZOOM_OUT", SWIG_From_int((int)wxID_ZOOM_OUT
));
42988 PyDict_SetItemString(d
,"ID_UNDELETE", SWIG_From_int((int)wxID_UNDELETE
));
42989 PyDict_SetItemString(d
,"ID_REVERT_TO_SAVED", SWIG_From_int((int)wxID_REVERT_TO_SAVED
));
42990 PyDict_SetItemString(d
,"ID_HIGHEST", SWIG_From_int((int)wxID_HIGHEST
));
42991 PyDict_SetItemString(d
,"OPEN", SWIG_From_int((int)wxOPEN
));
42992 PyDict_SetItemString(d
,"SAVE", SWIG_From_int((int)wxSAVE
));
42993 PyDict_SetItemString(d
,"HIDE_READONLY", SWIG_From_int((int)wxHIDE_READONLY
));
42994 PyDict_SetItemString(d
,"OVERWRITE_PROMPT", SWIG_From_int((int)wxOVERWRITE_PROMPT
));
42995 PyDict_SetItemString(d
,"FILE_MUST_EXIST", SWIG_From_int((int)wxFILE_MUST_EXIST
));
42996 PyDict_SetItemString(d
,"MULTIPLE", SWIG_From_int((int)wxMULTIPLE
));
42997 PyDict_SetItemString(d
,"CHANGE_DIR", SWIG_From_int((int)wxCHANGE_DIR
));
42998 PyDict_SetItemString(d
,"ACCEL_ALT", SWIG_From_int((int)wxACCEL_ALT
));
42999 PyDict_SetItemString(d
,"ACCEL_CTRL", SWIG_From_int((int)wxACCEL_CTRL
));
43000 PyDict_SetItemString(d
,"ACCEL_SHIFT", SWIG_From_int((int)wxACCEL_SHIFT
));
43001 PyDict_SetItemString(d
,"ACCEL_NORMAL", SWIG_From_int((int)wxACCEL_NORMAL
));
43002 PyDict_SetItemString(d
,"PD_AUTO_HIDE", SWIG_From_int((int)wxPD_AUTO_HIDE
));
43003 PyDict_SetItemString(d
,"PD_APP_MODAL", SWIG_From_int((int)wxPD_APP_MODAL
));
43004 PyDict_SetItemString(d
,"PD_CAN_ABORT", SWIG_From_int((int)wxPD_CAN_ABORT
));
43005 PyDict_SetItemString(d
,"PD_ELAPSED_TIME", SWIG_From_int((int)wxPD_ELAPSED_TIME
));
43006 PyDict_SetItemString(d
,"PD_ESTIMATED_TIME", SWIG_From_int((int)wxPD_ESTIMATED_TIME
));
43007 PyDict_SetItemString(d
,"PD_REMAINING_TIME", SWIG_From_int((int)wxPD_REMAINING_TIME
));
43008 PyDict_SetItemString(d
,"DD_NEW_DIR_BUTTON", SWIG_From_int((int)wxDD_NEW_DIR_BUTTON
));
43009 PyDict_SetItemString(d
,"DD_DEFAULT_STYLE", SWIG_From_int((int)wxDD_DEFAULT_STYLE
));
43010 PyDict_SetItemString(d
,"MENU_TEAROFF", SWIG_From_int((int)wxMENU_TEAROFF
));
43011 PyDict_SetItemString(d
,"MB_DOCKABLE", SWIG_From_int((int)wxMB_DOCKABLE
));
43012 PyDict_SetItemString(d
,"NO_FULL_REPAINT_ON_RESIZE", SWIG_From_int((int)wxNO_FULL_REPAINT_ON_RESIZE
));
43013 PyDict_SetItemString(d
,"FULL_REPAINT_ON_RESIZE", SWIG_From_int((int)wxFULL_REPAINT_ON_RESIZE
));
43014 PyDict_SetItemString(d
,"LI_HORIZONTAL", SWIG_From_int((int)wxLI_HORIZONTAL
));
43015 PyDict_SetItemString(d
,"LI_VERTICAL", SWIG_From_int((int)wxLI_VERTICAL
));
43016 PyDict_SetItemString(d
,"WS_EX_VALIDATE_RECURSIVELY", SWIG_From_int((int)wxWS_EX_VALIDATE_RECURSIVELY
));
43017 PyDict_SetItemString(d
,"WS_EX_BLOCK_EVENTS", SWIG_From_int((int)wxWS_EX_BLOCK_EVENTS
));
43018 PyDict_SetItemString(d
,"WS_EX_TRANSIENT", SWIG_From_int((int)wxWS_EX_TRANSIENT
));
43019 PyDict_SetItemString(d
,"WS_EX_THEMED_BACKGROUND", SWIG_From_int((int)wxWS_EX_THEMED_BACKGROUND
));
43020 PyDict_SetItemString(d
,"WS_EX_PROCESS_IDLE", SWIG_From_int((int)wxWS_EX_PROCESS_IDLE
));
43021 PyDict_SetItemString(d
,"WS_EX_PROCESS_UI_UPDATES", SWIG_From_int((int)wxWS_EX_PROCESS_UI_UPDATES
));
43022 PyDict_SetItemString(d
,"MM_TEXT", SWIG_From_int((int)wxMM_TEXT
));
43023 PyDict_SetItemString(d
,"MM_LOMETRIC", SWIG_From_int((int)wxMM_LOMETRIC
));
43024 PyDict_SetItemString(d
,"MM_HIMETRIC", SWIG_From_int((int)wxMM_HIMETRIC
));
43025 PyDict_SetItemString(d
,"MM_LOENGLISH", SWIG_From_int((int)wxMM_LOENGLISH
));
43026 PyDict_SetItemString(d
,"MM_HIENGLISH", SWIG_From_int((int)wxMM_HIENGLISH
));
43027 PyDict_SetItemString(d
,"MM_TWIPS", SWIG_From_int((int)wxMM_TWIPS
));
43028 PyDict_SetItemString(d
,"MM_ISOTROPIC", SWIG_From_int((int)wxMM_ISOTROPIC
));
43029 PyDict_SetItemString(d
,"MM_ANISOTROPIC", SWIG_From_int((int)wxMM_ANISOTROPIC
));
43030 PyDict_SetItemString(d
,"MM_POINTS", SWIG_From_int((int)wxMM_POINTS
));
43031 PyDict_SetItemString(d
,"MM_METRIC", SWIG_From_int((int)wxMM_METRIC
));
43032 PyDict_SetItemString(d
,"CENTRE", SWIG_From_int((int)wxCENTRE
));
43033 PyDict_SetItemString(d
,"CENTER", SWIG_From_int((int)wxCENTER
));
43034 PyDict_SetItemString(d
,"HORIZONTAL", SWIG_From_int((int)wxHORIZONTAL
));
43035 PyDict_SetItemString(d
,"VERTICAL", SWIG_From_int((int)wxVERTICAL
));
43036 PyDict_SetItemString(d
,"BOTH", SWIG_From_int((int)wxBOTH
));
43037 PyDict_SetItemString(d
,"LEFT", SWIG_From_int((int)wxLEFT
));
43038 PyDict_SetItemString(d
,"RIGHT", SWIG_From_int((int)wxRIGHT
));
43039 PyDict_SetItemString(d
,"UP", SWIG_From_int((int)wxUP
));
43040 PyDict_SetItemString(d
,"DOWN", SWIG_From_int((int)wxDOWN
));
43041 PyDict_SetItemString(d
,"TOP", SWIG_From_int((int)wxTOP
));
43042 PyDict_SetItemString(d
,"BOTTOM", SWIG_From_int((int)wxBOTTOM
));
43043 PyDict_SetItemString(d
,"NORTH", SWIG_From_int((int)wxNORTH
));
43044 PyDict_SetItemString(d
,"SOUTH", SWIG_From_int((int)wxSOUTH
));
43045 PyDict_SetItemString(d
,"WEST", SWIG_From_int((int)wxWEST
));
43046 PyDict_SetItemString(d
,"EAST", SWIG_From_int((int)wxEAST
));
43047 PyDict_SetItemString(d
,"ALL", SWIG_From_int((int)wxALL
));
43048 PyDict_SetItemString(d
,"ALIGN_NOT", SWIG_From_int((int)wxALIGN_NOT
));
43049 PyDict_SetItemString(d
,"ALIGN_CENTER_HORIZONTAL", SWIG_From_int((int)wxALIGN_CENTER_HORIZONTAL
));
43050 PyDict_SetItemString(d
,"ALIGN_CENTRE_HORIZONTAL", SWIG_From_int((int)wxALIGN_CENTRE_HORIZONTAL
));
43051 PyDict_SetItemString(d
,"ALIGN_LEFT", SWIG_From_int((int)wxALIGN_LEFT
));
43052 PyDict_SetItemString(d
,"ALIGN_TOP", SWIG_From_int((int)wxALIGN_TOP
));
43053 PyDict_SetItemString(d
,"ALIGN_RIGHT", SWIG_From_int((int)wxALIGN_RIGHT
));
43054 PyDict_SetItemString(d
,"ALIGN_BOTTOM", SWIG_From_int((int)wxALIGN_BOTTOM
));
43055 PyDict_SetItemString(d
,"ALIGN_CENTER_VERTICAL", SWIG_From_int((int)wxALIGN_CENTER_VERTICAL
));
43056 PyDict_SetItemString(d
,"ALIGN_CENTRE_VERTICAL", SWIG_From_int((int)wxALIGN_CENTRE_VERTICAL
));
43057 PyDict_SetItemString(d
,"ALIGN_CENTER", SWIG_From_int((int)wxALIGN_CENTER
));
43058 PyDict_SetItemString(d
,"ALIGN_CENTRE", SWIG_From_int((int)wxALIGN_CENTRE
));
43059 PyDict_SetItemString(d
,"ALIGN_MASK", SWIG_From_int((int)wxALIGN_MASK
));
43060 PyDict_SetItemString(d
,"STRETCH_NOT", SWIG_From_int((int)wxSTRETCH_NOT
));
43061 PyDict_SetItemString(d
,"SHRINK", SWIG_From_int((int)wxSHRINK
));
43062 PyDict_SetItemString(d
,"GROW", SWIG_From_int((int)wxGROW
));
43063 PyDict_SetItemString(d
,"EXPAND", SWIG_From_int((int)wxEXPAND
));
43064 PyDict_SetItemString(d
,"SHAPED", SWIG_From_int((int)wxSHAPED
));
43065 PyDict_SetItemString(d
,"FIXED_MINSIZE", SWIG_From_int((int)wxFIXED_MINSIZE
));
43066 PyDict_SetItemString(d
,"TILE", SWIG_From_int((int)wxTILE
));
43067 PyDict_SetItemString(d
,"ADJUST_MINSIZE", SWIG_From_int((int)wxADJUST_MINSIZE
));
43068 PyDict_SetItemString(d
,"BORDER_DEFAULT", SWIG_From_int((int)wxBORDER_DEFAULT
));
43069 PyDict_SetItemString(d
,"BORDER_NONE", SWIG_From_int((int)wxBORDER_NONE
));
43070 PyDict_SetItemString(d
,"BORDER_STATIC", SWIG_From_int((int)wxBORDER_STATIC
));
43071 PyDict_SetItemString(d
,"BORDER_SIMPLE", SWIG_From_int((int)wxBORDER_SIMPLE
));
43072 PyDict_SetItemString(d
,"BORDER_RAISED", SWIG_From_int((int)wxBORDER_RAISED
));
43073 PyDict_SetItemString(d
,"BORDER_SUNKEN", SWIG_From_int((int)wxBORDER_SUNKEN
));
43074 PyDict_SetItemString(d
,"BORDER_DOUBLE", SWIG_From_int((int)wxBORDER_DOUBLE
));
43075 PyDict_SetItemString(d
,"BORDER_MASK", SWIG_From_int((int)wxBORDER_MASK
));
43076 PyDict_SetItemString(d
,"BG_STYLE_SYSTEM", SWIG_From_int((int)wxBG_STYLE_SYSTEM
));
43077 PyDict_SetItemString(d
,"BG_STYLE_COLOUR", SWIG_From_int((int)wxBG_STYLE_COLOUR
));
43078 PyDict_SetItemString(d
,"BG_STYLE_CUSTOM", SWIG_From_int((int)wxBG_STYLE_CUSTOM
));
43079 PyDict_SetItemString(d
,"DEFAULT", SWIG_From_int((int)wxDEFAULT
));
43080 PyDict_SetItemString(d
,"DECORATIVE", SWIG_From_int((int)wxDECORATIVE
));
43081 PyDict_SetItemString(d
,"ROMAN", SWIG_From_int((int)wxROMAN
));
43082 PyDict_SetItemString(d
,"SCRIPT", SWIG_From_int((int)wxSCRIPT
));
43083 PyDict_SetItemString(d
,"SWISS", SWIG_From_int((int)wxSWISS
));
43084 PyDict_SetItemString(d
,"MODERN", SWIG_From_int((int)wxMODERN
));
43085 PyDict_SetItemString(d
,"TELETYPE", SWIG_From_int((int)wxTELETYPE
));
43086 PyDict_SetItemString(d
,"VARIABLE", SWIG_From_int((int)wxVARIABLE
));
43087 PyDict_SetItemString(d
,"FIXED", SWIG_From_int((int)wxFIXED
));
43088 PyDict_SetItemString(d
,"NORMAL", SWIG_From_int((int)wxNORMAL
));
43089 PyDict_SetItemString(d
,"LIGHT", SWIG_From_int((int)wxLIGHT
));
43090 PyDict_SetItemString(d
,"BOLD", SWIG_From_int((int)wxBOLD
));
43091 PyDict_SetItemString(d
,"ITALIC", SWIG_From_int((int)wxITALIC
));
43092 PyDict_SetItemString(d
,"SLANT", SWIG_From_int((int)wxSLANT
));
43093 PyDict_SetItemString(d
,"SOLID", SWIG_From_int((int)wxSOLID
));
43094 PyDict_SetItemString(d
,"DOT", SWIG_From_int((int)wxDOT
));
43095 PyDict_SetItemString(d
,"LONG_DASH", SWIG_From_int((int)wxLONG_DASH
));
43096 PyDict_SetItemString(d
,"SHORT_DASH", SWIG_From_int((int)wxSHORT_DASH
));
43097 PyDict_SetItemString(d
,"DOT_DASH", SWIG_From_int((int)wxDOT_DASH
));
43098 PyDict_SetItemString(d
,"USER_DASH", SWIG_From_int((int)wxUSER_DASH
));
43099 PyDict_SetItemString(d
,"TRANSPARENT", SWIG_From_int((int)wxTRANSPARENT
));
43100 PyDict_SetItemString(d
,"STIPPLE", SWIG_From_int((int)wxSTIPPLE
));
43101 PyDict_SetItemString(d
,"BDIAGONAL_HATCH", SWIG_From_int((int)wxBDIAGONAL_HATCH
));
43102 PyDict_SetItemString(d
,"CROSSDIAG_HATCH", SWIG_From_int((int)wxCROSSDIAG_HATCH
));
43103 PyDict_SetItemString(d
,"FDIAGONAL_HATCH", SWIG_From_int((int)wxFDIAGONAL_HATCH
));
43104 PyDict_SetItemString(d
,"CROSS_HATCH", SWIG_From_int((int)wxCROSS_HATCH
));
43105 PyDict_SetItemString(d
,"HORIZONTAL_HATCH", SWIG_From_int((int)wxHORIZONTAL_HATCH
));
43106 PyDict_SetItemString(d
,"VERTICAL_HATCH", SWIG_From_int((int)wxVERTICAL_HATCH
));
43107 PyDict_SetItemString(d
,"JOIN_BEVEL", SWIG_From_int((int)wxJOIN_BEVEL
));
43108 PyDict_SetItemString(d
,"JOIN_MITER", SWIG_From_int((int)wxJOIN_MITER
));
43109 PyDict_SetItemString(d
,"JOIN_ROUND", SWIG_From_int((int)wxJOIN_ROUND
));
43110 PyDict_SetItemString(d
,"CAP_ROUND", SWIG_From_int((int)wxCAP_ROUND
));
43111 PyDict_SetItemString(d
,"CAP_PROJECTING", SWIG_From_int((int)wxCAP_PROJECTING
));
43112 PyDict_SetItemString(d
,"CAP_BUTT", SWIG_From_int((int)wxCAP_BUTT
));
43113 PyDict_SetItemString(d
,"CLEAR", SWIG_From_int((int)wxCLEAR
));
43114 PyDict_SetItemString(d
,"XOR", SWIG_From_int((int)wxXOR
));
43115 PyDict_SetItemString(d
,"INVERT", SWIG_From_int((int)wxINVERT
));
43116 PyDict_SetItemString(d
,"OR_REVERSE", SWIG_From_int((int)wxOR_REVERSE
));
43117 PyDict_SetItemString(d
,"AND_REVERSE", SWIG_From_int((int)wxAND_REVERSE
));
43118 PyDict_SetItemString(d
,"COPY", SWIG_From_int((int)wxCOPY
));
43119 PyDict_SetItemString(d
,"AND", SWIG_From_int((int)wxAND
));
43120 PyDict_SetItemString(d
,"AND_INVERT", SWIG_From_int((int)wxAND_INVERT
));
43121 PyDict_SetItemString(d
,"NO_OP", SWIG_From_int((int)wxNO_OP
));
43122 PyDict_SetItemString(d
,"NOR", SWIG_From_int((int)wxNOR
));
43123 PyDict_SetItemString(d
,"EQUIV", SWIG_From_int((int)wxEQUIV
));
43124 PyDict_SetItemString(d
,"SRC_INVERT", SWIG_From_int((int)wxSRC_INVERT
));
43125 PyDict_SetItemString(d
,"OR_INVERT", SWIG_From_int((int)wxOR_INVERT
));
43126 PyDict_SetItemString(d
,"NAND", SWIG_From_int((int)wxNAND
));
43127 PyDict_SetItemString(d
,"OR", SWIG_From_int((int)wxOR
));
43128 PyDict_SetItemString(d
,"SET", SWIG_From_int((int)wxSET
));
43129 PyDict_SetItemString(d
,"WXK_BACK", SWIG_From_int((int)WXK_BACK
));
43130 PyDict_SetItemString(d
,"WXK_TAB", SWIG_From_int((int)WXK_TAB
));
43131 PyDict_SetItemString(d
,"WXK_RETURN", SWIG_From_int((int)WXK_RETURN
));
43132 PyDict_SetItemString(d
,"WXK_ESCAPE", SWIG_From_int((int)WXK_ESCAPE
));
43133 PyDict_SetItemString(d
,"WXK_SPACE", SWIG_From_int((int)WXK_SPACE
));
43134 PyDict_SetItemString(d
,"WXK_DELETE", SWIG_From_int((int)WXK_DELETE
));
43135 PyDict_SetItemString(d
,"WXK_START", SWIG_From_int((int)WXK_START
));
43136 PyDict_SetItemString(d
,"WXK_LBUTTON", SWIG_From_int((int)WXK_LBUTTON
));
43137 PyDict_SetItemString(d
,"WXK_RBUTTON", SWIG_From_int((int)WXK_RBUTTON
));
43138 PyDict_SetItemString(d
,"WXK_CANCEL", SWIG_From_int((int)WXK_CANCEL
));
43139 PyDict_SetItemString(d
,"WXK_MBUTTON", SWIG_From_int((int)WXK_MBUTTON
));
43140 PyDict_SetItemString(d
,"WXK_CLEAR", SWIG_From_int((int)WXK_CLEAR
));
43141 PyDict_SetItemString(d
,"WXK_SHIFT", SWIG_From_int((int)WXK_SHIFT
));
43142 PyDict_SetItemString(d
,"WXK_ALT", SWIG_From_int((int)WXK_ALT
));
43143 PyDict_SetItemString(d
,"WXK_CONTROL", SWIG_From_int((int)WXK_CONTROL
));
43144 PyDict_SetItemString(d
,"WXK_MENU", SWIG_From_int((int)WXK_MENU
));
43145 PyDict_SetItemString(d
,"WXK_PAUSE", SWIG_From_int((int)WXK_PAUSE
));
43146 PyDict_SetItemString(d
,"WXK_CAPITAL", SWIG_From_int((int)WXK_CAPITAL
));
43147 PyDict_SetItemString(d
,"WXK_PRIOR", SWIG_From_int((int)WXK_PRIOR
));
43148 PyDict_SetItemString(d
,"WXK_NEXT", SWIG_From_int((int)WXK_NEXT
));
43149 PyDict_SetItemString(d
,"WXK_END", SWIG_From_int((int)WXK_END
));
43150 PyDict_SetItemString(d
,"WXK_HOME", SWIG_From_int((int)WXK_HOME
));
43151 PyDict_SetItemString(d
,"WXK_LEFT", SWIG_From_int((int)WXK_LEFT
));
43152 PyDict_SetItemString(d
,"WXK_UP", SWIG_From_int((int)WXK_UP
));
43153 PyDict_SetItemString(d
,"WXK_RIGHT", SWIG_From_int((int)WXK_RIGHT
));
43154 PyDict_SetItemString(d
,"WXK_DOWN", SWIG_From_int((int)WXK_DOWN
));
43155 PyDict_SetItemString(d
,"WXK_SELECT", SWIG_From_int((int)WXK_SELECT
));
43156 PyDict_SetItemString(d
,"WXK_PRINT", SWIG_From_int((int)WXK_PRINT
));
43157 PyDict_SetItemString(d
,"WXK_EXECUTE", SWIG_From_int((int)WXK_EXECUTE
));
43158 PyDict_SetItemString(d
,"WXK_SNAPSHOT", SWIG_From_int((int)WXK_SNAPSHOT
));
43159 PyDict_SetItemString(d
,"WXK_INSERT", SWIG_From_int((int)WXK_INSERT
));
43160 PyDict_SetItemString(d
,"WXK_HELP", SWIG_From_int((int)WXK_HELP
));
43161 PyDict_SetItemString(d
,"WXK_NUMPAD0", SWIG_From_int((int)WXK_NUMPAD0
));
43162 PyDict_SetItemString(d
,"WXK_NUMPAD1", SWIG_From_int((int)WXK_NUMPAD1
));
43163 PyDict_SetItemString(d
,"WXK_NUMPAD2", SWIG_From_int((int)WXK_NUMPAD2
));
43164 PyDict_SetItemString(d
,"WXK_NUMPAD3", SWIG_From_int((int)WXK_NUMPAD3
));
43165 PyDict_SetItemString(d
,"WXK_NUMPAD4", SWIG_From_int((int)WXK_NUMPAD4
));
43166 PyDict_SetItemString(d
,"WXK_NUMPAD5", SWIG_From_int((int)WXK_NUMPAD5
));
43167 PyDict_SetItemString(d
,"WXK_NUMPAD6", SWIG_From_int((int)WXK_NUMPAD6
));
43168 PyDict_SetItemString(d
,"WXK_NUMPAD7", SWIG_From_int((int)WXK_NUMPAD7
));
43169 PyDict_SetItemString(d
,"WXK_NUMPAD8", SWIG_From_int((int)WXK_NUMPAD8
));
43170 PyDict_SetItemString(d
,"WXK_NUMPAD9", SWIG_From_int((int)WXK_NUMPAD9
));
43171 PyDict_SetItemString(d
,"WXK_MULTIPLY", SWIG_From_int((int)WXK_MULTIPLY
));
43172 PyDict_SetItemString(d
,"WXK_ADD", SWIG_From_int((int)WXK_ADD
));
43173 PyDict_SetItemString(d
,"WXK_SEPARATOR", SWIG_From_int((int)WXK_SEPARATOR
));
43174 PyDict_SetItemString(d
,"WXK_SUBTRACT", SWIG_From_int((int)WXK_SUBTRACT
));
43175 PyDict_SetItemString(d
,"WXK_DECIMAL", SWIG_From_int((int)WXK_DECIMAL
));
43176 PyDict_SetItemString(d
,"WXK_DIVIDE", SWIG_From_int((int)WXK_DIVIDE
));
43177 PyDict_SetItemString(d
,"WXK_F1", SWIG_From_int((int)WXK_F1
));
43178 PyDict_SetItemString(d
,"WXK_F2", SWIG_From_int((int)WXK_F2
));
43179 PyDict_SetItemString(d
,"WXK_F3", SWIG_From_int((int)WXK_F3
));
43180 PyDict_SetItemString(d
,"WXK_F4", SWIG_From_int((int)WXK_F4
));
43181 PyDict_SetItemString(d
,"WXK_F5", SWIG_From_int((int)WXK_F5
));
43182 PyDict_SetItemString(d
,"WXK_F6", SWIG_From_int((int)WXK_F6
));
43183 PyDict_SetItemString(d
,"WXK_F7", SWIG_From_int((int)WXK_F7
));
43184 PyDict_SetItemString(d
,"WXK_F8", SWIG_From_int((int)WXK_F8
));
43185 PyDict_SetItemString(d
,"WXK_F9", SWIG_From_int((int)WXK_F9
));
43186 PyDict_SetItemString(d
,"WXK_F10", SWIG_From_int((int)WXK_F10
));
43187 PyDict_SetItemString(d
,"WXK_F11", SWIG_From_int((int)WXK_F11
));
43188 PyDict_SetItemString(d
,"WXK_F12", SWIG_From_int((int)WXK_F12
));
43189 PyDict_SetItemString(d
,"WXK_F13", SWIG_From_int((int)WXK_F13
));
43190 PyDict_SetItemString(d
,"WXK_F14", SWIG_From_int((int)WXK_F14
));
43191 PyDict_SetItemString(d
,"WXK_F15", SWIG_From_int((int)WXK_F15
));
43192 PyDict_SetItemString(d
,"WXK_F16", SWIG_From_int((int)WXK_F16
));
43193 PyDict_SetItemString(d
,"WXK_F17", SWIG_From_int((int)WXK_F17
));
43194 PyDict_SetItemString(d
,"WXK_F18", SWIG_From_int((int)WXK_F18
));
43195 PyDict_SetItemString(d
,"WXK_F19", SWIG_From_int((int)WXK_F19
));
43196 PyDict_SetItemString(d
,"WXK_F20", SWIG_From_int((int)WXK_F20
));
43197 PyDict_SetItemString(d
,"WXK_F21", SWIG_From_int((int)WXK_F21
));
43198 PyDict_SetItemString(d
,"WXK_F22", SWIG_From_int((int)WXK_F22
));
43199 PyDict_SetItemString(d
,"WXK_F23", SWIG_From_int((int)WXK_F23
));
43200 PyDict_SetItemString(d
,"WXK_F24", SWIG_From_int((int)WXK_F24
));
43201 PyDict_SetItemString(d
,"WXK_NUMLOCK", SWIG_From_int((int)WXK_NUMLOCK
));
43202 PyDict_SetItemString(d
,"WXK_SCROLL", SWIG_From_int((int)WXK_SCROLL
));
43203 PyDict_SetItemString(d
,"WXK_PAGEUP", SWIG_From_int((int)WXK_PAGEUP
));
43204 PyDict_SetItemString(d
,"WXK_PAGEDOWN", SWIG_From_int((int)WXK_PAGEDOWN
));
43205 PyDict_SetItemString(d
,"WXK_NUMPAD_SPACE", SWIG_From_int((int)WXK_NUMPAD_SPACE
));
43206 PyDict_SetItemString(d
,"WXK_NUMPAD_TAB", SWIG_From_int((int)WXK_NUMPAD_TAB
));
43207 PyDict_SetItemString(d
,"WXK_NUMPAD_ENTER", SWIG_From_int((int)WXK_NUMPAD_ENTER
));
43208 PyDict_SetItemString(d
,"WXK_NUMPAD_F1", SWIG_From_int((int)WXK_NUMPAD_F1
));
43209 PyDict_SetItemString(d
,"WXK_NUMPAD_F2", SWIG_From_int((int)WXK_NUMPAD_F2
));
43210 PyDict_SetItemString(d
,"WXK_NUMPAD_F3", SWIG_From_int((int)WXK_NUMPAD_F3
));
43211 PyDict_SetItemString(d
,"WXK_NUMPAD_F4", SWIG_From_int((int)WXK_NUMPAD_F4
));
43212 PyDict_SetItemString(d
,"WXK_NUMPAD_HOME", SWIG_From_int((int)WXK_NUMPAD_HOME
));
43213 PyDict_SetItemString(d
,"WXK_NUMPAD_LEFT", SWIG_From_int((int)WXK_NUMPAD_LEFT
));
43214 PyDict_SetItemString(d
,"WXK_NUMPAD_UP", SWIG_From_int((int)WXK_NUMPAD_UP
));
43215 PyDict_SetItemString(d
,"WXK_NUMPAD_RIGHT", SWIG_From_int((int)WXK_NUMPAD_RIGHT
));
43216 PyDict_SetItemString(d
,"WXK_NUMPAD_DOWN", SWIG_From_int((int)WXK_NUMPAD_DOWN
));
43217 PyDict_SetItemString(d
,"WXK_NUMPAD_PRIOR", SWIG_From_int((int)WXK_NUMPAD_PRIOR
));
43218 PyDict_SetItemString(d
,"WXK_NUMPAD_PAGEUP", SWIG_From_int((int)WXK_NUMPAD_PAGEUP
));
43219 PyDict_SetItemString(d
,"WXK_NUMPAD_NEXT", SWIG_From_int((int)WXK_NUMPAD_NEXT
));
43220 PyDict_SetItemString(d
,"WXK_NUMPAD_PAGEDOWN", SWIG_From_int((int)WXK_NUMPAD_PAGEDOWN
));
43221 PyDict_SetItemString(d
,"WXK_NUMPAD_END", SWIG_From_int((int)WXK_NUMPAD_END
));
43222 PyDict_SetItemString(d
,"WXK_NUMPAD_BEGIN", SWIG_From_int((int)WXK_NUMPAD_BEGIN
));
43223 PyDict_SetItemString(d
,"WXK_NUMPAD_INSERT", SWIG_From_int((int)WXK_NUMPAD_INSERT
));
43224 PyDict_SetItemString(d
,"WXK_NUMPAD_DELETE", SWIG_From_int((int)WXK_NUMPAD_DELETE
));
43225 PyDict_SetItemString(d
,"WXK_NUMPAD_EQUAL", SWIG_From_int((int)WXK_NUMPAD_EQUAL
));
43226 PyDict_SetItemString(d
,"WXK_NUMPAD_MULTIPLY", SWIG_From_int((int)WXK_NUMPAD_MULTIPLY
));
43227 PyDict_SetItemString(d
,"WXK_NUMPAD_ADD", SWIG_From_int((int)WXK_NUMPAD_ADD
));
43228 PyDict_SetItemString(d
,"WXK_NUMPAD_SEPARATOR", SWIG_From_int((int)WXK_NUMPAD_SEPARATOR
));
43229 PyDict_SetItemString(d
,"WXK_NUMPAD_SUBTRACT", SWIG_From_int((int)WXK_NUMPAD_SUBTRACT
));
43230 PyDict_SetItemString(d
,"WXK_NUMPAD_DECIMAL", SWIG_From_int((int)WXK_NUMPAD_DECIMAL
));
43231 PyDict_SetItemString(d
,"WXK_NUMPAD_DIVIDE", SWIG_From_int((int)WXK_NUMPAD_DIVIDE
));
43232 PyDict_SetItemString(d
,"WXK_WINDOWS_LEFT", SWIG_From_int((int)WXK_WINDOWS_LEFT
));
43233 PyDict_SetItemString(d
,"WXK_WINDOWS_RIGHT", SWIG_From_int((int)WXK_WINDOWS_RIGHT
));
43234 PyDict_SetItemString(d
,"WXK_WINDOWS_MENU", SWIG_From_int((int)WXK_WINDOWS_MENU
));
43235 PyDict_SetItemString(d
,"PAPER_NONE", SWIG_From_int((int)wxPAPER_NONE
));
43236 PyDict_SetItemString(d
,"PAPER_LETTER", SWIG_From_int((int)wxPAPER_LETTER
));
43237 PyDict_SetItemString(d
,"PAPER_LEGAL", SWIG_From_int((int)wxPAPER_LEGAL
));
43238 PyDict_SetItemString(d
,"PAPER_A4", SWIG_From_int((int)wxPAPER_A4
));
43239 PyDict_SetItemString(d
,"PAPER_CSHEET", SWIG_From_int((int)wxPAPER_CSHEET
));
43240 PyDict_SetItemString(d
,"PAPER_DSHEET", SWIG_From_int((int)wxPAPER_DSHEET
));
43241 PyDict_SetItemString(d
,"PAPER_ESHEET", SWIG_From_int((int)wxPAPER_ESHEET
));
43242 PyDict_SetItemString(d
,"PAPER_LETTERSMALL", SWIG_From_int((int)wxPAPER_LETTERSMALL
));
43243 PyDict_SetItemString(d
,"PAPER_TABLOID", SWIG_From_int((int)wxPAPER_TABLOID
));
43244 PyDict_SetItemString(d
,"PAPER_LEDGER", SWIG_From_int((int)wxPAPER_LEDGER
));
43245 PyDict_SetItemString(d
,"PAPER_STATEMENT", SWIG_From_int((int)wxPAPER_STATEMENT
));
43246 PyDict_SetItemString(d
,"PAPER_EXECUTIVE", SWIG_From_int((int)wxPAPER_EXECUTIVE
));
43247 PyDict_SetItemString(d
,"PAPER_A3", SWIG_From_int((int)wxPAPER_A3
));
43248 PyDict_SetItemString(d
,"PAPER_A4SMALL", SWIG_From_int((int)wxPAPER_A4SMALL
));
43249 PyDict_SetItemString(d
,"PAPER_A5", SWIG_From_int((int)wxPAPER_A5
));
43250 PyDict_SetItemString(d
,"PAPER_B4", SWIG_From_int((int)wxPAPER_B4
));
43251 PyDict_SetItemString(d
,"PAPER_B5", SWIG_From_int((int)wxPAPER_B5
));
43252 PyDict_SetItemString(d
,"PAPER_FOLIO", SWIG_From_int((int)wxPAPER_FOLIO
));
43253 PyDict_SetItemString(d
,"PAPER_QUARTO", SWIG_From_int((int)wxPAPER_QUARTO
));
43254 PyDict_SetItemString(d
,"PAPER_10X14", SWIG_From_int((int)wxPAPER_10X14
));
43255 PyDict_SetItemString(d
,"PAPER_11X17", SWIG_From_int((int)wxPAPER_11X17
));
43256 PyDict_SetItemString(d
,"PAPER_NOTE", SWIG_From_int((int)wxPAPER_NOTE
));
43257 PyDict_SetItemString(d
,"PAPER_ENV_9", SWIG_From_int((int)wxPAPER_ENV_9
));
43258 PyDict_SetItemString(d
,"PAPER_ENV_10", SWIG_From_int((int)wxPAPER_ENV_10
));
43259 PyDict_SetItemString(d
,"PAPER_ENV_11", SWIG_From_int((int)wxPAPER_ENV_11
));
43260 PyDict_SetItemString(d
,"PAPER_ENV_12", SWIG_From_int((int)wxPAPER_ENV_12
));
43261 PyDict_SetItemString(d
,"PAPER_ENV_14", SWIG_From_int((int)wxPAPER_ENV_14
));
43262 PyDict_SetItemString(d
,"PAPER_ENV_DL", SWIG_From_int((int)wxPAPER_ENV_DL
));
43263 PyDict_SetItemString(d
,"PAPER_ENV_C5", SWIG_From_int((int)wxPAPER_ENV_C5
));
43264 PyDict_SetItemString(d
,"PAPER_ENV_C3", SWIG_From_int((int)wxPAPER_ENV_C3
));
43265 PyDict_SetItemString(d
,"PAPER_ENV_C4", SWIG_From_int((int)wxPAPER_ENV_C4
));
43266 PyDict_SetItemString(d
,"PAPER_ENV_C6", SWIG_From_int((int)wxPAPER_ENV_C6
));
43267 PyDict_SetItemString(d
,"PAPER_ENV_C65", SWIG_From_int((int)wxPAPER_ENV_C65
));
43268 PyDict_SetItemString(d
,"PAPER_ENV_B4", SWIG_From_int((int)wxPAPER_ENV_B4
));
43269 PyDict_SetItemString(d
,"PAPER_ENV_B5", SWIG_From_int((int)wxPAPER_ENV_B5
));
43270 PyDict_SetItemString(d
,"PAPER_ENV_B6", SWIG_From_int((int)wxPAPER_ENV_B6
));
43271 PyDict_SetItemString(d
,"PAPER_ENV_ITALY", SWIG_From_int((int)wxPAPER_ENV_ITALY
));
43272 PyDict_SetItemString(d
,"PAPER_ENV_MONARCH", SWIG_From_int((int)wxPAPER_ENV_MONARCH
));
43273 PyDict_SetItemString(d
,"PAPER_ENV_PERSONAL", SWIG_From_int((int)wxPAPER_ENV_PERSONAL
));
43274 PyDict_SetItemString(d
,"PAPER_FANFOLD_US", SWIG_From_int((int)wxPAPER_FANFOLD_US
));
43275 PyDict_SetItemString(d
,"PAPER_FANFOLD_STD_GERMAN", SWIG_From_int((int)wxPAPER_FANFOLD_STD_GERMAN
));
43276 PyDict_SetItemString(d
,"PAPER_FANFOLD_LGL_GERMAN", SWIG_From_int((int)wxPAPER_FANFOLD_LGL_GERMAN
));
43277 PyDict_SetItemString(d
,"PAPER_ISO_B4", SWIG_From_int((int)wxPAPER_ISO_B4
));
43278 PyDict_SetItemString(d
,"PAPER_JAPANESE_POSTCARD", SWIG_From_int((int)wxPAPER_JAPANESE_POSTCARD
));
43279 PyDict_SetItemString(d
,"PAPER_9X11", SWIG_From_int((int)wxPAPER_9X11
));
43280 PyDict_SetItemString(d
,"PAPER_10X11", SWIG_From_int((int)wxPAPER_10X11
));
43281 PyDict_SetItemString(d
,"PAPER_15X11", SWIG_From_int((int)wxPAPER_15X11
));
43282 PyDict_SetItemString(d
,"PAPER_ENV_INVITE", SWIG_From_int((int)wxPAPER_ENV_INVITE
));
43283 PyDict_SetItemString(d
,"PAPER_LETTER_EXTRA", SWIG_From_int((int)wxPAPER_LETTER_EXTRA
));
43284 PyDict_SetItemString(d
,"PAPER_LEGAL_EXTRA", SWIG_From_int((int)wxPAPER_LEGAL_EXTRA
));
43285 PyDict_SetItemString(d
,"PAPER_TABLOID_EXTRA", SWIG_From_int((int)wxPAPER_TABLOID_EXTRA
));
43286 PyDict_SetItemString(d
,"PAPER_A4_EXTRA", SWIG_From_int((int)wxPAPER_A4_EXTRA
));
43287 PyDict_SetItemString(d
,"PAPER_LETTER_TRANSVERSE", SWIG_From_int((int)wxPAPER_LETTER_TRANSVERSE
));
43288 PyDict_SetItemString(d
,"PAPER_A4_TRANSVERSE", SWIG_From_int((int)wxPAPER_A4_TRANSVERSE
));
43289 PyDict_SetItemString(d
,"PAPER_LETTER_EXTRA_TRANSVERSE", SWIG_From_int((int)wxPAPER_LETTER_EXTRA_TRANSVERSE
));
43290 PyDict_SetItemString(d
,"PAPER_A_PLUS", SWIG_From_int((int)wxPAPER_A_PLUS
));
43291 PyDict_SetItemString(d
,"PAPER_B_PLUS", SWIG_From_int((int)wxPAPER_B_PLUS
));
43292 PyDict_SetItemString(d
,"PAPER_LETTER_PLUS", SWIG_From_int((int)wxPAPER_LETTER_PLUS
));
43293 PyDict_SetItemString(d
,"PAPER_A4_PLUS", SWIG_From_int((int)wxPAPER_A4_PLUS
));
43294 PyDict_SetItemString(d
,"PAPER_A5_TRANSVERSE", SWIG_From_int((int)wxPAPER_A5_TRANSVERSE
));
43295 PyDict_SetItemString(d
,"PAPER_B5_TRANSVERSE", SWIG_From_int((int)wxPAPER_B5_TRANSVERSE
));
43296 PyDict_SetItemString(d
,"PAPER_A3_EXTRA", SWIG_From_int((int)wxPAPER_A3_EXTRA
));
43297 PyDict_SetItemString(d
,"PAPER_A5_EXTRA", SWIG_From_int((int)wxPAPER_A5_EXTRA
));
43298 PyDict_SetItemString(d
,"PAPER_B5_EXTRA", SWIG_From_int((int)wxPAPER_B5_EXTRA
));
43299 PyDict_SetItemString(d
,"PAPER_A2", SWIG_From_int((int)wxPAPER_A2
));
43300 PyDict_SetItemString(d
,"PAPER_A3_TRANSVERSE", SWIG_From_int((int)wxPAPER_A3_TRANSVERSE
));
43301 PyDict_SetItemString(d
,"PAPER_A3_EXTRA_TRANSVERSE", SWIG_From_int((int)wxPAPER_A3_EXTRA_TRANSVERSE
));
43302 PyDict_SetItemString(d
,"DUPLEX_SIMPLEX", SWIG_From_int((int)wxDUPLEX_SIMPLEX
));
43303 PyDict_SetItemString(d
,"DUPLEX_HORIZONTAL", SWIG_From_int((int)wxDUPLEX_HORIZONTAL
));
43304 PyDict_SetItemString(d
,"DUPLEX_VERTICAL", SWIG_From_int((int)wxDUPLEX_VERTICAL
));
43305 PyDict_SetItemString(d
,"ITEM_SEPARATOR", SWIG_From_int((int)wxITEM_SEPARATOR
));
43306 PyDict_SetItemString(d
,"ITEM_NORMAL", SWIG_From_int((int)wxITEM_NORMAL
));
43307 PyDict_SetItemString(d
,"ITEM_CHECK", SWIG_From_int((int)wxITEM_CHECK
));
43308 PyDict_SetItemString(d
,"ITEM_RADIO", SWIG_From_int((int)wxITEM_RADIO
));
43309 PyDict_SetItemString(d
,"ITEM_MAX", SWIG_From_int((int)wxITEM_MAX
));
43310 PyDict_SetItemString(d
,"HT_NOWHERE", SWIG_From_int((int)wxHT_NOWHERE
));
43311 PyDict_SetItemString(d
,"HT_SCROLLBAR_FIRST", SWIG_From_int((int)wxHT_SCROLLBAR_FIRST
));
43312 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_LINE_1", SWIG_From_int((int)wxHT_SCROLLBAR_ARROW_LINE_1
));
43313 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_LINE_2", SWIG_From_int((int)wxHT_SCROLLBAR_ARROW_LINE_2
));
43314 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_PAGE_1", SWIG_From_int((int)wxHT_SCROLLBAR_ARROW_PAGE_1
));
43315 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_PAGE_2", SWIG_From_int((int)wxHT_SCROLLBAR_ARROW_PAGE_2
));
43316 PyDict_SetItemString(d
,"HT_SCROLLBAR_THUMB", SWIG_From_int((int)wxHT_SCROLLBAR_THUMB
));
43317 PyDict_SetItemString(d
,"HT_SCROLLBAR_BAR_1", SWIG_From_int((int)wxHT_SCROLLBAR_BAR_1
));
43318 PyDict_SetItemString(d
,"HT_SCROLLBAR_BAR_2", SWIG_From_int((int)wxHT_SCROLLBAR_BAR_2
));
43319 PyDict_SetItemString(d
,"HT_SCROLLBAR_LAST", SWIG_From_int((int)wxHT_SCROLLBAR_LAST
));
43320 PyDict_SetItemString(d
,"HT_WINDOW_OUTSIDE", SWIG_From_int((int)wxHT_WINDOW_OUTSIDE
));
43321 PyDict_SetItemString(d
,"HT_WINDOW_INSIDE", SWIG_From_int((int)wxHT_WINDOW_INSIDE
));
43322 PyDict_SetItemString(d
,"HT_WINDOW_VERT_SCROLLBAR", SWIG_From_int((int)wxHT_WINDOW_VERT_SCROLLBAR
));
43323 PyDict_SetItemString(d
,"HT_WINDOW_HORZ_SCROLLBAR", SWIG_From_int((int)wxHT_WINDOW_HORZ_SCROLLBAR
));
43324 PyDict_SetItemString(d
,"HT_WINDOW_CORNER", SWIG_From_int((int)wxHT_WINDOW_CORNER
));
43325 PyDict_SetItemString(d
,"HT_MAX", SWIG_From_int((int)wxHT_MAX
));
43326 PyDict_SetItemString(d
,"MOD_NONE", SWIG_From_int((int)wxMOD_NONE
));
43327 PyDict_SetItemString(d
,"MOD_ALT", SWIG_From_int((int)wxMOD_ALT
));
43328 PyDict_SetItemString(d
,"MOD_CONTROL", SWIG_From_int((int)wxMOD_CONTROL
));
43329 PyDict_SetItemString(d
,"MOD_SHIFT", SWIG_From_int((int)wxMOD_SHIFT
));
43330 PyDict_SetItemString(d
,"MOD_WIN", SWIG_From_int((int)wxMOD_WIN
));
43331 PyDict_SetItemString(d
,"UPDATE_UI_NONE", SWIG_From_int((int)wxUPDATE_UI_NONE
));
43332 PyDict_SetItemString(d
,"UPDATE_UI_RECURSE", SWIG_From_int((int)wxUPDATE_UI_RECURSE
));
43333 PyDict_SetItemString(d
,"UPDATE_UI_FROMIDLE", SWIG_From_int((int)wxUPDATE_UI_FROMIDLE
));
43334 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
43335 SWIG_addvarlink(SWIG_globals
,(char*)"EmptyString",_wrap_EmptyString_get
, _wrap_EmptyString_set
);
43336 PyDict_SetItemString(d
,"BITMAP_TYPE_INVALID", SWIG_From_int((int)wxBITMAP_TYPE_INVALID
));
43337 PyDict_SetItemString(d
,"BITMAP_TYPE_BMP", SWIG_From_int((int)wxBITMAP_TYPE_BMP
));
43338 PyDict_SetItemString(d
,"BITMAP_TYPE_ICO", SWIG_From_int((int)wxBITMAP_TYPE_ICO
));
43339 PyDict_SetItemString(d
,"BITMAP_TYPE_CUR", SWIG_From_int((int)wxBITMAP_TYPE_CUR
));
43340 PyDict_SetItemString(d
,"BITMAP_TYPE_XBM", SWIG_From_int((int)wxBITMAP_TYPE_XBM
));
43341 PyDict_SetItemString(d
,"BITMAP_TYPE_XBM_DATA", SWIG_From_int((int)wxBITMAP_TYPE_XBM_DATA
));
43342 PyDict_SetItemString(d
,"BITMAP_TYPE_XPM", SWIG_From_int((int)wxBITMAP_TYPE_XPM
));
43343 PyDict_SetItemString(d
,"BITMAP_TYPE_XPM_DATA", SWIG_From_int((int)wxBITMAP_TYPE_XPM_DATA
));
43344 PyDict_SetItemString(d
,"BITMAP_TYPE_TIF", SWIG_From_int((int)wxBITMAP_TYPE_TIF
));
43345 PyDict_SetItemString(d
,"BITMAP_TYPE_GIF", SWIG_From_int((int)wxBITMAP_TYPE_GIF
));
43346 PyDict_SetItemString(d
,"BITMAP_TYPE_PNG", SWIG_From_int((int)wxBITMAP_TYPE_PNG
));
43347 PyDict_SetItemString(d
,"BITMAP_TYPE_JPEG", SWIG_From_int((int)wxBITMAP_TYPE_JPEG
));
43348 PyDict_SetItemString(d
,"BITMAP_TYPE_PNM", SWIG_From_int((int)wxBITMAP_TYPE_PNM
));
43349 PyDict_SetItemString(d
,"BITMAP_TYPE_PCX", SWIG_From_int((int)wxBITMAP_TYPE_PCX
));
43350 PyDict_SetItemString(d
,"BITMAP_TYPE_PICT", SWIG_From_int((int)wxBITMAP_TYPE_PICT
));
43351 PyDict_SetItemString(d
,"BITMAP_TYPE_ICON", SWIG_From_int((int)wxBITMAP_TYPE_ICON
));
43352 PyDict_SetItemString(d
,"BITMAP_TYPE_ANI", SWIG_From_int((int)wxBITMAP_TYPE_ANI
));
43353 PyDict_SetItemString(d
,"BITMAP_TYPE_IFF", SWIG_From_int((int)wxBITMAP_TYPE_IFF
));
43354 PyDict_SetItemString(d
,"BITMAP_TYPE_MACCURSOR", SWIG_From_int((int)wxBITMAP_TYPE_MACCURSOR
));
43355 PyDict_SetItemString(d
,"BITMAP_TYPE_ANY", SWIG_From_int((int)wxBITMAP_TYPE_ANY
));
43356 PyDict_SetItemString(d
,"CURSOR_NONE", SWIG_From_int((int)wxCURSOR_NONE
));
43357 PyDict_SetItemString(d
,"CURSOR_ARROW", SWIG_From_int((int)wxCURSOR_ARROW
));
43358 PyDict_SetItemString(d
,"CURSOR_RIGHT_ARROW", SWIG_From_int((int)wxCURSOR_RIGHT_ARROW
));
43359 PyDict_SetItemString(d
,"CURSOR_BULLSEYE", SWIG_From_int((int)wxCURSOR_BULLSEYE
));
43360 PyDict_SetItemString(d
,"CURSOR_CHAR", SWIG_From_int((int)wxCURSOR_CHAR
));
43361 PyDict_SetItemString(d
,"CURSOR_CROSS", SWIG_From_int((int)wxCURSOR_CROSS
));
43362 PyDict_SetItemString(d
,"CURSOR_HAND", SWIG_From_int((int)wxCURSOR_HAND
));
43363 PyDict_SetItemString(d
,"CURSOR_IBEAM", SWIG_From_int((int)wxCURSOR_IBEAM
));
43364 PyDict_SetItemString(d
,"CURSOR_LEFT_BUTTON", SWIG_From_int((int)wxCURSOR_LEFT_BUTTON
));
43365 PyDict_SetItemString(d
,"CURSOR_MAGNIFIER", SWIG_From_int((int)wxCURSOR_MAGNIFIER
));
43366 PyDict_SetItemString(d
,"CURSOR_MIDDLE_BUTTON", SWIG_From_int((int)wxCURSOR_MIDDLE_BUTTON
));
43367 PyDict_SetItemString(d
,"CURSOR_NO_ENTRY", SWIG_From_int((int)wxCURSOR_NO_ENTRY
));
43368 PyDict_SetItemString(d
,"CURSOR_PAINT_BRUSH", SWIG_From_int((int)wxCURSOR_PAINT_BRUSH
));
43369 PyDict_SetItemString(d
,"CURSOR_PENCIL", SWIG_From_int((int)wxCURSOR_PENCIL
));
43370 PyDict_SetItemString(d
,"CURSOR_POINT_LEFT", SWIG_From_int((int)wxCURSOR_POINT_LEFT
));
43371 PyDict_SetItemString(d
,"CURSOR_POINT_RIGHT", SWIG_From_int((int)wxCURSOR_POINT_RIGHT
));
43372 PyDict_SetItemString(d
,"CURSOR_QUESTION_ARROW", SWIG_From_int((int)wxCURSOR_QUESTION_ARROW
));
43373 PyDict_SetItemString(d
,"CURSOR_RIGHT_BUTTON", SWIG_From_int((int)wxCURSOR_RIGHT_BUTTON
));
43374 PyDict_SetItemString(d
,"CURSOR_SIZENESW", SWIG_From_int((int)wxCURSOR_SIZENESW
));
43375 PyDict_SetItemString(d
,"CURSOR_SIZENS", SWIG_From_int((int)wxCURSOR_SIZENS
));
43376 PyDict_SetItemString(d
,"CURSOR_SIZENWSE", SWIG_From_int((int)wxCURSOR_SIZENWSE
));
43377 PyDict_SetItemString(d
,"CURSOR_SIZEWE", SWIG_From_int((int)wxCURSOR_SIZEWE
));
43378 PyDict_SetItemString(d
,"CURSOR_SIZING", SWIG_From_int((int)wxCURSOR_SIZING
));
43379 PyDict_SetItemString(d
,"CURSOR_SPRAYCAN", SWIG_From_int((int)wxCURSOR_SPRAYCAN
));
43380 PyDict_SetItemString(d
,"CURSOR_WAIT", SWIG_From_int((int)wxCURSOR_WAIT
));
43381 PyDict_SetItemString(d
,"CURSOR_WATCH", SWIG_From_int((int)wxCURSOR_WATCH
));
43382 PyDict_SetItemString(d
,"CURSOR_BLANK", SWIG_From_int((int)wxCURSOR_BLANK
));
43383 PyDict_SetItemString(d
,"CURSOR_DEFAULT", SWIG_From_int((int)wxCURSOR_DEFAULT
));
43384 PyDict_SetItemString(d
,"CURSOR_COPY_ARROW", SWIG_From_int((int)wxCURSOR_COPY_ARROW
));
43385 PyDict_SetItemString(d
,"CURSOR_ARROWWAIT", SWIG_From_int((int)wxCURSOR_ARROWWAIT
));
43386 PyDict_SetItemString(d
,"CURSOR_MAX", SWIG_From_int((int)wxCURSOR_MAX
));
43387 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultPosition",_wrap_DefaultPosition_get
, _wrap_DefaultPosition_set
);
43388 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSize",_wrap_DefaultSize_get
, _wrap_DefaultSize_set
);
43389 PyDict_SetItemString(d
,"FromStart", SWIG_From_int((int)wxFromStart
));
43390 PyDict_SetItemString(d
,"FromCurrent", SWIG_From_int((int)wxFromCurrent
));
43391 PyDict_SetItemString(d
,"FromEnd", SWIG_From_int((int)wxFromEnd
));
43393 wxPyPtrTypeMap_Add("wxInputStream", "wxPyInputStream");
43396 wxPyPtrTypeMap_Add("wxFileSystemHandler", "wxPyFileSystemHandler");
43398 SWIG_addvarlink(SWIG_globals
,(char*)"NullImage",_wrap_NullImage_get
, _wrap_NullImage_set
);
43399 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_BMP_FORMAT",_wrap_IMAGE_OPTION_BMP_FORMAT_get
, _wrap_IMAGE_OPTION_BMP_FORMAT_set
);
43400 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_X",_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set
);
43401 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_Y",_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set
);
43402 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTION",_wrap_IMAGE_OPTION_RESOLUTION_get
, _wrap_IMAGE_OPTION_RESOLUTION_set
);
43403 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTIONUNIT",_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get
, _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set
);
43404 PyDict_SetItemString(d
,"IMAGE_RESOLUTION_INCHES", SWIG_From_int((int)wxIMAGE_RESOLUTION_INCHES
));
43405 PyDict_SetItemString(d
,"IMAGE_RESOLUTION_CM", SWIG_From_int((int)wxIMAGE_RESOLUTION_CM
));
43406 PyDict_SetItemString(d
,"BMP_24BPP", SWIG_From_int((int)wxBMP_24BPP
));
43407 PyDict_SetItemString(d
,"BMP_8BPP", SWIG_From_int((int)wxBMP_8BPP
));
43408 PyDict_SetItemString(d
,"BMP_8BPP_GREY", SWIG_From_int((int)wxBMP_8BPP_GREY
));
43409 PyDict_SetItemString(d
,"BMP_8BPP_GRAY", SWIG_From_int((int)wxBMP_8BPP_GRAY
));
43410 PyDict_SetItemString(d
,"BMP_8BPP_RED", SWIG_From_int((int)wxBMP_8BPP_RED
));
43411 PyDict_SetItemString(d
,"BMP_8BPP_PALETTE", SWIG_From_int((int)wxBMP_8BPP_PALETTE
));
43412 PyDict_SetItemString(d
,"BMP_4BPP", SWIG_From_int((int)wxBMP_4BPP
));
43413 PyDict_SetItemString(d
,"BMP_1BPP", SWIG_From_int((int)wxBMP_1BPP
));
43414 PyDict_SetItemString(d
,"BMP_1BPP_BW", SWIG_From_int((int)wxBMP_1BPP_BW
));
43415 PyDict_SetItemString(d
,"QUANTIZE_INCLUDE_WINDOWS_COLOURS", SWIG_From_int((int)wxQUANTIZE_INCLUDE_WINDOWS_COLOURS
));
43416 PyDict_SetItemString(d
,"QUANTIZE_FILL_DESTINATION_IMAGE", SWIG_From_int((int)wxQUANTIZE_FILL_DESTINATION_IMAGE
));
43417 PyDict_SetItemString(d
,"EVENT_PROPAGATE_NONE", SWIG_From_int((int)wxEVENT_PROPAGATE_NONE
));
43418 PyDict_SetItemString(d
,"EVENT_PROPAGATE_MAX", SWIG_From_int((int)wxEVENT_PROPAGATE_MAX
));
43419 PyDict_SetItemString(d
, "wxEVT_NULL", PyInt_FromLong(wxEVT_NULL
));
43420 PyDict_SetItemString(d
, "wxEVT_FIRST", PyInt_FromLong(wxEVT_FIRST
));
43421 PyDict_SetItemString(d
, "wxEVT_USER_FIRST", PyInt_FromLong(wxEVT_USER_FIRST
));
43422 PyDict_SetItemString(d
, "wxEVT_COMMAND_BUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_BUTTON_CLICKED
));
43423 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKBOX_CLICKED", PyInt_FromLong(wxEVT_COMMAND_CHECKBOX_CLICKED
));
43424 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICE_SELECTED", PyInt_FromLong(wxEVT_COMMAND_CHOICE_SELECTED
));
43425 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_SELECTED
));
43426 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_DOUBLECLICKED
));
43427 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKLISTBOX_TOGGLED", PyInt_FromLong(wxEVT_COMMAND_CHECKLISTBOX_TOGGLED
));
43428 PyDict_SetItemString(d
, "wxEVT_COMMAND_MENU_SELECTED", PyInt_FromLong(wxEVT_COMMAND_MENU_SELECTED
));
43429 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_CLICKED
));
43430 PyDict_SetItemString(d
, "wxEVT_COMMAND_SLIDER_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SLIDER_UPDATED
));
43431 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBOX_SELECTED
));
43432 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBUTTON_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBUTTON_SELECTED
));
43433 PyDict_SetItemString(d
, "wxEVT_COMMAND_SCROLLBAR_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SCROLLBAR_UPDATED
));
43434 PyDict_SetItemString(d
, "wxEVT_COMMAND_VLBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_VLBOX_SELECTED
));
43435 PyDict_SetItemString(d
, "wxEVT_COMMAND_COMBOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_COMBOBOX_SELECTED
));
43436 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_RCLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_RCLICKED
));
43437 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_ENTER", PyInt_FromLong(wxEVT_COMMAND_TOOL_ENTER
));
43438 PyDict_SetItemString(d
, "wxEVT_LEFT_DOWN", PyInt_FromLong(wxEVT_LEFT_DOWN
));
43439 PyDict_SetItemString(d
, "wxEVT_LEFT_UP", PyInt_FromLong(wxEVT_LEFT_UP
));
43440 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DOWN", PyInt_FromLong(wxEVT_MIDDLE_DOWN
));
43441 PyDict_SetItemString(d
, "wxEVT_MIDDLE_UP", PyInt_FromLong(wxEVT_MIDDLE_UP
));
43442 PyDict_SetItemString(d
, "wxEVT_RIGHT_DOWN", PyInt_FromLong(wxEVT_RIGHT_DOWN
));
43443 PyDict_SetItemString(d
, "wxEVT_RIGHT_UP", PyInt_FromLong(wxEVT_RIGHT_UP
));
43444 PyDict_SetItemString(d
, "wxEVT_MOTION", PyInt_FromLong(wxEVT_MOTION
));
43445 PyDict_SetItemString(d
, "wxEVT_ENTER_WINDOW", PyInt_FromLong(wxEVT_ENTER_WINDOW
));
43446 PyDict_SetItemString(d
, "wxEVT_LEAVE_WINDOW", PyInt_FromLong(wxEVT_LEAVE_WINDOW
));
43447 PyDict_SetItemString(d
, "wxEVT_LEFT_DCLICK", PyInt_FromLong(wxEVT_LEFT_DCLICK
));
43448 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_MIDDLE_DCLICK
));
43449 PyDict_SetItemString(d
, "wxEVT_RIGHT_DCLICK", PyInt_FromLong(wxEVT_RIGHT_DCLICK
));
43450 PyDict_SetItemString(d
, "wxEVT_SET_FOCUS", PyInt_FromLong(wxEVT_SET_FOCUS
));
43451 PyDict_SetItemString(d
, "wxEVT_KILL_FOCUS", PyInt_FromLong(wxEVT_KILL_FOCUS
));
43452 PyDict_SetItemString(d
, "wxEVT_CHILD_FOCUS", PyInt_FromLong(wxEVT_CHILD_FOCUS
));
43453 PyDict_SetItemString(d
, "wxEVT_MOUSEWHEEL", PyInt_FromLong(wxEVT_MOUSEWHEEL
));
43454 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DOWN", PyInt_FromLong(wxEVT_NC_LEFT_DOWN
));
43455 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_UP", PyInt_FromLong(wxEVT_NC_LEFT_UP
));
43456 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DOWN", PyInt_FromLong(wxEVT_NC_MIDDLE_DOWN
));
43457 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_UP", PyInt_FromLong(wxEVT_NC_MIDDLE_UP
));
43458 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DOWN", PyInt_FromLong(wxEVT_NC_RIGHT_DOWN
));
43459 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_UP", PyInt_FromLong(wxEVT_NC_RIGHT_UP
));
43460 PyDict_SetItemString(d
, "wxEVT_NC_MOTION", PyInt_FromLong(wxEVT_NC_MOTION
));
43461 PyDict_SetItemString(d
, "wxEVT_NC_ENTER_WINDOW", PyInt_FromLong(wxEVT_NC_ENTER_WINDOW
));
43462 PyDict_SetItemString(d
, "wxEVT_NC_LEAVE_WINDOW", PyInt_FromLong(wxEVT_NC_LEAVE_WINDOW
));
43463 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DCLICK", PyInt_FromLong(wxEVT_NC_LEFT_DCLICK
));
43464 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_NC_MIDDLE_DCLICK
));
43465 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DCLICK", PyInt_FromLong(wxEVT_NC_RIGHT_DCLICK
));
43466 PyDict_SetItemString(d
, "wxEVT_CHAR", PyInt_FromLong(wxEVT_CHAR
));
43467 PyDict_SetItemString(d
, "wxEVT_CHAR_HOOK", PyInt_FromLong(wxEVT_CHAR_HOOK
));
43468 PyDict_SetItemString(d
, "wxEVT_NAVIGATION_KEY", PyInt_FromLong(wxEVT_NAVIGATION_KEY
));
43469 PyDict_SetItemString(d
, "wxEVT_KEY_DOWN", PyInt_FromLong(wxEVT_KEY_DOWN
));
43470 PyDict_SetItemString(d
, "wxEVT_KEY_UP", PyInt_FromLong(wxEVT_KEY_UP
));
43471 PyDict_SetItemString(d
, "wxEVT_HOTKEY", PyInt_FromLong(wxEVT_HOTKEY
));
43472 PyDict_SetItemString(d
, "wxEVT_SET_CURSOR", PyInt_FromLong(wxEVT_SET_CURSOR
));
43473 PyDict_SetItemString(d
, "wxEVT_SCROLL_TOP", PyInt_FromLong(wxEVT_SCROLL_TOP
));
43474 PyDict_SetItemString(d
, "wxEVT_SCROLL_BOTTOM", PyInt_FromLong(wxEVT_SCROLL_BOTTOM
));
43475 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEUP", PyInt_FromLong(wxEVT_SCROLL_LINEUP
));
43476 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEDOWN", PyInt_FromLong(wxEVT_SCROLL_LINEDOWN
));
43477 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEUP", PyInt_FromLong(wxEVT_SCROLL_PAGEUP
));
43478 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLL_PAGEDOWN
));
43479 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLL_THUMBTRACK
));
43480 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLL_THUMBRELEASE
));
43481 PyDict_SetItemString(d
, "wxEVT_SCROLL_ENDSCROLL", PyInt_FromLong(wxEVT_SCROLL_ENDSCROLL
));
43482 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_TOP", PyInt_FromLong(wxEVT_SCROLLWIN_TOP
));
43483 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_BOTTOM", PyInt_FromLong(wxEVT_SCROLLWIN_BOTTOM
));
43484 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEUP", PyInt_FromLong(wxEVT_SCROLLWIN_LINEUP
));
43485 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_LINEDOWN
));
43486 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEUP", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEUP
));
43487 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEDOWN
));
43488 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBTRACK
));
43489 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBRELEASE
));
43490 PyDict_SetItemString(d
, "wxEVT_SIZE", PyInt_FromLong(wxEVT_SIZE
));
43491 PyDict_SetItemString(d
, "wxEVT_MOVE", PyInt_FromLong(wxEVT_MOVE
));
43492 PyDict_SetItemString(d
, "wxEVT_CLOSE_WINDOW", PyInt_FromLong(wxEVT_CLOSE_WINDOW
));
43493 PyDict_SetItemString(d
, "wxEVT_END_SESSION", PyInt_FromLong(wxEVT_END_SESSION
));
43494 PyDict_SetItemString(d
, "wxEVT_QUERY_END_SESSION", PyInt_FromLong(wxEVT_QUERY_END_SESSION
));
43495 PyDict_SetItemString(d
, "wxEVT_ACTIVATE_APP", PyInt_FromLong(wxEVT_ACTIVATE_APP
));
43496 PyDict_SetItemString(d
, "wxEVT_POWER", PyInt_FromLong(wxEVT_POWER
));
43497 PyDict_SetItemString(d
, "wxEVT_ACTIVATE", PyInt_FromLong(wxEVT_ACTIVATE
));
43498 PyDict_SetItemString(d
, "wxEVT_CREATE", PyInt_FromLong(wxEVT_CREATE
));
43499 PyDict_SetItemString(d
, "wxEVT_DESTROY", PyInt_FromLong(wxEVT_DESTROY
));
43500 PyDict_SetItemString(d
, "wxEVT_SHOW", PyInt_FromLong(wxEVT_SHOW
));
43501 PyDict_SetItemString(d
, "wxEVT_ICONIZE", PyInt_FromLong(wxEVT_ICONIZE
));
43502 PyDict_SetItemString(d
, "wxEVT_MAXIMIZE", PyInt_FromLong(wxEVT_MAXIMIZE
));
43503 PyDict_SetItemString(d
, "wxEVT_MOUSE_CAPTURE_CHANGED", PyInt_FromLong(wxEVT_MOUSE_CAPTURE_CHANGED
));
43504 PyDict_SetItemString(d
, "wxEVT_PAINT", PyInt_FromLong(wxEVT_PAINT
));
43505 PyDict_SetItemString(d
, "wxEVT_ERASE_BACKGROUND", PyInt_FromLong(wxEVT_ERASE_BACKGROUND
));
43506 PyDict_SetItemString(d
, "wxEVT_NC_PAINT", PyInt_FromLong(wxEVT_NC_PAINT
));
43507 PyDict_SetItemString(d
, "wxEVT_PAINT_ICON", PyInt_FromLong(wxEVT_PAINT_ICON
));
43508 PyDict_SetItemString(d
, "wxEVT_MENU_OPEN", PyInt_FromLong(wxEVT_MENU_OPEN
));
43509 PyDict_SetItemString(d
, "wxEVT_MENU_CLOSE", PyInt_FromLong(wxEVT_MENU_CLOSE
));
43510 PyDict_SetItemString(d
, "wxEVT_MENU_HIGHLIGHT", PyInt_FromLong(wxEVT_MENU_HIGHLIGHT
));
43511 PyDict_SetItemString(d
, "wxEVT_CONTEXT_MENU", PyInt_FromLong(wxEVT_CONTEXT_MENU
));
43512 PyDict_SetItemString(d
, "wxEVT_SYS_COLOUR_CHANGED", PyInt_FromLong(wxEVT_SYS_COLOUR_CHANGED
));
43513 PyDict_SetItemString(d
, "wxEVT_DISPLAY_CHANGED", PyInt_FromLong(wxEVT_DISPLAY_CHANGED
));
43514 PyDict_SetItemString(d
, "wxEVT_SETTING_CHANGED", PyInt_FromLong(wxEVT_SETTING_CHANGED
));
43515 PyDict_SetItemString(d
, "wxEVT_QUERY_NEW_PALETTE", PyInt_FromLong(wxEVT_QUERY_NEW_PALETTE
));
43516 PyDict_SetItemString(d
, "wxEVT_PALETTE_CHANGED", PyInt_FromLong(wxEVT_PALETTE_CHANGED
));
43517 PyDict_SetItemString(d
, "wxEVT_DROP_FILES", PyInt_FromLong(wxEVT_DROP_FILES
));
43518 PyDict_SetItemString(d
, "wxEVT_DRAW_ITEM", PyInt_FromLong(wxEVT_DRAW_ITEM
));
43519 PyDict_SetItemString(d
, "wxEVT_MEASURE_ITEM", PyInt_FromLong(wxEVT_MEASURE_ITEM
));
43520 PyDict_SetItemString(d
, "wxEVT_COMPARE_ITEM", PyInt_FromLong(wxEVT_COMPARE_ITEM
));
43521 PyDict_SetItemString(d
, "wxEVT_INIT_DIALOG", PyInt_FromLong(wxEVT_INIT_DIALOG
));
43522 PyDict_SetItemString(d
, "wxEVT_IDLE", PyInt_FromLong(wxEVT_IDLE
));
43523 PyDict_SetItemString(d
, "wxEVT_UPDATE_UI", PyInt_FromLong(wxEVT_UPDATE_UI
));
43524 PyDict_SetItemString(d
, "wxEVT_SIZING", PyInt_FromLong(wxEVT_SIZING
));
43525 PyDict_SetItemString(d
, "wxEVT_MOVING", PyInt_FromLong(wxEVT_MOVING
));
43526 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_CLICK
));
43527 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_DCLICK
));
43528 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_CLICK
));
43529 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_DCLICK
));
43530 PyDict_SetItemString(d
, "wxEVT_COMMAND_SET_FOCUS", PyInt_FromLong(wxEVT_COMMAND_SET_FOCUS
));
43531 PyDict_SetItemString(d
, "wxEVT_COMMAND_KILL_FOCUS", PyInt_FromLong(wxEVT_COMMAND_KILL_FOCUS
));
43532 PyDict_SetItemString(d
, "wxEVT_COMMAND_ENTER", PyInt_FromLong(wxEVT_COMMAND_ENTER
));
43533 PyDict_SetItemString(d
,"MOUSE_BTN_ANY", SWIG_From_int((int)wxMOUSE_BTN_ANY
));
43534 PyDict_SetItemString(d
,"MOUSE_BTN_NONE", SWIG_From_int((int)wxMOUSE_BTN_NONE
));
43535 PyDict_SetItemString(d
,"MOUSE_BTN_LEFT", SWIG_From_int((int)wxMOUSE_BTN_LEFT
));
43536 PyDict_SetItemString(d
,"MOUSE_BTN_MIDDLE", SWIG_From_int((int)wxMOUSE_BTN_MIDDLE
));
43537 PyDict_SetItemString(d
,"MOUSE_BTN_RIGHT", SWIG_From_int((int)wxMOUSE_BTN_RIGHT
));
43538 PyDict_SetItemString(d
,"UPDATE_UI_PROCESS_ALL", SWIG_From_int((int)wxUPDATE_UI_PROCESS_ALL
));
43539 PyDict_SetItemString(d
,"UPDATE_UI_PROCESS_SPECIFIED", SWIG_From_int((int)wxUPDATE_UI_PROCESS_SPECIFIED
));
43540 PyDict_SetItemString(d
,"NavigationKeyEvent_IsBackward", SWIG_From_int((int)wxNavigationKeyEvent::IsBackward
));
43541 PyDict_SetItemString(d
,"NavigationKeyEvent_IsForward", SWIG_From_int((int)wxNavigationKeyEvent::IsForward
));
43542 PyDict_SetItemString(d
,"NavigationKeyEvent_WinChange", SWIG_From_int((int)wxNavigationKeyEvent::WinChange
));
43543 PyDict_SetItemString(d
,"IDLE_PROCESS_ALL", SWIG_From_int((int)wxIDLE_PROCESS_ALL
));
43544 PyDict_SetItemString(d
,"IDLE_PROCESS_SPECIFIED", SWIG_From_int((int)wxIDLE_PROCESS_SPECIFIED
));
43545 PyDict_SetItemString(d
,"PYAPP_ASSERT_SUPPRESS", SWIG_From_int((int)wxPYAPP_ASSERT_SUPPRESS
));
43546 PyDict_SetItemString(d
,"PYAPP_ASSERT_EXCEPTION", SWIG_From_int((int)wxPYAPP_ASSERT_EXCEPTION
));
43547 PyDict_SetItemString(d
,"PYAPP_ASSERT_DIALOG", SWIG_From_int((int)wxPYAPP_ASSERT_DIALOG
));
43548 PyDict_SetItemString(d
,"PYAPP_ASSERT_LOG", SWIG_From_int((int)wxPYAPP_ASSERT_LOG
));
43549 PyDict_SetItemString(d
,"PRINT_WINDOWS", SWIG_From_int((int)wxPRINT_WINDOWS
));
43550 PyDict_SetItemString(d
,"PRINT_POSTSCRIPT", SWIG_From_int((int)wxPRINT_POSTSCRIPT
));
43551 SWIG_addvarlink(SWIG_globals
,(char*)"NullAcceleratorTable",_wrap_NullAcceleratorTable_get
, _wrap_NullAcceleratorTable_set
);
43552 SWIG_addvarlink(SWIG_globals
,(char*)"PanelNameStr",_wrap_PanelNameStr_get
, _wrap_PanelNameStr_set
);
43553 PyDict_SetItemString(d
,"WINDOW_VARIANT_NORMAL", SWIG_From_int((int)wxWINDOW_VARIANT_NORMAL
));
43554 PyDict_SetItemString(d
,"WINDOW_VARIANT_SMALL", SWIG_From_int((int)wxWINDOW_VARIANT_SMALL
));
43555 PyDict_SetItemString(d
,"WINDOW_VARIANT_MINI", SWIG_From_int((int)wxWINDOW_VARIANT_MINI
));
43556 PyDict_SetItemString(d
,"WINDOW_VARIANT_LARGE", SWIG_From_int((int)wxWINDOW_VARIANT_LARGE
));
43557 PyDict_SetItemString(d
,"WINDOW_VARIANT_MAX", SWIG_From_int((int)wxWINDOW_VARIANT_MAX
));
43558 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultValidator",_wrap_DefaultValidator_get
, _wrap_DefaultValidator_set
);
43559 SWIG_addvarlink(SWIG_globals
,(char*)"ControlNameStr",_wrap_ControlNameStr_get
, _wrap_ControlNameStr_set
);
43560 PyDict_SetItemString(d
,"FLEX_GROWMODE_NONE", SWIG_From_int((int)wxFLEX_GROWMODE_NONE
));
43561 PyDict_SetItemString(d
,"FLEX_GROWMODE_SPECIFIED", SWIG_From_int((int)wxFLEX_GROWMODE_SPECIFIED
));
43562 PyDict_SetItemString(d
,"FLEX_GROWMODE_ALL", SWIG_From_int((int)wxFLEX_GROWMODE_ALL
));
43563 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSpan",_wrap_DefaultSpan_get
, _wrap_DefaultSpan_set
);
43564 PyDict_SetItemString(d
,"Left", SWIG_From_int((int)wxLeft
));
43565 PyDict_SetItemString(d
,"Top", SWIG_From_int((int)wxTop
));
43566 PyDict_SetItemString(d
,"Right", SWIG_From_int((int)wxRight
));
43567 PyDict_SetItemString(d
,"Bottom", SWIG_From_int((int)wxBottom
));
43568 PyDict_SetItemString(d
,"Width", SWIG_From_int((int)wxWidth
));
43569 PyDict_SetItemString(d
,"Height", SWIG_From_int((int)wxHeight
));
43570 PyDict_SetItemString(d
,"Centre", SWIG_From_int((int)wxCentre
));
43571 PyDict_SetItemString(d
,"Center", SWIG_From_int((int)wxCenter
));
43572 PyDict_SetItemString(d
,"CentreX", SWIG_From_int((int)wxCentreX
));
43573 PyDict_SetItemString(d
,"CentreY", SWIG_From_int((int)wxCentreY
));
43574 PyDict_SetItemString(d
,"Unconstrained", SWIG_From_int((int)wxUnconstrained
));
43575 PyDict_SetItemString(d
,"AsIs", SWIG_From_int((int)wxAsIs
));
43576 PyDict_SetItemString(d
,"PercentOf", SWIG_From_int((int)wxPercentOf
));
43577 PyDict_SetItemString(d
,"Above", SWIG_From_int((int)wxAbove
));
43578 PyDict_SetItemString(d
,"Below", SWIG_From_int((int)wxBelow
));
43579 PyDict_SetItemString(d
,"LeftOf", SWIG_From_int((int)wxLeftOf
));
43580 PyDict_SetItemString(d
,"RightOf", SWIG_From_int((int)wxRightOf
));
43581 PyDict_SetItemString(d
,"SameAs", SWIG_From_int((int)wxSameAs
));
43582 PyDict_SetItemString(d
,"Absolute", SWIG_From_int((int)wxAbsolute
));
43584 // Initialize threading, some globals and such
43588 // Although these are defined in __version__ they need to be here too so
43589 // that an assert can be done to ensure that the wxPython and the wxWindows
43591 PyDict_SetItemString(d
,"MAJOR_VERSION", PyInt_FromLong((long)wxMAJOR_VERSION
));
43592 PyDict_SetItemString(d
,"MINOR_VERSION", PyInt_FromLong((long)wxMINOR_VERSION
));
43593 PyDict_SetItemString(d
,"RELEASE_VERSION", PyInt_FromLong((long)wxRELEASE_NUMBER
));